1 2009-06-18 Alberto Garcia <agarcia@igalia.com>
3 * hildon/hildon-window-stack.c
4 (hildon_window_stack_pop_and_push_list):
5 Prevent windows from having the same stack index
7 2009-06-18 Alberto Garcia <agarcia@igalia.com>
9 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
10 Use the index of the previous window rather than the stack length
11 to calculate the new index.
15 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
17 * hildon/hildon-date-selector.c
18 (hildon_date_selector_select_current_date)
19 (hildon_date_selector_get_date)
20 (hildon_date_selector_select_day):
21 Update the documentation: uses always the range (1-31), as it is obvious
22 that the final one will depend on the month and the year, but globally
23 the range is this, in a similar GtkCalendar approach
24 (hildon_date_selector_get_date):
25 Update the documentation: add NULL as a valid value for the day, month
28 Fix some details, after talk with David King on bug MB#4698
30 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
32 * hildon/hildon-touch-selector-entry.c
33 * hildon/hildon-touch-selector.c
34 Update the documentation of the "text-column" property
36 2009-06-18 David King <davidk@openismus.com>
38 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
39 several typos and errors throughout the documentation.
41 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
44 2009-06-18 Alberto Garcia <agarcia@igalia.com>
46 * hildon/hildon-note.c (hildon_note_realize):
47 Make HildonNote support portrait mode.
49 Fixes: NB#123448 (HildonNote is not portrait-friendly)
51 2009-06-17 Alberto Garcia <agarcia@igalia.com>
53 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
54 Document this function
56 2009-06-17 David King <davidk@openismus.com>
58 * hildon/hildon-date-selector.c
59 (hildon_date_selector_select_current_date)
60 (hildon_date_selector_get_date): Update documentation regarding days,
61 as the day of the month is dependent on both the month and the year.
62 (hildon_date_selector_get_date): Fix documentation of output arguments.
64 Fixes: MB#4698 (DateSelector documentation has bad output argument
65 description, and the day depends on both the month and the year)
67 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
69 * hildon/hildon-caption.c: Other documentation fixes to
72 2009-06-17 David King <davidk@openismus.com>
74 * hildon/hildon-caption.c: Minor documentation updates for
75 HildonCaption. Fixes MB#4697.
77 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
79 * doc/hildon-docs.sgml: Add hildon-version section.
80 * doc/hildon-sections.txt:
81 * hildon/hildon-version.h.in: Document versioning macros and
84 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
86 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
87 from HildonPickerDialog section.
89 2009-06-16 Alberto Garcia <agarcia@igalia.com>
91 * hildon/hildon-banner.c (hildon_banner_bind_style)
92 (screen_size_changed, hildon_banner_init)
93 (hildon_banner_real_show_information)
94 (hildon_banner_show_information_with_markup)
95 (hildon_banner_show_animation, hildon_banner_show_progress):
96 Set a different widget name to banners in portrait mode, for them
97 to be themed correctly.
99 2009-06-16 Alberto Garcia <agarcia@igalia.com>
101 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
102 Set a different widget name to notes in portrait mode, for them to
105 Partially fixes: NB#118401 (HildonNote causes unnecessary
108 2009-06-16 Alberto Garcia <agarcia@igalia.com>
110 * hildon/hildon-note.c (hildon_note_class_init)
111 (+hildon_note_size_request, screen_size_changed):
112 Always request the full width of the screen.
114 Fixes: NB#118375 (unnecessary rescaling of images)
116 2009-06-16 Alejandro G. Castro <alex@igalia.com>
118 * hildon/hildon-pannable-area.c,
119 (hildon_pannable_area_init),
120 (hildon_pannable_area_realize): Replaced old code adding flags in
121 the object init, now we add it with the other flags in the realize
124 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
126 * hildon/hildon-note.c: (hildon_note_class_init): Several
127 documentation improvements to the HildonNote widget.
129 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
131 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
133 Fixes: MB#4556 (HildonNoteType is undocumented)
135 2009-06-15 Alberto Garcia <agarcia@igalia.com>
137 * hildon/hildon-picker-button.c:
138 Explain how HildonPickerButton sets the title of its dialog
140 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
141 the title of its dialog)
143 2009-06-15 Alberto Garcia <agarcia@igalia.com>
145 * hildon/hildon-check-button.c:
146 Documentation updates
148 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
151 2009-06-15 Alberto Garcia <agarcia@igalia.com>
154 * hildon/hildon-edit-toolbar-private.h
155 * hildon/hildon-edit-toolbar.c
156 (+hildon_edit_toolbar_set_progress_indicator)
157 (hildon_edit_toolbar_init): Add progress indicator to the
160 * hildon/hildon-gtk.c
161 (hildon_gtk_window_set_progress_indicator):
162 If the window contains a HildonEditToolbar, enable the progress
165 * hildon/hildon-private.h
166 * hildon/hildon-private.c
167 (+hildon_private_create_animation)
168 * hildon/hildon-banner.c
169 (-hildon_banner_create_animation):
170 Moved to hildon-private.c
172 Fixes: NB#102373 (Progress indicator also for the Edit mode
175 2009-06-15 Alberto Garcia <agarcia@igalia.com>
177 * hildon/hildon-app-menu-private.h
178 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
179 (hildon_app_menu_add_filter, +menu_item_button_event)
180 (hildon_app_menu_button_release, hildon_app_menu_init):
181 Make sure that buttons receive 'button-release-event' in spite of
182 the grab held by HildonAppMenu
184 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
186 2009-06-15 Alberto Garcia <agarcia@igalia.com>
188 * hildon/hildon-app-menu.c
189 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
190 New style property to set the size of the group of filter buttons.
192 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
194 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
199 * configure.ac: Bump version.
200 * debian/changelog: Updates.
202 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
204 * hildon/hildon-main.c: Minor documentation fixes.
206 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
208 * doc/hildon-sections.txt:
209 * hildon/hildon-defines.h: Document the defines, organize them,
210 and mark deprecations as such.
212 Fixes: MB#4463 (Hildon size #defines are undocumented)
214 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
216 * hildon/hildon-animation-actor.c:
217 * hildon/hildon-app-menu.c:
218 * hildon/hildon-button.c:
219 * hildon/hildon-date-editor.c:
220 * hildon/hildon-dialog.c:
221 * hildon/hildon-edit-toolbar.c:
222 * hildon/hildon-entry.c:
223 * hildon/hildon-program.c:
224 * hildon/hildon-remote-texture.c:
225 * hildon/hildon-stackable-window.c:
226 * hildon/hildon-text-view.c:
227 * hildon/hildon-touch-selector.c:
228 * hildon/hildon-window-stack.c:
229 * hildon/hildon-window.c:
231 Remove redundant "represents" wording from most of the documentation.
233 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
235 2009-06-12 Alberto Garcia <agarcia@igalia.com>
240 * hildon/hildon-banner-private.h
241 * hildon/hildon-banner.c:
242 Move HildonBannerPrivate to hildon-banner.c and remove
243 hildon-banner-private.h
244 Use a bit field to store private booleans.
246 2009-06-12 Alberto Garcia <agarcia@igalia.com>
248 * hildon/hildon-app-menu.c (hildon_app_menu_map):
249 Don't install a new idle function if there's already one
254 2009-06-11 Alberto Garcia <agarcia@igalia.com>
256 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
257 (+legacy_menu_realized, +legacy_menu_unmapped)
258 (+set_legacy_menu_type):
259 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
260 they can be identified by the window manager.
262 Fixes: NB#101437 (Invoking CSM on the left side of page area is
263 displayed in wrong location)
265 Fixes: MB#4563 (Popup menu won't locate at the left side of the
268 2009-06-11 Alberto Garcia <agarcia@igalia.com>
270 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
272 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
275 2009-06-11 Alberto Garcia <agarcia@igalia.com>
277 * hildon/hildon-code-dialog.c
278 * hildon/hildon-date-editor.c
279 * hildon/hildon-number-editor.c
280 * hildon/hildon-seekbar.c
281 * hildon/hildon-stackable-window.c
282 * hildon/hildon-window.c:
283 Misc documentation updates
285 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
287 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
288 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
290 Fixes: NB#117931 (Theming issues in accounts dialogs)
292 2009-06-09 Alejandro G. Castro <alex@igalia.com>
294 * hildon/hildon-pannable-area.c,
295 (hildon_pannable_area_button_release_cb): Changed the coordinates
296 of the original release in case we want to discard the release,
297 some widgets in Fremantle do not handle the leave-notify.
299 2009-06-09 Alejandro G. Castro <alex@igalia.com>
301 * hildon/hildon-pannable-area.c,
302 (hildon_pannable_area_button_release_cb): Reviewed the logic of
303 the release using the last refactored functions and avoiding the
304 movement if an element was selected.
306 2009-06-09 Alejandro G. Castro <alex@igalia.com>
308 * hildon/hildon-pannable-area.c,
309 (hildon_pannable_area_check_move),
310 (hildon_pannable_area_handle_move),
311 (hildon_pannable_area_motion_notify_cb): Refactored the
312 motion_notify method using a couple of new functions.
314 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
316 * hildon/hildon-date-selector.c:
317 (hildon_date_selector_construct_ui):
318 * hildon/hildon-time-selector.c:
319 (hildon_time_selector_constructor):
320 * hildon/hildon-touch-selector-entry.c:
321 (hildon_touch_selector_entry_set_text_column),
322 (hildon_touch_selector_entry_get_text_column):
323 * hildon/hildon-touch-selector.c: (_default_print_func),
324 (hildon_touch_selector_new_text): Use
325 hildon_touch_selector_set/get_text_column() instead of
326 setting/getting the "text-column" property.
328 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
330 * doc/hildon-sections.txt: Add the new public methods below.
332 * examples/hildon-picker-button-multicolumn-example.c:
333 (create_touch_selector):
334 * examples/hildon-touch-selector-example.c: (create_selector):
335 * examples/hildon-touch-selector-multi-cells-example.c:
337 Use hildon_touch_selector_column_set_text_column()
339 * hildon/hildon-touch-selector-column.h:
340 * hildon/hildon-touch-selector.c:
341 (hildon_touch_selector_column_set_text_column),
342 (hildon_touch_selector_column_get_text_column):
343 Make hildon_touch_selector_column_set/get_column() public, use
344 them in the inline example, document them, and reference to them
347 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
349 * hildon/hildon-time-selector.c: Fix the docs for
350 hildon_time_selector_new_step().
352 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
354 * hildon/hildon-touch-selector.c: Improve the documentation for
355 hildon_touch_selector_append_column().
357 Fixes MB#4641 (Documentation:
358 hildon_touch_selector_append_column() ref-counting)
360 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
362 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
363 Comment out test 5, since the hildon_controlbar_set_range() range
364 check is broken and fixing it would have side effects. Also,
365 this finally fixes make distcheck.
367 Fixes: NB#101420 (Update unit tests and fix make distcheck)
369 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
371 * tests/TEST-CASES.txt: Remove other bogus test.
372 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
373 Remove bogus test that was setting/retrieving a valid value.
375 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
377 * tests/TEST-CASES.txt: Remove bogus tests.
378 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
379 Remove three bogus tests that were actually setting valid colors.
381 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
383 * configure.ac: post release version bump
384 * debian/changelog: post release version bump
386 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
391 * configure.ac: Bump version.
392 * debian/changelog: Updates.
394 2009-06-08 Christian Dywan <christian@lanedo.com>
398 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
399 Correct errors in hildon_format_file-size_for_display and use
400 translations from the hildon-fm package instead of osso-filemanager.
402 2009-06-08 Alejandro G. Castro <alex@igalia.com>
404 * hildon/hildon-pannable-area.c,
405 (hildon_pannable_area_init): Initialized new values to handle the
407 (hildon_pannable_area_adjust_value_changed): Check if the values
408 changed before even call the redraw function.
409 (hildon_pannable_area_size_allocate),
410 (hildon_pannable_axis_scroll),
411 (hildon_pannable_area_scroll),
412 (hildon_pannable_area_jump_to): Improved the diagonal movement
415 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
418 2009-06-08 Alberto Garcia <agarcia@igalia.com>
420 * examples/hildon-banner-example.c:
421 Several style updates
422 (on_animation_clicked, on_animation_idle)
423 (on_progress_clicked, on_progress_idle):
424 Add additional reference for the cases when the parent window is
427 2009-06-08 Alberto Garcia <agarcia@igalia.com>
429 * doc/hildon-sections.txt
430 * hildon/hildon-pannable-area.c
431 * hildon/hildon-banner.h
432 * hildon/hildon-banner.c: Documentation updates.
434 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
437 2009-06-05 Alejandro G. Castro <alex@igalia.com>
439 * hildon/hildon-calendar-popup.h:
440 * hildon/hildon-caption.h:
441 * hildon/hildon-code-dialog.h:
442 * hildon/hildon-controlbar.h:
443 * hildon/hildon-date-editor.h:
444 * hildon/hildon-dialog.h:
445 * hildon/hildon-get-password-dialog.h:
446 * hildon/hildon-hvolumebar.h:
447 * hildon/hildon-login-dialog.h:
448 * hildon/hildon-note.h:
449 * hildon/hildon-number-editor.h:
450 * hildon/hildon-range-editor.h:
451 * hildon/hildon-seekbar.h:
452 * hildon/hildon-set-password-dialog.h:
453 * hildon/hildon-sort-dialog.h:
454 * hildon/hildon-time-editor.h:
455 * hildon/hildon-time-picker.h:
456 * hildon/hildon-volumebar-range.h:
457 * hildon/hildon-volumebar.h:
458 * hildon/hildon-vvolumebar.h:
459 * hildon/hildon-weekday-picker.h:
460 * hildon/hildon-window.h:
461 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
462 macros with the current replacements
464 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
466 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
468 * hildon/hildon-color-button.c (hildon_color_button_init): Use
469 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
470 itself, to make it fit better with Fremantle style.
472 Fixes: NB#109878 (height and width of focus on color icon is not
473 consistent with other item in the application tool bar)
475 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
477 * hildon/hildon-touch-selector.c:
478 (hildon_touch_selector_optimal_size_request): use the current requisition
479 as the base, in order to include any possible extra widget, like the
480 hildon entry on HildonTouchSelectorEntry
482 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
484 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
486 * configure.ac: post release version bump
487 * debian/changelog: post release version bump
489 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
494 * configure.ac: Bump version.
495 * debian/changelog: Updates.
497 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
499 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
501 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
502 to ensure the banner contents are centered, instead of relying on
503 the expand and fill properties in GtkHBox.
504 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
506 Fixes: NB#108265 (Animation banner not properly centered)
508 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
510 * hildon/hildon-pannable-area.c
511 (hildon_pannable_area_initial_effect): Remove the initial_effect
512 management, check initial_hint
513 (hildon_pannable_are_expose_event): Remove the initial_hint management,
514 set initial_effect to FALSE
515 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
516 by launching the fade_timeout if the scrollbars state has changed and are
518 * examples/hildon-pannable-area-initial-hint-example.c
519 Modified to allow to remove rows too. Add and remove rows one by one.
521 2009-05-28 Alberto Garcia <agarcia@igalia.com>
523 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
524 Don't close the menu if there's an animation actor below it.
526 Fixes: NB#117927 (Application menu not usable with animation
529 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
531 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
532 "focus-on-click" from the dialog button, to avoid stealing the
533 focus from the entry.
535 Fixes: NB#118903 (Account setup wizard: Text in Search field
536 should be focused when "Region" touch list picker is reopened
539 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
541 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
542 (prepare_action_area): Completely hide the dialog separator.
544 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
546 * hildon/hildon-touch-selector-entry.c
547 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
548 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
549 now that the entry is exposed.
551 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
553 * hildon/hildon-touch-selector-entry.c
554 (hildon_touch_selector_entry_init): Change the entry's size
555 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
557 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
559 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
560 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
561 avoid unnecessary scaling.
563 2009-05-27 Alberto Garcia <agarcia@igalia.com>
565 * hildon/hildon-app-menu.c (hildon_app_menu_map):
566 Create grab transfer window before calling parent's map function.
568 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
569 "crushed" button(s) in the top left corner)
571 2009-05-26 Alberto Garcia <agarcia@igalia.com>
573 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
574 Check if the window is already realized when pushing it.
576 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
578 * configure.ac: post release version bump
579 * debian/changelog: post release version bump
581 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
586 * configure.ac: Bump version.
587 * debian/changelog: Updates.
589 2009-05-25 Alberto Garcia <agarcia@igalia.com>
591 * hildon/hildon-app-menu.c: Doc updates.
593 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
595 * hildon/hildon-banner.c: Remove leftover macro.
597 2009-05-25 Alejandro G. Castro <alex@igalia.com>
599 * hildon/hildon-pannable-area.c,
600 (hildon_pannable_area_scroll_indicator_fade),
601 (hildon_pannable_area_button_release_cb): Reviewed vmin
602 conditions, it could cause problems in the fadeout procedure.
604 2009-05-25 Alejandro G. Castro <alex@igalia.com>
606 * hildon/hildon-pannable-area.c
607 (hildon_pannable_area_button_release_cb): Added a threshold to
608 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
610 2009-05-25 Alejandro G. Castro <alex@igalia.com>
612 * hildon/hildon-pannable-area.c,
613 (hildon_pannable_area_set_property): Added code to sync the gtk
614 dnd threshold with the panning threshold.
616 2009-05-25 Alejandro G. Castro <alex@igalia.com>
618 * hildon/hildon-pannable-area.c,
619 (hildon_pannable_area_class_init): Changed some of the default
620 values, now it should be less responsive and more accurate.
622 2009-05-25 Alejandro G. Castro <alex@igalia.com>
624 * hildon/hildon-pannable-area.c,
625 (hildon_pannable_area_init),
626 (hildon_pannable_area_scroll_indicator_fade),
627 (hildon_pannable_area_button_press_cb),
628 (hildon_pannable_axis_scroll),
629 (hildon_pannable_area_timeout),
630 (hildon_pannable_area_motion_notify_cb),
631 (hildon_pannable_area_button_release_cb): Changed the name of the
632 clicked attribute to button_pressed, it is more clear about its use.
634 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
636 * src/hildon-pannable-area.c
637 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
639 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
640 vertical scrollbar visibility, and use the data on private section instead,
641 remove the initial_hint check
642 (hildon_pannable_area_expose_event): add the initial_hint check here
644 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
646 * src/hildon-pannable-area.c
647 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
648 if the fadeout effect was used
649 (hildon_pannable_area_expose_event): check if it is required to
650 manage the initial effect on the begining of the function. Previously
651 it was made at the end, but this doesn't ensure that the scrollbars
652 will be painted on the first show. Do not set to FALSE initial_effect,
653 to ensure that the initial hint is showed the first time the pannable
655 * examples/Makefile.am
656 * examples/hildon-pannable-area-initial-hint-example.c:
657 New example, to show that the initial-hint is showed when the widget
660 Fixes: NB#116607 (Pannable area should always have scrollbar visible
661 initially if the application can be scrolled)
663 2009-05-25 Alberto Garcia <agarcia@igalia.com>
665 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
666 Resize table before adding new items to make sure that
667 gtk_table_resize() is called just once.
669 2009-05-25 Alberto Garcia <agarcia@igalia.com>
671 * hildon/hildon-app-menu-private.h
672 * hildon/hildon-app-menu.c (item_visibility_changed)
673 (filter_visibility_changed, hildon_app_menu_show_all)
674 (hildon_app_menu_hide_all, hildon_app_menu_init):
675 Rearrange items just once when gtk_widget_show_all()/hide_all()
678 2009-05-25 Alberto Garcia <agarcia@igalia.com>
680 * hildon/hildon-app-menu.c
681 (hildon_app_menu_insert, hildon_app_menu_add_filter):
682 Don't call gtk_widget_show() on added items.
684 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
685 automatically when they're added)
687 2009-05-20 Alberto Garcia <agarcia@igalia.com>
689 * hildon/hildon-banner.c
690 (hildon_banner_realize, +hildon_banner_unrealize)
691 (+screen_size_changed, hildon_banner_class_init):
692 Redisplay the banner if the screen is rotated.
694 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
695 on transition from landscape to portrait)
697 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
699 * hildon/hildon-banner.[ch]:
700 (hildon_banner_show_information_override_dnd): remove icon_name from the
701 method definition as it is ignored.
702 * examples/hildon-banner-dnd-example.c: updated with the change on
705 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
707 * hildon/hildon-banner-private.h: new require_override_dnd and
708 overrides_dnd variables
709 * hildon/hildon-banner.h:
710 (hildon_banner_show_information_override_dnd): new method, that shows
711 the information but sets the override flag, in order to show important
713 * hildon/hildon-banner.c
714 (hildon_banner_show_information_override_dnd): new method
715 (hildon_banner_set_override_flag): new utility function
716 (hildon_banner_real_show_information): new utility function, in order to
717 generalize the current hildon_banner_show_information_override_dnd and
718 hildon_banner_show_information_override_dnd
719 * examples/Makefile.am
720 * examples/hildon-banner-dnd-example.c: New example that show how to
721 use the new hildon_banner_show_information_override_dnd
723 Fixes: NB#114874 (There is no possibility to show hildon banners with
726 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
728 * hildon/hildon-pannable-area.c: Add a comment explaining the math
729 behind hildon_pannable_calculate_vel_factor().
731 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
733 * hildon/hildon-pannable-area.c
734 (hildon_pannable_calculate_vel_factor): Correct the sum of the
735 deceleration factors.
737 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
739 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
740 Reduce the default value for 'scroll_time' to 1 second, since the
741 current initial scrolling takes too much time.
743 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
745 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
746 calculate velocity factor during initialization, since the properties
749 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
751 * hildon/hildon-pannable-area.c
752 (hildon_pannable_area_set_property): Calculate the velocity factor
753 after setting the deceleration property and not after.
755 2009-05-20 Alberto Garcia <agarcia@igalia.com>
757 * hildon/hildon-entry.c
758 (hildon_entry_class_init, +set_property, hildon_entry_new)
759 * hildon/hildon-check-button.c
760 (hildon_check_button_class_init)
761 (+set_property, hildon_check_button_new):
762 Make the theme size a property.
764 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
765 others) do too much in the _new function)
767 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
769 * configure.ac: post release version bump
770 * debian/changelog: post release version bump
772 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
777 * configure.ac: Bump version.
778 * debian/changelog: Updates.
780 2009-05-15 Alberto Garcia <agarcia@igalia.com>
782 * hildon/hildon-gtk.h
783 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
784 New API function to take a screenshot of a window
786 Fixes: NB#106374 (Need API to take a loading screenshot)
788 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
790 * hildon/hildon-time-selector.c
791 (update_format_policy): prevent to use hours and minutes unitialized
793 2009-05-15 Alberto Garcia <agarcia@igalia.com>
795 * hildon/hildon-window.c (hildon_window_size_request):
796 Always request the full size of the screen (minus the title bar if
797 not in fullscreen mode).
799 Fixes: NB#107486 (HildonWindow should size itself properly)
801 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
803 * hildon/hildon-note-private.h: Add idle_handler to the private data.
804 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
805 (on_show_cb), (sound_handling): Disconnect the idle handler for
806 the sound when the note is finalized to avoid possible crashes.
808 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
811 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
813 * src/hildon-animation-actor.c,
814 * src/hildon-remote-texture.c:
815 Added proper object cleanup to remove signal handler and object
816 references as HildonAnimationActor and HildonRemoteTexture
817 objects get destroyed.
819 Fixes: NB#116682 (Destroying parented animation actors when
820 parent in unmapped leads to crash)
822 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
824 Based on a patch by Christian Dywan (christian@imendio.com)
826 * doc/hildon-sections.txt:
827 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
828 * hildon/hildon-helper.h: New file size formatting method.
830 * debian/control: Depend on osso-filemanager l10n package for
831 proper localization strings.
833 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
835 * tests/Makefile.am: Include top_srcdir to make possible to build
836 tests in a different builddir.
837 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
838 on a different builddir.
840 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
842 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
843 (hildon_touch_selector_remove): Disconnect model's signal handler
846 Fixes: NB#116289 (Hildon home crashes while adding task
849 2009-05-11 Alberto Garcia <agarcia@igalia.com>
851 * hildon/hildon-button.c
852 (hildon_button_set_title, hildon_button_set_value):
853 Hide labels containing an empty string.
855 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
857 * configure.ac: post release version bump
858 * debian/changelog: post release version bump
860 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
865 * configure.ac: Bump version.
866 * debian/changelog: Updates.
868 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
870 * hildon/hildon-note-private.h: Removed sound_signal_handler
871 * hildon/hildon-note.c
872 (on_show_cb): new callback on note "show" event, this simply adds
873 a idle, with the function sound_handling
874 (sound_handling): removed the sound_signal_handler management
875 (hildon_note_init): connect note "show" event to on_show_cb
876 (hildon_note_realize): remove the connection to "expose-event"
878 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
879 device?' confirmation note)
881 2009-05-08 Alberto Garcia <agarcia@igalia.com>
883 * hildon/hildon-note.c
884 (hildon_note_new_information_with_icon_name)
885 (hildon_note_new_confirmation_with_icon_name):
886 Terminate the list of parameters in g_object_set() calls
888 Fixes: NB#115166 (Formatting memory card is not taking place)
890 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
892 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
893 "dialog-information" role for the sound being played.
895 2009-05-06 Alberto Garcia <agarcia@igalia.com>
897 * hildon/hildon-app-menu.c (hildon_app_menu_init):
898 Don't make the menu a modal window, it causes strange interactions
899 with the pointer grab and it's not really needed.
901 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
903 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
905 * hildon/hildon-touch-selector.[ch]
906 (hildon_touch_selector_optimal_size_request): function added to get a
907 optimal size request from the touch selector, when you want a dialog to
908 show as much of the selector
909 * hildon/hildon-picker-dialog.c:
910 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
911 (hildon_app_menu_class_init):
912 New "max-height-landscape" and "max-height-portrait" style properties
913 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
914 (hildon_picker_dialog_get_max_height): returns the maximum height using
915 the style properties defined and checking the current portrait/landscape
917 (_hildon_picker_dialog_set_selector): removed the set_size_request
919 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
921 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
923 * hildon/hildon-bread-crumb-trail.c:
924 * hildon/hildon-bread-crumb.c:
925 * hildon/hildon-seekbar.c:
926 Add reference to replacements for these deprecated widgets.
928 Fixes: MB#4461 (Documentation: All deprecations should mention
931 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
933 * examples/hildon-remote-texture-example.c
935 Change the include to the hildon-remote-texture in order to compile
936 properly the examples on the installed libhildon1-examples package
938 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
940 * tests/Makefile.am: Add check for HildonPickerButton.
941 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
942 (START_TEST), (create_hildon_picker_button_suite): Add three simple
943 checks for the HildonPickerButton.
944 * tests/check_test.c (configure_tests): Add the test suite.
945 * tests/test_suites.h: likewise.
947 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
949 * hildon/hildon-touch-selector.c
950 (+on_row_changed): Emit HildonTouchSelector:changed when the
951 contents of a selected row change.
952 (_create_new_column), (_hildon_touch_selector_set_model): connect
953 to GtkTreeModel:row-changed on a newly set model.
955 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
957 2009-05-05 Alberto Garcia <agarcia@igalia.com>
959 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
961 * hildon/hildon-banner.c (hildon_banner_destroy)
962 (hildon_banner_show_progress, hildon_banner_set_fraction):
963 Remove the progress bar from HildonBanner and use a progress
966 Fixes: NB#113761 (Update progress banner to use progress
969 2009-05-04 Alberto Garcia <agarcia@igalia.com>
971 * hildon/hildon-banner.c:
972 Calculate size of the banner label using the actual screen width
973 rather than using a fixed value.
975 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
978 2009-05-04 Alejandro G. Castro <alex@igalia.com>
980 * hildon/hildon-pannable-area.c,
981 (hildon_pannable_area_class_init): Fixed signals documentation
984 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
986 * configure.ac: post release version bump
987 * debian/changelog: post release version bump
989 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
994 * configure.ac: Bump version.
995 * debian/changelog: Updates.
997 2009-05-01 Alberto Garcia <agarcia@igalia.com>
999 * hildon/hildon-edit-toolbar.c
1000 (hildon_edit_toolbar_init):
1001 Don't let buttons in HildonEditToolbar receive focus.
1003 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1004 typing on an HW arrows key)
1006 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1008 * doc/Makefile.am: Fix build.
1010 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1012 * doc/Makefile.am: Do not redefine content_files.
1014 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1022 Renamed src/ to hildon/
1027 Include <hildon/hildon.h> directly in all examples.
1029 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1031 * src/hildon-sort-dialog.c
1032 (hildon_sort_dialog_add_sort_key_with_sorting)
1036 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1038 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1039 make distcheck passes.
1041 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1043 * Makefile.am: Enable gtk-doc during distcheck.
1045 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1047 * Makefile.am: Do not distribute the debian/ directory.
1049 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1051 * doc/Makefile.am: Add the extra SGML files to content_files,
1052 so that they are distributed properly.
1054 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1056 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1059 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1061 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1062 (hildon_note_new_information_with_icon_name): Set the "icon" property
1063 to preserve soundness.
1065 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1067 * src/hildon-font-selection-dialog.c
1068 (hildon_font_selection_dialog_set_property): Fail when the "family"
1069 property is set to NULL.
1071 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1073 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1076 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1078 * src/hildon-time-selector.h:
1079 Added HildonTimeSelectorFormatPolicy
1080 * src/hildon-time-selector.c:
1081 Added PROP_TIME_FORMAT_POLICY
1082 (_check_ampm_format): renamed to check_automatic_ampm_format
1083 (update_format_policy), (update_format_dependant_columns): new functions
1084 (hildon_time_selector_class_init)
1085 (hildon_time_selector_contructor)
1086 (hildon_time_selector_init)
1087 (hildon_time_selector_get_property)
1088 (hildon_time_selector_set_property)
1089 (hildon_time_selector_get_time)
1090 (hildon_time_selector_set_time)
1091 * src/hildon-touch-selector.h: new file
1092 * src/hildon-touch-selector.c
1093 (hildon_touch_selector_emit_changed)
1094 (hildon_touch_selector_block_changed)
1095 (hildon_touch_selector_unblock_changed)
1096 Added functions to allow to block the emission of the "changed" signal
1097 * src/hildon-picker-dialog.c
1098 (hildon_picker_dialog_show): call the parent show before the custom code
1099 * examples/hildon-time-button-example.c
1100 Modified, so now you can configure the time format using the new property
1102 Added a new property "time-format-policy" that allow to choose the time
1103 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1104 case it uses gconf in order to check if the time selector must use
1107 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1110 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1112 * src/hildon-note.c (hildon_note_init):
1113 Label in HildonNote must be left aligned, not centered. This
1114 reverts the last commit in HildonNote.
1116 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1117 is connectivity dialog)
1119 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1124 * doc/hildon-sections.txt:
1125 Added hildon_gtk_window_set_do_not_disturb()
1127 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1129 * src/hildon-note.c (hildon_note_init): Center label.
1131 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1134 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1139 * configure.ac: Bump version.
1140 * debian/changelog: Updates.
1142 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1144 * src/hildon-note-private.h: Add button-width to the private data.
1145 * src/hildon-note.c (+resize_button),
1146 (+hildon_note_orientation_update): methods to repack widgets on orientation
1148 (screen_size_changed): Call above method for confirmation notes.
1149 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1150 (hildon_note_rebuild): Store the original width request from buttons.
1152 Fixes: NB#109635 (Confirmation notes do not support portrait)
1154 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1156 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1157 when it is a progress note.
1159 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1161 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1162 in the note, since there are no horizontally arranged contents.
1164 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1166 * src/hildon-gtk.c (+set_flag): new generic method to
1167 set/delay a flag setting in a window.
1168 (hildon_gtk_window_set_progress_indicator):
1169 (hildon_gtk_window_set_do_not_disturb),
1170 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1171 avoid code redundance.
1173 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1175 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1177 * src/hildon-gtk.c (set_clear_window_flag),
1178 (do_set_progress_indicator), (do_set_do_not_disturb),
1179 (do_set_portrait_flags),
1180 (hildon_gtk_window_set_progress_indicator),
1181 (hildon_gtk_window_set_do_not_disturb),
1182 (hildon_gtk_window_set_portrait_flags):
1183 Allow setting dnd-flag, progress indicator, and portrait flags
1184 when the window is not realized.
1186 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1188 * src/hildon-pannable-area.c,
1189 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1190 the size request policy function and defines.
1192 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1194 * doc/hildon-sections.txt: Add the new API.
1195 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1196 method to set the portrait flags.
1197 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1199 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1201 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1203 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1204 to allow using this method with other flags.
1205 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1206 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1208 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1210 * src/hildon-touch-selector.c
1211 (hildon_touch_selector_append_text_column):
1212 Make the cell renderer use the smallest width possible.
1214 Fixes: NB#108470 (Selected items in multiple selection are either
1215 having a tick that is cut or not visible at all.)
1217 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1219 * src/hildon-touch-selector.c
1220 (hildon_touch_selector_append_text_column):
1223 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1225 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1226 Use g_strdup_printf() instead of a fixed size buffer.
1228 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1230 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1231 Close banners when a HildonAppMenu is popped up.
1233 Fixes: NB#111027 (Title menu closed immediately if activated when
1234 "Invalid e-mail address" banner is shown)
1236 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1241 * configure.ac: Bump version.
1242 * debian/changelog: Updates.
1244 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1246 * src/hildon-banner.c (hildon_banner_realize):
1247 Mark HildonBanner as supporting portrait mode.
1248 Use GDK to set window properties insetad of direct Xlib calls.
1250 Fixes: NB#111830 (HildonBanner should be marked as supporting
1253 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1255 * src/hildon-note.c (hildon_note_rebuild):
1256 Hide action area in information notes. Prevents text from being
1257 slightly aligned to the left.
1259 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1262 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1264 Patch by Mox Soini (ext-mox.soini@nokia.com)
1266 * src/hildon-banner.c (hildon_banner_create_animation):
1267 Use stylus-sized icons in animation banner.
1269 Fixes: NB#111206 (stylus sized icon for animation banner)
1271 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1275 (+hildon_gtk_window_set_do_not_disturb):
1276 New API to set the do-not-disturb flag.
1278 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1280 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1282 * examples/hildon-progress-indicator-example.c: Fix example
1284 * src/hildon-gtk.c (set_clear_window_flag)
1285 (hildon_gtk_window_set_progress_indicator):
1286 Create a generic function for setting flags to a window.
1287 Use GDK instead of direct Xlib calls.
1289 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1291 * src/hildon-button.c (hildon_button_set_arrangement):
1292 Due to NB#88126, if one of the labels is too long it will be
1293 painted outside the button. The 'value' label is more likely to be
1294 the longest one, so we change its packing options in order to
1295 truncate it if necessary. As a side effect, the 'title' label will
1296 no longer be truncated.
1298 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1300 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1305 * configure.ac: Bump version.
1306 * debian/changelog: Updates.
1308 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1310 Deprecation of the hildon_pannable_area_set_size_request_policy
1311 API, the only policy properly supported in gtk+ nowadays is the
1314 * src/hildon-pannable-area.c,
1315 (hildon_pannable_area_size_request): Added a workaround for the
1316 size_request to avoid the problems of huge pixmaps in case someone
1317 is still using the function.
1318 * src/hildon-pannable-area.h: Deprecated the enum with the
1321 Fixes: NB#110244 (Problems with the
1322 hildon_pannable_area_set_size_request_policy API)
1324 2009-04-08 Alejandro G. Castro <alex@igalia.com>
1326 * src/hildon-pannable-area.c,
1327 (hildon_pannable_area_init),
1328 (hildon_pannable_area_size_request),
1329 (hildon_pannable_area_style_set),
1330 (hildon_pannable_draw_vscroll),
1331 (hildon_pannable_draw_hscroll),
1332 (hildon_pannable_area_check_scrollbars): Replaced area_width with
1333 indicator_width to clarify the use of the attribute.
1335 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
1340 * configure.ac: Bump version.
1341 * debian/changelog: Updates.
1343 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
1345 * src/hildon-picker-dialog.c
1346 * src/hildon-touch-selector.c
1347 Reverting the change that tried to avoid the hardcoded height on
1348 the picker dialog, as causes problems on the hildon-touch-selector
1351 Fixes: NB#110029 (selectors not scrolling to selected value)
1353 2009-04-07 Alberto Garcia <agarcia@igalia.com>
1355 * src/hildon-touch-selector.c: Fix typos
1357 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1359 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1360 Use the event coordinates instead of gdk_window_get_pointer(). Also,
1361 request more motions after using it.
1363 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1365 * src/hildon-calendar.c (hildon_calendar_expose),
1366 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1367 Remove unused variables.
1369 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1371 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1372 variable assignment.
1374 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1376 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1377 Check the return value of gtk_tree_selection_get_selected()
1380 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1382 * src/hildon-animation-actor.c
1383 * src/hildon-button.c
1385 * src/hildon-pannable-area.c
1386 * src/hildon-picker-button.c
1387 * src/hildon-program.c
1388 * src/hildon-remote-texture.c
1389 * src/hildon-text-view.c
1390 * src/hildon-touch-selector.c
1391 * src/hildon-window-stack.c
1392 * src/hildon-window.c:
1393 Add missing 'Since: 2.2' tags.
1395 * doc/hildon-sections.txt:
1396 Add some missing symbols.
1398 * doc/hildon-docs.sgml:
1399 New 'Other' section for HildonAnimationActor and
1402 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1404 Patch by Iván Gómez (igomez@igalia.com)
1407 * doc/compiling.sgml
1408 * doc/hildon-docs.sgml
1409 * doc/hildon-sections.txt
1410 * doc/migration.sgml
1411 * doc/resources.sgml
1413 New chapters on using the Hildon library.
1414 Updated the general structure of the reference manual.
1415 Other minor documentation fixes.
1417 * src/hildon-calendar-popup.c
1418 * src/hildon-calendar.c
1419 * src/hildon-controlbar.c
1420 * src/hildon-date-editor.c
1421 * src/hildon-dialog.c
1422 * src/hildon-hvolumebar.c
1423 * src/hildon-number-editor.c
1424 * src/hildon-range-editor.c
1425 * src/hildon-sort-dialog.c
1426 * src/hildon-time-editor.c
1427 * src/hildon-time-picker.c
1428 * src/hildon-volumebar-range.c
1429 * src/hildon-volumebar.c
1430 * src/hildon-vvolumebar.c
1431 * src/hildon-weekday-picker.c:
1432 Add deprecation notes
1434 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1435 Document 'horizontal-movement' and 'vertical-movement' signals.
1437 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
1442 * configure.ac: Bump version.
1443 * debian/changelog: Updates.
1445 2009-04-06 Alejandro G. Castro <alex@igalia.com>
1447 * src/hildon-pannable-area.c,
1448 (hildon_pannable_area_class_init): increased the minimum velocity.
1449 (hildon_pannable_area_button_release_cb): Updated the
1450 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
1451 setup. Review the code to control that last event.
1453 Fixes: NB#109790 (Releasing finger in pannable area easily causes
1456 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
1458 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1460 * src/hildon-get-password-dialog.c
1461 (hildon_get_password_set_property),
1462 (hildon_get_password_get_property), (create_contents):
1463 * src/hildon-login-dialog-private.h:
1464 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
1465 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
1466 (hildon_login_dialog_get_password):
1467 * src/hildon-set-password-dialog-private.h:
1468 * src/hildon-set-password-dialog.c
1469 (hildon_set_password_set_property),
1470 (hildon_set_password_get_property), (create_contents),
1471 (hildon_set_password_response_change),
1472 (hildon_set_password_response_set), (hildon_checkbox_toggled):
1474 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
1475 instead and look more Fremantle style.
1477 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
1479 2009-04-03 Alberto Garcia <agarcia@igalia.com>
1481 * doc/hildon-sections.txt
1482 * src/hildon-window-stack.h
1483 * src/hildon-window-stack.c
1484 (+hildon_window_stack_get_windows):
1485 New API to obtain the list of windows on a stack.
1487 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1489 * src/hildon-app-menu.c (hildon_app_menu_popup)
1490 (hildon_app_menu_class_init, -hildon_app_menu_show):
1491 Remove hildon_app_menu_show() and move all its checks to
1492 hildon_app_menu_popup()
1494 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
1496 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
1497 (_hildon_picker_dialog_set_selector): removed call to
1498 gtk_widget_set_size_request
1499 * src/hildon-touch-selector.c
1500 (_create_new_column): change the pannable size request policy
1502 Avoid to use a hardcoded height for the hildon picker dialog. In order
1503 to get that, we needed to change the hildon pannable size request
1505 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1507 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1509 * src/hildon-window.c (hildon_window_map): Check for vbox to be
1510 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
1513 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1515 * debian/control: Depend on osso-system-lock localization package.
1516 * src/hildon-code-dialog.c: Obtain the secu_application_title
1517 translation from osso-system-lock.
1518 * src/hildon-get-password-dialog.c (create_contents): Do not mark
1519 for translation the atk related strings, that's not necessary.
1520 * src/hildon-set-password-dialog.c (create_contents): Ditto.
1521 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
1522 cancel button, it is not required.
1524 2009-04-02 Alejandro G. Castro <alex@igalia.com>
1526 * src/hildon-pannable-area.c,
1527 (hildon_pannable_area_class_init): Modified the default value of
1528 the overshooting max speed, we have reduced it.
1530 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1532 * doc/hildon-sections.txt
1533 * src/hildon-window-private.h
1534 * src/hildon-window.h
1535 * src/hildon-window.c (hildon_window_class_init)
1536 (hildon_window_init, hildon_window_finalize)
1537 (hildon_window_realize, hildon_window_get_property)
1538 (hildon_window_set_property, hildon_window_update_markup)
1539 (hildon_window_get_markup, hildon_window_set_markup):
1540 New "markup" property and hildon_window_{get,set}_markup() methods.
1542 * examples/hildon-stackable-window-example.c (new_window):
1543 Update example to use hildon_window_set_markup()
1545 Fixes: NB#106375 (Need API to retitle a window with a title
1548 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1550 * src/hildon-pannable-area.c,
1551 (hildon_pannable_area_class_init): Changed the default value of
1552 the initial_hint to TRUE.
1553 (hildon_pannable_area_initial_effect): Changed the initial effect,
1554 not the effect is just the fade-out of the scrollbars.
1556 Fixes: NB#107775 (No scrollbars can be seen when several items are
1557 available in a dialog)
1559 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1561 * src/hildon-program.c (hildon_program_update_top_most):
1564 Fixes: NB#109179 (Memory leak in Hildon program)
1566 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1568 * src/hildon-banner.c (-get_current_app_window):
1569 Remove unused function.
1571 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1573 * src/hildon-pannable-area.c: Modified the documentation of the
1574 get adjustments functions to explain the problem of using the
1575 adjustment directly.
1576 (hildon_pannable_area_class_init): Improved the explanation about
1579 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1581 * src/hildon-app-menu-private.h
1582 * src/hildon-app-menu.c
1583 (hildon_app_menu_class_init):
1584 Bring back the 'external-border' style property
1585 (hildon_app_menu_class_init, hildon_app_menu_init)
1586 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
1587 Set a fixed width-request for the menu, independent of the number
1590 Fixes: NB#94957 (Smoothly opened application menu)
1592 2009-03-30 Alberto Garcia <agarcia@igalia.com>
1594 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
1596 * src/hildon-banner.c
1597 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
1599 Make sure that the banner is correctly placed the first time it's
1601 (hildon_banner_check_position, -check_fullscreen_state):
1602 Show the banner in the same place no matter if the window is in
1603 fullscreen mode or not.
1605 Fixes: NB#107386 (Odd stacking behaviour for information banners)
1607 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1609 * src/hildon-touch-selector.c (_default_print_func): reorder
1610 concatenation for clarity.
1612 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1614 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
1615 for multicolumn selectors.
1617 Fixes: NB#109099 (Memory leak in Hildon touch selector)
1619 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
1624 * configure.ac: Bump version.
1625 * debian/changelog: Updates.
1627 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
1629 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
1632 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1634 * configure.ac: removed libcangerra-gtk dependency
1635 * debian/control: removed libcanberra-gtk dependency
1636 * src/Makefile.am: removed libcanberra gtk related flags
1637 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1638 context, and manage a global canberra context instead
1640 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1642 2009-03-26 Alberto Garcia <agarcia@igalia.com>
1644 Patch by Daniel Borgmann (danielb@openismus.com)
1646 * src/hildon-edit-toolbar.c:
1647 Adjust the left padding.
1648 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
1649 Paint background of the edit toolbar.
1651 Fixes: NB#107897 (Patch to make editmodetoolbar background
1652 themeable and adjust margin)
1654 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1656 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1658 * src/hildon-program.c (hildon_program_update_top_most):
1659 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
1661 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
1662 change when the user tasks in/out of an application)
1664 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1666 * configure.ac: added libcangerra-gtk dependency
1667 * debian/control: added libcanberra-gtk dependency
1668 * src/Makefile.am: added libcanberra gtk related flags
1669 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
1672 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1674 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1676 * src/hildon-program.c (hildon_program_remove_window)
1677 (hildon_program_add_window): Add checks for the window
1678 parameter. Don't decrease the window counter if the window is not
1681 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1683 * src/hildon-pannable-area.c,
1684 (hildon_pannable_area_realize): Fixed position of the event_window
1685 in the realize method.
1687 2009-03-24 Alberto Garcia <agarcia@igalia.com>
1689 * src/hildon-app-menu-private.h
1690 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
1691 (hildon_app_menu_map, hildon_app_menu_hide_idle)
1692 (hildon_app_menu_key_press, hildon_app_menu_init)
1693 (hildon_app_menu_finalize):
1694 Make sure that all idle functions are removed when the widget is
1697 Fixes: NB#107583 (Hildon app menu crashes in various applications)
1699 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1704 * configure.ac: Bump version.
1705 * debian/changelog: Updates.
1707 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1709 * src/hildon-entry.c
1710 (+hildon_entry_show_placeholder),
1711 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
1712 that replace hildon_entry_update_contents().
1713 (hildon_entry_set_text),
1714 (hildon_entry_set_placeholder),
1715 (hildon_entry_focus_in_event),
1716 (hildon_entry_focus_out_event): Determine when it is needed
1717 either to show or hide the placeholder and call the above methods.
1719 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
1720 when the placeholder text is already set)
1722 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1724 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
1725 simple GdkPixbufAnim using the new icons for the banner.
1726 (hildon_banner_show_animation): Use the above mentioned method to
1727 create the animation widget.
1729 Fixes: NB#103564 (Make hildon animation banner use individual
1730 image files as the animation)
1732 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1734 * src/hildon-pannable-area.c,
1735 (hildon_pannable_leave_notify_event): Check if the child is NULL
1736 to avoid sending the leave.
1738 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1740 * src/hildon-pannable-area.c,
1741 (hildon_pannable_area_class_init),
1742 (hildon_pannable_leave_notify_event): Added a handler of the
1743 leave-notify-signal to consider when no motion notify before
1746 Fixes: NB#107494 (Items stay selected when clicking and moving
1747 away when inside pannable area)
1749 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
1754 * configure.ac: Bump version.
1755 * debian/changelog: Updates.
1757 2009-03-19 Alejandro G. Castro <alex@igalia.com>
1759 Patch by Alberto Garcia (agarcia@igalia.com)
1761 * src/hildon-date-button.c,
1762 (hildon_date_button_class_init),
1763 (hildon_date_button_init): Removed the construct property handling
1764 and created a default selector in the init method.
1765 * src/hildon-picker-button.c,
1766 (hildon_picker_button_class_init): Removed the construct flag of the
1769 2009-03-18 Alberto Garcia <agarcia@igalia.com>
1771 * src/hildon-main.c (hildon_init):
1772 Don't allow hildon_init() to be called more than once.
1774 Fixes: NB#106607 (hildon_init should issue error message upon
1777 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
1779 * examples/hildon-pannable-area-touch-list-example.c
1780 * examples/hildon-pannagle-area-touch-grid-example.c
1781 * examples/hildon-edit-toolbar-example.c
1782 * examples/hildon-touch-selector-multi-cells-example.c
1783 Removed the call to gtk_rc_parse_string, as it is not required since
1786 2009-03-17 Alejandro G. Castro <alex@igalia.com>
1788 * src/hildon-pannable-area.c,
1789 (hildon_pannable_area_class_init): Modified the default panning
1790 threshold of the widget to 6px.
1792 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
1793 than the threshold value ) within the button is not sending the
1796 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1798 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
1799 for the treeview in the new column. This way, the touch list will never
1802 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
1803 be selected manually for the HW keys to work)
1805 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1807 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
1808 comparison instead of using strcmp(). Fixes a compiler warning as well.
1810 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1812 * doc/hildon-docs.sgml: Do not set the library version in the
1813 document title, use the releaseinfo tag for that purpose instead.
1815 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1817 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
1818 Do not jump to the first item if the text in the entry is removed.
1820 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1825 * configure.ac: Bump version.
1826 * debian/changelog: Updates.
1828 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1830 * src/hildon-entry.c (hildon_entry_refresh_contents):
1831 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
1832 Use "ReversedSecondaryTextColor" for the placeholder text.
1834 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1836 * src/hildon-text-view.c: Fix compilation warning.
1838 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1840 * src/hildon-button.c (hildon_button_class_init): Don't make
1841 "title" and "value" construction properties, to prevent them from
1842 overwriting labels set from derived classes.
1844 * src/hildon-picker-button.c
1845 (hildon_picker_button_set_selector): Allow setting a NULL selector.
1846 (hildon_picker_button_class_init): Make touch-selector a
1847 construction property.
1849 * src/hildon-date-button.c (hildon_date_button_class_init)
1850 (+hildon_date_button_constructed): Add a default date selector if
1853 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1855 * src/hildon-touch-selector.c: Small documentation fixes.
1857 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1859 Based on a patch by Daniel Borgmann (danielb@openismus.com)
1861 * src/hildon-entry.c (hildon_entry_refresh_contents),
1862 (hildon_entry_get_text), (hildon_entry_init): Do not use the
1863 widget name, set the logical color directly instead and a boolean
1864 showing_placeholder instead.
1865 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
1866 use the widget name here either.
1868 Fixes: NB#105678 (HildonTextView should use logical colours
1869 instead of setting widget name)
1871 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1873 Patch by Daniel Elster (danielk@openismus.com)
1875 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
1876 Add user_data parameter.
1877 (hildon_touch_selector_set_print_func_full): New function akin
1878 hildon_touch_selector_set_print_func() but with support for user
1879 data and a destroy callback.
1880 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
1881 to clean up the print function user data.
1882 (hildon_touch_selector_class_init): Install dispose function.
1883 (HildonTouchSelectorPrivate::print_user_data),
1884 (HildonTouchSelectorPrivate::print_destroy_func): New private
1886 (hildon_touch_selector_init): Initialize new private members.
1887 (hildon_touch_selector_get_current_text): Pass along user data
1888 to the print function.
1889 (_default_print_func): Add dummy user_data to parameter list.
1890 * hildon-date-selector.c (_custom_print_func): ditto,
1891 * hildon-time-selector.c (_custom_print_func): ditto,
1892 * hildon-touch-selector-entry.c
1893 (hildon_touch_selector_entry_print_func): ditto.
1895 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
1897 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1899 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
1901 2009-03-12 Alejandro G. Castro <alex@igalia.com>
1903 * src/hildon-pannable-area.c,
1904 (hildon_pannable_area_init),
1905 (hildon_pannable_area_button_press_cb),
1906 (hildon_pannable_area_motion_notify_cb): We have added code to
1907 handle the leave and enter events when using the motion events.
1909 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
1911 2009-03-11 Alberto Garcia <agarcia@igalia.com>
1913 * src/hildon-date-button.c (hildon_date_button_get_date)
1914 (hildon_date_button_set_date): Make sure that the button has a
1917 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
1919 2009-03-11 Alejandro G. Castro <alex@igalia.com>
1921 * src/hildon-pannable-area.c,
1922 (hildon_pannable_area_class_init),
1923 (hildon_pannable_area_calculate_velocity): Modify the use of the
1924 force and adapt the value.
1926 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1928 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
1929 (hildon_app_menu_class_init): Hide the menu if it receives a
1930 delete-event, but don't destroy it
1932 Fixes: NB#104485 (Not able to address the call when application
1933 menu is opened at background)
1935 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1937 * src/hildon-app-menu.c
1938 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1939 Remove the "external-border" style property, let the menu take its
1940 natural size (or the one set by the window manager)
1941 (hildon_app_menu_repack_items):
1942 Don't reshow the menu, avoid flickers.
1944 Partially fixes NB#94957 (Smoothly opened application menu)
1946 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
1951 * configure.ac: Bump version.
1952 * debian/changelog: Updates.
1954 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1956 * src/hildon-pannable-area.c,
1957 (hildon_pannable_area_motion_notify_cb): We control that the
1958 direction error margin is used just in case the movement is
1959 allowed in the other direction.
1961 Fixes: NB#105012 (buttons inside a pannable area not getting
1962 release event when dragging/releasing)
1964 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1966 * src/hildon-pannable-area.c,
1967 (hildon_pannable_area_class_init),
1968 (hildon_pannable_area_get_property),
1969 (hildon_pannable_area_set_property),
1970 (hildon_pannable_area_initial_effect),
1971 (hildon_pannable_axis_scroll),
1972 (hildon_pannable_area_button_release_cb): Reviewed the
1973 overshooting effect, now it has its own max
1974 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
1975 speed when bouncing.
1977 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
1982 * configure.ac: Bump version.
1983 * debian/changelog: Updates.
1985 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1987 * src/hildon-pannable-area.c,
1988 (hildon_pannable_area_class_init): Changed the max speed, now
1989 users can launch the widget very fast. Reduced the default force,
1990 that way it is easier to control the launch speed.
1992 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1994 * src/hildon-pannable-area.c,
1995 (hildon_pannable_area_button_release_cb): Removed this check
1996 because it causes problems when the device is overloaded.
1998 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2000 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2001 add a current_text field to store the text entered in the
2002 touch selector entry.
2003 (_clean_current_selection): clean up the current text as well.
2004 (_save_current_selection), (_restore_current_selection):
2005 Save/restore the text in the entry if the selector is a
2006 HildonTouchSelectorEntry.
2008 Fixes: NB#102541 (value entered in the touch selector entry is not
2009 shown when opened for second time)
2011 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2013 * doc/hildon-sections.txt:
2014 * src/hildon-touch-selector-entry.c
2015 (+hildon_touch_selector_entry_get_entry):
2016 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2018 Fixes: NB#104815 (I need accessor to the entry inside
2019 HildonTouchSelectorEntry)
2021 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2023 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2024 (hildon_app_menu_class_init):
2025 New "filter-vertical-spacing" style property.
2027 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2029 * src/hildon-find-toolbar.c
2030 (hildon_find_toolbar_emit_close)
2031 (hildon_find_toolbar_emit_invalid_input)
2032 (hildon_find_toolbar_entry_activate):
2033 Use g_signal_emit() instead of g_signal_emit_by_name()
2035 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2037 Patch by Mox Soini (ext-mox.soini@nokia.com)
2039 * tests/TEST-CASES.txt
2040 * tests/check-hildon-banner.c
2041 * tests/check-hildon-note.c
2042 * src/hildon-banner.c
2043 * src/hildon-code-dialog.c
2044 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2045 * src/hildon-time-editor.c
2046 * examples/hildon-lookup-example.c (main):
2047 Replace obsolete icon names with new ones.
2049 * src/hildon-find-toolbar-private.h:
2050 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2051 (-hildon_find_toolbar_emit_search):
2052 Remove find button and change icon of close button.
2054 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2056 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2058 * src/hildon-time-button.c (hildon_time_button_new_step):
2059 Use the "touch-selector" property to set the selector directly
2060 when creating the object.
2062 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2064 Added a new example application that allows tuning the pannable
2065 area and replaced defines with properties in order to simplify the
2066 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2067 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2068 PROP_DIRECTION_ERROR_MARGIN.
2070 * examples/hildon-pannable-area-tuning-example.c: New example
2072 * src/hildon-pannable-area.c,
2073 (hildon_pannable_area_class_init),
2074 (hildon_pannable_area_init),
2075 (hildon_pannable_area_get_property),
2076 (hildon_pannable_area_set_property),
2077 (hildon_pannable_area_launch_fade_timeout),
2078 (hildon_pannable_area_adjust_value_changed),
2079 (hildon_pannable_axis_scroll),
2080 (hildon_pannable_area_motion_notify_cb),
2081 (hildon_pannable_area_scroll_cb),
2082 (hildon_pannable_area_button_release_cb): We have converted some
2083 of the defines that control the widget to properties to simplify
2086 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2088 * src/hildon-app-menu.c (hildon_app_menu_map)
2089 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2090 so it's closed if a new window appears.
2092 Fixes: NB#104485 (Not able to address the call when application
2093 menu is opened at background)
2095 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2097 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2098 missing 'break' statement in in 'case' construct to avoid
2101 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2103 * src/hildon-touch-selector-entry.c
2104 (hildon_touch_selector_entry_get_property),
2105 (hildon_touch_selector_entry_set_property): Add missing 'break'
2106 statements in in 'case' constructs to avoid incorrect warnings.
2108 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2110 * src/hildon-time-editor.c
2111 (hildon_time_editor_get_time_separators): Do not crash if
2112 the first label is NULL.
2114 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2116 * src/hildon-date-selector.c (_month_days): Check for month to be
2117 strictly less than 12, since otherwise we may overrun the array.
2119 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2121 * src/hildon-date-button.c (+hildon_date_button_new_full)
2122 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2123 (hildon_date_button_init): Set the date selector using a
2124 construction property, to make it happen after HildonButton's
2125 "value" property is set.
2127 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2128 current date by default)
2130 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2132 * doc/hildon-sections.txt
2133 * src/hildon-program.c
2134 * src/hildon-stackable-window.c
2135 * src/hildon-window.c:
2136 Documentation updates
2138 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2140 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2141 (hildon_window_stack_new, +hildon_window_stack_set_property)
2142 (+hildon_window_stack_get_property)
2143 (hildon_window_stack_class_init)
2144 (+hildon_window_stack_set_window_group)
2145 (+hildon_window_stack_get_window_group):
2146 Make the window group a construction property.
2148 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2150 * doc/hildon-sections.txt
2151 * src/hildon-stackable-window-private.h
2152 * src/hildon-stackable-window.h
2153 * src/hildon-stackable-window.c
2154 (-hildon_stackable_window_set_app_menu)
2155 (-hildon_stackable_window_get_app_menu)
2156 (-hildon_stackable_window_toggle_menu)
2157 (-hildon_stackable_window_finalize)
2158 (hildon_stackable_window_class_init)
2159 (hildon_stackable_window_init)
2160 * src/hildon-window-private.h
2161 * src/hildon-window.h
2162 * src/hildon-window.c (hildon_window_init)
2163 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2164 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2165 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2166 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2167 Moved all HildonAppMenu code to HildonWindow. The menu does not
2168 require a HildonStackableWindow anymore.
2170 * src/hildon-app-menu.c
2171 * src/hildon-program.c
2172 * examples/hildon-app-menu-example.c (main):
2173 Update examples and documentation to reflect HildonAppMenu
2176 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2178 * src/hildon-remote-texture.c
2179 * src/hildon-animation-actor.c:
2180 Don't include unused private headers.
2182 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2184 * src/hildon-program-private.h
2185 * src/hildon-program.c
2186 (hildon_program_set_common_menu)
2187 (hildon_program_get_common_menu)
2188 (hildon_program_set_common_app_menu)
2189 (hildon_program_get_common_app_menu):
2190 Change common menu pointers from GtkWidget* to GtkMenu* and
2191 HildonAppMenu* to avoid unnecessary casts.
2193 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2195 * src/hildon-window.c (hildon_window_set_main_menu):
2196 Removed incorrect 'Since:' tag
2198 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2200 * src/hildon-pannable-area.c,
2201 (hildon_pannable_area_calculate_velocity): We use now the
2202 RATIO_TOLERANCE here to check the distance, fixed typo in the
2204 (hildon_pannable_area_motion_notify_cb): We have to set the type
2205 and time even if we are not sending the motion.
2207 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2209 * doc/hildon-sections.txt
2210 * src/hildon-app-menu.h
2211 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2212 (+hildon_app_menu_get_filters): New methods to get the contents of
2215 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2218 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2220 * src/hildon-app-menu.c (hildon_app_menu_popup):
2223 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2225 * src/hildon-window.h
2226 * src/hildon-window.c (+hildon_window_get_main_menu)
2227 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2228 and deprecated hildon_window_get_menu().
2230 * src/hildon-stackable-window.h
2231 * src/hildon-stackable-window.c
2232 (+hildon_stackable_window_set_app_menu)
2233 (+hildon_stackable_window_get_app_menu)
2234 (hildon_stackable_window_set_main_menu): Created
2235 hildon_stackable_window_{get,set}_app_menu() and deprecated
2236 hildon_stackable_window_set_main_menu().
2238 * doc/hildon-sections.txt
2239 * examples/hildon-app-menu-example.c (main)
2240 * src/hildon-app-menu.c
2241 * src/hildon-program.c:
2242 Updated examples and documentation.
2244 Fixes: NB#103758 (No way to obtain a menu from a
2245 HildonStackableWindow)
2247 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2252 * configure.ac: Bump version.
2253 * debian/changelog: Updates.
2255 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2257 * examples/hildon-remote-texture-example.c: Include
2258 hildon-remote-texture.h explicitely.
2259 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2260 applications not defining _XOPEN_SOURCE which don't require this header.
2262 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2264 * doc/hildon-sections.txt
2265 * src/hildon-app-menu.h
2266 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2267 New function to pop up a HildonAppMenu
2269 * src/hildon-stackable-window.c
2270 (hildon_stackable_window_toggle_menu):
2271 Use hildon_app_menu_popup() to show the menu.
2273 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2275 * src/hildon-app-menu.c (hildon_app_menu_show)
2276 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2277 menu if there's another window between it and its parent window.
2279 Fixes: NB#100468 (Application menu window is launched even when a
2280 new secondary-window/dialog is pending to be shown/realized)
2282 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2284 * src/hildon-window-stack.c (hildon_window_stack_push)
2285 (hildon_window_stack_pop_and_push):
2286 Don't forget to push/pop the first window.
2287 Reverse the window list before calling _push_list()
2289 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2291 * src/hildon-picker-button.h
2292 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2293 Remove "value_changed" slot to avoid ABI breakage
2295 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2297 * src/hildon-pannable-area.c,
2298 (hildon_pannable_area_realize),
2299 (hildon_pannable_area_unrealize),
2300 (hildon_pannable_draw_vscroll),
2301 (hildon_pannable_draw_hscroll): Changed the method to handle the
2302 GC used to draw the transparent scrollbar, this way we avoid
2303 creating the GC all the time when drawing the scrollbars.
2305 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2307 * src/hildon-pannable-area.c,
2308 (hildon_pannable_area_init),
2309 (hildon_pannable_area_remove): Removed some unnecessary casts.
2310 (hildon_pannable_area_dispose): Disconnected some signals before
2311 releasing the adjustments.
2313 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2315 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2316 Make sure that all widgets contained in the toolbar are shown.
2318 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2320 * doc/hildon-sections.txt
2321 * src/hildon-picker-button.h
2322 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2323 (_selection_changed, hildon_picker_button_on_dialog_response)
2324 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2325 New hildon_picker_button_value_changed() method.
2328 * src/hildon-picker-button-private.h
2329 * src/hildon-picker-button.c (hildon_picker_button_init)
2330 (+hildon_picker_button_disable_value_changed): Add protected
2331 function for disabling the "value-changed" signal.
2333 * src/hildon-date-button.c (hildon_date_button_set_date):
2334 Don't emit "value-changed" for each one of the three columns.
2336 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2337 before actual change of values)
2339 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2341 * src/hildon-pannable-area.c,
2342 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2343 for the treeview overshooting.
2345 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2347 * src/hildon-banner.c (+hildon_banner_bind_style):
2348 Renamed from hildon_banner_bind_label_style(), now naming the
2349 banner itself as well.
2350 (hildon_banner_show_information),
2351 (hildon_banner_show_information_with_markup),
2352 (hildon_banner_show_animation), (hildon_banner_show_progress):
2353 Name the widgets and labels, based on their type.
2355 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2358 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2360 * src/hildon-note.c (hildon_note_set_property): call
2361 hildon_note_rename() on HildonNote:note-type set.
2362 (hildon_note_rename): Name the note and its label, based on the
2363 HildonNote:note-type property.
2365 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2368 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2370 * src/hildon-pannable-area.c,
2371 (hildon_pannable_area_class_init),
2372 (hildon_pannable_area_motion_notify_cb): Reviewed the default
2373 panning parameters, increased SPS and deceleration factor. Added
2374 also a margin to control fake directions.
2376 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2378 Patch by Sven Herzberg (sven@imendio.com)
2380 * configure.ac: Add missing AM_PROG_CC_C_0
2381 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2383 See NB#101420 (Update unit tests and fix make check)
2385 2009-02-23 Alejandro G. Castro <alex@igalia.com>
2387 This patch was applied before but reverted because it caused
2388 problems, we have changed the main condition and tested the
2389 regressions we detected before and they work ok. We have done a
2390 complete review of the topmost algorithm in order to get a more
2393 * src/hildon-pannable-area.c,
2394 (hildon_pannable_area_get_topmost): Added a new parameter to
2395 filter the the windows that do not include those events.
2396 (hildon_pannable_area_button_press_cb),
2397 (hildon_pannable_area_button_release_cb),
2398 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2399 topmost function, we have added the new parameter.
2401 Fixes: NB#97458 (Pannable area prevents propagation of button
2404 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2406 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
2407 if all columns in the selector have an item selected.
2408 (_on_dialog_response): Stop "response" signal emission if there is
2409 any selector column without selected items.
2411 Fixes: NB#101889 (Picker dialog should not close when nothing is
2412 selected in multiple selection list)
2414 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2416 * src/hildon-font-selection-dialog.c
2417 (hildon_font_selection_dialog_class_init),
2418 (hildon_font_selection_dialog_init): Remove the preview
2419 button and dialog, since previewing with default theming is likely
2420 to be overcomplicated. The :preview property has now no effect.
2421 Update documentation blurbs to inform about this.
2423 Fixes: NB#92297 (Preview content is not clearly visible for
2424 default colour text)
2426 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2428 Reviewed the geometry that handles the children size and
2429 scrollbar, now it tries a size and reviews the results depending
2430 on the scrollbars visibility.
2432 * src/hildon-pannable-area.c,
2433 (hildon_pannable_area_realize): Fixed a typo.
2434 (hildon_pannable_area_child_allocate_calculate): Added this
2435 function to calculate the child allocation.
2436 (hildon_pannable_area_size_allocate): Reviewed the allocation
2438 (hildon_pannable_area_check_scrollbars),
2439 (hildon_pannable_area_refresh): Refactored refresh function, this
2440 way we can call the code handling the scrollbars without causing a
2441 size_request, it is interesting in the allocate.
2442 (hildon_pannable_area_init): Replace the callbacks of the
2443 value_changed and changed signals to propertly deal with the
2445 (hildon_pannable_area_grab_notify),
2446 (hildon_pannable_area_initial_effect),
2447 (hildon_pannable_area_launch_fade_timeout),
2448 (hildon_pannable_area_adjust_changed),
2449 (hildon_pannable_area_adjust_value_changed),
2450 (hildon_pannable_area_redraw),
2451 (hildon_pannable_area_button_press_cb),
2452 (hildon_pannable_area_button_release_cb),
2453 (hildon_pannable_area_scroll_cb),
2454 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
2455 code and use the new functions adjust_changed and
2456 adjust_value_changed.
2458 Fixes: NB#101603 (Focus is not even for the text entry boxes in
2459 Contact editor dialog)
2461 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
2466 * configure.ac: Bump version.
2467 * debian/changelog: Updates.
2469 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2471 * src/hildon-pannable-area.c,
2472 (hildon_pannable_area_get_topmost),
2473 (hildon_pannable_area_button_press_cb),
2474 (hildon_pannable_area_button_release_cb),
2475 (hildon_pannable_get_child_widget_at): Reverted the patch for the
2476 topmost function adding the event mask. We have to try a
2477 differente approach because it is still causing problems (NB#9745,
2480 2009-02-19 Alberto Garcia <agarcia@igalia.com>
2482 * src/hildon-banner.c:
2483 Update the maximum width of timed banners.
2484 (force_to_wrap_truncated): Enforce the maximum text width if the
2487 Fixes: NB#102413 (The text margins (wrapping) in information
2488 banner should be HILDON_MARGIN_TRIPLE)
2490 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2492 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
2494 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
2495 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
2496 bound when calculating the scroll indicator position.
2498 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
2499 treat ->lower correctly)
2501 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2503 * src/hildon-caption.c (hildon_caption_class_init): Remove the
2504 expose event handling, since it is not necessary to draw the focus
2507 Fixes: NB#102467 (Do not show highlight on the text in
2510 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2512 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
2513 full height of the toolbar for the button and the label.
2515 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2517 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
2518 padding before the label and after the button.
2520 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2522 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
2524 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2525 Add a GtkVSeparator between the button and the back arrow.
2526 Let the button have automatic size.
2527 Set a name to the widget for theming handling.
2529 Fixes: NB#101793 (Make edit toolbar the same height as window
2530 title bar (use title area theming))
2532 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2534 * src/hildon-helper.c (attach_new_color_element): Fix memory
2537 Fixes: NB#102262 (memory leak in hildon_button_set_style())
2539 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2541 * examples/hildon-button-example.c (common_buttons_window): Don't
2544 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2546 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2547 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
2549 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2551 * src/hildon-gtk.c: Check that the window is realized.
2553 Fixes: NB#102225 (Crash setting the progress indicator to a non
2556 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2558 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
2559 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
2560 instead of modifying the one in the widget style.
2562 Fixes: NB#101043 (Second row of all the command button are
2563 displayed in transparent mode.)
2565 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2567 * src/hildon-date-button.c
2568 * src/hildon-time-button.c: Add gettext macros
2570 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
2572 * src/hildon-date-button.c (hildon_date_button_new):
2573 * src/hildon-time-button.c (hildon_time_button_new_step):
2574 Use new logical strings to set the button default title.
2576 Fixes: NB#99915 (Date and Time options are not localised in Date
2579 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2581 * src/hildon-pannable-area.c
2582 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
2583 the PANNING_THRESHOLD.
2585 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2587 * src/hildon-pannable-area.c,
2588 (hildon_pannable_area_class_init): Increased the maximum speed.
2589 (hildon_pannable_area_get_property),
2590 (hildon_pannable_area_set_property),
2591 (hildon_pannable_area_timeout): Added a new low friction mode, it
2592 allows the user avoid friction when launching the widget fast
2593 enough. It is interesting to traverse long lists.
2595 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2597 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
2598 (+hildon_stackable_window_delete_event): Ignore delete events if
2599 the window is not the topmost one.
2601 Fixes: NB#101698 (Back button long press and delete-event handling)
2603 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2605 * src/hildon-pannable-area.c,
2606 (hildon_pannable_area_motion_notify_cb): Removed the use of the
2607 gtk-dnd-drag-threshold, it was too big. We have defined our own
2608 dnd define and set a smaller value: PANNIG_THRESHOLD.
2610 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2612 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
2613 user-defined icons, use always the default one.
2615 Fixes: NB#101916 (Do not allow custom icons on animation banner)
2617 2009-02-13 Alejandro G. Castro <alex@igalia.com>
2619 This patch was applied before but reverted because it caused
2620 problems, we have changed the main condition and tested the
2621 regressions we detected before and they work ok.
2623 * src/hildon-pannable-area.c,
2624 (hildon_pannable_area_get_topmost): Added a new parameter to
2625 filter the the windows that do not include those events. Added
2626 also a condition when finding the window to filter windows that do
2627 not ask for those events.
2628 (hildon_pannable_area_button_press_cb),
2629 (hildon_pannable_area_button_release_cb),
2630 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2631 topmost function, we have added the new parameter.
2633 Fixes: NB#97458 (Pannable area prevents propagation of button
2636 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2638 * tests/check-hildon-color-button.c (START_TEST): do not leak
2641 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2643 * src/hildon-font-selection-dialog.c
2644 (hildon_font_selection_dialog_get_preview_text): Return NULL
2645 instead of FALSE on the g_return_val_if_fail().
2647 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2649 * src/hildon-time-selector.c (hildon_time_selector_set_time):
2650 * src/hildon-date-selector.c
2651 (hildon_date_selector_select_current_date):
2652 Do not compare unsigned integers to be greater than or equal 0,
2653 because it's always TRUE.
2655 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2657 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
2658 (hildon_date_selector_constructor): Do not select the current
2659 date until we are handle the "changed" signal, to avoid having bogus
2660 elements in the days model.
2662 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2664 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
2665 for num_days, since _month_days() can return a negative value.
2667 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2669 * src/hildon-caption.c (hildon_caption_size_allocate):
2670 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
2671 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
2673 Initialize allocation variables to 0, to avoid eventually using
2674 unitialized variables.
2676 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2678 * src/hildon-bread-crumb-trail.c
2679 (hildon_bread_crumb_trail_size_allocate):
2680 * src/hildon-calendar.c (hildon_calendar_set_background):
2681 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
2682 * src/hildon-range-editor.c (hildon_range_editor_get_range):
2683 * src/hildon-seekbar.c (hildon_seekbar_init):
2684 * src/hildon-time-editor.c (hildon_time_editor_get_time):
2685 * src/hildon-time-selector.c (hildon_time_selector_finalize):
2686 * src/hildon-touch-selector-entry.c
2687 (hildon_touch_selector_get_text_from_model):
2688 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
2689 * src/hildon-window.c (hildon_window_finalize):
2691 Remove many unused variables.
2693 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2695 * src/hildon-seekbar.c: (hildon_seekbar_init),
2696 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
2698 Remove unnecessary g_assert() calls.
2700 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2702 * src/hildon-caption.c: (hildon_caption_expose),
2703 (hildon_caption_set_property), (hildon_caption_init),
2704 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
2705 (hildon_caption_size_request), (hildon_caption_size_allocate),
2706 (hildon_caption_forall), (hildon_caption_set_separator),
2707 (hildon_caption_activate), (hildon_caption_set_child_expand),
2708 (hildon_caption_set_label_text),
2709 (hildon_caption_get_label_alignment):
2711 Remove unnecessary g_assert() calls.
2713 2009-02-12 Alberto Garcia <agarcia@igalia.com>
2715 * src/hildon-banner.c
2716 (hildon_banner_map, hildon_banner_init): Make banner temporary
2717 before mapping it to avoid closing other temporary windows, but
2718 make it non-temporary afterwards to avoid being closed by other
2719 non-temporary windows.
2720 (-hildon_banner_client_event, hildon_banner_init):
2721 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
2723 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
2726 2009-02-11 Alberto Garcia <agarcia@igalia.com>
2728 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
2731 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2733 * src/hildon-remote-texture.c
2734 * src/hildon-remote-texture.h
2735 * src/hildon-remote-texture-private.h
2736 * examples/hildon-remote-texture-example.c:
2737 Updates/fixes to remote-texture and its example.
2739 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
2741 Patch by Mox Soini (ext-mox.soini@nokia.com)
2743 * src/hildon-code-dialog.c: Update logical id.
2744 * src/hildon-set-password-dialog.c: Update logical id.
2746 Fixes: NB#100646 (Logical strings is shown for ok in set
2747 password,Password needed dialogs)
2749 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2752 * src/hildon-remote-texture.c
2753 * src/hildon-remote-texture.h
2754 * src/hildon-remote-texture-private.h
2756 Added remote texture widget (for Clutter shared memory textures)
2758 * examples/hildon-remote-texture-example.c
2759 * examples/Makefile.am
2760 Added example file for remote texture usage
2762 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
2764 * configure.ac: post release version bump.
2765 * debian/changelog: version bump.
2767 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
2772 * configure.ac: Bump version.
2773 * debian/changelog: Updates.
2775 2009-02-06 Alberto Garcia <agarcia@igalia.com>
2777 * src/hildon-date-selector.c (hildon_date_selector_init)
2778 (hildon_date_selector_constructor): Don't connect to the "changed"
2779 signal until the selector is completely constructed.
2781 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2783 * src/hildon-touch-selector.c: (_create_new_column),
2784 (hildon_touch_selector_append_column),
2785 (hildon_touch_selector_set_column_selection_mode),
2786 (hildon_touch_selector_set_active),
2787 (hildon_touch_selector_select_iter):
2788 Emit the HildonTouchSelector::changed signal every time selection
2789 is changed in any of the methods above. This behavior was already
2790 documented but not fully functional.
2792 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
2793 selection is programmatically changed)
2795 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2797 * doc/hildon-sections.txt: Remove obsolete icon
2798 sizes from here as well.
2800 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2802 * examples/hildon-stackable-window-example.c (add_window): Remove
2805 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2807 * src/hildon-app-menu.c
2808 (hildon_app_menu_show): Check whether the parent window of a menu
2809 is topmost before popping it up.
2811 Fixes: NB#100468 (Application menu window is launched even when a
2812 new secondary-window/dialog is pending to be shown/realized.)
2814 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2816 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
2819 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2821 Patch by Mox Soini (ext-mox.soini@nokia.com)
2823 * src/hildon-banner.c: (hildon_banner_show_animation):
2824 use stylus size instead of obsolete note size.
2825 * src/hildon-defines.h: Update icon sizes.
2827 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2829 * src/hildon-touch-selector-entry.c:
2830 (hildon_touch_selector_entry_init): Disable unsupported
2832 (hildon_touch_selector_entry_get_text_column): Emit a warning
2833 if an unsupported input modes is used and explicitile state
2834 these modes in the documentation.
2836 Fixes: NB#99802 (Hildon touch selector entry not working properly
2837 for some of the input modes)
2839 2009-02-05 Alejandro G. Castro <alex@igalia.com>
2841 * src/hildon-pannable-area.c,
2842 (hildon_pannable_area_init): Added the changed signal handlers of
2845 Fixes: NB#100320 (HildonPannableArea does not listen to
2846 GtkAdjustment "change" signals)
2848 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2850 * doc/hildon-sections.txt
2851 * src/hildon-window-private.h
2852 * src/hildon-window.h
2853 * src/hildon-window.c (hildon_window_init)
2854 (hildon_window_realize, hildon_window_unrealize)
2855 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
2856 (hildon_window_size_request, hildon_window_size_allocate)
2857 (hildon_window_forall, hildon_window_show_all)
2858 (hildon_window_destroy, +paint_edit_toolbar)
2859 (+hildon_window_set_edit_toolbar):
2860 New hildon_window_set_edit_toolbar() method, to add a
2861 HildonEditToolbar to a window without having to pack it manually.
2863 Reorganize hildon_window_size_allocate()
2865 * src/hildon-edit-toolbar.c: Update documentation.
2867 * examples/hildon-edit-toolbar-example.c (edit_window): Update
2868 example to use the new API.
2870 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
2872 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2874 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
2875 Remove from stack before calling parent's hide.
2877 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2879 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
2880 window is removed from the middle of the stack, update the
2881 transiency of the previous one.
2883 Fixes: NB#100487 (HildonStackableWindow transiency becomes
2886 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2888 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
2889 block/unblock the signal handler if it's not actually being used.
2890 Fixes some critical warnings.
2892 2009-02-02 Alberto Garcia <agarcia@igalia.com>
2894 Based on a patch by Iván Gómez (igomez@igalia.com)
2896 * src/hildon-banner.c
2900 * src/hildon-pannable-area.c
2901 * src/hildon-picker-dialog.c
2902 * src/hildon-wizard-dialog.h
2903 * src/hildon-wizard-dialog.c: Documentation updates.
2905 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
2906 gtk_dialog_add_button() instead of hildon_dialog_add_button().
2908 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2910 * configure.ac: post release version bump.
2911 * debian/changelog: version bump.
2913 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2918 * configure.ac: Bump version.
2919 * debian/changelog: Updates.
2921 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2923 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
2924 a stock icon nor change the relief of the back arrow.
2926 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2927 graphics from theme)
2929 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2931 * src/hildon-button.c (hildon_button_set_alignment): Use
2932 priv->alignment if the button has no child yet.
2934 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
2936 * src/hildon-button.c: (hildon_button_init): Set the
2937 button style during initialization to give it the proper
2940 Fixes: NB#99713 (HildonButton value label color is wrong)
2942 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2944 * src/hildon-touch-selector.c: Document
2945 hildon_touch_selector_center_on_selected()
2947 2009-01-28 Alberto Garcia <agarcia@igalia.com>
2949 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
2950 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
2951 all menu items, but not the menu itself.
2952 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
2953 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
2954 items after adding them to the menu so keyboard accelerators work.
2955 (hildon_app_menu_show): Don't show the menu if it contains items
2956 but none of them are visible.
2958 * examples/hildon-app-menu-example.c (create_menu): Use
2959 gtk_widget_show_all() to show all menu items.
2961 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2963 * src/hildon-picker-dialog.c:
2964 (-_update_title_on_selector_changed_cb),
2965 (-_dialog_update_title): Removed.
2966 (_select_on_selector_changed_cb), (_on_dialog_response),
2967 (on_selector_columns_changed): Do not update the dialog title.
2968 (setup_interaction_mode): Do not connect to
2969 HildonTouchSelector::changed signal if there's a "done" button, as
2970 the dialog title doesn't need to be updated.
2972 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
2975 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
2977 Patch by Kristian Rietveld (kris@imendio.com)
2979 * src/hildon-touch-selector.c: (_create_new_column): Use new
2980 GtkTreeView::hildon-row-tapped signal to react to user interactions
2981 instead of ::changed.
2983 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
2984 with some dynamic tree model)
2986 2009-01-27 Alberto Garcia <agarcia@igalia.com>
2988 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
2989 (+screen_size_changed, +label_size_request)
2990 (hildon_note_class_init): Make the Hildon information note have a
2991 minimum height, and make its text hvae a maximum width.
2993 Fixes: NB#98614 (Hildon information note (background) should have
2994 minimum height and maximum text width)
2996 2009-01-26 Alberto Garcia <agarcia@igalia.com>
2998 * src/hildon-banner.h
2999 * src/hildon-banner.c (hildon_banner_show_information)
3000 (hildon_banner_show_informationf)
3001 (hildon_banner_show_information_with_markup): Update documentation
3002 to reflect that the icon_name parameter is not used anymore.
3003 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3004 Remove all code from these functions and mark them as deprecated.
3005 (hildon_banner_show_progress): Mark as deprecated.
3007 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3009 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3011 * src/hildon-pannable-area.c,
3012 (hildon_pannable_area_class_init),
3013 (tranparency_color),
3014 (hildon_pannable_draw_vscroll),
3015 (hildon_pannable_draw_hscroll),
3016 (hildon_pannable_area_expose_event): Added a new way to render the
3017 scrollbars of the pannable area avoiding using cairo at all. This
3018 way we improve the performance of the pannable area rendering. The
3019 cairo rendering procedure is still in the code, we can control
3020 which one to use changing the value of the define
3021 USE_CAIRO_SCROLLBARS.
3023 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3025 * configure.ac: post release version bump.
3026 * debian/changelog: version bump.
3028 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3033 * configure.ac: Bump version.
3034 * debian/changelog: Updates.
3036 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3038 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3039 banners instead of destroying them when they receive a button
3042 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3044 Reverted commit 34028, it was causing regressions, probably the
3045 topmost condition is not correct, we have to check it in more
3046 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3047 propagation of button press events)
3049 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3051 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3052 that the selection is not empty before attempting to retrieve the
3053 current ampm selection.
3055 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3057 * src/hildon-picker-button.c:
3058 (hildon_picker_button_on_dialog_response): Directly update the
3059 button contents when required instead of calling _selection_changed.
3061 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3063 * src/hildon-program.c (hildon_program_update_top_most): Update
3064 'is-topmost' property also when wm_hints is not set.
3066 Fixes: NB#98383 (is-topmost signal is not emitted when task
3067 switcher is clicked.)
3069 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3071 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3075 * src/hildon-animation-actor.c,
3076 * src/hildon-animation-actor.h: Added the animation actor class,
3077 this widget represents an animation actor for WM-assisted
3078 animation effects in the Hildon framework.
3080 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3082 * src/hildon-window-stack-private.h
3083 * src/hildon-window-stack.c
3084 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3085 Avoid calling gtk_widget_show() again indirectly from
3086 hildon_stackable_window_show()
3088 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3090 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3093 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3095 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3096 (hildon_time_selector_init): Move the construction of the hours and
3097 ampm columns to the constructor to preserve the order the columns
3100 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3102 * src/hildon-picker-dialog.c:
3103 (hildon_picker_dialog_class_init): Connect a realize method.
3104 (+hildon_picker_dialog_realize): Setup the interaction mode here
3106 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3107 yet, do it during the realize instead.
3108 (_on_dialog_response):
3109 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3110 if the widget is not realized, to avoid the dialog response before it
3113 Avoid premature responses in the HildonPickerDialog that can cause it
3114 to be hidden before it's even shown.
3116 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3118 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3119 (on_selector_columns_changed), (requires_done_button),
3120 (+prepare_action_area), (setup_interaction_mode),
3121 (_hildon_picker_dialog_set_selector):
3123 Split the interaction mode setup into preparation of the
3124 action area (prepare_action_area()) and the connection of
3125 the signals in setup_interaction_mode() and update the code to
3128 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3130 * src/hildon-pannable-area.c,
3131 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3132 per second to 15, we will check if this is ok regarding
3135 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3137 * src/hildon-pannable-area.c,
3138 (hildon_pannable_axis_scroll): Avoid resize if we already have
3139 reached overshoot_max.
3141 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3143 * src/hildon-pannable-area.c,
3144 (hildon_pannable_area_init),
3145 (hildon_pannable_area_realize),
3146 (hildon_pannable_area_size_allocate),
3147 (hildon_pannable_area_map),
3148 (hildon_pannable_area_unmap),
3149 (hildon_pannable_draw_vscroll),
3150 (hildon_pannable_draw_hscroll),
3151 (hildon_pannable_area_expose_event),
3152 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3153 pannable are to avoid the expose events go to the window and
3154 redraw the window. We save this way that part of the stack and the
3155 paint_boxes. We had to change the positions of the elements when
3158 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3160 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3161 * src/hildon-color-chooser-dialog.c:
3162 (hildon_color_chooser_dialog_init):
3163 * src/hildon-font-selection-dialog.c:
3164 (hildon_font_selection_dialog_init),
3165 (hildon_font_selection_dialog_show_preview):
3166 * src/hildon-get-password-dialog.c:
3167 * src/hildon-login-dialog.c:
3168 * src/hildon-set-password-dialog.c:
3169 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3170 * src/hildon-time-picker.c: (hildon_time_picker_init):
3172 Remove obsolete logical string IDs and update to the appropriate ones.
3174 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3176 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3178 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3179 that happens if the window hasn't been realized yet.
3181 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3182 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3184 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3186 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3187 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3190 Fixes: NB#98537 (Device hangs in account settings dialog)
3192 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3194 * configure.ac: post release version bump.
3195 * debian/changelog: version bump
3197 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3202 * configure.ac: Bump version.
3203 * debian/changelog: Updates.
3205 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3207 Added a new function to the HildonTimeButton widget that allows to
3208 change the step of the minutes in the selector associated with the
3209 button: hildon_time_button_new_step
3211 * src/hildon-time-button.c,
3212 (hildon_time_button_init),
3213 (hildon_time_button_new),
3214 (hildon_time_button_new_step):
3215 * src/hildon-time-button.h: Added the new function and refactored
3217 * examples/hildon-time-button-example.c,
3218 (main): We have replaced the function without parameters with the
3219 function with the steps set to 5
3221 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3223 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3225 * src/hildon-time-selector.c,
3226 (hildon_time_selector_class_init),
3227 (hildon_time_selector_constructor),
3228 (hildon_time_selector_get_property),
3229 (hildon_time_selector_set_property),
3230 (_create_minutes_model),
3231 (hildon_time_selector_new_step),
3232 (hildon_time_selector_set_time),
3233 * src/hildon-time-selector.h: Added a new property to the
3234 HildonTimeSelector (minutes-step), we use that property to control
3235 the steps between the minutes in the list of the selector. We have
3236 added a new function to the API to create a widget changing the
3237 step: hildon_time_selector_new_step.
3239 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3241 * src/hildon-time-selector.c,
3242 (hildon_time_selector_class_init),
3243 (hildon_time_selector_constructor),
3244 (hildon_time_selector_init): Overrided the construct function when
3245 creating the time selector object. We have moved the minutes model
3246 handling code from the init to the new construction function:
3247 hildon_time_selector_constructor.
3249 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3251 * examples/hildon-date-button-example.c: (main): Use the new
3252 hildon_date_button_new_with_year_range() method in the example.
3253 * src/hildon-date-button.c:
3254 (+hildon_date_button_new_with_year_range): New public method
3255 to conveniently create a HildonDateButton with a custom year range
3256 in its HildonDateSelector.
3257 * src/hildon-date-button.h: Add the new public method definition.
3259 Fixes: NB#97908 (Not possible to change the year range in
3260 HildonDateSelector/HildonDateButton)
3262 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3264 * src/hildon-date-selector.c:
3265 (+hildon_date_selector_set_property),
3266 (+hildon_date_selector_get_property),
3267 (hildon_date_selector_class_init): Install new properties "min-year"
3268 and "max-year" to define boundaries for the year column.
3269 (_create_year_model): Use the boundary properties to populate the model.
3270 (+hildon_date_selector_new_with_year_range): New public method to
3271 create a HildonDateSelector with a user defined year range.
3272 (hildon_date_selector_select_current_date): Use the new boundaries to
3273 calculate the iterator of current year.
3274 * src/hildon-date-selector.h: Add the new public method definition.
3276 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3278 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3279 Install a constructor method.
3280 (+hildon_date_selector_construct_ui): construct the widget.
3281 (+hildon_date_selector_constructor): new constructor.
3282 (+hildon_date_selector_init): move out widget construction code to
3283 the new constructor.
3285 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3287 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3288 that there's actually a month or year selected before obtaining them.
3289 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3290 of the HildonTouchSelector::changed signal, as it was emitted on every
3291 single item selection.
3293 Fix some warnings and possible crashers due to the selection restoring.
3295 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3297 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3298 the signal handlers only after creating the dialog instead of on every
3301 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3303 * src/hildon-button.c (hildon_button_init)
3304 * src/hildon-check-button.c (hildon_check_button_init)
3305 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3306 focus when clicked by default.
3308 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3310 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3313 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3315 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3316 Alejandro G. Castro (alex@igalia.com)
3318 * src/hildon-picker-dialog.c:
3319 (hildon_picker_dialog_class_init): install new "center-on-show"
3321 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3322 (hildon_picker_dialog_set_property): add setter code for the new
3324 (hildon_picker_dialog_get_property): add getter code for the new
3326 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3327 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3330 Fixes: NB#92849 (Selected item is not always visible when
3331 HildonTouchSelector is shown)
3333 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3335 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3336 Alejandro G. Castro (alex@igalia.com)
3338 * src/hildon-touch-selector.c:
3339 (_create_new_column): Do not connect to the "realize" signal of the
3341 (hildon_touch_selector_append_column): center on the selected items
3342 when a new column is appended.
3343 (hildon_touch_selector_select_iter): Factor out the code to select a
3344 column to hildon_touch_selector_scroll_to().
3345 (+search_nearest_element): Method to retrieve the nearest selected
3346 element to the visible area of the pannable area in a column.
3347 (+on_realize_cb): scroll to the initially selected item.
3348 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3349 the pannable area is realized, otherwise delay this until it is.
3350 (+_hildon_touch_selector_center_on_selected_items): Centers on the
3351 selected items of a given column.
3352 (+hildon_touch_selector_center_on_selected): Public method to center
3353 all columns on the nearest selected item.
3354 * src/hildon-touch-selector.h: Add definition for
3355 hildon_touch_selector_center_on_selected().
3357 Implement public API to ensure visibility of all selected items in
3358 a HildonTouchSelector.
3360 2009-01-16 Alejandro G. Castro <alex@igalia.com>
3362 Fixed a problem in the fading when calling the scroll_to API, and
3363 improve scrollbar fading handling.
3365 * src/hildon-pannable-area.c,
3366 (hildon_pannable_area_grab_notify): avoid the timeout when the
3368 (hildon_pannable_area_button_press_cb),
3369 (hildon_pannable_area_motion_notify_cb): Code style changes.
3370 (hildon_pannable_area_button_release_cb): Review the conditions
3371 when releasing the mouse button to avoid unrequired fading
3373 (hildon_pannable_area_scroll_to): Do not calculate and set the
3374 velocity if the scroll is not required.
3376 2009-01-15 Alberto Garcia <agarcia@igalia.com>
3378 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3379 Don't check whether the new selector is NULL: it cannot be.
3380 Hold a reference to the selector while doing the replacement.
3382 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3384 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3385 unnecessary size_request in a removed widget.
3387 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3389 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3390 an unnecessary reference tracking that was leaking.
3392 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3394 Added delayed motion notify event handling, this way we can
3395 discard redrawing if more than 25 events arrive per second.
3397 * src/hildon-pannable-area.c,
3398 (hildon_pannable_area_init): Initialized the new private atributes
3399 controlling this timeout
3400 (hildon_pannable_area_dispose): Remove the timeout that controls
3401 the motion notify events.
3402 (hildon_pannable_area_scroll): Added a condition to control the
3403 use of the acceleration.
3404 (hildon_pannable_area_motion_event_scroll_timeout),
3405 (hildon_pannable_area_motion_event_scroll): Added this two
3406 functions, they handle the motion notify events inside the
3408 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
3409 to the scroll method with the new function.
3410 (hildon_pannable_area_button_release_cb): We have to remove the
3411 timeout handler and move to the last position if the last motion
3412 events were not handled.
3414 Fixes: NB#97028 (Pannable area updates on every motion event)
3416 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3418 * src/hildon-pannable-area.c,
3419 (hildon_pannable_area_get_topmost): Added a new parameter to
3420 filter the the windows that do not include those events. Added
3421 also a condition when finding the window to filter windows that do
3422 not ask for those events.
3423 (hildon_pannable_area_button_press_cb),
3424 (hildon_pannable_area_button_release_cb),
3425 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3426 topmost function, we have added the new parameter.
3428 Fixes: NB#97458 (Pannable area prevents propagation of button
3431 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3433 * src/hildon-pannable-area.c,
3434 (hildon_pannable_area_initial_effect): Added controls before
3435 launching the timeout and the idle functions.
3436 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
3437 of the method, in some situations it can return with TRUE and 0 in
3439 (hildon_pannable_area_button_press_cb): We do not need to set
3440 DELAY for fading out here.
3442 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
3444 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3446 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
3447 post-cleaning if the selection is not NULL.
3449 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3451 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
3452 all items before restoring the selection.
3454 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3456 * src/hildon-touch-selector.c:
3457 (+hildon_touch_selector_unselect_all):
3458 * src/hildon-touch-selector.h: New API to unselect all items in a
3459 column of the touch selector.
3461 2009-01-14 Alejandro G. Castro <alex@igalia.com>
3463 * src/hildon-pannable-area.c,
3464 (hildon_pannable_area_redraw): Added a call to the refresh
3465 function inside the redraw because apparently in some cases the
3466 change in the adjustment does not imply a size allocate.
3468 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
3469 despite the view not being scrollable)
3471 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3473 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
3474 leak. Check for NULL before attempting to set the window title.
3476 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3478 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
3479 whether to show or not the 'Done' button each time the dialog is
3480 shown, as it depends on the HildonTouchSelector selection mode.
3482 Fixes: NB#96226 (In multiple selection mode Done button is shown
3483 sometimes in listpicker)
3485 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3487 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3488 for the number of columns in the HildonTouchSelector more than once.
3490 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3492 * src/hildon-touch-selector.c: Minor documentation fixes.
3494 * src/hildon-picker-dialog.c (+_dialog_update_title)
3495 (_select_on_selector_changed_cb)
3496 (_update_title_on_selector_changed_cb)
3497 (on_selector_columns_changed): Update dialog title when there's no
3498 'Done' button and also when the number of columns in the selector
3502 * src/hildon-picker-button.c (hildon_picker_button_finalize)
3503 (+_selection_changed, hildon_picker_button_on_dialog_response)
3504 (hildon_picker_button_selector_selection_changed)
3505 (+hildon_picker_button_selector_columns_changed)
3506 (hildon_picker_button_set_selector): Update button value and emit
3507 'value-changed' when the number of columns in the selector
3511 Fixes: NB#96225 (Dialog titles are not shown according to the
3512 values selected in the list picker)
3514 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3516 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
3517 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
3518 New "arrow-width" and "arrow-height" style properties to set the
3519 size of the arrow button.
3520 Set name of arrow button ("hildon-edit-toolbar-arrow").
3522 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3523 graphics from theme)
3525 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3527 * src/hildon-picker-button.c:
3528 (hildon_picker_button_selector_selection_changed): Use
3529 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
3530 the dialog is present.
3532 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
3533 the selection is accepted in the dialog)
3535 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3537 * src/hildon-color-chooser.h
3538 * src/hildon-color-chooser-dialog.h:
3539 Added G_BEGIN_DECLS and G_END_DECLS
3541 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3543 (_clean_current_selection): plug a leak in the list.
3545 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3547 * src/hildon-picker-dialog.c:
3548 (+free_path_list): Method to free a GList of GtkTreePaths.
3549 (_clean_current_selection), (_save_current_selection),
3550 (_restore_current_selection): Save the current selection in
3551 as a list of lists, to support multiple selection properly.
3553 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3555 patch by Claudio Saavedra (csaavedra@igalia.com)
3557 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
3558 Store the press position.
3559 (+hildon_text_view_button_release_event): If the release position is
3560 close enough to the press position, move the cursor here. Otherwise,
3562 (hildon_text_view_class_init): Override GtkTextView press, release, and
3563 motion event handlers, disabling this way text selection through
3564 pointer interaction, and allowing the container widget to handle the
3567 Fixes: NB#95828 (HildonTextView functionality)
3569 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3571 Based on a patch by Iván Gómez (igomez@igalia.com)
3573 * src/hildon-button.[ch]
3574 * src/hildon-calendar.c
3575 * src/hildon-check-button.c
3576 * src/hildon-date-editor.c
3577 * src/hildon-date-selector.c
3578 * src/hildon-picker-button.c
3579 * src/hildon-time-editor.c
3580 * src/hildon-time-selector.c
3581 * src/hildon-touch-selector.[ch]:
3582 Documentation updates
3584 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3586 * src/hildon-pannable-area.c,
3587 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
3588 threshold, it was required due to X events handling.
3590 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3592 * src/hildon-pannable-area.c,
3593 (hildon_pannable_area_grab_notify),
3594 (hildon_pannable_area_initial_effect),
3595 (hildon_pannable_area_button_press_cb),
3596 (hildon_pannable_area_button_release_cb),
3597 (hildon_pannable_area_scroll_cb),
3598 (hildon_pannable_area_scroll_to): Review the timeout management of
3599 the scrollbar, the frecuency was incorrectly set.
3601 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
3603 * src/hildon-picker-button.c:
3604 (+hildon_picker_button_on_dialog_response),
3605 (hildon_picker_button_clicked): Present the dialog instead of
3606 running it with gtk_dialog_run().
3608 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
3611 2009-01-07 Alberto Garcia <agarcia@igalia.com>
3613 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3614 (hildon_app_menu_finalize): When a window is hidden it doesn't
3615 emit notify::is-topmost, so make sure than the menu also
3616 disappears in that case.
3617 (parent_window_topmost_notify): Renamed from parent_window_hidden
3619 Fixes: NB#94460 (stackable window's menu is not closed when its
3622 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3624 * src/hildon-touch-selector-entry.c:
3625 (+hildon_touch_selector_entry_set_input_mode),
3626 (+hildon_touch_selector_entry_get_input_mode):
3627 * src/hildon-touch-selector-entry.h: New methods to access the input
3628 mode in the selector's entry.
3630 Fixes: NB#93410 (API required for setting IM mode in
3631 HildonTouchSelectorEntry)
3633 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3635 * configure.ac: post release version bump.
3636 * debian/changelog: version bump
3638 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3643 * configure.ac: Bump version.
3644 * debian/changelog: Updates.
3646 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
3648 * src/hildon-touch-selector.c:
3649 (_hildon_touch_selector_has_multiple_selection): No need
3650 to initialize the variables here.
3652 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3654 * src/hildon-note-private.h
3655 * src/hildon-note.c (event_box_press_event, hildon_note_init)
3656 (hildon_note_finalize, hildon_note_rebuild): Close information
3657 notes when they receive a button press.
3659 Fixes: NB#89890 (Information notes does not get disappeared after
3662 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
3664 * src/hildon-wizard-dialog.c: (create_title): Remove translation
3665 mark from the wizard title, as it's not really necessary. Also,
3666 do not display the page title if not set.
3668 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3670 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3671 (parent_window_hidden): Use the window's "is-topmost" property to
3672 detect when to hide the menu.
3674 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3676 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3677 (hildon_app_menu_finalize): If the parent window of the menu is
3678 hidden, hide the menu too.
3680 Fixes: NB#94460 (stackable window's menu is not closed when its
3683 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3686 * debian/libhildon1-examples.install
3688 * examples/Makefile.am:
3689 Use dh_install to install all examples.
3690 Use DEB_SRCDIR instead of defining SOURCE_DIR
3692 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3694 * configure.ac: post release version bump.
3695 * debian/changelog: version bump
3697 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3702 * configure.ac: bump version
3703 * debian/changelog: updates
3704 * debian/control: bump gtk+ dependency
3706 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3708 patch by Christian Dywan (christian@imendio.com)
3710 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
3711 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
3713 2008-12-15 Alberto Garcia <agarcia@igalia.com>
3715 * src/hildon-check-button.c (hildon_check_button_init)
3716 (hildon_check_button_class_init, hildon_check_button_style_set)
3717 (hildon_check_button_apply_style):
3718 New "checkbox-size" style property.
3720 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
3721 larger / configurable size)
3723 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3725 * configure.ac: post release version bump.
3726 * debian/changelog: version bump
3728 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3733 * configure.ac: bump version
3734 * debian/changelog: updates
3736 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3738 * doc/hildon-sections.txt
3739 * src/hildon-pannable-area.c
3740 * src/hildon-program.c
3741 * src/hildon-time-editor.c
3742 * src/hildon-touch-selector-entry.c:
3744 More documentation updates.
3746 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3748 * doc/hildon-sections.txt
3749 * src/hildon-caption.c
3750 * src/hildon-code-dialog.c
3751 * src/hildon-color-button.c
3752 * src/hildon-controlbar.c
3753 * src/hildon-date-editor.c
3754 * src/hildon-date-selector.c
3755 * src/hildon-edit-toolbar.c
3756 * src/hildon-find-toolbar.c
3757 * src/hildon-font-selection-dialog.c
3759 * src/hildon-program.c
3760 * src/hildon-range-editor.c
3761 * src/hildon-seekbar.c
3762 * src/hildon-time-editor.c
3763 * src/hildon-time-selector.c
3764 * src/hildon-volumebar-range.c
3765 * src/hildon-volumebar.c
3766 * src/hildon-vvolumebar.c
3767 * src/hildon-weekday-picker.c
3768 * src/hildon-window.c
3769 * src/hildon-wizard-dialog.c:
3771 Lots of documentation fixes.
3773 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3775 Patch contributed by Iván Gómez (igomez@igalia.com)
3777 * src/hildon-check-button.c:
3778 * src/hildon-date-button.c:
3779 * src/hildon-date-selector.c:
3780 * src/hildon-dialog.c:
3781 * src/hildon-edit-toolbar.c:
3782 * src/hildon-entry.c:
3783 * src/hildon-picker-button.c:
3784 * src/hildon-program.c:
3785 * src/hildon-text-view.c:
3786 * src/hildon-time-button.c:
3787 * src/hildon-touch-selector-entry.c:
3788 * src/hildon-window-stack.c:
3790 Add more "since" tags to the new API.
3792 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3794 * doc/hildon-sections.txt: Add below method.
3795 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
3796 version for the hildonized scale.
3797 * src/hildon-gtk.h: Add the definition.
3799 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3801 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3803 * doc/hildon-sections.txt: Add missing entries for new methods.
3805 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3807 Added API to pannable are in order to get its adjustments. We
3808 added two properties to manage the values we had in the private
3811 * src/hildon-pannable-area.c:
3812 (hildon_pannable_area_class_init): Added hadjustment and
3813 vadjustment properties in order to expose horizontal and vertical
3815 (hildon_pannable_area_get_property),
3816 (hildon_pannable_area_set_property): Added code to handle the new
3818 (hildon_pannable_area_get_hadjustment),
3819 (hildon_pannable_area_get_vadjustment): API functions to get the
3821 * src/hildon-pannable-area.h:
3822 (hildon_pannable_area_get_hadjustment),
3823 (hildon_pannable_area_get_vadjustment): API functions to get the
3826 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3828 Fixed some leaks, after valgrinding.
3830 * src/hildon-touch-selector.c:
3831 (_default_print_func): Fixed a leak.
3832 (hildon_touch_selector_append_column): Fixed a leak.
3833 * src/hildon-date-button.c:
3834 (hildon_date_button_init): Fixed a leak.
3835 * src/hildon-date-selector.c
3836 (hildon_date_selector_finalize): Fixed a leak.
3838 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3840 Based on a patch by Christian Dywan (christian@imendio.com)
3842 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
3844 * src/hildon-gtk.h: Add definition.
3846 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3848 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3850 * src/hildon-picker-button.c: (hildon_picker_button_init),
3851 (hildon_picker_button_new): Set the HildonButton::style property
3852 in the init method, to propagate the value to the derived classes.
3854 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3856 * src/hildon-button.c: (hildon_button_class_init): Do not make
3857 the "style" property a construct property.
3859 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3861 * src/hildon-wizard-dialog.h
3862 * src/hildon-wizard-dialog.c
3863 (hildon_wizard_dialog_set_forward_page_func)
3864 * src/hildon-pannable-area.h
3865 * src/hildon-pannable-area.c
3866 (hildon_pannable_area_set_size_request_policy):
3867 Documentation fixes.
3869 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3871 * doc/hildon-sections.txt: Fixed warning about unused symbols.
3873 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3875 * doc/hildon-sections.txt: Added sections file.
3877 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3880 * src/*.[ch]: Updates.
3882 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
3884 * examples/hildon-progress-indicator-example.c: new file
3885 * examples/Makefile.am: include the new example program
3887 2008-12-10 Alberto Garcia <agarcia@igalia.com>
3889 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
3891 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3893 * configure.ac: post release version bump
3894 * debian/changelog: version bump
3896 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3901 * configure.ac: bump version
3902 * debian/changelog: updates
3903 * debian/control: bump gtk+ dependency
3905 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3907 * src/hildon-dialog.c: Mark as deprecated.
3908 * src/hildon-dialog.h: Mark as deprecated.
3909 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
3910 from HildonDialog and still work, even if
3911 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
3912 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
3914 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
3915 maemo changes) instead)
3917 2008-12-09 Alejandro G. Castro <alex@igalia.com>
3919 * src/hildon-pannable_area.h:
3920 * src/hildon-pannable_area.c:
3921 (hildon_pannable_area_class_init),
3922 (hildon_pannable_area_set_property),
3923 (hildon_pannable_area_get_property),
3924 (hildon_pannable_area_size_request),
3925 (hildon_pannable_area_get_size_request_policy),
3926 (hildon_pannable_area_set_size_request_policy): Added new API
3927 allowing applications to control the request policy. Now they can
3928 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
3929 children allocation (HILDON_MOVEMENT_CHILDREN).
3931 2008-12-09 Alberto Garcia <agarcia@igalia.com>
3935 (hildon_gtk_tree_view_set_ui_mode)
3936 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
3937 mode of treeviews and iconviews.
3939 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3941 * src/hildon-touch-selector-entry.c:
3942 (hildon_touch_selector_entry_init): Use a HildonEntry instead
3943 of a GtkEntry to get proper theming.
3945 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
3946 widget, not GtkEntry)
3948 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3950 * src/hildon-wizard-dialog.c: (response): Move forward if there is
3951 no HildonWizardDialogPageFunc.
3953 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3955 Patch contributed by Iván Gómez (igomez@igalia.com)
3957 * src/hildon-app-menu.c:
3958 * src/hildon-button.c:
3959 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
3960 * src/hildon-stackable-window.c:
3961 * src/hildon-time-selector.c:
3962 * src/hildon-touch-selector.c:
3963 * src/hildon-window.c:
3965 Add more "since" tags to the new API in hildon 2.2.
3967 2008-12-05 Tim Janik <timj@imendio.com>
3969 Patch contributed by Christian Dywan (christian@imendio.com)
3971 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
3972 HildonSizeType, which are supplied by Gtk+ now.
3974 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
3976 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
3977 (with maemo changes) instead)
3979 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3981 Patch contributed by Iván Gómez (igomez@igalia.com)
3983 * src/hildon-pannable-area.c: Add "since" tags to the new API in
3986 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3988 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
3989 (some_page_func), (main): Update the example to use a
3990 HildonWizardDialogPageFunc function.
3992 * src/hildon-wizard-dialog-private.h: Add private data for
3993 the HildonWizardDialogPageFunc function usage.
3995 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
3996 (destroy), (hildon_wizard_dialog_init), (response),
3997 (hildon_wizard_dialog_set_forward_page_func):
3998 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
3999 that applications can use to stop a HildonWizardDialog to jump to
4002 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4005 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4007 * src/hildon-program.h
4008 * src/hildon-program-private.h
4009 * src/hildon-program.c (hildon_program_init)
4010 (hildon_program_set_common_app_menu)
4011 (hildon_program_get_common_app_menu):
4012 New API for setting a common HildonAppMenu for all
4013 HildonStackableWindows registered with the HildonProgram.
4015 * src/hildon-stackable-window.c
4016 (hildon_stackable_window_toggle_menu):
4017 Use the common HildonAppMenu if a window doesn't have a specific
4020 * src/hildon-app-menu-private.h
4021 * src/hildon-app-menu.c
4022 (hildon_app_menu_get_parent_window):
4023 Function to obtain the window a HildonAppMenu is attached to.
4024 (hildon_app_menu_set_parent_window):
4025 Hide the menu if the parent window is set to NULL.
4027 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4029 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4030 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4031 search widget to popup.
4033 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4035 * configure.ac: post release version bump
4036 * debian/changelog: version bump
4038 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4043 * configure.ac: bump version
4044 * debian/changelog: updates
4046 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4048 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4050 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4051 (hildon_window_stack_window_realized)
4052 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4053 Set the leader GdkWindow when a window is stacked and realized,
4054 unset it when it's unstacked.
4055 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4057 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4059 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4061 * src/hildon-stackable-window.h
4062 * src/hildon-window-stack.h:
4063 Protect definition of HildonWindowStack using the preprocessor.
4065 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4067 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4068 Fix warning if all menu items are hidden.
4070 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4072 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4074 * src/hildon-controlbar.c:
4075 * src/hildon-hvolumebar.c:
4076 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4077 Multiple scale size defines updates.
4079 Fixes: NB#94322 (Scale Updates)
4081 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4083 * examples/hildon-app-menu-example.c (create_menu)
4084 Show items after adding them to the menu, as in the future the
4085 menu will no longer call gtk_widget_show() on the added items.
4087 * src/hildon-app-menu.c:
4088 Update example as explained above.
4090 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4092 * src/hildon-app-menu.c
4093 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4094 Make sure that all menu items have finger height.
4096 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4098 * src/hildon-picker-dialog.c:
4099 (_on_dialog_response), (_save_current_selection),
4100 (_restore_current_selection), (_clean_current_selection),
4101 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4102 Defined new functions in order to save the current internal selector
4103 selection previous open the dialog, in case that the use cancel the
4104 interaction, so the widget restores the previous selection.
4106 Fixes: NB#92032 (In calendar application, date values in 'new event'
4109 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4111 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4113 * src/hildon-button.c: Add a reference to the button examples in
4114 hildon-button-example.c
4116 * examples/hildon-button-example.c: Added examples of the most
4117 common button layouts.
4119 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4121 * src/hildon-app-menu.c (hildon_app_menu_show)
4122 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4124 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4126 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4128 * src/hildon-picker-dialog.c:
4129 (hildon_picker_dialog_init): Initialize the signal id for
4130 HildonTouchSelector::columns-changed.
4131 (+on_selector_columns_changed): Set up the interaction mode everytime a
4132 column is added or removed from the HildonTouchSelector.
4133 (_hildon_picker_dialog_set_selector): Connect to
4134 HildonTouchSelector::columns-changed and keep track of it.
4136 Make sure to update the interaction mode of the dialog everytime a
4137 column is added or removed in the HildonTouchSelector.
4139 Fixes: NB#93228 (Done button is not shown always in listpicker)
4141 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4143 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4144 a new ::columns-changed signal.
4145 (hildon_touch_selector_append_column): Emit ::columns-changed.
4146 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4148 Add a ::columns-changed signal, emitted when the number of columns in a
4149 HildonTouchSelector changes.
4151 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4153 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4154 (_hildon_picker_dialog_set_selector): Factor out the code
4155 to set up the dialog interaction mode.
4157 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4159 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4160 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4161 to signal_changed_id.
4163 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4165 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4168 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4170 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4171 Updated the logical ids related to ampm format, as now it is required to
4172 show it correctly localized even on languages with no default
4173 abbreviations for am or pm
4174 (_check_am_pm_format): check correctly the 24h format gconf property
4176 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4178 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4180 * src/hildon-button.c: Documentation updates.
4182 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4184 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4185 * src/hildon-caption.c: (hildon_caption_class_init):
4186 * src/hildon-color-button.c: (hildon_color_button_class_init):
4187 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4188 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4189 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4190 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4192 Remove deprecated GTK+ marshalers and replace them with the ones
4193 provided by GLib, for those available, add a marshaler for
4194 BOOLEAN:VOID, which is not available in GLib, and use it.
4196 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4198 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4199 the text from the previous column if there is no
4200 HildonTouchSelectorColumn::text-property set.
4202 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4204 * src/hildon-button.h
4205 * src/hildon-button.c (hildon_button_set_property)
4206 (hildon_button_get_property, hildon_button_class_init)
4207 (hildon_button_set_style, hildon_button_get_style):
4208 New "style" property to change the visual appearance of the
4211 * src/hildon-picker-button.c (hildon_picker_button_new):
4212 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4214 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4215 HildonButton look like PickerButton)
4217 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4219 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4220 column while building the default string.
4222 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4224 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4225 scroll indicator by default.
4227 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4229 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4231 * src/hildon-main.c: Fix the documentation for hildon_init()
4233 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4235 * doc/hildon-docs.sgml
4239 * src/hildon-window-stack-private.h
4240 * src/hildon-window-stack.h
4241 * src/hildon-window-stack.c:
4242 New HildonWindowStack object, that adds support for multiple
4243 stacks of windows per process.
4245 * src/hildon-stackable-window-private.h
4246 * src/hildon-stackable-window.h
4247 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4248 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4249 (hildon_stackable_window_show, hildon_stackable_window_hide)
4250 (hildon_stackable_window_class_init)
4251 (hildon_stackable_window_init):
4252 Use HildonWindowStack for stack management.
4254 * src/hildon-program.c (hildon_program_pop_window_stack)
4255 (hildon_program_peek_window_stack)
4256 (hildon_program_go_to_root_window):
4257 Add a fallback implementation to the deprecated functions using
4260 * examples/hildon-stackable-window-example.c:
4261 Use the new HildonWindowStack API.
4263 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4265 * src/hildon-stackable-window-private.h
4266 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4267 (hildon_stackable_window_hide, hildon_stackable_window_init):
4268 Remove all window stack management.
4270 * src/hildon-program-private.h
4271 * src/hildon-program.h
4272 * src/hildon-program.c (hildon_program_init)
4273 (hildon_program_pop_window_stack)
4274 (hildon_program_peek_window_stack)
4275 (hildon_program_go_to_root_window):
4276 Remove all window stack management and mark functions as
4279 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4281 * src/hildon-app-menu.c (hildon_app_menu_realize):
4282 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4284 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4286 * configure.ac: post release version bump
4287 * debian/changelog: version bump
4289 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4294 * configure.ac: bump version
4295 * debian/changelog: updates
4297 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4299 Based on initial code by Christian Dywan (christian@imendio.com)
4301 * doc/hildon-docs.sgml: Add section for hildon-main.
4302 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4303 * src/Makefile.am: Add new hildon-main.[ch]
4304 * src/hildon-defines.h: Update the icon sizes.
4305 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4306 new library initialization files and register icon sizes.
4307 * src/hildon-main.h: New declarations.
4308 * src/hildon.h: Include hildon-main.h
4310 Add new initialization functions to the library. These methods
4311 will register the hildon specific icon sizes and can be used in the
4312 future for other hildon specific bits.
4314 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4316 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4318 * src/hildon-window.c: (hildon_window_realize),
4319 (hildon_window_notify), (-hildon_window_update_title): Do not set
4320 the application name in the window title.
4322 Fixes: NB#89754 (Applications shouldn't display their names in the
4325 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4327 * src/hildon-note-private.h:
4328 * src/hildon-note.c: (hildon_note_set_property),
4329 (hildon_note_get_property), (hildon_note_class_init),
4330 (hildon_note_init), (hildon_note_finalize),
4331 (hildon_note_new_confirmation_with_icon_name),
4332 (hildon_note_new_information_with_icon_name):
4334 No need to mark as deprecated the actual code. Revert
4335 to avoid missing symbols in widgets using deprecated API.
4337 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4339 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4341 * src/hildon-volumebar.h
4342 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4343 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4345 * src/hildon-helper.h
4346 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4347 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4349 * examples/Makefile.am:
4350 Deprecate hildon-insensitive-example
4352 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4354 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4356 * examples/hildon-pannable-area-buttons-scroll-example.c:
4357 Make all buttons finger height
4359 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
4361 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4363 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4364 update the day model only if it is really required, and to avoid the
4365 full-reconstruction aproach. Now it only add or remove the required days.
4367 The purpose of this is avoid superfluous HildonTouchSelector::changed
4370 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4371 with strange parameters)
4373 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
4375 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4377 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4378 the WINDOW_TYPE property.
4380 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4382 2008-11-19 Alberto Garcia <agarcia@igalia.com>
4385 Fix dependency to allow parallel compilation with make -jX
4387 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
4389 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
4390 color frame and some minor tweaks to make it more consistent with
4393 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4394 highlighted but not visible)
4396 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4398 * examples/Makefile.am: Fixed typo in the Makefile.am.
4400 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4402 Reviewed the use of MAEMO_GTK define, now we add the define in the
4403 compilation line, and we also add it to the pc file.
4405 * configure.ac: Added MAEMO_GTK define to the compilation command
4406 and removed it from the config.h.
4408 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
4409 do not have to take care about this define if the library was
4413 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
4415 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4417 * examples/Makefile.am,
4418 * examples/hildon-pannable-area-buttons-scroll-example.c,
4419 * examples/hildon-pannable-area-gesture-signals-example.c,
4420 * examples/hildon-pannable-area-scroll-jump-example.c,
4421 * examples/hildon-pannable-area-tree-view-example.c:
4422 Renamed the pannable area examples, now they have more meaningful
4425 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
4427 * src/hildon-touch-selector.c:
4428 (hildon_touch_selector_set_column_selection_mode): Used of
4429 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
4430 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
4431 to avoid re-seting the same selection mode.
4433 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
4434 breaks HildonPickerDialog)
4436 2008-11-13 Alejandro G. Castro <alex@igalia.com>
4438 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
4439 conditional in the Makefile.am
4441 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
4443 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
4444 Remove unused methods.
4446 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4448 * src/hildon-button.c (hildon_button_init):
4449 Make button images center-aligned by default
4451 2008-11-12 Alejandro G. Castro <alex@igalia.com>
4454 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
4455 activated, we have to think about how to deal with both defines
4456 MAEMO_GTK and MAEMO_CHANGES.
4458 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4460 * examples/hildon-app-menu-example.c (create_menu): Make all
4461 buttons finger size.
4463 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4465 Fixed the compilation without maemo gtk adding ifdefs with
4466 MAEMO_GTK define to the code, we have to check this version more
4469 * examples/Makefile.am: Added control to avoid some examples that
4470 just make sense with maemo gtk.
4473 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
4474 hildon modes with the define.
4476 * examples/hildon-edit-toolbar-example.c,
4477 (create_icon_view): Create the icon view without hildon-gtk
4478 helpers if we are not using maemo gtk.
4480 * src/hildon-touch-selector.c,
4481 (_create_new_column): Create the treeview without hildon-gtk
4482 helpers if we are not using maemo gtk.
4484 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4486 * src/hildon-pnnable-area.c,
4487 (hildon_pannable_area_dispose),
4488 (hildon_pannable_area_button_press_cb),
4489 (hildon_pannable_area_child_mapped),
4490 (hildon_pannable_area_add),
4491 (hildon_pannable_area_remove): Added code to control the position
4492 of the event_window when adding and removing children from the
4493 pannable. We have to raise the event window when the child is
4496 Fixes: NB#89811 (Not able to select first image thumbnail in multi
4497 selection mode using custom widget inside pannable)
4499 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4501 * configure.ac: post release version bump
4502 * debian/changelog: version bump
4504 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4509 * configure.ac: bump version
4510 * debian/changelog: updates
4512 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
4514 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
4515 search mode, in order to avoid lose the focus on the treeview when
4516 a hw key (like enter) is pressed.
4518 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
4519 in HildonDateSelector dialog)
4521 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
4523 * debian/rules: Added --enable-maintainer-mode
4524 * Makefile.am: Added ACLOCAL_AMFLAGS
4526 This allows to properly regenerate the Makefiles if you modify the
4527 configure.ac or any Makefile.am.
4529 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4531 * examples/hildon-app-menu-example.c: (main): Do not set RC style
4532 properties, not needed at all.
4534 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4536 * src/hildon-note-private.h: Add strings for the icon and stock_icon
4538 * src/hildon-note.c: (hildon_note_set_property),
4539 (hildon_note_get_property), (hildon_note_class_init),
4540 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
4541 (hildon_note_new_confirmation_add_buttons): Remove icons.
4542 (hildon_note_new_confirmation_with_icon_name): Deprecate.
4543 (hildon_note_new_information_with_icon_name): Deprecate.
4544 (hildon_note_new_confirmation): Act directly, without calling
4545 the deprecated constructor.
4546 (hildon_note_new_information): Act directly, without calling
4547 the deprecated constructor.
4548 * src/hildon-note.h: Mark deprecate methods as such.
4549 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
4550 not run tests on the deprecated methods if built with deprecation
4553 Fixes: NB#91688 (Never show icons in information notes/confirmation
4556 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4558 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
4559 (hildon_app_menu_key_press): Remove leftover usage of the
4560 private structure in HildonAppMenu struct.
4561 * src/hildon-app-menu.h: Remove leftover private structure
4562 from the HildonAppMenu struct.
4564 Fixes a crasher when using the HildonAppMenu.
4566 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4568 * src/hildon-picker-dialog.c: Use appropriate logical id
4569 for the default "Done" text.
4571 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4573 * configure.ac: post release version bump
4574 * debian/changelog: version bump
4576 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
4578 Modified the way to scroll to the current selection just when the touch
4579 selector is shown on the screen, avoiding a g_idle. Added too a property
4580 to configure this behaviour. See hildon_pannable_area_jump_to_child
4581 documentation for more information.
4583 * src/hildon-touch-selector.c
4584 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
4585 Added 'initial-scroll' property
4586 (hildon_touch_selector_set_property): Added
4587 (hildon_touch_selector_map): Removed as not required anymore
4588 (_hildon_touch_selector_on_selected_items): Modified in order to manage
4589 only a concrete column, instead of iterate along all the columns
4591 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4596 * configure.ac: bump version
4597 * debian/changelog: updates
4599 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4601 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
4602 compilation time warnings.
4604 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4606 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4607 the default value for HildonPannableArea::mov-mode to
4608 HILDON_PANNABLE_AREA_MODE_VERT.
4610 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
4612 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4614 Reverting following commit:
4616 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4618 * src/hildon-app-menu-private.h
4619 * src/hildon-app-menu.[ch]
4620 * src/hildon-button.[ch]
4621 * src/hildon-check-button.[ch]
4622 * src/hildon-entry.[ch]
4623 * src/hildon-pannable-area.[ch]
4624 * src/hildon-text-view.[ch]:
4625 Added private field to the object's structure.
4627 because it causes an ABI breakage. We will need to introduce these
4628 changes later at some point. See NB#91636 for an extensive
4629 explanation and status.
4631 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4633 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4635 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4636 remove special cases that are no longer necessary.
4638 Fixes: NB#91016 (Change toolbar sizes, simplification)
4640 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4642 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4643 is shown in the cancel note.
4645 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4647 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
4648 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
4649 (hildon_seekbar_init): Remove steppers, remove expose event.
4650 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
4652 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
4654 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
4656 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
4657 label font to "SmallSystemFont" for vertically arranged buttons.
4659 Fixes: NB#90662 (HildonButton "value" and "detail" text is
4662 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4664 * src/hildon-check-button.c
4665 (hildon_check_button_set_active, hildon_check_button_clicked):
4666 Don't access private parts directly, use getters instead.
4668 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4670 * src/hildon-check-button.c (hildon_check_button_new):
4671 Align the contents of the check button to the left.
4673 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4675 * src/hildon-pannable-area.c,
4676 (hildon_pannable_area_scroll_to),
4677 (hildon_pannable_area_jump_to),
4678 (hildon_pannable_area_scroll_to_child),
4679 (hildon_pannable_area_jump_to_child): Replace the mapped
4680 precondition of these functions with the realized, it is the
4681 correct state of the widget in this case. Changed the
4682 documentation according to this modification.
4684 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4686 Added a new EXTRA_CFLAGS option to add the deprecated define to
4687 the compilation command. This way we can avoid using the define in
4688 the documentation compilation.
4690 * configure.ac: Defined EXTRA_CFLAGS.
4692 * examples/Makefile.am:
4694 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
4696 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
4698 * src/hildon-picker-dialog.c:
4699 Defined a utility macro with the desired touch selector height
4700 Removed currently unused separator, and title_label variables from
4702 (hildon_picker_dialog_init): Removed code related to the creation
4703 of unused private variables title_label and separator.
4704 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
4705 to ensure correct visualization of the touch selector inside the dialog.
4706 * src/hildon-touch-selector.c
4707 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
4708 ensure a concrete height of the widget.
4710 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4713 * tests/Makefile.am:
4715 Remove spurious whitespaces.
4717 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4719 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
4720 compilation warning after the cancel button removal.
4722 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4724 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
4726 * configure.ac: Added an AM_CONDITIONAL in order to use in the
4727 Makefile.am, that way we can choose not to compile some examples
4728 and tests of the deprecated widgets.
4730 * examples/Makefile.am: Divided the sources in deprecated and
4733 * src/Makefile.am: Added undef statement of the deprecated
4734 symbol to the enums file generation process.
4736 * src/hildon-color-chooser-dialog.c
4737 * src/hildon-color-chooser-dialog.h
4738 * src/hildon-color-button.c
4739 * src/hildon-color-button.h
4740 * src/hildon-color-chooser.c
4741 * src/hildon-color-chooser.h
4742 * src/hildon-controlbar.c
4743 * src/hildon-controlbar.h
4744 * src/hildon-date-editor.c
4745 * src/hildon-date-editor.h
4746 * src/hildon-hvolumebar.c
4747 * src/hildon-hvolumebar.h
4748 * src/hildon-private.c
4749 * src/hildon-private.h
4750 * src/hildon-range-editor.c
4751 * src/hildon-range-editor.h
4752 * src/hildon-seekbar.c
4753 * src/hildon-seekbar.h
4754 * src/hildon-time-editor.c
4755 * src/hildon-time-editor.h
4756 * src/hildon-time-picker.c
4757 * src/hildon-time-picker.h
4758 * src/hildon-volumebar.c
4759 * src/hildon-volumebar.h
4760 * src/hildon-vvolumebar.c
4761 * src/hildon-vvolumebar.h
4762 * src/hildon-bread-crumb-trail.h
4763 * src/hildon-bread-crumb-trail.c
4764 * src/hildon-calendar-popup.c
4765 * src/hildon-calendar-popup.h
4766 * src/hildon-weekday-picker.c:
4767 * src/hildon-weekday-picker.h:
4768 * src/hildon-bread-crumb-widget.c:
4769 * src/hildon-bread-crumb-widget.h:
4770 * src/hildon-bread-crumb.c:
4771 * src/hildon-bread-crumb.h:
4772 * src/hildon-calendar.c:
4773 * src/hildon-calendar.h:
4774 * src/hildon-caption.c:
4775 * src/hildon-code-dialog.c:
4776 * src/hildon-code-dialog.h:
4777 * src/hildon-font-selection-dialog.c:
4778 * src/hildon-font-selection-dialog.h:
4779 * src/hildon-get-password-dialog.c:
4780 * src/hildon-get-password-dialog.h:
4781 * src/hildon-login-dialog.c:
4782 * src/hildon-login-dialog.h:
4783 * src/hildon-number-editor.c:
4784 * src/hildon-number-editor.h:
4785 * src/hildon-set-password-dialog.c:
4786 * src/hildon-set-password-dialog.h:
4787 * src/hildon-sort-dialog.c:
4788 * src/hildon-sort-dialog.h: This is the list of deprecated
4791 * src/hildon-touch-selector.c:
4792 * src/hildon-window.c: Added undef statement to avoid compilation
4795 * tests/Makefile.am: Divided the sources in deprecated and
4798 * tests/check_test.c,
4799 (configure_tests): Marked the deprecated code that was adding
4800 suites with deprecated tests.
4802 Fixes: NB#91135 (Deprecate legacy hildon widgets)
4804 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4806 * src/hildon-touch-selector.c: (_default_print_func): Do not
4807 duplicate a string returned by gtk_tree_model_get(), it is already
4810 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
4813 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4815 * src/hildon-pannable-area.c
4816 (hildon_pannable_area_add_with_viewport): Reviewed the complete
4817 method, it had problems when adding a widget with viewport the
4818 second time. Now checks if it already has a viewport and uses it.
4820 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
4823 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4825 * src/hildon-pannable-area.c,
4826 (hildon_pannable_area_scroll_to),
4827 (hildon_pannable_area_jump_to),
4828 (hildon_pannable_area_scroll_to_child),
4829 (hildon_pannable_area_jump_to_child): Added a precondition to the
4830 scroll and jump to functions: the widget must be mapped before we
4831 can safely call these functions. We have also added documentation
4832 to the functions to explain how to use them in this situation.
4835 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4837 Reviewed the threading handling of the pannable widget, we have
4838 used the gdk_threads_add_timeout function instead of the usual
4839 glib handlers. This avoids some problems with the threads.
4841 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
4842 (hildon_pannable_area_initial_effect),
4843 (hildon_pannable_area_scroll_indicator_fade),
4844 (hildon_pannable_area_button_press_cb),
4845 (hildon_pannable_area_timeout),
4846 (hildon_pannable_area_motion_notify_cb),
4847 (hildon_pannable_area_button_release_cb),
4848 (hildon_pannable_area_scroll_cb),
4849 (hildon_pannable_area_scroll_to): Removed the
4850 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
4851 gdk_threads_add_timeout.
4853 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
4855 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4860 * configure.ac: bump version
4861 * debian/changelog: updates
4863 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4865 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4866 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
4867 * src/hildon-color-chooser-dialog.c:
4868 (hildon_color_chooser_dialog_init):
4869 * src/hildon-font-selection-dialog.c:
4870 (hildon_font_selection_dialog_init):
4871 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
4873 Remove all cancel/close-like dialogs, as these are not going to be
4876 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4878 * src/hildon-note.c: (hildon_note_rebuild),
4879 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
4882 Fixes: NB#90661 (Delete dialog is displayed without NO button)
4884 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4886 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
4887 sure all buttons are shown, even the Cancel/Close-like ones.
4889 Fixes: NB#90861 (Custom Confirmation dialogs should be
4890 protected from cancel button removal)
4892 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4894 * debian/control: Change libhildon1-examples dependency from libhildon1
4896 * debian/libhildon1-examples.install
4898 * Makefile.am: Modified the final install directory for the examples on
4899 package libhildon1-examples
4900 * Makefile.static: Update clean target in order to remove all the binary
4903 Changes suggested by Claudio after review new libhildon1-examples package
4905 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
4907 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
4908 * src/hildon-touch-selector.c: Ditto.
4910 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4912 * debian/control: Added new package libhildon1-examples, in order to pack
4913 the current hildon examples as documentation
4914 * debian/rules: Not to compress .c files, modify some includes on the
4915 examples (as normally are compiled locally, but when installed it will
4916 require to include the installed libhildon1 library), and rename
4918 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
4919 install all the example files on the new example package
4920 * examples/Makefile.static: Added static makefile that can be used to
4921 compile the examples, once installed the new example package
4922 * examples: Most of the examples were modified in order to grant that
4923 all use only '#include "hildon.h"', in order to be easy to prepare
4924 it on the example package
4926 2008-10-23 Alberto Garcia <agarcia@igalia.com>
4929 * debian/libhildon1-dev.install
4930 * debian/libhildon1-doc.install:
4931 Move all gtk-doc files to a separate libhildon1-doc package.
4933 2008-10-23 Daniel Borgmann <danielb@openismus.com>
4935 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4937 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
4939 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
4941 * debian/rules: Fixed a error in order to avoid unnecessary calls
4942 to autogen.sh on package building
4944 2008-10-22 Alberto Garcia <agarcia@igalia.com>
4946 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
4948 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4950 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
4953 2008-10-21 Alberto Garcia <agarcia@igalia.com>
4955 * src/hildon-picker-button.c
4956 (hildon_picker_button_finalize):
4957 Free priv->done_button_text
4959 * src/hildon-time-button.c
4960 (hildon_time_button_set_time)
4961 * src/hildon-picker-button.c
4962 (hildon_picker_button_clicked)
4963 (hildon_picker_button_selector_selection_changed)
4964 (hildon_picker_button_set_selector)
4965 * src/hildon-date-button.c
4966 (hildon_date_button_set_date):
4967 Free strings returned by hildon_touch_selector_get_current_text()
4969 * src/hildon-button.c (hildon_button_construct_child):
4970 Fix leaks in priv->image and priv->label_box
4972 Fixes: NB#90535 (Memory leak in picker button)
4974 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4976 * src/hildon-button.c: (hildon_button_get_property): Do not access
4977 private elements directly, use getters instead.
4979 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4981 * src/hildon-app-menu-private.h
4982 * src/hildon-app-menu.c
4983 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
4984 Store the menu's parent window.
4986 * src/hildon-stackable-window.c
4987 (hildon_stackable_window_toggle_menu)
4988 (hildon_stackable_window_finalize):
4989 Set the menu's parent window when the menu is shown, unset it when
4992 * src/hildon-app-menu.c
4993 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
4994 (hildon_app_menu_class_init):
4995 Send unhandled keyboard accelerators to the parent window.
4997 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4999 * src/hildon-stackable-window.c
5000 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5002 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5004 * configure.ac: post release version bump
5006 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5009 * configure.ac: Bump version
5010 * debian/changelog: Updates
5011 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5014 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5016 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5019 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5020 GtkMenu with Hildon style.
5022 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5024 * src/hildon-picker-button.c:
5025 (hildon_picker_button_set_done_button_text): Set the dialog's
5026 done button text here as well.
5028 Fixes: NB#90232 (Picker button does not set the label on done button
5029 for the second time)
5031 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5033 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5036 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5038 * src/hildon-app-menu.c (hildon_app_menu_insert)
5039 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5040 the HildonAppMenu to be activatable using keyboard accelerators
5041 when the menu is not being shown.
5043 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5045 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5047 * src/hildon-stackable-window.c
5048 (hildon_stackable_window_show):
5049 Don't hide old windows automatically when new windows are shown:
5050 this is now a task for the window manager.
5051 (hildon_stackable_window_class_init)
5052 (hildon_stackable_window_hide):
5053 Remove windows from the stack everytime they're hidden.
5054 (hildon_stackable_window_realize):
5055 Don't change the _NET_WM_WINDOW_TYPE property. Use
5056 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5057 it as a stackable window.
5059 * src/hildon-program.c
5060 (hildon_program_pop_window_stack):
5061 Just hide the window to remove it from the stack.
5062 (hildon_program_go_to_root_window):
5063 Don't call gtk_widget_show(), this is now a task for the window
5066 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5068 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5070 * src/hildon-button.c
5071 (hildon_button_construct_child):
5072 Don't pack anything in the button until text or image are
5073 set. This allows adding a custom child after creating the button
5074 with hildon_button_new().
5075 (hildon_button_finalize, hildon_button_class_init)
5076 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5077 alignment and the label box even when they're not packed in the
5080 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5082 * src/hildon-touch-selector.h:
5083 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5084 currently the type definition was using GTK_TYPE_VBOX
5085 * src/hildon-touch-selector.c:
5086 Added some implementation notes in order to clarify that any other widget
5087 added without the column related API will not be included on the
5088 selection logic, and how the widget is freed, as some people ask about
5090 (hildon_touch_selector_remove): Reimplemented in order to free properly
5091 the column related data when you remove the private hbox.
5092 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5093 to get a proper HildonTouchSelectorColumn documentation
5095 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5097 * src/hildon-touch-selector-entry.c:
5098 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5099 text in the GtkEntry and there is no item selected. Fixes a
5102 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5104 * src/hildon-app-menu-private.h
5105 * src/hildon-app-menu.[ch]
5106 * src/hildon-button.[ch]
5107 * src/hildon-check-button.[ch]
5108 * src/hildon-entry.[ch]
5109 * src/hildon-pannable-area.[ch]
5110 * src/hildon-text-view.[ch]:
5111 Added private field to the object's structure.
5113 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5115 * configure.ac: post-release version bump
5117 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5121 * configure.ac: pre-release version bump
5123 * debian/changelog: updates.
5125 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5127 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5128 Disconnect the handler for HildonTouchSelector::changed.
5130 (hildon_picker_button_selector_selection_changed): Update the button
5131 value if the selection change was not triggered by the
5134 (hildon_picker_button_set_selector): connect to
5135 HildonTouchSelector::changed.
5137 Fixes: NB#89650 (Picker button is not updated, when selection in
5138 selector has changed)
5140 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5142 * src/hildon-picker-dialog.c
5143 (hildon_picker_dialog_realize): Removed as not required
5144 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5145 * src/hildon-picker-button.c
5146 (_current_selector_empty): New function, checks if the selector is empty
5147 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5148 if the current selector is empty, in order to avoid to show the dialog
5149 close the dialog in this case (and shows a g_warning).
5151 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5153 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5155 * src/hildon-pannable-area.c,
5156 (hildon_pannable_area_scroll): Added clause to stop movement when
5157 the child of pannable is smaller than one page.
5158 (hildon_pannable_area_scroll_to): Added conditions to avoid
5159 starting the scrolling movement if the child is smaller than one
5160 page, the complete child is in the screen, we do not have to move.
5162 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5164 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5166 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5167 this is managed automatically by the widget when the size of the
5170 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5172 * src/hildon-picker-button.c
5173 (hildon_picker_button_set_done_button_text): Make a copy of the
5174 text, and free the previous value.
5176 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5178 * src/hildon-touch-selector-entry.c:
5179 (hildon_touch_selector_entry_print_func): Return the selected row's
5180 text if the entry is empty.
5182 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5185 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5187 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5189 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5192 * src/hildon-check-button.h
5193 * src/hildon-check-button.c
5194 * examples/hildon-check-button-example.c:
5195 HildonCheckButton is now a new widget. 'toggled' signal added.
5197 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5199 * src/hildon-program-private.h
5200 * src/hildon-program.c (hildon_program_init)
5201 (hildon_program_finalize): Removed unused variables group_leader
5202 and name from HildonProgramPrivate.
5204 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5206 * src/hildon-check-button.c (hildon_check_button_set_active)
5207 (hildon_check_button_get_active, hildon_check_button_new): Use
5208 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5210 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5212 * src/hildon-touch-selector.h
5213 (hildon_touch_selector_set_column_attributes): added deprecation
5214 guard HILDON_DISABLE_DEPRECATED
5215 * src/hildon-time-selector.c
5216 (hildon_time_selector_set_time)
5217 (hildon_time_selector_get_time): Fixed a typo on documentation
5218 * src/hildon-touch-selector.c: update HildonTouchSelector and
5219 HildonTouchSelectorColumn documentation
5220 * src/hildon-touch-selector-entry.c: update "text-column" property
5222 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5223 to be added to the general documentation.
5225 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5227 * examples/hildon-pannable-area-example-4.c,
5229 * examples/hildon-pannable-area-example.c,
5230 (main): Modified the code in order to use the container add, with
5231 viewport treeviews could have problems if they are really big.
5233 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5235 * src/hildon-weekday-picker.c,
5236 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5237 the agreement regarding deprecation in the library.
5239 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5241 * examples/hildon-picker-button-multicolumn-example.c:
5242 (main): Use custom "done" button text.
5244 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5245 (hildon_picker_button_set_property),
5246 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5247 (hildon_picker_button_init),
5248 (+hildon_picker_button_get_done_button_text),
5249 (+hildon_picker_button_set_done_button_text): New methods to customize
5250 the "done" button label in the launched HildonPickerDialog. Also,
5253 * src/hildon-picker-button.h: add the public API.
5255 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5257 * src/hildon-date-selector.h:
5258 * src/hildon-picker-dialog.h:
5259 * src/hildon-time-selector.h:
5260 * src/hildon-touch-selector-column.h:
5261 * src/hildon-touch-selector.h:
5263 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5264 declarations. Fixes gtk-doc warnings.
5266 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5268 * src/hildon-picker-dialog.h
5269 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5270 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5272 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5273 long text is set as label for done button)
5275 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5277 * src/hildon-dialog.c (hildon_dialog_add_button):
5278 Set fixed width to all buttons in the HildonDialog.
5280 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5282 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5284 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5285 Set widget name using class name plus "-finger" or "-thumb".
5287 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5289 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5290 'clicked' when the state of the button is manually changed.
5292 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5294 * src/hildon-app-menu.c (hildon_app_menu_realize)
5295 (hildon_app_menu_unrealize, hildon_app_menu_init)
5296 (hildon_app_menu_class_init, item_visibility_changed):
5297 Change the menu layout when the size of the screen changes.
5298 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5299 Show warning only when changing the number of colums using the
5302 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5304 * debian/compat: Set to 5
5305 * debian/control: Update dependencies.
5306 * debian/libhildon1-dbg.install: Remove.
5307 * debian/libhildon1-dev.install: Update according to cdbs paths.
5308 * debian/libhildon1.install: Update according to cdbs paths.
5309 * debian/rules: Switch to cdbs.
5311 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5313 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5314 'item' variable renamed to 'filter'
5316 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5318 * src/hildon-app-menu.c (hildon_app_menu_insert)
5319 (hildon_app_menu_add_filter, remove_item_from_list)
5320 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5321 Don't leak hidden items when the menu is destroyed.
5323 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5325 * src/hildon-app-menu.c (hildon_app_menu_insert)
5326 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5327 (hildon_app_menu_set_columns, item_visibility_changed)
5328 (filter_visibility_changed, hildon_app_menu_repack_filters)
5329 (hildon_app_menu_repack_items):
5330 Repack items and filters separately.
5332 Don't repack all items, change only the ones that are needed to
5335 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5337 * src/Makefile.am: added hildon-touch-selector-column.h
5339 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5341 * src/hildon-touch-selector.c: added the property "text-column" to the
5342 class HildonTouchSelectorColumn, and related get/set functions
5343 (_default_printf_func): updated to use "text-column" property
5344 * src/hildon-touch-selector-entry.c: mark as deprecated the property
5345 "text-column" in his documentation, as this is now included on
5346 HildonTouchSelectorColumn. The get/set_property can still be used,
5347 working as a wrapper to the concrete column "text-column" property
5348 (_text_column_modified): callback added in order to handle the signal
5349 "notify::text-column" of the concrete HildonTouchSelectorColumn
5350 (hildon_touch_selector_entry_get_text_column)
5351 (hildon_touch_selector_entry_set_text_column): Added documentation, and
5352 modified in order to use the HildonTouchSelectorColumn "text-column"
5354 * src/hildon-time-selector.c:
5355 * src/hildon-date-selector.c:
5356 * examples/hildon-touch-selector-example.c
5357 * examples/hildon-touch-selector-multi-cells-example.c
5358 * examples/hildon-picker-button-multicolumn-example.c
5359 Set the right value to "text-column" property on the creation of a new
5360 column using hildon_touch_selector_append_column()
5362 Fixes: NB#88644 (Hardcoded first column of the model as text column)
5364 2008-09-30 Alberto Garcia <agarcia@igalia.com>
5366 * src/hildon-app-menu.c
5367 (hildon_app_menu_construct_child, hildon_app_menu_init): When
5368 updating the layout of the menu, don't create all widgets again,
5369 just repack the items in their new places.
5371 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
5373 * src/hildon-time-selector.c
5374 (hildon_time_selector_get_time)
5375 (hildon_time_selector_set_time)
5376 Added documentation of these public methods
5378 * src/hildon-date-button.h
5379 * src/hildon-touch-selector-column.h
5380 * src/hildon-time-button.h
5381 * src/hildon-picker-dialog.h
5382 * src/hildon-time-selector.h
5383 * src/hildon-picker-button.h
5384 * src/hildon-touch-selector.h
5385 * src/hildon-time-picker.h
5386 * src/hildon-date-selector.h
5387 * src/hildon-touch-selector-entry.h
5388 Modified in order to use hildon-widgets code style
5390 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5392 Added deprecated support to the compilation process using
5393 HILDON_DISABLE_DEPRECATED
5395 * configure.ac: Added the --disable-deprecated to the configure
5398 * src/hildon-weekday-picker.c:
5399 * src/hildon-weekday-picker.h: Deprecated widget, example of how
5400 to use the deprecated support. We will update the other deprecated
5401 widgets status in a new patch.
5403 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5405 * configure.ac: Fixed typo with fatal warnings support, the
5406 variable name was not correct
5408 2008-09-29 Alberto Garcia <agarcia@igalia.com>
5410 * src/hildon-app-menu.c
5411 * src/hildon-program.c: Update documentation.
5413 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5415 * configure.ac: Post-release version bump.
5417 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5422 * configure.ac: Pre-release version bump.
5423 * debian/changelog: Updates.
5425 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5427 * NEWS: Update news for previous releases.
5429 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5431 * examples/hildon-touch-selector-multi-cells-example.c:
5432 (create_selector): Update the example to use
5433 hildon_touch_selector_append_column() with a NULL renderer and set
5434 the renderers later.
5435 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
5436 passed a NULL renderer. This is documented behavior now.
5438 Allow passing a NULL renderer to hildon_touch_selector_append_column().
5439 This must be used if the developer wants full control on the layout of
5440 the renderers to be added to the column.
5442 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5444 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5446 * src/hildon-touch-selector.c: Documentation fixes.
5448 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5450 * src/hildon-wizard-dialog-private.h: Remove image and box.
5451 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
5452 (hildon_wizard_dialog_set_property), (response): Completely remove
5453 image/icon support, and the containers required for the layout.
5455 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
5457 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5459 * src/hildon-app-menu.c: Updated documentation.
5461 * src/hildon-stackable-window.c
5462 (hildon_stackable_window_set_main_menu): Unref the old menu after
5463 ref'ing the new one.
5465 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5467 * src/hildon-stackable-window.c
5468 (hildon_stackable_window_set_main_menu): Unref the previous menu
5469 instead of destroying it.
5471 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
5472 floating reference and set has_user_ref_count to FALSE to make
5473 HildonAppMenu act like a normal ref-counted widget and not a
5476 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
5479 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
5481 * src/hildon-touch-selector-column.h: new file
5482 * src/hildon-touch-selector.h
5483 * src/hildon-touch-selector.c
5484 Implemented GtkCellLayout interface, in order to allow to configure
5485 the cell layout on each individual selector column
5486 (hildon_touch_selector_set_column_attributes): marked as deprecated
5487 * examples/hildon-touch-selector-multi-cells-example.c
5488 Example of how to use the GtkCellLayout interface on the selector
5490 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5492 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5494 * src/hildon-app-menu.h
5495 * src/hildon-app-menu.c
5496 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
5497 (hildon_app_menu_append, hildon_app_menu_prepend):
5498 New methods to prepend, insert and move items in the menu.
5500 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5502 * src/hildon-wizard-dialog.c:
5504 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
5506 (create_title): Update logical IDs and related code.
5507 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
5509 * src/hildon-wizard-dialog.h: Note that
5510 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
5511 point, as it is not used anymore.
5513 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
5515 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5517 * src/hildon-note.c:
5518 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
5519 shown. Do not display an icon in confirmation notes nor information
5521 (hildon_note_set_button_text): Update logical ID for cancel button.
5523 Fixes: NB#88850 (Update HildonNote button strings + signals)
5525 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5527 * src/hildon-stackable-window.c
5528 (hildon_stackable_window_set_main_menu): Fix compilation warning.
5530 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5532 * src/hildon-app-menu-private.h
5533 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
5534 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
5535 (hildon_app_menu_init, hildon_app_menu_class_init): Added
5536 temporary property 'columns' to change the number of columns.
5538 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5540 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
5542 * examples/hildon-note-example.c: (on_information_clicked),
5543 (on_confirmation_clicked), (on_progress_clicked), (main): Add
5544 debugging information.
5545 * src/hildon-note-private.h: Remove close_if_pressed_outside,
5547 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
5548 (hildon_note_rebuild): Remove special handling of tapping outside/inside
5549 in order to close: this will be handled by the WM from now on.
5551 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
5553 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5555 * src/hildon-app-menu-private.h
5556 * src/hildon-app-menu.c
5557 (hildon_app_menu_append, hildon_app_menu_add_filter)
5558 (button_visibility_changed, hildon_app_menu_apply_style)
5559 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
5560 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
5561 layout everytime a button (item or filter) is shown or hidden.
5563 * src/hildon-stackable-window.c
5564 (hildon_stackable_window_set_main_menu): Destroy the old menu when
5567 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
5569 * src/hildon-touch-selector.c:
5570 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
5571 that the treeview inside the touch selector is in fremantle hildon mode
5572 * examples/hildon-date-button-example.c
5573 * examples/hildon-picker-button-multicolumn-example.c
5574 * examples/hildon-touch-selector-entry-example.c
5575 * examples/hildon-touch-selector-example.c
5576 * examples/hildon-time-button-example.c
5577 * examples/hildon-picker-button-example.c:
5578 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
5580 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
5582 * examples/hildon-text-view-example.c: (main): Remove the
5583 gtkrc bits, now handled by the theme.
5585 2008-09-22 Alberto Garcia <agarcia@igalia.com>
5587 * src/hildon-picker-button.c (hildon_picker_button_set_active):
5590 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5592 * po/Makefile.am: Install properly the mo files.
5593 * po/en_GB.po: Update translation, to ease testing purposes.
5595 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5597 * examples/hildon-picker-button-example.c: (main): Select an item
5598 in the selector before setting it to the button.
5600 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5602 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
5603 Update button's value if the selector has an item active.
5605 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
5606 'value' with the selector)
5608 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5610 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
5611 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
5612 (hildon_picker_button_class_init): Plug the finalize method.
5613 (hildon_picker_button_set_selector): If there's a previously set
5614 selector, unref'it before setting a new one.
5616 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
5617 HildonTouchSelector)
5619 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
5621 * src/hildon-touch-selector-entry.c:
5622 (hildon_touch_selector_entry_changed): Check if there is no text
5623 selected before setting the entry text.
5626 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5628 * src/hildon-touch-selector.h
5629 * src/hildon-touch-selector.c
5630 (hildon_touch_selector_get_active)
5631 (hildon_touch_selector_set_active): New methods to set/get the
5632 index of the selected item.
5634 * src/hildon-picker-button.h
5635 * src/hildon-picker-button.c
5636 (hildon_picker_button_get_active)
5637 (hildon_picker_button_set_active): New methods to set/get the
5638 index of the selected item.
5640 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5642 * configure.ac: post-release version bump.
5644 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5648 * configure.ac: Pre-release version bump.
5649 * debian/changelog: Updates.
5650 * debian/control: Add myself as maintainer and depend on l10n
5653 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5655 * src/hildon-window.c
5656 (hildon_window_set_main_menu)
5657 * src/hildon-stackable-window.c
5658 (hildon_stackable_window_set_main_menu):
5659 Updated documentation.
5661 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5663 * src/hildon-date-selector.c (hildon_date_selector_finalize):
5664 Don't free selector->priv manually.
5667 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5670 (hildon_gtk_window_set_progress_indicator):
5671 * src/hildon-gtk.h: Added the new API
5672 hildon_gtk_window_set_progress_indicator, it changes the state of
5673 the window progress hint.
5675 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5677 * src/hildon-button.c
5678 * src/hildon-stackable-window.c: Minor documentation updates.
5680 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5682 * src/hildon-stackable-window.c: Updated documentation.
5684 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
5686 * src/hildon-defines.h: Update margins definitions
5687 to the Fremantle sizes.
5690 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5692 * src/hildon-touch-selector.c,
5693 (_hildon_touch_selector_set_model): Cleaning the code after
5694 review, removed g_print and #if 0 from the code.
5696 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5698 * src/hildon-edit-toolbar.c: Update documentation.
5700 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5702 * src/hildon-check-button.h
5703 * src/hildon-check-button.c
5704 (hildon_check_button_set_label, hildon_check_button_get_label)
5705 * examples/hildon-check-button-example.c
5706 (button_clicked_cb):
5707 Removed deprecated methods.
5709 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5711 * src/hildon-text-view.c:
5712 Add sample code to the documentation.
5714 * src/hildon-entry.h
5715 * src/hildon-text-view.h:
5716 Minor cosmetic changes.
5718 * src/hildon-entry.c:
5719 Add sample code to the documentation.
5720 (hildon_entry_init, hildon_entry_refresh_contents):
5721 Don't allow NULL values in the placeholder.
5723 2008-09-10 Alberto Garcia <agarcia@igalia.com>
5725 * doc/hildon-docs.sgml
5727 * examples/Makefile.am
5728 * examples/hildon-text-view-example.c
5730 * src/hildon-text-view.c
5731 * src/hildon-text-view.h
5733 New HildonTextView widget, with example.
5735 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5737 * po/POTFILES.in: Add missing files with translatable strings.
5738 Partially fixes NB#88287.
5740 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5742 * examples/hildon-pannable-area-example-2.c: (main): No need to
5743 set the cellrenderer height inside hildon touch lists, the theme does
5746 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5748 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
5749 they are integrated in the theme.
5751 2008-09-09 Alberto Garcia <agarcia@igalia.com>
5753 * examples/hildon-entry-example.c: Update the example adding
5754 widgets to modify the text and the placeholder of the HildonEntry.
5756 * src/hildon-entry.c: Show the placeholder everytime the widget
5757 is empty and loses the focus.
5759 2008-09-09 Alejandro G. Castro <alex@igalia.com>
5761 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
5763 * src/hildon-pannable-area.c,
5764 (hildon_pannable_area_size_request): Fixed bug in height
5765 requisition, avoid increasing size and add border twice.
5767 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5769 * configure.ac: postrelease version bump.
5771 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5775 * configure.ac: Prerelease version bump.
5776 * debian/changelog: update.
5777 * debian/rules: make -dbg package contain useful debugging symbols.
5779 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5781 * src/hildon-dialog.h
5782 * src/hildon-dialog.c
5783 (hildon_dialog_add_button, hildon_dialog_add_buttons):
5784 New methods to add buttons with finger size.
5785 (hildon_dialog_new_with_buttons):
5786 Create buttons with finger size.
5788 * examples/hildon-dialog-example.c (main): Use HildonDialog
5789 methods to add buttons.
5791 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5793 * src/hildon-entry.c: Updated HildonButton documentation.
5795 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5797 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
5798 button value label with (FALSE, FALSE) to prevent NB#88126 from
5801 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5803 * examples/hildon-pannable-area-example.c,
5804 (main): Removed examples panning a vbox inside a pannable
5805 area. Check bug NB#87965
5807 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5809 Patch contributed by Kris Rietveld (kris@imendio.com)
5811 * src/hildon-pannable-area.c,
5812 (hildon_pannable_area_get_topmost): replaced the get_geometry with
5813 get_size and get_position, this saves an X server roundtrip.
5815 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5817 * doc/hildon-docs.sgml
5819 * examples/Makefile.am
5820 * examples/hildon-entry-example.c
5822 * src/hildon-entry.c
5823 * src/hildon-entry.h
5825 New HildonEntry widget, with example.
5827 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5829 * src/hildon-button.c (hildon_button_construct_child): Pack the
5830 image with expand == fill == FALSE. This is a workaround for a bug
5833 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
5835 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
5836 labels for the text column, to make it more look more dynamic.
5838 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5840 * src/hildon-time-selector.c
5841 Define gettext auxiliar macro N_
5842 (_create_minutes_model)
5843 (_create_hours_model)
5844 (_create_ampm_model): use of strftime in order to fill the model
5845 * src/hildon-date-selector.c
5846 (hildon_date_selector_finalize):
5847 (_locales_init): remove the logic related to get the name of the months
5848 using nl_langinfo, as it is not required anymore
5850 (_create_year_model)
5851 (_create_month_model)
5852 (_update_day_model): use of strftime in order to fill the model properly
5855 2008-09-04 Alberto Garcia <agarcia@igalia.com>
5857 * src/hildon-button.h
5858 * src/hildon-button.c (hildon_button_get_image): New method to
5861 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
5863 * src/hildon-touch-selector.c:
5864 (hildon_touch_selector_remove_column): Remove from the correct parent
5865 and also remove the list element and free it.
5868 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5870 * src/hildon-time-selector.c
5871 (_create_hours_model): change the range on 12h ampm format in order to use
5872 a 12-11 range instead of previous 01-12 range
5873 (hildon_time_selector_set_time): change the way to select the current time
5874 on 12h ampm format, due the change on the range
5875 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
5878 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
5880 * src/hildon-touch-selector.c
5881 (hildon_date_touch_selector_get_selected): fix the selection mode check,
5882 in order to allow use this function on multiple row selection mode if
5883 the column is different that the first one
5886 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
5888 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
5889 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
5891 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5893 * src/hildon-date-selector.h: clean some comments, now on the .c
5894 * src/hildon-date-selector.c
5895 (hildon_date_selector_select_month): first implementation
5896 (hildon_date_selector_select_day): added documentation, reimplemented
5897 using hildon_date_selector_select_current_date to avoid repeat code
5900 2008-09-02 Alejandro G. Castro <alex@igalia.com>
5902 Reviewed interaction logic based on device experiences, refactored
5905 * src/hildon-pannable-area.c,
5906 (hildon_pannable_area_class_init): Updated default vmax speed.
5907 (hildon_pannable_area_calculate_velocity): Added this function, it
5908 avoids duplicate valocity calculation. Adjusted calculation to
5909 avoid problems with zero dist events.
5911 (hildon_pannable_area_motion_notify_cb): Now we use the
5912 calculate_velocity function.
5914 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5916 * src/hildon-date-selector.c
5917 (hildon_date_selector_select_current_date): fix the day range check
5918 as it failed using the last day of the current month
5921 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5923 * src/hildon-touch-selector.c
5924 (hildon_touch_selector_get_num_columns): added a parameter validation
5927 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5929 * examples/Makefile.am
5930 * examples/hildon-edit-toolbar-example.c: Example of the
5931 HildonEditToolbar widget.
5933 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5935 * configure.ac: postrelease version bump.
5937 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5941 * configure.ac: prerelease version bump.
5942 * debian/changelog: update.
5944 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5946 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
5947 renderer to display stock icons in the touch list. Also, set the sizes
5948 to the recommended in the style guide.
5950 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5951 * src/hildon-touch-selector.h
5952 (hildon_touch_selector_set_active_iter): renamed, now is
5953 hildon_touch_selector_select_iter
5954 (hildon_touch_selector_get_active_iter): renamed, now is
5955 hildon_touch_selector_get_selected
5956 (hildon_touch_selector_unselect_iter): added
5957 * src/hildon-touch-selector.c
5958 Update after API modification (methods renamed)
5959 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
5960 order to avoid problems selecting multiple elements on the column
5961 (hildon_touch_selector_unselect_iter): added the implementation
5962 * src/hildon-time-selector.c
5963 * src/hildon-date-selector.c
5964 * src/hildon-touch-selector-entry.c
5965 Update methods calls after hildon-touch-selector.h API modification (methods
5968 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5970 * src/hildon-stackable-window.c
5971 (hildon_stackable_window_finalize): Call the parent class's finalize.
5973 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5975 * examples/hildon-touch-selector-example.c: (create_selector): Use
5976 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
5979 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5981 * examples/hildon-touch-selector-example.c: (create_selector): Do not
5982 set a cell background color, to respect theming.
5984 2008-08-28 Alberto Garcia <agarcia@igalia.com>
5986 * doc/hildon-docs.sgml
5989 * src/hildon-edit-toolbar.c
5990 * src/hildon-edit-toolbar.h
5991 * src/hildon.h: New HildonEditToolbar widget.
5993 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
5995 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
5998 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5999 * src/hildon-touch-selector.c
6000 (_create_new_column): use g_object_set instead of two g_object_set_property
6002 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6003 * src/hildon-touch-selector.c
6004 (_create_new_column): use of hildon_gtk_tree_view_new to create
6005 the treeview, instead of use directly g_object_new
6006 (_create_new_column): update the property name "vindicator-mode" for the
6007 new one "vscrollbar-policy"
6008 * examples/hildon-date-button-example.c
6009 * examples/hildon-picker-button-multicolumn-example.c
6010 * examples/hildon-touch-selector-entry-example.c
6011 * examples/hildon-touch-selector-example.c
6012 * examples/hildon-time-button-example.c
6013 * examples/hildon-picker-button-example.c
6014 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6015 to all the treeviews inside a pannable area.
6017 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6019 * src/hildon-button.h
6020 * src/hildon-button.c (hildon_button_init)
6021 (hildon_button_set_arrangement, hildon_button_set_alignment)
6022 (hildon_button_set_title_alignment)
6023 (hildon_button_set_value_alignment)
6024 (hildon_button_set_image_alignment)
6025 (hildon_button_construct_child): New methods to set the alignment
6026 of the individual components of the button (title, value,
6027 image). Also, new method to alter the xscale and yscale properties
6028 of the GtkAlignment inside the button, so more complex layouts can
6031 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6033 * src/hildon-button.c (hildon_button_style_set)
6034 (hildon_button_class_init, hildon_button_set_arrangement)
6035 (hildon_button_construct_child): Apply style properties
6036 correctly. Use the 'image-spacing' style property too.
6038 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6040 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6041 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6044 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6046 * src/hildon-pannable-area.c,
6047 (hildon_pannable_area_size_request): Fixed problem with
6048 pannable-area size_request.
6050 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6052 Added management for the grab-focus to a child widget, like a
6053 range, we need to fade out the scrollbar when releasing.
6055 * src/hildon-pannable-area.c,
6056 (hildon_pannable_area_init): Connected the grab-focus signal to
6058 (hildon_pannable_area_grab_notify): Added this function in order
6059 to manage the situation when the grab-focus ends. We have to
6060 fade-out the scrollbar.
6062 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6064 * src/hildon-app-menu.c: Minor documentation update.
6066 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6068 * src/hildon-app-menu.c
6069 * examples/hildon-app-menu-example.c (create_menu): Update
6070 examples and documentation to explain how to connect callbacks.
6072 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6074 * examples/hildon-button-example.c
6075 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6076 hildon_stackable_window_new instead of gtk_window_new
6078 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6080 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6081 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6082 (hildon_pannable_area_set_property),
6083 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6084 (hildon_pannable_area_unrealize),
6085 (hildon_pannable_area_size_request),
6086 (hildon_pannable_area_size_allocate),
6087 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6088 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6089 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6090 (hildon_pannable_area_initial_effect),
6091 (hildon_pannable_area_redraw),
6092 (hildon_pannable_area_scroll_indicator_fade),
6093 (hildon_pannable_area_expose_event),
6094 (hildon_pannable_area_get_topmost), (synth_crossing),
6095 (hildon_pannable_area_button_press_cb),
6096 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6097 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6098 (hildon_pannable_area_motion_notify_cb),
6099 (hildon_pannable_area_button_release_cb),
6100 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6101 (hildon_pannable_area_remove),
6102 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6103 chage the code layout to a more GtkWidget like. Review the use of
6106 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6108 * examples/hildon-pannable-area-example-4.c,
6109 (main): Modified the name of the hindicator_mode to
6112 * src/hildon-pannable-area.c,
6113 (hildon_pannable_area_class_init),
6114 (hildon_pannable_area_motion_notify_cb),
6115 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6116 we have reduced the amount of signals and managed reviewed its
6117 rationale. Changed the default decelerate value.
6119 (hildon_pannable_area_add),
6120 (hildon_pannable_area_redraw): Refactored functions.
6122 (hildon_pannable_area_init),
6123 (hildon_pannable_area_get_property),
6124 (hildon_pannable_area_set_property):
6125 (hildon_pannable_draw_vscroll),
6126 (hildon_pannable_draw_hscroll),
6127 (hildon_pannable_area_initial_effect),
6128 (hildon_pannable_area_expose_event),
6129 (hildon_pannable_area_scroll),
6130 (hildon_pannable_area_button_press_cb),
6131 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6132 and vindicator_mode with hscrollbar_policy and
6133 vscrollbar_policy. Replaced hscroll and vscroll with
6134 hscroll_visible and vscroll_visible.
6136 (hildon_pannable_area_refresh): Refactor the function, remove
6137 variables and check the calls to this function, added resize
6138 conditions in case the children change their layout.
6140 (hildon_pannable_area_size_request): Added more detailed
6141 size_request calculation.
6144 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6146 * src/hildon-color-chooser.c
6147 (init_borders): use the correct gtk_border_free instead of g_free, to
6148 avoid a crash when this widget is used (ie: the three color selection
6151 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6153 * src/hildon-check-button.c,
6154 (hildon_check_button_set_active): Fixed problem when setting the
6155 active value, the widget was not redrawn.
6157 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6159 * src/hildon-pannable-area.c,
6160 (hildon_pannable_area_refresh),
6161 (hildon_pannable_area_scroll),
6162 (hildon_pannable_area_motion_notify_cb): Small code style change.
6164 (hildon_pannable_area_class_init): Default initial_hint set to
6165 FALSE, it is not in the specs.
6167 (hildon_pannable_area_initial_effect),
6168 (hildon_pannable_area_expose_event),
6169 (hildon_pannable_area_map),
6170 (hildon_pannable_area_init): Moved the launching point of the
6171 initial effect, it was in map but the sizes where not correct in
6172 that method so we do not know if we have the reproduce it. Now it
6173 is placed in the expose_event method and uses a variable to
6174 reproduce it just once.
6176 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6178 * src/hildon-pannable-area.c,
6179 (hildon_pannable_draw_vscroll),
6180 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6181 position allowed for the scrollbars.
6183 (hildon_pannable_area_size_allocate): Small style change.
6185 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6187 * src/hildon-pannable-area.c,
6188 (hildon_pannable_area_scroll_indicator_fade),
6189 (hildon_pannable_area_button_press_cb),
6190 (hildon_pannable_area_button_release_cb),
6191 (hildon_pannable_area_scroll_cb),
6192 (hildon_pannable_area_expose_event),
6193 (hildon_pannable_area_init): Added the define parameter
6194 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6195 and refactor the fade variable.
6197 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6199 * src/hildon-pannable-area.c,
6200 (hildon_pannable_area_redraw),
6201 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6202 lines, we were reimplemeting the redraw code.
6204 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6206 * src/hildon-pannable-area.c,
6207 (hildon_pannable_area_scroll_cb),
6208 (hildon_pannable_area_realize),
6209 (hildon_pannable_area_class_init): Added scroll_event management
6210 for pannable area, now we can scroll the usual desktop method.
6212 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6213 initialization of the parameters should depend on idle_id.
6215 (hildon_pannable_area_init),
6216 (hildon_pannable_area_map): Small code style modifications
6218 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6220 * src/hildon-pannable-area.c
6221 (hildon_pannable_area_button_press_cb),
6222 (hildon_pannable_area_motion_notify_cb),
6223 (hildon_pannable_area_button_release_cb),
6224 (hildon_pannable_area_size_allocate),
6225 (hildon_pannable_area_scroll_to): Improved the timeouts
6226 management, we avoid creating them each time.
6228 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6230 * src/hildon-pannable-area.c:
6231 (hildon_pannable_area_refresh),
6232 (hildon_pannable_area_motion_notify_cb),
6233 (hildon_pannable_area_class_init):
6234 * src/hildon-pannable-area.h:
6235 * src/hildon-touch-selector.c
6236 (_create_new_column):
6237 * examples/hildon-pannable-area-example-4.c:
6238 (horizontal_movement),
6239 (vertical_movement),
6241 Replaced the names of enums in the HildonPannableArea:
6242 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6243 HILDON_MOVEMENT_MODE_*
6244 - HILDON_PANNABLE_AREA_MOV_* ->
6246 - Removed HildonPannableAreaIndicatorMode, now we
6249 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6251 * examples/hildon-pannable-area-touch-grid-example.c
6252 * examples/hildon-pannable-area-touch-list-example.c: Fix
6253 compilation warnings.
6255 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6257 * src/hildon-gtk.c (hildon_gtk_button_new)
6258 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6259 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6260 images overriding the value of the "gtk-button-images" setting.
6262 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6264 * src/hildon-check-button.c (hildon_check_button_new):
6265 Instead of using a custom container, display the label and the
6266 checkbox using the standard GtkButton API.
6268 * examples/hildon-check-button-example.c (main): Don't use
6269 hildon_check_button_set_label() anymore
6271 * src/hildon-check-button.h
6272 * src/hildon-check-button.c
6273 (hildon_check_button_set_label, hildon_check_button_get_label):
6274 Set as deprecated, now we're using gtk_button_{get,set}_label()
6276 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6278 * src/hildon-pannable-area.c,
6279 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6280 GtkTreeview first line we detected it after the inclusion of the
6281 GtkWindowImpl in gtk+. We now check if the window is visible, not
6282 just if the pointer is over the window.
6283 (hildon_pannable_axis_scroll),
6284 (hildon_pannable_area_expose_event): Small style changes.
6286 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6288 * src/hildon-button.c: Update documentation.
6290 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6292 * examples/hildon-button-example.c: Add a switch to show images in
6295 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6297 * doc/hildon-docs.sgml: Some docs reorganization.
6299 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6301 * examples/hildon-pannable-area-touch-list-example.c
6303 * examples/hildon-pannable-area-touch-grid-example.c
6304 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6305 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6306 Fix memory leak when setting the tree model.
6308 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6312 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6314 * doc/hildon.types: Remove duplicated hildon_window_get_type
6315 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6316 documentation comment.
6318 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6320 * doc/Makefile.am: Complete list of private headers.
6322 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6324 * doc/hildon-docs.sgml
6325 * src/hildon-app-menu.c
6326 * src/hildon-bread-crumb.c
6327 * src/hildon-button.c
6329 * src/hildon-program.c
6330 * src/hildon-stackable-window.c
6331 * src/hildon-window.c: Lots of documentation updates.
6333 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6335 * debian/control: Depend on Gtk 2:2.12.9-0osso3
6337 * configure.ac: Require Gtk+ 2.12.9 at least
6339 2008-08-12 Alejandro G. Castro <alex@igalia.com>
6341 * src/hildon-pannable-area.c
6342 (hildon_pannable_area_scroll_indicator_fade),
6343 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6344 to protect the return of this timeout callbacks, avoiding deadlocks.
6346 2008-08-12 Christian Dywan <christian@imendio.com>
6349 * src/hildon-*.h: Ensure a consistent include order,
6350 include <gtk/gtk.h> instead of particular files and
6351 only include the topmost header in the gtk stack. See NB #39857
6353 2008-08-12 Christian Dywan <christian@imendio.com>
6355 * src/hildon-picker-dialog.c
6356 * src/hildon-touch-selector.c: Fix warnings about unused and
6357 uninitialized variables.
6359 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6361 * examples/Makefile.am
6362 * examples/hildon-check-button-example.c: Example of the hildon
6365 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6367 * src/hildon-window.h
6368 * src/hildon-window.c (hildon_window_class_init)
6369 (hildon_window_unset_program): Don't make
6370 hildon_window_unset_program a virtual function anymore.
6372 * src/hildon-stackable-window.c: Update documentation
6374 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6377 * doc/hildon-docs.sgml
6378 * doc/visual_index.xml
6379 * src/hildon-defines.c
6381 * src/hildon-helper.c
6382 * src/hildon-range-editor.c: Lots of documentation fixes.
6384 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6386 * examples/hildon-picker-button-multicolumn-example.c
6387 (create_touch_selector): Fix compilation warning.
6389 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6391 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
6392 (hildon_pannable_area_button_release_cb)
6393 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6395 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6397 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
6400 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6402 * src/hildon-bread-crumb-trail.h
6403 * src/hildon-date-editor.c
6404 * src/hildon-date-selector.c
6405 * src/hildon-pannable-area.c
6406 * src/hildon-picker-dialog.c
6407 * src/hildon-time-selector.c
6408 * src/hildon-touch-selector-entry.c
6409 * src/hildon-touch-selector.c
6410 * src/hildon-touch-selector.h: Misc documentation fixes
6412 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6414 * examples/hildon-date-editor-example.c (main): Updated date
6417 * examples/hildon-note-example.c (on_confirmation_clicked):
6418 Updated confirmation note example.
6420 * src/hildon-date-editor.c
6421 * src/hildon-note.c: Updated sample programs in documentation.
6424 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6426 * src/hildon-date-button.h:
6427 * src/hildon-picker-button.h:
6428 * src/hildon-time-button.c:
6429 * src/hildon-time-button.h:
6431 Some declarations changes to allow gtk-doc to document the widgets
6434 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6436 * src/hildon-date-button.c: Document the widget.
6437 * src/hildon-time-button.c: Document the widget.
6439 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6441 * src/hildon-picker-button.c: Document the widget.
6442 * src/hildon-touch-selector-entry.c: Document the widget.
6444 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6446 * doc/hildon-docs.sgml
6449 * src/hildon-check-button.h
6450 * src/hildon-check-button.c: New functions to create the Hildon
6454 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
6456 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6458 * src/hildon-button.h
6459 * src/hildon-button.c
6460 (hildon_button_add_title_size_group)
6461 (hildon_button_add_value_size_group)
6462 (hildon_button_add_image_size_group)
6463 (hildon_button_add_size_groups): New functions to set size groups
6464 for the button labels and image.
6465 (hildon_button_new_full): Removed
6467 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
6469 * src/hildon-time-selector.c
6470 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
6471 in order to avoid a crash if gconf is not available
6473 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6475 * src/hildon-button.c (hildon_button_set_arrangement)
6476 (hildon_button_construct_child): Don't construct the button child
6477 before setting the arrangement.
6479 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6481 * src/hildon-program-private.h
6482 * src/hildon-program.c
6483 * src/hildon-program.h
6484 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
6485 (hildon_program_peek_window_stack)
6486 (hildon_program_pop_window_stack)
6487 (hildon_program_go_to_root_window): HildonProgram now has a
6488 separate list for stackable windows. Functions are provided to
6489 manage that list with a stack-like API.
6491 * src/hildon-stackable-window.c: Stackable window management is
6492 now much simpler with the new HildonProgram API. Windows no
6493 longer need to be manually added to the program, they're
6494 automatically pushed to the top of the stack when shown.
6496 * examples/hildon-stackable-window-example.c: Updated example to
6497 reflect the API changes.
6499 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6501 * src/hildon-touch-selector.c: Comment out unimplemented
6502 hildon_touch_selector_insert_column() to avoid a compile warning.
6504 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6506 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6507 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
6508 (hildon_touch_selector_set_column_selection_mode),
6509 (_hildon_touch_selector_set_model),
6510 (hildon_touch_selector_set_model):
6512 Complete review of HildonTouchSelector documentation.
6514 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6516 * doc/hildon-docs.sgml
6520 * src/hildon-gtk.c: Convenience functions for standard Gtk
6521 widgets, used to easily perform frequent operations.
6523 * src/hildon-button-helpers.h
6524 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
6526 * src/hildon-helper.h
6527 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
6528 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
6530 * src/hildon-button.h
6531 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
6533 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6535 * src/hildon-button.c (hildon_button_init)
6536 (hildon_button_set_arrangement, hildon_button_construct_child):
6537 Pack the image and the labels inside the same GtkAlignment so
6538 gtk_button_set_alignment() can be used
6540 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6542 * src/hildon-button.h
6543 * src/hildon-button.c
6544 (hildon_button_init, hildon_button_set_image)
6545 (hildon_button_set_image_position)
6546 (hildon_button_construct_child): New functions to add an image to
6549 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6551 * src/hildon-date-button.c
6552 * src/hildon-picker-button.c
6553 * src/hildon-time-button.c
6554 * src/hildon-button.c:
6555 (hildon_button_class_init): "size-flags" renamed to "size"
6556 (hildon_button_set_title): Hide the title label if set to NULL.
6558 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6560 HildonButtonFlags split into HildonButtonArrangement (to set the
6561 button layout) and HildonSizeType (which can be used for any
6564 * src/hildon-button.h
6565 * src/hildon-button.c
6566 (hildon_button_class_init)
6567 (hildon_button_set_arrangement)
6568 (hildon_button_set_property): New "size-flags"
6569 property. "arrangement-flags" renamed to "arrangement".
6570 (hildon_button_new, hildon_button_new_with_text)
6571 (hildon_button_new_full): Constructors updated to reflect type changes.
6573 * src/hildon-helper.h
6574 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
6575 to set the size of a widget.
6579 * src/hildon-button-helpers.c
6580 * src/hildon-button-helpers.h: New hildon-button-helpers module.
6582 * src/hildon-date-button.c
6583 * src/hildon-date-button.h
6584 * src/hildon-picker-button.c
6585 * src/hildon-picker-button.h
6586 * src/hildon-time-button.c
6587 * src/hildon-time-button.h: Updated widgets to reflect
6588 HildonButton API changes.
6590 * examples/hildon-button-example.c
6591 * examples/hildon-date-button-example.c
6592 * examples/hildon-picker-button-example.c
6593 * examples/hildon-picker-button-multicolumn-example.c
6594 * examples/hildon-time-button-example.c
6595 * examples/hildon-touch-selector-entry-example.c
6596 * examples/hildon-touch-selector-example.c: Updated examples to
6597 reflect HildonButton API changes.
6599 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6601 * doc/hildon-docs.sgml:
6603 * examples/Makefile.am:
6604 * examples/hildon-touch-selector-entry-example.c:
6606 * src/hildon-touch-selector-entry.c:
6607 * src/hildon-touch-selector-entry.h:
6610 Moved HildonTouchSelectorEntry from sandbox. Added its
6611 documentation and examples.
6613 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6615 * src/hildon-touch-selector.h:
6616 * examples/hildon-picker-button-multicolumn-example.c:
6617 (hildon_touch_selector_append_text_column): Add a gboolean
6618 parameter to determine if text must be centered in the column.
6620 * src/hildon-date-selector.c: (hildon_date_selector_init):
6621 * src/hildon-time-selector.c: (hildon_time_selector_init):
6622 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
6623 (create_touch_selector): Update widgets and example to reflect
6626 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6628 * src/hildon-touch-selector.c:
6629 (hildon_touch_selector_set_active_iter): Set also the cursor in
6632 2008-08-06 Alberto Garcia <agarcia@igalia.com>
6634 * doc/hildon-docs.sgml
6637 * src/hildon-toggle-button.c
6638 * src/hildon-toggle-button.h
6639 * src/hildon.h: Removed HildonToggleButton widget, a derived
6640 class is not necessary for this.
6642 2008-08-06 Alejandro G. Castro <alex@igalia.com>
6644 * src/hildon-pannable-area.c,
6645 (hildon_pannable_area_realize),
6646 (hildon_pannable_area_size_allocate): Code refactoring, add tests
6649 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
6651 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
6652 "done" button the default widget for the dialog.
6654 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6656 * src/hildon-touch-selector.c:
6657 (hildon_touch_selector_class_init),
6658 (hildon_touch_selector_get_property),
6659 (_hildon_touch_selector_set_model),
6660 (_hildon_touch_selector_has_multiple_selection),
6661 (hildon_touch_selector_has_multiple_selection):
6662 Add a "has-multiple-selection" property with a virtual
6663 has_multiple_selection() method to allow derived classes to
6664 override the default value for it. See the method and property
6665 documentation for details.
6667 * src/hildon-touch-selector.h: Add the new API.
6669 * src/hildon-picker-dialog.c: (requires_done_button): Call
6670 hildon_touch_selector_has_multiple_selection() instead of
6671 determining the need for a button itself.
6673 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6675 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6676 (_hildon_touch_selector_set_model),
6677 (hildon_touch_selector_set_model): Move working code to
6678 _hildon_touch_selector_set_mode(). Call the class method instead.
6680 * src/hildon-touch-selector.h: Add (*set_model) to
6681 HildonTouchSelectorClass.
6683 Make hildon_touch_selector_set_model() a virtual method, so that
6684 derived classes can extend it and do fancy stuff with the model.
6686 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6688 * configure.ac: Set back the tarname in AC_INIT to hildon.
6690 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6694 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
6695 instead of libesd (NB#86876). Volume handling is still an open issue.
6697 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
6700 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6702 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
6703 (hildon_touch_selector_append_column): Make the widget a GtkVBox
6704 derived class to ease placement of an entry widget in
6705 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
6706 end, where the selector columns are packed now.
6708 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6710 * src/hildon-picker-button.c: Removed the simple _text() API.
6711 * src/hildon-picker-button.h: Likewise.
6713 * src/hildon-touch-selector.h:
6714 * src/hildon-touch-selector.c:
6715 (hildon_touch_selector_new_text),
6716 (hildon_touch_selector_append_text),
6717 (hildon_touch_selector_prepend_text),
6718 (hildon_touch_selector_insert_text):
6720 Moved the simple _text() API from HildonPickerButton to
6721 HildonTouchPicker, to provide better escalability and not to tie
6722 that API to HildonPickerButton.
6724 * examples/hildon-picker-button-example.c: (main): Example updated.
6726 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6728 * src/hildon-button.c: Updated documentation.
6730 * examples/hildon-button-example.c: Add the posibility to create
6731 the buttons using horizontal layout for title and value.
6733 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6735 * src/hildon-app-menu-private.h
6736 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
6737 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
6738 GtkSizeGroup for the filters, use the 'homogeneous' property of
6741 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6743 * examples/hildon-button-example.c: Updated example.
6745 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
6747 * doc/hildon-docs.sgml:
6750 Update documentation.
6752 * examples/Makefile.am: Update renamed examples.
6754 * examples/hildon-picker-button-multicolumn-example.c:
6755 (create_touch_selector), (main): Update after the rename.
6757 * examples/hildon-touch-picker-example.c: Removed.
6758 * examples/hildon-touch-selector-example.c: (value_changed),
6759 (create_selector), (get_visible_content), (main): Renamed from
6760 hildon-touch-picker-example.c
6762 * src/Makefile.am: Updated renamed files.
6764 * src/hildon-date-button.c: (hildon_date_button_init),
6765 (hildon_date_button_get_date), (hildon_date_button_set_date):
6766 * src/hildon-date-selector.c: (hildon_date_selector_init),
6767 (_custom_print_func), (_update_day_model),
6768 (_manage_selector_change_cb),
6769 (hildon_date_selector_select_current_date),
6770 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
6771 * src/hildon-date-selector.h:
6772 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6773 (hildon_picker_button_set_property),
6774 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6775 (hildon_picker_button_init), (hildon_picker_button_new_text),
6776 (hildon_picker_button_append_text),
6777 (hildon_picker_button_prepend_text),
6778 (hildon_picker_button_insert_text),
6779 (hildon_picker_button_set_selector),
6780 (hildon_picker_button_get_selector):
6781 * src/hildon-picker-button.h:
6782 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
6783 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
6784 (_update_title_on_selector_changed_cb), (requires_done_button),
6785 (_hildon_picker_dialog_set_selector),
6786 (hildon_picker_dialog_set_selector),
6787 (hildon_picker_dialog_get_selector):
6788 * src/hildon-picker-dialog.h:
6789 * src/hildon-time-button.c: (hildon_time_button_init),
6790 (hildon_time_button_get_time), (hildon_time_button_set_time):
6791 * src/hildon-time-selector.c: (hildon_time_selector_init),
6792 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
6793 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
6794 * src/hildon-time-selector.h:
6797 Massive code updates after the rename.
6799 * src/hildon-touch-picker.c: Removed.
6800 * src/hildon-touch-picker.h: Removed.
6802 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6803 (hildon_touch_selector_init), (hildon_touch_selector_map),
6804 (hildon_touch_selector_remove), (_default_print_func),
6805 (_selection_changed_cb), (_create_new_column),
6806 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
6807 (hildon_touch_selector_append_text_column),
6808 (hildon_touch_selector_remove_column),
6809 (hildon_touch_selector_set_column_attributes),
6810 (hildon_touch_selector_insert_column),
6811 (hildon_touch_selector_get_num_columns),
6812 (hildon_touch_selector_get_column_selection_mode),
6813 (hildon_touch_selector_set_column_selection_mode),
6814 (hildon_touch_selector_set_print_func),
6815 (hildon_touch_selector_get_print_func),
6816 (hildon_touch_selector_get_active_iter),
6817 (hildon_touch_selector_set_active_iter),
6818 (hildon_touch_selector_get_selected_rows),
6819 (hildon_touch_selector_get_model),
6820 (hildon_touch_selector_set_model),
6821 (hildon_touch_selector_get_current_text),
6822 (_hildon_touch_selector_center_on_selected_items):
6823 * src/hildon-touch-selector.h: Renamed from
6824 hildon-touch-picker.[ch]
6826 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
6827 references, code examples, and related documentation.
6829 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6831 * doc/hildon-docs.sgml
6834 * src/hildon-toggle-button.c
6835 * src/hildon-toggle-button.h
6836 * src/hildon.h: New HildonToggleButton widget.
6838 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6840 * src/hildon-button.c: Add API documentation.
6841 (hildon_button_set_size_groups): Check input parameters
6843 2008-07-30 Alejandro G. Castro <alex@igalia.com>
6845 * src/hildon-pannable-area.c
6846 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
6847 effect after reaching the movement thredshold. This way we start
6848 using the distance after passing the thredshold.
6850 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6852 * src/hildon-button.c: (hildon_button_set_property): Use the
6853 appropriate g_value_get_flags() method.
6855 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6857 * doc/hildon-docs.sgml:
6860 Add the touch pickers, picker dialogs, and picker button widgets
6861 to the documentation.
6863 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6865 * src/hildon-button.c: (hildon_button_set_property),
6866 (hildon_button_class_init): Make "arrangement-flags" a proper
6867 G_TYPE_FLAGS derived property.
6869 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6871 * examples/Makefile.am: Add below examples.
6872 * examples/hildon-date-button-example.c:
6873 * examples/hildon-picker-button-example.c:
6874 * examples/hildon-picker-button-multicolumn-example.c:
6875 * examples/hildon-time-button-example.c:
6876 * examples/hildon-touch-picker-example.c:
6878 Add examples for the recently added touch pickers,
6879 picker dialogs, and picker button widgets.
6881 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6883 * src/hildon-button.c: Add some API documentation
6885 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6887 * src/hildon-button.h
6888 * src/hildon-button.c
6890 (hildon_button_new_with_text): New constructor to create a button
6891 with no text at all.
6892 (hildon_button_init, hildon_button_set_arrangement)
6893 (hildon_button_set_title, hildon_button_set_value)
6894 (hildon_button_set_text)
6895 (hildon_button_construct_child): Hide the value when it's not used
6896 so the rest of the text is properly aligned.
6897 Allow creating buttons with arbitrary widgets inside (not just
6898 title/value labels).
6900 * examples/hildon-button-example.c (vertical_buttons_window)
6901 (horizontal_buttons_window): Update example to use new API.
6903 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6905 * src/Makefile.am: Added HildonTimeButton.
6906 * src/hildon-time-button.c: Added missing LGPL header.
6907 * src/hildon-time-button.h: Added missing LGPL header.
6908 * src/hildon.h: Add hildon-time-button.h
6910 Copied HildonTimeButton from sandbox to trunk. Future work on this
6911 widget must take place in trunk.
6913 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6915 * src/Makefile.am: Added HildonDateButton.
6916 * src/hildon-date-button.c: Update includes.
6917 * src/hildon.h: Add hildon-date-button.h
6919 Copied HildonDateButton from sandbox to trunk. Future work on this
6920 widget must take place in trunk.
6922 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6924 * src/Makefile.am: Added HildonPickerButton.
6925 * src/hildon-picker-button.h: Update includes.
6926 * src/hildon.h: Add hildon-picker-button.h
6928 Copied HildonPickerButton from sandbox to trunk. Future work on
6929 this widget must take place in trunk.
6931 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6933 * src/Makefile.am: Added HildonPickerDialog.
6934 * src/hildon-picker-dialog.c: Update includes.
6935 * src/hildon.h: Add hildon-picker-dialog.h
6937 Copied HildonPickerDialog from sandbox to trunk. Future work
6938 on this widget must take place in trunk.
6940 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6942 * src/Makefile.am: Added HildonTimeSelector.
6943 * src/hildon.h: Add hildon-time-selector.h
6945 Copied HildonTimeSelector widget from sandbox to trunk. Future
6946 work on this widget must happen in trunk.
6948 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6950 * src/Makefile.am: Added HildonDateSelector.
6951 * src/hildon.h: Add hildon-date-selector.h
6953 Copied HildonDateSelector widget from sandbox to trunk. Future
6954 work on this widget must happen in trunk.
6956 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6958 * src/Makefile.am: Added HildonTouchPicker.
6959 * src/hildon-touch-picker.c: Update includes.
6960 * src/hildon.h: Add hildon-touch-picker.h
6962 Copied HildonTouchPicker widget from sandbox to trunk. Future work
6963 on this widget must happen in trunk.
6965 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6967 * src/hildon-pannable-area.c:
6968 (hildon_pannable_area_motion_notify_cb): Fix a typo.
6970 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6972 * examples/hildon-app-menu-example.c (main): Let the window
6975 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6977 * src/hildon-pannable-area.c
6978 (hildon_pannable_area_class_init): Set the min value of the
6979 overshoot properties to zero, which points out that not
6980 overshooting allowed.
6982 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6984 Modified the procedure to get the widget at a point inside the
6985 pannable area when using the movement type signals. Now the user
6986 has to call a function to get the child, that way we just
6987 calculate the child in case the user really want to use it and not
6990 * src/hildon-marshalers.list: Modified the marshallers, now we do
6991 not have the widget as a parameter.
6993 * src/hildon-pannable-area.c
6994 (hildon_pannable_area_motion_notify_cb),
6995 (hildon_pannable_area_class_init),
6996 (hildon_pannable_get_child_widget_at): Removed the widget
6997 parameter from the signal callback. We have also refactored the
6998 emission of the signals.
7000 * src/hildon-pannable-area.h: Added a new method to the API to
7001 calculate a widget at a point inside the pannable area,
7002 hildon_pannable_get_child_widget_at.
7004 * examples/hildon-pannable-area-example-4.c
7005 (horizontal_movement): Modified the example to use the new API,
7006 added condition to control which widget is under the event. This
7007 way we can avoid scrolling laterally over other widgets.
7009 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7011 * src/hildon-pannable-area.c
7012 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7013 modes, we stop getting the pointer events due to returning the
7014 callback without properly calling the get pointer again. Fixed
7015 also an error using the hscroll and vscroll.
7017 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7019 * src/hildon-app-menu-private.h
7020 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7021 (hildon_app_menu_button_release, hildon_app_menu_init)
7022 (hildon_app_menu_class_init): Don't hide the menu on button
7023 release if the user didn't press outside first.
7025 * src/hildon-window.h
7026 * src/hildon-window.c (hildon_window_toggle_menu)
7027 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7028 hildon_window_toggle_menu a virtual function for the stackable
7029 window to override it.
7031 * src/hildon-stackable-window.h
7032 * src/hildon-stackable-window-private.h
7033 * src/hildon-stackable-window.c
7034 (hildon_stackable_window_realize)
7035 (hildon_stackable_window_finalize)
7036 (hildon_stackable_window_class_init)
7037 (hildon_stackable_window_init)
7038 (hildon_stackable_window_set_main_menu): New function to set the
7039 app menu of a HildonStackableWindow.
7041 * examples/hildon-app-menu-example.c: Remove the button to show
7042 the app menu, now it'll be shown when clicking on the title bar
7045 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7047 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7048 set the widget name if the arrangement flags do not specify
7051 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7053 * src/hildon-button.c: (hildon_button_set_property),
7054 (hildon_button_class_init), (hildon_button_new_full),
7055 (hildon_button_set_arrangement): Added "arrangement-flags"
7058 Make the HildonButtonFlags a construction-only property, to allow
7059 subclasses to set them properly.
7061 2008-07-21 Tim Janik <timj@imendio.com>
7063 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7064 insertion position after backspace, so additional digits are appended,
7067 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7069 * src/hildon-pannable-area.c,
7070 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7071 TODO list, it was complete and removed the g_debug and g_print
7074 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7076 Added the movement modes to the hildon-pannable-area, with this
7077 modes the developers can control in which directions the widget
7078 can scroll. They can also connect to signals in order to do
7079 something when that happens, allowing applications scroll. There
7080 is an example uploaded showing how to use it.
7082 * examples/Makefile.am:
7083 * examples/hildon-pannable-area-example-4.c: Added this example of
7084 an application using the modes.
7086 * src/hildon-marshalers.list: Added a new marshaller for the new
7089 * src/hildon-pannable-area.h: Added new enumerations and flags in
7090 order to control the movement modes and the new signals to warn
7091 about the movements in the area.
7093 * src/hildon-pannable-area.c:
7094 (hildon_pannable_axis_scroll),
7095 (hildon_pannable_area_scroll),
7096 (hildon_pannable_area_motion_notify_cb),
7097 (hildon_pannable_area_get_property),
7098 (hildon_pannable_area_set_property),
7099 (hildon_pannable_area_map),
7100 (hildon_pannable_area_class_init),
7101 (hildon_pannable_area_init),
7102 (hildon_pannable_area_jump_to): Added the modes to control the
7103 movement in the widget. We have added properties to control it,
7104 signals to warn about the movements and refactored some code.
7106 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7108 Changes required in order to allow vfast_factor set to zero to
7111 * src/hildon-pannable-area.c:
7112 (hildon_pannable_area_button_press_cb): Changed the condition, it
7113 is required for not allowing click when vfast_factor is zero.
7114 (hildon_pannable_area_timeout): Initialized velocity variables
7115 when we stop moving, it was less than 1 but not zero and we need
7116 to check zero in some situations.
7117 (hildon_pannable_area_class_init): Changed the default value of
7118 the speed factor, now the button_press is just sent in case the
7119 speed is 2 per cent of the max speed.
7120 (hildon_pannable_area_init): Initialization with 0.
7122 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7124 * src/hildon-pannable-area.c,
7125 (hildon_pannable_area_get_topmost): replaced
7126 gdk_window_get_children with gdk_window_peek_children, this way we
7127 do not have to free the list because it is not a copy.
7129 (hildon_pannable_axis_scroll),
7130 (hildon_pannable_area_scroll),
7131 (hildon_pannable_area_timeout),
7132 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7133 two parameters that were only used inside the
7134 hildon_pannable_area_scroll function.
7136 * examples/hildon-pannable-area-example.c,
7137 (get_sawtooth_label): Fixed small memory leak.
7139 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7141 More checks for the case where the overshoot is bigger than the
7144 * src/hildon-pannable-area.c:
7145 (hildon_pannable_draw_vscroll),
7146 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7147 to draw the slider of the scrollbar under the other scrollbar.
7148 (hildon_pannable_area_expose_event): added new checks to control
7149 the drawing of the overshooting area rectangle, in case it is too
7150 big for the area of the widget.
7151 (hildon_pannable_area_size_allocate): add more checks to avoid
7152 setting a position to the child widget outside the area.
7154 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7156 * src/hildon-pannable-area.c
7157 (hildon_pannable_area_size_allocate): Added conditions to control
7158 when overshooting is bigger than the allocated space for the
7159 children, this avoids negative allocations.
7161 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7163 * doc/hildon-docs.sgml
7165 * examples/Makefile.am
7166 * examples/hildon-button-example.c
7168 * src/hildon-button.c
7169 * src/hildon-button.h
7170 * src/hildon.h: Initial version of the new HildonButton widget,
7173 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7175 * src/hildon-pannable-area.c:
7176 (hildon_pannable_area_button_press_cb),
7177 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7178 (hildon_pannable_area_motion_notify_cb),
7179 (hildon_pannable_area_button_release_cb),
7180 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7181 (hildon_pannable_area_jump_to_child):
7183 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7185 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7187 * examples/Makefile.am
7188 * examples/hildon-pannable-area-touch-grid-example.c
7189 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7190 the Hildon Touch List and Hildon Touch Grid using the
7191 HildonPannableArea widget.
7193 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7195 * src/hildon-pannable-area.c,
7196 (hildon_pannable_area_button_press_cb),
7197 (hildon_pannable_area_refresh),
7198 (hildon_pannable_area_scroll),
7199 (hildon_pannable_area_motion_notify_cb),
7200 (hildon_pannable_area_button_release_cb),
7201 (hildon_pannable_area_expose_event),
7202 (hildon_pannable_area_add),
7203 (hildon_pannable_area_remove),
7204 (hildon_pannable_area_realize),
7205 (hildon_pannable_area_size_allocate),
7206 (hildon_pannable_area_class_init),
7207 (hildon_pannable_area_init),
7208 (hildon_pannable_area_scroll_to_child),
7209 (hildon_pannable_area_jump_to_child): Fixed the problem of
7210 removing the child from the GtkBin, we have rearranged the widget
7211 hierarchy, now there is no GtkAlignment which was not doing
7212 anything interesting but breaking some of the assumptions of
7213 GtkContainer. Now developers if they want to add a GtkAlignment
7214 they could, but it is not inside the area.
7216 We had to review the whole allocation/expose process, now it is
7217 improved and we save at least three signals which would be saving
7218 some time when rendering the widget. The allocation of the
7219 scrollbars is now made in the allocate method as usual.
7221 We have also added some conditions in order to control when there
7222 is no child of the pannable area. Maybe we will need more work
7225 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7227 * src/hildon-pannable-area.c,
7228 (hildon_pannable_area_dispose): Released the fade-out timeout when
7229 disposing the widget.
7231 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7233 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7234 zero, we are going to use that property in order to deactivate the
7236 (hildon_pannable_axis_scroll),
7237 (hildon_pannable_area_size_allocate): Added conditions to control
7238 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7239 call, now it is called in all situations and we can remove calls
7240 in the allocate method.
7241 (hildon_pannable_area_map): Control the situation when
7242 overshoot_max is zero, we do not need the timeout.
7243 (hildon_pannable_area_class_init): Added documentation in order to
7244 point out that setting zero to overshoot_max means deactivate
7247 NOTE: removed trailing whitespaces from my previous comments of
7250 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7252 * src/hildon-pannable-area.c
7253 (hildon_pannable_area_get_property),
7254 (hildon_pannable_area_set_property),
7255 (hildon_pannable_area_map),
7256 (hildon_pannable_area_class_init),
7257 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7258 to cause the widget give a hint about its panning abilities upon
7261 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7263 * src/hildon-pannable-area.c: Several documentation improvements.
7265 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7267 * src/hildon-program.c
7268 * src/hildon-stackable-window.c: Update documentation.
7270 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7272 * src/hildon-stackable-window.c (get_previous_window_if_last):
7273 Renamed get_last_window()
7274 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7275 (hildon_stackable_window_unset_program):
7277 (get_previous_window_if_last):
7278 Detect if the window hasn't been added to a HildonProgram.
7280 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7282 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7284 * src/hildon-pannable-area.c
7285 (hildon_pannable_area_button_press_cb),
7286 (hildon_pannable_axis_scroll),
7287 (hildon_pannable_area_scroll),
7288 (hildon_pannable_area_timeout),
7289 (hildon_pannable_calculate_vel_factor),
7290 (hildon_pannable_area_get_property),
7291 (hildon_pannable_area_set_property),
7292 (hildon_pannable_area_class_init),
7293 (hildon_pannable_area_init),
7294 (hildon_pannable_area_scroll_to),
7295 (hildon_pannable_area_jump_to),
7296 (hildon_pannable_area_scroll_to_child),
7297 (hildon_pannable_area_jump_to_child):
7298 * src/hildon-pannable-area.h: Added the new API functions:
7299 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7300 hildon_pannable_area_scroll_to_child,
7301 hildon_pannable_area_jump_to_child
7304 * examples/Makefile.am
7305 * examples/hildon-pannable-area-example-2.c
7306 * examples/hildon-pannable-area-example-3.c: Added these two new
7307 examples in order to test and show how the new APIs work.
7309 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7311 * examples/hildon-stackable-window-example.c (new_window):
7312 * src/Makefile.am (noinst_HEADERS):
7313 * src/hildon-program.c (hildon_program_go_to_root_window):
7314 * src/hildon-program.h:
7315 * src/hildon-stackable-window-private.h:
7316 * src/hildon-stackable-window.c:
7317 * src/hildon-stackable-window.h:
7318 Create hildon-stackable-window-private.h
7319 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7321 * examples/hildon-app-menu-example.c (create_menu):
7322 * examples/hildon-hvolumebar-insensitive-example.c (main):
7323 * examples/hildon-hvolumebar-timer-example.c (on_idle):
7324 * examples/hildon-toolbar-seekbar-example.c (main):
7325 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7326 * src/hildon-banner.c (hildon_banner_set_property):
7327 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7328 Fix compilation warnings
7330 * src/hildon-window.c:
7333 2008-06-24 Alberto Garcia <agarcia@igalia.com>
7335 * src/hildon-stackable-window.c
7336 (hildon_stackable_window_unset_program):
7337 Calculate correctly whether to show the previous window if the
7338 last one is removed from the stack.
7339 (hildon_stackable_window_go_to_root_window):
7340 Send delete events starting from the topmost window.
7341 Stop if one of the windows is not destroyed.
7343 (hildon_stackable_window_delete_event)
7344 (hildon_stackable_window_class_init):
7345 Ignore the delete event if the window is not the topmost one.
7347 2008-06-24 Alejandro G. Castro <alex@igalia.com>
7349 * src/hildon-pannable-area.c
7350 (hildon_pannable_area_expose_event): Fixed a problem when
7351 selecting the background color of the scrollbars.
7353 2008-06-23 Alberto Garcia <agarcia@igalia.com>
7355 * examples/hildon-stackable-window-example.c
7356 * src/hildon-stackable-window.c
7357 * src/hildon-stackable-window.h
7358 hildon_stackable_window_go_home() renamed to
7359 hildon_stackable_window_go_to_root_window()
7360 Send delete events to windows rather than closing them with
7361 gtk_widget_destroy()
7363 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7365 * src/hildon-pannable-area.c
7366 (hildon_pannable_area_button_release_cb): Fix overshooting in
7369 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7371 * src/hildon-pannable-area.c
7372 (hildon_pannable_area_init): Initially show the scroll indicators.
7373 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7375 Add initial effect showing the widget is pannable.
7377 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7379 * src/hildon-pannable-area.c
7380 (hildon_pannable_area_class_init)
7381 (hildon_pannable_area_set_property)
7382 (hildon_pannable_area_get_property)
7383 (hildon_pannable_area_button_press_cb):
7384 New 'velocity_fast_factor' property to decide which velocity is
7387 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7389 * src/hildon-pannable-area.c
7390 (hildon_pannable_draw_hscroll)
7391 (hildon_pannable_draw_vscroll):
7392 Use float variables to calculate the size of the scrollbars to
7393 avoid error propagation and resizing during scrolling.
7395 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7397 * src/hildon-pannable-area.c
7398 (hildon_pannable_draw_vscroll)
7399 (hildon_pannable_draw_hscroll):
7400 Define a minimum size for the scroll bars
7402 * src/hildon-stackable-window.c
7403 (hildon_stackable_window_go_home): Fix compilation warning
7404 (get_last_window): Minor optimizations
7405 (hildon_stackable_window_class_init): Fix initialization of
7408 2008-06-18 Alberto Garcia <agarcia@igalia.com>
7410 * src/hildon-stackable-window.c: Fixed typos in doc
7412 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
7414 * src/hildon-pannable-area.c
7415 (hildon_pannable_area_scroll):
7416 Calculate here whether we need to scroll instead of using the booleans
7417 that tell us whether to /draw/ the scrolling bars.
7419 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
7421 * src/hildon-app-menu.h
7423 * src/hildon-app-menu.c
7424 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
7425 multiple filter groups related code and API. Now we support only
7427 * examples/hildon-app-menu-example.c:
7429 Update to reflect API changes.
7431 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
7433 * src/hildon-stackable-window.c
7434 (hildon_stackable_window_class_init):
7435 Add hildon_stackable_window_realize.
7436 (hildon_stackable_window_realize):
7437 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
7438 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
7439 to apply theming and behavior specific to HildonStackableWindow
7442 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7444 * src/hildon-note.c (hildon_note_button_release):
7445 Close information notes also when tapping on them
7447 2008-06-12 Alejandro G. Castro <alex@igalia.com>
7449 Added BOUNCE_STEPS define to control the overshoot effect. Removed
7450 ELASTICITY, refactor and review, fix some issues with drawing
7453 * src/hildon-pannable-area.c:
7454 (hildon_pannable_area_button_press_cb): removed the conditions to
7455 avoid clicks when overshooting. It is not required
7457 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
7458 define. Refatored and reviewed the code, now we do not need to
7459 manage velocity in motion_notify.
7461 (hildon_pannable_area_motion_notify_cb): We have moved the code
7462 that controls the area_scroll to the axis_scroll function and get
7463 rid of duplicated code.
7465 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
7467 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
7469 (hildon_pannable_draw_vscroll),
7470 (hildon_pannable_draw_hscroll): Fixed the problems with the
7471 scrollbar drawing, now we do not use two surfaces, it is easier
7472 and saves resources.
7474 (hildon_pannable_area_get_property): Style modification.
7476 (hildon_pannable_area_class_init): Changed some default values.
7478 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
7480 * src/hildon-stackable-window.c: Fix some typos in the
7483 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7485 * src/hildon-dialog.c:
7486 Change indentation style
7489 (hildon_note_button_release):
7490 Use root coordinates to check if the release event happened
7493 * src/hildon-app-menu.c
7494 (hildon_app_menu_button_release):
7495 Remove unnecessary check
7497 * examples/hildon-app-menu-example.c
7499 Add cast to fix warning
7501 * src/hildon-app-menu.c
7502 (hildon_app_menu_class_init):
7503 New inner-border style property.
7504 Set all default spacings to 16
7505 (hildon_app_menu_init):
7506 Use vertical-spacing to set the space between filter buttons and
7507 regular menu buttons.
7508 Set the default container border using the inner-border value.
7510 * examples/hildon-app-menu-example.c
7512 Don't set the menu border explicitly, now we have the inner-border
7513 style property for that.
7515 2008-06-11 Alberto Garcia <agarcia@igalia.com>
7517 * src/hildon-app-menu.c (hildon_app_menu_init):
7518 Make the window modal
7520 * src/hildon-note.c (hildon_note_map)
7521 * src/hildon-app-menu.c (hildon_app_menu_map):
7522 Destroy the grab window if we're unable to grab the pointer
7524 * src/hildon-app-menu-private.h
7525 * src/hildon-app-menu.c
7526 (hildon_app_menu_init, hildon_app_menu_finalize)
7527 (hildon_app_menu_map, hildon_app_menu_unmap)
7528 (hildon_app_menu_button_release)
7529 (grab_transfer_window_get):
7530 Bring back the grab window
7531 (hildon_app_menu_realize):
7532 Decorate the window, set WM hint for Matchbox
7534 * src/hildon-note.c (hildon_note_realize):
7535 * src/hildon-banner.c (hildon_banner_realize):
7536 Add WM hints for Matchbox
7538 2008-06-10 Alberto Garcia <agarcia@igalia.com>
7540 * src/hildon-app-menu-private.h
7541 * src/hildon-app-menu.c
7542 (hildon_app_menu_init, hildon_app_menu_finalize)
7543 (hildon_app_menu_map, hildon_app_menu_unmap)
7544 (hildon_app_menu_button_release):
7545 Remove the grab window, it's not needed anymore
7547 * src/hildon-program.c
7548 Fixed typo in documentation
7550 * src/hildon-app-menu.h
7551 * src/hildon-app-menu.c
7552 * examples/hildon-app-menu-example.c
7553 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
7555 2008-06-09 Alberto Garcia <agarcia@igalia.com>
7558 Added new transfer_window and close_if_pressed_outside private
7560 (hildon_note_rebuild):
7561 Don't add a cancel button to the information note. It will be
7562 closed when tapping outside
7563 Remove the comment about the OK button in the documentation
7564 (hildon_note_realize):
7565 Set the notification type hint
7566 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
7567 Grab/ungrab pointer and keyboard if the note has to be closed when
7569 (hildon_note_button_release):
7570 Close the note when tapping outside (if applicable)
7572 * src/hildon-app-menu.c
7573 Grab/ungrab pointer and keyboard on map/unmap
7574 (hildon_app_menu_button_release, hildon_app_menu_class_init):
7575 Close the menu on button release, not button press
7577 * src/hildon-banner.c
7578 (hildon_banner_set_property)
7579 (hildon_banner_check_position):
7580 Make the banner use the full width of the screen
7581 (hildon_banner_show_information)
7582 (hildon_banner_show_information_with_markup):
7583 Don't display an icon by default
7585 2008-06-09 Alejandro G. Castro <alex@igalia.com>
7587 Added fading scrollbars and adapted all the overshooting code to
7588 horizontal scrolling. We have also fixed bugs with overshooting
7589 and current fading implementation.
7591 * src/hildon-pannable-area.c
7592 (hildon_pannable_area_scroll_indicator_fade): Time out function
7593 used to change the transparency of the scrollbars.
7595 (hildon_pannable_area_button_press_cb): Added horizontal overshot
7596 control and fixed a problem with fading, we now remove the fade
7597 timeout before adding a new one.
7599 (hildon_pannable_axis_scroll):
7600 (hildon_pannable_area_scroll):
7601 (hildon_pannable_area_timeout): Added this functions so we can use
7602 the scroll code both for vertical and horizontal.
7604 (hildon_pannable_area_motion_notify_cb):
7605 (hildon_pannable_area_button_release_cb): Added the horizontal
7606 scrolling control, fixed a problem with the overshooting timeout.
7608 (rgb_from_gdkcolor): Added this function, it is used in the cairo
7609 painting of the scrolls.
7611 (hildon_pannable_draw_vscroll):
7612 (hildon_pannable_draw_hscroll):
7613 (hildon_pannable_area_expose_event):
7614 Draw both scrollbars and rectangles in the overshooting area.
7616 (hildon_pannable_area_get_property):
7617 (hildon_pannable_area_set_property):
7618 Modified the overshoot property to overshoot_max
7620 (hildon_pannable_area_map):
7621 Replaced the comments symbols.
7623 (hildon_pannable_area_size_allocate):
7624 (hildon_pannable_area_class_init):
7625 (hildon_pannable_area_init): Added horizontal scroll, fading
7626 effect properties, fixed a problem when overshooting in the bottom
7629 * examples/hildon-pannable-area-example.c:
7630 (get_sawtooth_label): Now we use smaller sawtooths, the effect
7631 looks better in the example.
7633 2008-06-03 Alberto Garcia <agarcia@igalia.com>
7635 * src/hildon-window.c
7636 * src/hildon-window.h
7637 (hildon_window_class_init)
7638 (hildon_window_unset_program)
7639 (hildon_window_unset_program_real):
7640 Make unset_program a virtual function
7642 * src/hildon-stackable-window.c
7643 * src/hildon-stackable-window.h
7644 Added hildon_stackable_window_go_home()
7646 * examples/Makefile.am
7647 * examples/hildon-stackable-window-example.c
7648 HildonStackableWindow example
7650 2008-06-03 Alejandro G. Castro <alex@igalia.com>
7652 * hildon-pannable-area.c: Added the overshoot property and removed
7653 the OVERSHOOT define. Fixed an indent style error.
7654 (hildon_pannable_area_motion_notify_cb):
7655 (hildon_pannable_area_get_property):
7656 (hildon_pannable_area_set_property): Add overshoot property.
7658 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
7661 (hildon_pannable_area_class_init): Installed the new property.
7663 * hildon-pannable-area-example.c: Added a sawtooth function, this
7664 way it is easier to check the movement in the pannable.
7665 (get_sawtooth_label): Added this function.
7666 (main): Now we get the labels from the new get_sawtooth_label
7669 2008-05-26 Alberto Garcia <agarcia@igalia.com>
7671 * src/hildon-app-menu.h
7672 * src/hildon-app-menu.c
7673 Renamed API variables for consistency
7675 (hildon_app_menu_popup): Use also the default window size to
7676 decide where to place the menu
7678 (hildon_app_menu_init, hildon_app_menu_class_init): New
7679 external-border style property
7681 2008-05-26 Michael Natterer <mitch@imendio.com>
7683 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
7684 widget_class->tap_and_hold_setup signal slot doesn't exist any
7685 longer, stop overriding it.
7687 (hildon_time_editor_init): g_signal_connect() to the
7688 tap-and-hold-setup signal instead.
7690 (hildon_time_editor_entry_keypress): add cast to fix warning.
7692 2008-05-23 Alberto Garcia <agarcia@igalia.com>
7694 * doc/hildon-docs.sgml
7696 * examples/Makefile.am
7697 * examples/hildon-app-menu-example.c
7699 * src/hildon-app-menu-private.h
7700 * src/hildon-app-menu.c
7701 * src/hildon-app-menu.h
7703 New HildonAppMenu widget
7705 2008-05-21 Alejandro G. Castro <alex@igalia.com>
7707 Rearranged the inheritance of the pannable area, now it inherits
7708 from GtkBin. This will allow us to control the event_window and
7709 the allocation process of the widget, required for some effects.
7711 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
7712 GtkBin structures. * src/hildon-pannable-area.c: Added the
7713 event_window variable.
7714 (hildon_pannable_area_button_press_cb):
7715 (hildon_pannable_area_button_release_cb):
7716 (hildon_pannable_area_motion_notify_cb):
7717 Changed the signature of the method, now we override the event
7718 callback instead of connecting to the signal.
7720 (hildon_pannable_area_realize):
7721 (hildon_pannable_area_unrealize):
7722 (hildon_pannable_area_map):
7723 (hildon_pannable_area_unmap):
7724 (hildon_pannable_area_size_allocate):
7725 Added functions to control the widget construction. We add a
7726 INPUT_ONLY window and we put it over the widgets inside the
7727 container, this event_window handles the events.
7729 (hildon_pannable_area_class_init):
7730 Replaced the signal connections with overrides of the event
7733 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7735 Bouncing effect added when touching the borders, you can change
7736 the elasticity of the border changing the ELASTICITY define.
7738 * src/hildon-pannable-area.c: Added ELASTICITY define.
7739 (hildon_pannable_area_timeout): Added inverse velocity when
7740 touching the border of the child widget, that causes a bounce.
7742 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7744 Improved performance, we now do not go to the X server in order to
7745 get the list of window children. Apparently the effect is the
7746 same, we have to be careful and check if this breaks something in
7749 * src/hildon-pannable-area.c:
7750 (get_ordered_children): Removed this function.
7751 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
7752 the children windows function with gdk_window_get_children.
7754 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7756 * src/hildon-pannable-area.c:
7757 (hildon_pannable_area_dispose): Fixed a crash when closing the
7758 window and kinetics is activated.
7760 2008-05-19 Alberto Garcia <agarcia@igalia.com>
7762 * src/hildon-pannable-area.h
7763 * src/hildon-pannable-area.c
7764 Changed indentation style to meet the one used in Hildon
7766 2008-05-19 Alejandro G. Castro <alex@igalia.com>
7768 Reviewed the interaction of the AUTO mode, now we use the time
7769 attribute of the events and calculate the velocity in the motion,
7770 doing a gimp like calculation. The velocity is calculated in each
7771 motion event using the last velocity and the current one, the
7772 SMOOTH_FACTOR controls the percentage of the new velocity we use.
7774 * src/hildon-pannable-area.c: Replaced the time based algorithm
7776 (hildon_pannable_area_motion_notify_cb): now we do not launch the
7777 timeout for the AUTO mode when we are still moving the cursor. We
7778 added also the velocity calculation in this function.
7779 (hildon_pannable_area_button_release_cb): launch the timeout in
7780 case we are in AUTO mode. There are still some constants here that
7781 come from the old implementation that should be reviewed and
7784 2008-05-15 Alberto Garcia <agarcia@igalia.com>
7786 * doc/hildon-docs.sgml
7789 * src/hildon-stackable-window.c
7790 * src/hildon-stackable-window.h
7792 New HildonStackableWindow widget
7794 * examples/hildon-dialog-example.c
7795 * examples/hildon-pannable-area-example.c
7798 2008-05-14 Alberto Garcia <agarcia@igalia.com>
7800 * src/hildon-dialog.c
7801 (hildon_dialog_new_with_buttons): New constructor.
7803 * examples/hildon-dialog-example.c
7804 (main): Update the example to use the new
7805 hildon_dialog_new_with_buttons().
7807 * examples/hildon-pannable-area-example.c
7808 (main): Update example.
7810 2008-05-13 Alberto Garcia <agarcia@igalia.com>
7812 * doc/hildon-docs.sgml
7814 Added HildonPannableArea to the documentation.
7816 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
7818 * doc/visual_index.xml
7819 Fix reference to HildonLoginDialog in documentation
7821 * doc/hildon-docs.sgml
7823 * examples/Makefile.am
7824 * examples/hildon-dialog-example.c
7826 * src/hildon-dialog.c
7827 * src/hildon-dialog.h
7829 New HildonDialog widget.
7831 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7833 * src/hildon-pannable-area.c
7834 Merge latest changes (r4318, r4342) from libmokoui trunk
7836 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7838 * examples/Makefile.am
7839 * examples/hildon-pannable-area-example.c
7841 * src/hildon-pannable-area.c
7842 * src/hildon-pannable-area.h
7844 New HildonPannableArea widget.
7846 2008-04-15 18:05:19 <timj@imendio.com>
7848 * src/hildon-banner.c: revert the recent change, that introduced
7849 gtk_window_present() calls. this reopens:
7850 Bug 78481 - [freetest] information banners are hidden under browser menu
7851 But resolves another variant of:
7852 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7854 2008-04-15 13:21:13 <timj@imendio.com>
7856 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
7857 recreated its layout, spotted by Kris. this fixes all remaining
7858 artefacts and stability issues with the banner code. in particular:
7859 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7861 2008-04-14 16:52:59 <timj@imendio.com>
7863 * src/hildon-banner.c: guard force_to_wrap_truncated() against
7864 operating on unrealized widgets, fixes:
7865 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7867 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
7869 2008-04-09 Kristian Rietveld <kris@imendio.com>
7871 Fixes: NB#77775: Media Player, Save Now playing list, too long name
7872 makes banner disappear.
7873 Fixes: NB#79182: info banner flickering with certain message lengts.
7875 * src/hildon-banner.c (hildon_banner_constructor),
7876 (hildon_banner_init), (hildon_banner_set_text),
7877 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
7878 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
7879 FALSE, reset size requests of label and banner,
7880 (force_to_wrap_truncated): when the text is too wide, always enforce
7881 the maximum possible width instead of recalculating it from the
7882 layout; enforce the maximum banner height of 3 lines,
7883 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
7884 nicer wrapping and no truncated chars if space gets tight.
7886 * src/hildon-banner-private.h: add has_been_wrapped and
7887 has_been_truncated fields.
7889 2008-04-07 Sven Herzberg <sven@imendio.com>
7891 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
7892 local values in hildon_date_editor_size_allocate
7894 * src/hildon-date-editor.c: moved the real allocation code into the
7897 2008-04-07 Sven Herzberg <sven@imendio.com>
7899 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7900 local values in hildon_date_editor_size_allocate
7902 * src/hildon-date-editor.c: merged the two if() branches together
7904 2008-04-07 Sven Herzberg <sven@imendio.com>
7906 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7907 local values in hildon_date_editor_size_allocate
7909 * src/hildon-date-editor.c: changed the arguments of the if()
7912 2008-04-07 Sven Herzberg <sven@imendio.com>
7914 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7915 local values in hildon_date_editor_size_allocate
7917 * src/hildon-date-editor.c: split the calculation of the allocation
7918 from the real allocation
7920 2008-03-27 Michael Natterer <mitch@imendio.com>
7922 Fixes: NB#81696: The passcode is not overwritten even after
7925 * src/hildon-code-dialog.c
7926 (hildon_code_dialog_button_clicked)
7927 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
7928 because that doesn't overwrite selected text. Instead, emit the
7929 "commit" signal on the entry's im_context so the entry's normal
7930 insert logic is triggered. Set the cursor to the end of the entry
7931 after each insert operation so that we *only* insert in the middle
7932 of the text if something was selected.
7934 2008-03-27 Michael Natterer <mitch@imendio.com>
7936 Enable fixing: NB#79916 and NB#79918: The help topic for Color
7937 selector cannot be opened
7939 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
7940 when the popup color selector is created. Please connect to this
7941 signal in order to set the dialog's help ID.
7943 2008-03-25 Sven Herzberg <sven@imendio.com>
7945 Fixes: MB#1212: Hide info banners (infoprints) on click
7947 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
7948 extracted the close event simulation into an extra function
7949 (hildon_banner_button_press_event): simulate a close event and destroy
7950 the widget if the event wasn't handled
7951 (hildon_banner_class_init): added the button_press_event handler
7952 (hildon_banner_init): added button-press events to the widget
7954 2008-03-25 Sven Herzberg <sven@imendio.com>
7956 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
7957 Patch from: Mohammad Anwari <mdamt@maemo.org>
7959 * src/hildon-banner.c: let the HildonBanners pop up on the left side
7960 instead of the right in RTL mode
7961 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
7962 breadcrumb button list in RTL mode
7963 * src/hildon-caption.c: mirror the appearance of the caption widget in
7965 * src/hildon-date-editor.c: mirror appearance of the date editor in
7967 * src/hildon-time-editor.c: mirror appearance of the time editor in
7969 * src/hildon-window.c: fix the position of the popup in RTL mode
7971 2008-03-25 Sven Herzberg <sven@imendio.com>
7973 Amendment to the fix of NB#22072. Fix compilation.
7975 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
7977 2008-03-19 Sven Herzberg <sven@imendio.com>
7979 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
7982 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
7983 timeout id properly when the timeout will disappear this leaves no
7984 artifacts around in the destroy(); there will only be the timeout
7985 created by hildon_banner_ensure_timeout() and adding a new timeout
7986 will also work if the timeout gets removed because the timeout_handler
7989 2008-03-19 Michael Natterer <mitch@imendio.com>
7991 Fixes: NB#79791: Cannot set focus to Master volume using stylus
7993 * src/hildon-volumebar.c
7994 * src/hildon-vvolumebar.c
7995 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
7996 the widget becomes focussable at all.
7998 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
7999 set the focus to wither the mute button or the volumebar.
8001 Remove own "can-focus" property and instead listen to
8002 notify::can-focus in order to update the widget's state.
8004 Implement GtkWidget::focus() and make sure we can also *leave* the
8005 widget, not only enter it, depending on volumebar orientation and
8006 requested focus direction.
8008 Clean up set_mute() to cooperate nicely with all the above.
8010 2008-03-04 Michael Natterer <mitch@imendio.com>
8012 Fixes: NB#78481: information banners are hidden under browser menu
8014 * src/hildon-banner.c: call gtk_window_present() on the banners so
8015 they are risen if they are already visible.
8017 2008-03-03 Sven Herzberg <sven@imendio.com>
8019 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8021 * examples/hildon-window-menu-example.c: (main): extended the window
8022 menu example to serve as a testcase for automatically added
8023 accelerator groups, too
8024 * src/hildon-window.c: (hildon_window_add_accel_group),
8025 (hildon_window_set_menu): added patch by Tommi Komulainen
8027 2008-03-03 Sven Herzberg <sven@imendio.com>
8029 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8031 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8032 knowledge about the border allocators used within GTK+
8034 2008-02-26 Sven Herzberg <sven@imendio.com>
8036 Fixes: MB#2981: Build with asserts broken
8038 * src/hildon-date-editor.c,
8039 * src/hildon-number-editor.c,
8040 * src/hildon-time-editor.c,
8041 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8042 the proper GType instance check
8044 2008-02-25 Sven Herzberg <sven@imendio.com>
8046 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8048 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8049 * examples/hildon-window-menu-example.c: (main): explicitly show
8051 * src/hildon-window.c:
8052 (hildon_window_set_main_menu): moved most of the code from set_menu()
8053 to this place; skipped the call to gtk_widget_show_all(); also didn't
8054 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8055 (hildon_window_set_menu): removed most of the code, just keep the
8056 questionable gtk_widget_show_all()
8057 * src/hildon-window.h: added the new function and deprecate the old
8060 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8066 * debian/changelog: Updating.
8068 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8071 * pkgconfig/Makefile.am:
8072 * pkgconfig/hildon.pc.in:
8075 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8076 use newly created API_MAJOR_VERSION.
8078 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8084 * debian/changelog: Updating.
8086 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8088 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8090 Add outer_border style property, we use it but don't define it (!).
8094 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8096 * examples/hildon-bread-crumb-trail-example.c (main):
8100 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8102 Fix logic for the bread crumb trail node removal.
8106 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8112 * debian/changelog: Updating.
8114 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8116 Patch by Alejandro to get/set passwords dialogs accesibility.
8118 * hildon-1/src/hildon-get-password-dialog.c:
8119 * hildon-1/src/hildon-set-password-dialog.c:
8120 Set atk_set_name to the passwd entries in order to allow
8121 accessibility by name on this entries.
8123 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8128 * debian/control: Updating gtk dep.
8130 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8132 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8133 USE_MAEMO_GTK is enabled.
8135 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8137 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8138 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8140 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8146 * debian/changelog: Updating.
8148 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8150 * examples/Makefile.am:
8151 * examples/hildon-logical-color-example.c:
8152 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8153 applied + adding a test case. Fixes: NB#71660.
8155 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8157 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8158 to be visible, fixes warning on map for windows without toolbars.
8160 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8162 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8163 2.11.0, add a check for that besides the MAEMO_GTK check.
8165 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8171 * debian/changelog: Updating.
8173 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8175 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8176 visibility. Fixes: NB#70842 and MB#615.
8178 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8180 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8181 set the separator as no-show-all so it doesn't unintentionally appear when
8182 someone does a show_all.
8184 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8186 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8187 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8188 toplevel item. Fixes: NB#62031
8190 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8192 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8193 fix the name of the function in the docs.
8195 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8201 * debian/changelog: Updating.
8203 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8205 * examples/hildon-banner-long-example.c: Adding a test-case for long
8208 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8210 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8212 * src/hildon-color-chooser-dialog.c:
8213 * src/hildon-color-chooser.c:
8214 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8215 memory leaks in font selector and color selector. Fixes: NB#70499 and
8218 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8220 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8222 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8224 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8225 little bit bigger. Fixes: #NB63694.
8227 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8233 * debian/changelog: Updating.
8235 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8238 * doc/hildon-docs.sgml:
8239 * doc/images/bread-crumb-trail.png:
8240 * doc/images/calendar-popup.png:
8241 * doc/images/caption.png:
8242 * doc/images/code-dialog.png:
8243 * doc/images/color-button.png:
8244 * doc/images/color-chooser-dialog.png:
8245 * doc/images/color-chooser.png:
8246 * doc/images/controlbar.png:
8247 * doc/images/date-editor.png:
8248 * doc/images/font-selection-dialog.png:
8249 * doc/images/get-password-dialog.png:
8250 * doc/images/hvolumebar.png:
8251 * doc/images/login-dialog.png:
8252 * doc/images/note.png:
8253 * doc/images/number-editor.png:
8254 * doc/images/range-editor.png:
8255 * doc/images/seekbar.png:
8256 * doc/images/set-password-dialog.png:
8257 * doc/images/sort-dialog.png:
8258 * doc/images/time-editor.png:
8259 * doc/images/time-picker.png:
8260 * doc/images/vvolumebar.png:
8261 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8262 Adding the bread-crumb-trial and helpers to the documentation.
8264 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8266 * examples/hildon-find-toolbar-example.c:
8267 * src/hildon-find-toolbar.c:
8268 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8269 actually continue firing the other handlers if connected. Adding a new
8271 hildon_find_toolbar_get_last_index that gets the index of the most
8272 recently added (last) item. Fixes: NB#52301.
8274 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8276 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8277 behaviour. Fixes: NB#68610.
8279 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8281 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8284 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8286 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8287 when realizing the banner. Should make the infonbanner effect a bit more
8290 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8292 * src/hildon-volumebar.c:
8293 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8294 hildon_volumebar_set_range_insensitive_message and
8295 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8297 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8299 * src/hildon-window.c: Fixing the border freeing on destroy.
8301 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8303 * src/hildon-code-dialog-private.h:
8304 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8305 kw keyboard support in HildonCodeDialog.
8307 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8313 * debian/changelog: Updating.
8315 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8317 * src/hildon-date-editor.c:
8318 * src/hildon-number-editor.c:
8319 * src/hildon-private.c:
8320 * src/hildon-private.h:
8321 * src/hildon-time-editor.c:
8322 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8323 handling in subclassed composite widgets. Fixes: NB#66628.
8325 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8327 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8328 from destroy_ callback as it introduces problems in async dbus signal
8329 handlers. Fixes NB#66673.
8331 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8333 * examples/hildon-hvolumebar-example.c:
8334 * src/hildon-volumebar.c: Improving the focus handling in the
8335 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8336 set_property accessor so that "mute" property can be actually set. I'm
8337 scared that nobody noticed it's totally broken.
8339 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8341 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8344 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8346 * src/hildon-calendar.c:
8347 * src/hildon-number-editor.c:
8348 * src/hildon-time-picker.c: Changing the timeout repeat so that it
8349 matches the spec of 6 chars per second. Fixes: NB#60489.
8351 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8353 * src/hildon-helper.c: Really fixing NB#58352. Looks like
8354 gtk_style_lookup_color sometime returns FALSE even though color was
8355 found and values were filled properly. Weird. Removing the warning for the
8358 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8360 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8361 expand vertically. Adding some extra space to the find toolbar buttons to
8362 make them thumbable. Fixes NB#66060.
8364 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8366 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8367 popup with "Ok" and "Cancel". Fixes NB#59299.
8369 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8371 * src/hildon-calendar.c: Process all window updates before executing next
8372 timeout. Fixes: NB#54146.
8374 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8380 * debian/changelog: Updating.
8382 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8384 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8385 the client event and ignore it, since we use the delete event to close
8388 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8390 * src/hildon-helper.c: Remove the bogus warning about color not being
8391 found. Fixes NB#58352.
8393 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8395 * examples/Makefile.am:
8396 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8397 HildonSeekbar widget inside a toolbar.
8399 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8401 * src/hildon-banner.c (hildon_banner_init): mark the banners as
8402 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8403 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8404 don't want to be closed by non-temporary windows on map.
8406 Also use G_DEFINE_TYPE instead of manually typed code.
8408 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8415 * debian/rules: Updating.
8417 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8419 * examples/Makefile.am:
8420 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8421 bug NB#61128. Strangely it works.
8423 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8425 * src/hildon-date-editor.c: When the date editor entry has been changed
8426 but the numbers of characters < max, turn off the skip validation flag.
8427 Prevents a situation when we enter first a valid year and later re-write
8428 it with an invalid one. Fixes NB#60154.
8430 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8432 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
8433 code dialog. Fixes NB#64355.
8435 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8437 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
8438 switching the page. Fixes NB#49374.
8440 * examples/Makefile.am:
8441 * examples/hildon-wizard-dialog-example.c: Adding an example for
8442 HildonWizardDialog that shows how to handle manual sensitivity setting on
8445 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8449 * src/hildon-version.h.in:
8450 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
8452 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8454 * src/hildon-volumebar.c: Updating the docs.
8456 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8462 * debian/changelog: Updating.
8464 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8466 * src/hildon-find-toolbar.c:
8467 * src/hildon-find-toolbar.h: Adding a few new functions to control the
8468 selected item: hildon_find_toolbar_set_active,
8469 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
8470 hildon_find_toolbar_get_active_iter . They correspond to respective
8471 GtkComboBox functions.
8473 * examples/Makefile.am:
8474 * examples/hildon-find-toolbar-example.c: Adding the example to test the
8477 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8479 * examples/Makefile.am:
8480 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
8483 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
8484 when font size > 32 and we pack a focusable widget inside. Actually using
8485 the default response would work too, but since we don't show default
8486 response state in any way (no theming) it would not be visible to the
8487 user. Fixes NB#63430.
8489 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8491 * src/hildon-date-editor.c: Adding the missing variable setter in the
8492 set_property handler. Fixes NB#54182.
8494 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8496 * src/hildon-window.h: Changing the long key press time from 1500ms to
8497 800ms as requested in NB#63700. I have a bad feeling about this, let's
8498 see... Fixes NB#63700.
8500 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
8502 * src/hildon-time-picker.c (hildon_time_picker_class_init,
8503 hildon_time_picker_map, hildon_time_picker_realize,
8504 hildon_time_picker_style_set): Split the contents of map to more
8505 appropriate functions; set window decorations on realize and update
8506 arrows' size requisitions on style-set. Avoids unnecessary resizing.
8508 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
8513 * debian/changelog: Updating.
8515 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
8517 * src/Makefile.am: fixed installation of the header files
8519 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8525 * debian/changelog: Updating.
8527 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8529 * configure.ac: Removing some remaining of --enable-xan.
8531 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
8533 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
8534 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
8536 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
8537 2.10.12-osso6 because the move-focus signal needs to be available in
8540 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8542 * examples/Makefile.am:
8543 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
8544 that makes a HildonVolumebar insensitive before mapping it. Seems to work
8545 fine. Prolly NB#61128 is fixed now.
8547 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8549 * src/hildon-volumebar.c:
8550 * src/hildon-volumebar.h: Adding the
8551 hildon_volumebar_set_range_insensitive_message and
8552 hildon_volumebar_set_range_insensitive_messagef functions to set
8553 insensitive message on the slider of the volumebar. Fixes NB#61129.
8555 * examples/Makefile.am:
8556 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
8557 test the new insensitive messsage functionality on HildonVolumebar.
8559 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
8561 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
8564 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
8566 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
8567 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
8568 button on after clearing the trail.
8570 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8572 * src/hildon-code-dialog.c: Removing the separator from the dialog.
8574 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8576 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
8577 by splitting the installed headers in generated and non-generated groups. Use
8578 only the non-generated headers to create the hildon-enum-types.h file.
8580 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
8582 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8584 * src/hildon-window.c: Hide the window before performing the destroy.
8585 Should make the app closing a little tiny bit more snappy.
8587 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8589 * src/hildon-seekbar.c: add gtkrange.h header
8590 * src/hildon-caption.c: remove unused variable
8592 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
8594 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
8597 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8603 * debian/changelog: Updating.
8605 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
8607 * src/hildon-window.c (hildon_window_window_state_event,
8608 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
8609 escape timeout on focus-out-event rather than notify::is-topmost; the
8610 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
8612 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8614 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
8615 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
8617 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8619 * src/hildon-window: actually, you need to use the macro always, there's
8620 no private pointer in the instance structure. We should have cleaned this up
8621 when we had the chance...
8623 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8625 * src/hildon-window.c: do not get the private date from HildonWindow before
8626 it passes the g_return_if_fail check. Once it's passed the test, there's no
8627 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
8628 if you are only going to access the data once. Whitespace cleanups.
8630 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
8632 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8633 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8635 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8641 * debian/changelog: Updating.
8643 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8645 * src/hildon-window.c: When destroying the window, remove (if exists) the
8646 escape timeout handler. Fixes #NB59276.
8648 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8650 * src/hildon-banner.c: When realizing the widget, set the window
8651 transiency. Setting the transiency in the gobject constructor is not
8652 good, as the widget is not realized at that point. Fixes: #NB56624.
8654 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8656 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
8657 Add padding for future expansions.
8659 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8661 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
8662 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
8663 will fake an activation on the previous to the last item of the trail, so
8664 the effect can be overrided by the developer as usual.
8665 Also change the callback for the back button to do the same thing, so its
8666 effect can be overrided too. Fixes: NB#58982
8668 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8670 * src/hildon-caption.c: Implementing the proper focus grabbing in the
8671 HildonCaption. Fixes NB#52379.
8673 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8675 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
8676 the internal state of the trail after the user has had the chance of executing
8677 his handler for the signal. Specifically, it may happen that the activated button
8678 is removed and the user still lets the default handler run. This would segfault
8681 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8683 * src/hildon-font-selection-dialog.c: When the font is really big, add the
8684 scrollbar to the preview dialog. Fixes NB#54147.
8686 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8688 * src/hildon-date-editor.c: Changing the default max year to 2037. The
8689 max/min year properties can be altered, so the client can modify it
8690 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
8692 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8694 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
8695 hildonlike by default. Fixing a problem with disappearing arrows when
8696 scrolling through months and years. Fixes NB#54127.
8698 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8700 * examples/hildon-date-editor-example.c: Adding error callback to the date
8703 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8709 * configure.ac: Updating.
8711 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8713 * configure.ac: Adding a special '--enable-xan' configure option that
8714 turns off the -Werror compilation setting. Usefull for development.
8716 * src/hildon-calendar.c:
8717 * src/hildon-number-editor.c:
8718 * src/hildon-time-picker.c: Adding the 5* multiplier to
8721 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
8723 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
8724 instead of g_object_ref + gtk_object_sink.
8726 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8732 * debian/changelog: Updating.
8734 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8736 * src/hildon-color-chooser-dialog.c:
8737 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
8738 straight from Tommi labs.
8740 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8742 * examples/hildon-finger-example.c: Correcting the header file path.
8744 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
8745 the changed signal. Fixes a small memory leak.
8747 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8751 * src/hildon-banner.c: Importing several usefull fixes from the
8752 ubuntu-mobile branch.
8754 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8756 * examples/Makefile.am:
8757 * examples/hildon-finger-example.c: Adding a finger-checking code
8760 * src/hildon-font-selection-dialog.c: Do not allocate the color
8761 structure using the g_new. Fixes NB#54061.
8763 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8765 * src/hildon-helper.c: Correcting tabs in file.
8767 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
8769 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
8770 control the visibility of the children.
8772 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
8774 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8780 * debian/changelog: Updating.
8782 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8784 * src/hildon-bread-crumb-trail.c:
8785 (hildon_bread_crumb_trail_size_allocate):
8787 Make the back button always a square.
8789 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8791 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
8792 from the .c file as it's a private file.
8794 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8796 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
8797 uses slightly bigger height.
8799 * src/hildon-font-selection-dialog.c: Adding some checks before
8800 freeing memory in the font selection dialog.
8802 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8804 * src/hildon-font-selection-dialog.c: Adding a small check when
8807 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
8808 buttons sensitivity on page switching.
8810 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
8812 * src/hildon-bread-crumb-trail.c: make the add method handle all the
8813 internal details of adding a bread crumb to the trail.
8815 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8821 * debian/changelog: Updating.
8823 * src/hildon-bread-crumb-trail.h:
8824 * src/hildon-bread-crumb.h: Changing the API guard to
8825 HILDON_ENABLE_UNSTABLE_API.
8827 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8835 * src/hildon-helper.h: Updating.
8837 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8845 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8849 * src/hildon-helper.h: Small fix to make the package actually compile.
8851 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8853 * src/hildon-bread-crumb-trail.h:
8854 * src/hildon-bread-crumb.h:
8856 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
8857 to define ENABLE_UNSTABLE_API in the code that includes these headers.
8859 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8861 * examples/hildon-bread-crumb-trail-example.c:
8863 * src/hildon-bread-crumb-trail.c:
8864 * src/hildon-bread-crumb-trail.h:
8865 * src/hildon-bread-crumb.c:
8866 * src/hildon-bread-crumb.h:
8867 * src/hildon-marshalers.list:
8868 * src/hildon-bread-crumb-widget.c:
8869 * src/hildon-bread-crumb-widget.h:
8871 Slight change in the widget design. The bread crumb trail API is
8872 unchanged, but HildonBreadCrumb is now an interface. A *private*
8873 implementation, hildon-bread-crumb-widget, is provided and used
8874 internally by the trail for the push_text/push_icon functions.
8876 The generic push API is still available, so anyone can implement
8877 and use its own bread crumb widget.
8879 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8881 * debian/rules: Fixing the shlibs.
8883 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8885 * src/hildon-banner.c: Fixing a problem with timed banners having
8886 their parrent destroyed before they are.
8888 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
8890 * src/hildon-bread-crumb.c:
8891 * src/hildon-bread-crumb.h:
8893 Make the get_natural_size function a vfunc.
8895 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8897 * src/hildon-bread-crumb.c:
8898 * src/hildon-bread-crumb-trail.c:
8902 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8909 * debian/changelog: Updating for release.
8911 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8913 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
8914 don't leak the pango layout.
8916 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8919 * examples/hildon-bread-crumb-trail-example.c:
8923 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8925 * debian/changelog: Removing the bug-fixed entries that were actually
8926 resolved as WONTFIX.
8928 * src/hildon-date-editor.c: Removing a redundant check. Fixes
8931 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8933 * src/hildon-bread-crumb-trail.c:
8934 * src/hildon-bread-crumb-trail.h:
8935 * src/hildon-bread-crumb.c:
8936 * src/hildon-bread-crumb.h:
8940 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8942 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
8943 until it's passed the type check.
8945 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8947 * examples/hildon-bread-crumb-trail-example.c
8951 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8953 * examples/Makefile.am
8954 * examples/hildon-bread-crumb-trail-example.c
8956 * src/hildon-bread-crumb-trail.c
8957 * src/hildon-bread-crumb-trail.h
8958 * src/hildon-bread-crumb.c
8959 * src/hildon-bread-crumb.h
8961 New HildonBreadCrumbTrail widget.
8963 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
8965 * src/hildon-range-editor.c (hildon_range_editor_init),
8966 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
8967 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
8968 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
8969 hildon_time_editor_class_init, hildon_time_editor_init),
8970 src/hildon-get-password-dialog.c (invalid_input,
8971 hildon_get_password_set_property, hildon_get_password_get_property,
8972 create_contents, hildon_get_password_dialog_set_max_characters),
8973 src/hildon-set-password-dialog.c (create_contents),
8974 src/hildon-date-editor.c (hildon_date_editor_init),
8975 src/hildon-login-dialog.c (hildon_login_dialog_init),
8976 src/hildon-number-editor.c (hildon_number_editor_init),
8977 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
8978 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
8979 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
8980 configure option and adding the respective checks in the code.
8981 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
8982 hildon_calendar_drag_data_received): fixed some build warnings.
8984 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8986 * debian/changelog: A 1.0.0 release notes.