1 2009-06-18 Alberto Garcia <agarcia@igalia.com>
3 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
4 Use the index of the previous window rather than the stack length
5 to calculate the new index.
9 2009-06-17 Alejandro Pinheiro <apinheiro@igalia.com>
11 * hildon/hildon-date-selector.c
12 (hildon_date_selector_select_current_date)
13 (hildon_date_selector_get_date)
14 (hildon_date_selector_select_day):
15 Update the documentation: uses always the range (1-31), as it is obvious
16 that the final one will depend on the month and the year, but globally
17 the range is this, in a similar GtkCalendar approach
18 (hildon_date_selector_get_date):
19 Update the documentation: add NULL as a valid value for the day, month
22 Fix some details, after talk with David King on bug MB#4698
24 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
26 * hildon/hildon-touch-selector-entry.c
27 * hildon/hildon-touch-selector.c
28 Update the documentation of the "text-column" property
30 2009-06-17 David King <davidk@openismus.com>
32 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
33 several typos and errors throughout the documentation.
35 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
38 2009-06-18 Alberto Garcia <agarcia@igalia.com>
40 * hildon/hildon-note.c (hildon_note_realize):
41 Make HildonNote support portrait mode.
43 Fixes: NB#123448 (HildonNote is not portrait-friendly)
45 2009-06-17 Alberto Garcia <agarcia@igalia.com>
47 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
48 Document this function
50 2009-06-17 David King <davidk@openismus.com>
52 * hildon/hildon-date-selector.c
53 (hildon_date_selector_select_current_date)
54 (hildon_date_selector_get_date): Update documentation regarding days,
55 as the day of the month is dependent on both the month and the year.
56 (hildon_date_selector_get_date): Fix documentation of output arguments.
58 Fixes: MB#4698 (DateSelector documentation has bad output argument
59 description, and the day depends on both the month and the year)
61 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
63 * hildon/hildon-caption.c: Other documentation fixes to
66 2009-06-17 David King <davidk@openismus.com>
68 * hildon/hildon-caption.c: Minor documentation updates for
69 HildonCaption. Fixes MB#4697.
71 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
73 * doc/hildon-docs.sgml: Add hildon-version section.
74 * doc/hildon-sections.txt:
75 * hildon/hildon-version.h.in: Document versioning macros and
78 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
80 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
81 from HildonPickerDialog section.
83 2009-06-16 Alberto Garcia <agarcia@igalia.com>
85 * hildon/hildon-banner.c (hildon_banner_bind_style)
86 (screen_size_changed, hildon_banner_init)
87 (hildon_banner_real_show_information)
88 (hildon_banner_show_information_with_markup)
89 (hildon_banner_show_animation, hildon_banner_show_progress):
90 Set a different widget name to banners in portrait mode, for them
91 to be themed correctly.
93 2009-06-16 Alberto Garcia <agarcia@igalia.com>
95 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
96 Set a different widget name to notes in portrait mode, for them to
99 Partially fixes: NB#118401 (HildonNote causes unnecessary
102 2009-06-16 Alberto Garcia <agarcia@igalia.com>
104 * hildon/hildon-note.c (hildon_note_class_init)
105 (+hildon_note_size_request, screen_size_changed):
106 Always request the full width of the screen.
108 Fixes: NB#118375 (unnecessary rescaling of images)
110 2009-06-16 Alejandro G. Castro <alex@igalia.com>
112 * hildon/hildon-pannable-area.c,
113 (hildon_pannable_area_init),
114 (hildon_pannable_area_realize): Replaced old code adding flags in
115 the object init, now we add it with the other flags in the realize
118 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
120 * hildon/hildon-note.c: (hildon_note_class_init): Several
121 documentation improvements to the HildonNote widget.
123 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
125 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
127 Fixes: MB#4556 (HildonNoteType is undocumented)
129 2009-06-15 Alberto Garcia <agarcia@igalia.com>
131 * hildon/hildon-picker-button.c:
132 Explain how HildonPickerButton sets the title of its dialog
134 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
135 the title of its dialog)
137 2009-06-15 Alberto Garcia <agarcia@igalia.com>
139 * hildon/hildon-check-button.c:
140 Documentation updates
142 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
145 2009-06-15 Alberto Garcia <agarcia@igalia.com>
148 * hildon/hildon-edit-toolbar-private.h
149 * hildon/hildon-edit-toolbar.c
150 (+hildon_edit_toolbar_set_progress_indicator)
151 (hildon_edit_toolbar_init): Add progress indicator to the
154 * hildon/hildon-gtk.c
155 (hildon_gtk_window_set_progress_indicator):
156 If the window contains a HildonEditToolbar, enable the progress
159 * hildon/hildon-private.h
160 * hildon/hildon-private.c
161 (+hildon_private_create_animation)
162 * hildon/hildon-banner.c
163 (-hildon_banner_create_animation):
164 Moved to hildon-private.c
166 Fixes: NB#102373 (Progress indicator also for the Edit mode
169 2009-06-15 Alberto Garcia <agarcia@igalia.com>
171 * hildon/hildon-app-menu-private.h
172 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
173 (hildon_app_menu_add_filter, +menu_item_button_event)
174 (hildon_app_menu_button_release, hildon_app_menu_init):
175 Make sure that buttons receive 'button-release-event' in spite of
176 the grab held by HildonAppMenu
178 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
180 2009-06-15 Alberto Garcia <agarcia@igalia.com>
182 * hildon/hildon-app-menu.c
183 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
184 New style property to set the size of the group of filter buttons.
186 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
188 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
193 * configure.ac: Bump version.
194 * debian/changelog: Updates.
196 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
198 * hildon/hildon-main.c: Minor documentation fixes.
200 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
202 * doc/hildon-sections.txt:
203 * hildon/hildon-defines.h: Document the defines, organize them,
204 and mark deprecations as such.
206 Fixes: MB#4463 (Hildon size #defines are undocumented)
208 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
210 * hildon/hildon-animation-actor.c:
211 * hildon/hildon-app-menu.c:
212 * hildon/hildon-button.c:
213 * hildon/hildon-date-editor.c:
214 * hildon/hildon-dialog.c:
215 * hildon/hildon-edit-toolbar.c:
216 * hildon/hildon-entry.c:
217 * hildon/hildon-program.c:
218 * hildon/hildon-remote-texture.c:
219 * hildon/hildon-stackable-window.c:
220 * hildon/hildon-text-view.c:
221 * hildon/hildon-touch-selector.c:
222 * hildon/hildon-window-stack.c:
223 * hildon/hildon-window.c:
225 Remove redundant "represents" wording from most of the documentation.
227 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
229 2009-06-12 Alberto Garcia <agarcia@igalia.com>
234 * hildon/hildon-banner-private.h
235 * hildon/hildon-banner.c:
236 Move HildonBannerPrivate to hildon-banner.c and remove
237 hildon-banner-private.h
238 Use a bit field to store private booleans.
240 2009-06-12 Alberto Garcia <agarcia@igalia.com>
242 * hildon/hildon-app-menu.c (hildon_app_menu_map):
243 Don't install a new idle function if there's already one
248 2009-06-11 Alberto Garcia <agarcia@igalia.com>
250 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
251 (+legacy_menu_realized, +legacy_menu_unmapped)
252 (+set_legacy_menu_type):
253 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
254 they can be identified by the window manager.
256 Fixes: NB#101437 (Invoking CSM on the left side of page area is
257 displayed in wrong location)
259 Fixes: MB#4563 (Popup menu won't locate at the left side of the
262 2009-06-11 Alberto Garcia <agarcia@igalia.com>
264 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
266 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
269 2009-06-11 Alberto Garcia <agarcia@igalia.com>
271 * hildon/hildon-code-dialog.c
272 * hildon/hildon-date-editor.c
273 * hildon/hildon-number-editor.c
274 * hildon/hildon-seekbar.c
275 * hildon/hildon-stackable-window.c
276 * hildon/hildon-window.c:
277 Misc documentation updates
279 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
281 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
282 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
284 Fixes: NB#117931 (Theming issues in accounts dialogs)
286 2009-06-09 Alejandro G. Castro <alex@igalia.com>
288 * hildon/hildon-pannable-area.c,
289 (hildon_pannable_area_button_release_cb): Changed the coordinates
290 of the original release in case we want to discard the release,
291 some widgets in Fremantle do not handle the leave-notify.
293 2009-06-09 Alejandro G. Castro <alex@igalia.com>
295 * hildon/hildon-pannable-area.c,
296 (hildon_pannable_area_button_release_cb): Reviewed the logic of
297 the release using the last refactored functions and avoiding the
298 movement if an element was selected.
300 2009-06-09 Alejandro G. Castro <alex@igalia.com>
302 * hildon/hildon-pannable-area.c,
303 (hildon_pannable_area_check_move),
304 (hildon_pannable_area_handle_move),
305 (hildon_pannable_area_motion_notify_cb): Refactored the
306 motion_notify method using a couple of new functions.
308 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
310 * hildon/hildon-date-selector.c:
311 (hildon_date_selector_construct_ui):
312 * hildon/hildon-time-selector.c:
313 (hildon_time_selector_constructor):
314 * hildon/hildon-touch-selector-entry.c:
315 (hildon_touch_selector_entry_set_text_column),
316 (hildon_touch_selector_entry_get_text_column):
317 * hildon/hildon-touch-selector.c: (_default_print_func),
318 (hildon_touch_selector_new_text): Use
319 hildon_touch_selector_set/get_text_column() instead of
320 setting/getting the "text-column" property.
322 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
324 * doc/hildon-sections.txt: Add the new public methods below.
326 * examples/hildon-picker-button-multicolumn-example.c:
327 (create_touch_selector):
328 * examples/hildon-touch-selector-example.c: (create_selector):
329 * examples/hildon-touch-selector-multi-cells-example.c:
331 Use hildon_touch_selector_column_set_text_column()
333 * hildon/hildon-touch-selector-column.h:
334 * hildon/hildon-touch-selector.c:
335 (hildon_touch_selector_column_set_text_column),
336 (hildon_touch_selector_column_get_text_column):
337 Make hildon_touch_selector_column_set/get_column() public, use
338 them in the inline example, document them, and reference to them
341 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
343 * hildon/hildon-time-selector.c: Fix the docs for
344 hildon_time_selector_new_step().
346 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
348 * hildon/hildon-touch-selector.c: Improve the documentation for
349 hildon_touch_selector_append_column().
351 Fixes MB#4641 (Documentation:
352 hildon_touch_selector_append_column() ref-counting)
354 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
356 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
357 Comment out test 5, since the hildon_controlbar_set_range() range
358 check is broken and fixing it would have side effects. Also,
359 this finally fixes make distcheck.
361 Fixes: NB#101420 (Update unit tests and fix make distcheck)
363 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
365 * tests/TEST-CASES.txt: Remove other bogus test.
366 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
367 Remove bogus test that was setting/retrieving a valid value.
369 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
371 * tests/TEST-CASES.txt: Remove bogus tests.
372 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
373 Remove three bogus tests that were actually setting valid colors.
375 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
377 * configure.ac: post release version bump
378 * debian/changelog: post release version bump
380 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
385 * configure.ac: Bump version.
386 * debian/changelog: Updates.
388 2009-06-08 Christian Dywan <christian@lanedo.com>
392 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
393 Correct errors in hildon_format_file-size_for_display and use
394 translations from the hildon-fm package instead of osso-filemanager.
396 2009-06-08 Alejandro G. Castro <alex@igalia.com>
398 * hildon/hildon-pannable-area.c,
399 (hildon_pannable_area_init): Initialized new values to handle the
401 (hildon_pannable_area_adjust_value_changed): Check if the values
402 changed before even call the redraw function.
403 (hildon_pannable_area_size_allocate),
404 (hildon_pannable_axis_scroll),
405 (hildon_pannable_area_scroll),
406 (hildon_pannable_area_jump_to): Improved the diagonal movement
409 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
412 2009-06-08 Alberto Garcia <agarcia@igalia.com>
414 * examples/hildon-banner-example.c:
415 Several style updates
416 (on_animation_clicked, on_animation_idle)
417 (on_progress_clicked, on_progress_idle):
418 Add additional reference for the cases when the parent window is
421 2009-06-08 Alberto Garcia <agarcia@igalia.com>
423 * doc/hildon-sections.txt
424 * hildon/hildon-pannable-area.c
425 * hildon/hildon-banner.h
426 * hildon/hildon-banner.c: Documentation updates.
428 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
431 2009-06-05 Alejandro G. Castro <alex@igalia.com>
433 * hildon/hildon-calendar-popup.h:
434 * hildon/hildon-caption.h:
435 * hildon/hildon-code-dialog.h:
436 * hildon/hildon-controlbar.h:
437 * hildon/hildon-date-editor.h:
438 * hildon/hildon-dialog.h:
439 * hildon/hildon-get-password-dialog.h:
440 * hildon/hildon-hvolumebar.h:
441 * hildon/hildon-login-dialog.h:
442 * hildon/hildon-note.h:
443 * hildon/hildon-number-editor.h:
444 * hildon/hildon-range-editor.h:
445 * hildon/hildon-seekbar.h:
446 * hildon/hildon-set-password-dialog.h:
447 * hildon/hildon-sort-dialog.h:
448 * hildon/hildon-time-editor.h:
449 * hildon/hildon-time-picker.h:
450 * hildon/hildon-volumebar-range.h:
451 * hildon/hildon-volumebar.h:
452 * hildon/hildon-vvolumebar.h:
453 * hildon/hildon-weekday-picker.h:
454 * hildon/hildon-window.h:
455 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
456 macros with the current replacements
458 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
460 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
462 * hildon/hildon-color-button.c (hildon_color_button_init): Use
463 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
464 itself, to make it fit better with Fremantle style.
466 Fixes: NB#109878 (height and width of focus on color icon is not
467 consistent with other item in the application tool bar)
469 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
471 * hildon/hildon-touch-selector.c:
472 (hildon_touch_selector_optimal_size_request): use the current requisition
473 as the base, in order to include any possible extra widget, like the
474 hildon entry on HildonTouchSelectorEntry
476 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
478 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
480 * configure.ac: post release version bump
481 * debian/changelog: post release version bump
483 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
488 * configure.ac: Bump version.
489 * debian/changelog: Updates.
491 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
493 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
495 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
496 to ensure the banner contents are centered, instead of relying on
497 the expand and fill properties in GtkHBox.
498 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
500 Fixes: NB#108265 (Animation banner not properly centered)
502 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
504 * hildon/hildon-pannable-area.c
505 (hildon_pannable_area_initial_effect): Remove the initial_effect
506 management, check initial_hint
507 (hildon_pannable_are_expose_event): Remove the initial_hint management,
508 set initial_effect to FALSE
509 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
510 by launching the fade_timeout if the scrollbars state has changed and are
512 * examples/hildon-pannable-area-initial-hint-example.c
513 Modified to allow to remove rows too. Add and remove rows one by one.
515 2009-05-28 Alberto Garcia <agarcia@igalia.com>
517 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
518 Don't close the menu if there's an animation actor below it.
520 Fixes: NB#117927 (Application menu not usable with animation
523 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
525 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
526 "focus-on-click" from the dialog button, to avoid stealing the
527 focus from the entry.
529 Fixes: NB#118903 (Account setup wizard: Text in Search field
530 should be focused when "Region" touch list picker is reopened
533 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
535 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
536 (prepare_action_area): Completely hide the dialog separator.
538 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
540 * hildon/hildon-touch-selector-entry.c
541 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
542 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
543 now that the entry is exposed.
545 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
547 * hildon/hildon-touch-selector-entry.c
548 (hildon_touch_selector_entry_init): Change the entry's size
549 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
551 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
553 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
554 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
555 avoid unnecessary scaling.
557 2009-05-27 Alberto Garcia <agarcia@igalia.com>
559 * hildon/hildon-app-menu.c (hildon_app_menu_map):
560 Create grab transfer window before calling parent's map function.
562 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
563 "crushed" button(s) in the top left corner)
565 2009-05-26 Alberto Garcia <agarcia@igalia.com>
567 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
568 Check if the window is already realized when pushing it.
570 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
572 * configure.ac: post release version bump
573 * debian/changelog: post release version bump
575 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
580 * configure.ac: Bump version.
581 * debian/changelog: Updates.
583 2009-05-25 Alberto Garcia <agarcia@igalia.com>
585 * hildon/hildon-app-menu.c: Doc updates.
587 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
589 * hildon/hildon-banner.c: Remove leftover macro.
591 2009-05-25 Alejandro G. Castro <alex@igalia.com>
593 * hildon/hildon-pannable-area.c,
594 (hildon_pannable_area_scroll_indicator_fade),
595 (hildon_pannable_area_button_release_cb): Reviewed vmin
596 conditions, it could cause problems in the fadeout procedure.
598 2009-05-25 Alejandro G. Castro <alex@igalia.com>
600 * hildon/hildon-pannable-area.c
601 (hildon_pannable_area_button_release_cb): Added a threshold to
602 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
604 2009-05-25 Alejandro G. Castro <alex@igalia.com>
606 * hildon/hildon-pannable-area.c,
607 (hildon_pannable_area_set_property): Added code to sync the gtk
608 dnd threshold with the panning threshold.
610 2009-05-25 Alejandro G. Castro <alex@igalia.com>
612 * hildon/hildon-pannable-area.c,
613 (hildon_pannable_area_class_init): Changed some of the default
614 values, now it should be less responsive and more accurate.
616 2009-05-25 Alejandro G. Castro <alex@igalia.com>
618 * hildon/hildon-pannable-area.c,
619 (hildon_pannable_area_init),
620 (hildon_pannable_area_scroll_indicator_fade),
621 (hildon_pannable_area_button_press_cb),
622 (hildon_pannable_axis_scroll),
623 (hildon_pannable_area_timeout),
624 (hildon_pannable_area_motion_notify_cb),
625 (hildon_pannable_area_button_release_cb): Changed the name of the
626 clicked attribute to button_pressed, it is more clear about its use.
628 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
630 * src/hildon-pannable-area.c
631 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
633 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
634 vertical scrollbar visibility, and use the data on private section instead,
635 remove the initial_hint check
636 (hildon_pannable_area_expose_event): add the initial_hint check here
638 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
640 * src/hildon-pannable-area.c
641 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
642 if the fadeout effect was used
643 (hildon_pannable_area_expose_event): check if it is required to
644 manage the initial effect on the begining of the function. Previously
645 it was made at the end, but this doesn't ensure that the scrollbars
646 will be painted on the first show. Do not set to FALSE initial_effect,
647 to ensure that the initial hint is showed the first time the pannable
649 * examples/Makefile.am
650 * examples/hildon-pannable-area-initial-hint-example.c:
651 New example, to show that the initial-hint is showed when the widget
654 Fixes: NB#116607 (Pannable area should always have scrollbar visible
655 initially if the application can be scrolled)
657 2009-05-25 Alberto Garcia <agarcia@igalia.com>
659 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
660 Resize table before adding new items to make sure that
661 gtk_table_resize() is called just once.
663 2009-05-25 Alberto Garcia <agarcia@igalia.com>
665 * hildon/hildon-app-menu-private.h
666 * hildon/hildon-app-menu.c (item_visibility_changed)
667 (filter_visibility_changed, hildon_app_menu_show_all)
668 (hildon_app_menu_hide_all, hildon_app_menu_init):
669 Rearrange items just once when gtk_widget_show_all()/hide_all()
672 2009-05-25 Alberto Garcia <agarcia@igalia.com>
674 * hildon/hildon-app-menu.c
675 (hildon_app_menu_insert, hildon_app_menu_add_filter):
676 Don't call gtk_widget_show() on added items.
678 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
679 automatically when they're added)
681 2009-05-20 Alberto Garcia <agarcia@igalia.com>
683 * hildon/hildon-banner.c
684 (hildon_banner_realize, +hildon_banner_unrealize)
685 (+screen_size_changed, hildon_banner_class_init):
686 Redisplay the banner if the screen is rotated.
688 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
689 on transition from landscape to portrait)
691 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
693 * hildon/hildon-banner.[ch]:
694 (hildon_banner_show_information_override_dnd): remove icon_name from the
695 method definition as it is ignored.
696 * examples/hildon-banner-dnd-example.c: updated with the change on
699 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
701 * hildon/hildon-banner-private.h: new require_override_dnd and
702 overrides_dnd variables
703 * hildon/hildon-banner.h:
704 (hildon_banner_show_information_override_dnd): new method, that shows
705 the information but sets the override flag, in order to show important
707 * hildon/hildon-banner.c
708 (hildon_banner_show_information_override_dnd): new method
709 (hildon_banner_set_override_flag): new utility function
710 (hildon_banner_real_show_information): new utility function, in order to
711 generalize the current hildon_banner_show_information_override_dnd and
712 hildon_banner_show_information_override_dnd
713 * examples/Makefile.am
714 * examples/hildon-banner-dnd-example.c: New example that show how to
715 use the new hildon_banner_show_information_override_dnd
717 Fixes: NB#114874 (There is no possibility to show hildon banners with
720 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
722 * hildon/hildon-pannable-area.c: Add a comment explaining the math
723 behind hildon_pannable_calculate_vel_factor().
725 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
727 * hildon/hildon-pannable-area.c
728 (hildon_pannable_calculate_vel_factor): Correct the sum of the
729 deceleration factors.
731 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
733 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
734 Reduce the default value for 'scroll_time' to 1 second, since the
735 current initial scrolling takes too much time.
737 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
739 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
740 calculate velocity factor during initialization, since the properties
743 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
745 * hildon/hildon-pannable-area.c
746 (hildon_pannable_area_set_property): Calculate the velocity factor
747 after setting the deceleration property and not after.
749 2009-05-20 Alberto Garcia <agarcia@igalia.com>
751 * hildon/hildon-entry.c
752 (hildon_entry_class_init, +set_property, hildon_entry_new)
753 * hildon/hildon-check-button.c
754 (hildon_check_button_class_init)
755 (+set_property, hildon_check_button_new):
756 Make the theme size a property.
758 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
759 others) do too much in the _new function)
761 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
763 * configure.ac: post release version bump
764 * debian/changelog: post release version bump
766 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
771 * configure.ac: Bump version.
772 * debian/changelog: Updates.
774 2009-05-15 Alberto Garcia <agarcia@igalia.com>
776 * hildon/hildon-gtk.h
777 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
778 New API function to take a screenshot of a window
780 Fixes: NB#106374 (Need API to take a loading screenshot)
782 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
784 * hildon/hildon-time-selector.c
785 (update_format_policy): prevent to use hours and minutes unitialized
787 2009-05-15 Alberto Garcia <agarcia@igalia.com>
789 * hildon/hildon-window.c (hildon_window_size_request):
790 Always request the full size of the screen (minus the title bar if
791 not in fullscreen mode).
793 Fixes: NB#107486 (HildonWindow should size itself properly)
795 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
797 * hildon/hildon-note-private.h: Add idle_handler to the private data.
798 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
799 (on_show_cb), (sound_handling): Disconnect the idle handler for
800 the sound when the note is finalized to avoid possible crashes.
802 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
805 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
807 * src/hildon-animation-actor.c,
808 * src/hildon-remote-texture.c:
809 Added proper object cleanup to remove signal handler and object
810 references as HildonAnimationActor and HildonRemoteTexture
811 objects get destroyed.
813 Fixes: NB#116682 (Destroying parented animation actors when
814 parent in unmapped leads to crash)
816 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
818 Based on a patch by Christian Dywan (christian@imendio.com)
820 * doc/hildon-sections.txt:
821 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
822 * hildon/hildon-helper.h: New file size formatting method.
824 * debian/control: Depend on osso-filemanager l10n package for
825 proper localization strings.
827 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
829 * tests/Makefile.am: Include top_srcdir to make possible to build
830 tests in a different builddir.
831 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
832 on a different builddir.
834 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
836 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
837 (hildon_touch_selector_remove): Disconnect model's signal handler
840 Fixes: NB#116289 (Hildon home crashes while adding task
843 2009-05-11 Alberto Garcia <agarcia@igalia.com>
845 * hildon/hildon-button.c
846 (hildon_button_set_title, hildon_button_set_value):
847 Hide labels containing an empty string.
849 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
851 * configure.ac: post release version bump
852 * debian/changelog: post release version bump
854 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
859 * configure.ac: Bump version.
860 * debian/changelog: Updates.
862 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
864 * hildon/hildon-note-private.h: Removed sound_signal_handler
865 * hildon/hildon-note.c
866 (on_show_cb): new callback on note "show" event, this simply adds
867 a idle, with the function sound_handling
868 (sound_handling): removed the sound_signal_handler management
869 (hildon_note_init): connect note "show" event to on_show_cb
870 (hildon_note_realize): remove the connection to "expose-event"
872 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
873 device?' confirmation note)
875 2009-05-08 Alberto Garcia <agarcia@igalia.com>
877 * hildon/hildon-note.c
878 (hildon_note_new_information_with_icon_name)
879 (hildon_note_new_confirmation_with_icon_name):
880 Terminate the list of parameters in g_object_set() calls
882 Fixes: NB#115166 (Formatting memory card is not taking place)
884 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
886 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
887 "dialog-information" role for the sound being played.
889 2009-05-06 Alberto Garcia <agarcia@igalia.com>
891 * hildon/hildon-app-menu.c (hildon_app_menu_init):
892 Don't make the menu a modal window, it causes strange interactions
893 with the pointer grab and it's not really needed.
895 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
897 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
899 * hildon/hildon-touch-selector.[ch]
900 (hildon_touch_selector_optimal_size_request): function added to get a
901 optimal size request from the touch selector, when you want a dialog to
902 show as much of the selector
903 * hildon/hildon-picker-dialog.c:
904 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
905 (hildon_app_menu_class_init):
906 New "max-height-landscape" and "max-height-portrait" style properties
907 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
908 (hildon_picker_dialog_get_max_height): returns the maximum height using
909 the style properties defined and checking the current portrait/landscape
911 (_hildon_picker_dialog_set_selector): removed the set_size_request
913 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
915 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
917 * hildon/hildon-bread-crumb-trail.c:
918 * hildon/hildon-bread-crumb.c:
919 * hildon/hildon-seekbar.c:
920 Add reference to replacements for these deprecated widgets.
922 Fixes: MB#4461 (Documentation: All deprecations should mention
925 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
927 * examples/hildon-remote-texture-example.c
929 Change the include to the hildon-remote-texture in order to compile
930 properly the examples on the installed libhildon1-examples package
932 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
934 * tests/Makefile.am: Add check for HildonPickerButton.
935 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
936 (START_TEST), (create_hildon_picker_button_suite): Add three simple
937 checks for the HildonPickerButton.
938 * tests/check_test.c (configure_tests): Add the test suite.
939 * tests/test_suites.h: likewise.
941 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
943 * hildon/hildon-touch-selector.c
944 (+on_row_changed): Emit HildonTouchSelector:changed when the
945 contents of a selected row change.
946 (_create_new_column), (_hildon_touch_selector_set_model): connect
947 to GtkTreeModel:row-changed on a newly set model.
949 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
951 2009-05-05 Alberto Garcia <agarcia@igalia.com>
953 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
955 * hildon/hildon-banner.c (hildon_banner_destroy)
956 (hildon_banner_show_progress, hildon_banner_set_fraction):
957 Remove the progress bar from HildonBanner and use a progress
960 Fixes: NB#113761 (Update progress banner to use progress
963 2009-05-04 Alberto Garcia <agarcia@igalia.com>
965 * hildon/hildon-banner.c:
966 Calculate size of the banner label using the actual screen width
967 rather than using a fixed value.
969 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
972 2009-05-04 Alejandro G. Castro <alex@igalia.com>
974 * hildon/hildon-pannable-area.c,
975 (hildon_pannable_area_class_init): Fixed signals documentation
978 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
980 * configure.ac: post release version bump
981 * debian/changelog: post release version bump
983 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
988 * configure.ac: Bump version.
989 * debian/changelog: Updates.
991 2009-05-01 Alberto Garcia <agarcia@igalia.com>
993 * hildon/hildon-edit-toolbar.c
994 (hildon_edit_toolbar_init):
995 Don't let buttons in HildonEditToolbar receive focus.
997 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
998 typing on an HW arrows key)
1000 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1002 * doc/Makefile.am: Fix build.
1004 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1006 * doc/Makefile.am: Do not redefine content_files.
1008 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1016 Renamed src/ to hildon/
1021 Include <hildon/hildon.h> directly in all examples.
1023 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1025 * src/hildon-sort-dialog.c
1026 (hildon_sort_dialog_add_sort_key_with_sorting)
1030 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1032 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1033 make distcheck passes.
1035 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1037 * Makefile.am: Enable gtk-doc during distcheck.
1039 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1041 * Makefile.am: Do not distribute the debian/ directory.
1043 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1045 * doc/Makefile.am: Add the extra SGML files to content_files,
1046 so that they are distributed properly.
1048 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1050 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1053 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1055 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1056 (hildon_note_new_information_with_icon_name): Set the "icon" property
1057 to preserve soundness.
1059 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1061 * src/hildon-font-selection-dialog.c
1062 (hildon_font_selection_dialog_set_property): Fail when the "family"
1063 property is set to NULL.
1065 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1067 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1070 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1072 * src/hildon-time-selector.h:
1073 Added HildonTimeSelectorFormatPolicy
1074 * src/hildon-time-selector.c:
1075 Added PROP_TIME_FORMAT_POLICY
1076 (_check_ampm_format): renamed to check_automatic_ampm_format
1077 (update_format_policy), (update_format_dependant_columns): new functions
1078 (hildon_time_selector_class_init)
1079 (hildon_time_selector_contructor)
1080 (hildon_time_selector_init)
1081 (hildon_time_selector_get_property)
1082 (hildon_time_selector_set_property)
1083 (hildon_time_selector_get_time)
1084 (hildon_time_selector_set_time)
1085 * src/hildon-touch-selector.h: new file
1086 * src/hildon-touch-selector.c
1087 (hildon_touch_selector_emit_changed)
1088 (hildon_touch_selector_block_changed)
1089 (hildon_touch_selector_unblock_changed)
1090 Added functions to allow to block the emission of the "changed" signal
1091 * src/hildon-picker-dialog.c
1092 (hildon_picker_dialog_show): call the parent show before the custom code
1093 * examples/hildon-time-button-example.c
1094 Modified, so now you can configure the time format using the new property
1096 Added a new property "time-format-policy" that allow to choose the time
1097 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1098 case it uses gconf in order to check if the time selector must use
1101 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1104 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1106 * src/hildon-note.c (hildon_note_init):
1107 Label in HildonNote must be left aligned, not centered. This
1108 reverts the last commit in HildonNote.
1110 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1111 is connectivity dialog)
1113 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1118 * doc/hildon-sections.txt:
1119 Added hildon_gtk_window_set_do_not_disturb()
1121 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1123 * src/hildon-note.c (hildon_note_init): Center label.
1125 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1128 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1133 * configure.ac: Bump version.
1134 * debian/changelog: Updates.
1136 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1138 * src/hildon-note-private.h: Add button-width to the private data.
1139 * src/hildon-note.c (+resize_button),
1140 (+hildon_note_orientation_update): methods to repack widgets on orientation
1142 (screen_size_changed): Call above method for confirmation notes.
1143 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1144 (hildon_note_rebuild): Store the original width request from buttons.
1146 Fixes: NB#109635 (Confirmation notes do not support portrait)
1148 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1150 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1151 when it is a progress note.
1153 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1155 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1156 in the note, since there are no horizontally arranged contents.
1158 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1160 * src/hildon-gtk.c (+set_flag): new generic method to
1161 set/delay a flag setting in a window.
1162 (hildon_gtk_window_set_progress_indicator):
1163 (hildon_gtk_window_set_do_not_disturb),
1164 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1165 avoid code redundance.
1167 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1169 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1171 * src/hildon-gtk.c (set_clear_window_flag),
1172 (do_set_progress_indicator), (do_set_do_not_disturb),
1173 (do_set_portrait_flags),
1174 (hildon_gtk_window_set_progress_indicator),
1175 (hildon_gtk_window_set_do_not_disturb),
1176 (hildon_gtk_window_set_portrait_flags):
1177 Allow setting dnd-flag, progress indicator, and portrait flags
1178 when the window is not realized.
1180 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1182 * src/hildon-pannable-area.c,
1183 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1184 the size request policy function and defines.
1186 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1188 * doc/hildon-sections.txt: Add the new API.
1189 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1190 method to set the portrait flags.
1191 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1193 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1195 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1197 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1198 to allow using this method with other flags.
1199 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1200 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1202 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1204 * src/hildon-touch-selector.c
1205 (hildon_touch_selector_append_text_column):
1206 Make the cell renderer use the smallest width possible.
1208 Fixes: NB#108470 (Selected items in multiple selection are either
1209 having a tick that is cut or not visible at all.)
1211 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1213 * src/hildon-touch-selector.c
1214 (hildon_touch_selector_append_text_column):
1217 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1219 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1220 Use g_strdup_printf() instead of a fixed size buffer.
1222 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1224 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1225 Close banners when a HildonAppMenu is popped up.
1227 Fixes: NB#111027 (Title menu closed immediately if activated when
1228 "Invalid e-mail address" banner is shown)
1230 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1235 * configure.ac: Bump version.
1236 * debian/changelog: Updates.
1238 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1240 * src/hildon-banner.c (hildon_banner_realize):
1241 Mark HildonBanner as supporting portrait mode.
1242 Use GDK to set window properties insetad of direct Xlib calls.
1244 Fixes: NB#111830 (HildonBanner should be marked as supporting
1247 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1249 * src/hildon-note.c (hildon_note_rebuild):
1250 Hide action area in information notes. Prevents text from being
1251 slightly aligned to the left.
1253 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1256 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1258 Patch by Mox Soini (ext-mox.soini@nokia.com)
1260 * src/hildon-banner.c (hildon_banner_create_animation):
1261 Use stylus-sized icons in animation banner.
1263 Fixes: NB#111206 (stylus sized icon for animation banner)
1265 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1269 (+hildon_gtk_window_set_do_not_disturb):
1270 New API to set the do-not-disturb flag.
1272 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1274 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1276 * examples/hildon-progress-indicator-example.c: Fix example
1278 * src/hildon-gtk.c (set_clear_window_flag)
1279 (hildon_gtk_window_set_progress_indicator):
1280 Create a generic function for setting flags to a window.
1281 Use GDK instead of direct Xlib calls.
1283 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1285 * src/hildon-button.c (hildon_button_set_arrangement):
1286 Due to NB#88126, if one of the labels is too long it will be
1287 painted outside the button. The 'value' label is more likely to be
1288 the longest one, so we change its packing options in order to
1289 truncate it if necessary. As a side effect, the 'title' label will
1290 no longer be truncated.
1292 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1294 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1299 * configure.ac: Bump version.
1300 * debian/changelog: Updates.
1302 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1304 Deprecation of the hildon_pannable_area_set_size_request_policy
1305 API, the only policy properly supported in gtk+ nowadays is the
1308 * src/hildon-pannable-area.c,
1309 (hildon_pannable_area_size_request): Added a workaround for the
1310 size_request to avoid the problems of huge pixmaps in case someone
1311 is still using the function.
1312 * src/hildon-pannable-area.h: Deprecated the enum with the
1315 Fixes: NB#110244 (Problems with the
1316 hildon_pannable_area_set_size_request_policy API)
1318 2009-04-08 Alejandro G. Castro <alex@igalia.com>
1320 * src/hildon-pannable-area.c,
1321 (hildon_pannable_area_init),
1322 (hildon_pannable_area_size_request),
1323 (hildon_pannable_area_style_set),
1324 (hildon_pannable_draw_vscroll),
1325 (hildon_pannable_draw_hscroll),
1326 (hildon_pannable_area_check_scrollbars): Replaced area_width with
1327 indicator_width to clarify the use of the attribute.
1329 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
1334 * configure.ac: Bump version.
1335 * debian/changelog: Updates.
1337 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
1339 * src/hildon-picker-dialog.c
1340 * src/hildon-touch-selector.c
1341 Reverting the change that tried to avoid the hardcoded height on
1342 the picker dialog, as causes problems on the hildon-touch-selector
1345 Fixes: NB#110029 (selectors not scrolling to selected value)
1347 2009-04-07 Alberto Garcia <agarcia@igalia.com>
1349 * src/hildon-touch-selector.c: Fix typos
1351 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1353 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1354 Use the event coordinates instead of gdk_window_get_pointer(). Also,
1355 request more motions after using it.
1357 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1359 * src/hildon-calendar.c (hildon_calendar_expose),
1360 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1361 Remove unused variables.
1363 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1365 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1366 variable assignment.
1368 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1370 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1371 Check the return value of gtk_tree_selection_get_selected()
1374 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1376 * src/hildon-animation-actor.c
1377 * src/hildon-button.c
1379 * src/hildon-pannable-area.c
1380 * src/hildon-picker-button.c
1381 * src/hildon-program.c
1382 * src/hildon-remote-texture.c
1383 * src/hildon-text-view.c
1384 * src/hildon-touch-selector.c
1385 * src/hildon-window-stack.c
1386 * src/hildon-window.c:
1387 Add missing 'Since: 2.2' tags.
1389 * doc/hildon-sections.txt:
1390 Add some missing symbols.
1392 * doc/hildon-docs.sgml:
1393 New 'Other' section for HildonAnimationActor and
1396 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1398 Patch by Iván Gómez (igomez@igalia.com)
1401 * doc/compiling.sgml
1402 * doc/hildon-docs.sgml
1403 * doc/hildon-sections.txt
1404 * doc/migration.sgml
1405 * doc/resources.sgml
1407 New chapters on using the Hildon library.
1408 Updated the general structure of the reference manual.
1409 Other minor documentation fixes.
1411 * src/hildon-calendar-popup.c
1412 * src/hildon-calendar.c
1413 * src/hildon-controlbar.c
1414 * src/hildon-date-editor.c
1415 * src/hildon-dialog.c
1416 * src/hildon-hvolumebar.c
1417 * src/hildon-number-editor.c
1418 * src/hildon-range-editor.c
1419 * src/hildon-sort-dialog.c
1420 * src/hildon-time-editor.c
1421 * src/hildon-time-picker.c
1422 * src/hildon-volumebar-range.c
1423 * src/hildon-volumebar.c
1424 * src/hildon-vvolumebar.c
1425 * src/hildon-weekday-picker.c:
1426 Add deprecation notes
1428 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1429 Document 'horizontal-movement' and 'vertical-movement' signals.
1431 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
1436 * configure.ac: Bump version.
1437 * debian/changelog: Updates.
1439 2009-04-06 Alejandro G. Castro <alex@igalia.com>
1441 * src/hildon-pannable-area.c,
1442 (hildon_pannable_area_class_init): increased the minimum velocity.
1443 (hildon_pannable_area_button_release_cb): Updated the
1444 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
1445 setup. Review the code to control that last event.
1447 Fixes: NB#109790 (Releasing finger in pannable area easily causes
1450 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
1452 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1454 * src/hildon-get-password-dialog.c
1455 (hildon_get_password_set_property),
1456 (hildon_get_password_get_property), (create_contents):
1457 * src/hildon-login-dialog-private.h:
1458 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
1459 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
1460 (hildon_login_dialog_get_password):
1461 * src/hildon-set-password-dialog-private.h:
1462 * src/hildon-set-password-dialog.c
1463 (hildon_set_password_set_property),
1464 (hildon_set_password_get_property), (create_contents),
1465 (hildon_set_password_response_change),
1466 (hildon_set_password_response_set), (hildon_checkbox_toggled):
1468 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
1469 instead and look more Fremantle style.
1471 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
1473 2009-04-03 Alberto Garcia <agarcia@igalia.com>
1475 * doc/hildon-sections.txt
1476 * src/hildon-window-stack.h
1477 * src/hildon-window-stack.c
1478 (+hildon_window_stack_get_windows):
1479 New API to obtain the list of windows on a stack.
1481 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1483 * src/hildon-app-menu.c (hildon_app_menu_popup)
1484 (hildon_app_menu_class_init, -hildon_app_menu_show):
1485 Remove hildon_app_menu_show() and move all its checks to
1486 hildon_app_menu_popup()
1488 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
1490 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
1491 (_hildon_picker_dialog_set_selector): removed call to
1492 gtk_widget_set_size_request
1493 * src/hildon-touch-selector.c
1494 (_create_new_column): change the pannable size request policy
1496 Avoid to use a hardcoded height for the hildon picker dialog. In order
1497 to get that, we needed to change the hildon pannable size request
1499 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1501 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1503 * src/hildon-window.c (hildon_window_map): Check for vbox to be
1504 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
1507 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1509 * debian/control: Depend on osso-system-lock localization package.
1510 * src/hildon-code-dialog.c: Obtain the secu_application_title
1511 translation from osso-system-lock.
1512 * src/hildon-get-password-dialog.c (create_contents): Do not mark
1513 for translation the atk related strings, that's not necessary.
1514 * src/hildon-set-password-dialog.c (create_contents): Ditto.
1515 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
1516 cancel button, it is not required.
1518 2009-04-02 Alejandro G. Castro <alex@igalia.com>
1520 * src/hildon-pannable-area.c,
1521 (hildon_pannable_area_class_init): Modified the default value of
1522 the overshooting max speed, we have reduced it.
1524 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1526 * doc/hildon-sections.txt
1527 * src/hildon-window-private.h
1528 * src/hildon-window.h
1529 * src/hildon-window.c (hildon_window_class_init)
1530 (hildon_window_init, hildon_window_finalize)
1531 (hildon_window_realize, hildon_window_get_property)
1532 (hildon_window_set_property, hildon_window_update_markup)
1533 (hildon_window_get_markup, hildon_window_set_markup):
1534 New "markup" property and hildon_window_{get,set}_markup() methods.
1536 * examples/hildon-stackable-window-example.c (new_window):
1537 Update example to use hildon_window_set_markup()
1539 Fixes: NB#106375 (Need API to retitle a window with a title
1542 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1544 * src/hildon-pannable-area.c,
1545 (hildon_pannable_area_class_init): Changed the default value of
1546 the initial_hint to TRUE.
1547 (hildon_pannable_area_initial_effect): Changed the initial effect,
1548 not the effect is just the fade-out of the scrollbars.
1550 Fixes: NB#107775 (No scrollbars can be seen when several items are
1551 available in a dialog)
1553 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1555 * src/hildon-program.c (hildon_program_update_top_most):
1558 Fixes: NB#109179 (Memory leak in Hildon program)
1560 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1562 * src/hildon-banner.c (-get_current_app_window):
1563 Remove unused function.
1565 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1567 * src/hildon-pannable-area.c: Modified the documentation of the
1568 get adjustments functions to explain the problem of using the
1569 adjustment directly.
1570 (hildon_pannable_area_class_init): Improved the explanation about
1573 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1575 * src/hildon-app-menu-private.h
1576 * src/hildon-app-menu.c
1577 (hildon_app_menu_class_init):
1578 Bring back the 'external-border' style property
1579 (hildon_app_menu_class_init, hildon_app_menu_init)
1580 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
1581 Set a fixed width-request for the menu, independent of the number
1584 Fixes: NB#94957 (Smoothly opened application menu)
1586 2009-03-30 Alberto Garcia <agarcia@igalia.com>
1588 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
1590 * src/hildon-banner.c
1591 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
1593 Make sure that the banner is correctly placed the first time it's
1595 (hildon_banner_check_position, -check_fullscreen_state):
1596 Show the banner in the same place no matter if the window is in
1597 fullscreen mode or not.
1599 Fixes: NB#107386 (Odd stacking behaviour for information banners)
1601 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1603 * src/hildon-touch-selector.c (_default_print_func): reorder
1604 concatenation for clarity.
1606 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1608 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
1609 for multicolumn selectors.
1611 Fixes: NB#109099 (Memory leak in Hildon touch selector)
1613 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
1618 * configure.ac: Bump version.
1619 * debian/changelog: Updates.
1621 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
1623 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
1626 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1628 * configure.ac: removed libcangerra-gtk dependency
1629 * debian/control: removed libcanberra-gtk dependency
1630 * src/Makefile.am: removed libcanberra gtk related flags
1631 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1632 context, and manage a global canberra context instead
1634 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1636 2009-03-26 Alberto Garcia <agarcia@igalia.com>
1638 Patch by Daniel Borgmann (danielb@openismus.com)
1640 * src/hildon-edit-toolbar.c:
1641 Adjust the left padding.
1642 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
1643 Paint background of the edit toolbar.
1645 Fixes: NB#107897 (Patch to make editmodetoolbar background
1646 themeable and adjust margin)
1648 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1650 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1652 * src/hildon-program.c (hildon_program_update_top_most):
1653 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
1655 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
1656 change when the user tasks in/out of an application)
1658 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1660 * configure.ac: added libcangerra-gtk dependency
1661 * debian/control: added libcanberra-gtk dependency
1662 * src/Makefile.am: added libcanberra gtk related flags
1663 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
1666 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1668 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1670 * src/hildon-program.c (hildon_program_remove_window)
1671 (hildon_program_add_window): Add checks for the window
1672 parameter. Don't decrease the window counter if the window is not
1675 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1677 * src/hildon-pannable-area.c,
1678 (hildon_pannable_area_realize): Fixed position of the event_window
1679 in the realize method.
1681 2009-03-24 Alberto Garcia <agarcia@igalia.com>
1683 * src/hildon-app-menu-private.h
1684 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
1685 (hildon_app_menu_map, hildon_app_menu_hide_idle)
1686 (hildon_app_menu_key_press, hildon_app_menu_init)
1687 (hildon_app_menu_finalize):
1688 Make sure that all idle functions are removed when the widget is
1691 Fixes: NB#107583 (Hildon app menu crashes in various applications)
1693 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1698 * configure.ac: Bump version.
1699 * debian/changelog: Updates.
1701 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1703 * src/hildon-entry.c
1704 (+hildon_entry_show_placeholder),
1705 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
1706 that replace hildon_entry_update_contents().
1707 (hildon_entry_set_text),
1708 (hildon_entry_set_placeholder),
1709 (hildon_entry_focus_in_event),
1710 (hildon_entry_focus_out_event): Determine when it is needed
1711 either to show or hide the placeholder and call the above methods.
1713 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
1714 when the placeholder text is already set)
1716 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1718 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
1719 simple GdkPixbufAnim using the new icons for the banner.
1720 (hildon_banner_show_animation): Use the above mentioned method to
1721 create the animation widget.
1723 Fixes: NB#103564 (Make hildon animation banner use individual
1724 image files as the animation)
1726 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1728 * src/hildon-pannable-area.c,
1729 (hildon_pannable_leave_notify_event): Check if the child is NULL
1730 to avoid sending the leave.
1732 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1734 * src/hildon-pannable-area.c,
1735 (hildon_pannable_area_class_init),
1736 (hildon_pannable_leave_notify_event): Added a handler of the
1737 leave-notify-signal to consider when no motion notify before
1740 Fixes: NB#107494 (Items stay selected when clicking and moving
1741 away when inside pannable area)
1743 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
1748 * configure.ac: Bump version.
1749 * debian/changelog: Updates.
1751 2009-03-19 Alejandro G. Castro <alex@igalia.com>
1753 Patch by Alberto Garcia (agarcia@igalia.com)
1755 * src/hildon-date-button.c,
1756 (hildon_date_button_class_init),
1757 (hildon_date_button_init): Removed the construct property handling
1758 and created a default selector in the init method.
1759 * src/hildon-picker-button.c,
1760 (hildon_picker_button_class_init): Removed the construct flag of the
1763 2009-03-18 Alberto Garcia <agarcia@igalia.com>
1765 * src/hildon-main.c (hildon_init):
1766 Don't allow hildon_init() to be called more than once.
1768 Fixes: NB#106607 (hildon_init should issue error message upon
1771 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
1773 * examples/hildon-pannable-area-touch-list-example.c
1774 * examples/hildon-pannagle-area-touch-grid-example.c
1775 * examples/hildon-edit-toolbar-example.c
1776 * examples/hildon-touch-selector-multi-cells-example.c
1777 Removed the call to gtk_rc_parse_string, as it is not required since
1780 2009-03-17 Alejandro G. Castro <alex@igalia.com>
1782 * src/hildon-pannable-area.c,
1783 (hildon_pannable_area_class_init): Modified the default panning
1784 threshold of the widget to 6px.
1786 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
1787 than the threshold value ) within the button is not sending the
1790 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1792 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
1793 for the treeview in the new column. This way, the touch list will never
1796 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
1797 be selected manually for the HW keys to work)
1799 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1801 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
1802 comparison instead of using strcmp(). Fixes a compiler warning as well.
1804 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1806 * doc/hildon-docs.sgml: Do not set the library version in the
1807 document title, use the releaseinfo tag for that purpose instead.
1809 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1811 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
1812 Do not jump to the first item if the text in the entry is removed.
1814 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1819 * configure.ac: Bump version.
1820 * debian/changelog: Updates.
1822 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1824 * src/hildon-entry.c (hildon_entry_refresh_contents):
1825 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
1826 Use "ReversedSecondaryTextColor" for the placeholder text.
1828 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1830 * src/hildon-text-view.c: Fix compilation warning.
1832 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1834 * src/hildon-button.c (hildon_button_class_init): Don't make
1835 "title" and "value" construction properties, to prevent them from
1836 overwriting labels set from derived classes.
1838 * src/hildon-picker-button.c
1839 (hildon_picker_button_set_selector): Allow setting a NULL selector.
1840 (hildon_picker_button_class_init): Make touch-selector a
1841 construction property.
1843 * src/hildon-date-button.c (hildon_date_button_class_init)
1844 (+hildon_date_button_constructed): Add a default date selector if
1847 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1849 * src/hildon-touch-selector.c: Small documentation fixes.
1851 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1853 Based on a patch by Daniel Borgmann (danielb@openismus.com)
1855 * src/hildon-entry.c (hildon_entry_refresh_contents),
1856 (hildon_entry_get_text), (hildon_entry_init): Do not use the
1857 widget name, set the logical color directly instead and a boolean
1858 showing_placeholder instead.
1859 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
1860 use the widget name here either.
1862 Fixes: NB#105678 (HildonTextView should use logical colours
1863 instead of setting widget name)
1865 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1867 Patch by Daniel Elster (danielk@openismus.com)
1869 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
1870 Add user_data parameter.
1871 (hildon_touch_selector_set_print_func_full): New function akin
1872 hildon_touch_selector_set_print_func() but with support for user
1873 data and a destroy callback.
1874 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
1875 to clean up the print function user data.
1876 (hildon_touch_selector_class_init): Install dispose function.
1877 (HildonTouchSelectorPrivate::print_user_data),
1878 (HildonTouchSelectorPrivate::print_destroy_func): New private
1880 (hildon_touch_selector_init): Initialize new private members.
1881 (hildon_touch_selector_get_current_text): Pass along user data
1882 to the print function.
1883 (_default_print_func): Add dummy user_data to parameter list.
1884 * hildon-date-selector.c (_custom_print_func): ditto,
1885 * hildon-time-selector.c (_custom_print_func): ditto,
1886 * hildon-touch-selector-entry.c
1887 (hildon_touch_selector_entry_print_func): ditto.
1889 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
1891 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1893 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
1895 2009-03-12 Alejandro G. Castro <alex@igalia.com>
1897 * src/hildon-pannable-area.c,
1898 (hildon_pannable_area_init),
1899 (hildon_pannable_area_button_press_cb),
1900 (hildon_pannable_area_motion_notify_cb): We have added code to
1901 handle the leave and enter events when using the motion events.
1903 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
1905 2009-03-11 Alberto Garcia <agarcia@igalia.com>
1907 * src/hildon-date-button.c (hildon_date_button_get_date)
1908 (hildon_date_button_set_date): Make sure that the button has a
1911 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
1913 2009-03-11 Alejandro G. Castro <alex@igalia.com>
1915 * src/hildon-pannable-area.c,
1916 (hildon_pannable_area_class_init),
1917 (hildon_pannable_area_calculate_velocity): Modify the use of the
1918 force and adapt the value.
1920 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1922 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
1923 (hildon_app_menu_class_init): Hide the menu if it receives a
1924 delete-event, but don't destroy it
1926 Fixes: NB#104485 (Not able to address the call when application
1927 menu is opened at background)
1929 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1931 * src/hildon-app-menu.c
1932 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1933 Remove the "external-border" style property, let the menu take its
1934 natural size (or the one set by the window manager)
1935 (hildon_app_menu_repack_items):
1936 Don't reshow the menu, avoid flickers.
1938 Partially fixes NB#94957 (Smoothly opened application menu)
1940 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
1945 * configure.ac: Bump version.
1946 * debian/changelog: Updates.
1948 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1950 * src/hildon-pannable-area.c,
1951 (hildon_pannable_area_motion_notify_cb): We control that the
1952 direction error margin is used just in case the movement is
1953 allowed in the other direction.
1955 Fixes: NB#105012 (buttons inside a pannable area not getting
1956 release event when dragging/releasing)
1958 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1960 * src/hildon-pannable-area.c,
1961 (hildon_pannable_area_class_init),
1962 (hildon_pannable_area_get_property),
1963 (hildon_pannable_area_set_property),
1964 (hildon_pannable_area_initial_effect),
1965 (hildon_pannable_axis_scroll),
1966 (hildon_pannable_area_button_release_cb): Reviewed the
1967 overshooting effect, now it has its own max
1968 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
1969 speed when bouncing.
1971 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
1976 * configure.ac: Bump version.
1977 * debian/changelog: Updates.
1979 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1981 * src/hildon-pannable-area.c,
1982 (hildon_pannable_area_class_init): Changed the max speed, now
1983 users can launch the widget very fast. Reduced the default force,
1984 that way it is easier to control the launch speed.
1986 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1988 * src/hildon-pannable-area.c,
1989 (hildon_pannable_area_button_release_cb): Removed this check
1990 because it causes problems when the device is overloaded.
1992 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1994 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1995 add a current_text field to store the text entered in the
1996 touch selector entry.
1997 (_clean_current_selection): clean up the current text as well.
1998 (_save_current_selection), (_restore_current_selection):
1999 Save/restore the text in the entry if the selector is a
2000 HildonTouchSelectorEntry.
2002 Fixes: NB#102541 (value entered in the touch selector entry is not
2003 shown when opened for second time)
2005 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2007 * doc/hildon-sections.txt:
2008 * src/hildon-touch-selector-entry.c
2009 (+hildon_touch_selector_entry_get_entry):
2010 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2012 Fixes: NB#104815 (I need accessor to the entry inside
2013 HildonTouchSelectorEntry)
2015 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2017 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2018 (hildon_app_menu_class_init):
2019 New "filter-vertical-spacing" style property.
2021 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2023 * src/hildon-find-toolbar.c
2024 (hildon_find_toolbar_emit_close)
2025 (hildon_find_toolbar_emit_invalid_input)
2026 (hildon_find_toolbar_entry_activate):
2027 Use g_signal_emit() instead of g_signal_emit_by_name()
2029 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2031 Patch by Mox Soini (ext-mox.soini@nokia.com)
2033 * tests/TEST-CASES.txt
2034 * tests/check-hildon-banner.c
2035 * tests/check-hildon-note.c
2036 * src/hildon-banner.c
2037 * src/hildon-code-dialog.c
2038 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2039 * src/hildon-time-editor.c
2040 * examples/hildon-lookup-example.c (main):
2041 Replace obsolete icon names with new ones.
2043 * src/hildon-find-toolbar-private.h:
2044 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2045 (-hildon_find_toolbar_emit_search):
2046 Remove find button and change icon of close button.
2048 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2050 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2052 * src/hildon-time-button.c (hildon_time_button_new_step):
2053 Use the "touch-selector" property to set the selector directly
2054 when creating the object.
2056 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2058 Added a new example application that allows tuning the pannable
2059 area and replaced defines with properties in order to simplify the
2060 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2061 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2062 PROP_DIRECTION_ERROR_MARGIN.
2064 * examples/hildon-pannable-area-tuning-example.c: New example
2066 * src/hildon-pannable-area.c,
2067 (hildon_pannable_area_class_init),
2068 (hildon_pannable_area_init),
2069 (hildon_pannable_area_get_property),
2070 (hildon_pannable_area_set_property),
2071 (hildon_pannable_area_launch_fade_timeout),
2072 (hildon_pannable_area_adjust_value_changed),
2073 (hildon_pannable_axis_scroll),
2074 (hildon_pannable_area_motion_notify_cb),
2075 (hildon_pannable_area_scroll_cb),
2076 (hildon_pannable_area_button_release_cb): We have converted some
2077 of the defines that control the widget to properties to simplify
2080 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2082 * src/hildon-app-menu.c (hildon_app_menu_map)
2083 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2084 so it's closed if a new window appears.
2086 Fixes: NB#104485 (Not able to address the call when application
2087 menu is opened at background)
2089 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2091 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2092 missing 'break' statement in in 'case' construct to avoid
2095 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2097 * src/hildon-touch-selector-entry.c
2098 (hildon_touch_selector_entry_get_property),
2099 (hildon_touch_selector_entry_set_property): Add missing 'break'
2100 statements in in 'case' constructs to avoid incorrect warnings.
2102 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2104 * src/hildon-time-editor.c
2105 (hildon_time_editor_get_time_separators): Do not crash if
2106 the first label is NULL.
2108 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2110 * src/hildon-date-selector.c (_month_days): Check for month to be
2111 strictly less than 12, since otherwise we may overrun the array.
2113 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2115 * src/hildon-date-button.c (+hildon_date_button_new_full)
2116 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2117 (hildon_date_button_init): Set the date selector using a
2118 construction property, to make it happen after HildonButton's
2119 "value" property is set.
2121 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2122 current date by default)
2124 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2126 * doc/hildon-sections.txt
2127 * src/hildon-program.c
2128 * src/hildon-stackable-window.c
2129 * src/hildon-window.c:
2130 Documentation updates
2132 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2134 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2135 (hildon_window_stack_new, +hildon_window_stack_set_property)
2136 (+hildon_window_stack_get_property)
2137 (hildon_window_stack_class_init)
2138 (+hildon_window_stack_set_window_group)
2139 (+hildon_window_stack_get_window_group):
2140 Make the window group a construction property.
2142 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2144 * doc/hildon-sections.txt
2145 * src/hildon-stackable-window-private.h
2146 * src/hildon-stackable-window.h
2147 * src/hildon-stackable-window.c
2148 (-hildon_stackable_window_set_app_menu)
2149 (-hildon_stackable_window_get_app_menu)
2150 (-hildon_stackable_window_toggle_menu)
2151 (-hildon_stackable_window_finalize)
2152 (hildon_stackable_window_class_init)
2153 (hildon_stackable_window_init)
2154 * src/hildon-window-private.h
2155 * src/hildon-window.h
2156 * src/hildon-window.c (hildon_window_init)
2157 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2158 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2159 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2160 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2161 Moved all HildonAppMenu code to HildonWindow. The menu does not
2162 require a HildonStackableWindow anymore.
2164 * src/hildon-app-menu.c
2165 * src/hildon-program.c
2166 * examples/hildon-app-menu-example.c (main):
2167 Update examples and documentation to reflect HildonAppMenu
2170 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2172 * src/hildon-remote-texture.c
2173 * src/hildon-animation-actor.c:
2174 Don't include unused private headers.
2176 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2178 * src/hildon-program-private.h
2179 * src/hildon-program.c
2180 (hildon_program_set_common_menu)
2181 (hildon_program_get_common_menu)
2182 (hildon_program_set_common_app_menu)
2183 (hildon_program_get_common_app_menu):
2184 Change common menu pointers from GtkWidget* to GtkMenu* and
2185 HildonAppMenu* to avoid unnecessary casts.
2187 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2189 * src/hildon-window.c (hildon_window_set_main_menu):
2190 Removed incorrect 'Since:' tag
2192 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2194 * src/hildon-pannable-area.c,
2195 (hildon_pannable_area_calculate_velocity): We use now the
2196 RATIO_TOLERANCE here to check the distance, fixed typo in the
2198 (hildon_pannable_area_motion_notify_cb): We have to set the type
2199 and time even if we are not sending the motion.
2201 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2203 * doc/hildon-sections.txt
2204 * src/hildon-app-menu.h
2205 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2206 (+hildon_app_menu_get_filters): New methods to get the contents of
2209 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2212 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2214 * src/hildon-app-menu.c (hildon_app_menu_popup):
2217 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2219 * src/hildon-window.h
2220 * src/hildon-window.c (+hildon_window_get_main_menu)
2221 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2222 and deprecated hildon_window_get_menu().
2224 * src/hildon-stackable-window.h
2225 * src/hildon-stackable-window.c
2226 (+hildon_stackable_window_set_app_menu)
2227 (+hildon_stackable_window_get_app_menu)
2228 (hildon_stackable_window_set_main_menu): Created
2229 hildon_stackable_window_{get,set}_app_menu() and deprecated
2230 hildon_stackable_window_set_main_menu().
2232 * doc/hildon-sections.txt
2233 * examples/hildon-app-menu-example.c (main)
2234 * src/hildon-app-menu.c
2235 * src/hildon-program.c:
2236 Updated examples and documentation.
2238 Fixes: NB#103758 (No way to obtain a menu from a
2239 HildonStackableWindow)
2241 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2246 * configure.ac: Bump version.
2247 * debian/changelog: Updates.
2249 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2251 * examples/hildon-remote-texture-example.c: Include
2252 hildon-remote-texture.h explicitely.
2253 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2254 applications not defining _XOPEN_SOURCE which don't require this header.
2256 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2258 * doc/hildon-sections.txt
2259 * src/hildon-app-menu.h
2260 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2261 New function to pop up a HildonAppMenu
2263 * src/hildon-stackable-window.c
2264 (hildon_stackable_window_toggle_menu):
2265 Use hildon_app_menu_popup() to show the menu.
2267 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2269 * src/hildon-app-menu.c (hildon_app_menu_show)
2270 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2271 menu if there's another window between it and its parent window.
2273 Fixes: NB#100468 (Application menu window is launched even when a
2274 new secondary-window/dialog is pending to be shown/realized)
2276 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2278 * src/hildon-window-stack.c (hildon_window_stack_push)
2279 (hildon_window_stack_pop_and_push):
2280 Don't forget to push/pop the first window.
2281 Reverse the window list before calling _push_list()
2283 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2285 * src/hildon-picker-button.h
2286 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2287 Remove "value_changed" slot to avoid ABI breakage
2289 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2291 * src/hildon-pannable-area.c,
2292 (hildon_pannable_area_realize),
2293 (hildon_pannable_area_unrealize),
2294 (hildon_pannable_draw_vscroll),
2295 (hildon_pannable_draw_hscroll): Changed the method to handle the
2296 GC used to draw the transparent scrollbar, this way we avoid
2297 creating the GC all the time when drawing the scrollbars.
2299 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2301 * src/hildon-pannable-area.c,
2302 (hildon_pannable_area_init),
2303 (hildon_pannable_area_remove): Removed some unnecessary casts.
2304 (hildon_pannable_area_dispose): Disconnected some signals before
2305 releasing the adjustments.
2307 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2309 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2310 Make sure that all widgets contained in the toolbar are shown.
2312 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2314 * doc/hildon-sections.txt
2315 * src/hildon-picker-button.h
2316 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2317 (_selection_changed, hildon_picker_button_on_dialog_response)
2318 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2319 New hildon_picker_button_value_changed() method.
2322 * src/hildon-picker-button-private.h
2323 * src/hildon-picker-button.c (hildon_picker_button_init)
2324 (+hildon_picker_button_disable_value_changed): Add protected
2325 function for disabling the "value-changed" signal.
2327 * src/hildon-date-button.c (hildon_date_button_set_date):
2328 Don't emit "value-changed" for each one of the three columns.
2330 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2331 before actual change of values)
2333 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2335 * src/hildon-pannable-area.c,
2336 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2337 for the treeview overshooting.
2339 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2341 * src/hildon-banner.c (+hildon_banner_bind_style):
2342 Renamed from hildon_banner_bind_label_style(), now naming the
2343 banner itself as well.
2344 (hildon_banner_show_information),
2345 (hildon_banner_show_information_with_markup),
2346 (hildon_banner_show_animation), (hildon_banner_show_progress):
2347 Name the widgets and labels, based on their type.
2349 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2352 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2354 * src/hildon-note.c (hildon_note_set_property): call
2355 hildon_note_rename() on HildonNote:note-type set.
2356 (hildon_note_rename): Name the note and its label, based on the
2357 HildonNote:note-type property.
2359 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2362 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2364 * src/hildon-pannable-area.c,
2365 (hildon_pannable_area_class_init),
2366 (hildon_pannable_area_motion_notify_cb): Reviewed the default
2367 panning parameters, increased SPS and deceleration factor. Added
2368 also a margin to control fake directions.
2370 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2372 Patch by Sven Herzberg (sven@imendio.com)
2374 * configure.ac: Add missing AM_PROG_CC_C_0
2375 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2377 See NB#101420 (Update unit tests and fix make check)
2379 2009-02-23 Alejandro G. Castro <alex@igalia.com>
2381 This patch was applied before but reverted because it caused
2382 problems, we have changed the main condition and tested the
2383 regressions we detected before and they work ok. We have done a
2384 complete review of the topmost algorithm in order to get a more
2387 * src/hildon-pannable-area.c,
2388 (hildon_pannable_area_get_topmost): Added a new parameter to
2389 filter the the windows that do not include those events.
2390 (hildon_pannable_area_button_press_cb),
2391 (hildon_pannable_area_button_release_cb),
2392 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2393 topmost function, we have added the new parameter.
2395 Fixes: NB#97458 (Pannable area prevents propagation of button
2398 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2400 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
2401 if all columns in the selector have an item selected.
2402 (_on_dialog_response): Stop "response" signal emission if there is
2403 any selector column without selected items.
2405 Fixes: NB#101889 (Picker dialog should not close when nothing is
2406 selected in multiple selection list)
2408 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2410 * src/hildon-font-selection-dialog.c
2411 (hildon_font_selection_dialog_class_init),
2412 (hildon_font_selection_dialog_init): Remove the preview
2413 button and dialog, since previewing with default theming is likely
2414 to be overcomplicated. The :preview property has now no effect.
2415 Update documentation blurbs to inform about this.
2417 Fixes: NB#92297 (Preview content is not clearly visible for
2418 default colour text)
2420 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2422 Reviewed the geometry that handles the children size and
2423 scrollbar, now it tries a size and reviews the results depending
2424 on the scrollbars visibility.
2426 * src/hildon-pannable-area.c,
2427 (hildon_pannable_area_realize): Fixed a typo.
2428 (hildon_pannable_area_child_allocate_calculate): Added this
2429 function to calculate the child allocation.
2430 (hildon_pannable_area_size_allocate): Reviewed the allocation
2432 (hildon_pannable_area_check_scrollbars),
2433 (hildon_pannable_area_refresh): Refactored refresh function, this
2434 way we can call the code handling the scrollbars without causing a
2435 size_request, it is interesting in the allocate.
2436 (hildon_pannable_area_init): Replace the callbacks of the
2437 value_changed and changed signals to propertly deal with the
2439 (hildon_pannable_area_grab_notify),
2440 (hildon_pannable_area_initial_effect),
2441 (hildon_pannable_area_launch_fade_timeout),
2442 (hildon_pannable_area_adjust_changed),
2443 (hildon_pannable_area_adjust_value_changed),
2444 (hildon_pannable_area_redraw),
2445 (hildon_pannable_area_button_press_cb),
2446 (hildon_pannable_area_button_release_cb),
2447 (hildon_pannable_area_scroll_cb),
2448 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
2449 code and use the new functions adjust_changed and
2450 adjust_value_changed.
2452 Fixes: NB#101603 (Focus is not even for the text entry boxes in
2453 Contact editor dialog)
2455 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
2460 * configure.ac: Bump version.
2461 * debian/changelog: Updates.
2463 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2465 * src/hildon-pannable-area.c,
2466 (hildon_pannable_area_get_topmost),
2467 (hildon_pannable_area_button_press_cb),
2468 (hildon_pannable_area_button_release_cb),
2469 (hildon_pannable_get_child_widget_at): Reverted the patch for the
2470 topmost function adding the event mask. We have to try a
2471 differente approach because it is still causing problems (NB#9745,
2474 2009-02-19 Alberto Garcia <agarcia@igalia.com>
2476 * src/hildon-banner.c:
2477 Update the maximum width of timed banners.
2478 (force_to_wrap_truncated): Enforce the maximum text width if the
2481 Fixes: NB#102413 (The text margins (wrapping) in information
2482 banner should be HILDON_MARGIN_TRIPLE)
2484 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2486 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
2488 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
2489 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
2490 bound when calculating the scroll indicator position.
2492 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
2493 treat ->lower correctly)
2495 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2497 * src/hildon-caption.c (hildon_caption_class_init): Remove the
2498 expose event handling, since it is not necessary to draw the focus
2501 Fixes: NB#102467 (Do not show highlight on the text in
2504 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2506 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
2507 full height of the toolbar for the button and the label.
2509 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2511 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
2512 padding before the label and after the button.
2514 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2516 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
2518 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2519 Add a GtkVSeparator between the button and the back arrow.
2520 Let the button have automatic size.
2521 Set a name to the widget for theming handling.
2523 Fixes: NB#101793 (Make edit toolbar the same height as window
2524 title bar (use title area theming))
2526 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2528 * src/hildon-helper.c (attach_new_color_element): Fix memory
2531 Fixes: NB#102262 (memory leak in hildon_button_set_style())
2533 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2535 * examples/hildon-button-example.c (common_buttons_window): Don't
2538 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2540 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2541 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
2543 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2545 * src/hildon-gtk.c: Check that the window is realized.
2547 Fixes: NB#102225 (Crash setting the progress indicator to a non
2550 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2552 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
2553 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
2554 instead of modifying the one in the widget style.
2556 Fixes: NB#101043 (Second row of all the command button are
2557 displayed in transparent mode.)
2559 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2561 * src/hildon-date-button.c
2562 * src/hildon-time-button.c: Add gettext macros
2564 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
2566 * src/hildon-date-button.c (hildon_date_button_new):
2567 * src/hildon-time-button.c (hildon_time_button_new_step):
2568 Use new logical strings to set the button default title.
2570 Fixes: NB#99915 (Date and Time options are not localised in Date
2573 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2575 * src/hildon-pannable-area.c
2576 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
2577 the PANNING_THRESHOLD.
2579 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2581 * src/hildon-pannable-area.c,
2582 (hildon_pannable_area_class_init): Increased the maximum speed.
2583 (hildon_pannable_area_get_property),
2584 (hildon_pannable_area_set_property),
2585 (hildon_pannable_area_timeout): Added a new low friction mode, it
2586 allows the user avoid friction when launching the widget fast
2587 enough. It is interesting to traverse long lists.
2589 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2591 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
2592 (+hildon_stackable_window_delete_event): Ignore delete events if
2593 the window is not the topmost one.
2595 Fixes: NB#101698 (Back button long press and delete-event handling)
2597 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2599 * src/hildon-pannable-area.c,
2600 (hildon_pannable_area_motion_notify_cb): Removed the use of the
2601 gtk-dnd-drag-threshold, it was too big. We have defined our own
2602 dnd define and set a smaller value: PANNIG_THRESHOLD.
2604 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2606 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
2607 user-defined icons, use always the default one.
2609 Fixes: NB#101916 (Do not allow custom icons on animation banner)
2611 2009-02-13 Alejandro G. Castro <alex@igalia.com>
2613 This patch was applied before but reverted because it caused
2614 problems, we have changed the main condition and tested the
2615 regressions we detected before and they work ok.
2617 * src/hildon-pannable-area.c,
2618 (hildon_pannable_area_get_topmost): Added a new parameter to
2619 filter the the windows that do not include those events. Added
2620 also a condition when finding the window to filter windows that do
2621 not ask for those events.
2622 (hildon_pannable_area_button_press_cb),
2623 (hildon_pannable_area_button_release_cb),
2624 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2625 topmost function, we have added the new parameter.
2627 Fixes: NB#97458 (Pannable area prevents propagation of button
2630 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2632 * tests/check-hildon-color-button.c (START_TEST): do not leak
2635 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2637 * src/hildon-font-selection-dialog.c
2638 (hildon_font_selection_dialog_get_preview_text): Return NULL
2639 instead of FALSE on the g_return_val_if_fail().
2641 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2643 * src/hildon-time-selector.c (hildon_time_selector_set_time):
2644 * src/hildon-date-selector.c
2645 (hildon_date_selector_select_current_date):
2646 Do not compare unsigned integers to be greater than or equal 0,
2647 because it's always TRUE.
2649 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2651 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
2652 (hildon_date_selector_constructor): Do not select the current
2653 date until we are handle the "changed" signal, to avoid having bogus
2654 elements in the days model.
2656 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2658 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
2659 for num_days, since _month_days() can return a negative value.
2661 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2663 * src/hildon-caption.c (hildon_caption_size_allocate):
2664 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
2665 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
2667 Initialize allocation variables to 0, to avoid eventually using
2668 unitialized variables.
2670 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2672 * src/hildon-bread-crumb-trail.c
2673 (hildon_bread_crumb_trail_size_allocate):
2674 * src/hildon-calendar.c (hildon_calendar_set_background):
2675 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
2676 * src/hildon-range-editor.c (hildon_range_editor_get_range):
2677 * src/hildon-seekbar.c (hildon_seekbar_init):
2678 * src/hildon-time-editor.c (hildon_time_editor_get_time):
2679 * src/hildon-time-selector.c (hildon_time_selector_finalize):
2680 * src/hildon-touch-selector-entry.c
2681 (hildon_touch_selector_get_text_from_model):
2682 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
2683 * src/hildon-window.c (hildon_window_finalize):
2685 Remove many unused variables.
2687 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2689 * src/hildon-seekbar.c: (hildon_seekbar_init),
2690 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
2692 Remove unnecessary g_assert() calls.
2694 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2696 * src/hildon-caption.c: (hildon_caption_expose),
2697 (hildon_caption_set_property), (hildon_caption_init),
2698 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
2699 (hildon_caption_size_request), (hildon_caption_size_allocate),
2700 (hildon_caption_forall), (hildon_caption_set_separator),
2701 (hildon_caption_activate), (hildon_caption_set_child_expand),
2702 (hildon_caption_set_label_text),
2703 (hildon_caption_get_label_alignment):
2705 Remove unnecessary g_assert() calls.
2707 2009-02-12 Alberto Garcia <agarcia@igalia.com>
2709 * src/hildon-banner.c
2710 (hildon_banner_map, hildon_banner_init): Make banner temporary
2711 before mapping it to avoid closing other temporary windows, but
2712 make it non-temporary afterwards to avoid being closed by other
2713 non-temporary windows.
2714 (-hildon_banner_client_event, hildon_banner_init):
2715 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
2717 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
2720 2009-02-11 Alberto Garcia <agarcia@igalia.com>
2722 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
2725 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2727 * src/hildon-remote-texture.c
2728 * src/hildon-remote-texture.h
2729 * src/hildon-remote-texture-private.h
2730 * examples/hildon-remote-texture-example.c:
2731 Updates/fixes to remote-texture and its example.
2733 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
2735 Patch by Mox Soini (ext-mox.soini@nokia.com)
2737 * src/hildon-code-dialog.c: Update logical id.
2738 * src/hildon-set-password-dialog.c: Update logical id.
2740 Fixes: NB#100646 (Logical strings is shown for ok in set
2741 password,Password needed dialogs)
2743 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2746 * src/hildon-remote-texture.c
2747 * src/hildon-remote-texture.h
2748 * src/hildon-remote-texture-private.h
2750 Added remote texture widget (for Clutter shared memory textures)
2752 * examples/hildon-remote-texture-example.c
2753 * examples/Makefile.am
2754 Added example file for remote texture usage
2756 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
2758 * configure.ac: post release version bump.
2759 * debian/changelog: version bump.
2761 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
2766 * configure.ac: Bump version.
2767 * debian/changelog: Updates.
2769 2009-02-06 Alberto Garcia <agarcia@igalia.com>
2771 * src/hildon-date-selector.c (hildon_date_selector_init)
2772 (hildon_date_selector_constructor): Don't connect to the "changed"
2773 signal until the selector is completely constructed.
2775 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2777 * src/hildon-touch-selector.c: (_create_new_column),
2778 (hildon_touch_selector_append_column),
2779 (hildon_touch_selector_set_column_selection_mode),
2780 (hildon_touch_selector_set_active),
2781 (hildon_touch_selector_select_iter):
2782 Emit the HildonTouchSelector::changed signal every time selection
2783 is changed in any of the methods above. This behavior was already
2784 documented but not fully functional.
2786 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
2787 selection is programmatically changed)
2789 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2791 * doc/hildon-sections.txt: Remove obsolete icon
2792 sizes from here as well.
2794 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2796 * examples/hildon-stackable-window-example.c (add_window): Remove
2799 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2801 * src/hildon-app-menu.c
2802 (hildon_app_menu_show): Check whether the parent window of a menu
2803 is topmost before popping it up.
2805 Fixes: NB#100468 (Application menu window is launched even when a
2806 new secondary-window/dialog is pending to be shown/realized.)
2808 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2810 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
2813 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2815 Patch by Mox Soini (ext-mox.soini@nokia.com)
2817 * src/hildon-banner.c: (hildon_banner_show_animation):
2818 use stylus size instead of obsolete note size.
2819 * src/hildon-defines.h: Update icon sizes.
2821 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2823 * src/hildon-touch-selector-entry.c:
2824 (hildon_touch_selector_entry_init): Disable unsupported
2826 (hildon_touch_selector_entry_get_text_column): Emit a warning
2827 if an unsupported input modes is used and explicitile state
2828 these modes in the documentation.
2830 Fixes: NB#99802 (Hildon touch selector entry not working properly
2831 for some of the input modes)
2833 2009-02-05 Alejandro G. Castro <alex@igalia.com>
2835 * src/hildon-pannable-area.c,
2836 (hildon_pannable_area_init): Added the changed signal handlers of
2839 Fixes: NB#100320 (HildonPannableArea does not listen to
2840 GtkAdjustment "change" signals)
2842 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2844 * doc/hildon-sections.txt
2845 * src/hildon-window-private.h
2846 * src/hildon-window.h
2847 * src/hildon-window.c (hildon_window_init)
2848 (hildon_window_realize, hildon_window_unrealize)
2849 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
2850 (hildon_window_size_request, hildon_window_size_allocate)
2851 (hildon_window_forall, hildon_window_show_all)
2852 (hildon_window_destroy, +paint_edit_toolbar)
2853 (+hildon_window_set_edit_toolbar):
2854 New hildon_window_set_edit_toolbar() method, to add a
2855 HildonEditToolbar to a window without having to pack it manually.
2857 Reorganize hildon_window_size_allocate()
2859 * src/hildon-edit-toolbar.c: Update documentation.
2861 * examples/hildon-edit-toolbar-example.c (edit_window): Update
2862 example to use the new API.
2864 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
2866 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2868 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
2869 Remove from stack before calling parent's hide.
2871 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2873 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
2874 window is removed from the middle of the stack, update the
2875 transiency of the previous one.
2877 Fixes: NB#100487 (HildonStackableWindow transiency becomes
2880 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2882 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
2883 block/unblock the signal handler if it's not actually being used.
2884 Fixes some critical warnings.
2886 2009-02-02 Alberto Garcia <agarcia@igalia.com>
2888 Based on a patch by Iván Gómez (igomez@igalia.com)
2890 * src/hildon-banner.c
2894 * src/hildon-pannable-area.c
2895 * src/hildon-picker-dialog.c
2896 * src/hildon-wizard-dialog.h
2897 * src/hildon-wizard-dialog.c: Documentation updates.
2899 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
2900 gtk_dialog_add_button() instead of hildon_dialog_add_button().
2902 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2904 * configure.ac: post release version bump.
2905 * debian/changelog: version bump.
2907 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2912 * configure.ac: Bump version.
2913 * debian/changelog: Updates.
2915 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2917 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
2918 a stock icon nor change the relief of the back arrow.
2920 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2921 graphics from theme)
2923 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2925 * src/hildon-button.c (hildon_button_set_alignment): Use
2926 priv->alignment if the button has no child yet.
2928 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
2930 * src/hildon-button.c: (hildon_button_init): Set the
2931 button style during initialization to give it the proper
2934 Fixes: NB#99713 (HildonButton value label color is wrong)
2936 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2938 * src/hildon-touch-selector.c: Document
2939 hildon_touch_selector_center_on_selected()
2941 2009-01-28 Alberto Garcia <agarcia@igalia.com>
2943 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
2944 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
2945 all menu items, but not the menu itself.
2946 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
2947 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
2948 items after adding them to the menu so keyboard accelerators work.
2949 (hildon_app_menu_show): Don't show the menu if it contains items
2950 but none of them are visible.
2952 * examples/hildon-app-menu-example.c (create_menu): Use
2953 gtk_widget_show_all() to show all menu items.
2955 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2957 * src/hildon-picker-dialog.c:
2958 (-_update_title_on_selector_changed_cb),
2959 (-_dialog_update_title): Removed.
2960 (_select_on_selector_changed_cb), (_on_dialog_response),
2961 (on_selector_columns_changed): Do not update the dialog title.
2962 (setup_interaction_mode): Do not connect to
2963 HildonTouchSelector::changed signal if there's a "done" button, as
2964 the dialog title doesn't need to be updated.
2966 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
2969 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
2971 Patch by Kristian Rietveld (kris@imendio.com)
2973 * src/hildon-touch-selector.c: (_create_new_column): Use new
2974 GtkTreeView::hildon-row-tapped signal to react to user interactions
2975 instead of ::changed.
2977 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
2978 with some dynamic tree model)
2980 2009-01-27 Alberto Garcia <agarcia@igalia.com>
2982 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
2983 (+screen_size_changed, +label_size_request)
2984 (hildon_note_class_init): Make the Hildon information note have a
2985 minimum height, and make its text hvae a maximum width.
2987 Fixes: NB#98614 (Hildon information note (background) should have
2988 minimum height and maximum text width)
2990 2009-01-26 Alberto Garcia <agarcia@igalia.com>
2992 * src/hildon-banner.h
2993 * src/hildon-banner.c (hildon_banner_show_information)
2994 (hildon_banner_show_informationf)
2995 (hildon_banner_show_information_with_markup): Update documentation
2996 to reflect that the icon_name parameter is not used anymore.
2997 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
2998 Remove all code from these functions and mark them as deprecated.
2999 (hildon_banner_show_progress): Mark as deprecated.
3001 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3003 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3005 * src/hildon-pannable-area.c,
3006 (hildon_pannable_area_class_init),
3007 (tranparency_color),
3008 (hildon_pannable_draw_vscroll),
3009 (hildon_pannable_draw_hscroll),
3010 (hildon_pannable_area_expose_event): Added a new way to render the
3011 scrollbars of the pannable area avoiding using cairo at all. This
3012 way we improve the performance of the pannable area rendering. The
3013 cairo rendering procedure is still in the code, we can control
3014 which one to use changing the value of the define
3015 USE_CAIRO_SCROLLBARS.
3017 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3019 * configure.ac: post release version bump.
3020 * debian/changelog: version bump.
3022 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3027 * configure.ac: Bump version.
3028 * debian/changelog: Updates.
3030 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3032 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3033 banners instead of destroying them when they receive a button
3036 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3038 Reverted commit 34028, it was causing regressions, probably the
3039 topmost condition is not correct, we have to check it in more
3040 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3041 propagation of button press events)
3043 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3045 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3046 that the selection is not empty before attempting to retrieve the
3047 current ampm selection.
3049 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3051 * src/hildon-picker-button.c:
3052 (hildon_picker_button_on_dialog_response): Directly update the
3053 button contents when required instead of calling _selection_changed.
3055 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3057 * src/hildon-program.c (hildon_program_update_top_most): Update
3058 'is-topmost' property also when wm_hints is not set.
3060 Fixes: NB#98383 (is-topmost signal is not emitted when task
3061 switcher is clicked.)
3063 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3065 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3069 * src/hildon-animation-actor.c,
3070 * src/hildon-animation-actor.h: Added the animation actor class,
3071 this widget represents an animation actor for WM-assisted
3072 animation effects in the Hildon framework.
3074 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3076 * src/hildon-window-stack-private.h
3077 * src/hildon-window-stack.c
3078 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3079 Avoid calling gtk_widget_show() again indirectly from
3080 hildon_stackable_window_show()
3082 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3084 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3087 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3089 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3090 (hildon_time_selector_init): Move the construction of the hours and
3091 ampm columns to the constructor to preserve the order the columns
3094 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3096 * src/hildon-picker-dialog.c:
3097 (hildon_picker_dialog_class_init): Connect a realize method.
3098 (+hildon_picker_dialog_realize): Setup the interaction mode here
3100 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3101 yet, do it during the realize instead.
3102 (_on_dialog_response):
3103 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3104 if the widget is not realized, to avoid the dialog response before it
3107 Avoid premature responses in the HildonPickerDialog that can cause it
3108 to be hidden before it's even shown.
3110 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3112 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3113 (on_selector_columns_changed), (requires_done_button),
3114 (+prepare_action_area), (setup_interaction_mode),
3115 (_hildon_picker_dialog_set_selector):
3117 Split the interaction mode setup into preparation of the
3118 action area (prepare_action_area()) and the connection of
3119 the signals in setup_interaction_mode() and update the code to
3122 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3124 * src/hildon-pannable-area.c,
3125 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3126 per second to 15, we will check if this is ok regarding
3129 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3131 * src/hildon-pannable-area.c,
3132 (hildon_pannable_axis_scroll): Avoid resize if we already have
3133 reached overshoot_max.
3135 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3137 * src/hildon-pannable-area.c,
3138 (hildon_pannable_area_init),
3139 (hildon_pannable_area_realize),
3140 (hildon_pannable_area_size_allocate),
3141 (hildon_pannable_area_map),
3142 (hildon_pannable_area_unmap),
3143 (hildon_pannable_draw_vscroll),
3144 (hildon_pannable_draw_hscroll),
3145 (hildon_pannable_area_expose_event),
3146 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3147 pannable are to avoid the expose events go to the window and
3148 redraw the window. We save this way that part of the stack and the
3149 paint_boxes. We had to change the positions of the elements when
3152 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3154 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3155 * src/hildon-color-chooser-dialog.c:
3156 (hildon_color_chooser_dialog_init):
3157 * src/hildon-font-selection-dialog.c:
3158 (hildon_font_selection_dialog_init),
3159 (hildon_font_selection_dialog_show_preview):
3160 * src/hildon-get-password-dialog.c:
3161 * src/hildon-login-dialog.c:
3162 * src/hildon-set-password-dialog.c:
3163 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3164 * src/hildon-time-picker.c: (hildon_time_picker_init):
3166 Remove obsolete logical string IDs and update to the appropriate ones.
3168 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3170 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3172 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3173 that happens if the window hasn't been realized yet.
3175 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3176 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3178 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3180 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3181 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3184 Fixes: NB#98537 (Device hangs in account settings dialog)
3186 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3188 * configure.ac: post release version bump.
3189 * debian/changelog: version bump
3191 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3196 * configure.ac: Bump version.
3197 * debian/changelog: Updates.
3199 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3201 Added a new function to the HildonTimeButton widget that allows to
3202 change the step of the minutes in the selector associated with the
3203 button: hildon_time_button_new_step
3205 * src/hildon-time-button.c,
3206 (hildon_time_button_init),
3207 (hildon_time_button_new),
3208 (hildon_time_button_new_step):
3209 * src/hildon-time-button.h: Added the new function and refactored
3211 * examples/hildon-time-button-example.c,
3212 (main): We have replaced the function without parameters with the
3213 function with the steps set to 5
3215 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3217 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3219 * src/hildon-time-selector.c,
3220 (hildon_time_selector_class_init),
3221 (hildon_time_selector_constructor),
3222 (hildon_time_selector_get_property),
3223 (hildon_time_selector_set_property),
3224 (_create_minutes_model),
3225 (hildon_time_selector_new_step),
3226 (hildon_time_selector_set_time),
3227 * src/hildon-time-selector.h: Added a new property to the
3228 HildonTimeSelector (minutes-step), we use that property to control
3229 the steps between the minutes in the list of the selector. We have
3230 added a new function to the API to create a widget changing the
3231 step: hildon_time_selector_new_step.
3233 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3235 * src/hildon-time-selector.c,
3236 (hildon_time_selector_class_init),
3237 (hildon_time_selector_constructor),
3238 (hildon_time_selector_init): Overrided the construct function when
3239 creating the time selector object. We have moved the minutes model
3240 handling code from the init to the new construction function:
3241 hildon_time_selector_constructor.
3243 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3245 * examples/hildon-date-button-example.c: (main): Use the new
3246 hildon_date_button_new_with_year_range() method in the example.
3247 * src/hildon-date-button.c:
3248 (+hildon_date_button_new_with_year_range): New public method
3249 to conveniently create a HildonDateButton with a custom year range
3250 in its HildonDateSelector.
3251 * src/hildon-date-button.h: Add the new public method definition.
3253 Fixes: NB#97908 (Not possible to change the year range in
3254 HildonDateSelector/HildonDateButton)
3256 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3258 * src/hildon-date-selector.c:
3259 (+hildon_date_selector_set_property),
3260 (+hildon_date_selector_get_property),
3261 (hildon_date_selector_class_init): Install new properties "min-year"
3262 and "max-year" to define boundaries for the year column.
3263 (_create_year_model): Use the boundary properties to populate the model.
3264 (+hildon_date_selector_new_with_year_range): New public method to
3265 create a HildonDateSelector with a user defined year range.
3266 (hildon_date_selector_select_current_date): Use the new boundaries to
3267 calculate the iterator of current year.
3268 * src/hildon-date-selector.h: Add the new public method definition.
3270 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3272 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3273 Install a constructor method.
3274 (+hildon_date_selector_construct_ui): construct the widget.
3275 (+hildon_date_selector_constructor): new constructor.
3276 (+hildon_date_selector_init): move out widget construction code to
3277 the new constructor.
3279 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3281 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3282 that there's actually a month or year selected before obtaining them.
3283 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3284 of the HildonTouchSelector::changed signal, as it was emitted on every
3285 single item selection.
3287 Fix some warnings and possible crashers due to the selection restoring.
3289 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3291 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3292 the signal handlers only after creating the dialog instead of on every
3295 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3297 * src/hildon-button.c (hildon_button_init)
3298 * src/hildon-check-button.c (hildon_check_button_init)
3299 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3300 focus when clicked by default.
3302 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3304 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3307 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3309 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3310 Alejandro G. Castro (alex@igalia.com)
3312 * src/hildon-picker-dialog.c:
3313 (hildon_picker_dialog_class_init): install new "center-on-show"
3315 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3316 (hildon_picker_dialog_set_property): add setter code for the new
3318 (hildon_picker_dialog_get_property): add getter code for the new
3320 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3321 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3324 Fixes: NB#92849 (Selected item is not always visible when
3325 HildonTouchSelector is shown)
3327 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3329 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3330 Alejandro G. Castro (alex@igalia.com)
3332 * src/hildon-touch-selector.c:
3333 (_create_new_column): Do not connect to the "realize" signal of the
3335 (hildon_touch_selector_append_column): center on the selected items
3336 when a new column is appended.
3337 (hildon_touch_selector_select_iter): Factor out the code to select a
3338 column to hildon_touch_selector_scroll_to().
3339 (+search_nearest_element): Method to retrieve the nearest selected
3340 element to the visible area of the pannable area in a column.
3341 (+on_realize_cb): scroll to the initially selected item.
3342 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3343 the pannable area is realized, otherwise delay this until it is.
3344 (+_hildon_touch_selector_center_on_selected_items): Centers on the
3345 selected items of a given column.
3346 (+hildon_touch_selector_center_on_selected): Public method to center
3347 all columns on the nearest selected item.
3348 * src/hildon-touch-selector.h: Add definition for
3349 hildon_touch_selector_center_on_selected().
3351 Implement public API to ensure visibility of all selected items in
3352 a HildonTouchSelector.
3354 2009-01-16 Alejandro G. Castro <alex@igalia.com>
3356 Fixed a problem in the fading when calling the scroll_to API, and
3357 improve scrollbar fading handling.
3359 * src/hildon-pannable-area.c,
3360 (hildon_pannable_area_grab_notify): avoid the timeout when the
3362 (hildon_pannable_area_button_press_cb),
3363 (hildon_pannable_area_motion_notify_cb): Code style changes.
3364 (hildon_pannable_area_button_release_cb): Review the conditions
3365 when releasing the mouse button to avoid unrequired fading
3367 (hildon_pannable_area_scroll_to): Do not calculate and set the
3368 velocity if the scroll is not required.
3370 2009-01-15 Alberto Garcia <agarcia@igalia.com>
3372 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3373 Don't check whether the new selector is NULL: it cannot be.
3374 Hold a reference to the selector while doing the replacement.
3376 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3378 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3379 unnecessary size_request in a removed widget.
3381 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3383 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3384 an unnecessary reference tracking that was leaking.
3386 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3388 Added delayed motion notify event handling, this way we can
3389 discard redrawing if more than 25 events arrive per second.
3391 * src/hildon-pannable-area.c,
3392 (hildon_pannable_area_init): Initialized the new private atributes
3393 controlling this timeout
3394 (hildon_pannable_area_dispose): Remove the timeout that controls
3395 the motion notify events.
3396 (hildon_pannable_area_scroll): Added a condition to control the
3397 use of the acceleration.
3398 (hildon_pannable_area_motion_event_scroll_timeout),
3399 (hildon_pannable_area_motion_event_scroll): Added this two
3400 functions, they handle the motion notify events inside the
3402 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
3403 to the scroll method with the new function.
3404 (hildon_pannable_area_button_release_cb): We have to remove the
3405 timeout handler and move to the last position if the last motion
3406 events were not handled.
3408 Fixes: NB#97028 (Pannable area updates on every motion event)
3410 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3412 * src/hildon-pannable-area.c,
3413 (hildon_pannable_area_get_topmost): Added a new parameter to
3414 filter the the windows that do not include those events. Added
3415 also a condition when finding the window to filter windows that do
3416 not ask for those events.
3417 (hildon_pannable_area_button_press_cb),
3418 (hildon_pannable_area_button_release_cb),
3419 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3420 topmost function, we have added the new parameter.
3422 Fixes: NB#97458 (Pannable area prevents propagation of button
3425 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3427 * src/hildon-pannable-area.c,
3428 (hildon_pannable_area_initial_effect): Added controls before
3429 launching the timeout and the idle functions.
3430 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
3431 of the method, in some situations it can return with TRUE and 0 in
3433 (hildon_pannable_area_button_press_cb): We do not need to set
3434 DELAY for fading out here.
3436 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
3438 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3440 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
3441 post-cleaning if the selection is not NULL.
3443 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3445 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
3446 all items before restoring the selection.
3448 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3450 * src/hildon-touch-selector.c:
3451 (+hildon_touch_selector_unselect_all):
3452 * src/hildon-touch-selector.h: New API to unselect all items in a
3453 column of the touch selector.
3455 2009-01-14 Alejandro G. Castro <alex@igalia.com>
3457 * src/hildon-pannable-area.c,
3458 (hildon_pannable_area_redraw): Added a call to the refresh
3459 function inside the redraw because apparently in some cases the
3460 change in the adjustment does not imply a size allocate.
3462 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
3463 despite the view not being scrollable)
3465 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3467 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
3468 leak. Check for NULL before attempting to set the window title.
3470 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3472 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
3473 whether to show or not the 'Done' button each time the dialog is
3474 shown, as it depends on the HildonTouchSelector selection mode.
3476 Fixes: NB#96226 (In multiple selection mode Done button is shown
3477 sometimes in listpicker)
3479 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3481 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3482 for the number of columns in the HildonTouchSelector more than once.
3484 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3486 * src/hildon-touch-selector.c: Minor documentation fixes.
3488 * src/hildon-picker-dialog.c (+_dialog_update_title)
3489 (_select_on_selector_changed_cb)
3490 (_update_title_on_selector_changed_cb)
3491 (on_selector_columns_changed): Update dialog title when there's no
3492 'Done' button and also when the number of columns in the selector
3496 * src/hildon-picker-button.c (hildon_picker_button_finalize)
3497 (+_selection_changed, hildon_picker_button_on_dialog_response)
3498 (hildon_picker_button_selector_selection_changed)
3499 (+hildon_picker_button_selector_columns_changed)
3500 (hildon_picker_button_set_selector): Update button value and emit
3501 'value-changed' when the number of columns in the selector
3505 Fixes: NB#96225 (Dialog titles are not shown according to the
3506 values selected in the list picker)
3508 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3510 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
3511 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
3512 New "arrow-width" and "arrow-height" style properties to set the
3513 size of the arrow button.
3514 Set name of arrow button ("hildon-edit-toolbar-arrow").
3516 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3517 graphics from theme)
3519 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3521 * src/hildon-picker-button.c:
3522 (hildon_picker_button_selector_selection_changed): Use
3523 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
3524 the dialog is present.
3526 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
3527 the selection is accepted in the dialog)
3529 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3531 * src/hildon-color-chooser.h
3532 * src/hildon-color-chooser-dialog.h:
3533 Added G_BEGIN_DECLS and G_END_DECLS
3535 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3537 (_clean_current_selection): plug a leak in the list.
3539 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3541 * src/hildon-picker-dialog.c:
3542 (+free_path_list): Method to free a GList of GtkTreePaths.
3543 (_clean_current_selection), (_save_current_selection),
3544 (_restore_current_selection): Save the current selection in
3545 as a list of lists, to support multiple selection properly.
3547 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3549 patch by Claudio Saavedra (csaavedra@igalia.com)
3551 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
3552 Store the press position.
3553 (+hildon_text_view_button_release_event): If the release position is
3554 close enough to the press position, move the cursor here. Otherwise,
3556 (hildon_text_view_class_init): Override GtkTextView press, release, and
3557 motion event handlers, disabling this way text selection through
3558 pointer interaction, and allowing the container widget to handle the
3561 Fixes: NB#95828 (HildonTextView functionality)
3563 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3565 Based on a patch by Iván Gómez (igomez@igalia.com)
3567 * src/hildon-button.[ch]
3568 * src/hildon-calendar.c
3569 * src/hildon-check-button.c
3570 * src/hildon-date-editor.c
3571 * src/hildon-date-selector.c
3572 * src/hildon-picker-button.c
3573 * src/hildon-time-editor.c
3574 * src/hildon-time-selector.c
3575 * src/hildon-touch-selector.[ch]:
3576 Documentation updates
3578 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3580 * src/hildon-pannable-area.c,
3581 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
3582 threshold, it was required due to X events handling.
3584 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3586 * src/hildon-pannable-area.c,
3587 (hildon_pannable_area_grab_notify),
3588 (hildon_pannable_area_initial_effect),
3589 (hildon_pannable_area_button_press_cb),
3590 (hildon_pannable_area_button_release_cb),
3591 (hildon_pannable_area_scroll_cb),
3592 (hildon_pannable_area_scroll_to): Review the timeout management of
3593 the scrollbar, the frecuency was incorrectly set.
3595 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
3597 * src/hildon-picker-button.c:
3598 (+hildon_picker_button_on_dialog_response),
3599 (hildon_picker_button_clicked): Present the dialog instead of
3600 running it with gtk_dialog_run().
3602 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
3605 2009-01-07 Alberto Garcia <agarcia@igalia.com>
3607 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3608 (hildon_app_menu_finalize): When a window is hidden it doesn't
3609 emit notify::is-topmost, so make sure than the menu also
3610 disappears in that case.
3611 (parent_window_topmost_notify): Renamed from parent_window_hidden
3613 Fixes: NB#94460 (stackable window's menu is not closed when its
3616 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3618 * src/hildon-touch-selector-entry.c:
3619 (+hildon_touch_selector_entry_set_input_mode),
3620 (+hildon_touch_selector_entry_get_input_mode):
3621 * src/hildon-touch-selector-entry.h: New methods to access the input
3622 mode in the selector's entry.
3624 Fixes: NB#93410 (API required for setting IM mode in
3625 HildonTouchSelectorEntry)
3627 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3629 * configure.ac: post release version bump.
3630 * debian/changelog: version bump
3632 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3637 * configure.ac: Bump version.
3638 * debian/changelog: Updates.
3640 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
3642 * src/hildon-touch-selector.c:
3643 (_hildon_touch_selector_has_multiple_selection): No need
3644 to initialize the variables here.
3646 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3648 * src/hildon-note-private.h
3649 * src/hildon-note.c (event_box_press_event, hildon_note_init)
3650 (hildon_note_finalize, hildon_note_rebuild): Close information
3651 notes when they receive a button press.
3653 Fixes: NB#89890 (Information notes does not get disappeared after
3656 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
3658 * src/hildon-wizard-dialog.c: (create_title): Remove translation
3659 mark from the wizard title, as it's not really necessary. Also,
3660 do not display the page title if not set.
3662 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3664 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3665 (parent_window_hidden): Use the window's "is-topmost" property to
3666 detect when to hide the menu.
3668 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3670 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3671 (hildon_app_menu_finalize): If the parent window of the menu is
3672 hidden, hide the menu too.
3674 Fixes: NB#94460 (stackable window's menu is not closed when its
3677 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3680 * debian/libhildon1-examples.install
3682 * examples/Makefile.am:
3683 Use dh_install to install all examples.
3684 Use DEB_SRCDIR instead of defining SOURCE_DIR
3686 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3688 * configure.ac: post release version bump.
3689 * debian/changelog: version bump
3691 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3696 * configure.ac: bump version
3697 * debian/changelog: updates
3698 * debian/control: bump gtk+ dependency
3700 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3702 patch by Christian Dywan (christian@imendio.com)
3704 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
3705 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
3707 2008-12-15 Alberto Garcia <agarcia@igalia.com>
3709 * src/hildon-check-button.c (hildon_check_button_init)
3710 (hildon_check_button_class_init, hildon_check_button_style_set)
3711 (hildon_check_button_apply_style):
3712 New "checkbox-size" style property.
3714 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
3715 larger / configurable size)
3717 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3719 * configure.ac: post release version bump.
3720 * debian/changelog: version bump
3722 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3727 * configure.ac: bump version
3728 * debian/changelog: updates
3730 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3732 * doc/hildon-sections.txt
3733 * src/hildon-pannable-area.c
3734 * src/hildon-program.c
3735 * src/hildon-time-editor.c
3736 * src/hildon-touch-selector-entry.c:
3738 More documentation updates.
3740 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3742 * doc/hildon-sections.txt
3743 * src/hildon-caption.c
3744 * src/hildon-code-dialog.c
3745 * src/hildon-color-button.c
3746 * src/hildon-controlbar.c
3747 * src/hildon-date-editor.c
3748 * src/hildon-date-selector.c
3749 * src/hildon-edit-toolbar.c
3750 * src/hildon-find-toolbar.c
3751 * src/hildon-font-selection-dialog.c
3753 * src/hildon-program.c
3754 * src/hildon-range-editor.c
3755 * src/hildon-seekbar.c
3756 * src/hildon-time-editor.c
3757 * src/hildon-time-selector.c
3758 * src/hildon-volumebar-range.c
3759 * src/hildon-volumebar.c
3760 * src/hildon-vvolumebar.c
3761 * src/hildon-weekday-picker.c
3762 * src/hildon-window.c
3763 * src/hildon-wizard-dialog.c:
3765 Lots of documentation fixes.
3767 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3769 Patch contributed by Iván Gómez (igomez@igalia.com)
3771 * src/hildon-check-button.c:
3772 * src/hildon-date-button.c:
3773 * src/hildon-date-selector.c:
3774 * src/hildon-dialog.c:
3775 * src/hildon-edit-toolbar.c:
3776 * src/hildon-entry.c:
3777 * src/hildon-picker-button.c:
3778 * src/hildon-program.c:
3779 * src/hildon-text-view.c:
3780 * src/hildon-time-button.c:
3781 * src/hildon-touch-selector-entry.c:
3782 * src/hildon-window-stack.c:
3784 Add more "since" tags to the new API.
3786 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3788 * doc/hildon-sections.txt: Add below method.
3789 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
3790 version for the hildonized scale.
3791 * src/hildon-gtk.h: Add the definition.
3793 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3795 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3797 * doc/hildon-sections.txt: Add missing entries for new methods.
3799 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3801 Added API to pannable are in order to get its adjustments. We
3802 added two properties to manage the values we had in the private
3805 * src/hildon-pannable-area.c:
3806 (hildon_pannable_area_class_init): Added hadjustment and
3807 vadjustment properties in order to expose horizontal and vertical
3809 (hildon_pannable_area_get_property),
3810 (hildon_pannable_area_set_property): Added code to handle the new
3812 (hildon_pannable_area_get_hadjustment),
3813 (hildon_pannable_area_get_vadjustment): API functions to get the
3815 * src/hildon-pannable-area.h:
3816 (hildon_pannable_area_get_hadjustment),
3817 (hildon_pannable_area_get_vadjustment): API functions to get the
3820 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3822 Fixed some leaks, after valgrinding.
3824 * src/hildon-touch-selector.c:
3825 (_default_print_func): Fixed a leak.
3826 (hildon_touch_selector_append_column): Fixed a leak.
3827 * src/hildon-date-button.c:
3828 (hildon_date_button_init): Fixed a leak.
3829 * src/hildon-date-selector.c
3830 (hildon_date_selector_finalize): Fixed a leak.
3832 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3834 Based on a patch by Christian Dywan (christian@imendio.com)
3836 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
3838 * src/hildon-gtk.h: Add definition.
3840 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3842 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3844 * src/hildon-picker-button.c: (hildon_picker_button_init),
3845 (hildon_picker_button_new): Set the HildonButton::style property
3846 in the init method, to propagate the value to the derived classes.
3848 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3850 * src/hildon-button.c: (hildon_button_class_init): Do not make
3851 the "style" property a construct property.
3853 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3855 * src/hildon-wizard-dialog.h
3856 * src/hildon-wizard-dialog.c
3857 (hildon_wizard_dialog_set_forward_page_func)
3858 * src/hildon-pannable-area.h
3859 * src/hildon-pannable-area.c
3860 (hildon_pannable_area_set_size_request_policy):
3861 Documentation fixes.
3863 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3865 * doc/hildon-sections.txt: Fixed warning about unused symbols.
3867 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3869 * doc/hildon-sections.txt: Added sections file.
3871 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3874 * src/*.[ch]: Updates.
3876 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
3878 * examples/hildon-progress-indicator-example.c: new file
3879 * examples/Makefile.am: include the new example program
3881 2008-12-10 Alberto Garcia <agarcia@igalia.com>
3883 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
3885 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3887 * configure.ac: post release version bump
3888 * debian/changelog: version bump
3890 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3895 * configure.ac: bump version
3896 * debian/changelog: updates
3897 * debian/control: bump gtk+ dependency
3899 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3901 * src/hildon-dialog.c: Mark as deprecated.
3902 * src/hildon-dialog.h: Mark as deprecated.
3903 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
3904 from HildonDialog and still work, even if
3905 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
3906 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
3908 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
3909 maemo changes) instead)
3911 2008-12-09 Alejandro G. Castro <alex@igalia.com>
3913 * src/hildon-pannable_area.h:
3914 * src/hildon-pannable_area.c:
3915 (hildon_pannable_area_class_init),
3916 (hildon_pannable_area_set_property),
3917 (hildon_pannable_area_get_property),
3918 (hildon_pannable_area_size_request),
3919 (hildon_pannable_area_get_size_request_policy),
3920 (hildon_pannable_area_set_size_request_policy): Added new API
3921 allowing applications to control the request policy. Now they can
3922 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
3923 children allocation (HILDON_MOVEMENT_CHILDREN).
3925 2008-12-09 Alberto Garcia <agarcia@igalia.com>
3929 (hildon_gtk_tree_view_set_ui_mode)
3930 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
3931 mode of treeviews and iconviews.
3933 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3935 * src/hildon-touch-selector-entry.c:
3936 (hildon_touch_selector_entry_init): Use a HildonEntry instead
3937 of a GtkEntry to get proper theming.
3939 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
3940 widget, not GtkEntry)
3942 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3944 * src/hildon-wizard-dialog.c: (response): Move forward if there is
3945 no HildonWizardDialogPageFunc.
3947 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3949 Patch contributed by Iván Gómez (igomez@igalia.com)
3951 * src/hildon-app-menu.c:
3952 * src/hildon-button.c:
3953 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
3954 * src/hildon-stackable-window.c:
3955 * src/hildon-time-selector.c:
3956 * src/hildon-touch-selector.c:
3957 * src/hildon-window.c:
3959 Add more "since" tags to the new API in hildon 2.2.
3961 2008-12-05 Tim Janik <timj@imendio.com>
3963 Patch contributed by Christian Dywan (christian@imendio.com)
3965 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
3966 HildonSizeType, which are supplied by Gtk+ now.
3968 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
3970 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
3971 (with maemo changes) instead)
3973 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3975 Patch contributed by Iván Gómez (igomez@igalia.com)
3977 * src/hildon-pannable-area.c: Add "since" tags to the new API in
3980 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3982 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
3983 (some_page_func), (main): Update the example to use a
3984 HildonWizardDialogPageFunc function.
3986 * src/hildon-wizard-dialog-private.h: Add private data for
3987 the HildonWizardDialogPageFunc function usage.
3989 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
3990 (destroy), (hildon_wizard_dialog_init), (response),
3991 (hildon_wizard_dialog_set_forward_page_func):
3992 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
3993 that applications can use to stop a HildonWizardDialog to jump to
3996 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
3999 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4001 * src/hildon-program.h
4002 * src/hildon-program-private.h
4003 * src/hildon-program.c (hildon_program_init)
4004 (hildon_program_set_common_app_menu)
4005 (hildon_program_get_common_app_menu):
4006 New API for setting a common HildonAppMenu for all
4007 HildonStackableWindows registered with the HildonProgram.
4009 * src/hildon-stackable-window.c
4010 (hildon_stackable_window_toggle_menu):
4011 Use the common HildonAppMenu if a window doesn't have a specific
4014 * src/hildon-app-menu-private.h
4015 * src/hildon-app-menu.c
4016 (hildon_app_menu_get_parent_window):
4017 Function to obtain the window a HildonAppMenu is attached to.
4018 (hildon_app_menu_set_parent_window):
4019 Hide the menu if the parent window is set to NULL.
4021 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4023 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4024 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4025 search widget to popup.
4027 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4029 * configure.ac: post release version bump
4030 * debian/changelog: version bump
4032 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4037 * configure.ac: bump version
4038 * debian/changelog: updates
4040 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4042 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4044 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4045 (hildon_window_stack_window_realized)
4046 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4047 Set the leader GdkWindow when a window is stacked and realized,
4048 unset it when it's unstacked.
4049 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4051 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4053 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4055 * src/hildon-stackable-window.h
4056 * src/hildon-window-stack.h:
4057 Protect definition of HildonWindowStack using the preprocessor.
4059 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4061 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4062 Fix warning if all menu items are hidden.
4064 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4066 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4068 * src/hildon-controlbar.c:
4069 * src/hildon-hvolumebar.c:
4070 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4071 Multiple scale size defines updates.
4073 Fixes: NB#94322 (Scale Updates)
4075 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4077 * examples/hildon-app-menu-example.c (create_menu)
4078 Show items after adding them to the menu, as in the future the
4079 menu will no longer call gtk_widget_show() on the added items.
4081 * src/hildon-app-menu.c:
4082 Update example as explained above.
4084 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4086 * src/hildon-app-menu.c
4087 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4088 Make sure that all menu items have finger height.
4090 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4092 * src/hildon-picker-dialog.c:
4093 (_on_dialog_response), (_save_current_selection),
4094 (_restore_current_selection), (_clean_current_selection),
4095 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4096 Defined new functions in order to save the current internal selector
4097 selection previous open the dialog, in case that the use cancel the
4098 interaction, so the widget restores the previous selection.
4100 Fixes: NB#92032 (In calendar application, date values in 'new event'
4103 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4105 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4107 * src/hildon-button.c: Add a reference to the button examples in
4108 hildon-button-example.c
4110 * examples/hildon-button-example.c: Added examples of the most
4111 common button layouts.
4113 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4115 * src/hildon-app-menu.c (hildon_app_menu_show)
4116 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4118 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4120 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4122 * src/hildon-picker-dialog.c:
4123 (hildon_picker_dialog_init): Initialize the signal id for
4124 HildonTouchSelector::columns-changed.
4125 (+on_selector_columns_changed): Set up the interaction mode everytime a
4126 column is added or removed from the HildonTouchSelector.
4127 (_hildon_picker_dialog_set_selector): Connect to
4128 HildonTouchSelector::columns-changed and keep track of it.
4130 Make sure to update the interaction mode of the dialog everytime a
4131 column is added or removed in the HildonTouchSelector.
4133 Fixes: NB#93228 (Done button is not shown always in listpicker)
4135 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4137 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4138 a new ::columns-changed signal.
4139 (hildon_touch_selector_append_column): Emit ::columns-changed.
4140 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4142 Add a ::columns-changed signal, emitted when the number of columns in a
4143 HildonTouchSelector changes.
4145 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4147 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4148 (_hildon_picker_dialog_set_selector): Factor out the code
4149 to set up the dialog interaction mode.
4151 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4153 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4154 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4155 to signal_changed_id.
4157 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4159 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4162 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4164 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4165 Updated the logical ids related to ampm format, as now it is required to
4166 show it correctly localized even on languages with no default
4167 abbreviations for am or pm
4168 (_check_am_pm_format): check correctly the 24h format gconf property
4170 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4172 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4174 * src/hildon-button.c: Documentation updates.
4176 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4178 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4179 * src/hildon-caption.c: (hildon_caption_class_init):
4180 * src/hildon-color-button.c: (hildon_color_button_class_init):
4181 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4182 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4183 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4184 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4186 Remove deprecated GTK+ marshalers and replace them with the ones
4187 provided by GLib, for those available, add a marshaler for
4188 BOOLEAN:VOID, which is not available in GLib, and use it.
4190 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4192 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4193 the text from the previous column if there is no
4194 HildonTouchSelectorColumn::text-property set.
4196 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4198 * src/hildon-button.h
4199 * src/hildon-button.c (hildon_button_set_property)
4200 (hildon_button_get_property, hildon_button_class_init)
4201 (hildon_button_set_style, hildon_button_get_style):
4202 New "style" property to change the visual appearance of the
4205 * src/hildon-picker-button.c (hildon_picker_button_new):
4206 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4208 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4209 HildonButton look like PickerButton)
4211 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4213 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4214 column while building the default string.
4216 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4218 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4219 scroll indicator by default.
4221 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4223 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4225 * src/hildon-main.c: Fix the documentation for hildon_init()
4227 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4229 * doc/hildon-docs.sgml
4233 * src/hildon-window-stack-private.h
4234 * src/hildon-window-stack.h
4235 * src/hildon-window-stack.c:
4236 New HildonWindowStack object, that adds support for multiple
4237 stacks of windows per process.
4239 * src/hildon-stackable-window-private.h
4240 * src/hildon-stackable-window.h
4241 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4242 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4243 (hildon_stackable_window_show, hildon_stackable_window_hide)
4244 (hildon_stackable_window_class_init)
4245 (hildon_stackable_window_init):
4246 Use HildonWindowStack for stack management.
4248 * src/hildon-program.c (hildon_program_pop_window_stack)
4249 (hildon_program_peek_window_stack)
4250 (hildon_program_go_to_root_window):
4251 Add a fallback implementation to the deprecated functions using
4254 * examples/hildon-stackable-window-example.c:
4255 Use the new HildonWindowStack API.
4257 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4259 * src/hildon-stackable-window-private.h
4260 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4261 (hildon_stackable_window_hide, hildon_stackable_window_init):
4262 Remove all window stack management.
4264 * src/hildon-program-private.h
4265 * src/hildon-program.h
4266 * src/hildon-program.c (hildon_program_init)
4267 (hildon_program_pop_window_stack)
4268 (hildon_program_peek_window_stack)
4269 (hildon_program_go_to_root_window):
4270 Remove all window stack management and mark functions as
4273 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4275 * src/hildon-app-menu.c (hildon_app_menu_realize):
4276 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4278 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4280 * configure.ac: post release version bump
4281 * debian/changelog: version bump
4283 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4288 * configure.ac: bump version
4289 * debian/changelog: updates
4291 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4293 Based on initial code by Christian Dywan (christian@imendio.com)
4295 * doc/hildon-docs.sgml: Add section for hildon-main.
4296 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4297 * src/Makefile.am: Add new hildon-main.[ch]
4298 * src/hildon-defines.h: Update the icon sizes.
4299 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4300 new library initialization files and register icon sizes.
4301 * src/hildon-main.h: New declarations.
4302 * src/hildon.h: Include hildon-main.h
4304 Add new initialization functions to the library. These methods
4305 will register the hildon specific icon sizes and can be used in the
4306 future for other hildon specific bits.
4308 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4310 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4312 * src/hildon-window.c: (hildon_window_realize),
4313 (hildon_window_notify), (-hildon_window_update_title): Do not set
4314 the application name in the window title.
4316 Fixes: NB#89754 (Applications shouldn't display their names in the
4319 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4321 * src/hildon-note-private.h:
4322 * src/hildon-note.c: (hildon_note_set_property),
4323 (hildon_note_get_property), (hildon_note_class_init),
4324 (hildon_note_init), (hildon_note_finalize),
4325 (hildon_note_new_confirmation_with_icon_name),
4326 (hildon_note_new_information_with_icon_name):
4328 No need to mark as deprecated the actual code. Revert
4329 to avoid missing symbols in widgets using deprecated API.
4331 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4333 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4335 * src/hildon-volumebar.h
4336 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4337 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4339 * src/hildon-helper.h
4340 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4341 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4343 * examples/Makefile.am:
4344 Deprecate hildon-insensitive-example
4346 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4348 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4350 * examples/hildon-pannable-area-buttons-scroll-example.c:
4351 Make all buttons finger height
4353 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
4355 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4357 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4358 update the day model only if it is really required, and to avoid the
4359 full-reconstruction aproach. Now it only add or remove the required days.
4361 The purpose of this is avoid superfluous HildonTouchSelector::changed
4364 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4365 with strange parameters)
4367 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
4369 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4371 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4372 the WINDOW_TYPE property.
4374 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4376 2008-11-19 Alberto Garcia <agarcia@igalia.com>
4379 Fix dependency to allow parallel compilation with make -jX
4381 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
4383 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
4384 color frame and some minor tweaks to make it more consistent with
4387 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4388 highlighted but not visible)
4390 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4392 * examples/Makefile.am: Fixed typo in the Makefile.am.
4394 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4396 Reviewed the use of MAEMO_GTK define, now we add the define in the
4397 compilation line, and we also add it to the pc file.
4399 * configure.ac: Added MAEMO_GTK define to the compilation command
4400 and removed it from the config.h.
4402 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
4403 do not have to take care about this define if the library was
4407 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
4409 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4411 * examples/Makefile.am,
4412 * examples/hildon-pannable-area-buttons-scroll-example.c,
4413 * examples/hildon-pannable-area-gesture-signals-example.c,
4414 * examples/hildon-pannable-area-scroll-jump-example.c,
4415 * examples/hildon-pannable-area-tree-view-example.c:
4416 Renamed the pannable area examples, now they have more meaningful
4419 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
4421 * src/hildon-touch-selector.c:
4422 (hildon_touch_selector_set_column_selection_mode): Used of
4423 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
4424 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
4425 to avoid re-seting the same selection mode.
4427 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
4428 breaks HildonPickerDialog)
4430 2008-11-13 Alejandro G. Castro <alex@igalia.com>
4432 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
4433 conditional in the Makefile.am
4435 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
4437 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
4438 Remove unused methods.
4440 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4442 * src/hildon-button.c (hildon_button_init):
4443 Make button images center-aligned by default
4445 2008-11-12 Alejandro G. Castro <alex@igalia.com>
4448 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
4449 activated, we have to think about how to deal with both defines
4450 MAEMO_GTK and MAEMO_CHANGES.
4452 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4454 * examples/hildon-app-menu-example.c (create_menu): Make all
4455 buttons finger size.
4457 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4459 Fixed the compilation without maemo gtk adding ifdefs with
4460 MAEMO_GTK define to the code, we have to check this version more
4463 * examples/Makefile.am: Added control to avoid some examples that
4464 just make sense with maemo gtk.
4467 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
4468 hildon modes with the define.
4470 * examples/hildon-edit-toolbar-example.c,
4471 (create_icon_view): Create the icon view without hildon-gtk
4472 helpers if we are not using maemo gtk.
4474 * src/hildon-touch-selector.c,
4475 (_create_new_column): Create the treeview without hildon-gtk
4476 helpers if we are not using maemo gtk.
4478 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4480 * src/hildon-pnnable-area.c,
4481 (hildon_pannable_area_dispose),
4482 (hildon_pannable_area_button_press_cb),
4483 (hildon_pannable_area_child_mapped),
4484 (hildon_pannable_area_add),
4485 (hildon_pannable_area_remove): Added code to control the position
4486 of the event_window when adding and removing children from the
4487 pannable. We have to raise the event window when the child is
4490 Fixes: NB#89811 (Not able to select first image thumbnail in multi
4491 selection mode using custom widget inside pannable)
4493 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4495 * configure.ac: post release version bump
4496 * debian/changelog: version bump
4498 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4503 * configure.ac: bump version
4504 * debian/changelog: updates
4506 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
4508 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
4509 search mode, in order to avoid lose the focus on the treeview when
4510 a hw key (like enter) is pressed.
4512 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
4513 in HildonDateSelector dialog)
4515 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
4517 * debian/rules: Added --enable-maintainer-mode
4518 * Makefile.am: Added ACLOCAL_AMFLAGS
4520 This allows to properly regenerate the Makefiles if you modify the
4521 configure.ac or any Makefile.am.
4523 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4525 * examples/hildon-app-menu-example.c: (main): Do not set RC style
4526 properties, not needed at all.
4528 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4530 * src/hildon-note-private.h: Add strings for the icon and stock_icon
4532 * src/hildon-note.c: (hildon_note_set_property),
4533 (hildon_note_get_property), (hildon_note_class_init),
4534 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
4535 (hildon_note_new_confirmation_add_buttons): Remove icons.
4536 (hildon_note_new_confirmation_with_icon_name): Deprecate.
4537 (hildon_note_new_information_with_icon_name): Deprecate.
4538 (hildon_note_new_confirmation): Act directly, without calling
4539 the deprecated constructor.
4540 (hildon_note_new_information): Act directly, without calling
4541 the deprecated constructor.
4542 * src/hildon-note.h: Mark deprecate methods as such.
4543 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
4544 not run tests on the deprecated methods if built with deprecation
4547 Fixes: NB#91688 (Never show icons in information notes/confirmation
4550 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4552 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
4553 (hildon_app_menu_key_press): Remove leftover usage of the
4554 private structure in HildonAppMenu struct.
4555 * src/hildon-app-menu.h: Remove leftover private structure
4556 from the HildonAppMenu struct.
4558 Fixes a crasher when using the HildonAppMenu.
4560 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4562 * src/hildon-picker-dialog.c: Use appropriate logical id
4563 for the default "Done" text.
4565 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4567 * configure.ac: post release version bump
4568 * debian/changelog: version bump
4570 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
4572 Modified the way to scroll to the current selection just when the touch
4573 selector is shown on the screen, avoiding a g_idle. Added too a property
4574 to configure this behaviour. See hildon_pannable_area_jump_to_child
4575 documentation for more information.
4577 * src/hildon-touch-selector.c
4578 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
4579 Added 'initial-scroll' property
4580 (hildon_touch_selector_set_property): Added
4581 (hildon_touch_selector_map): Removed as not required anymore
4582 (_hildon_touch_selector_on_selected_items): Modified in order to manage
4583 only a concrete column, instead of iterate along all the columns
4585 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4590 * configure.ac: bump version
4591 * debian/changelog: updates
4593 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4595 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
4596 compilation time warnings.
4598 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4600 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4601 the default value for HildonPannableArea::mov-mode to
4602 HILDON_PANNABLE_AREA_MODE_VERT.
4604 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
4606 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4608 Reverting following commit:
4610 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4612 * src/hildon-app-menu-private.h
4613 * src/hildon-app-menu.[ch]
4614 * src/hildon-button.[ch]
4615 * src/hildon-check-button.[ch]
4616 * src/hildon-entry.[ch]
4617 * src/hildon-pannable-area.[ch]
4618 * src/hildon-text-view.[ch]:
4619 Added private field to the object's structure.
4621 because it causes an ABI breakage. We will need to introduce these
4622 changes later at some point. See NB#91636 for an extensive
4623 explanation and status.
4625 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4627 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4629 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4630 remove special cases that are no longer necessary.
4632 Fixes: NB#91016 (Change toolbar sizes, simplification)
4634 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4636 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4637 is shown in the cancel note.
4639 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4641 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
4642 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
4643 (hildon_seekbar_init): Remove steppers, remove expose event.
4644 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
4646 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
4648 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
4650 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
4651 label font to "SmallSystemFont" for vertically arranged buttons.
4653 Fixes: NB#90662 (HildonButton "value" and "detail" text is
4656 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4658 * src/hildon-check-button.c
4659 (hildon_check_button_set_active, hildon_check_button_clicked):
4660 Don't access private parts directly, use getters instead.
4662 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4664 * src/hildon-check-button.c (hildon_check_button_new):
4665 Align the contents of the check button to the left.
4667 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4669 * src/hildon-pannable-area.c,
4670 (hildon_pannable_area_scroll_to),
4671 (hildon_pannable_area_jump_to),
4672 (hildon_pannable_area_scroll_to_child),
4673 (hildon_pannable_area_jump_to_child): Replace the mapped
4674 precondition of these functions with the realized, it is the
4675 correct state of the widget in this case. Changed the
4676 documentation according to this modification.
4678 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4680 Added a new EXTRA_CFLAGS option to add the deprecated define to
4681 the compilation command. This way we can avoid using the define in
4682 the documentation compilation.
4684 * configure.ac: Defined EXTRA_CFLAGS.
4686 * examples/Makefile.am:
4688 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
4690 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
4692 * src/hildon-picker-dialog.c:
4693 Defined a utility macro with the desired touch selector height
4694 Removed currently unused separator, and title_label variables from
4696 (hildon_picker_dialog_init): Removed code related to the creation
4697 of unused private variables title_label and separator.
4698 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
4699 to ensure correct visualization of the touch selector inside the dialog.
4700 * src/hildon-touch-selector.c
4701 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
4702 ensure a concrete height of the widget.
4704 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4707 * tests/Makefile.am:
4709 Remove spurious whitespaces.
4711 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4713 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
4714 compilation warning after the cancel button removal.
4716 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4718 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
4720 * configure.ac: Added an AM_CONDITIONAL in order to use in the
4721 Makefile.am, that way we can choose not to compile some examples
4722 and tests of the deprecated widgets.
4724 * examples/Makefile.am: Divided the sources in deprecated and
4727 * src/Makefile.am: Added undef statement of the deprecated
4728 symbol to the enums file generation process.
4730 * src/hildon-color-chooser-dialog.c
4731 * src/hildon-color-chooser-dialog.h
4732 * src/hildon-color-button.c
4733 * src/hildon-color-button.h
4734 * src/hildon-color-chooser.c
4735 * src/hildon-color-chooser.h
4736 * src/hildon-controlbar.c
4737 * src/hildon-controlbar.h
4738 * src/hildon-date-editor.c
4739 * src/hildon-date-editor.h
4740 * src/hildon-hvolumebar.c
4741 * src/hildon-hvolumebar.h
4742 * src/hildon-private.c
4743 * src/hildon-private.h
4744 * src/hildon-range-editor.c
4745 * src/hildon-range-editor.h
4746 * src/hildon-seekbar.c
4747 * src/hildon-seekbar.h
4748 * src/hildon-time-editor.c
4749 * src/hildon-time-editor.h
4750 * src/hildon-time-picker.c
4751 * src/hildon-time-picker.h
4752 * src/hildon-volumebar.c
4753 * src/hildon-volumebar.h
4754 * src/hildon-vvolumebar.c
4755 * src/hildon-vvolumebar.h
4756 * src/hildon-bread-crumb-trail.h
4757 * src/hildon-bread-crumb-trail.c
4758 * src/hildon-calendar-popup.c
4759 * src/hildon-calendar-popup.h
4760 * src/hildon-weekday-picker.c:
4761 * src/hildon-weekday-picker.h:
4762 * src/hildon-bread-crumb-widget.c:
4763 * src/hildon-bread-crumb-widget.h:
4764 * src/hildon-bread-crumb.c:
4765 * src/hildon-bread-crumb.h:
4766 * src/hildon-calendar.c:
4767 * src/hildon-calendar.h:
4768 * src/hildon-caption.c:
4769 * src/hildon-code-dialog.c:
4770 * src/hildon-code-dialog.h:
4771 * src/hildon-font-selection-dialog.c:
4772 * src/hildon-font-selection-dialog.h:
4773 * src/hildon-get-password-dialog.c:
4774 * src/hildon-get-password-dialog.h:
4775 * src/hildon-login-dialog.c:
4776 * src/hildon-login-dialog.h:
4777 * src/hildon-number-editor.c:
4778 * src/hildon-number-editor.h:
4779 * src/hildon-set-password-dialog.c:
4780 * src/hildon-set-password-dialog.h:
4781 * src/hildon-sort-dialog.c:
4782 * src/hildon-sort-dialog.h: This is the list of deprecated
4785 * src/hildon-touch-selector.c:
4786 * src/hildon-window.c: Added undef statement to avoid compilation
4789 * tests/Makefile.am: Divided the sources in deprecated and
4792 * tests/check_test.c,
4793 (configure_tests): Marked the deprecated code that was adding
4794 suites with deprecated tests.
4796 Fixes: NB#91135 (Deprecate legacy hildon widgets)
4798 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4800 * src/hildon-touch-selector.c: (_default_print_func): Do not
4801 duplicate a string returned by gtk_tree_model_get(), it is already
4804 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
4807 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4809 * src/hildon-pannable-area.c
4810 (hildon_pannable_area_add_with_viewport): Reviewed the complete
4811 method, it had problems when adding a widget with viewport the
4812 second time. Now checks if it already has a viewport and uses it.
4814 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
4817 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4819 * src/hildon-pannable-area.c,
4820 (hildon_pannable_area_scroll_to),
4821 (hildon_pannable_area_jump_to),
4822 (hildon_pannable_area_scroll_to_child),
4823 (hildon_pannable_area_jump_to_child): Added a precondition to the
4824 scroll and jump to functions: the widget must be mapped before we
4825 can safely call these functions. We have also added documentation
4826 to the functions to explain how to use them in this situation.
4829 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4831 Reviewed the threading handling of the pannable widget, we have
4832 used the gdk_threads_add_timeout function instead of the usual
4833 glib handlers. This avoids some problems with the threads.
4835 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
4836 (hildon_pannable_area_initial_effect),
4837 (hildon_pannable_area_scroll_indicator_fade),
4838 (hildon_pannable_area_button_press_cb),
4839 (hildon_pannable_area_timeout),
4840 (hildon_pannable_area_motion_notify_cb),
4841 (hildon_pannable_area_button_release_cb),
4842 (hildon_pannable_area_scroll_cb),
4843 (hildon_pannable_area_scroll_to): Removed the
4844 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
4845 gdk_threads_add_timeout.
4847 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
4849 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4854 * configure.ac: bump version
4855 * debian/changelog: updates
4857 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4859 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4860 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
4861 * src/hildon-color-chooser-dialog.c:
4862 (hildon_color_chooser_dialog_init):
4863 * src/hildon-font-selection-dialog.c:
4864 (hildon_font_selection_dialog_init):
4865 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
4867 Remove all cancel/close-like dialogs, as these are not going to be
4870 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4872 * src/hildon-note.c: (hildon_note_rebuild),
4873 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
4876 Fixes: NB#90661 (Delete dialog is displayed without NO button)
4878 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4880 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
4881 sure all buttons are shown, even the Cancel/Close-like ones.
4883 Fixes: NB#90861 (Custom Confirmation dialogs should be
4884 protected from cancel button removal)
4886 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4888 * debian/control: Change libhildon1-examples dependency from libhildon1
4890 * debian/libhildon1-examples.install
4892 * Makefile.am: Modified the final install directory for the examples on
4893 package libhildon1-examples
4894 * Makefile.static: Update clean target in order to remove all the binary
4897 Changes suggested by Claudio after review new libhildon1-examples package
4899 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
4901 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
4902 * src/hildon-touch-selector.c: Ditto.
4904 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4906 * debian/control: Added new package libhildon1-examples, in order to pack
4907 the current hildon examples as documentation
4908 * debian/rules: Not to compress .c files, modify some includes on the
4909 examples (as normally are compiled locally, but when installed it will
4910 require to include the installed libhildon1 library), and rename
4912 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
4913 install all the example files on the new example package
4914 * examples/Makefile.static: Added static makefile that can be used to
4915 compile the examples, once installed the new example package
4916 * examples: Most of the examples were modified in order to grant that
4917 all use only '#include "hildon.h"', in order to be easy to prepare
4918 it on the example package
4920 2008-10-23 Alberto Garcia <agarcia@igalia.com>
4923 * debian/libhildon1-dev.install
4924 * debian/libhildon1-doc.install:
4925 Move all gtk-doc files to a separate libhildon1-doc package.
4927 2008-10-23 Daniel Borgmann <danielb@openismus.com>
4929 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4931 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
4933 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
4935 * debian/rules: Fixed a error in order to avoid unnecessary calls
4936 to autogen.sh on package building
4938 2008-10-22 Alberto Garcia <agarcia@igalia.com>
4940 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
4942 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4944 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
4947 2008-10-21 Alberto Garcia <agarcia@igalia.com>
4949 * src/hildon-picker-button.c
4950 (hildon_picker_button_finalize):
4951 Free priv->done_button_text
4953 * src/hildon-time-button.c
4954 (hildon_time_button_set_time)
4955 * src/hildon-picker-button.c
4956 (hildon_picker_button_clicked)
4957 (hildon_picker_button_selector_selection_changed)
4958 (hildon_picker_button_set_selector)
4959 * src/hildon-date-button.c
4960 (hildon_date_button_set_date):
4961 Free strings returned by hildon_touch_selector_get_current_text()
4963 * src/hildon-button.c (hildon_button_construct_child):
4964 Fix leaks in priv->image and priv->label_box
4966 Fixes: NB#90535 (Memory leak in picker button)
4968 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4970 * src/hildon-button.c: (hildon_button_get_property): Do not access
4971 private elements directly, use getters instead.
4973 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4975 * src/hildon-app-menu-private.h
4976 * src/hildon-app-menu.c
4977 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
4978 Store the menu's parent window.
4980 * src/hildon-stackable-window.c
4981 (hildon_stackable_window_toggle_menu)
4982 (hildon_stackable_window_finalize):
4983 Set the menu's parent window when the menu is shown, unset it when
4986 * src/hildon-app-menu.c
4987 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
4988 (hildon_app_menu_class_init):
4989 Send unhandled keyboard accelerators to the parent window.
4991 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4993 * src/hildon-stackable-window.c
4994 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
4996 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4998 * configure.ac: post release version bump
5000 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5003 * configure.ac: Bump version
5004 * debian/changelog: Updates
5005 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5008 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5010 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5013 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5014 GtkMenu with Hildon style.
5016 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5018 * src/hildon-picker-button.c:
5019 (hildon_picker_button_set_done_button_text): Set the dialog's
5020 done button text here as well.
5022 Fixes: NB#90232 (Picker button does not set the label on done button
5023 for the second time)
5025 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5027 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5030 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5032 * src/hildon-app-menu.c (hildon_app_menu_insert)
5033 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5034 the HildonAppMenu to be activatable using keyboard accelerators
5035 when the menu is not being shown.
5037 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5039 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5041 * src/hildon-stackable-window.c
5042 (hildon_stackable_window_show):
5043 Don't hide old windows automatically when new windows are shown:
5044 this is now a task for the window manager.
5045 (hildon_stackable_window_class_init)
5046 (hildon_stackable_window_hide):
5047 Remove windows from the stack everytime they're hidden.
5048 (hildon_stackable_window_realize):
5049 Don't change the _NET_WM_WINDOW_TYPE property. Use
5050 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5051 it as a stackable window.
5053 * src/hildon-program.c
5054 (hildon_program_pop_window_stack):
5055 Just hide the window to remove it from the stack.
5056 (hildon_program_go_to_root_window):
5057 Don't call gtk_widget_show(), this is now a task for the window
5060 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5062 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5064 * src/hildon-button.c
5065 (hildon_button_construct_child):
5066 Don't pack anything in the button until text or image are
5067 set. This allows adding a custom child after creating the button
5068 with hildon_button_new().
5069 (hildon_button_finalize, hildon_button_class_init)
5070 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5071 alignment and the label box even when they're not packed in the
5074 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5076 * src/hildon-touch-selector.h:
5077 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5078 currently the type definition was using GTK_TYPE_VBOX
5079 * src/hildon-touch-selector.c:
5080 Added some implementation notes in order to clarify that any other widget
5081 added without the column related API will not be included on the
5082 selection logic, and how the widget is freed, as some people ask about
5084 (hildon_touch_selector_remove): Reimplemented in order to free properly
5085 the column related data when you remove the private hbox.
5086 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5087 to get a proper HildonTouchSelectorColumn documentation
5089 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5091 * src/hildon-touch-selector-entry.c:
5092 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5093 text in the GtkEntry and there is no item selected. Fixes a
5096 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5098 * src/hildon-app-menu-private.h
5099 * src/hildon-app-menu.[ch]
5100 * src/hildon-button.[ch]
5101 * src/hildon-check-button.[ch]
5102 * src/hildon-entry.[ch]
5103 * src/hildon-pannable-area.[ch]
5104 * src/hildon-text-view.[ch]:
5105 Added private field to the object's structure.
5107 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5109 * configure.ac: post-release version bump
5111 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5115 * configure.ac: pre-release version bump
5117 * debian/changelog: updates.
5119 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5121 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5122 Disconnect the handler for HildonTouchSelector::changed.
5124 (hildon_picker_button_selector_selection_changed): Update the button
5125 value if the selection change was not triggered by the
5128 (hildon_picker_button_set_selector): connect to
5129 HildonTouchSelector::changed.
5131 Fixes: NB#89650 (Picker button is not updated, when selection in
5132 selector has changed)
5134 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5136 * src/hildon-picker-dialog.c
5137 (hildon_picker_dialog_realize): Removed as not required
5138 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5139 * src/hildon-picker-button.c
5140 (_current_selector_empty): New function, checks if the selector is empty
5141 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5142 if the current selector is empty, in order to avoid to show the dialog
5143 close the dialog in this case (and shows a g_warning).
5145 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5147 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5149 * src/hildon-pannable-area.c,
5150 (hildon_pannable_area_scroll): Added clause to stop movement when
5151 the child of pannable is smaller than one page.
5152 (hildon_pannable_area_scroll_to): Added conditions to avoid
5153 starting the scrolling movement if the child is smaller than one
5154 page, the complete child is in the screen, we do not have to move.
5156 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5158 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5160 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5161 this is managed automatically by the widget when the size of the
5164 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5166 * src/hildon-picker-button.c
5167 (hildon_picker_button_set_done_button_text): Make a copy of the
5168 text, and free the previous value.
5170 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5172 * src/hildon-touch-selector-entry.c:
5173 (hildon_touch_selector_entry_print_func): Return the selected row's
5174 text if the entry is empty.
5176 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5179 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5181 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5183 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5186 * src/hildon-check-button.h
5187 * src/hildon-check-button.c
5188 * examples/hildon-check-button-example.c:
5189 HildonCheckButton is now a new widget. 'toggled' signal added.
5191 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5193 * src/hildon-program-private.h
5194 * src/hildon-program.c (hildon_program_init)
5195 (hildon_program_finalize): Removed unused variables group_leader
5196 and name from HildonProgramPrivate.
5198 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5200 * src/hildon-check-button.c (hildon_check_button_set_active)
5201 (hildon_check_button_get_active, hildon_check_button_new): Use
5202 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5204 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5206 * src/hildon-touch-selector.h
5207 (hildon_touch_selector_set_column_attributes): added deprecation
5208 guard HILDON_DISABLE_DEPRECATED
5209 * src/hildon-time-selector.c
5210 (hildon_time_selector_set_time)
5211 (hildon_time_selector_get_time): Fixed a typo on documentation
5212 * src/hildon-touch-selector.c: update HildonTouchSelector and
5213 HildonTouchSelectorColumn documentation
5214 * src/hildon-touch-selector-entry.c: update "text-column" property
5216 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5217 to be added to the general documentation.
5219 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5221 * examples/hildon-pannable-area-example-4.c,
5223 * examples/hildon-pannable-area-example.c,
5224 (main): Modified the code in order to use the container add, with
5225 viewport treeviews could have problems if they are really big.
5227 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5229 * src/hildon-weekday-picker.c,
5230 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5231 the agreement regarding deprecation in the library.
5233 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5235 * examples/hildon-picker-button-multicolumn-example.c:
5236 (main): Use custom "done" button text.
5238 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5239 (hildon_picker_button_set_property),
5240 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5241 (hildon_picker_button_init),
5242 (+hildon_picker_button_get_done_button_text),
5243 (+hildon_picker_button_set_done_button_text): New methods to customize
5244 the "done" button label in the launched HildonPickerDialog. Also,
5247 * src/hildon-picker-button.h: add the public API.
5249 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5251 * src/hildon-date-selector.h:
5252 * src/hildon-picker-dialog.h:
5253 * src/hildon-time-selector.h:
5254 * src/hildon-touch-selector-column.h:
5255 * src/hildon-touch-selector.h:
5257 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5258 declarations. Fixes gtk-doc warnings.
5260 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5262 * src/hildon-picker-dialog.h
5263 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5264 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5266 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5267 long text is set as label for done button)
5269 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5271 * src/hildon-dialog.c (hildon_dialog_add_button):
5272 Set fixed width to all buttons in the HildonDialog.
5274 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5276 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5278 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5279 Set widget name using class name plus "-finger" or "-thumb".
5281 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5283 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5284 'clicked' when the state of the button is manually changed.
5286 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5288 * src/hildon-app-menu.c (hildon_app_menu_realize)
5289 (hildon_app_menu_unrealize, hildon_app_menu_init)
5290 (hildon_app_menu_class_init, item_visibility_changed):
5291 Change the menu layout when the size of the screen changes.
5292 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5293 Show warning only when changing the number of colums using the
5296 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5298 * debian/compat: Set to 5
5299 * debian/control: Update dependencies.
5300 * debian/libhildon1-dbg.install: Remove.
5301 * debian/libhildon1-dev.install: Update according to cdbs paths.
5302 * debian/libhildon1.install: Update according to cdbs paths.
5303 * debian/rules: Switch to cdbs.
5305 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5307 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5308 'item' variable renamed to 'filter'
5310 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5312 * src/hildon-app-menu.c (hildon_app_menu_insert)
5313 (hildon_app_menu_add_filter, remove_item_from_list)
5314 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5315 Don't leak hidden items when the menu is destroyed.
5317 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5319 * src/hildon-app-menu.c (hildon_app_menu_insert)
5320 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5321 (hildon_app_menu_set_columns, item_visibility_changed)
5322 (filter_visibility_changed, hildon_app_menu_repack_filters)
5323 (hildon_app_menu_repack_items):
5324 Repack items and filters separately.
5326 Don't repack all items, change only the ones that are needed to
5329 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5331 * src/Makefile.am: added hildon-touch-selector-column.h
5333 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5335 * src/hildon-touch-selector.c: added the property "text-column" to the
5336 class HildonTouchSelectorColumn, and related get/set functions
5337 (_default_printf_func): updated to use "text-column" property
5338 * src/hildon-touch-selector-entry.c: mark as deprecated the property
5339 "text-column" in his documentation, as this is now included on
5340 HildonTouchSelectorColumn. The get/set_property can still be used,
5341 working as a wrapper to the concrete column "text-column" property
5342 (_text_column_modified): callback added in order to handle the signal
5343 "notify::text-column" of the concrete HildonTouchSelectorColumn
5344 (hildon_touch_selector_entry_get_text_column)
5345 (hildon_touch_selector_entry_set_text_column): Added documentation, and
5346 modified in order to use the HildonTouchSelectorColumn "text-column"
5348 * src/hildon-time-selector.c:
5349 * src/hildon-date-selector.c:
5350 * examples/hildon-touch-selector-example.c
5351 * examples/hildon-touch-selector-multi-cells-example.c
5352 * examples/hildon-picker-button-multicolumn-example.c
5353 Set the right value to "text-column" property on the creation of a new
5354 column using hildon_touch_selector_append_column()
5356 Fixes: NB#88644 (Hardcoded first column of the model as text column)
5358 2008-09-30 Alberto Garcia <agarcia@igalia.com>
5360 * src/hildon-app-menu.c
5361 (hildon_app_menu_construct_child, hildon_app_menu_init): When
5362 updating the layout of the menu, don't create all widgets again,
5363 just repack the items in their new places.
5365 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
5367 * src/hildon-time-selector.c
5368 (hildon_time_selector_get_time)
5369 (hildon_time_selector_set_time)
5370 Added documentation of these public methods
5372 * src/hildon-date-button.h
5373 * src/hildon-touch-selector-column.h
5374 * src/hildon-time-button.h
5375 * src/hildon-picker-dialog.h
5376 * src/hildon-time-selector.h
5377 * src/hildon-picker-button.h
5378 * src/hildon-touch-selector.h
5379 * src/hildon-time-picker.h
5380 * src/hildon-date-selector.h
5381 * src/hildon-touch-selector-entry.h
5382 Modified in order to use hildon-widgets code style
5384 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5386 Added deprecated support to the compilation process using
5387 HILDON_DISABLE_DEPRECATED
5389 * configure.ac: Added the --disable-deprecated to the configure
5392 * src/hildon-weekday-picker.c:
5393 * src/hildon-weekday-picker.h: Deprecated widget, example of how
5394 to use the deprecated support. We will update the other deprecated
5395 widgets status in a new patch.
5397 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5399 * configure.ac: Fixed typo with fatal warnings support, the
5400 variable name was not correct
5402 2008-09-29 Alberto Garcia <agarcia@igalia.com>
5404 * src/hildon-app-menu.c
5405 * src/hildon-program.c: Update documentation.
5407 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5409 * configure.ac: Post-release version bump.
5411 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5416 * configure.ac: Pre-release version bump.
5417 * debian/changelog: Updates.
5419 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5421 * NEWS: Update news for previous releases.
5423 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5425 * examples/hildon-touch-selector-multi-cells-example.c:
5426 (create_selector): Update the example to use
5427 hildon_touch_selector_append_column() with a NULL renderer and set
5428 the renderers later.
5429 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
5430 passed a NULL renderer. This is documented behavior now.
5432 Allow passing a NULL renderer to hildon_touch_selector_append_column().
5433 This must be used if the developer wants full control on the layout of
5434 the renderers to be added to the column.
5436 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5438 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5440 * src/hildon-touch-selector.c: Documentation fixes.
5442 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5444 * src/hildon-wizard-dialog-private.h: Remove image and box.
5445 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
5446 (hildon_wizard_dialog_set_property), (response): Completely remove
5447 image/icon support, and the containers required for the layout.
5449 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
5451 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5453 * src/hildon-app-menu.c: Updated documentation.
5455 * src/hildon-stackable-window.c
5456 (hildon_stackable_window_set_main_menu): Unref the old menu after
5457 ref'ing the new one.
5459 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5461 * src/hildon-stackable-window.c
5462 (hildon_stackable_window_set_main_menu): Unref the previous menu
5463 instead of destroying it.
5465 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
5466 floating reference and set has_user_ref_count to FALSE to make
5467 HildonAppMenu act like a normal ref-counted widget and not a
5470 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
5473 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
5475 * src/hildon-touch-selector-column.h: new file
5476 * src/hildon-touch-selector.h
5477 * src/hildon-touch-selector.c
5478 Implemented GtkCellLayout interface, in order to allow to configure
5479 the cell layout on each individual selector column
5480 (hildon_touch_selector_set_column_attributes): marked as deprecated
5481 * examples/hildon-touch-selector-multi-cells-example.c
5482 Example of how to use the GtkCellLayout interface on the selector
5484 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5486 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5488 * src/hildon-app-menu.h
5489 * src/hildon-app-menu.c
5490 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
5491 (hildon_app_menu_append, hildon_app_menu_prepend):
5492 New methods to prepend, insert and move items in the menu.
5494 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5496 * src/hildon-wizard-dialog.c:
5498 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
5500 (create_title): Update logical IDs and related code.
5501 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
5503 * src/hildon-wizard-dialog.h: Note that
5504 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
5505 point, as it is not used anymore.
5507 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
5509 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5511 * src/hildon-note.c:
5512 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
5513 shown. Do not display an icon in confirmation notes nor information
5515 (hildon_note_set_button_text): Update logical ID for cancel button.
5517 Fixes: NB#88850 (Update HildonNote button strings + signals)
5519 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5521 * src/hildon-stackable-window.c
5522 (hildon_stackable_window_set_main_menu): Fix compilation warning.
5524 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5526 * src/hildon-app-menu-private.h
5527 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
5528 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
5529 (hildon_app_menu_init, hildon_app_menu_class_init): Added
5530 temporary property 'columns' to change the number of columns.
5532 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5534 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
5536 * examples/hildon-note-example.c: (on_information_clicked),
5537 (on_confirmation_clicked), (on_progress_clicked), (main): Add
5538 debugging information.
5539 * src/hildon-note-private.h: Remove close_if_pressed_outside,
5541 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
5542 (hildon_note_rebuild): Remove special handling of tapping outside/inside
5543 in order to close: this will be handled by the WM from now on.
5545 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
5547 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5549 * src/hildon-app-menu-private.h
5550 * src/hildon-app-menu.c
5551 (hildon_app_menu_append, hildon_app_menu_add_filter)
5552 (button_visibility_changed, hildon_app_menu_apply_style)
5553 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
5554 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
5555 layout everytime a button (item or filter) is shown or hidden.
5557 * src/hildon-stackable-window.c
5558 (hildon_stackable_window_set_main_menu): Destroy the old menu when
5561 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
5563 * src/hildon-touch-selector.c:
5564 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
5565 that the treeview inside the touch selector is in fremantle hildon mode
5566 * examples/hildon-date-button-example.c
5567 * examples/hildon-picker-button-multicolumn-example.c
5568 * examples/hildon-touch-selector-entry-example.c
5569 * examples/hildon-touch-selector-example.c
5570 * examples/hildon-time-button-example.c
5571 * examples/hildon-picker-button-example.c:
5572 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
5574 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
5576 * examples/hildon-text-view-example.c: (main): Remove the
5577 gtkrc bits, now handled by the theme.
5579 2008-09-22 Alberto Garcia <agarcia@igalia.com>
5581 * src/hildon-picker-button.c (hildon_picker_button_set_active):
5584 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5586 * po/Makefile.am: Install properly the mo files.
5587 * po/en_GB.po: Update translation, to ease testing purposes.
5589 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5591 * examples/hildon-picker-button-example.c: (main): Select an item
5592 in the selector before setting it to the button.
5594 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5596 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
5597 Update button's value if the selector has an item active.
5599 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
5600 'value' with the selector)
5602 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5604 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
5605 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
5606 (hildon_picker_button_class_init): Plug the finalize method.
5607 (hildon_picker_button_set_selector): If there's a previously set
5608 selector, unref'it before setting a new one.
5610 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
5611 HildonTouchSelector)
5613 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
5615 * src/hildon-touch-selector-entry.c:
5616 (hildon_touch_selector_entry_changed): Check if there is no text
5617 selected before setting the entry text.
5620 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5622 * src/hildon-touch-selector.h
5623 * src/hildon-touch-selector.c
5624 (hildon_touch_selector_get_active)
5625 (hildon_touch_selector_set_active): New methods to set/get the
5626 index of the selected item.
5628 * src/hildon-picker-button.h
5629 * src/hildon-picker-button.c
5630 (hildon_picker_button_get_active)
5631 (hildon_picker_button_set_active): New methods to set/get the
5632 index of the selected item.
5634 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5636 * configure.ac: post-release version bump.
5638 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5642 * configure.ac: Pre-release version bump.
5643 * debian/changelog: Updates.
5644 * debian/control: Add myself as maintainer and depend on l10n
5647 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5649 * src/hildon-window.c
5650 (hildon_window_set_main_menu)
5651 * src/hildon-stackable-window.c
5652 (hildon_stackable_window_set_main_menu):
5653 Updated documentation.
5655 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5657 * src/hildon-date-selector.c (hildon_date_selector_finalize):
5658 Don't free selector->priv manually.
5661 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5664 (hildon_gtk_window_set_progress_indicator):
5665 * src/hildon-gtk.h: Added the new API
5666 hildon_gtk_window_set_progress_indicator, it changes the state of
5667 the window progress hint.
5669 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5671 * src/hildon-button.c
5672 * src/hildon-stackable-window.c: Minor documentation updates.
5674 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5676 * src/hildon-stackable-window.c: Updated documentation.
5678 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
5680 * src/hildon-defines.h: Update margins definitions
5681 to the Fremantle sizes.
5684 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5686 * src/hildon-touch-selector.c,
5687 (_hildon_touch_selector_set_model): Cleaning the code after
5688 review, removed g_print and #if 0 from the code.
5690 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5692 * src/hildon-edit-toolbar.c: Update documentation.
5694 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5696 * src/hildon-check-button.h
5697 * src/hildon-check-button.c
5698 (hildon_check_button_set_label, hildon_check_button_get_label)
5699 * examples/hildon-check-button-example.c
5700 (button_clicked_cb):
5701 Removed deprecated methods.
5703 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5705 * src/hildon-text-view.c:
5706 Add sample code to the documentation.
5708 * src/hildon-entry.h
5709 * src/hildon-text-view.h:
5710 Minor cosmetic changes.
5712 * src/hildon-entry.c:
5713 Add sample code to the documentation.
5714 (hildon_entry_init, hildon_entry_refresh_contents):
5715 Don't allow NULL values in the placeholder.
5717 2008-09-10 Alberto Garcia <agarcia@igalia.com>
5719 * doc/hildon-docs.sgml
5721 * examples/Makefile.am
5722 * examples/hildon-text-view-example.c
5724 * src/hildon-text-view.c
5725 * src/hildon-text-view.h
5727 New HildonTextView widget, with example.
5729 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5731 * po/POTFILES.in: Add missing files with translatable strings.
5732 Partially fixes NB#88287.
5734 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5736 * examples/hildon-pannable-area-example-2.c: (main): No need to
5737 set the cellrenderer height inside hildon touch lists, the theme does
5740 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5742 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
5743 they are integrated in the theme.
5745 2008-09-09 Alberto Garcia <agarcia@igalia.com>
5747 * examples/hildon-entry-example.c: Update the example adding
5748 widgets to modify the text and the placeholder of the HildonEntry.
5750 * src/hildon-entry.c: Show the placeholder everytime the widget
5751 is empty and loses the focus.
5753 2008-09-09 Alejandro G. Castro <alex@igalia.com>
5755 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
5757 * src/hildon-pannable-area.c,
5758 (hildon_pannable_area_size_request): Fixed bug in height
5759 requisition, avoid increasing size and add border twice.
5761 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5763 * configure.ac: postrelease version bump.
5765 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5769 * configure.ac: Prerelease version bump.
5770 * debian/changelog: update.
5771 * debian/rules: make -dbg package contain useful debugging symbols.
5773 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5775 * src/hildon-dialog.h
5776 * src/hildon-dialog.c
5777 (hildon_dialog_add_button, hildon_dialog_add_buttons):
5778 New methods to add buttons with finger size.
5779 (hildon_dialog_new_with_buttons):
5780 Create buttons with finger size.
5782 * examples/hildon-dialog-example.c (main): Use HildonDialog
5783 methods to add buttons.
5785 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5787 * src/hildon-entry.c: Updated HildonButton documentation.
5789 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5791 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
5792 button value label with (FALSE, FALSE) to prevent NB#88126 from
5795 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5797 * examples/hildon-pannable-area-example.c,
5798 (main): Removed examples panning a vbox inside a pannable
5799 area. Check bug NB#87965
5801 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5803 Patch contributed by Kris Rietveld (kris@imendio.com)
5805 * src/hildon-pannable-area.c,
5806 (hildon_pannable_area_get_topmost): replaced the get_geometry with
5807 get_size and get_position, this saves an X server roundtrip.
5809 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5811 * doc/hildon-docs.sgml
5813 * examples/Makefile.am
5814 * examples/hildon-entry-example.c
5816 * src/hildon-entry.c
5817 * src/hildon-entry.h
5819 New HildonEntry widget, with example.
5821 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5823 * src/hildon-button.c (hildon_button_construct_child): Pack the
5824 image with expand == fill == FALSE. This is a workaround for a bug
5827 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
5829 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
5830 labels for the text column, to make it more look more dynamic.
5832 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5834 * src/hildon-time-selector.c
5835 Define gettext auxiliar macro N_
5836 (_create_minutes_model)
5837 (_create_hours_model)
5838 (_create_ampm_model): use of strftime in order to fill the model
5839 * src/hildon-date-selector.c
5840 (hildon_date_selector_finalize):
5841 (_locales_init): remove the logic related to get the name of the months
5842 using nl_langinfo, as it is not required anymore
5844 (_create_year_model)
5845 (_create_month_model)
5846 (_update_day_model): use of strftime in order to fill the model properly
5849 2008-09-04 Alberto Garcia <agarcia@igalia.com>
5851 * src/hildon-button.h
5852 * src/hildon-button.c (hildon_button_get_image): New method to
5855 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
5857 * src/hildon-touch-selector.c:
5858 (hildon_touch_selector_remove_column): Remove from the correct parent
5859 and also remove the list element and free it.
5862 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5864 * src/hildon-time-selector.c
5865 (_create_hours_model): change the range on 12h ampm format in order to use
5866 a 12-11 range instead of previous 01-12 range
5867 (hildon_time_selector_set_time): change the way to select the current time
5868 on 12h ampm format, due the change on the range
5869 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
5872 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
5874 * src/hildon-touch-selector.c
5875 (hildon_date_touch_selector_get_selected): fix the selection mode check,
5876 in order to allow use this function on multiple row selection mode if
5877 the column is different that the first one
5880 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
5882 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
5883 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
5885 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5887 * src/hildon-date-selector.h: clean some comments, now on the .c
5888 * src/hildon-date-selector.c
5889 (hildon_date_selector_select_month): first implementation
5890 (hildon_date_selector_select_day): added documentation, reimplemented
5891 using hildon_date_selector_select_current_date to avoid repeat code
5894 2008-09-02 Alejandro G. Castro <alex@igalia.com>
5896 Reviewed interaction logic based on device experiences, refactored
5899 * src/hildon-pannable-area.c,
5900 (hildon_pannable_area_class_init): Updated default vmax speed.
5901 (hildon_pannable_area_calculate_velocity): Added this function, it
5902 avoids duplicate valocity calculation. Adjusted calculation to
5903 avoid problems with zero dist events.
5905 (hildon_pannable_area_motion_notify_cb): Now we use the
5906 calculate_velocity function.
5908 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5910 * src/hildon-date-selector.c
5911 (hildon_date_selector_select_current_date): fix the day range check
5912 as it failed using the last day of the current month
5915 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5917 * src/hildon-touch-selector.c
5918 (hildon_touch_selector_get_num_columns): added a parameter validation
5921 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5923 * examples/Makefile.am
5924 * examples/hildon-edit-toolbar-example.c: Example of the
5925 HildonEditToolbar widget.
5927 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5929 * configure.ac: postrelease version bump.
5931 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5935 * configure.ac: prerelease version bump.
5936 * debian/changelog: update.
5938 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5940 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
5941 renderer to display stock icons in the touch list. Also, set the sizes
5942 to the recommended in the style guide.
5944 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5945 * src/hildon-touch-selector.h
5946 (hildon_touch_selector_set_active_iter): renamed, now is
5947 hildon_touch_selector_select_iter
5948 (hildon_touch_selector_get_active_iter): renamed, now is
5949 hildon_touch_selector_get_selected
5950 (hildon_touch_selector_unselect_iter): added
5951 * src/hildon-touch-selector.c
5952 Update after API modification (methods renamed)
5953 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
5954 order to avoid problems selecting multiple elements on the column
5955 (hildon_touch_selector_unselect_iter): added the implementation
5956 * src/hildon-time-selector.c
5957 * src/hildon-date-selector.c
5958 * src/hildon-touch-selector-entry.c
5959 Update methods calls after hildon-touch-selector.h API modification (methods
5962 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5964 * src/hildon-stackable-window.c
5965 (hildon_stackable_window_finalize): Call the parent class's finalize.
5967 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5969 * examples/hildon-touch-selector-example.c: (create_selector): Use
5970 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
5973 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5975 * examples/hildon-touch-selector-example.c: (create_selector): Do not
5976 set a cell background color, to respect theming.
5978 2008-08-28 Alberto Garcia <agarcia@igalia.com>
5980 * doc/hildon-docs.sgml
5983 * src/hildon-edit-toolbar.c
5984 * src/hildon-edit-toolbar.h
5985 * src/hildon.h: New HildonEditToolbar widget.
5987 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
5989 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
5992 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5993 * src/hildon-touch-selector.c
5994 (_create_new_column): use g_object_set instead of two g_object_set_property
5996 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5997 * src/hildon-touch-selector.c
5998 (_create_new_column): use of hildon_gtk_tree_view_new to create
5999 the treeview, instead of use directly g_object_new
6000 (_create_new_column): update the property name "vindicator-mode" for the
6001 new one "vscrollbar-policy"
6002 * examples/hildon-date-button-example.c
6003 * examples/hildon-picker-button-multicolumn-example.c
6004 * examples/hildon-touch-selector-entry-example.c
6005 * examples/hildon-touch-selector-example.c
6006 * examples/hildon-time-button-example.c
6007 * examples/hildon-picker-button-example.c
6008 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6009 to all the treeviews inside a pannable area.
6011 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6013 * src/hildon-button.h
6014 * src/hildon-button.c (hildon_button_init)
6015 (hildon_button_set_arrangement, hildon_button_set_alignment)
6016 (hildon_button_set_title_alignment)
6017 (hildon_button_set_value_alignment)
6018 (hildon_button_set_image_alignment)
6019 (hildon_button_construct_child): New methods to set the alignment
6020 of the individual components of the button (title, value,
6021 image). Also, new method to alter the xscale and yscale properties
6022 of the GtkAlignment inside the button, so more complex layouts can
6025 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6027 * src/hildon-button.c (hildon_button_style_set)
6028 (hildon_button_class_init, hildon_button_set_arrangement)
6029 (hildon_button_construct_child): Apply style properties
6030 correctly. Use the 'image-spacing' style property too.
6032 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6034 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6035 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6038 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6040 * src/hildon-pannable-area.c,
6041 (hildon_pannable_area_size_request): Fixed problem with
6042 pannable-area size_request.
6044 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6046 Added management for the grab-focus to a child widget, like a
6047 range, we need to fade out the scrollbar when releasing.
6049 * src/hildon-pannable-area.c,
6050 (hildon_pannable_area_init): Connected the grab-focus signal to
6052 (hildon_pannable_area_grab_notify): Added this function in order
6053 to manage the situation when the grab-focus ends. We have to
6054 fade-out the scrollbar.
6056 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6058 * src/hildon-app-menu.c: Minor documentation update.
6060 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6062 * src/hildon-app-menu.c
6063 * examples/hildon-app-menu-example.c (create_menu): Update
6064 examples and documentation to explain how to connect callbacks.
6066 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6068 * examples/hildon-button-example.c
6069 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6070 hildon_stackable_window_new instead of gtk_window_new
6072 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6074 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6075 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6076 (hildon_pannable_area_set_property),
6077 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6078 (hildon_pannable_area_unrealize),
6079 (hildon_pannable_area_size_request),
6080 (hildon_pannable_area_size_allocate),
6081 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6082 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6083 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6084 (hildon_pannable_area_initial_effect),
6085 (hildon_pannable_area_redraw),
6086 (hildon_pannable_area_scroll_indicator_fade),
6087 (hildon_pannable_area_expose_event),
6088 (hildon_pannable_area_get_topmost), (synth_crossing),
6089 (hildon_pannable_area_button_press_cb),
6090 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6091 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6092 (hildon_pannable_area_motion_notify_cb),
6093 (hildon_pannable_area_button_release_cb),
6094 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6095 (hildon_pannable_area_remove),
6096 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6097 chage the code layout to a more GtkWidget like. Review the use of
6100 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6102 * examples/hildon-pannable-area-example-4.c,
6103 (main): Modified the name of the hindicator_mode to
6106 * src/hildon-pannable-area.c,
6107 (hildon_pannable_area_class_init),
6108 (hildon_pannable_area_motion_notify_cb),
6109 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6110 we have reduced the amount of signals and managed reviewed its
6111 rationale. Changed the default decelerate value.
6113 (hildon_pannable_area_add),
6114 (hildon_pannable_area_redraw): Refactored functions.
6116 (hildon_pannable_area_init),
6117 (hildon_pannable_area_get_property),
6118 (hildon_pannable_area_set_property):
6119 (hildon_pannable_draw_vscroll),
6120 (hildon_pannable_draw_hscroll),
6121 (hildon_pannable_area_initial_effect),
6122 (hildon_pannable_area_expose_event),
6123 (hildon_pannable_area_scroll),
6124 (hildon_pannable_area_button_press_cb),
6125 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6126 and vindicator_mode with hscrollbar_policy and
6127 vscrollbar_policy. Replaced hscroll and vscroll with
6128 hscroll_visible and vscroll_visible.
6130 (hildon_pannable_area_refresh): Refactor the function, remove
6131 variables and check the calls to this function, added resize
6132 conditions in case the children change their layout.
6134 (hildon_pannable_area_size_request): Added more detailed
6135 size_request calculation.
6138 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6140 * src/hildon-color-chooser.c
6141 (init_borders): use the correct gtk_border_free instead of g_free, to
6142 avoid a crash when this widget is used (ie: the three color selection
6145 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6147 * src/hildon-check-button.c,
6148 (hildon_check_button_set_active): Fixed problem when setting the
6149 active value, the widget was not redrawn.
6151 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6153 * src/hildon-pannable-area.c,
6154 (hildon_pannable_area_refresh),
6155 (hildon_pannable_area_scroll),
6156 (hildon_pannable_area_motion_notify_cb): Small code style change.
6158 (hildon_pannable_area_class_init): Default initial_hint set to
6159 FALSE, it is not in the specs.
6161 (hildon_pannable_area_initial_effect),
6162 (hildon_pannable_area_expose_event),
6163 (hildon_pannable_area_map),
6164 (hildon_pannable_area_init): Moved the launching point of the
6165 initial effect, it was in map but the sizes where not correct in
6166 that method so we do not know if we have the reproduce it. Now it
6167 is placed in the expose_event method and uses a variable to
6168 reproduce it just once.
6170 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6172 * src/hildon-pannable-area.c,
6173 (hildon_pannable_draw_vscroll),
6174 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6175 position allowed for the scrollbars.
6177 (hildon_pannable_area_size_allocate): Small style change.
6179 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6181 * src/hildon-pannable-area.c,
6182 (hildon_pannable_area_scroll_indicator_fade),
6183 (hildon_pannable_area_button_press_cb),
6184 (hildon_pannable_area_button_release_cb),
6185 (hildon_pannable_area_scroll_cb),
6186 (hildon_pannable_area_expose_event),
6187 (hildon_pannable_area_init): Added the define parameter
6188 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6189 and refactor the fade variable.
6191 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6193 * src/hildon-pannable-area.c,
6194 (hildon_pannable_area_redraw),
6195 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6196 lines, we were reimplemeting the redraw code.
6198 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6200 * src/hildon-pannable-area.c,
6201 (hildon_pannable_area_scroll_cb),
6202 (hildon_pannable_area_realize),
6203 (hildon_pannable_area_class_init): Added scroll_event management
6204 for pannable area, now we can scroll the usual desktop method.
6206 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6207 initialization of the parameters should depend on idle_id.
6209 (hildon_pannable_area_init),
6210 (hildon_pannable_area_map): Small code style modifications
6212 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6214 * src/hildon-pannable-area.c
6215 (hildon_pannable_area_button_press_cb),
6216 (hildon_pannable_area_motion_notify_cb),
6217 (hildon_pannable_area_button_release_cb),
6218 (hildon_pannable_area_size_allocate),
6219 (hildon_pannable_area_scroll_to): Improved the timeouts
6220 management, we avoid creating them each time.
6222 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6224 * src/hildon-pannable-area.c:
6225 (hildon_pannable_area_refresh),
6226 (hildon_pannable_area_motion_notify_cb),
6227 (hildon_pannable_area_class_init):
6228 * src/hildon-pannable-area.h:
6229 * src/hildon-touch-selector.c
6230 (_create_new_column):
6231 * examples/hildon-pannable-area-example-4.c:
6232 (horizontal_movement),
6233 (vertical_movement),
6235 Replaced the names of enums in the HildonPannableArea:
6236 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6237 HILDON_MOVEMENT_MODE_*
6238 - HILDON_PANNABLE_AREA_MOV_* ->
6240 - Removed HildonPannableAreaIndicatorMode, now we
6243 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6245 * examples/hildon-pannable-area-touch-grid-example.c
6246 * examples/hildon-pannable-area-touch-list-example.c: Fix
6247 compilation warnings.
6249 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6251 * src/hildon-gtk.c (hildon_gtk_button_new)
6252 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6253 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6254 images overriding the value of the "gtk-button-images" setting.
6256 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6258 * src/hildon-check-button.c (hildon_check_button_new):
6259 Instead of using a custom container, display the label and the
6260 checkbox using the standard GtkButton API.
6262 * examples/hildon-check-button-example.c (main): Don't use
6263 hildon_check_button_set_label() anymore
6265 * src/hildon-check-button.h
6266 * src/hildon-check-button.c
6267 (hildon_check_button_set_label, hildon_check_button_get_label):
6268 Set as deprecated, now we're using gtk_button_{get,set}_label()
6270 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6272 * src/hildon-pannable-area.c,
6273 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6274 GtkTreeview first line we detected it after the inclusion of the
6275 GtkWindowImpl in gtk+. We now check if the window is visible, not
6276 just if the pointer is over the window.
6277 (hildon_pannable_axis_scroll),
6278 (hildon_pannable_area_expose_event): Small style changes.
6280 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6282 * src/hildon-button.c: Update documentation.
6284 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6286 * examples/hildon-button-example.c: Add a switch to show images in
6289 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6291 * doc/hildon-docs.sgml: Some docs reorganization.
6293 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6295 * examples/hildon-pannable-area-touch-list-example.c
6297 * examples/hildon-pannable-area-touch-grid-example.c
6298 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6299 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6300 Fix memory leak when setting the tree model.
6302 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6306 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6308 * doc/hildon.types: Remove duplicated hildon_window_get_type
6309 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6310 documentation comment.
6312 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6314 * doc/Makefile.am: Complete list of private headers.
6316 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6318 * doc/hildon-docs.sgml
6319 * src/hildon-app-menu.c
6320 * src/hildon-bread-crumb.c
6321 * src/hildon-button.c
6323 * src/hildon-program.c
6324 * src/hildon-stackable-window.c
6325 * src/hildon-window.c: Lots of documentation updates.
6327 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6329 * debian/control: Depend on Gtk 2:2.12.9-0osso3
6331 * configure.ac: Require Gtk+ 2.12.9 at least
6333 2008-08-12 Alejandro G. Castro <alex@igalia.com>
6335 * src/hildon-pannable-area.c
6336 (hildon_pannable_area_scroll_indicator_fade),
6337 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6338 to protect the return of this timeout callbacks, avoiding deadlocks.
6340 2008-08-12 Christian Dywan <christian@imendio.com>
6343 * src/hildon-*.h: Ensure a consistent include order,
6344 include <gtk/gtk.h> instead of particular files and
6345 only include the topmost header in the gtk stack. See NB #39857
6347 2008-08-12 Christian Dywan <christian@imendio.com>
6349 * src/hildon-picker-dialog.c
6350 * src/hildon-touch-selector.c: Fix warnings about unused and
6351 uninitialized variables.
6353 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6355 * examples/Makefile.am
6356 * examples/hildon-check-button-example.c: Example of the hildon
6359 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6361 * src/hildon-window.h
6362 * src/hildon-window.c (hildon_window_class_init)
6363 (hildon_window_unset_program): Don't make
6364 hildon_window_unset_program a virtual function anymore.
6366 * src/hildon-stackable-window.c: Update documentation
6368 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6371 * doc/hildon-docs.sgml
6372 * doc/visual_index.xml
6373 * src/hildon-defines.c
6375 * src/hildon-helper.c
6376 * src/hildon-range-editor.c: Lots of documentation fixes.
6378 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6380 * examples/hildon-picker-button-multicolumn-example.c
6381 (create_touch_selector): Fix compilation warning.
6383 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6385 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
6386 (hildon_pannable_area_button_release_cb)
6387 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6389 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6391 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
6394 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6396 * src/hildon-bread-crumb-trail.h
6397 * src/hildon-date-editor.c
6398 * src/hildon-date-selector.c
6399 * src/hildon-pannable-area.c
6400 * src/hildon-picker-dialog.c
6401 * src/hildon-time-selector.c
6402 * src/hildon-touch-selector-entry.c
6403 * src/hildon-touch-selector.c
6404 * src/hildon-touch-selector.h: Misc documentation fixes
6406 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6408 * examples/hildon-date-editor-example.c (main): Updated date
6411 * examples/hildon-note-example.c (on_confirmation_clicked):
6412 Updated confirmation note example.
6414 * src/hildon-date-editor.c
6415 * src/hildon-note.c: Updated sample programs in documentation.
6418 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6420 * src/hildon-date-button.h:
6421 * src/hildon-picker-button.h:
6422 * src/hildon-time-button.c:
6423 * src/hildon-time-button.h:
6425 Some declarations changes to allow gtk-doc to document the widgets
6428 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6430 * src/hildon-date-button.c: Document the widget.
6431 * src/hildon-time-button.c: Document the widget.
6433 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6435 * src/hildon-picker-button.c: Document the widget.
6436 * src/hildon-touch-selector-entry.c: Document the widget.
6438 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6440 * doc/hildon-docs.sgml
6443 * src/hildon-check-button.h
6444 * src/hildon-check-button.c: New functions to create the Hildon
6448 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
6450 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6452 * src/hildon-button.h
6453 * src/hildon-button.c
6454 (hildon_button_add_title_size_group)
6455 (hildon_button_add_value_size_group)
6456 (hildon_button_add_image_size_group)
6457 (hildon_button_add_size_groups): New functions to set size groups
6458 for the button labels and image.
6459 (hildon_button_new_full): Removed
6461 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
6463 * src/hildon-time-selector.c
6464 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
6465 in order to avoid a crash if gconf is not available
6467 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6469 * src/hildon-button.c (hildon_button_set_arrangement)
6470 (hildon_button_construct_child): Don't construct the button child
6471 before setting the arrangement.
6473 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6475 * src/hildon-program-private.h
6476 * src/hildon-program.c
6477 * src/hildon-program.h
6478 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
6479 (hildon_program_peek_window_stack)
6480 (hildon_program_pop_window_stack)
6481 (hildon_program_go_to_root_window): HildonProgram now has a
6482 separate list for stackable windows. Functions are provided to
6483 manage that list with a stack-like API.
6485 * src/hildon-stackable-window.c: Stackable window management is
6486 now much simpler with the new HildonProgram API. Windows no
6487 longer need to be manually added to the program, they're
6488 automatically pushed to the top of the stack when shown.
6490 * examples/hildon-stackable-window-example.c: Updated example to
6491 reflect the API changes.
6493 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6495 * src/hildon-touch-selector.c: Comment out unimplemented
6496 hildon_touch_selector_insert_column() to avoid a compile warning.
6498 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6500 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6501 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
6502 (hildon_touch_selector_set_column_selection_mode),
6503 (_hildon_touch_selector_set_model),
6504 (hildon_touch_selector_set_model):
6506 Complete review of HildonTouchSelector documentation.
6508 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6510 * doc/hildon-docs.sgml
6514 * src/hildon-gtk.c: Convenience functions for standard Gtk
6515 widgets, used to easily perform frequent operations.
6517 * src/hildon-button-helpers.h
6518 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
6520 * src/hildon-helper.h
6521 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
6522 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
6524 * src/hildon-button.h
6525 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
6527 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6529 * src/hildon-button.c (hildon_button_init)
6530 (hildon_button_set_arrangement, hildon_button_construct_child):
6531 Pack the image and the labels inside the same GtkAlignment so
6532 gtk_button_set_alignment() can be used
6534 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6536 * src/hildon-button.h
6537 * src/hildon-button.c
6538 (hildon_button_init, hildon_button_set_image)
6539 (hildon_button_set_image_position)
6540 (hildon_button_construct_child): New functions to add an image to
6543 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6545 * src/hildon-date-button.c
6546 * src/hildon-picker-button.c
6547 * src/hildon-time-button.c
6548 * src/hildon-button.c:
6549 (hildon_button_class_init): "size-flags" renamed to "size"
6550 (hildon_button_set_title): Hide the title label if set to NULL.
6552 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6554 HildonButtonFlags split into HildonButtonArrangement (to set the
6555 button layout) and HildonSizeType (which can be used for any
6558 * src/hildon-button.h
6559 * src/hildon-button.c
6560 (hildon_button_class_init)
6561 (hildon_button_set_arrangement)
6562 (hildon_button_set_property): New "size-flags"
6563 property. "arrangement-flags" renamed to "arrangement".
6564 (hildon_button_new, hildon_button_new_with_text)
6565 (hildon_button_new_full): Constructors updated to reflect type changes.
6567 * src/hildon-helper.h
6568 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
6569 to set the size of a widget.
6573 * src/hildon-button-helpers.c
6574 * src/hildon-button-helpers.h: New hildon-button-helpers module.
6576 * src/hildon-date-button.c
6577 * src/hildon-date-button.h
6578 * src/hildon-picker-button.c
6579 * src/hildon-picker-button.h
6580 * src/hildon-time-button.c
6581 * src/hildon-time-button.h: Updated widgets to reflect
6582 HildonButton API changes.
6584 * examples/hildon-button-example.c
6585 * examples/hildon-date-button-example.c
6586 * examples/hildon-picker-button-example.c
6587 * examples/hildon-picker-button-multicolumn-example.c
6588 * examples/hildon-time-button-example.c
6589 * examples/hildon-touch-selector-entry-example.c
6590 * examples/hildon-touch-selector-example.c: Updated examples to
6591 reflect HildonButton API changes.
6593 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6595 * doc/hildon-docs.sgml:
6597 * examples/Makefile.am:
6598 * examples/hildon-touch-selector-entry-example.c:
6600 * src/hildon-touch-selector-entry.c:
6601 * src/hildon-touch-selector-entry.h:
6604 Moved HildonTouchSelectorEntry from sandbox. Added its
6605 documentation and examples.
6607 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6609 * src/hildon-touch-selector.h:
6610 * examples/hildon-picker-button-multicolumn-example.c:
6611 (hildon_touch_selector_append_text_column): Add a gboolean
6612 parameter to determine if text must be centered in the column.
6614 * src/hildon-date-selector.c: (hildon_date_selector_init):
6615 * src/hildon-time-selector.c: (hildon_time_selector_init):
6616 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
6617 (create_touch_selector): Update widgets and example to reflect
6620 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6622 * src/hildon-touch-selector.c:
6623 (hildon_touch_selector_set_active_iter): Set also the cursor in
6626 2008-08-06 Alberto Garcia <agarcia@igalia.com>
6628 * doc/hildon-docs.sgml
6631 * src/hildon-toggle-button.c
6632 * src/hildon-toggle-button.h
6633 * src/hildon.h: Removed HildonToggleButton widget, a derived
6634 class is not necessary for this.
6636 2008-08-06 Alejandro G. Castro <alex@igalia.com>
6638 * src/hildon-pannable-area.c,
6639 (hildon_pannable_area_realize),
6640 (hildon_pannable_area_size_allocate): Code refactoring, add tests
6643 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
6645 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
6646 "done" button the default widget for the dialog.
6648 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6650 * src/hildon-touch-selector.c:
6651 (hildon_touch_selector_class_init),
6652 (hildon_touch_selector_get_property),
6653 (_hildon_touch_selector_set_model),
6654 (_hildon_touch_selector_has_multiple_selection),
6655 (hildon_touch_selector_has_multiple_selection):
6656 Add a "has-multiple-selection" property with a virtual
6657 has_multiple_selection() method to allow derived classes to
6658 override the default value for it. See the method and property
6659 documentation for details.
6661 * src/hildon-touch-selector.h: Add the new API.
6663 * src/hildon-picker-dialog.c: (requires_done_button): Call
6664 hildon_touch_selector_has_multiple_selection() instead of
6665 determining the need for a button itself.
6667 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6669 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6670 (_hildon_touch_selector_set_model),
6671 (hildon_touch_selector_set_model): Move working code to
6672 _hildon_touch_selector_set_mode(). Call the class method instead.
6674 * src/hildon-touch-selector.h: Add (*set_model) to
6675 HildonTouchSelectorClass.
6677 Make hildon_touch_selector_set_model() a virtual method, so that
6678 derived classes can extend it and do fancy stuff with the model.
6680 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6682 * configure.ac: Set back the tarname in AC_INIT to hildon.
6684 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6688 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
6689 instead of libesd (NB#86876). Volume handling is still an open issue.
6691 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
6694 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6696 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
6697 (hildon_touch_selector_append_column): Make the widget a GtkVBox
6698 derived class to ease placement of an entry widget in
6699 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
6700 end, where the selector columns are packed now.
6702 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6704 * src/hildon-picker-button.c: Removed the simple _text() API.
6705 * src/hildon-picker-button.h: Likewise.
6707 * src/hildon-touch-selector.h:
6708 * src/hildon-touch-selector.c:
6709 (hildon_touch_selector_new_text),
6710 (hildon_touch_selector_append_text),
6711 (hildon_touch_selector_prepend_text),
6712 (hildon_touch_selector_insert_text):
6714 Moved the simple _text() API from HildonPickerButton to
6715 HildonTouchPicker, to provide better escalability and not to tie
6716 that API to HildonPickerButton.
6718 * examples/hildon-picker-button-example.c: (main): Example updated.
6720 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6722 * src/hildon-button.c: Updated documentation.
6724 * examples/hildon-button-example.c: Add the posibility to create
6725 the buttons using horizontal layout for title and value.
6727 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6729 * src/hildon-app-menu-private.h
6730 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
6731 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
6732 GtkSizeGroup for the filters, use the 'homogeneous' property of
6735 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6737 * examples/hildon-button-example.c: Updated example.
6739 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
6741 * doc/hildon-docs.sgml:
6744 Update documentation.
6746 * examples/Makefile.am: Update renamed examples.
6748 * examples/hildon-picker-button-multicolumn-example.c:
6749 (create_touch_selector), (main): Update after the rename.
6751 * examples/hildon-touch-picker-example.c: Removed.
6752 * examples/hildon-touch-selector-example.c: (value_changed),
6753 (create_selector), (get_visible_content), (main): Renamed from
6754 hildon-touch-picker-example.c
6756 * src/Makefile.am: Updated renamed files.
6758 * src/hildon-date-button.c: (hildon_date_button_init),
6759 (hildon_date_button_get_date), (hildon_date_button_set_date):
6760 * src/hildon-date-selector.c: (hildon_date_selector_init),
6761 (_custom_print_func), (_update_day_model),
6762 (_manage_selector_change_cb),
6763 (hildon_date_selector_select_current_date),
6764 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
6765 * src/hildon-date-selector.h:
6766 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6767 (hildon_picker_button_set_property),
6768 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6769 (hildon_picker_button_init), (hildon_picker_button_new_text),
6770 (hildon_picker_button_append_text),
6771 (hildon_picker_button_prepend_text),
6772 (hildon_picker_button_insert_text),
6773 (hildon_picker_button_set_selector),
6774 (hildon_picker_button_get_selector):
6775 * src/hildon-picker-button.h:
6776 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
6777 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
6778 (_update_title_on_selector_changed_cb), (requires_done_button),
6779 (_hildon_picker_dialog_set_selector),
6780 (hildon_picker_dialog_set_selector),
6781 (hildon_picker_dialog_get_selector):
6782 * src/hildon-picker-dialog.h:
6783 * src/hildon-time-button.c: (hildon_time_button_init),
6784 (hildon_time_button_get_time), (hildon_time_button_set_time):
6785 * src/hildon-time-selector.c: (hildon_time_selector_init),
6786 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
6787 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
6788 * src/hildon-time-selector.h:
6791 Massive code updates after the rename.
6793 * src/hildon-touch-picker.c: Removed.
6794 * src/hildon-touch-picker.h: Removed.
6796 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6797 (hildon_touch_selector_init), (hildon_touch_selector_map),
6798 (hildon_touch_selector_remove), (_default_print_func),
6799 (_selection_changed_cb), (_create_new_column),
6800 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
6801 (hildon_touch_selector_append_text_column),
6802 (hildon_touch_selector_remove_column),
6803 (hildon_touch_selector_set_column_attributes),
6804 (hildon_touch_selector_insert_column),
6805 (hildon_touch_selector_get_num_columns),
6806 (hildon_touch_selector_get_column_selection_mode),
6807 (hildon_touch_selector_set_column_selection_mode),
6808 (hildon_touch_selector_set_print_func),
6809 (hildon_touch_selector_get_print_func),
6810 (hildon_touch_selector_get_active_iter),
6811 (hildon_touch_selector_set_active_iter),
6812 (hildon_touch_selector_get_selected_rows),
6813 (hildon_touch_selector_get_model),
6814 (hildon_touch_selector_set_model),
6815 (hildon_touch_selector_get_current_text),
6816 (_hildon_touch_selector_center_on_selected_items):
6817 * src/hildon-touch-selector.h: Renamed from
6818 hildon-touch-picker.[ch]
6820 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
6821 references, code examples, and related documentation.
6823 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6825 * doc/hildon-docs.sgml
6828 * src/hildon-toggle-button.c
6829 * src/hildon-toggle-button.h
6830 * src/hildon.h: New HildonToggleButton widget.
6832 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6834 * src/hildon-button.c: Add API documentation.
6835 (hildon_button_set_size_groups): Check input parameters
6837 2008-07-30 Alejandro G. Castro <alex@igalia.com>
6839 * src/hildon-pannable-area.c
6840 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
6841 effect after reaching the movement thredshold. This way we start
6842 using the distance after passing the thredshold.
6844 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6846 * src/hildon-button.c: (hildon_button_set_property): Use the
6847 appropriate g_value_get_flags() method.
6849 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6851 * doc/hildon-docs.sgml:
6854 Add the touch pickers, picker dialogs, and picker button widgets
6855 to the documentation.
6857 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6859 * src/hildon-button.c: (hildon_button_set_property),
6860 (hildon_button_class_init): Make "arrangement-flags" a proper
6861 G_TYPE_FLAGS derived property.
6863 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6865 * examples/Makefile.am: Add below examples.
6866 * examples/hildon-date-button-example.c:
6867 * examples/hildon-picker-button-example.c:
6868 * examples/hildon-picker-button-multicolumn-example.c:
6869 * examples/hildon-time-button-example.c:
6870 * examples/hildon-touch-picker-example.c:
6872 Add examples for the recently added touch pickers,
6873 picker dialogs, and picker button widgets.
6875 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6877 * src/hildon-button.c: Add some API documentation
6879 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6881 * src/hildon-button.h
6882 * src/hildon-button.c
6884 (hildon_button_new_with_text): New constructor to create a button
6885 with no text at all.
6886 (hildon_button_init, hildon_button_set_arrangement)
6887 (hildon_button_set_title, hildon_button_set_value)
6888 (hildon_button_set_text)
6889 (hildon_button_construct_child): Hide the value when it's not used
6890 so the rest of the text is properly aligned.
6891 Allow creating buttons with arbitrary widgets inside (not just
6892 title/value labels).
6894 * examples/hildon-button-example.c (vertical_buttons_window)
6895 (horizontal_buttons_window): Update example to use new API.
6897 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6899 * src/Makefile.am: Added HildonTimeButton.
6900 * src/hildon-time-button.c: Added missing LGPL header.
6901 * src/hildon-time-button.h: Added missing LGPL header.
6902 * src/hildon.h: Add hildon-time-button.h
6904 Copied HildonTimeButton from sandbox to trunk. Future work on this
6905 widget must take place in trunk.
6907 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6909 * src/Makefile.am: Added HildonDateButton.
6910 * src/hildon-date-button.c: Update includes.
6911 * src/hildon.h: Add hildon-date-button.h
6913 Copied HildonDateButton from sandbox to trunk. Future work on this
6914 widget must take place in trunk.
6916 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6918 * src/Makefile.am: Added HildonPickerButton.
6919 * src/hildon-picker-button.h: Update includes.
6920 * src/hildon.h: Add hildon-picker-button.h
6922 Copied HildonPickerButton from sandbox to trunk. Future work on
6923 this widget must take place in trunk.
6925 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6927 * src/Makefile.am: Added HildonPickerDialog.
6928 * src/hildon-picker-dialog.c: Update includes.
6929 * src/hildon.h: Add hildon-picker-dialog.h
6931 Copied HildonPickerDialog from sandbox to trunk. Future work
6932 on this widget must take place in trunk.
6934 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6936 * src/Makefile.am: Added HildonTimeSelector.
6937 * src/hildon.h: Add hildon-time-selector.h
6939 Copied HildonTimeSelector widget from sandbox to trunk. Future
6940 work on this widget must happen in trunk.
6942 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6944 * src/Makefile.am: Added HildonDateSelector.
6945 * src/hildon.h: Add hildon-date-selector.h
6947 Copied HildonDateSelector widget from sandbox to trunk. Future
6948 work on this widget must happen in trunk.
6950 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6952 * src/Makefile.am: Added HildonTouchPicker.
6953 * src/hildon-touch-picker.c: Update includes.
6954 * src/hildon.h: Add hildon-touch-picker.h
6956 Copied HildonTouchPicker widget from sandbox to trunk. Future work
6957 on this widget must happen in trunk.
6959 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6961 * src/hildon-pannable-area.c:
6962 (hildon_pannable_area_motion_notify_cb): Fix a typo.
6964 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6966 * examples/hildon-app-menu-example.c (main): Let the window
6969 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6971 * src/hildon-pannable-area.c
6972 (hildon_pannable_area_class_init): Set the min value of the
6973 overshoot properties to zero, which points out that not
6974 overshooting allowed.
6976 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6978 Modified the procedure to get the widget at a point inside the
6979 pannable area when using the movement type signals. Now the user
6980 has to call a function to get the child, that way we just
6981 calculate the child in case the user really want to use it and not
6984 * src/hildon-marshalers.list: Modified the marshallers, now we do
6985 not have the widget as a parameter.
6987 * src/hildon-pannable-area.c
6988 (hildon_pannable_area_motion_notify_cb),
6989 (hildon_pannable_area_class_init),
6990 (hildon_pannable_get_child_widget_at): Removed the widget
6991 parameter from the signal callback. We have also refactored the
6992 emission of the signals.
6994 * src/hildon-pannable-area.h: Added a new method to the API to
6995 calculate a widget at a point inside the pannable area,
6996 hildon_pannable_get_child_widget_at.
6998 * examples/hildon-pannable-area-example-4.c
6999 (horizontal_movement): Modified the example to use the new API,
7000 added condition to control which widget is under the event. This
7001 way we can avoid scrolling laterally over other widgets.
7003 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7005 * src/hildon-pannable-area.c
7006 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7007 modes, we stop getting the pointer events due to returning the
7008 callback without properly calling the get pointer again. Fixed
7009 also an error using the hscroll and vscroll.
7011 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7013 * src/hildon-app-menu-private.h
7014 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7015 (hildon_app_menu_button_release, hildon_app_menu_init)
7016 (hildon_app_menu_class_init): Don't hide the menu on button
7017 release if the user didn't press outside first.
7019 * src/hildon-window.h
7020 * src/hildon-window.c (hildon_window_toggle_menu)
7021 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7022 hildon_window_toggle_menu a virtual function for the stackable
7023 window to override it.
7025 * src/hildon-stackable-window.h
7026 * src/hildon-stackable-window-private.h
7027 * src/hildon-stackable-window.c
7028 (hildon_stackable_window_realize)
7029 (hildon_stackable_window_finalize)
7030 (hildon_stackable_window_class_init)
7031 (hildon_stackable_window_init)
7032 (hildon_stackable_window_set_main_menu): New function to set the
7033 app menu of a HildonStackableWindow.
7035 * examples/hildon-app-menu-example.c: Remove the button to show
7036 the app menu, now it'll be shown when clicking on the title bar
7039 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7041 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7042 set the widget name if the arrangement flags do not specify
7045 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7047 * src/hildon-button.c: (hildon_button_set_property),
7048 (hildon_button_class_init), (hildon_button_new_full),
7049 (hildon_button_set_arrangement): Added "arrangement-flags"
7052 Make the HildonButtonFlags a construction-only property, to allow
7053 subclasses to set them properly.
7055 2008-07-21 Tim Janik <timj@imendio.com>
7057 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7058 insertion position after backspace, so additional digits are appended,
7061 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7063 * src/hildon-pannable-area.c,
7064 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7065 TODO list, it was complete and removed the g_debug and g_print
7068 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7070 Added the movement modes to the hildon-pannable-area, with this
7071 modes the developers can control in which directions the widget
7072 can scroll. They can also connect to signals in order to do
7073 something when that happens, allowing applications scroll. There
7074 is an example uploaded showing how to use it.
7076 * examples/Makefile.am:
7077 * examples/hildon-pannable-area-example-4.c: Added this example of
7078 an application using the modes.
7080 * src/hildon-marshalers.list: Added a new marshaller for the new
7083 * src/hildon-pannable-area.h: Added new enumerations and flags in
7084 order to control the movement modes and the new signals to warn
7085 about the movements in the area.
7087 * src/hildon-pannable-area.c:
7088 (hildon_pannable_axis_scroll),
7089 (hildon_pannable_area_scroll),
7090 (hildon_pannable_area_motion_notify_cb),
7091 (hildon_pannable_area_get_property),
7092 (hildon_pannable_area_set_property),
7093 (hildon_pannable_area_map),
7094 (hildon_pannable_area_class_init),
7095 (hildon_pannable_area_init),
7096 (hildon_pannable_area_jump_to): Added the modes to control the
7097 movement in the widget. We have added properties to control it,
7098 signals to warn about the movements and refactored some code.
7100 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7102 Changes required in order to allow vfast_factor set to zero to
7105 * src/hildon-pannable-area.c:
7106 (hildon_pannable_area_button_press_cb): Changed the condition, it
7107 is required for not allowing click when vfast_factor is zero.
7108 (hildon_pannable_area_timeout): Initialized velocity variables
7109 when we stop moving, it was less than 1 but not zero and we need
7110 to check zero in some situations.
7111 (hildon_pannable_area_class_init): Changed the default value of
7112 the speed factor, now the button_press is just sent in case the
7113 speed is 2 per cent of the max speed.
7114 (hildon_pannable_area_init): Initialization with 0.
7116 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7118 * src/hildon-pannable-area.c,
7119 (hildon_pannable_area_get_topmost): replaced
7120 gdk_window_get_children with gdk_window_peek_children, this way we
7121 do not have to free the list because it is not a copy.
7123 (hildon_pannable_axis_scroll),
7124 (hildon_pannable_area_scroll),
7125 (hildon_pannable_area_timeout),
7126 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7127 two parameters that were only used inside the
7128 hildon_pannable_area_scroll function.
7130 * examples/hildon-pannable-area-example.c,
7131 (get_sawtooth_label): Fixed small memory leak.
7133 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7135 More checks for the case where the overshoot is bigger than the
7138 * src/hildon-pannable-area.c:
7139 (hildon_pannable_draw_vscroll),
7140 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7141 to draw the slider of the scrollbar under the other scrollbar.
7142 (hildon_pannable_area_expose_event): added new checks to control
7143 the drawing of the overshooting area rectangle, in case it is too
7144 big for the area of the widget.
7145 (hildon_pannable_area_size_allocate): add more checks to avoid
7146 setting a position to the child widget outside the area.
7148 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7150 * src/hildon-pannable-area.c
7151 (hildon_pannable_area_size_allocate): Added conditions to control
7152 when overshooting is bigger than the allocated space for the
7153 children, this avoids negative allocations.
7155 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7157 * doc/hildon-docs.sgml
7159 * examples/Makefile.am
7160 * examples/hildon-button-example.c
7162 * src/hildon-button.c
7163 * src/hildon-button.h
7164 * src/hildon.h: Initial version of the new HildonButton widget,
7167 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7169 * src/hildon-pannable-area.c:
7170 (hildon_pannable_area_button_press_cb),
7171 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7172 (hildon_pannable_area_motion_notify_cb),
7173 (hildon_pannable_area_button_release_cb),
7174 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7175 (hildon_pannable_area_jump_to_child):
7177 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7179 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7181 * examples/Makefile.am
7182 * examples/hildon-pannable-area-touch-grid-example.c
7183 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7184 the Hildon Touch List and Hildon Touch Grid using the
7185 HildonPannableArea widget.
7187 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7189 * src/hildon-pannable-area.c,
7190 (hildon_pannable_area_button_press_cb),
7191 (hildon_pannable_area_refresh),
7192 (hildon_pannable_area_scroll),
7193 (hildon_pannable_area_motion_notify_cb),
7194 (hildon_pannable_area_button_release_cb),
7195 (hildon_pannable_area_expose_event),
7196 (hildon_pannable_area_add),
7197 (hildon_pannable_area_remove),
7198 (hildon_pannable_area_realize),
7199 (hildon_pannable_area_size_allocate),
7200 (hildon_pannable_area_class_init),
7201 (hildon_pannable_area_init),
7202 (hildon_pannable_area_scroll_to_child),
7203 (hildon_pannable_area_jump_to_child): Fixed the problem of
7204 removing the child from the GtkBin, we have rearranged the widget
7205 hierarchy, now there is no GtkAlignment which was not doing
7206 anything interesting but breaking some of the assumptions of
7207 GtkContainer. Now developers if they want to add a GtkAlignment
7208 they could, but it is not inside the area.
7210 We had to review the whole allocation/expose process, now it is
7211 improved and we save at least three signals which would be saving
7212 some time when rendering the widget. The allocation of the
7213 scrollbars is now made in the allocate method as usual.
7215 We have also added some conditions in order to control when there
7216 is no child of the pannable area. Maybe we will need more work
7219 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7221 * src/hildon-pannable-area.c,
7222 (hildon_pannable_area_dispose): Released the fade-out timeout when
7223 disposing the widget.
7225 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7227 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7228 zero, we are going to use that property in order to deactivate the
7230 (hildon_pannable_axis_scroll),
7231 (hildon_pannable_area_size_allocate): Added conditions to control
7232 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7233 call, now it is called in all situations and we can remove calls
7234 in the allocate method.
7235 (hildon_pannable_area_map): Control the situation when
7236 overshoot_max is zero, we do not need the timeout.
7237 (hildon_pannable_area_class_init): Added documentation in order to
7238 point out that setting zero to overshoot_max means deactivate
7241 NOTE: removed trailing whitespaces from my previous comments of
7244 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7246 * src/hildon-pannable-area.c
7247 (hildon_pannable_area_get_property),
7248 (hildon_pannable_area_set_property),
7249 (hildon_pannable_area_map),
7250 (hildon_pannable_area_class_init),
7251 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7252 to cause the widget give a hint about its panning abilities upon
7255 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7257 * src/hildon-pannable-area.c: Several documentation improvements.
7259 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7261 * src/hildon-program.c
7262 * src/hildon-stackable-window.c: Update documentation.
7264 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7266 * src/hildon-stackable-window.c (get_previous_window_if_last):
7267 Renamed get_last_window()
7268 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7269 (hildon_stackable_window_unset_program):
7271 (get_previous_window_if_last):
7272 Detect if the window hasn't been added to a HildonProgram.
7274 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7276 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7278 * src/hildon-pannable-area.c
7279 (hildon_pannable_area_button_press_cb),
7280 (hildon_pannable_axis_scroll),
7281 (hildon_pannable_area_scroll),
7282 (hildon_pannable_area_timeout),
7283 (hildon_pannable_calculate_vel_factor),
7284 (hildon_pannable_area_get_property),
7285 (hildon_pannable_area_set_property),
7286 (hildon_pannable_area_class_init),
7287 (hildon_pannable_area_init),
7288 (hildon_pannable_area_scroll_to),
7289 (hildon_pannable_area_jump_to),
7290 (hildon_pannable_area_scroll_to_child),
7291 (hildon_pannable_area_jump_to_child):
7292 * src/hildon-pannable-area.h: Added the new API functions:
7293 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7294 hildon_pannable_area_scroll_to_child,
7295 hildon_pannable_area_jump_to_child
7298 * examples/Makefile.am
7299 * examples/hildon-pannable-area-example-2.c
7300 * examples/hildon-pannable-area-example-3.c: Added these two new
7301 examples in order to test and show how the new APIs work.
7303 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7305 * examples/hildon-stackable-window-example.c (new_window):
7306 * src/Makefile.am (noinst_HEADERS):
7307 * src/hildon-program.c (hildon_program_go_to_root_window):
7308 * src/hildon-program.h:
7309 * src/hildon-stackable-window-private.h:
7310 * src/hildon-stackable-window.c:
7311 * src/hildon-stackable-window.h:
7312 Create hildon-stackable-window-private.h
7313 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7315 * examples/hildon-app-menu-example.c (create_menu):
7316 * examples/hildon-hvolumebar-insensitive-example.c (main):
7317 * examples/hildon-hvolumebar-timer-example.c (on_idle):
7318 * examples/hildon-toolbar-seekbar-example.c (main):
7319 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7320 * src/hildon-banner.c (hildon_banner_set_property):
7321 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7322 Fix compilation warnings
7324 * src/hildon-window.c:
7327 2008-06-24 Alberto Garcia <agarcia@igalia.com>
7329 * src/hildon-stackable-window.c
7330 (hildon_stackable_window_unset_program):
7331 Calculate correctly whether to show the previous window if the
7332 last one is removed from the stack.
7333 (hildon_stackable_window_go_to_root_window):
7334 Send delete events starting from the topmost window.
7335 Stop if one of the windows is not destroyed.
7337 (hildon_stackable_window_delete_event)
7338 (hildon_stackable_window_class_init):
7339 Ignore the delete event if the window is not the topmost one.
7341 2008-06-24 Alejandro G. Castro <alex@igalia.com>
7343 * src/hildon-pannable-area.c
7344 (hildon_pannable_area_expose_event): Fixed a problem when
7345 selecting the background color of the scrollbars.
7347 2008-06-23 Alberto Garcia <agarcia@igalia.com>
7349 * examples/hildon-stackable-window-example.c
7350 * src/hildon-stackable-window.c
7351 * src/hildon-stackable-window.h
7352 hildon_stackable_window_go_home() renamed to
7353 hildon_stackable_window_go_to_root_window()
7354 Send delete events to windows rather than closing them with
7355 gtk_widget_destroy()
7357 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7359 * src/hildon-pannable-area.c
7360 (hildon_pannable_area_button_release_cb): Fix overshooting in
7363 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7365 * src/hildon-pannable-area.c
7366 (hildon_pannable_area_init): Initially show the scroll indicators.
7367 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7369 Add initial effect showing the widget is pannable.
7371 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7373 * src/hildon-pannable-area.c
7374 (hildon_pannable_area_class_init)
7375 (hildon_pannable_area_set_property)
7376 (hildon_pannable_area_get_property)
7377 (hildon_pannable_area_button_press_cb):
7378 New 'velocity_fast_factor' property to decide which velocity is
7381 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7383 * src/hildon-pannable-area.c
7384 (hildon_pannable_draw_hscroll)
7385 (hildon_pannable_draw_vscroll):
7386 Use float variables to calculate the size of the scrollbars to
7387 avoid error propagation and resizing during scrolling.
7389 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7391 * src/hildon-pannable-area.c
7392 (hildon_pannable_draw_vscroll)
7393 (hildon_pannable_draw_hscroll):
7394 Define a minimum size for the scroll bars
7396 * src/hildon-stackable-window.c
7397 (hildon_stackable_window_go_home): Fix compilation warning
7398 (get_last_window): Minor optimizations
7399 (hildon_stackable_window_class_init): Fix initialization of
7402 2008-06-18 Alberto Garcia <agarcia@igalia.com>
7404 * src/hildon-stackable-window.c: Fixed typos in doc
7406 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
7408 * src/hildon-pannable-area.c
7409 (hildon_pannable_area_scroll):
7410 Calculate here whether we need to scroll instead of using the booleans
7411 that tell us whether to /draw/ the scrolling bars.
7413 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
7415 * src/hildon-app-menu.h
7417 * src/hildon-app-menu.c
7418 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
7419 multiple filter groups related code and API. Now we support only
7421 * examples/hildon-app-menu-example.c:
7423 Update to reflect API changes.
7425 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
7427 * src/hildon-stackable-window.c
7428 (hildon_stackable_window_class_init):
7429 Add hildon_stackable_window_realize.
7430 (hildon_stackable_window_realize):
7431 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
7432 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
7433 to apply theming and behavior specific to HildonStackableWindow
7436 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7438 * src/hildon-note.c (hildon_note_button_release):
7439 Close information notes also when tapping on them
7441 2008-06-12 Alejandro G. Castro <alex@igalia.com>
7443 Added BOUNCE_STEPS define to control the overshoot effect. Removed
7444 ELASTICITY, refactor and review, fix some issues with drawing
7447 * src/hildon-pannable-area.c:
7448 (hildon_pannable_area_button_press_cb): removed the conditions to
7449 avoid clicks when overshooting. It is not required
7451 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
7452 define. Refatored and reviewed the code, now we do not need to
7453 manage velocity in motion_notify.
7455 (hildon_pannable_area_motion_notify_cb): We have moved the code
7456 that controls the area_scroll to the axis_scroll function and get
7457 rid of duplicated code.
7459 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
7461 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
7463 (hildon_pannable_draw_vscroll),
7464 (hildon_pannable_draw_hscroll): Fixed the problems with the
7465 scrollbar drawing, now we do not use two surfaces, it is easier
7466 and saves resources.
7468 (hildon_pannable_area_get_property): Style modification.
7470 (hildon_pannable_area_class_init): Changed some default values.
7472 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
7474 * src/hildon-stackable-window.c: Fix some typos in the
7477 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7479 * src/hildon-dialog.c:
7480 Change indentation style
7483 (hildon_note_button_release):
7484 Use root coordinates to check if the release event happened
7487 * src/hildon-app-menu.c
7488 (hildon_app_menu_button_release):
7489 Remove unnecessary check
7491 * examples/hildon-app-menu-example.c
7493 Add cast to fix warning
7495 * src/hildon-app-menu.c
7496 (hildon_app_menu_class_init):
7497 New inner-border style property.
7498 Set all default spacings to 16
7499 (hildon_app_menu_init):
7500 Use vertical-spacing to set the space between filter buttons and
7501 regular menu buttons.
7502 Set the default container border using the inner-border value.
7504 * examples/hildon-app-menu-example.c
7506 Don't set the menu border explicitly, now we have the inner-border
7507 style property for that.
7509 2008-06-11 Alberto Garcia <agarcia@igalia.com>
7511 * src/hildon-app-menu.c (hildon_app_menu_init):
7512 Make the window modal
7514 * src/hildon-note.c (hildon_note_map)
7515 * src/hildon-app-menu.c (hildon_app_menu_map):
7516 Destroy the grab window if we're unable to grab the pointer
7518 * src/hildon-app-menu-private.h
7519 * src/hildon-app-menu.c
7520 (hildon_app_menu_init, hildon_app_menu_finalize)
7521 (hildon_app_menu_map, hildon_app_menu_unmap)
7522 (hildon_app_menu_button_release)
7523 (grab_transfer_window_get):
7524 Bring back the grab window
7525 (hildon_app_menu_realize):
7526 Decorate the window, set WM hint for Matchbox
7528 * src/hildon-note.c (hildon_note_realize):
7529 * src/hildon-banner.c (hildon_banner_realize):
7530 Add WM hints for Matchbox
7532 2008-06-10 Alberto Garcia <agarcia@igalia.com>
7534 * src/hildon-app-menu-private.h
7535 * src/hildon-app-menu.c
7536 (hildon_app_menu_init, hildon_app_menu_finalize)
7537 (hildon_app_menu_map, hildon_app_menu_unmap)
7538 (hildon_app_menu_button_release):
7539 Remove the grab window, it's not needed anymore
7541 * src/hildon-program.c
7542 Fixed typo in documentation
7544 * src/hildon-app-menu.h
7545 * src/hildon-app-menu.c
7546 * examples/hildon-app-menu-example.c
7547 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
7549 2008-06-09 Alberto Garcia <agarcia@igalia.com>
7552 Added new transfer_window and close_if_pressed_outside private
7554 (hildon_note_rebuild):
7555 Don't add a cancel button to the information note. It will be
7556 closed when tapping outside
7557 Remove the comment about the OK button in the documentation
7558 (hildon_note_realize):
7559 Set the notification type hint
7560 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
7561 Grab/ungrab pointer and keyboard if the note has to be closed when
7563 (hildon_note_button_release):
7564 Close the note when tapping outside (if applicable)
7566 * src/hildon-app-menu.c
7567 Grab/ungrab pointer and keyboard on map/unmap
7568 (hildon_app_menu_button_release, hildon_app_menu_class_init):
7569 Close the menu on button release, not button press
7571 * src/hildon-banner.c
7572 (hildon_banner_set_property)
7573 (hildon_banner_check_position):
7574 Make the banner use the full width of the screen
7575 (hildon_banner_show_information)
7576 (hildon_banner_show_information_with_markup):
7577 Don't display an icon by default
7579 2008-06-09 Alejandro G. Castro <alex@igalia.com>
7581 Added fading scrollbars and adapted all the overshooting code to
7582 horizontal scrolling. We have also fixed bugs with overshooting
7583 and current fading implementation.
7585 * src/hildon-pannable-area.c
7586 (hildon_pannable_area_scroll_indicator_fade): Time out function
7587 used to change the transparency of the scrollbars.
7589 (hildon_pannable_area_button_press_cb): Added horizontal overshot
7590 control and fixed a problem with fading, we now remove the fade
7591 timeout before adding a new one.
7593 (hildon_pannable_axis_scroll):
7594 (hildon_pannable_area_scroll):
7595 (hildon_pannable_area_timeout): Added this functions so we can use
7596 the scroll code both for vertical and horizontal.
7598 (hildon_pannable_area_motion_notify_cb):
7599 (hildon_pannable_area_button_release_cb): Added the horizontal
7600 scrolling control, fixed a problem with the overshooting timeout.
7602 (rgb_from_gdkcolor): Added this function, it is used in the cairo
7603 painting of the scrolls.
7605 (hildon_pannable_draw_vscroll):
7606 (hildon_pannable_draw_hscroll):
7607 (hildon_pannable_area_expose_event):
7608 Draw both scrollbars and rectangles in the overshooting area.
7610 (hildon_pannable_area_get_property):
7611 (hildon_pannable_area_set_property):
7612 Modified the overshoot property to overshoot_max
7614 (hildon_pannable_area_map):
7615 Replaced the comments symbols.
7617 (hildon_pannable_area_size_allocate):
7618 (hildon_pannable_area_class_init):
7619 (hildon_pannable_area_init): Added horizontal scroll, fading
7620 effect properties, fixed a problem when overshooting in the bottom
7623 * examples/hildon-pannable-area-example.c:
7624 (get_sawtooth_label): Now we use smaller sawtooths, the effect
7625 looks better in the example.
7627 2008-06-03 Alberto Garcia <agarcia@igalia.com>
7629 * src/hildon-window.c
7630 * src/hildon-window.h
7631 (hildon_window_class_init)
7632 (hildon_window_unset_program)
7633 (hildon_window_unset_program_real):
7634 Make unset_program a virtual function
7636 * src/hildon-stackable-window.c
7637 * src/hildon-stackable-window.h
7638 Added hildon_stackable_window_go_home()
7640 * examples/Makefile.am
7641 * examples/hildon-stackable-window-example.c
7642 HildonStackableWindow example
7644 2008-06-03 Alejandro G. Castro <alex@igalia.com>
7646 * hildon-pannable-area.c: Added the overshoot property and removed
7647 the OVERSHOOT define. Fixed an indent style error.
7648 (hildon_pannable_area_motion_notify_cb):
7649 (hildon_pannable_area_get_property):
7650 (hildon_pannable_area_set_property): Add overshoot property.
7652 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
7655 (hildon_pannable_area_class_init): Installed the new property.
7657 * hildon-pannable-area-example.c: Added a sawtooth function, this
7658 way it is easier to check the movement in the pannable.
7659 (get_sawtooth_label): Added this function.
7660 (main): Now we get the labels from the new get_sawtooth_label
7663 2008-05-26 Alberto Garcia <agarcia@igalia.com>
7665 * src/hildon-app-menu.h
7666 * src/hildon-app-menu.c
7667 Renamed API variables for consistency
7669 (hildon_app_menu_popup): Use also the default window size to
7670 decide where to place the menu
7672 (hildon_app_menu_init, hildon_app_menu_class_init): New
7673 external-border style property
7675 2008-05-26 Michael Natterer <mitch@imendio.com>
7677 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
7678 widget_class->tap_and_hold_setup signal slot doesn't exist any
7679 longer, stop overriding it.
7681 (hildon_time_editor_init): g_signal_connect() to the
7682 tap-and-hold-setup signal instead.
7684 (hildon_time_editor_entry_keypress): add cast to fix warning.
7686 2008-05-23 Alberto Garcia <agarcia@igalia.com>
7688 * doc/hildon-docs.sgml
7690 * examples/Makefile.am
7691 * examples/hildon-app-menu-example.c
7693 * src/hildon-app-menu-private.h
7694 * src/hildon-app-menu.c
7695 * src/hildon-app-menu.h
7697 New HildonAppMenu widget
7699 2008-05-21 Alejandro G. Castro <alex@igalia.com>
7701 Rearranged the inheritance of the pannable area, now it inherits
7702 from GtkBin. This will allow us to control the event_window and
7703 the allocation process of the widget, required for some effects.
7705 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
7706 GtkBin structures. * src/hildon-pannable-area.c: Added the
7707 event_window variable.
7708 (hildon_pannable_area_button_press_cb):
7709 (hildon_pannable_area_button_release_cb):
7710 (hildon_pannable_area_motion_notify_cb):
7711 Changed the signature of the method, now we override the event
7712 callback instead of connecting to the signal.
7714 (hildon_pannable_area_realize):
7715 (hildon_pannable_area_unrealize):
7716 (hildon_pannable_area_map):
7717 (hildon_pannable_area_unmap):
7718 (hildon_pannable_area_size_allocate):
7719 Added functions to control the widget construction. We add a
7720 INPUT_ONLY window and we put it over the widgets inside the
7721 container, this event_window handles the events.
7723 (hildon_pannable_area_class_init):
7724 Replaced the signal connections with overrides of the event
7727 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7729 Bouncing effect added when touching the borders, you can change
7730 the elasticity of the border changing the ELASTICITY define.
7732 * src/hildon-pannable-area.c: Added ELASTICITY define.
7733 (hildon_pannable_area_timeout): Added inverse velocity when
7734 touching the border of the child widget, that causes a bounce.
7736 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7738 Improved performance, we now do not go to the X server in order to
7739 get the list of window children. Apparently the effect is the
7740 same, we have to be careful and check if this breaks something in
7743 * src/hildon-pannable-area.c:
7744 (get_ordered_children): Removed this function.
7745 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
7746 the children windows function with gdk_window_get_children.
7748 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7750 * src/hildon-pannable-area.c:
7751 (hildon_pannable_area_dispose): Fixed a crash when closing the
7752 window and kinetics is activated.
7754 2008-05-19 Alberto Garcia <agarcia@igalia.com>
7756 * src/hildon-pannable-area.h
7757 * src/hildon-pannable-area.c
7758 Changed indentation style to meet the one used in Hildon
7760 2008-05-19 Alejandro G. Castro <alex@igalia.com>
7762 Reviewed the interaction of the AUTO mode, now we use the time
7763 attribute of the events and calculate the velocity in the motion,
7764 doing a gimp like calculation. The velocity is calculated in each
7765 motion event using the last velocity and the current one, the
7766 SMOOTH_FACTOR controls the percentage of the new velocity we use.
7768 * src/hildon-pannable-area.c: Replaced the time based algorithm
7770 (hildon_pannable_area_motion_notify_cb): now we do not launch the
7771 timeout for the AUTO mode when we are still moving the cursor. We
7772 added also the velocity calculation in this function.
7773 (hildon_pannable_area_button_release_cb): launch the timeout in
7774 case we are in AUTO mode. There are still some constants here that
7775 come from the old implementation that should be reviewed and
7778 2008-05-15 Alberto Garcia <agarcia@igalia.com>
7780 * doc/hildon-docs.sgml
7783 * src/hildon-stackable-window.c
7784 * src/hildon-stackable-window.h
7786 New HildonStackableWindow widget
7788 * examples/hildon-dialog-example.c
7789 * examples/hildon-pannable-area-example.c
7792 2008-05-14 Alberto Garcia <agarcia@igalia.com>
7794 * src/hildon-dialog.c
7795 (hildon_dialog_new_with_buttons): New constructor.
7797 * examples/hildon-dialog-example.c
7798 (main): Update the example to use the new
7799 hildon_dialog_new_with_buttons().
7801 * examples/hildon-pannable-area-example.c
7802 (main): Update example.
7804 2008-05-13 Alberto Garcia <agarcia@igalia.com>
7806 * doc/hildon-docs.sgml
7808 Added HildonPannableArea to the documentation.
7810 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
7812 * doc/visual_index.xml
7813 Fix reference to HildonLoginDialog in documentation
7815 * doc/hildon-docs.sgml
7817 * examples/Makefile.am
7818 * examples/hildon-dialog-example.c
7820 * src/hildon-dialog.c
7821 * src/hildon-dialog.h
7823 New HildonDialog widget.
7825 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7827 * src/hildon-pannable-area.c
7828 Merge latest changes (r4318, r4342) from libmokoui trunk
7830 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7832 * examples/Makefile.am
7833 * examples/hildon-pannable-area-example.c
7835 * src/hildon-pannable-area.c
7836 * src/hildon-pannable-area.h
7838 New HildonPannableArea widget.
7840 2008-04-15 18:05:19 <timj@imendio.com>
7842 * src/hildon-banner.c: revert the recent change, that introduced
7843 gtk_window_present() calls. this reopens:
7844 Bug 78481 - [freetest] information banners are hidden under browser menu
7845 But resolves another variant of:
7846 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7848 2008-04-15 13:21:13 <timj@imendio.com>
7850 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
7851 recreated its layout, spotted by Kris. this fixes all remaining
7852 artefacts and stability issues with the banner code. in particular:
7853 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7855 2008-04-14 16:52:59 <timj@imendio.com>
7857 * src/hildon-banner.c: guard force_to_wrap_truncated() against
7858 operating on unrealized widgets, fixes:
7859 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7861 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
7863 2008-04-09 Kristian Rietveld <kris@imendio.com>
7865 Fixes: NB#77775: Media Player, Save Now playing list, too long name
7866 makes banner disappear.
7867 Fixes: NB#79182: info banner flickering with certain message lengts.
7869 * src/hildon-banner.c (hildon_banner_constructor),
7870 (hildon_banner_init), (hildon_banner_set_text),
7871 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
7872 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
7873 FALSE, reset size requests of label and banner,
7874 (force_to_wrap_truncated): when the text is too wide, always enforce
7875 the maximum possible width instead of recalculating it from the
7876 layout; enforce the maximum banner height of 3 lines,
7877 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
7878 nicer wrapping and no truncated chars if space gets tight.
7880 * src/hildon-banner-private.h: add has_been_wrapped and
7881 has_been_truncated fields.
7883 2008-04-07 Sven Herzberg <sven@imendio.com>
7885 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
7886 local values in hildon_date_editor_size_allocate
7888 * src/hildon-date-editor.c: moved the real allocation code into the
7891 2008-04-07 Sven Herzberg <sven@imendio.com>
7893 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7894 local values in hildon_date_editor_size_allocate
7896 * src/hildon-date-editor.c: merged the two if() branches together
7898 2008-04-07 Sven Herzberg <sven@imendio.com>
7900 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7901 local values in hildon_date_editor_size_allocate
7903 * src/hildon-date-editor.c: changed the arguments of the if()
7906 2008-04-07 Sven Herzberg <sven@imendio.com>
7908 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7909 local values in hildon_date_editor_size_allocate
7911 * src/hildon-date-editor.c: split the calculation of the allocation
7912 from the real allocation
7914 2008-03-27 Michael Natterer <mitch@imendio.com>
7916 Fixes: NB#81696: The passcode is not overwritten even after
7919 * src/hildon-code-dialog.c
7920 (hildon_code_dialog_button_clicked)
7921 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
7922 because that doesn't overwrite selected text. Instead, emit the
7923 "commit" signal on the entry's im_context so the entry's normal
7924 insert logic is triggered. Set the cursor to the end of the entry
7925 after each insert operation so that we *only* insert in the middle
7926 of the text if something was selected.
7928 2008-03-27 Michael Natterer <mitch@imendio.com>
7930 Enable fixing: NB#79916 and NB#79918: The help topic for Color
7931 selector cannot be opened
7933 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
7934 when the popup color selector is created. Please connect to this
7935 signal in order to set the dialog's help ID.
7937 2008-03-25 Sven Herzberg <sven@imendio.com>
7939 Fixes: MB#1212: Hide info banners (infoprints) on click
7941 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
7942 extracted the close event simulation into an extra function
7943 (hildon_banner_button_press_event): simulate a close event and destroy
7944 the widget if the event wasn't handled
7945 (hildon_banner_class_init): added the button_press_event handler
7946 (hildon_banner_init): added button-press events to the widget
7948 2008-03-25 Sven Herzberg <sven@imendio.com>
7950 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
7951 Patch from: Mohammad Anwari <mdamt@maemo.org>
7953 * src/hildon-banner.c: let the HildonBanners pop up on the left side
7954 instead of the right in RTL mode
7955 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
7956 breadcrumb button list in RTL mode
7957 * src/hildon-caption.c: mirror the appearance of the caption widget in
7959 * src/hildon-date-editor.c: mirror appearance of the date editor in
7961 * src/hildon-time-editor.c: mirror appearance of the time editor in
7963 * src/hildon-window.c: fix the position of the popup in RTL mode
7965 2008-03-25 Sven Herzberg <sven@imendio.com>
7967 Amendment to the fix of NB#22072. Fix compilation.
7969 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
7971 2008-03-19 Sven Herzberg <sven@imendio.com>
7973 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
7976 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
7977 timeout id properly when the timeout will disappear this leaves no
7978 artifacts around in the destroy(); there will only be the timeout
7979 created by hildon_banner_ensure_timeout() and adding a new timeout
7980 will also work if the timeout gets removed because the timeout_handler
7983 2008-03-19 Michael Natterer <mitch@imendio.com>
7985 Fixes: NB#79791: Cannot set focus to Master volume using stylus
7987 * src/hildon-volumebar.c
7988 * src/hildon-vvolumebar.c
7989 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
7990 the widget becomes focussable at all.
7992 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
7993 set the focus to wither the mute button or the volumebar.
7995 Remove own "can-focus" property and instead listen to
7996 notify::can-focus in order to update the widget's state.
7998 Implement GtkWidget::focus() and make sure we can also *leave* the
7999 widget, not only enter it, depending on volumebar orientation and
8000 requested focus direction.
8002 Clean up set_mute() to cooperate nicely with all the above.
8004 2008-03-04 Michael Natterer <mitch@imendio.com>
8006 Fixes: NB#78481: information banners are hidden under browser menu
8008 * src/hildon-banner.c: call gtk_window_present() on the banners so
8009 they are risen if they are already visible.
8011 2008-03-03 Sven Herzberg <sven@imendio.com>
8013 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8015 * examples/hildon-window-menu-example.c: (main): extended the window
8016 menu example to serve as a testcase for automatically added
8017 accelerator groups, too
8018 * src/hildon-window.c: (hildon_window_add_accel_group),
8019 (hildon_window_set_menu): added patch by Tommi Komulainen
8021 2008-03-03 Sven Herzberg <sven@imendio.com>
8023 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8025 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8026 knowledge about the border allocators used within GTK+
8028 2008-02-26 Sven Herzberg <sven@imendio.com>
8030 Fixes: MB#2981: Build with asserts broken
8032 * src/hildon-date-editor.c,
8033 * src/hildon-number-editor.c,
8034 * src/hildon-time-editor.c,
8035 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8036 the proper GType instance check
8038 2008-02-25 Sven Herzberg <sven@imendio.com>
8040 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8042 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8043 * examples/hildon-window-menu-example.c: (main): explicitly show
8045 * src/hildon-window.c:
8046 (hildon_window_set_main_menu): moved most of the code from set_menu()
8047 to this place; skipped the call to gtk_widget_show_all(); also didn't
8048 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8049 (hildon_window_set_menu): removed most of the code, just keep the
8050 questionable gtk_widget_show_all()
8051 * src/hildon-window.h: added the new function and deprecate the old
8054 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8060 * debian/changelog: Updating.
8062 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8065 * pkgconfig/Makefile.am:
8066 * pkgconfig/hildon.pc.in:
8069 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8070 use newly created API_MAJOR_VERSION.
8072 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8078 * debian/changelog: Updating.
8080 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8082 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8084 Add outer_border style property, we use it but don't define it (!).
8088 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8090 * examples/hildon-bread-crumb-trail-example.c (main):
8094 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8096 Fix logic for the bread crumb trail node removal.
8100 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8106 * debian/changelog: Updating.
8108 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8110 Patch by Alejandro to get/set passwords dialogs accesibility.
8112 * hildon-1/src/hildon-get-password-dialog.c:
8113 * hildon-1/src/hildon-set-password-dialog.c:
8114 Set atk_set_name to the passwd entries in order to allow
8115 accessibility by name on this entries.
8117 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8122 * debian/control: Updating gtk dep.
8124 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8126 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8127 USE_MAEMO_GTK is enabled.
8129 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8131 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8132 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8134 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8140 * debian/changelog: Updating.
8142 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8144 * examples/Makefile.am:
8145 * examples/hildon-logical-color-example.c:
8146 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8147 applied + adding a test case. Fixes: NB#71660.
8149 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8151 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8152 to be visible, fixes warning on map for windows without toolbars.
8154 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8156 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8157 2.11.0, add a check for that besides the MAEMO_GTK check.
8159 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8165 * debian/changelog: Updating.
8167 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8169 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8170 visibility. Fixes: NB#70842 and MB#615.
8172 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8174 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8175 set the separator as no-show-all so it doesn't unintentionally appear when
8176 someone does a show_all.
8178 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8180 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8181 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8182 toplevel item. Fixes: NB#62031
8184 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8186 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8187 fix the name of the function in the docs.
8189 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8195 * debian/changelog: Updating.
8197 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8199 * examples/hildon-banner-long-example.c: Adding a test-case for long
8202 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8204 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8206 * src/hildon-color-chooser-dialog.c:
8207 * src/hildon-color-chooser.c:
8208 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8209 memory leaks in font selector and color selector. Fixes: NB#70499 and
8212 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8214 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8216 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8218 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8219 little bit bigger. Fixes: #NB63694.
8221 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8227 * debian/changelog: Updating.
8229 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8232 * doc/hildon-docs.sgml:
8233 * doc/images/bread-crumb-trail.png:
8234 * doc/images/calendar-popup.png:
8235 * doc/images/caption.png:
8236 * doc/images/code-dialog.png:
8237 * doc/images/color-button.png:
8238 * doc/images/color-chooser-dialog.png:
8239 * doc/images/color-chooser.png:
8240 * doc/images/controlbar.png:
8241 * doc/images/date-editor.png:
8242 * doc/images/font-selection-dialog.png:
8243 * doc/images/get-password-dialog.png:
8244 * doc/images/hvolumebar.png:
8245 * doc/images/login-dialog.png:
8246 * doc/images/note.png:
8247 * doc/images/number-editor.png:
8248 * doc/images/range-editor.png:
8249 * doc/images/seekbar.png:
8250 * doc/images/set-password-dialog.png:
8251 * doc/images/sort-dialog.png:
8252 * doc/images/time-editor.png:
8253 * doc/images/time-picker.png:
8254 * doc/images/vvolumebar.png:
8255 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8256 Adding the bread-crumb-trial and helpers to the documentation.
8258 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8260 * examples/hildon-find-toolbar-example.c:
8261 * src/hildon-find-toolbar.c:
8262 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8263 actually continue firing the other handlers if connected. Adding a new
8265 hildon_find_toolbar_get_last_index that gets the index of the most
8266 recently added (last) item. Fixes: NB#52301.
8268 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8270 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8271 behaviour. Fixes: NB#68610.
8273 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8275 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8278 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8280 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8281 when realizing the banner. Should make the infonbanner effect a bit more
8284 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8286 * src/hildon-volumebar.c:
8287 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8288 hildon_volumebar_set_range_insensitive_message and
8289 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8291 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8293 * src/hildon-window.c: Fixing the border freeing on destroy.
8295 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8297 * src/hildon-code-dialog-private.h:
8298 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8299 kw keyboard support in HildonCodeDialog.
8301 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8307 * debian/changelog: Updating.
8309 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8311 * src/hildon-date-editor.c:
8312 * src/hildon-number-editor.c:
8313 * src/hildon-private.c:
8314 * src/hildon-private.h:
8315 * src/hildon-time-editor.c:
8316 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8317 handling in subclassed composite widgets. Fixes: NB#66628.
8319 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8321 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8322 from destroy_ callback as it introduces problems in async dbus signal
8323 handlers. Fixes NB#66673.
8325 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8327 * examples/hildon-hvolumebar-example.c:
8328 * src/hildon-volumebar.c: Improving the focus handling in the
8329 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8330 set_property accessor so that "mute" property can be actually set. I'm
8331 scared that nobody noticed it's totally broken.
8333 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8335 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8338 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8340 * src/hildon-calendar.c:
8341 * src/hildon-number-editor.c:
8342 * src/hildon-time-picker.c: Changing the timeout repeat so that it
8343 matches the spec of 6 chars per second. Fixes: NB#60489.
8345 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8347 * src/hildon-helper.c: Really fixing NB#58352. Looks like
8348 gtk_style_lookup_color sometime returns FALSE even though color was
8349 found and values were filled properly. Weird. Removing the warning for the
8352 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8354 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8355 expand vertically. Adding some extra space to the find toolbar buttons to
8356 make them thumbable. Fixes NB#66060.
8358 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8360 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8361 popup with "Ok" and "Cancel". Fixes NB#59299.
8363 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8365 * src/hildon-calendar.c: Process all window updates before executing next
8366 timeout. Fixes: NB#54146.
8368 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8374 * debian/changelog: Updating.
8376 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8378 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8379 the client event and ignore it, since we use the delete event to close
8382 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8384 * src/hildon-helper.c: Remove the bogus warning about color not being
8385 found. Fixes NB#58352.
8387 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8389 * examples/Makefile.am:
8390 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8391 HildonSeekbar widget inside a toolbar.
8393 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8395 * src/hildon-banner.c (hildon_banner_init): mark the banners as
8396 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8397 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8398 don't want to be closed by non-temporary windows on map.
8400 Also use G_DEFINE_TYPE instead of manually typed code.
8402 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8409 * debian/rules: Updating.
8411 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8413 * examples/Makefile.am:
8414 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8415 bug NB#61128. Strangely it works.
8417 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8419 * src/hildon-date-editor.c: When the date editor entry has been changed
8420 but the numbers of characters < max, turn off the skip validation flag.
8421 Prevents a situation when we enter first a valid year and later re-write
8422 it with an invalid one. Fixes NB#60154.
8424 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8426 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
8427 code dialog. Fixes NB#64355.
8429 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8431 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
8432 switching the page. Fixes NB#49374.
8434 * examples/Makefile.am:
8435 * examples/hildon-wizard-dialog-example.c: Adding an example for
8436 HildonWizardDialog that shows how to handle manual sensitivity setting on
8439 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8443 * src/hildon-version.h.in:
8444 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
8446 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8448 * src/hildon-volumebar.c: Updating the docs.
8450 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8456 * debian/changelog: Updating.
8458 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8460 * src/hildon-find-toolbar.c:
8461 * src/hildon-find-toolbar.h: Adding a few new functions to control the
8462 selected item: hildon_find_toolbar_set_active,
8463 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
8464 hildon_find_toolbar_get_active_iter . They correspond to respective
8465 GtkComboBox functions.
8467 * examples/Makefile.am:
8468 * examples/hildon-find-toolbar-example.c: Adding the example to test the
8471 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8473 * examples/Makefile.am:
8474 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
8477 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
8478 when font size > 32 and we pack a focusable widget inside. Actually using
8479 the default response would work too, but since we don't show default
8480 response state in any way (no theming) it would not be visible to the
8481 user. Fixes NB#63430.
8483 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8485 * src/hildon-date-editor.c: Adding the missing variable setter in the
8486 set_property handler. Fixes NB#54182.
8488 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8490 * src/hildon-window.h: Changing the long key press time from 1500ms to
8491 800ms as requested in NB#63700. I have a bad feeling about this, let's
8492 see... Fixes NB#63700.
8494 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
8496 * src/hildon-time-picker.c (hildon_time_picker_class_init,
8497 hildon_time_picker_map, hildon_time_picker_realize,
8498 hildon_time_picker_style_set): Split the contents of map to more
8499 appropriate functions; set window decorations on realize and update
8500 arrows' size requisitions on style-set. Avoids unnecessary resizing.
8502 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
8507 * debian/changelog: Updating.
8509 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
8511 * src/Makefile.am: fixed installation of the header files
8513 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8519 * debian/changelog: Updating.
8521 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8523 * configure.ac: Removing some remaining of --enable-xan.
8525 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
8527 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
8528 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
8530 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
8531 2.10.12-osso6 because the move-focus signal needs to be available in
8534 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8536 * examples/Makefile.am:
8537 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
8538 that makes a HildonVolumebar insensitive before mapping it. Seems to work
8539 fine. Prolly NB#61128 is fixed now.
8541 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8543 * src/hildon-volumebar.c:
8544 * src/hildon-volumebar.h: Adding the
8545 hildon_volumebar_set_range_insensitive_message and
8546 hildon_volumebar_set_range_insensitive_messagef functions to set
8547 insensitive message on the slider of the volumebar. Fixes NB#61129.
8549 * examples/Makefile.am:
8550 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
8551 test the new insensitive messsage functionality on HildonVolumebar.
8553 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
8555 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
8558 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
8560 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
8561 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
8562 button on after clearing the trail.
8564 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8566 * src/hildon-code-dialog.c: Removing the separator from the dialog.
8568 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8570 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
8571 by splitting the installed headers in generated and non-generated groups. Use
8572 only the non-generated headers to create the hildon-enum-types.h file.
8574 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
8576 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8578 * src/hildon-window.c: Hide the window before performing the destroy.
8579 Should make the app closing a little tiny bit more snappy.
8581 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8583 * src/hildon-seekbar.c: add gtkrange.h header
8584 * src/hildon-caption.c: remove unused variable
8586 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
8588 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
8591 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8597 * debian/changelog: Updating.
8599 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
8601 * src/hildon-window.c (hildon_window_window_state_event,
8602 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
8603 escape timeout on focus-out-event rather than notify::is-topmost; the
8604 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
8606 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8608 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
8609 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
8611 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8613 * src/hildon-window: actually, you need to use the macro always, there's
8614 no private pointer in the instance structure. We should have cleaned this up
8615 when we had the chance...
8617 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8619 * src/hildon-window.c: do not get the private date from HildonWindow before
8620 it passes the g_return_if_fail check. Once it's passed the test, there's no
8621 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
8622 if you are only going to access the data once. Whitespace cleanups.
8624 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
8626 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8627 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8629 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8635 * debian/changelog: Updating.
8637 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8639 * src/hildon-window.c: When destroying the window, remove (if exists) the
8640 escape timeout handler. Fixes #NB59276.
8642 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8644 * src/hildon-banner.c: When realizing the widget, set the window
8645 transiency. Setting the transiency in the gobject constructor is not
8646 good, as the widget is not realized at that point. Fixes: #NB56624.
8648 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8650 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
8651 Add padding for future expansions.
8653 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8655 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
8656 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
8657 will fake an activation on the previous to the last item of the trail, so
8658 the effect can be overrided by the developer as usual.
8659 Also change the callback for the back button to do the same thing, so its
8660 effect can be overrided too. Fixes: NB#58982
8662 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8664 * src/hildon-caption.c: Implementing the proper focus grabbing in the
8665 HildonCaption. Fixes NB#52379.
8667 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8669 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
8670 the internal state of the trail after the user has had the chance of executing
8671 his handler for the signal. Specifically, it may happen that the activated button
8672 is removed and the user still lets the default handler run. This would segfault
8675 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8677 * src/hildon-font-selection-dialog.c: When the font is really big, add the
8678 scrollbar to the preview dialog. Fixes NB#54147.
8680 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8682 * src/hildon-date-editor.c: Changing the default max year to 2037. The
8683 max/min year properties can be altered, so the client can modify it
8684 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
8686 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8688 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
8689 hildonlike by default. Fixing a problem with disappearing arrows when
8690 scrolling through months and years. Fixes NB#54127.
8692 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8694 * examples/hildon-date-editor-example.c: Adding error callback to the date
8697 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8703 * configure.ac: Updating.
8705 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8707 * configure.ac: Adding a special '--enable-xan' configure option that
8708 turns off the -Werror compilation setting. Usefull for development.
8710 * src/hildon-calendar.c:
8711 * src/hildon-number-editor.c:
8712 * src/hildon-time-picker.c: Adding the 5* multiplier to
8715 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
8717 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
8718 instead of g_object_ref + gtk_object_sink.
8720 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8726 * debian/changelog: Updating.
8728 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8730 * src/hildon-color-chooser-dialog.c:
8731 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
8732 straight from Tommi labs.
8734 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8736 * examples/hildon-finger-example.c: Correcting the header file path.
8738 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
8739 the changed signal. Fixes a small memory leak.
8741 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8745 * src/hildon-banner.c: Importing several usefull fixes from the
8746 ubuntu-mobile branch.
8748 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8750 * examples/Makefile.am:
8751 * examples/hildon-finger-example.c: Adding a finger-checking code
8754 * src/hildon-font-selection-dialog.c: Do not allocate the color
8755 structure using the g_new. Fixes NB#54061.
8757 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8759 * src/hildon-helper.c: Correcting tabs in file.
8761 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
8763 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
8764 control the visibility of the children.
8766 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
8768 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8774 * debian/changelog: Updating.
8776 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8778 * src/hildon-bread-crumb-trail.c:
8779 (hildon_bread_crumb_trail_size_allocate):
8781 Make the back button always a square.
8783 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8785 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
8786 from the .c file as it's a private file.
8788 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8790 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
8791 uses slightly bigger height.
8793 * src/hildon-font-selection-dialog.c: Adding some checks before
8794 freeing memory in the font selection dialog.
8796 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8798 * src/hildon-font-selection-dialog.c: Adding a small check when
8801 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
8802 buttons sensitivity on page switching.
8804 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
8806 * src/hildon-bread-crumb-trail.c: make the add method handle all the
8807 internal details of adding a bread crumb to the trail.
8809 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8815 * debian/changelog: Updating.
8817 * src/hildon-bread-crumb-trail.h:
8818 * src/hildon-bread-crumb.h: Changing the API guard to
8819 HILDON_ENABLE_UNSTABLE_API.
8821 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8829 * src/hildon-helper.h: Updating.
8831 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8839 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8843 * src/hildon-helper.h: Small fix to make the package actually compile.
8845 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8847 * src/hildon-bread-crumb-trail.h:
8848 * src/hildon-bread-crumb.h:
8850 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
8851 to define ENABLE_UNSTABLE_API in the code that includes these headers.
8853 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8855 * examples/hildon-bread-crumb-trail-example.c:
8857 * src/hildon-bread-crumb-trail.c:
8858 * src/hildon-bread-crumb-trail.h:
8859 * src/hildon-bread-crumb.c:
8860 * src/hildon-bread-crumb.h:
8861 * src/hildon-marshalers.list:
8862 * src/hildon-bread-crumb-widget.c:
8863 * src/hildon-bread-crumb-widget.h:
8865 Slight change in the widget design. The bread crumb trail API is
8866 unchanged, but HildonBreadCrumb is now an interface. A *private*
8867 implementation, hildon-bread-crumb-widget, is provided and used
8868 internally by the trail for the push_text/push_icon functions.
8870 The generic push API is still available, so anyone can implement
8871 and use its own bread crumb widget.
8873 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8875 * debian/rules: Fixing the shlibs.
8877 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8879 * src/hildon-banner.c: Fixing a problem with timed banners having
8880 their parrent destroyed before they are.
8882 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
8884 * src/hildon-bread-crumb.c:
8885 * src/hildon-bread-crumb.h:
8887 Make the get_natural_size function a vfunc.
8889 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8891 * src/hildon-bread-crumb.c:
8892 * src/hildon-bread-crumb-trail.c:
8896 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8903 * debian/changelog: Updating for release.
8905 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8907 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
8908 don't leak the pango layout.
8910 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8913 * examples/hildon-bread-crumb-trail-example.c:
8917 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8919 * debian/changelog: Removing the bug-fixed entries that were actually
8920 resolved as WONTFIX.
8922 * src/hildon-date-editor.c: Removing a redundant check. Fixes
8925 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8927 * src/hildon-bread-crumb-trail.c:
8928 * src/hildon-bread-crumb-trail.h:
8929 * src/hildon-bread-crumb.c:
8930 * src/hildon-bread-crumb.h:
8934 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8936 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
8937 until it's passed the type check.
8939 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8941 * examples/hildon-bread-crumb-trail-example.c
8945 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8947 * examples/Makefile.am
8948 * examples/hildon-bread-crumb-trail-example.c
8950 * src/hildon-bread-crumb-trail.c
8951 * src/hildon-bread-crumb-trail.h
8952 * src/hildon-bread-crumb.c
8953 * src/hildon-bread-crumb.h
8955 New HildonBreadCrumbTrail widget.
8957 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
8959 * src/hildon-range-editor.c (hildon_range_editor_init),
8960 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
8961 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
8962 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
8963 hildon_time_editor_class_init, hildon_time_editor_init),
8964 src/hildon-get-password-dialog.c (invalid_input,
8965 hildon_get_password_set_property, hildon_get_password_get_property,
8966 create_contents, hildon_get_password_dialog_set_max_characters),
8967 src/hildon-set-password-dialog.c (create_contents),
8968 src/hildon-date-editor.c (hildon_date_editor_init),
8969 src/hildon-login-dialog.c (hildon_login_dialog_init),
8970 src/hildon-number-editor.c (hildon_number_editor_init),
8971 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
8972 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
8973 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
8974 configure option and adding the respective checks in the code.
8975 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
8976 hildon_calendar_drag_data_received): fixed some build warnings.
8978 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8980 * debian/changelog: A 1.0.0 release notes.