1 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
3 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
4 instead of hardcoded colon.
6 Fixes: NB#124090 (New calendar wizard title is not using
7 ecdg_ti_caption_separator)
9 2009-06-22 David King <davidk@openismus.com>
11 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
12 constants and functions, as well as correct many typos throughout the
15 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
18 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
20 * configure.ac: postrelease version bump.
21 * debian/changelog: post release version bump
23 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
28 * configure.ac: Bump version.
29 * debian/changelog: Updates.
31 2009-06-18 Alberto Garcia <agarcia@igalia.com>
33 * hildon/hildon-window-stack.c
34 (hildon_window_stack_pop_and_push_list):
35 Prevent windows from having the same stack index
37 2009-06-18 Alberto Garcia <agarcia@igalia.com>
39 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
40 Use the index of the previous window rather than the stack length
41 to calculate the new index.
45 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
47 * hildon/hildon-date-selector.c
48 (hildon_date_selector_select_current_date)
49 (hildon_date_selector_get_date)
50 (hildon_date_selector_select_day):
51 Update the documentation: uses always the range (1-31), as it is obvious
52 that the final one will depend on the month and the year, but globally
53 the range is this, in a similar GtkCalendar approach
54 (hildon_date_selector_get_date):
55 Update the documentation: add NULL as a valid value for the day, month
58 Fix some details, after talk with David King on bug MB#4698
60 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
62 * hildon/hildon-touch-selector-entry.c
63 * hildon/hildon-touch-selector.c
64 Update the documentation of the "text-column" property
66 2009-06-18 David King <davidk@openismus.com>
68 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
69 several typos and errors throughout the documentation.
71 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
74 2009-06-18 Alberto Garcia <agarcia@igalia.com>
76 * hildon/hildon-note.c (hildon_note_realize):
77 Make HildonNote support portrait mode.
79 Fixes: NB#123448 (HildonNote is not portrait-friendly)
81 2009-06-17 Alberto Garcia <agarcia@igalia.com>
83 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
84 Document this function
86 2009-06-17 David King <davidk@openismus.com>
88 * hildon/hildon-date-selector.c
89 (hildon_date_selector_select_current_date)
90 (hildon_date_selector_get_date): Update documentation regarding days,
91 as the day of the month is dependent on both the month and the year.
92 (hildon_date_selector_get_date): Fix documentation of output arguments.
94 Fixes: MB#4698 (DateSelector documentation has bad output argument
95 description, and the day depends on both the month and the year)
97 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
99 * hildon/hildon-caption.c: Other documentation fixes to
102 2009-06-17 David King <davidk@openismus.com>
104 * hildon/hildon-caption.c: Minor documentation updates for
105 HildonCaption. Fixes MB#4697.
107 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
109 * doc/hildon-docs.sgml: Add hildon-version section.
110 * doc/hildon-sections.txt:
111 * hildon/hildon-version.h.in: Document versioning macros and
114 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
116 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
117 from HildonPickerDialog section.
119 2009-06-16 Alberto Garcia <agarcia@igalia.com>
121 * hildon/hildon-banner.c (hildon_banner_bind_style)
122 (screen_size_changed, hildon_banner_init)
123 (hildon_banner_real_show_information)
124 (hildon_banner_show_information_with_markup)
125 (hildon_banner_show_animation, hildon_banner_show_progress):
126 Set a different widget name to banners in portrait mode, for them
127 to be themed correctly.
129 2009-06-16 Alberto Garcia <agarcia@igalia.com>
131 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
132 Set a different widget name to notes in portrait mode, for them to
135 Partially fixes: NB#118401 (HildonNote causes unnecessary
138 2009-06-16 Alberto Garcia <agarcia@igalia.com>
140 * hildon/hildon-note.c (hildon_note_class_init)
141 (+hildon_note_size_request, screen_size_changed):
142 Always request the full width of the screen.
144 Fixes: NB#118375 (unnecessary rescaling of images)
146 2009-06-16 Alejandro G. Castro <alex@igalia.com>
148 * hildon/hildon-pannable-area.c,
149 (hildon_pannable_area_init),
150 (hildon_pannable_area_realize): Replaced old code adding flags in
151 the object init, now we add it with the other flags in the realize
154 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
156 * hildon/hildon-note.c: (hildon_note_class_init): Several
157 documentation improvements to the HildonNote widget.
159 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
161 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
163 Fixes: MB#4556 (HildonNoteType is undocumented)
165 2009-06-15 Alberto Garcia <agarcia@igalia.com>
167 * hildon/hildon-picker-button.c:
168 Explain how HildonPickerButton sets the title of its dialog
170 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
171 the title of its dialog)
173 2009-06-15 Alberto Garcia <agarcia@igalia.com>
175 * hildon/hildon-check-button.c:
176 Documentation updates
178 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
181 2009-06-15 Alberto Garcia <agarcia@igalia.com>
184 * hildon/hildon-edit-toolbar-private.h
185 * hildon/hildon-edit-toolbar.c
186 (+hildon_edit_toolbar_set_progress_indicator)
187 (hildon_edit_toolbar_init): Add progress indicator to the
190 * hildon/hildon-gtk.c
191 (hildon_gtk_window_set_progress_indicator):
192 If the window contains a HildonEditToolbar, enable the progress
195 * hildon/hildon-private.h
196 * hildon/hildon-private.c
197 (+hildon_private_create_animation)
198 * hildon/hildon-banner.c
199 (-hildon_banner_create_animation):
200 Moved to hildon-private.c
202 Fixes: NB#102373 (Progress indicator also for the Edit mode
205 2009-06-15 Alberto Garcia <agarcia@igalia.com>
207 * hildon/hildon-app-menu-private.h
208 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
209 (hildon_app_menu_add_filter, +menu_item_button_event)
210 (hildon_app_menu_button_release, hildon_app_menu_init):
211 Make sure that buttons receive 'button-release-event' in spite of
212 the grab held by HildonAppMenu
214 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
216 2009-06-15 Alberto Garcia <agarcia@igalia.com>
218 * hildon/hildon-app-menu.c
219 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
220 New style property to set the size of the group of filter buttons.
222 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
224 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
229 * configure.ac: Bump version.
230 * debian/changelog: Updates.
232 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
234 * hildon/hildon-main.c: Minor documentation fixes.
236 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
238 * doc/hildon-sections.txt:
239 * hildon/hildon-defines.h: Document the defines, organize them,
240 and mark deprecations as such.
242 Fixes: MB#4463 (Hildon size #defines are undocumented)
244 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
246 * hildon/hildon-animation-actor.c:
247 * hildon/hildon-app-menu.c:
248 * hildon/hildon-button.c:
249 * hildon/hildon-date-editor.c:
250 * hildon/hildon-dialog.c:
251 * hildon/hildon-edit-toolbar.c:
252 * hildon/hildon-entry.c:
253 * hildon/hildon-program.c:
254 * hildon/hildon-remote-texture.c:
255 * hildon/hildon-stackable-window.c:
256 * hildon/hildon-text-view.c:
257 * hildon/hildon-touch-selector.c:
258 * hildon/hildon-window-stack.c:
259 * hildon/hildon-window.c:
261 Remove redundant "represents" wording from most of the documentation.
263 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
265 2009-06-12 Alberto Garcia <agarcia@igalia.com>
270 * hildon/hildon-banner-private.h
271 * hildon/hildon-banner.c:
272 Move HildonBannerPrivate to hildon-banner.c and remove
273 hildon-banner-private.h
274 Use a bit field to store private booleans.
276 2009-06-12 Alberto Garcia <agarcia@igalia.com>
278 * hildon/hildon-app-menu.c (hildon_app_menu_map):
279 Don't install a new idle function if there's already one
284 2009-06-11 Alberto Garcia <agarcia@igalia.com>
286 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
287 (+legacy_menu_realized, +legacy_menu_unmapped)
288 (+set_legacy_menu_type):
289 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
290 they can be identified by the window manager.
292 Fixes: NB#101437 (Invoking CSM on the left side of page area is
293 displayed in wrong location)
295 Fixes: MB#4563 (Popup menu won't locate at the left side of the
298 2009-06-11 Alberto Garcia <agarcia@igalia.com>
300 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
302 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
305 2009-06-11 Alberto Garcia <agarcia@igalia.com>
307 * hildon/hildon-code-dialog.c
308 * hildon/hildon-date-editor.c
309 * hildon/hildon-number-editor.c
310 * hildon/hildon-seekbar.c
311 * hildon/hildon-stackable-window.c
312 * hildon/hildon-window.c:
313 Misc documentation updates
315 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
317 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
318 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
320 Fixes: NB#117931 (Theming issues in accounts dialogs)
322 2009-06-09 Alejandro G. Castro <alex@igalia.com>
324 * hildon/hildon-pannable-area.c,
325 (hildon_pannable_area_button_release_cb): Changed the coordinates
326 of the original release in case we want to discard the release,
327 some widgets in Fremantle do not handle the leave-notify.
329 2009-06-09 Alejandro G. Castro <alex@igalia.com>
331 * hildon/hildon-pannable-area.c,
332 (hildon_pannable_area_button_release_cb): Reviewed the logic of
333 the release using the last refactored functions and avoiding the
334 movement if an element was selected.
336 2009-06-09 Alejandro G. Castro <alex@igalia.com>
338 * hildon/hildon-pannable-area.c,
339 (hildon_pannable_area_check_move),
340 (hildon_pannable_area_handle_move),
341 (hildon_pannable_area_motion_notify_cb): Refactored the
342 motion_notify method using a couple of new functions.
344 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
346 * hildon/hildon-date-selector.c:
347 (hildon_date_selector_construct_ui):
348 * hildon/hildon-time-selector.c:
349 (hildon_time_selector_constructor):
350 * hildon/hildon-touch-selector-entry.c:
351 (hildon_touch_selector_entry_set_text_column),
352 (hildon_touch_selector_entry_get_text_column):
353 * hildon/hildon-touch-selector.c: (_default_print_func),
354 (hildon_touch_selector_new_text): Use
355 hildon_touch_selector_set/get_text_column() instead of
356 setting/getting the "text-column" property.
358 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
360 * doc/hildon-sections.txt: Add the new public methods below.
362 * examples/hildon-picker-button-multicolumn-example.c:
363 (create_touch_selector):
364 * examples/hildon-touch-selector-example.c: (create_selector):
365 * examples/hildon-touch-selector-multi-cells-example.c:
367 Use hildon_touch_selector_column_set_text_column()
369 * hildon/hildon-touch-selector-column.h:
370 * hildon/hildon-touch-selector.c:
371 (hildon_touch_selector_column_set_text_column),
372 (hildon_touch_selector_column_get_text_column):
373 Make hildon_touch_selector_column_set/get_column() public, use
374 them in the inline example, document them, and reference to them
377 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
379 * hildon/hildon-time-selector.c: Fix the docs for
380 hildon_time_selector_new_step().
382 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
384 * hildon/hildon-touch-selector.c: Improve the documentation for
385 hildon_touch_selector_append_column().
387 Fixes MB#4641 (Documentation:
388 hildon_touch_selector_append_column() ref-counting)
390 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
392 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
393 Comment out test 5, since the hildon_controlbar_set_range() range
394 check is broken and fixing it would have side effects. Also,
395 this finally fixes make distcheck.
397 Fixes: NB#101420 (Update unit tests and fix make distcheck)
399 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
401 * tests/TEST-CASES.txt: Remove other bogus test.
402 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
403 Remove bogus test that was setting/retrieving a valid value.
405 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
407 * tests/TEST-CASES.txt: Remove bogus tests.
408 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
409 Remove three bogus tests that were actually setting valid colors.
411 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
413 * configure.ac: post release version bump
414 * debian/changelog: post release version bump
416 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
421 * configure.ac: Bump version.
422 * debian/changelog: Updates.
424 2009-06-08 Christian Dywan <christian@lanedo.com>
428 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
429 Correct errors in hildon_format_file-size_for_display and use
430 translations from the hildon-fm package instead of osso-filemanager.
432 2009-06-08 Alejandro G. Castro <alex@igalia.com>
434 * hildon/hildon-pannable-area.c,
435 (hildon_pannable_area_init): Initialized new values to handle the
437 (hildon_pannable_area_adjust_value_changed): Check if the values
438 changed before even call the redraw function.
439 (hildon_pannable_area_size_allocate),
440 (hildon_pannable_axis_scroll),
441 (hildon_pannable_area_scroll),
442 (hildon_pannable_area_jump_to): Improved the diagonal movement
445 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
448 2009-06-08 Alberto Garcia <agarcia@igalia.com>
450 * examples/hildon-banner-example.c:
451 Several style updates
452 (on_animation_clicked, on_animation_idle)
453 (on_progress_clicked, on_progress_idle):
454 Add additional reference for the cases when the parent window is
457 2009-06-08 Alberto Garcia <agarcia@igalia.com>
459 * doc/hildon-sections.txt
460 * hildon/hildon-pannable-area.c
461 * hildon/hildon-banner.h
462 * hildon/hildon-banner.c: Documentation updates.
464 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
467 2009-06-05 Alejandro G. Castro <alex@igalia.com>
469 * hildon/hildon-calendar-popup.h:
470 * hildon/hildon-caption.h:
471 * hildon/hildon-code-dialog.h:
472 * hildon/hildon-controlbar.h:
473 * hildon/hildon-date-editor.h:
474 * hildon/hildon-dialog.h:
475 * hildon/hildon-get-password-dialog.h:
476 * hildon/hildon-hvolumebar.h:
477 * hildon/hildon-login-dialog.h:
478 * hildon/hildon-note.h:
479 * hildon/hildon-number-editor.h:
480 * hildon/hildon-range-editor.h:
481 * hildon/hildon-seekbar.h:
482 * hildon/hildon-set-password-dialog.h:
483 * hildon/hildon-sort-dialog.h:
484 * hildon/hildon-time-editor.h:
485 * hildon/hildon-time-picker.h:
486 * hildon/hildon-volumebar-range.h:
487 * hildon/hildon-volumebar.h:
488 * hildon/hildon-vvolumebar.h:
489 * hildon/hildon-weekday-picker.h:
490 * hildon/hildon-window.h:
491 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
492 macros with the current replacements
494 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
496 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
498 * hildon/hildon-color-button.c (hildon_color_button_init): Use
499 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
500 itself, to make it fit better with Fremantle style.
502 Fixes: NB#109878 (height and width of focus on color icon is not
503 consistent with other item in the application tool bar)
505 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
507 * hildon/hildon-touch-selector.c:
508 (hildon_touch_selector_optimal_size_request): use the current requisition
509 as the base, in order to include any possible extra widget, like the
510 hildon entry on HildonTouchSelectorEntry
512 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
514 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
516 * configure.ac: post release version bump
517 * debian/changelog: post release version bump
519 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
524 * configure.ac: Bump version.
525 * debian/changelog: Updates.
527 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
529 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
531 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
532 to ensure the banner contents are centered, instead of relying on
533 the expand and fill properties in GtkHBox.
534 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
536 Fixes: NB#108265 (Animation banner not properly centered)
538 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
540 * hildon/hildon-pannable-area.c
541 (hildon_pannable_area_initial_effect): Remove the initial_effect
542 management, check initial_hint
543 (hildon_pannable_are_expose_event): Remove the initial_hint management,
544 set initial_effect to FALSE
545 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
546 by launching the fade_timeout if the scrollbars state has changed and are
548 * examples/hildon-pannable-area-initial-hint-example.c
549 Modified to allow to remove rows too. Add and remove rows one by one.
551 2009-05-28 Alberto Garcia <agarcia@igalia.com>
553 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
554 Don't close the menu if there's an animation actor below it.
556 Fixes: NB#117927 (Application menu not usable with animation
559 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
561 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
562 "focus-on-click" from the dialog button, to avoid stealing the
563 focus from the entry.
565 Fixes: NB#118903 (Account setup wizard: Text in Search field
566 should be focused when "Region" touch list picker is reopened
569 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
571 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
572 (prepare_action_area): Completely hide the dialog separator.
574 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
576 * hildon/hildon-touch-selector-entry.c
577 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
578 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
579 now that the entry is exposed.
581 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
583 * hildon/hildon-touch-selector-entry.c
584 (hildon_touch_selector_entry_init): Change the entry's size
585 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
587 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
589 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
590 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
591 avoid unnecessary scaling.
593 2009-05-27 Alberto Garcia <agarcia@igalia.com>
595 * hildon/hildon-app-menu.c (hildon_app_menu_map):
596 Create grab transfer window before calling parent's map function.
598 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
599 "crushed" button(s) in the top left corner)
601 2009-05-26 Alberto Garcia <agarcia@igalia.com>
603 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
604 Check if the window is already realized when pushing it.
606 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
608 * configure.ac: post release version bump
609 * debian/changelog: post release version bump
611 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
616 * configure.ac: Bump version.
617 * debian/changelog: Updates.
619 2009-05-25 Alberto Garcia <agarcia@igalia.com>
621 * hildon/hildon-app-menu.c: Doc updates.
623 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
625 * hildon/hildon-banner.c: Remove leftover macro.
627 2009-05-25 Alejandro G. Castro <alex@igalia.com>
629 * hildon/hildon-pannable-area.c,
630 (hildon_pannable_area_scroll_indicator_fade),
631 (hildon_pannable_area_button_release_cb): Reviewed vmin
632 conditions, it could cause problems in the fadeout procedure.
634 2009-05-25 Alejandro G. Castro <alex@igalia.com>
636 * hildon/hildon-pannable-area.c
637 (hildon_pannable_area_button_release_cb): Added a threshold to
638 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
640 2009-05-25 Alejandro G. Castro <alex@igalia.com>
642 * hildon/hildon-pannable-area.c,
643 (hildon_pannable_area_set_property): Added code to sync the gtk
644 dnd threshold with the panning threshold.
646 2009-05-25 Alejandro G. Castro <alex@igalia.com>
648 * hildon/hildon-pannable-area.c,
649 (hildon_pannable_area_class_init): Changed some of the default
650 values, now it should be less responsive and more accurate.
652 2009-05-25 Alejandro G. Castro <alex@igalia.com>
654 * hildon/hildon-pannable-area.c,
655 (hildon_pannable_area_init),
656 (hildon_pannable_area_scroll_indicator_fade),
657 (hildon_pannable_area_button_press_cb),
658 (hildon_pannable_axis_scroll),
659 (hildon_pannable_area_timeout),
660 (hildon_pannable_area_motion_notify_cb),
661 (hildon_pannable_area_button_release_cb): Changed the name of the
662 clicked attribute to button_pressed, it is more clear about its use.
664 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
666 * src/hildon-pannable-area.c
667 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
669 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
670 vertical scrollbar visibility, and use the data on private section instead,
671 remove the initial_hint check
672 (hildon_pannable_area_expose_event): add the initial_hint check here
674 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
676 * src/hildon-pannable-area.c
677 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
678 if the fadeout effect was used
679 (hildon_pannable_area_expose_event): check if it is required to
680 manage the initial effect on the begining of the function. Previously
681 it was made at the end, but this doesn't ensure that the scrollbars
682 will be painted on the first show. Do not set to FALSE initial_effect,
683 to ensure that the initial hint is showed the first time the pannable
685 * examples/Makefile.am
686 * examples/hildon-pannable-area-initial-hint-example.c:
687 New example, to show that the initial-hint is showed when the widget
690 Fixes: NB#116607 (Pannable area should always have scrollbar visible
691 initially if the application can be scrolled)
693 2009-05-25 Alberto Garcia <agarcia@igalia.com>
695 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
696 Resize table before adding new items to make sure that
697 gtk_table_resize() is called just once.
699 2009-05-25 Alberto Garcia <agarcia@igalia.com>
701 * hildon/hildon-app-menu-private.h
702 * hildon/hildon-app-menu.c (item_visibility_changed)
703 (filter_visibility_changed, hildon_app_menu_show_all)
704 (hildon_app_menu_hide_all, hildon_app_menu_init):
705 Rearrange items just once when gtk_widget_show_all()/hide_all()
708 2009-05-25 Alberto Garcia <agarcia@igalia.com>
710 * hildon/hildon-app-menu.c
711 (hildon_app_menu_insert, hildon_app_menu_add_filter):
712 Don't call gtk_widget_show() on added items.
714 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
715 automatically when they're added)
717 2009-05-20 Alberto Garcia <agarcia@igalia.com>
719 * hildon/hildon-banner.c
720 (hildon_banner_realize, +hildon_banner_unrealize)
721 (+screen_size_changed, hildon_banner_class_init):
722 Redisplay the banner if the screen is rotated.
724 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
725 on transition from landscape to portrait)
727 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
729 * hildon/hildon-banner.[ch]:
730 (hildon_banner_show_information_override_dnd): remove icon_name from the
731 method definition as it is ignored.
732 * examples/hildon-banner-dnd-example.c: updated with the change on
735 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
737 * hildon/hildon-banner-private.h: new require_override_dnd and
738 overrides_dnd variables
739 * hildon/hildon-banner.h:
740 (hildon_banner_show_information_override_dnd): new method, that shows
741 the information but sets the override flag, in order to show important
743 * hildon/hildon-banner.c
744 (hildon_banner_show_information_override_dnd): new method
745 (hildon_banner_set_override_flag): new utility function
746 (hildon_banner_real_show_information): new utility function, in order to
747 generalize the current hildon_banner_show_information_override_dnd and
748 hildon_banner_show_information_override_dnd
749 * examples/Makefile.am
750 * examples/hildon-banner-dnd-example.c: New example that show how to
751 use the new hildon_banner_show_information_override_dnd
753 Fixes: NB#114874 (There is no possibility to show hildon banners with
756 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
758 * hildon/hildon-pannable-area.c: Add a comment explaining the math
759 behind hildon_pannable_calculate_vel_factor().
761 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
763 * hildon/hildon-pannable-area.c
764 (hildon_pannable_calculate_vel_factor): Correct the sum of the
765 deceleration factors.
767 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
769 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
770 Reduce the default value for 'scroll_time' to 1 second, since the
771 current initial scrolling takes too much time.
773 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
775 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
776 calculate velocity factor during initialization, since the properties
779 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
781 * hildon/hildon-pannable-area.c
782 (hildon_pannable_area_set_property): Calculate the velocity factor
783 after setting the deceleration property and not after.
785 2009-05-20 Alberto Garcia <agarcia@igalia.com>
787 * hildon/hildon-entry.c
788 (hildon_entry_class_init, +set_property, hildon_entry_new)
789 * hildon/hildon-check-button.c
790 (hildon_check_button_class_init)
791 (+set_property, hildon_check_button_new):
792 Make the theme size a property.
794 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
795 others) do too much in the _new function)
797 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
799 * configure.ac: post release version bump
800 * debian/changelog: post release version bump
802 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
807 * configure.ac: Bump version.
808 * debian/changelog: Updates.
810 2009-05-15 Alberto Garcia <agarcia@igalia.com>
812 * hildon/hildon-gtk.h
813 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
814 New API function to take a screenshot of a window
816 Fixes: NB#106374 (Need API to take a loading screenshot)
818 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
820 * hildon/hildon-time-selector.c
821 (update_format_policy): prevent to use hours and minutes unitialized
823 2009-05-15 Alberto Garcia <agarcia@igalia.com>
825 * hildon/hildon-window.c (hildon_window_size_request):
826 Always request the full size of the screen (minus the title bar if
827 not in fullscreen mode).
829 Fixes: NB#107486 (HildonWindow should size itself properly)
831 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
833 * hildon/hildon-note-private.h: Add idle_handler to the private data.
834 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
835 (on_show_cb), (sound_handling): Disconnect the idle handler for
836 the sound when the note is finalized to avoid possible crashes.
838 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
841 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
843 * src/hildon-animation-actor.c,
844 * src/hildon-remote-texture.c:
845 Added proper object cleanup to remove signal handler and object
846 references as HildonAnimationActor and HildonRemoteTexture
847 objects get destroyed.
849 Fixes: NB#116682 (Destroying parented animation actors when
850 parent in unmapped leads to crash)
852 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
854 Based on a patch by Christian Dywan (christian@imendio.com)
856 * doc/hildon-sections.txt:
857 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
858 * hildon/hildon-helper.h: New file size formatting method.
860 * debian/control: Depend on osso-filemanager l10n package for
861 proper localization strings.
863 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
865 * tests/Makefile.am: Include top_srcdir to make possible to build
866 tests in a different builddir.
867 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
868 on a different builddir.
870 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
872 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
873 (hildon_touch_selector_remove): Disconnect model's signal handler
876 Fixes: NB#116289 (Hildon home crashes while adding task
879 2009-05-11 Alberto Garcia <agarcia@igalia.com>
881 * hildon/hildon-button.c
882 (hildon_button_set_title, hildon_button_set_value):
883 Hide labels containing an empty string.
885 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
887 * configure.ac: post release version bump
888 * debian/changelog: post release version bump
890 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
895 * configure.ac: Bump version.
896 * debian/changelog: Updates.
898 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
900 * hildon/hildon-note-private.h: Removed sound_signal_handler
901 * hildon/hildon-note.c
902 (on_show_cb): new callback on note "show" event, this simply adds
903 a idle, with the function sound_handling
904 (sound_handling): removed the sound_signal_handler management
905 (hildon_note_init): connect note "show" event to on_show_cb
906 (hildon_note_realize): remove the connection to "expose-event"
908 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
909 device?' confirmation note)
911 2009-05-08 Alberto Garcia <agarcia@igalia.com>
913 * hildon/hildon-note.c
914 (hildon_note_new_information_with_icon_name)
915 (hildon_note_new_confirmation_with_icon_name):
916 Terminate the list of parameters in g_object_set() calls
918 Fixes: NB#115166 (Formatting memory card is not taking place)
920 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
922 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
923 "dialog-information" role for the sound being played.
925 2009-05-06 Alberto Garcia <agarcia@igalia.com>
927 * hildon/hildon-app-menu.c (hildon_app_menu_init):
928 Don't make the menu a modal window, it causes strange interactions
929 with the pointer grab and it's not really needed.
931 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
933 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
935 * hildon/hildon-touch-selector.[ch]
936 (hildon_touch_selector_optimal_size_request): function added to get a
937 optimal size request from the touch selector, when you want a dialog to
938 show as much of the selector
939 * hildon/hildon-picker-dialog.c:
940 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
941 (hildon_app_menu_class_init):
942 New "max-height-landscape" and "max-height-portrait" style properties
943 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
944 (hildon_picker_dialog_get_max_height): returns the maximum height using
945 the style properties defined and checking the current portrait/landscape
947 (_hildon_picker_dialog_set_selector): removed the set_size_request
949 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
951 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
953 * hildon/hildon-bread-crumb-trail.c:
954 * hildon/hildon-bread-crumb.c:
955 * hildon/hildon-seekbar.c:
956 Add reference to replacements for these deprecated widgets.
958 Fixes: MB#4461 (Documentation: All deprecations should mention
961 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
963 * examples/hildon-remote-texture-example.c
965 Change the include to the hildon-remote-texture in order to compile
966 properly the examples on the installed libhildon1-examples package
968 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
970 * tests/Makefile.am: Add check for HildonPickerButton.
971 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
972 (START_TEST), (create_hildon_picker_button_suite): Add three simple
973 checks for the HildonPickerButton.
974 * tests/check_test.c (configure_tests): Add the test suite.
975 * tests/test_suites.h: likewise.
977 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
979 * hildon/hildon-touch-selector.c
980 (+on_row_changed): Emit HildonTouchSelector:changed when the
981 contents of a selected row change.
982 (_create_new_column), (_hildon_touch_selector_set_model): connect
983 to GtkTreeModel:row-changed on a newly set model.
985 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
987 2009-05-05 Alberto Garcia <agarcia@igalia.com>
989 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
991 * hildon/hildon-banner.c (hildon_banner_destroy)
992 (hildon_banner_show_progress, hildon_banner_set_fraction):
993 Remove the progress bar from HildonBanner and use a progress
996 Fixes: NB#113761 (Update progress banner to use progress
999 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1001 * hildon/hildon-banner.c:
1002 Calculate size of the banner label using the actual screen width
1003 rather than using a fixed value.
1005 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1008 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1010 * hildon/hildon-pannable-area.c,
1011 (hildon_pannable_area_class_init): Fixed signals documentation
1014 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1016 * configure.ac: post release version bump
1017 * debian/changelog: post release version bump
1019 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1024 * configure.ac: Bump version.
1025 * debian/changelog: Updates.
1027 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1029 * hildon/hildon-edit-toolbar.c
1030 (hildon_edit_toolbar_init):
1031 Don't let buttons in HildonEditToolbar receive focus.
1033 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1034 typing on an HW arrows key)
1036 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1038 * doc/Makefile.am: Fix build.
1040 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1042 * doc/Makefile.am: Do not redefine content_files.
1044 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1052 Renamed src/ to hildon/
1057 Include <hildon/hildon.h> directly in all examples.
1059 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1061 * src/hildon-sort-dialog.c
1062 (hildon_sort_dialog_add_sort_key_with_sorting)
1066 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1068 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1069 make distcheck passes.
1071 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1073 * Makefile.am: Enable gtk-doc during distcheck.
1075 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1077 * Makefile.am: Do not distribute the debian/ directory.
1079 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1081 * doc/Makefile.am: Add the extra SGML files to content_files,
1082 so that they are distributed properly.
1084 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1086 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1089 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1091 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1092 (hildon_note_new_information_with_icon_name): Set the "icon" property
1093 to preserve soundness.
1095 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1097 * src/hildon-font-selection-dialog.c
1098 (hildon_font_selection_dialog_set_property): Fail when the "family"
1099 property is set to NULL.
1101 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1103 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1106 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1108 * src/hildon-time-selector.h:
1109 Added HildonTimeSelectorFormatPolicy
1110 * src/hildon-time-selector.c:
1111 Added PROP_TIME_FORMAT_POLICY
1112 (_check_ampm_format): renamed to check_automatic_ampm_format
1113 (update_format_policy), (update_format_dependant_columns): new functions
1114 (hildon_time_selector_class_init)
1115 (hildon_time_selector_contructor)
1116 (hildon_time_selector_init)
1117 (hildon_time_selector_get_property)
1118 (hildon_time_selector_set_property)
1119 (hildon_time_selector_get_time)
1120 (hildon_time_selector_set_time)
1121 * src/hildon-touch-selector.h: new file
1122 * src/hildon-touch-selector.c
1123 (hildon_touch_selector_emit_changed)
1124 (hildon_touch_selector_block_changed)
1125 (hildon_touch_selector_unblock_changed)
1126 Added functions to allow to block the emission of the "changed" signal
1127 * src/hildon-picker-dialog.c
1128 (hildon_picker_dialog_show): call the parent show before the custom code
1129 * examples/hildon-time-button-example.c
1130 Modified, so now you can configure the time format using the new property
1132 Added a new property "time-format-policy" that allow to choose the time
1133 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1134 case it uses gconf in order to check if the time selector must use
1137 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1140 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1142 * src/hildon-note.c (hildon_note_init):
1143 Label in HildonNote must be left aligned, not centered. This
1144 reverts the last commit in HildonNote.
1146 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1147 is connectivity dialog)
1149 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1154 * doc/hildon-sections.txt:
1155 Added hildon_gtk_window_set_do_not_disturb()
1157 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1159 * src/hildon-note.c (hildon_note_init): Center label.
1161 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1164 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1169 * configure.ac: Bump version.
1170 * debian/changelog: Updates.
1172 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1174 * src/hildon-note-private.h: Add button-width to the private data.
1175 * src/hildon-note.c (+resize_button),
1176 (+hildon_note_orientation_update): methods to repack widgets on orientation
1178 (screen_size_changed): Call above method for confirmation notes.
1179 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1180 (hildon_note_rebuild): Store the original width request from buttons.
1182 Fixes: NB#109635 (Confirmation notes do not support portrait)
1184 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1186 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1187 when it is a progress note.
1189 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1191 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1192 in the note, since there are no horizontally arranged contents.
1194 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1196 * src/hildon-gtk.c (+set_flag): new generic method to
1197 set/delay a flag setting in a window.
1198 (hildon_gtk_window_set_progress_indicator):
1199 (hildon_gtk_window_set_do_not_disturb),
1200 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1201 avoid code redundance.
1203 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1205 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1207 * src/hildon-gtk.c (set_clear_window_flag),
1208 (do_set_progress_indicator), (do_set_do_not_disturb),
1209 (do_set_portrait_flags),
1210 (hildon_gtk_window_set_progress_indicator),
1211 (hildon_gtk_window_set_do_not_disturb),
1212 (hildon_gtk_window_set_portrait_flags):
1213 Allow setting dnd-flag, progress indicator, and portrait flags
1214 when the window is not realized.
1216 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1218 * src/hildon-pannable-area.c,
1219 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1220 the size request policy function and defines.
1222 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1224 * doc/hildon-sections.txt: Add the new API.
1225 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1226 method to set the portrait flags.
1227 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1229 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1231 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1233 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1234 to allow using this method with other flags.
1235 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1236 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1238 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1240 * src/hildon-touch-selector.c
1241 (hildon_touch_selector_append_text_column):
1242 Make the cell renderer use the smallest width possible.
1244 Fixes: NB#108470 (Selected items in multiple selection are either
1245 having a tick that is cut or not visible at all.)
1247 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1249 * src/hildon-touch-selector.c
1250 (hildon_touch_selector_append_text_column):
1253 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1255 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1256 Use g_strdup_printf() instead of a fixed size buffer.
1258 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1260 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1261 Close banners when a HildonAppMenu is popped up.
1263 Fixes: NB#111027 (Title menu closed immediately if activated when
1264 "Invalid e-mail address" banner is shown)
1266 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1271 * configure.ac: Bump version.
1272 * debian/changelog: Updates.
1274 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1276 * src/hildon-banner.c (hildon_banner_realize):
1277 Mark HildonBanner as supporting portrait mode.
1278 Use GDK to set window properties insetad of direct Xlib calls.
1280 Fixes: NB#111830 (HildonBanner should be marked as supporting
1283 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1285 * src/hildon-note.c (hildon_note_rebuild):
1286 Hide action area in information notes. Prevents text from being
1287 slightly aligned to the left.
1289 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1292 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1294 Patch by Mox Soini (ext-mox.soini@nokia.com)
1296 * src/hildon-banner.c (hildon_banner_create_animation):
1297 Use stylus-sized icons in animation banner.
1299 Fixes: NB#111206 (stylus sized icon for animation banner)
1301 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1305 (+hildon_gtk_window_set_do_not_disturb):
1306 New API to set the do-not-disturb flag.
1308 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1310 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1312 * examples/hildon-progress-indicator-example.c: Fix example
1314 * src/hildon-gtk.c (set_clear_window_flag)
1315 (hildon_gtk_window_set_progress_indicator):
1316 Create a generic function for setting flags to a window.
1317 Use GDK instead of direct Xlib calls.
1319 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1321 * src/hildon-button.c (hildon_button_set_arrangement):
1322 Due to NB#88126, if one of the labels is too long it will be
1323 painted outside the button. The 'value' label is more likely to be
1324 the longest one, so we change its packing options in order to
1325 truncate it if necessary. As a side effect, the 'title' label will
1326 no longer be truncated.
1328 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1330 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1335 * configure.ac: Bump version.
1336 * debian/changelog: Updates.
1338 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1340 Deprecation of the hildon_pannable_area_set_size_request_policy
1341 API, the only policy properly supported in gtk+ nowadays is the
1344 * src/hildon-pannable-area.c,
1345 (hildon_pannable_area_size_request): Added a workaround for the
1346 size_request to avoid the problems of huge pixmaps in case someone
1347 is still using the function.
1348 * src/hildon-pannable-area.h: Deprecated the enum with the
1351 Fixes: NB#110244 (Problems with the
1352 hildon_pannable_area_set_size_request_policy API)
1354 2009-04-08 Alejandro G. Castro <alex@igalia.com>
1356 * src/hildon-pannable-area.c,
1357 (hildon_pannable_area_init),
1358 (hildon_pannable_area_size_request),
1359 (hildon_pannable_area_style_set),
1360 (hildon_pannable_draw_vscroll),
1361 (hildon_pannable_draw_hscroll),
1362 (hildon_pannable_area_check_scrollbars): Replaced area_width with
1363 indicator_width to clarify the use of the attribute.
1365 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
1370 * configure.ac: Bump version.
1371 * debian/changelog: Updates.
1373 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
1375 * src/hildon-picker-dialog.c
1376 * src/hildon-touch-selector.c
1377 Reverting the change that tried to avoid the hardcoded height on
1378 the picker dialog, as causes problems on the hildon-touch-selector
1381 Fixes: NB#110029 (selectors not scrolling to selected value)
1383 2009-04-07 Alberto Garcia <agarcia@igalia.com>
1385 * src/hildon-touch-selector.c: Fix typos
1387 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1389 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1390 Use the event coordinates instead of gdk_window_get_pointer(). Also,
1391 request more motions after using it.
1393 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1395 * src/hildon-calendar.c (hildon_calendar_expose),
1396 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1397 Remove unused variables.
1399 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1401 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1402 variable assignment.
1404 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1406 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1407 Check the return value of gtk_tree_selection_get_selected()
1410 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1412 * src/hildon-animation-actor.c
1413 * src/hildon-button.c
1415 * src/hildon-pannable-area.c
1416 * src/hildon-picker-button.c
1417 * src/hildon-program.c
1418 * src/hildon-remote-texture.c
1419 * src/hildon-text-view.c
1420 * src/hildon-touch-selector.c
1421 * src/hildon-window-stack.c
1422 * src/hildon-window.c:
1423 Add missing 'Since: 2.2' tags.
1425 * doc/hildon-sections.txt:
1426 Add some missing symbols.
1428 * doc/hildon-docs.sgml:
1429 New 'Other' section for HildonAnimationActor and
1432 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1434 Patch by Iván Gómez (igomez@igalia.com)
1437 * doc/compiling.sgml
1438 * doc/hildon-docs.sgml
1439 * doc/hildon-sections.txt
1440 * doc/migration.sgml
1441 * doc/resources.sgml
1443 New chapters on using the Hildon library.
1444 Updated the general structure of the reference manual.
1445 Other minor documentation fixes.
1447 * src/hildon-calendar-popup.c
1448 * src/hildon-calendar.c
1449 * src/hildon-controlbar.c
1450 * src/hildon-date-editor.c
1451 * src/hildon-dialog.c
1452 * src/hildon-hvolumebar.c
1453 * src/hildon-number-editor.c
1454 * src/hildon-range-editor.c
1455 * src/hildon-sort-dialog.c
1456 * src/hildon-time-editor.c
1457 * src/hildon-time-picker.c
1458 * src/hildon-volumebar-range.c
1459 * src/hildon-volumebar.c
1460 * src/hildon-vvolumebar.c
1461 * src/hildon-weekday-picker.c:
1462 Add deprecation notes
1464 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1465 Document 'horizontal-movement' and 'vertical-movement' signals.
1467 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
1472 * configure.ac: Bump version.
1473 * debian/changelog: Updates.
1475 2009-04-06 Alejandro G. Castro <alex@igalia.com>
1477 * src/hildon-pannable-area.c,
1478 (hildon_pannable_area_class_init): increased the minimum velocity.
1479 (hildon_pannable_area_button_release_cb): Updated the
1480 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
1481 setup. Review the code to control that last event.
1483 Fixes: NB#109790 (Releasing finger in pannable area easily causes
1486 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
1488 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1490 * src/hildon-get-password-dialog.c
1491 (hildon_get_password_set_property),
1492 (hildon_get_password_get_property), (create_contents):
1493 * src/hildon-login-dialog-private.h:
1494 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
1495 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
1496 (hildon_login_dialog_get_password):
1497 * src/hildon-set-password-dialog-private.h:
1498 * src/hildon-set-password-dialog.c
1499 (hildon_set_password_set_property),
1500 (hildon_set_password_get_property), (create_contents),
1501 (hildon_set_password_response_change),
1502 (hildon_set_password_response_set), (hildon_checkbox_toggled):
1504 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
1505 instead and look more Fremantle style.
1507 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
1509 2009-04-03 Alberto Garcia <agarcia@igalia.com>
1511 * doc/hildon-sections.txt
1512 * src/hildon-window-stack.h
1513 * src/hildon-window-stack.c
1514 (+hildon_window_stack_get_windows):
1515 New API to obtain the list of windows on a stack.
1517 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1519 * src/hildon-app-menu.c (hildon_app_menu_popup)
1520 (hildon_app_menu_class_init, -hildon_app_menu_show):
1521 Remove hildon_app_menu_show() and move all its checks to
1522 hildon_app_menu_popup()
1524 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
1526 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
1527 (_hildon_picker_dialog_set_selector): removed call to
1528 gtk_widget_set_size_request
1529 * src/hildon-touch-selector.c
1530 (_create_new_column): change the pannable size request policy
1532 Avoid to use a hardcoded height for the hildon picker dialog. In order
1533 to get that, we needed to change the hildon pannable size request
1535 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1537 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1539 * src/hildon-window.c (hildon_window_map): Check for vbox to be
1540 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
1543 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1545 * debian/control: Depend on osso-system-lock localization package.
1546 * src/hildon-code-dialog.c: Obtain the secu_application_title
1547 translation from osso-system-lock.
1548 * src/hildon-get-password-dialog.c (create_contents): Do not mark
1549 for translation the atk related strings, that's not necessary.
1550 * src/hildon-set-password-dialog.c (create_contents): Ditto.
1551 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
1552 cancel button, it is not required.
1554 2009-04-02 Alejandro G. Castro <alex@igalia.com>
1556 * src/hildon-pannable-area.c,
1557 (hildon_pannable_area_class_init): Modified the default value of
1558 the overshooting max speed, we have reduced it.
1560 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1562 * doc/hildon-sections.txt
1563 * src/hildon-window-private.h
1564 * src/hildon-window.h
1565 * src/hildon-window.c (hildon_window_class_init)
1566 (hildon_window_init, hildon_window_finalize)
1567 (hildon_window_realize, hildon_window_get_property)
1568 (hildon_window_set_property, hildon_window_update_markup)
1569 (hildon_window_get_markup, hildon_window_set_markup):
1570 New "markup" property and hildon_window_{get,set}_markup() methods.
1572 * examples/hildon-stackable-window-example.c (new_window):
1573 Update example to use hildon_window_set_markup()
1575 Fixes: NB#106375 (Need API to retitle a window with a title
1578 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1580 * src/hildon-pannable-area.c,
1581 (hildon_pannable_area_class_init): Changed the default value of
1582 the initial_hint to TRUE.
1583 (hildon_pannable_area_initial_effect): Changed the initial effect,
1584 not the effect is just the fade-out of the scrollbars.
1586 Fixes: NB#107775 (No scrollbars can be seen when several items are
1587 available in a dialog)
1589 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1591 * src/hildon-program.c (hildon_program_update_top_most):
1594 Fixes: NB#109179 (Memory leak in Hildon program)
1596 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1598 * src/hildon-banner.c (-get_current_app_window):
1599 Remove unused function.
1601 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1603 * src/hildon-pannable-area.c: Modified the documentation of the
1604 get adjustments functions to explain the problem of using the
1605 adjustment directly.
1606 (hildon_pannable_area_class_init): Improved the explanation about
1609 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1611 * src/hildon-app-menu-private.h
1612 * src/hildon-app-menu.c
1613 (hildon_app_menu_class_init):
1614 Bring back the 'external-border' style property
1615 (hildon_app_menu_class_init, hildon_app_menu_init)
1616 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
1617 Set a fixed width-request for the menu, independent of the number
1620 Fixes: NB#94957 (Smoothly opened application menu)
1622 2009-03-30 Alberto Garcia <agarcia@igalia.com>
1624 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
1626 * src/hildon-banner.c
1627 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
1629 Make sure that the banner is correctly placed the first time it's
1631 (hildon_banner_check_position, -check_fullscreen_state):
1632 Show the banner in the same place no matter if the window is in
1633 fullscreen mode or not.
1635 Fixes: NB#107386 (Odd stacking behaviour for information banners)
1637 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1639 * src/hildon-touch-selector.c (_default_print_func): reorder
1640 concatenation for clarity.
1642 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1644 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
1645 for multicolumn selectors.
1647 Fixes: NB#109099 (Memory leak in Hildon touch selector)
1649 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
1654 * configure.ac: Bump version.
1655 * debian/changelog: Updates.
1657 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
1659 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
1662 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1664 * configure.ac: removed libcangerra-gtk dependency
1665 * debian/control: removed libcanberra-gtk dependency
1666 * src/Makefile.am: removed libcanberra gtk related flags
1667 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1668 context, and manage a global canberra context instead
1670 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1672 2009-03-26 Alberto Garcia <agarcia@igalia.com>
1674 Patch by Daniel Borgmann (danielb@openismus.com)
1676 * src/hildon-edit-toolbar.c:
1677 Adjust the left padding.
1678 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
1679 Paint background of the edit toolbar.
1681 Fixes: NB#107897 (Patch to make editmodetoolbar background
1682 themeable and adjust margin)
1684 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1686 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1688 * src/hildon-program.c (hildon_program_update_top_most):
1689 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
1691 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
1692 change when the user tasks in/out of an application)
1694 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1696 * configure.ac: added libcangerra-gtk dependency
1697 * debian/control: added libcanberra-gtk dependency
1698 * src/Makefile.am: added libcanberra gtk related flags
1699 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
1702 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1704 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1706 * src/hildon-program.c (hildon_program_remove_window)
1707 (hildon_program_add_window): Add checks for the window
1708 parameter. Don't decrease the window counter if the window is not
1711 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1713 * src/hildon-pannable-area.c,
1714 (hildon_pannable_area_realize): Fixed position of the event_window
1715 in the realize method.
1717 2009-03-24 Alberto Garcia <agarcia@igalia.com>
1719 * src/hildon-app-menu-private.h
1720 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
1721 (hildon_app_menu_map, hildon_app_menu_hide_idle)
1722 (hildon_app_menu_key_press, hildon_app_menu_init)
1723 (hildon_app_menu_finalize):
1724 Make sure that all idle functions are removed when the widget is
1727 Fixes: NB#107583 (Hildon app menu crashes in various applications)
1729 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1734 * configure.ac: Bump version.
1735 * debian/changelog: Updates.
1737 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1739 * src/hildon-entry.c
1740 (+hildon_entry_show_placeholder),
1741 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
1742 that replace hildon_entry_update_contents().
1743 (hildon_entry_set_text),
1744 (hildon_entry_set_placeholder),
1745 (hildon_entry_focus_in_event),
1746 (hildon_entry_focus_out_event): Determine when it is needed
1747 either to show or hide the placeholder and call the above methods.
1749 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
1750 when the placeholder text is already set)
1752 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1754 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
1755 simple GdkPixbufAnim using the new icons for the banner.
1756 (hildon_banner_show_animation): Use the above mentioned method to
1757 create the animation widget.
1759 Fixes: NB#103564 (Make hildon animation banner use individual
1760 image files as the animation)
1762 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1764 * src/hildon-pannable-area.c,
1765 (hildon_pannable_leave_notify_event): Check if the child is NULL
1766 to avoid sending the leave.
1768 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1770 * src/hildon-pannable-area.c,
1771 (hildon_pannable_area_class_init),
1772 (hildon_pannable_leave_notify_event): Added a handler of the
1773 leave-notify-signal to consider when no motion notify before
1776 Fixes: NB#107494 (Items stay selected when clicking and moving
1777 away when inside pannable area)
1779 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
1784 * configure.ac: Bump version.
1785 * debian/changelog: Updates.
1787 2009-03-19 Alejandro G. Castro <alex@igalia.com>
1789 Patch by Alberto Garcia (agarcia@igalia.com)
1791 * src/hildon-date-button.c,
1792 (hildon_date_button_class_init),
1793 (hildon_date_button_init): Removed the construct property handling
1794 and created a default selector in the init method.
1795 * src/hildon-picker-button.c,
1796 (hildon_picker_button_class_init): Removed the construct flag of the
1799 2009-03-18 Alberto Garcia <agarcia@igalia.com>
1801 * src/hildon-main.c (hildon_init):
1802 Don't allow hildon_init() to be called more than once.
1804 Fixes: NB#106607 (hildon_init should issue error message upon
1807 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
1809 * examples/hildon-pannable-area-touch-list-example.c
1810 * examples/hildon-pannagle-area-touch-grid-example.c
1811 * examples/hildon-edit-toolbar-example.c
1812 * examples/hildon-touch-selector-multi-cells-example.c
1813 Removed the call to gtk_rc_parse_string, as it is not required since
1816 2009-03-17 Alejandro G. Castro <alex@igalia.com>
1818 * src/hildon-pannable-area.c,
1819 (hildon_pannable_area_class_init): Modified the default panning
1820 threshold of the widget to 6px.
1822 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
1823 than the threshold value ) within the button is not sending the
1826 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1828 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
1829 for the treeview in the new column. This way, the touch list will never
1832 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
1833 be selected manually for the HW keys to work)
1835 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1837 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
1838 comparison instead of using strcmp(). Fixes a compiler warning as well.
1840 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1842 * doc/hildon-docs.sgml: Do not set the library version in the
1843 document title, use the releaseinfo tag for that purpose instead.
1845 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1847 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
1848 Do not jump to the first item if the text in the entry is removed.
1850 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1855 * configure.ac: Bump version.
1856 * debian/changelog: Updates.
1858 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1860 * src/hildon-entry.c (hildon_entry_refresh_contents):
1861 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
1862 Use "ReversedSecondaryTextColor" for the placeholder text.
1864 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1866 * src/hildon-text-view.c: Fix compilation warning.
1868 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1870 * src/hildon-button.c (hildon_button_class_init): Don't make
1871 "title" and "value" construction properties, to prevent them from
1872 overwriting labels set from derived classes.
1874 * src/hildon-picker-button.c
1875 (hildon_picker_button_set_selector): Allow setting a NULL selector.
1876 (hildon_picker_button_class_init): Make touch-selector a
1877 construction property.
1879 * src/hildon-date-button.c (hildon_date_button_class_init)
1880 (+hildon_date_button_constructed): Add a default date selector if
1883 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1885 * src/hildon-touch-selector.c: Small documentation fixes.
1887 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1889 Based on a patch by Daniel Borgmann (danielb@openismus.com)
1891 * src/hildon-entry.c (hildon_entry_refresh_contents),
1892 (hildon_entry_get_text), (hildon_entry_init): Do not use the
1893 widget name, set the logical color directly instead and a boolean
1894 showing_placeholder instead.
1895 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
1896 use the widget name here either.
1898 Fixes: NB#105678 (HildonTextView should use logical colours
1899 instead of setting widget name)
1901 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1903 Patch by Daniel Elster (danielk@openismus.com)
1905 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
1906 Add user_data parameter.
1907 (hildon_touch_selector_set_print_func_full): New function akin
1908 hildon_touch_selector_set_print_func() but with support for user
1909 data and a destroy callback.
1910 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
1911 to clean up the print function user data.
1912 (hildon_touch_selector_class_init): Install dispose function.
1913 (HildonTouchSelectorPrivate::print_user_data),
1914 (HildonTouchSelectorPrivate::print_destroy_func): New private
1916 (hildon_touch_selector_init): Initialize new private members.
1917 (hildon_touch_selector_get_current_text): Pass along user data
1918 to the print function.
1919 (_default_print_func): Add dummy user_data to parameter list.
1920 * hildon-date-selector.c (_custom_print_func): ditto,
1921 * hildon-time-selector.c (_custom_print_func): ditto,
1922 * hildon-touch-selector-entry.c
1923 (hildon_touch_selector_entry_print_func): ditto.
1925 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
1927 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1929 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
1931 2009-03-12 Alejandro G. Castro <alex@igalia.com>
1933 * src/hildon-pannable-area.c,
1934 (hildon_pannable_area_init),
1935 (hildon_pannable_area_button_press_cb),
1936 (hildon_pannable_area_motion_notify_cb): We have added code to
1937 handle the leave and enter events when using the motion events.
1939 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
1941 2009-03-11 Alberto Garcia <agarcia@igalia.com>
1943 * src/hildon-date-button.c (hildon_date_button_get_date)
1944 (hildon_date_button_set_date): Make sure that the button has a
1947 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
1949 2009-03-11 Alejandro G. Castro <alex@igalia.com>
1951 * src/hildon-pannable-area.c,
1952 (hildon_pannable_area_class_init),
1953 (hildon_pannable_area_calculate_velocity): Modify the use of the
1954 force and adapt the value.
1956 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1958 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
1959 (hildon_app_menu_class_init): Hide the menu if it receives a
1960 delete-event, but don't destroy it
1962 Fixes: NB#104485 (Not able to address the call when application
1963 menu is opened at background)
1965 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1967 * src/hildon-app-menu.c
1968 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1969 Remove the "external-border" style property, let the menu take its
1970 natural size (or the one set by the window manager)
1971 (hildon_app_menu_repack_items):
1972 Don't reshow the menu, avoid flickers.
1974 Partially fixes NB#94957 (Smoothly opened application menu)
1976 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
1981 * configure.ac: Bump version.
1982 * debian/changelog: Updates.
1984 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1986 * src/hildon-pannable-area.c,
1987 (hildon_pannable_area_motion_notify_cb): We control that the
1988 direction error margin is used just in case the movement is
1989 allowed in the other direction.
1991 Fixes: NB#105012 (buttons inside a pannable area not getting
1992 release event when dragging/releasing)
1994 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1996 * src/hildon-pannable-area.c,
1997 (hildon_pannable_area_class_init),
1998 (hildon_pannable_area_get_property),
1999 (hildon_pannable_area_set_property),
2000 (hildon_pannable_area_initial_effect),
2001 (hildon_pannable_axis_scroll),
2002 (hildon_pannable_area_button_release_cb): Reviewed the
2003 overshooting effect, now it has its own max
2004 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2005 speed when bouncing.
2007 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2012 * configure.ac: Bump version.
2013 * debian/changelog: Updates.
2015 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2017 * src/hildon-pannable-area.c,
2018 (hildon_pannable_area_class_init): Changed the max speed, now
2019 users can launch the widget very fast. Reduced the default force,
2020 that way it is easier to control the launch speed.
2022 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2024 * src/hildon-pannable-area.c,
2025 (hildon_pannable_area_button_release_cb): Removed this check
2026 because it causes problems when the device is overloaded.
2028 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2030 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2031 add a current_text field to store the text entered in the
2032 touch selector entry.
2033 (_clean_current_selection): clean up the current text as well.
2034 (_save_current_selection), (_restore_current_selection):
2035 Save/restore the text in the entry if the selector is a
2036 HildonTouchSelectorEntry.
2038 Fixes: NB#102541 (value entered in the touch selector entry is not
2039 shown when opened for second time)
2041 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2043 * doc/hildon-sections.txt:
2044 * src/hildon-touch-selector-entry.c
2045 (+hildon_touch_selector_entry_get_entry):
2046 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2048 Fixes: NB#104815 (I need accessor to the entry inside
2049 HildonTouchSelectorEntry)
2051 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2053 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2054 (hildon_app_menu_class_init):
2055 New "filter-vertical-spacing" style property.
2057 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2059 * src/hildon-find-toolbar.c
2060 (hildon_find_toolbar_emit_close)
2061 (hildon_find_toolbar_emit_invalid_input)
2062 (hildon_find_toolbar_entry_activate):
2063 Use g_signal_emit() instead of g_signal_emit_by_name()
2065 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2067 Patch by Mox Soini (ext-mox.soini@nokia.com)
2069 * tests/TEST-CASES.txt
2070 * tests/check-hildon-banner.c
2071 * tests/check-hildon-note.c
2072 * src/hildon-banner.c
2073 * src/hildon-code-dialog.c
2074 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2075 * src/hildon-time-editor.c
2076 * examples/hildon-lookup-example.c (main):
2077 Replace obsolete icon names with new ones.
2079 * src/hildon-find-toolbar-private.h:
2080 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2081 (-hildon_find_toolbar_emit_search):
2082 Remove find button and change icon of close button.
2084 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2086 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2088 * src/hildon-time-button.c (hildon_time_button_new_step):
2089 Use the "touch-selector" property to set the selector directly
2090 when creating the object.
2092 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2094 Added a new example application that allows tuning the pannable
2095 area and replaced defines with properties in order to simplify the
2096 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2097 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2098 PROP_DIRECTION_ERROR_MARGIN.
2100 * examples/hildon-pannable-area-tuning-example.c: New example
2102 * src/hildon-pannable-area.c,
2103 (hildon_pannable_area_class_init),
2104 (hildon_pannable_area_init),
2105 (hildon_pannable_area_get_property),
2106 (hildon_pannable_area_set_property),
2107 (hildon_pannable_area_launch_fade_timeout),
2108 (hildon_pannable_area_adjust_value_changed),
2109 (hildon_pannable_axis_scroll),
2110 (hildon_pannable_area_motion_notify_cb),
2111 (hildon_pannable_area_scroll_cb),
2112 (hildon_pannable_area_button_release_cb): We have converted some
2113 of the defines that control the widget to properties to simplify
2116 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2118 * src/hildon-app-menu.c (hildon_app_menu_map)
2119 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2120 so it's closed if a new window appears.
2122 Fixes: NB#104485 (Not able to address the call when application
2123 menu is opened at background)
2125 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2127 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2128 missing 'break' statement in in 'case' construct to avoid
2131 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2133 * src/hildon-touch-selector-entry.c
2134 (hildon_touch_selector_entry_get_property),
2135 (hildon_touch_selector_entry_set_property): Add missing 'break'
2136 statements in in 'case' constructs to avoid incorrect warnings.
2138 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2140 * src/hildon-time-editor.c
2141 (hildon_time_editor_get_time_separators): Do not crash if
2142 the first label is NULL.
2144 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2146 * src/hildon-date-selector.c (_month_days): Check for month to be
2147 strictly less than 12, since otherwise we may overrun the array.
2149 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2151 * src/hildon-date-button.c (+hildon_date_button_new_full)
2152 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2153 (hildon_date_button_init): Set the date selector using a
2154 construction property, to make it happen after HildonButton's
2155 "value" property is set.
2157 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2158 current date by default)
2160 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2162 * doc/hildon-sections.txt
2163 * src/hildon-program.c
2164 * src/hildon-stackable-window.c
2165 * src/hildon-window.c:
2166 Documentation updates
2168 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2170 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2171 (hildon_window_stack_new, +hildon_window_stack_set_property)
2172 (+hildon_window_stack_get_property)
2173 (hildon_window_stack_class_init)
2174 (+hildon_window_stack_set_window_group)
2175 (+hildon_window_stack_get_window_group):
2176 Make the window group a construction property.
2178 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2180 * doc/hildon-sections.txt
2181 * src/hildon-stackable-window-private.h
2182 * src/hildon-stackable-window.h
2183 * src/hildon-stackable-window.c
2184 (-hildon_stackable_window_set_app_menu)
2185 (-hildon_stackable_window_get_app_menu)
2186 (-hildon_stackable_window_toggle_menu)
2187 (-hildon_stackable_window_finalize)
2188 (hildon_stackable_window_class_init)
2189 (hildon_stackable_window_init)
2190 * src/hildon-window-private.h
2191 * src/hildon-window.h
2192 * src/hildon-window.c (hildon_window_init)
2193 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2194 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2195 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2196 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2197 Moved all HildonAppMenu code to HildonWindow. The menu does not
2198 require a HildonStackableWindow anymore.
2200 * src/hildon-app-menu.c
2201 * src/hildon-program.c
2202 * examples/hildon-app-menu-example.c (main):
2203 Update examples and documentation to reflect HildonAppMenu
2206 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2208 * src/hildon-remote-texture.c
2209 * src/hildon-animation-actor.c:
2210 Don't include unused private headers.
2212 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2214 * src/hildon-program-private.h
2215 * src/hildon-program.c
2216 (hildon_program_set_common_menu)
2217 (hildon_program_get_common_menu)
2218 (hildon_program_set_common_app_menu)
2219 (hildon_program_get_common_app_menu):
2220 Change common menu pointers from GtkWidget* to GtkMenu* and
2221 HildonAppMenu* to avoid unnecessary casts.
2223 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2225 * src/hildon-window.c (hildon_window_set_main_menu):
2226 Removed incorrect 'Since:' tag
2228 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2230 * src/hildon-pannable-area.c,
2231 (hildon_pannable_area_calculate_velocity): We use now the
2232 RATIO_TOLERANCE here to check the distance, fixed typo in the
2234 (hildon_pannable_area_motion_notify_cb): We have to set the type
2235 and time even if we are not sending the motion.
2237 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2239 * doc/hildon-sections.txt
2240 * src/hildon-app-menu.h
2241 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2242 (+hildon_app_menu_get_filters): New methods to get the contents of
2245 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2248 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2250 * src/hildon-app-menu.c (hildon_app_menu_popup):
2253 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2255 * src/hildon-window.h
2256 * src/hildon-window.c (+hildon_window_get_main_menu)
2257 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2258 and deprecated hildon_window_get_menu().
2260 * src/hildon-stackable-window.h
2261 * src/hildon-stackable-window.c
2262 (+hildon_stackable_window_set_app_menu)
2263 (+hildon_stackable_window_get_app_menu)
2264 (hildon_stackable_window_set_main_menu): Created
2265 hildon_stackable_window_{get,set}_app_menu() and deprecated
2266 hildon_stackable_window_set_main_menu().
2268 * doc/hildon-sections.txt
2269 * examples/hildon-app-menu-example.c (main)
2270 * src/hildon-app-menu.c
2271 * src/hildon-program.c:
2272 Updated examples and documentation.
2274 Fixes: NB#103758 (No way to obtain a menu from a
2275 HildonStackableWindow)
2277 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2282 * configure.ac: Bump version.
2283 * debian/changelog: Updates.
2285 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2287 * examples/hildon-remote-texture-example.c: Include
2288 hildon-remote-texture.h explicitely.
2289 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2290 applications not defining _XOPEN_SOURCE which don't require this header.
2292 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2294 * doc/hildon-sections.txt
2295 * src/hildon-app-menu.h
2296 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2297 New function to pop up a HildonAppMenu
2299 * src/hildon-stackable-window.c
2300 (hildon_stackable_window_toggle_menu):
2301 Use hildon_app_menu_popup() to show the menu.
2303 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2305 * src/hildon-app-menu.c (hildon_app_menu_show)
2306 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2307 menu if there's another window between it and its parent window.
2309 Fixes: NB#100468 (Application menu window is launched even when a
2310 new secondary-window/dialog is pending to be shown/realized)
2312 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2314 * src/hildon-window-stack.c (hildon_window_stack_push)
2315 (hildon_window_stack_pop_and_push):
2316 Don't forget to push/pop the first window.
2317 Reverse the window list before calling _push_list()
2319 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2321 * src/hildon-picker-button.h
2322 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2323 Remove "value_changed" slot to avoid ABI breakage
2325 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2327 * src/hildon-pannable-area.c,
2328 (hildon_pannable_area_realize),
2329 (hildon_pannable_area_unrealize),
2330 (hildon_pannable_draw_vscroll),
2331 (hildon_pannable_draw_hscroll): Changed the method to handle the
2332 GC used to draw the transparent scrollbar, this way we avoid
2333 creating the GC all the time when drawing the scrollbars.
2335 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2337 * src/hildon-pannable-area.c,
2338 (hildon_pannable_area_init),
2339 (hildon_pannable_area_remove): Removed some unnecessary casts.
2340 (hildon_pannable_area_dispose): Disconnected some signals before
2341 releasing the adjustments.
2343 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2345 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2346 Make sure that all widgets contained in the toolbar are shown.
2348 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2350 * doc/hildon-sections.txt
2351 * src/hildon-picker-button.h
2352 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2353 (_selection_changed, hildon_picker_button_on_dialog_response)
2354 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2355 New hildon_picker_button_value_changed() method.
2358 * src/hildon-picker-button-private.h
2359 * src/hildon-picker-button.c (hildon_picker_button_init)
2360 (+hildon_picker_button_disable_value_changed): Add protected
2361 function for disabling the "value-changed" signal.
2363 * src/hildon-date-button.c (hildon_date_button_set_date):
2364 Don't emit "value-changed" for each one of the three columns.
2366 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2367 before actual change of values)
2369 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2371 * src/hildon-pannable-area.c,
2372 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2373 for the treeview overshooting.
2375 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2377 * src/hildon-banner.c (+hildon_banner_bind_style):
2378 Renamed from hildon_banner_bind_label_style(), now naming the
2379 banner itself as well.
2380 (hildon_banner_show_information),
2381 (hildon_banner_show_information_with_markup),
2382 (hildon_banner_show_animation), (hildon_banner_show_progress):
2383 Name the widgets and labels, based on their type.
2385 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2388 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2390 * src/hildon-note.c (hildon_note_set_property): call
2391 hildon_note_rename() on HildonNote:note-type set.
2392 (hildon_note_rename): Name the note and its label, based on the
2393 HildonNote:note-type property.
2395 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2398 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2400 * src/hildon-pannable-area.c,
2401 (hildon_pannable_area_class_init),
2402 (hildon_pannable_area_motion_notify_cb): Reviewed the default
2403 panning parameters, increased SPS and deceleration factor. Added
2404 also a margin to control fake directions.
2406 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2408 Patch by Sven Herzberg (sven@imendio.com)
2410 * configure.ac: Add missing AM_PROG_CC_C_0
2411 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2413 See NB#101420 (Update unit tests and fix make check)
2415 2009-02-23 Alejandro G. Castro <alex@igalia.com>
2417 This patch was applied before but reverted because it caused
2418 problems, we have changed the main condition and tested the
2419 regressions we detected before and they work ok. We have done a
2420 complete review of the topmost algorithm in order to get a more
2423 * src/hildon-pannable-area.c,
2424 (hildon_pannable_area_get_topmost): Added a new parameter to
2425 filter the the windows that do not include those events.
2426 (hildon_pannable_area_button_press_cb),
2427 (hildon_pannable_area_button_release_cb),
2428 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2429 topmost function, we have added the new parameter.
2431 Fixes: NB#97458 (Pannable area prevents propagation of button
2434 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2436 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
2437 if all columns in the selector have an item selected.
2438 (_on_dialog_response): Stop "response" signal emission if there is
2439 any selector column without selected items.
2441 Fixes: NB#101889 (Picker dialog should not close when nothing is
2442 selected in multiple selection list)
2444 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2446 * src/hildon-font-selection-dialog.c
2447 (hildon_font_selection_dialog_class_init),
2448 (hildon_font_selection_dialog_init): Remove the preview
2449 button and dialog, since previewing with default theming is likely
2450 to be overcomplicated. The :preview property has now no effect.
2451 Update documentation blurbs to inform about this.
2453 Fixes: NB#92297 (Preview content is not clearly visible for
2454 default colour text)
2456 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2458 Reviewed the geometry that handles the children size and
2459 scrollbar, now it tries a size and reviews the results depending
2460 on the scrollbars visibility.
2462 * src/hildon-pannable-area.c,
2463 (hildon_pannable_area_realize): Fixed a typo.
2464 (hildon_pannable_area_child_allocate_calculate): Added this
2465 function to calculate the child allocation.
2466 (hildon_pannable_area_size_allocate): Reviewed the allocation
2468 (hildon_pannable_area_check_scrollbars),
2469 (hildon_pannable_area_refresh): Refactored refresh function, this
2470 way we can call the code handling the scrollbars without causing a
2471 size_request, it is interesting in the allocate.
2472 (hildon_pannable_area_init): Replace the callbacks of the
2473 value_changed and changed signals to propertly deal with the
2475 (hildon_pannable_area_grab_notify),
2476 (hildon_pannable_area_initial_effect),
2477 (hildon_pannable_area_launch_fade_timeout),
2478 (hildon_pannable_area_adjust_changed),
2479 (hildon_pannable_area_adjust_value_changed),
2480 (hildon_pannable_area_redraw),
2481 (hildon_pannable_area_button_press_cb),
2482 (hildon_pannable_area_button_release_cb),
2483 (hildon_pannable_area_scroll_cb),
2484 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
2485 code and use the new functions adjust_changed and
2486 adjust_value_changed.
2488 Fixes: NB#101603 (Focus is not even for the text entry boxes in
2489 Contact editor dialog)
2491 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
2496 * configure.ac: Bump version.
2497 * debian/changelog: Updates.
2499 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2501 * src/hildon-pannable-area.c,
2502 (hildon_pannable_area_get_topmost),
2503 (hildon_pannable_area_button_press_cb),
2504 (hildon_pannable_area_button_release_cb),
2505 (hildon_pannable_get_child_widget_at): Reverted the patch for the
2506 topmost function adding the event mask. We have to try a
2507 differente approach because it is still causing problems (NB#9745,
2510 2009-02-19 Alberto Garcia <agarcia@igalia.com>
2512 * src/hildon-banner.c:
2513 Update the maximum width of timed banners.
2514 (force_to_wrap_truncated): Enforce the maximum text width if the
2517 Fixes: NB#102413 (The text margins (wrapping) in information
2518 banner should be HILDON_MARGIN_TRIPLE)
2520 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2522 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
2524 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
2525 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
2526 bound when calculating the scroll indicator position.
2528 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
2529 treat ->lower correctly)
2531 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2533 * src/hildon-caption.c (hildon_caption_class_init): Remove the
2534 expose event handling, since it is not necessary to draw the focus
2537 Fixes: NB#102467 (Do not show highlight on the text in
2540 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2542 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
2543 full height of the toolbar for the button and the label.
2545 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2547 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
2548 padding before the label and after the button.
2550 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2552 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
2554 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2555 Add a GtkVSeparator between the button and the back arrow.
2556 Let the button have automatic size.
2557 Set a name to the widget for theming handling.
2559 Fixes: NB#101793 (Make edit toolbar the same height as window
2560 title bar (use title area theming))
2562 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2564 * src/hildon-helper.c (attach_new_color_element): Fix memory
2567 Fixes: NB#102262 (memory leak in hildon_button_set_style())
2569 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2571 * examples/hildon-button-example.c (common_buttons_window): Don't
2574 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2576 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2577 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
2579 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2581 * src/hildon-gtk.c: Check that the window is realized.
2583 Fixes: NB#102225 (Crash setting the progress indicator to a non
2586 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2588 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
2589 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
2590 instead of modifying the one in the widget style.
2592 Fixes: NB#101043 (Second row of all the command button are
2593 displayed in transparent mode.)
2595 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2597 * src/hildon-date-button.c
2598 * src/hildon-time-button.c: Add gettext macros
2600 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
2602 * src/hildon-date-button.c (hildon_date_button_new):
2603 * src/hildon-time-button.c (hildon_time_button_new_step):
2604 Use new logical strings to set the button default title.
2606 Fixes: NB#99915 (Date and Time options are not localised in Date
2609 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2611 * src/hildon-pannable-area.c
2612 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
2613 the PANNING_THRESHOLD.
2615 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2617 * src/hildon-pannable-area.c,
2618 (hildon_pannable_area_class_init): Increased the maximum speed.
2619 (hildon_pannable_area_get_property),
2620 (hildon_pannable_area_set_property),
2621 (hildon_pannable_area_timeout): Added a new low friction mode, it
2622 allows the user avoid friction when launching the widget fast
2623 enough. It is interesting to traverse long lists.
2625 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2627 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
2628 (+hildon_stackable_window_delete_event): Ignore delete events if
2629 the window is not the topmost one.
2631 Fixes: NB#101698 (Back button long press and delete-event handling)
2633 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2635 * src/hildon-pannable-area.c,
2636 (hildon_pannable_area_motion_notify_cb): Removed the use of the
2637 gtk-dnd-drag-threshold, it was too big. We have defined our own
2638 dnd define and set a smaller value: PANNIG_THRESHOLD.
2640 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2642 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
2643 user-defined icons, use always the default one.
2645 Fixes: NB#101916 (Do not allow custom icons on animation banner)
2647 2009-02-13 Alejandro G. Castro <alex@igalia.com>
2649 This patch was applied before but reverted because it caused
2650 problems, we have changed the main condition and tested the
2651 regressions we detected before and they work ok.
2653 * src/hildon-pannable-area.c,
2654 (hildon_pannable_area_get_topmost): Added a new parameter to
2655 filter the the windows that do not include those events. Added
2656 also a condition when finding the window to filter windows that do
2657 not ask for those events.
2658 (hildon_pannable_area_button_press_cb),
2659 (hildon_pannable_area_button_release_cb),
2660 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2661 topmost function, we have added the new parameter.
2663 Fixes: NB#97458 (Pannable area prevents propagation of button
2666 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2668 * tests/check-hildon-color-button.c (START_TEST): do not leak
2671 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2673 * src/hildon-font-selection-dialog.c
2674 (hildon_font_selection_dialog_get_preview_text): Return NULL
2675 instead of FALSE on the g_return_val_if_fail().
2677 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2679 * src/hildon-time-selector.c (hildon_time_selector_set_time):
2680 * src/hildon-date-selector.c
2681 (hildon_date_selector_select_current_date):
2682 Do not compare unsigned integers to be greater than or equal 0,
2683 because it's always TRUE.
2685 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2687 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
2688 (hildon_date_selector_constructor): Do not select the current
2689 date until we are handle the "changed" signal, to avoid having bogus
2690 elements in the days model.
2692 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2694 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
2695 for num_days, since _month_days() can return a negative value.
2697 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2699 * src/hildon-caption.c (hildon_caption_size_allocate):
2700 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
2701 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
2703 Initialize allocation variables to 0, to avoid eventually using
2704 unitialized variables.
2706 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2708 * src/hildon-bread-crumb-trail.c
2709 (hildon_bread_crumb_trail_size_allocate):
2710 * src/hildon-calendar.c (hildon_calendar_set_background):
2711 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
2712 * src/hildon-range-editor.c (hildon_range_editor_get_range):
2713 * src/hildon-seekbar.c (hildon_seekbar_init):
2714 * src/hildon-time-editor.c (hildon_time_editor_get_time):
2715 * src/hildon-time-selector.c (hildon_time_selector_finalize):
2716 * src/hildon-touch-selector-entry.c
2717 (hildon_touch_selector_get_text_from_model):
2718 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
2719 * src/hildon-window.c (hildon_window_finalize):
2721 Remove many unused variables.
2723 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2725 * src/hildon-seekbar.c: (hildon_seekbar_init),
2726 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
2728 Remove unnecessary g_assert() calls.
2730 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2732 * src/hildon-caption.c: (hildon_caption_expose),
2733 (hildon_caption_set_property), (hildon_caption_init),
2734 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
2735 (hildon_caption_size_request), (hildon_caption_size_allocate),
2736 (hildon_caption_forall), (hildon_caption_set_separator),
2737 (hildon_caption_activate), (hildon_caption_set_child_expand),
2738 (hildon_caption_set_label_text),
2739 (hildon_caption_get_label_alignment):
2741 Remove unnecessary g_assert() calls.
2743 2009-02-12 Alberto Garcia <agarcia@igalia.com>
2745 * src/hildon-banner.c
2746 (hildon_banner_map, hildon_banner_init): Make banner temporary
2747 before mapping it to avoid closing other temporary windows, but
2748 make it non-temporary afterwards to avoid being closed by other
2749 non-temporary windows.
2750 (-hildon_banner_client_event, hildon_banner_init):
2751 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
2753 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
2756 2009-02-11 Alberto Garcia <agarcia@igalia.com>
2758 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
2761 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2763 * src/hildon-remote-texture.c
2764 * src/hildon-remote-texture.h
2765 * src/hildon-remote-texture-private.h
2766 * examples/hildon-remote-texture-example.c:
2767 Updates/fixes to remote-texture and its example.
2769 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
2771 Patch by Mox Soini (ext-mox.soini@nokia.com)
2773 * src/hildon-code-dialog.c: Update logical id.
2774 * src/hildon-set-password-dialog.c: Update logical id.
2776 Fixes: NB#100646 (Logical strings is shown for ok in set
2777 password,Password needed dialogs)
2779 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2782 * src/hildon-remote-texture.c
2783 * src/hildon-remote-texture.h
2784 * src/hildon-remote-texture-private.h
2786 Added remote texture widget (for Clutter shared memory textures)
2788 * examples/hildon-remote-texture-example.c
2789 * examples/Makefile.am
2790 Added example file for remote texture usage
2792 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
2794 * configure.ac: post release version bump.
2795 * debian/changelog: version bump.
2797 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
2802 * configure.ac: Bump version.
2803 * debian/changelog: Updates.
2805 2009-02-06 Alberto Garcia <agarcia@igalia.com>
2807 * src/hildon-date-selector.c (hildon_date_selector_init)
2808 (hildon_date_selector_constructor): Don't connect to the "changed"
2809 signal until the selector is completely constructed.
2811 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2813 * src/hildon-touch-selector.c: (_create_new_column),
2814 (hildon_touch_selector_append_column),
2815 (hildon_touch_selector_set_column_selection_mode),
2816 (hildon_touch_selector_set_active),
2817 (hildon_touch_selector_select_iter):
2818 Emit the HildonTouchSelector::changed signal every time selection
2819 is changed in any of the methods above. This behavior was already
2820 documented but not fully functional.
2822 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
2823 selection is programmatically changed)
2825 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2827 * doc/hildon-sections.txt: Remove obsolete icon
2828 sizes from here as well.
2830 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2832 * examples/hildon-stackable-window-example.c (add_window): Remove
2835 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2837 * src/hildon-app-menu.c
2838 (hildon_app_menu_show): Check whether the parent window of a menu
2839 is topmost before popping it up.
2841 Fixes: NB#100468 (Application menu window is launched even when a
2842 new secondary-window/dialog is pending to be shown/realized.)
2844 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2846 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
2849 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2851 Patch by Mox Soini (ext-mox.soini@nokia.com)
2853 * src/hildon-banner.c: (hildon_banner_show_animation):
2854 use stylus size instead of obsolete note size.
2855 * src/hildon-defines.h: Update icon sizes.
2857 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2859 * src/hildon-touch-selector-entry.c:
2860 (hildon_touch_selector_entry_init): Disable unsupported
2862 (hildon_touch_selector_entry_get_text_column): Emit a warning
2863 if an unsupported input modes is used and explicitile state
2864 these modes in the documentation.
2866 Fixes: NB#99802 (Hildon touch selector entry not working properly
2867 for some of the input modes)
2869 2009-02-05 Alejandro G. Castro <alex@igalia.com>
2871 * src/hildon-pannable-area.c,
2872 (hildon_pannable_area_init): Added the changed signal handlers of
2875 Fixes: NB#100320 (HildonPannableArea does not listen to
2876 GtkAdjustment "change" signals)
2878 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2880 * doc/hildon-sections.txt
2881 * src/hildon-window-private.h
2882 * src/hildon-window.h
2883 * src/hildon-window.c (hildon_window_init)
2884 (hildon_window_realize, hildon_window_unrealize)
2885 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
2886 (hildon_window_size_request, hildon_window_size_allocate)
2887 (hildon_window_forall, hildon_window_show_all)
2888 (hildon_window_destroy, +paint_edit_toolbar)
2889 (+hildon_window_set_edit_toolbar):
2890 New hildon_window_set_edit_toolbar() method, to add a
2891 HildonEditToolbar to a window without having to pack it manually.
2893 Reorganize hildon_window_size_allocate()
2895 * src/hildon-edit-toolbar.c: Update documentation.
2897 * examples/hildon-edit-toolbar-example.c (edit_window): Update
2898 example to use the new API.
2900 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
2902 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2904 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
2905 Remove from stack before calling parent's hide.
2907 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2909 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
2910 window is removed from the middle of the stack, update the
2911 transiency of the previous one.
2913 Fixes: NB#100487 (HildonStackableWindow transiency becomes
2916 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2918 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
2919 block/unblock the signal handler if it's not actually being used.
2920 Fixes some critical warnings.
2922 2009-02-02 Alberto Garcia <agarcia@igalia.com>
2924 Based on a patch by Iván Gómez (igomez@igalia.com)
2926 * src/hildon-banner.c
2930 * src/hildon-pannable-area.c
2931 * src/hildon-picker-dialog.c
2932 * src/hildon-wizard-dialog.h
2933 * src/hildon-wizard-dialog.c: Documentation updates.
2935 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
2936 gtk_dialog_add_button() instead of hildon_dialog_add_button().
2938 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2940 * configure.ac: post release version bump.
2941 * debian/changelog: version bump.
2943 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2948 * configure.ac: Bump version.
2949 * debian/changelog: Updates.
2951 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2953 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
2954 a stock icon nor change the relief of the back arrow.
2956 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2957 graphics from theme)
2959 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2961 * src/hildon-button.c (hildon_button_set_alignment): Use
2962 priv->alignment if the button has no child yet.
2964 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
2966 * src/hildon-button.c: (hildon_button_init): Set the
2967 button style during initialization to give it the proper
2970 Fixes: NB#99713 (HildonButton value label color is wrong)
2972 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2974 * src/hildon-touch-selector.c: Document
2975 hildon_touch_selector_center_on_selected()
2977 2009-01-28 Alberto Garcia <agarcia@igalia.com>
2979 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
2980 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
2981 all menu items, but not the menu itself.
2982 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
2983 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
2984 items after adding them to the menu so keyboard accelerators work.
2985 (hildon_app_menu_show): Don't show the menu if it contains items
2986 but none of them are visible.
2988 * examples/hildon-app-menu-example.c (create_menu): Use
2989 gtk_widget_show_all() to show all menu items.
2991 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2993 * src/hildon-picker-dialog.c:
2994 (-_update_title_on_selector_changed_cb),
2995 (-_dialog_update_title): Removed.
2996 (_select_on_selector_changed_cb), (_on_dialog_response),
2997 (on_selector_columns_changed): Do not update the dialog title.
2998 (setup_interaction_mode): Do not connect to
2999 HildonTouchSelector::changed signal if there's a "done" button, as
3000 the dialog title doesn't need to be updated.
3002 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3005 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3007 Patch by Kristian Rietveld (kris@imendio.com)
3009 * src/hildon-touch-selector.c: (_create_new_column): Use new
3010 GtkTreeView::hildon-row-tapped signal to react to user interactions
3011 instead of ::changed.
3013 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3014 with some dynamic tree model)
3016 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3018 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3019 (+screen_size_changed, +label_size_request)
3020 (hildon_note_class_init): Make the Hildon information note have a
3021 minimum height, and make its text hvae a maximum width.
3023 Fixes: NB#98614 (Hildon information note (background) should have
3024 minimum height and maximum text width)
3026 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3028 * src/hildon-banner.h
3029 * src/hildon-banner.c (hildon_banner_show_information)
3030 (hildon_banner_show_informationf)
3031 (hildon_banner_show_information_with_markup): Update documentation
3032 to reflect that the icon_name parameter is not used anymore.
3033 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3034 Remove all code from these functions and mark them as deprecated.
3035 (hildon_banner_show_progress): Mark as deprecated.
3037 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3039 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3041 * src/hildon-pannable-area.c,
3042 (hildon_pannable_area_class_init),
3043 (tranparency_color),
3044 (hildon_pannable_draw_vscroll),
3045 (hildon_pannable_draw_hscroll),
3046 (hildon_pannable_area_expose_event): Added a new way to render the
3047 scrollbars of the pannable area avoiding using cairo at all. This
3048 way we improve the performance of the pannable area rendering. The
3049 cairo rendering procedure is still in the code, we can control
3050 which one to use changing the value of the define
3051 USE_CAIRO_SCROLLBARS.
3053 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3055 * configure.ac: post release version bump.
3056 * debian/changelog: version bump.
3058 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3063 * configure.ac: Bump version.
3064 * debian/changelog: Updates.
3066 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3068 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3069 banners instead of destroying them when they receive a button
3072 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3074 Reverted commit 34028, it was causing regressions, probably the
3075 topmost condition is not correct, we have to check it in more
3076 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3077 propagation of button press events)
3079 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3081 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3082 that the selection is not empty before attempting to retrieve the
3083 current ampm selection.
3085 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3087 * src/hildon-picker-button.c:
3088 (hildon_picker_button_on_dialog_response): Directly update the
3089 button contents when required instead of calling _selection_changed.
3091 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3093 * src/hildon-program.c (hildon_program_update_top_most): Update
3094 'is-topmost' property also when wm_hints is not set.
3096 Fixes: NB#98383 (is-topmost signal is not emitted when task
3097 switcher is clicked.)
3099 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3101 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3105 * src/hildon-animation-actor.c,
3106 * src/hildon-animation-actor.h: Added the animation actor class,
3107 this widget represents an animation actor for WM-assisted
3108 animation effects in the Hildon framework.
3110 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3112 * src/hildon-window-stack-private.h
3113 * src/hildon-window-stack.c
3114 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3115 Avoid calling gtk_widget_show() again indirectly from
3116 hildon_stackable_window_show()
3118 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3120 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3123 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3125 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3126 (hildon_time_selector_init): Move the construction of the hours and
3127 ampm columns to the constructor to preserve the order the columns
3130 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3132 * src/hildon-picker-dialog.c:
3133 (hildon_picker_dialog_class_init): Connect a realize method.
3134 (+hildon_picker_dialog_realize): Setup the interaction mode here
3136 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3137 yet, do it during the realize instead.
3138 (_on_dialog_response):
3139 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3140 if the widget is not realized, to avoid the dialog response before it
3143 Avoid premature responses in the HildonPickerDialog that can cause it
3144 to be hidden before it's even shown.
3146 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3148 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3149 (on_selector_columns_changed), (requires_done_button),
3150 (+prepare_action_area), (setup_interaction_mode),
3151 (_hildon_picker_dialog_set_selector):
3153 Split the interaction mode setup into preparation of the
3154 action area (prepare_action_area()) and the connection of
3155 the signals in setup_interaction_mode() and update the code to
3158 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3160 * src/hildon-pannable-area.c,
3161 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3162 per second to 15, we will check if this is ok regarding
3165 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3167 * src/hildon-pannable-area.c,
3168 (hildon_pannable_axis_scroll): Avoid resize if we already have
3169 reached overshoot_max.
3171 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3173 * src/hildon-pannable-area.c,
3174 (hildon_pannable_area_init),
3175 (hildon_pannable_area_realize),
3176 (hildon_pannable_area_size_allocate),
3177 (hildon_pannable_area_map),
3178 (hildon_pannable_area_unmap),
3179 (hildon_pannable_draw_vscroll),
3180 (hildon_pannable_draw_hscroll),
3181 (hildon_pannable_area_expose_event),
3182 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3183 pannable are to avoid the expose events go to the window and
3184 redraw the window. We save this way that part of the stack and the
3185 paint_boxes. We had to change the positions of the elements when
3188 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3190 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3191 * src/hildon-color-chooser-dialog.c:
3192 (hildon_color_chooser_dialog_init):
3193 * src/hildon-font-selection-dialog.c:
3194 (hildon_font_selection_dialog_init),
3195 (hildon_font_selection_dialog_show_preview):
3196 * src/hildon-get-password-dialog.c:
3197 * src/hildon-login-dialog.c:
3198 * src/hildon-set-password-dialog.c:
3199 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3200 * src/hildon-time-picker.c: (hildon_time_picker_init):
3202 Remove obsolete logical string IDs and update to the appropriate ones.
3204 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3206 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3208 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3209 that happens if the window hasn't been realized yet.
3211 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3212 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3214 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3216 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3217 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3220 Fixes: NB#98537 (Device hangs in account settings dialog)
3222 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3224 * configure.ac: post release version bump.
3225 * debian/changelog: version bump
3227 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3232 * configure.ac: Bump version.
3233 * debian/changelog: Updates.
3235 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3237 Added a new function to the HildonTimeButton widget that allows to
3238 change the step of the minutes in the selector associated with the
3239 button: hildon_time_button_new_step
3241 * src/hildon-time-button.c,
3242 (hildon_time_button_init),
3243 (hildon_time_button_new),
3244 (hildon_time_button_new_step):
3245 * src/hildon-time-button.h: Added the new function and refactored
3247 * examples/hildon-time-button-example.c,
3248 (main): We have replaced the function without parameters with the
3249 function with the steps set to 5
3251 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3253 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3255 * src/hildon-time-selector.c,
3256 (hildon_time_selector_class_init),
3257 (hildon_time_selector_constructor),
3258 (hildon_time_selector_get_property),
3259 (hildon_time_selector_set_property),
3260 (_create_minutes_model),
3261 (hildon_time_selector_new_step),
3262 (hildon_time_selector_set_time),
3263 * src/hildon-time-selector.h: Added a new property to the
3264 HildonTimeSelector (minutes-step), we use that property to control
3265 the steps between the minutes in the list of the selector. We have
3266 added a new function to the API to create a widget changing the
3267 step: hildon_time_selector_new_step.
3269 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3271 * src/hildon-time-selector.c,
3272 (hildon_time_selector_class_init),
3273 (hildon_time_selector_constructor),
3274 (hildon_time_selector_init): Overrided the construct function when
3275 creating the time selector object. We have moved the minutes model
3276 handling code from the init to the new construction function:
3277 hildon_time_selector_constructor.
3279 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3281 * examples/hildon-date-button-example.c: (main): Use the new
3282 hildon_date_button_new_with_year_range() method in the example.
3283 * src/hildon-date-button.c:
3284 (+hildon_date_button_new_with_year_range): New public method
3285 to conveniently create a HildonDateButton with a custom year range
3286 in its HildonDateSelector.
3287 * src/hildon-date-button.h: Add the new public method definition.
3289 Fixes: NB#97908 (Not possible to change the year range in
3290 HildonDateSelector/HildonDateButton)
3292 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3294 * src/hildon-date-selector.c:
3295 (+hildon_date_selector_set_property),
3296 (+hildon_date_selector_get_property),
3297 (hildon_date_selector_class_init): Install new properties "min-year"
3298 and "max-year" to define boundaries for the year column.
3299 (_create_year_model): Use the boundary properties to populate the model.
3300 (+hildon_date_selector_new_with_year_range): New public method to
3301 create a HildonDateSelector with a user defined year range.
3302 (hildon_date_selector_select_current_date): Use the new boundaries to
3303 calculate the iterator of current year.
3304 * src/hildon-date-selector.h: Add the new public method definition.
3306 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3308 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3309 Install a constructor method.
3310 (+hildon_date_selector_construct_ui): construct the widget.
3311 (+hildon_date_selector_constructor): new constructor.
3312 (+hildon_date_selector_init): move out widget construction code to
3313 the new constructor.
3315 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3317 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3318 that there's actually a month or year selected before obtaining them.
3319 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3320 of the HildonTouchSelector::changed signal, as it was emitted on every
3321 single item selection.
3323 Fix some warnings and possible crashers due to the selection restoring.
3325 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3327 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3328 the signal handlers only after creating the dialog instead of on every
3331 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3333 * src/hildon-button.c (hildon_button_init)
3334 * src/hildon-check-button.c (hildon_check_button_init)
3335 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3336 focus when clicked by default.
3338 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3340 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3343 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3345 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3346 Alejandro G. Castro (alex@igalia.com)
3348 * src/hildon-picker-dialog.c:
3349 (hildon_picker_dialog_class_init): install new "center-on-show"
3351 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3352 (hildon_picker_dialog_set_property): add setter code for the new
3354 (hildon_picker_dialog_get_property): add getter code for the new
3356 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3357 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3360 Fixes: NB#92849 (Selected item is not always visible when
3361 HildonTouchSelector is shown)
3363 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3365 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3366 Alejandro G. Castro (alex@igalia.com)
3368 * src/hildon-touch-selector.c:
3369 (_create_new_column): Do not connect to the "realize" signal of the
3371 (hildon_touch_selector_append_column): center on the selected items
3372 when a new column is appended.
3373 (hildon_touch_selector_select_iter): Factor out the code to select a
3374 column to hildon_touch_selector_scroll_to().
3375 (+search_nearest_element): Method to retrieve the nearest selected
3376 element to the visible area of the pannable area in a column.
3377 (+on_realize_cb): scroll to the initially selected item.
3378 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3379 the pannable area is realized, otherwise delay this until it is.
3380 (+_hildon_touch_selector_center_on_selected_items): Centers on the
3381 selected items of a given column.
3382 (+hildon_touch_selector_center_on_selected): Public method to center
3383 all columns on the nearest selected item.
3384 * src/hildon-touch-selector.h: Add definition for
3385 hildon_touch_selector_center_on_selected().
3387 Implement public API to ensure visibility of all selected items in
3388 a HildonTouchSelector.
3390 2009-01-16 Alejandro G. Castro <alex@igalia.com>
3392 Fixed a problem in the fading when calling the scroll_to API, and
3393 improve scrollbar fading handling.
3395 * src/hildon-pannable-area.c,
3396 (hildon_pannable_area_grab_notify): avoid the timeout when the
3398 (hildon_pannable_area_button_press_cb),
3399 (hildon_pannable_area_motion_notify_cb): Code style changes.
3400 (hildon_pannable_area_button_release_cb): Review the conditions
3401 when releasing the mouse button to avoid unrequired fading
3403 (hildon_pannable_area_scroll_to): Do not calculate and set the
3404 velocity if the scroll is not required.
3406 2009-01-15 Alberto Garcia <agarcia@igalia.com>
3408 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3409 Don't check whether the new selector is NULL: it cannot be.
3410 Hold a reference to the selector while doing the replacement.
3412 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3414 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3415 unnecessary size_request in a removed widget.
3417 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3419 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3420 an unnecessary reference tracking that was leaking.
3422 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3424 Added delayed motion notify event handling, this way we can
3425 discard redrawing if more than 25 events arrive per second.
3427 * src/hildon-pannable-area.c,
3428 (hildon_pannable_area_init): Initialized the new private atributes
3429 controlling this timeout
3430 (hildon_pannable_area_dispose): Remove the timeout that controls
3431 the motion notify events.
3432 (hildon_pannable_area_scroll): Added a condition to control the
3433 use of the acceleration.
3434 (hildon_pannable_area_motion_event_scroll_timeout),
3435 (hildon_pannable_area_motion_event_scroll): Added this two
3436 functions, they handle the motion notify events inside the
3438 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
3439 to the scroll method with the new function.
3440 (hildon_pannable_area_button_release_cb): We have to remove the
3441 timeout handler and move to the last position if the last motion
3442 events were not handled.
3444 Fixes: NB#97028 (Pannable area updates on every motion event)
3446 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3448 * src/hildon-pannable-area.c,
3449 (hildon_pannable_area_get_topmost): Added a new parameter to
3450 filter the the windows that do not include those events. Added
3451 also a condition when finding the window to filter windows that do
3452 not ask for those events.
3453 (hildon_pannable_area_button_press_cb),
3454 (hildon_pannable_area_button_release_cb),
3455 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3456 topmost function, we have added the new parameter.
3458 Fixes: NB#97458 (Pannable area prevents propagation of button
3461 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3463 * src/hildon-pannable-area.c,
3464 (hildon_pannable_area_initial_effect): Added controls before
3465 launching the timeout and the idle functions.
3466 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
3467 of the method, in some situations it can return with TRUE and 0 in
3469 (hildon_pannable_area_button_press_cb): We do not need to set
3470 DELAY for fading out here.
3472 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
3474 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3476 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
3477 post-cleaning if the selection is not NULL.
3479 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3481 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
3482 all items before restoring the selection.
3484 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3486 * src/hildon-touch-selector.c:
3487 (+hildon_touch_selector_unselect_all):
3488 * src/hildon-touch-selector.h: New API to unselect all items in a
3489 column of the touch selector.
3491 2009-01-14 Alejandro G. Castro <alex@igalia.com>
3493 * src/hildon-pannable-area.c,
3494 (hildon_pannable_area_redraw): Added a call to the refresh
3495 function inside the redraw because apparently in some cases the
3496 change in the adjustment does not imply a size allocate.
3498 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
3499 despite the view not being scrollable)
3501 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3503 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
3504 leak. Check for NULL before attempting to set the window title.
3506 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3508 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
3509 whether to show or not the 'Done' button each time the dialog is
3510 shown, as it depends on the HildonTouchSelector selection mode.
3512 Fixes: NB#96226 (In multiple selection mode Done button is shown
3513 sometimes in listpicker)
3515 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3517 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3518 for the number of columns in the HildonTouchSelector more than once.
3520 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3522 * src/hildon-touch-selector.c: Minor documentation fixes.
3524 * src/hildon-picker-dialog.c (+_dialog_update_title)
3525 (_select_on_selector_changed_cb)
3526 (_update_title_on_selector_changed_cb)
3527 (on_selector_columns_changed): Update dialog title when there's no
3528 'Done' button and also when the number of columns in the selector
3532 * src/hildon-picker-button.c (hildon_picker_button_finalize)
3533 (+_selection_changed, hildon_picker_button_on_dialog_response)
3534 (hildon_picker_button_selector_selection_changed)
3535 (+hildon_picker_button_selector_columns_changed)
3536 (hildon_picker_button_set_selector): Update button value and emit
3537 'value-changed' when the number of columns in the selector
3541 Fixes: NB#96225 (Dialog titles are not shown according to the
3542 values selected in the list picker)
3544 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3546 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
3547 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
3548 New "arrow-width" and "arrow-height" style properties to set the
3549 size of the arrow button.
3550 Set name of arrow button ("hildon-edit-toolbar-arrow").
3552 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3553 graphics from theme)
3555 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3557 * src/hildon-picker-button.c:
3558 (hildon_picker_button_selector_selection_changed): Use
3559 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
3560 the dialog is present.
3562 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
3563 the selection is accepted in the dialog)
3565 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3567 * src/hildon-color-chooser.h
3568 * src/hildon-color-chooser-dialog.h:
3569 Added G_BEGIN_DECLS and G_END_DECLS
3571 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3573 (_clean_current_selection): plug a leak in the list.
3575 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3577 * src/hildon-picker-dialog.c:
3578 (+free_path_list): Method to free a GList of GtkTreePaths.
3579 (_clean_current_selection), (_save_current_selection),
3580 (_restore_current_selection): Save the current selection in
3581 as a list of lists, to support multiple selection properly.
3583 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3585 patch by Claudio Saavedra (csaavedra@igalia.com)
3587 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
3588 Store the press position.
3589 (+hildon_text_view_button_release_event): If the release position is
3590 close enough to the press position, move the cursor here. Otherwise,
3592 (hildon_text_view_class_init): Override GtkTextView press, release, and
3593 motion event handlers, disabling this way text selection through
3594 pointer interaction, and allowing the container widget to handle the
3597 Fixes: NB#95828 (HildonTextView functionality)
3599 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3601 Based on a patch by Iván Gómez (igomez@igalia.com)
3603 * src/hildon-button.[ch]
3604 * src/hildon-calendar.c
3605 * src/hildon-check-button.c
3606 * src/hildon-date-editor.c
3607 * src/hildon-date-selector.c
3608 * src/hildon-picker-button.c
3609 * src/hildon-time-editor.c
3610 * src/hildon-time-selector.c
3611 * src/hildon-touch-selector.[ch]:
3612 Documentation updates
3614 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3616 * src/hildon-pannable-area.c,
3617 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
3618 threshold, it was required due to X events handling.
3620 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3622 * src/hildon-pannable-area.c,
3623 (hildon_pannable_area_grab_notify),
3624 (hildon_pannable_area_initial_effect),
3625 (hildon_pannable_area_button_press_cb),
3626 (hildon_pannable_area_button_release_cb),
3627 (hildon_pannable_area_scroll_cb),
3628 (hildon_pannable_area_scroll_to): Review the timeout management of
3629 the scrollbar, the frecuency was incorrectly set.
3631 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
3633 * src/hildon-picker-button.c:
3634 (+hildon_picker_button_on_dialog_response),
3635 (hildon_picker_button_clicked): Present the dialog instead of
3636 running it with gtk_dialog_run().
3638 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
3641 2009-01-07 Alberto Garcia <agarcia@igalia.com>
3643 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3644 (hildon_app_menu_finalize): When a window is hidden it doesn't
3645 emit notify::is-topmost, so make sure than the menu also
3646 disappears in that case.
3647 (parent_window_topmost_notify): Renamed from parent_window_hidden
3649 Fixes: NB#94460 (stackable window's menu is not closed when its
3652 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3654 * src/hildon-touch-selector-entry.c:
3655 (+hildon_touch_selector_entry_set_input_mode),
3656 (+hildon_touch_selector_entry_get_input_mode):
3657 * src/hildon-touch-selector-entry.h: New methods to access the input
3658 mode in the selector's entry.
3660 Fixes: NB#93410 (API required for setting IM mode in
3661 HildonTouchSelectorEntry)
3663 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3665 * configure.ac: post release version bump.
3666 * debian/changelog: version bump
3668 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3673 * configure.ac: Bump version.
3674 * debian/changelog: Updates.
3676 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
3678 * src/hildon-touch-selector.c:
3679 (_hildon_touch_selector_has_multiple_selection): No need
3680 to initialize the variables here.
3682 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3684 * src/hildon-note-private.h
3685 * src/hildon-note.c (event_box_press_event, hildon_note_init)
3686 (hildon_note_finalize, hildon_note_rebuild): Close information
3687 notes when they receive a button press.
3689 Fixes: NB#89890 (Information notes does not get disappeared after
3692 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
3694 * src/hildon-wizard-dialog.c: (create_title): Remove translation
3695 mark from the wizard title, as it's not really necessary. Also,
3696 do not display the page title if not set.
3698 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3700 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3701 (parent_window_hidden): Use the window's "is-topmost" property to
3702 detect when to hide the menu.
3704 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3706 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3707 (hildon_app_menu_finalize): If the parent window of the menu is
3708 hidden, hide the menu too.
3710 Fixes: NB#94460 (stackable window's menu is not closed when its
3713 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3716 * debian/libhildon1-examples.install
3718 * examples/Makefile.am:
3719 Use dh_install to install all examples.
3720 Use DEB_SRCDIR instead of defining SOURCE_DIR
3722 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3724 * configure.ac: post release version bump.
3725 * debian/changelog: version bump
3727 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3732 * configure.ac: bump version
3733 * debian/changelog: updates
3734 * debian/control: bump gtk+ dependency
3736 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3738 patch by Christian Dywan (christian@imendio.com)
3740 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
3741 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
3743 2008-12-15 Alberto Garcia <agarcia@igalia.com>
3745 * src/hildon-check-button.c (hildon_check_button_init)
3746 (hildon_check_button_class_init, hildon_check_button_style_set)
3747 (hildon_check_button_apply_style):
3748 New "checkbox-size" style property.
3750 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
3751 larger / configurable size)
3753 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3755 * configure.ac: post release version bump.
3756 * debian/changelog: version bump
3758 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3763 * configure.ac: bump version
3764 * debian/changelog: updates
3766 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3768 * doc/hildon-sections.txt
3769 * src/hildon-pannable-area.c
3770 * src/hildon-program.c
3771 * src/hildon-time-editor.c
3772 * src/hildon-touch-selector-entry.c:
3774 More documentation updates.
3776 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3778 * doc/hildon-sections.txt
3779 * src/hildon-caption.c
3780 * src/hildon-code-dialog.c
3781 * src/hildon-color-button.c
3782 * src/hildon-controlbar.c
3783 * src/hildon-date-editor.c
3784 * src/hildon-date-selector.c
3785 * src/hildon-edit-toolbar.c
3786 * src/hildon-find-toolbar.c
3787 * src/hildon-font-selection-dialog.c
3789 * src/hildon-program.c
3790 * src/hildon-range-editor.c
3791 * src/hildon-seekbar.c
3792 * src/hildon-time-editor.c
3793 * src/hildon-time-selector.c
3794 * src/hildon-volumebar-range.c
3795 * src/hildon-volumebar.c
3796 * src/hildon-vvolumebar.c
3797 * src/hildon-weekday-picker.c
3798 * src/hildon-window.c
3799 * src/hildon-wizard-dialog.c:
3801 Lots of documentation fixes.
3803 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3805 Patch contributed by Iván Gómez (igomez@igalia.com)
3807 * src/hildon-check-button.c:
3808 * src/hildon-date-button.c:
3809 * src/hildon-date-selector.c:
3810 * src/hildon-dialog.c:
3811 * src/hildon-edit-toolbar.c:
3812 * src/hildon-entry.c:
3813 * src/hildon-picker-button.c:
3814 * src/hildon-program.c:
3815 * src/hildon-text-view.c:
3816 * src/hildon-time-button.c:
3817 * src/hildon-touch-selector-entry.c:
3818 * src/hildon-window-stack.c:
3820 Add more "since" tags to the new API.
3822 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3824 * doc/hildon-sections.txt: Add below method.
3825 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
3826 version for the hildonized scale.
3827 * src/hildon-gtk.h: Add the definition.
3829 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3831 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3833 * doc/hildon-sections.txt: Add missing entries for new methods.
3835 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3837 Added API to pannable are in order to get its adjustments. We
3838 added two properties to manage the values we had in the private
3841 * src/hildon-pannable-area.c:
3842 (hildon_pannable_area_class_init): Added hadjustment and
3843 vadjustment properties in order to expose horizontal and vertical
3845 (hildon_pannable_area_get_property),
3846 (hildon_pannable_area_set_property): Added code to handle the new
3848 (hildon_pannable_area_get_hadjustment),
3849 (hildon_pannable_area_get_vadjustment): API functions to get the
3851 * src/hildon-pannable-area.h:
3852 (hildon_pannable_area_get_hadjustment),
3853 (hildon_pannable_area_get_vadjustment): API functions to get the
3856 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3858 Fixed some leaks, after valgrinding.
3860 * src/hildon-touch-selector.c:
3861 (_default_print_func): Fixed a leak.
3862 (hildon_touch_selector_append_column): Fixed a leak.
3863 * src/hildon-date-button.c:
3864 (hildon_date_button_init): Fixed a leak.
3865 * src/hildon-date-selector.c
3866 (hildon_date_selector_finalize): Fixed a leak.
3868 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3870 Based on a patch by Christian Dywan (christian@imendio.com)
3872 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
3874 * src/hildon-gtk.h: Add definition.
3876 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3878 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3880 * src/hildon-picker-button.c: (hildon_picker_button_init),
3881 (hildon_picker_button_new): Set the HildonButton::style property
3882 in the init method, to propagate the value to the derived classes.
3884 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3886 * src/hildon-button.c: (hildon_button_class_init): Do not make
3887 the "style" property a construct property.
3889 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3891 * src/hildon-wizard-dialog.h
3892 * src/hildon-wizard-dialog.c
3893 (hildon_wizard_dialog_set_forward_page_func)
3894 * src/hildon-pannable-area.h
3895 * src/hildon-pannable-area.c
3896 (hildon_pannable_area_set_size_request_policy):
3897 Documentation fixes.
3899 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3901 * doc/hildon-sections.txt: Fixed warning about unused symbols.
3903 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3905 * doc/hildon-sections.txt: Added sections file.
3907 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3910 * src/*.[ch]: Updates.
3912 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
3914 * examples/hildon-progress-indicator-example.c: new file
3915 * examples/Makefile.am: include the new example program
3917 2008-12-10 Alberto Garcia <agarcia@igalia.com>
3919 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
3921 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3923 * configure.ac: post release version bump
3924 * debian/changelog: version bump
3926 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3931 * configure.ac: bump version
3932 * debian/changelog: updates
3933 * debian/control: bump gtk+ dependency
3935 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3937 * src/hildon-dialog.c: Mark as deprecated.
3938 * src/hildon-dialog.h: Mark as deprecated.
3939 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
3940 from HildonDialog and still work, even if
3941 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
3942 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
3944 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
3945 maemo changes) instead)
3947 2008-12-09 Alejandro G. Castro <alex@igalia.com>
3949 * src/hildon-pannable_area.h:
3950 * src/hildon-pannable_area.c:
3951 (hildon_pannable_area_class_init),
3952 (hildon_pannable_area_set_property),
3953 (hildon_pannable_area_get_property),
3954 (hildon_pannable_area_size_request),
3955 (hildon_pannable_area_get_size_request_policy),
3956 (hildon_pannable_area_set_size_request_policy): Added new API
3957 allowing applications to control the request policy. Now they can
3958 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
3959 children allocation (HILDON_MOVEMENT_CHILDREN).
3961 2008-12-09 Alberto Garcia <agarcia@igalia.com>
3965 (hildon_gtk_tree_view_set_ui_mode)
3966 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
3967 mode of treeviews and iconviews.
3969 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3971 * src/hildon-touch-selector-entry.c:
3972 (hildon_touch_selector_entry_init): Use a HildonEntry instead
3973 of a GtkEntry to get proper theming.
3975 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
3976 widget, not GtkEntry)
3978 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3980 * src/hildon-wizard-dialog.c: (response): Move forward if there is
3981 no HildonWizardDialogPageFunc.
3983 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3985 Patch contributed by Iván Gómez (igomez@igalia.com)
3987 * src/hildon-app-menu.c:
3988 * src/hildon-button.c:
3989 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
3990 * src/hildon-stackable-window.c:
3991 * src/hildon-time-selector.c:
3992 * src/hildon-touch-selector.c:
3993 * src/hildon-window.c:
3995 Add more "since" tags to the new API in hildon 2.2.
3997 2008-12-05 Tim Janik <timj@imendio.com>
3999 Patch contributed by Christian Dywan (christian@imendio.com)
4001 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4002 HildonSizeType, which are supplied by Gtk+ now.
4004 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4006 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4007 (with maemo changes) instead)
4009 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4011 Patch contributed by Iván Gómez (igomez@igalia.com)
4013 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4016 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4018 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4019 (some_page_func), (main): Update the example to use a
4020 HildonWizardDialogPageFunc function.
4022 * src/hildon-wizard-dialog-private.h: Add private data for
4023 the HildonWizardDialogPageFunc function usage.
4025 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4026 (destroy), (hildon_wizard_dialog_init), (response),
4027 (hildon_wizard_dialog_set_forward_page_func):
4028 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4029 that applications can use to stop a HildonWizardDialog to jump to
4032 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4035 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4037 * src/hildon-program.h
4038 * src/hildon-program-private.h
4039 * src/hildon-program.c (hildon_program_init)
4040 (hildon_program_set_common_app_menu)
4041 (hildon_program_get_common_app_menu):
4042 New API for setting a common HildonAppMenu for all
4043 HildonStackableWindows registered with the HildonProgram.
4045 * src/hildon-stackable-window.c
4046 (hildon_stackable_window_toggle_menu):
4047 Use the common HildonAppMenu if a window doesn't have a specific
4050 * src/hildon-app-menu-private.h
4051 * src/hildon-app-menu.c
4052 (hildon_app_menu_get_parent_window):
4053 Function to obtain the window a HildonAppMenu is attached to.
4054 (hildon_app_menu_set_parent_window):
4055 Hide the menu if the parent window is set to NULL.
4057 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4059 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4060 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4061 search widget to popup.
4063 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4065 * configure.ac: post release version bump
4066 * debian/changelog: version bump
4068 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4073 * configure.ac: bump version
4074 * debian/changelog: updates
4076 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4078 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4080 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4081 (hildon_window_stack_window_realized)
4082 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4083 Set the leader GdkWindow when a window is stacked and realized,
4084 unset it when it's unstacked.
4085 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4087 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4089 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4091 * src/hildon-stackable-window.h
4092 * src/hildon-window-stack.h:
4093 Protect definition of HildonWindowStack using the preprocessor.
4095 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4097 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4098 Fix warning if all menu items are hidden.
4100 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4102 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4104 * src/hildon-controlbar.c:
4105 * src/hildon-hvolumebar.c:
4106 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4107 Multiple scale size defines updates.
4109 Fixes: NB#94322 (Scale Updates)
4111 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4113 * examples/hildon-app-menu-example.c (create_menu)
4114 Show items after adding them to the menu, as in the future the
4115 menu will no longer call gtk_widget_show() on the added items.
4117 * src/hildon-app-menu.c:
4118 Update example as explained above.
4120 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4122 * src/hildon-app-menu.c
4123 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4124 Make sure that all menu items have finger height.
4126 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4128 * src/hildon-picker-dialog.c:
4129 (_on_dialog_response), (_save_current_selection),
4130 (_restore_current_selection), (_clean_current_selection),
4131 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4132 Defined new functions in order to save the current internal selector
4133 selection previous open the dialog, in case that the use cancel the
4134 interaction, so the widget restores the previous selection.
4136 Fixes: NB#92032 (In calendar application, date values in 'new event'
4139 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4141 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4143 * src/hildon-button.c: Add a reference to the button examples in
4144 hildon-button-example.c
4146 * examples/hildon-button-example.c: Added examples of the most
4147 common button layouts.
4149 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4151 * src/hildon-app-menu.c (hildon_app_menu_show)
4152 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4154 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4156 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4158 * src/hildon-picker-dialog.c:
4159 (hildon_picker_dialog_init): Initialize the signal id for
4160 HildonTouchSelector::columns-changed.
4161 (+on_selector_columns_changed): Set up the interaction mode everytime a
4162 column is added or removed from the HildonTouchSelector.
4163 (_hildon_picker_dialog_set_selector): Connect to
4164 HildonTouchSelector::columns-changed and keep track of it.
4166 Make sure to update the interaction mode of the dialog everytime a
4167 column is added or removed in the HildonTouchSelector.
4169 Fixes: NB#93228 (Done button is not shown always in listpicker)
4171 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4173 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4174 a new ::columns-changed signal.
4175 (hildon_touch_selector_append_column): Emit ::columns-changed.
4176 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4178 Add a ::columns-changed signal, emitted when the number of columns in a
4179 HildonTouchSelector changes.
4181 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4183 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4184 (_hildon_picker_dialog_set_selector): Factor out the code
4185 to set up the dialog interaction mode.
4187 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4189 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4190 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4191 to signal_changed_id.
4193 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4195 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4198 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4200 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4201 Updated the logical ids related to ampm format, as now it is required to
4202 show it correctly localized even on languages with no default
4203 abbreviations for am or pm
4204 (_check_am_pm_format): check correctly the 24h format gconf property
4206 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4208 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4210 * src/hildon-button.c: Documentation updates.
4212 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4214 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4215 * src/hildon-caption.c: (hildon_caption_class_init):
4216 * src/hildon-color-button.c: (hildon_color_button_class_init):
4217 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4218 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4219 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4220 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4222 Remove deprecated GTK+ marshalers and replace them with the ones
4223 provided by GLib, for those available, add a marshaler for
4224 BOOLEAN:VOID, which is not available in GLib, and use it.
4226 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4228 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4229 the text from the previous column if there is no
4230 HildonTouchSelectorColumn::text-property set.
4232 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4234 * src/hildon-button.h
4235 * src/hildon-button.c (hildon_button_set_property)
4236 (hildon_button_get_property, hildon_button_class_init)
4237 (hildon_button_set_style, hildon_button_get_style):
4238 New "style" property to change the visual appearance of the
4241 * src/hildon-picker-button.c (hildon_picker_button_new):
4242 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4244 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4245 HildonButton look like PickerButton)
4247 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4249 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4250 column while building the default string.
4252 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4254 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4255 scroll indicator by default.
4257 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4259 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4261 * src/hildon-main.c: Fix the documentation for hildon_init()
4263 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4265 * doc/hildon-docs.sgml
4269 * src/hildon-window-stack-private.h
4270 * src/hildon-window-stack.h
4271 * src/hildon-window-stack.c:
4272 New HildonWindowStack object, that adds support for multiple
4273 stacks of windows per process.
4275 * src/hildon-stackable-window-private.h
4276 * src/hildon-stackable-window.h
4277 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4278 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4279 (hildon_stackable_window_show, hildon_stackable_window_hide)
4280 (hildon_stackable_window_class_init)
4281 (hildon_stackable_window_init):
4282 Use HildonWindowStack for stack management.
4284 * src/hildon-program.c (hildon_program_pop_window_stack)
4285 (hildon_program_peek_window_stack)
4286 (hildon_program_go_to_root_window):
4287 Add a fallback implementation to the deprecated functions using
4290 * examples/hildon-stackable-window-example.c:
4291 Use the new HildonWindowStack API.
4293 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4295 * src/hildon-stackable-window-private.h
4296 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4297 (hildon_stackable_window_hide, hildon_stackable_window_init):
4298 Remove all window stack management.
4300 * src/hildon-program-private.h
4301 * src/hildon-program.h
4302 * src/hildon-program.c (hildon_program_init)
4303 (hildon_program_pop_window_stack)
4304 (hildon_program_peek_window_stack)
4305 (hildon_program_go_to_root_window):
4306 Remove all window stack management and mark functions as
4309 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4311 * src/hildon-app-menu.c (hildon_app_menu_realize):
4312 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4314 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4316 * configure.ac: post release version bump
4317 * debian/changelog: version bump
4319 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4324 * configure.ac: bump version
4325 * debian/changelog: updates
4327 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4329 Based on initial code by Christian Dywan (christian@imendio.com)
4331 * doc/hildon-docs.sgml: Add section for hildon-main.
4332 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4333 * src/Makefile.am: Add new hildon-main.[ch]
4334 * src/hildon-defines.h: Update the icon sizes.
4335 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4336 new library initialization files and register icon sizes.
4337 * src/hildon-main.h: New declarations.
4338 * src/hildon.h: Include hildon-main.h
4340 Add new initialization functions to the library. These methods
4341 will register the hildon specific icon sizes and can be used in the
4342 future for other hildon specific bits.
4344 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4346 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4348 * src/hildon-window.c: (hildon_window_realize),
4349 (hildon_window_notify), (-hildon_window_update_title): Do not set
4350 the application name in the window title.
4352 Fixes: NB#89754 (Applications shouldn't display their names in the
4355 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4357 * src/hildon-note-private.h:
4358 * src/hildon-note.c: (hildon_note_set_property),
4359 (hildon_note_get_property), (hildon_note_class_init),
4360 (hildon_note_init), (hildon_note_finalize),
4361 (hildon_note_new_confirmation_with_icon_name),
4362 (hildon_note_new_information_with_icon_name):
4364 No need to mark as deprecated the actual code. Revert
4365 to avoid missing symbols in widgets using deprecated API.
4367 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4369 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4371 * src/hildon-volumebar.h
4372 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4373 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4375 * src/hildon-helper.h
4376 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4377 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4379 * examples/Makefile.am:
4380 Deprecate hildon-insensitive-example
4382 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4384 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4386 * examples/hildon-pannable-area-buttons-scroll-example.c:
4387 Make all buttons finger height
4389 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
4391 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4393 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4394 update the day model only if it is really required, and to avoid the
4395 full-reconstruction aproach. Now it only add or remove the required days.
4397 The purpose of this is avoid superfluous HildonTouchSelector::changed
4400 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4401 with strange parameters)
4403 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
4405 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4407 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4408 the WINDOW_TYPE property.
4410 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4412 2008-11-19 Alberto Garcia <agarcia@igalia.com>
4415 Fix dependency to allow parallel compilation with make -jX
4417 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
4419 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
4420 color frame and some minor tweaks to make it more consistent with
4423 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4424 highlighted but not visible)
4426 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4428 * examples/Makefile.am: Fixed typo in the Makefile.am.
4430 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4432 Reviewed the use of MAEMO_GTK define, now we add the define in the
4433 compilation line, and we also add it to the pc file.
4435 * configure.ac: Added MAEMO_GTK define to the compilation command
4436 and removed it from the config.h.
4438 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
4439 do not have to take care about this define if the library was
4443 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
4445 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4447 * examples/Makefile.am,
4448 * examples/hildon-pannable-area-buttons-scroll-example.c,
4449 * examples/hildon-pannable-area-gesture-signals-example.c,
4450 * examples/hildon-pannable-area-scroll-jump-example.c,
4451 * examples/hildon-pannable-area-tree-view-example.c:
4452 Renamed the pannable area examples, now they have more meaningful
4455 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
4457 * src/hildon-touch-selector.c:
4458 (hildon_touch_selector_set_column_selection_mode): Used of
4459 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
4460 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
4461 to avoid re-seting the same selection mode.
4463 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
4464 breaks HildonPickerDialog)
4466 2008-11-13 Alejandro G. Castro <alex@igalia.com>
4468 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
4469 conditional in the Makefile.am
4471 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
4473 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
4474 Remove unused methods.
4476 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4478 * src/hildon-button.c (hildon_button_init):
4479 Make button images center-aligned by default
4481 2008-11-12 Alejandro G. Castro <alex@igalia.com>
4484 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
4485 activated, we have to think about how to deal with both defines
4486 MAEMO_GTK and MAEMO_CHANGES.
4488 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4490 * examples/hildon-app-menu-example.c (create_menu): Make all
4491 buttons finger size.
4493 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4495 Fixed the compilation without maemo gtk adding ifdefs with
4496 MAEMO_GTK define to the code, we have to check this version more
4499 * examples/Makefile.am: Added control to avoid some examples that
4500 just make sense with maemo gtk.
4503 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
4504 hildon modes with the define.
4506 * examples/hildon-edit-toolbar-example.c,
4507 (create_icon_view): Create the icon view without hildon-gtk
4508 helpers if we are not using maemo gtk.
4510 * src/hildon-touch-selector.c,
4511 (_create_new_column): Create the treeview without hildon-gtk
4512 helpers if we are not using maemo gtk.
4514 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4516 * src/hildon-pnnable-area.c,
4517 (hildon_pannable_area_dispose),
4518 (hildon_pannable_area_button_press_cb),
4519 (hildon_pannable_area_child_mapped),
4520 (hildon_pannable_area_add),
4521 (hildon_pannable_area_remove): Added code to control the position
4522 of the event_window when adding and removing children from the
4523 pannable. We have to raise the event window when the child is
4526 Fixes: NB#89811 (Not able to select first image thumbnail in multi
4527 selection mode using custom widget inside pannable)
4529 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4531 * configure.ac: post release version bump
4532 * debian/changelog: version bump
4534 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4539 * configure.ac: bump version
4540 * debian/changelog: updates
4542 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
4544 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
4545 search mode, in order to avoid lose the focus on the treeview when
4546 a hw key (like enter) is pressed.
4548 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
4549 in HildonDateSelector dialog)
4551 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
4553 * debian/rules: Added --enable-maintainer-mode
4554 * Makefile.am: Added ACLOCAL_AMFLAGS
4556 This allows to properly regenerate the Makefiles if you modify the
4557 configure.ac or any Makefile.am.
4559 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4561 * examples/hildon-app-menu-example.c: (main): Do not set RC style
4562 properties, not needed at all.
4564 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4566 * src/hildon-note-private.h: Add strings for the icon and stock_icon
4568 * src/hildon-note.c: (hildon_note_set_property),
4569 (hildon_note_get_property), (hildon_note_class_init),
4570 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
4571 (hildon_note_new_confirmation_add_buttons): Remove icons.
4572 (hildon_note_new_confirmation_with_icon_name): Deprecate.
4573 (hildon_note_new_information_with_icon_name): Deprecate.
4574 (hildon_note_new_confirmation): Act directly, without calling
4575 the deprecated constructor.
4576 (hildon_note_new_information): Act directly, without calling
4577 the deprecated constructor.
4578 * src/hildon-note.h: Mark deprecate methods as such.
4579 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
4580 not run tests on the deprecated methods if built with deprecation
4583 Fixes: NB#91688 (Never show icons in information notes/confirmation
4586 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4588 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
4589 (hildon_app_menu_key_press): Remove leftover usage of the
4590 private structure in HildonAppMenu struct.
4591 * src/hildon-app-menu.h: Remove leftover private structure
4592 from the HildonAppMenu struct.
4594 Fixes a crasher when using the HildonAppMenu.
4596 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4598 * src/hildon-picker-dialog.c: Use appropriate logical id
4599 for the default "Done" text.
4601 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4603 * configure.ac: post release version bump
4604 * debian/changelog: version bump
4606 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
4608 Modified the way to scroll to the current selection just when the touch
4609 selector is shown on the screen, avoiding a g_idle. Added too a property
4610 to configure this behaviour. See hildon_pannable_area_jump_to_child
4611 documentation for more information.
4613 * src/hildon-touch-selector.c
4614 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
4615 Added 'initial-scroll' property
4616 (hildon_touch_selector_set_property): Added
4617 (hildon_touch_selector_map): Removed as not required anymore
4618 (_hildon_touch_selector_on_selected_items): Modified in order to manage
4619 only a concrete column, instead of iterate along all the columns
4621 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4626 * configure.ac: bump version
4627 * debian/changelog: updates
4629 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4631 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
4632 compilation time warnings.
4634 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4636 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4637 the default value for HildonPannableArea::mov-mode to
4638 HILDON_PANNABLE_AREA_MODE_VERT.
4640 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
4642 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4644 Reverting following commit:
4646 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4648 * src/hildon-app-menu-private.h
4649 * src/hildon-app-menu.[ch]
4650 * src/hildon-button.[ch]
4651 * src/hildon-check-button.[ch]
4652 * src/hildon-entry.[ch]
4653 * src/hildon-pannable-area.[ch]
4654 * src/hildon-text-view.[ch]:
4655 Added private field to the object's structure.
4657 because it causes an ABI breakage. We will need to introduce these
4658 changes later at some point. See NB#91636 for an extensive
4659 explanation and status.
4661 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4663 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4665 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4666 remove special cases that are no longer necessary.
4668 Fixes: NB#91016 (Change toolbar sizes, simplification)
4670 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4672 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4673 is shown in the cancel note.
4675 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4677 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
4678 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
4679 (hildon_seekbar_init): Remove steppers, remove expose event.
4680 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
4682 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
4684 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
4686 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
4687 label font to "SmallSystemFont" for vertically arranged buttons.
4689 Fixes: NB#90662 (HildonButton "value" and "detail" text is
4692 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4694 * src/hildon-check-button.c
4695 (hildon_check_button_set_active, hildon_check_button_clicked):
4696 Don't access private parts directly, use getters instead.
4698 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4700 * src/hildon-check-button.c (hildon_check_button_new):
4701 Align the contents of the check button to the left.
4703 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4705 * src/hildon-pannable-area.c,
4706 (hildon_pannable_area_scroll_to),
4707 (hildon_pannable_area_jump_to),
4708 (hildon_pannable_area_scroll_to_child),
4709 (hildon_pannable_area_jump_to_child): Replace the mapped
4710 precondition of these functions with the realized, it is the
4711 correct state of the widget in this case. Changed the
4712 documentation according to this modification.
4714 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4716 Added a new EXTRA_CFLAGS option to add the deprecated define to
4717 the compilation command. This way we can avoid using the define in
4718 the documentation compilation.
4720 * configure.ac: Defined EXTRA_CFLAGS.
4722 * examples/Makefile.am:
4724 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
4726 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
4728 * src/hildon-picker-dialog.c:
4729 Defined a utility macro with the desired touch selector height
4730 Removed currently unused separator, and title_label variables from
4732 (hildon_picker_dialog_init): Removed code related to the creation
4733 of unused private variables title_label and separator.
4734 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
4735 to ensure correct visualization of the touch selector inside the dialog.
4736 * src/hildon-touch-selector.c
4737 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
4738 ensure a concrete height of the widget.
4740 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4743 * tests/Makefile.am:
4745 Remove spurious whitespaces.
4747 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4749 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
4750 compilation warning after the cancel button removal.
4752 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4754 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
4756 * configure.ac: Added an AM_CONDITIONAL in order to use in the
4757 Makefile.am, that way we can choose not to compile some examples
4758 and tests of the deprecated widgets.
4760 * examples/Makefile.am: Divided the sources in deprecated and
4763 * src/Makefile.am: Added undef statement of the deprecated
4764 symbol to the enums file generation process.
4766 * src/hildon-color-chooser-dialog.c
4767 * src/hildon-color-chooser-dialog.h
4768 * src/hildon-color-button.c
4769 * src/hildon-color-button.h
4770 * src/hildon-color-chooser.c
4771 * src/hildon-color-chooser.h
4772 * src/hildon-controlbar.c
4773 * src/hildon-controlbar.h
4774 * src/hildon-date-editor.c
4775 * src/hildon-date-editor.h
4776 * src/hildon-hvolumebar.c
4777 * src/hildon-hvolumebar.h
4778 * src/hildon-private.c
4779 * src/hildon-private.h
4780 * src/hildon-range-editor.c
4781 * src/hildon-range-editor.h
4782 * src/hildon-seekbar.c
4783 * src/hildon-seekbar.h
4784 * src/hildon-time-editor.c
4785 * src/hildon-time-editor.h
4786 * src/hildon-time-picker.c
4787 * src/hildon-time-picker.h
4788 * src/hildon-volumebar.c
4789 * src/hildon-volumebar.h
4790 * src/hildon-vvolumebar.c
4791 * src/hildon-vvolumebar.h
4792 * src/hildon-bread-crumb-trail.h
4793 * src/hildon-bread-crumb-trail.c
4794 * src/hildon-calendar-popup.c
4795 * src/hildon-calendar-popup.h
4796 * src/hildon-weekday-picker.c:
4797 * src/hildon-weekday-picker.h:
4798 * src/hildon-bread-crumb-widget.c:
4799 * src/hildon-bread-crumb-widget.h:
4800 * src/hildon-bread-crumb.c:
4801 * src/hildon-bread-crumb.h:
4802 * src/hildon-calendar.c:
4803 * src/hildon-calendar.h:
4804 * src/hildon-caption.c:
4805 * src/hildon-code-dialog.c:
4806 * src/hildon-code-dialog.h:
4807 * src/hildon-font-selection-dialog.c:
4808 * src/hildon-font-selection-dialog.h:
4809 * src/hildon-get-password-dialog.c:
4810 * src/hildon-get-password-dialog.h:
4811 * src/hildon-login-dialog.c:
4812 * src/hildon-login-dialog.h:
4813 * src/hildon-number-editor.c:
4814 * src/hildon-number-editor.h:
4815 * src/hildon-set-password-dialog.c:
4816 * src/hildon-set-password-dialog.h:
4817 * src/hildon-sort-dialog.c:
4818 * src/hildon-sort-dialog.h: This is the list of deprecated
4821 * src/hildon-touch-selector.c:
4822 * src/hildon-window.c: Added undef statement to avoid compilation
4825 * tests/Makefile.am: Divided the sources in deprecated and
4828 * tests/check_test.c,
4829 (configure_tests): Marked the deprecated code that was adding
4830 suites with deprecated tests.
4832 Fixes: NB#91135 (Deprecate legacy hildon widgets)
4834 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4836 * src/hildon-touch-selector.c: (_default_print_func): Do not
4837 duplicate a string returned by gtk_tree_model_get(), it is already
4840 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
4843 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4845 * src/hildon-pannable-area.c
4846 (hildon_pannable_area_add_with_viewport): Reviewed the complete
4847 method, it had problems when adding a widget with viewport the
4848 second time. Now checks if it already has a viewport and uses it.
4850 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
4853 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4855 * src/hildon-pannable-area.c,
4856 (hildon_pannable_area_scroll_to),
4857 (hildon_pannable_area_jump_to),
4858 (hildon_pannable_area_scroll_to_child),
4859 (hildon_pannable_area_jump_to_child): Added a precondition to the
4860 scroll and jump to functions: the widget must be mapped before we
4861 can safely call these functions. We have also added documentation
4862 to the functions to explain how to use them in this situation.
4865 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4867 Reviewed the threading handling of the pannable widget, we have
4868 used the gdk_threads_add_timeout function instead of the usual
4869 glib handlers. This avoids some problems with the threads.
4871 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
4872 (hildon_pannable_area_initial_effect),
4873 (hildon_pannable_area_scroll_indicator_fade),
4874 (hildon_pannable_area_button_press_cb),
4875 (hildon_pannable_area_timeout),
4876 (hildon_pannable_area_motion_notify_cb),
4877 (hildon_pannable_area_button_release_cb),
4878 (hildon_pannable_area_scroll_cb),
4879 (hildon_pannable_area_scroll_to): Removed the
4880 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
4881 gdk_threads_add_timeout.
4883 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
4885 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4890 * configure.ac: bump version
4891 * debian/changelog: updates
4893 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4895 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4896 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
4897 * src/hildon-color-chooser-dialog.c:
4898 (hildon_color_chooser_dialog_init):
4899 * src/hildon-font-selection-dialog.c:
4900 (hildon_font_selection_dialog_init):
4901 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
4903 Remove all cancel/close-like dialogs, as these are not going to be
4906 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4908 * src/hildon-note.c: (hildon_note_rebuild),
4909 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
4912 Fixes: NB#90661 (Delete dialog is displayed without NO button)
4914 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4916 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
4917 sure all buttons are shown, even the Cancel/Close-like ones.
4919 Fixes: NB#90861 (Custom Confirmation dialogs should be
4920 protected from cancel button removal)
4922 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4924 * debian/control: Change libhildon1-examples dependency from libhildon1
4926 * debian/libhildon1-examples.install
4928 * Makefile.am: Modified the final install directory for the examples on
4929 package libhildon1-examples
4930 * Makefile.static: Update clean target in order to remove all the binary
4933 Changes suggested by Claudio after review new libhildon1-examples package
4935 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
4937 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
4938 * src/hildon-touch-selector.c: Ditto.
4940 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4942 * debian/control: Added new package libhildon1-examples, in order to pack
4943 the current hildon examples as documentation
4944 * debian/rules: Not to compress .c files, modify some includes on the
4945 examples (as normally are compiled locally, but when installed it will
4946 require to include the installed libhildon1 library), and rename
4948 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
4949 install all the example files on the new example package
4950 * examples/Makefile.static: Added static makefile that can be used to
4951 compile the examples, once installed the new example package
4952 * examples: Most of the examples were modified in order to grant that
4953 all use only '#include "hildon.h"', in order to be easy to prepare
4954 it on the example package
4956 2008-10-23 Alberto Garcia <agarcia@igalia.com>
4959 * debian/libhildon1-dev.install
4960 * debian/libhildon1-doc.install:
4961 Move all gtk-doc files to a separate libhildon1-doc package.
4963 2008-10-23 Daniel Borgmann <danielb@openismus.com>
4965 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4967 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
4969 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
4971 * debian/rules: Fixed a error in order to avoid unnecessary calls
4972 to autogen.sh on package building
4974 2008-10-22 Alberto Garcia <agarcia@igalia.com>
4976 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
4978 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4980 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
4983 2008-10-21 Alberto Garcia <agarcia@igalia.com>
4985 * src/hildon-picker-button.c
4986 (hildon_picker_button_finalize):
4987 Free priv->done_button_text
4989 * src/hildon-time-button.c
4990 (hildon_time_button_set_time)
4991 * src/hildon-picker-button.c
4992 (hildon_picker_button_clicked)
4993 (hildon_picker_button_selector_selection_changed)
4994 (hildon_picker_button_set_selector)
4995 * src/hildon-date-button.c
4996 (hildon_date_button_set_date):
4997 Free strings returned by hildon_touch_selector_get_current_text()
4999 * src/hildon-button.c (hildon_button_construct_child):
5000 Fix leaks in priv->image and priv->label_box
5002 Fixes: NB#90535 (Memory leak in picker button)
5004 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5006 * src/hildon-button.c: (hildon_button_get_property): Do not access
5007 private elements directly, use getters instead.
5009 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5011 * src/hildon-app-menu-private.h
5012 * src/hildon-app-menu.c
5013 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5014 Store the menu's parent window.
5016 * src/hildon-stackable-window.c
5017 (hildon_stackable_window_toggle_menu)
5018 (hildon_stackable_window_finalize):
5019 Set the menu's parent window when the menu is shown, unset it when
5022 * src/hildon-app-menu.c
5023 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5024 (hildon_app_menu_class_init):
5025 Send unhandled keyboard accelerators to the parent window.
5027 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5029 * src/hildon-stackable-window.c
5030 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5032 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5034 * configure.ac: post release version bump
5036 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5039 * configure.ac: Bump version
5040 * debian/changelog: Updates
5041 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5044 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5046 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5049 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5050 GtkMenu with Hildon style.
5052 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5054 * src/hildon-picker-button.c:
5055 (hildon_picker_button_set_done_button_text): Set the dialog's
5056 done button text here as well.
5058 Fixes: NB#90232 (Picker button does not set the label on done button
5059 for the second time)
5061 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5063 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5066 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5068 * src/hildon-app-menu.c (hildon_app_menu_insert)
5069 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5070 the HildonAppMenu to be activatable using keyboard accelerators
5071 when the menu is not being shown.
5073 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5075 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5077 * src/hildon-stackable-window.c
5078 (hildon_stackable_window_show):
5079 Don't hide old windows automatically when new windows are shown:
5080 this is now a task for the window manager.
5081 (hildon_stackable_window_class_init)
5082 (hildon_stackable_window_hide):
5083 Remove windows from the stack everytime they're hidden.
5084 (hildon_stackable_window_realize):
5085 Don't change the _NET_WM_WINDOW_TYPE property. Use
5086 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5087 it as a stackable window.
5089 * src/hildon-program.c
5090 (hildon_program_pop_window_stack):
5091 Just hide the window to remove it from the stack.
5092 (hildon_program_go_to_root_window):
5093 Don't call gtk_widget_show(), this is now a task for the window
5096 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5098 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5100 * src/hildon-button.c
5101 (hildon_button_construct_child):
5102 Don't pack anything in the button until text or image are
5103 set. This allows adding a custom child after creating the button
5104 with hildon_button_new().
5105 (hildon_button_finalize, hildon_button_class_init)
5106 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5107 alignment and the label box even when they're not packed in the
5110 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5112 * src/hildon-touch-selector.h:
5113 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5114 currently the type definition was using GTK_TYPE_VBOX
5115 * src/hildon-touch-selector.c:
5116 Added some implementation notes in order to clarify that any other widget
5117 added without the column related API will not be included on the
5118 selection logic, and how the widget is freed, as some people ask about
5120 (hildon_touch_selector_remove): Reimplemented in order to free properly
5121 the column related data when you remove the private hbox.
5122 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5123 to get a proper HildonTouchSelectorColumn documentation
5125 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5127 * src/hildon-touch-selector-entry.c:
5128 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5129 text in the GtkEntry and there is no item selected. Fixes a
5132 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5134 * src/hildon-app-menu-private.h
5135 * src/hildon-app-menu.[ch]
5136 * src/hildon-button.[ch]
5137 * src/hildon-check-button.[ch]
5138 * src/hildon-entry.[ch]
5139 * src/hildon-pannable-area.[ch]
5140 * src/hildon-text-view.[ch]:
5141 Added private field to the object's structure.
5143 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5145 * configure.ac: post-release version bump
5147 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5151 * configure.ac: pre-release version bump
5153 * debian/changelog: updates.
5155 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5157 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5158 Disconnect the handler for HildonTouchSelector::changed.
5160 (hildon_picker_button_selector_selection_changed): Update the button
5161 value if the selection change was not triggered by the
5164 (hildon_picker_button_set_selector): connect to
5165 HildonTouchSelector::changed.
5167 Fixes: NB#89650 (Picker button is not updated, when selection in
5168 selector has changed)
5170 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5172 * src/hildon-picker-dialog.c
5173 (hildon_picker_dialog_realize): Removed as not required
5174 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5175 * src/hildon-picker-button.c
5176 (_current_selector_empty): New function, checks if the selector is empty
5177 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5178 if the current selector is empty, in order to avoid to show the dialog
5179 close the dialog in this case (and shows a g_warning).
5181 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5183 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5185 * src/hildon-pannable-area.c,
5186 (hildon_pannable_area_scroll): Added clause to stop movement when
5187 the child of pannable is smaller than one page.
5188 (hildon_pannable_area_scroll_to): Added conditions to avoid
5189 starting the scrolling movement if the child is smaller than one
5190 page, the complete child is in the screen, we do not have to move.
5192 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5194 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5196 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5197 this is managed automatically by the widget when the size of the
5200 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5202 * src/hildon-picker-button.c
5203 (hildon_picker_button_set_done_button_text): Make a copy of the
5204 text, and free the previous value.
5206 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5208 * src/hildon-touch-selector-entry.c:
5209 (hildon_touch_selector_entry_print_func): Return the selected row's
5210 text if the entry is empty.
5212 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5215 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5217 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5219 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5222 * src/hildon-check-button.h
5223 * src/hildon-check-button.c
5224 * examples/hildon-check-button-example.c:
5225 HildonCheckButton is now a new widget. 'toggled' signal added.
5227 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5229 * src/hildon-program-private.h
5230 * src/hildon-program.c (hildon_program_init)
5231 (hildon_program_finalize): Removed unused variables group_leader
5232 and name from HildonProgramPrivate.
5234 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5236 * src/hildon-check-button.c (hildon_check_button_set_active)
5237 (hildon_check_button_get_active, hildon_check_button_new): Use
5238 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5240 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5242 * src/hildon-touch-selector.h
5243 (hildon_touch_selector_set_column_attributes): added deprecation
5244 guard HILDON_DISABLE_DEPRECATED
5245 * src/hildon-time-selector.c
5246 (hildon_time_selector_set_time)
5247 (hildon_time_selector_get_time): Fixed a typo on documentation
5248 * src/hildon-touch-selector.c: update HildonTouchSelector and
5249 HildonTouchSelectorColumn documentation
5250 * src/hildon-touch-selector-entry.c: update "text-column" property
5252 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5253 to be added to the general documentation.
5255 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5257 * examples/hildon-pannable-area-example-4.c,
5259 * examples/hildon-pannable-area-example.c,
5260 (main): Modified the code in order to use the container add, with
5261 viewport treeviews could have problems if they are really big.
5263 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5265 * src/hildon-weekday-picker.c,
5266 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5267 the agreement regarding deprecation in the library.
5269 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5271 * examples/hildon-picker-button-multicolumn-example.c:
5272 (main): Use custom "done" button text.
5274 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5275 (hildon_picker_button_set_property),
5276 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5277 (hildon_picker_button_init),
5278 (+hildon_picker_button_get_done_button_text),
5279 (+hildon_picker_button_set_done_button_text): New methods to customize
5280 the "done" button label in the launched HildonPickerDialog. Also,
5283 * src/hildon-picker-button.h: add the public API.
5285 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5287 * src/hildon-date-selector.h:
5288 * src/hildon-picker-dialog.h:
5289 * src/hildon-time-selector.h:
5290 * src/hildon-touch-selector-column.h:
5291 * src/hildon-touch-selector.h:
5293 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5294 declarations. Fixes gtk-doc warnings.
5296 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5298 * src/hildon-picker-dialog.h
5299 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5300 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5302 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5303 long text is set as label for done button)
5305 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5307 * src/hildon-dialog.c (hildon_dialog_add_button):
5308 Set fixed width to all buttons in the HildonDialog.
5310 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5312 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5314 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5315 Set widget name using class name plus "-finger" or "-thumb".
5317 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5319 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5320 'clicked' when the state of the button is manually changed.
5322 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5324 * src/hildon-app-menu.c (hildon_app_menu_realize)
5325 (hildon_app_menu_unrealize, hildon_app_menu_init)
5326 (hildon_app_menu_class_init, item_visibility_changed):
5327 Change the menu layout when the size of the screen changes.
5328 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5329 Show warning only when changing the number of colums using the
5332 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5334 * debian/compat: Set to 5
5335 * debian/control: Update dependencies.
5336 * debian/libhildon1-dbg.install: Remove.
5337 * debian/libhildon1-dev.install: Update according to cdbs paths.
5338 * debian/libhildon1.install: Update according to cdbs paths.
5339 * debian/rules: Switch to cdbs.
5341 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5343 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5344 'item' variable renamed to 'filter'
5346 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5348 * src/hildon-app-menu.c (hildon_app_menu_insert)
5349 (hildon_app_menu_add_filter, remove_item_from_list)
5350 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5351 Don't leak hidden items when the menu is destroyed.
5353 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5355 * src/hildon-app-menu.c (hildon_app_menu_insert)
5356 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5357 (hildon_app_menu_set_columns, item_visibility_changed)
5358 (filter_visibility_changed, hildon_app_menu_repack_filters)
5359 (hildon_app_menu_repack_items):
5360 Repack items and filters separately.
5362 Don't repack all items, change only the ones that are needed to
5365 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5367 * src/Makefile.am: added hildon-touch-selector-column.h
5369 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5371 * src/hildon-touch-selector.c: added the property "text-column" to the
5372 class HildonTouchSelectorColumn, and related get/set functions
5373 (_default_printf_func): updated to use "text-column" property
5374 * src/hildon-touch-selector-entry.c: mark as deprecated the property
5375 "text-column" in his documentation, as this is now included on
5376 HildonTouchSelectorColumn. The get/set_property can still be used,
5377 working as a wrapper to the concrete column "text-column" property
5378 (_text_column_modified): callback added in order to handle the signal
5379 "notify::text-column" of the concrete HildonTouchSelectorColumn
5380 (hildon_touch_selector_entry_get_text_column)
5381 (hildon_touch_selector_entry_set_text_column): Added documentation, and
5382 modified in order to use the HildonTouchSelectorColumn "text-column"
5384 * src/hildon-time-selector.c:
5385 * src/hildon-date-selector.c:
5386 * examples/hildon-touch-selector-example.c
5387 * examples/hildon-touch-selector-multi-cells-example.c
5388 * examples/hildon-picker-button-multicolumn-example.c
5389 Set the right value to "text-column" property on the creation of a new
5390 column using hildon_touch_selector_append_column()
5392 Fixes: NB#88644 (Hardcoded first column of the model as text column)
5394 2008-09-30 Alberto Garcia <agarcia@igalia.com>
5396 * src/hildon-app-menu.c
5397 (hildon_app_menu_construct_child, hildon_app_menu_init): When
5398 updating the layout of the menu, don't create all widgets again,
5399 just repack the items in their new places.
5401 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
5403 * src/hildon-time-selector.c
5404 (hildon_time_selector_get_time)
5405 (hildon_time_selector_set_time)
5406 Added documentation of these public methods
5408 * src/hildon-date-button.h
5409 * src/hildon-touch-selector-column.h
5410 * src/hildon-time-button.h
5411 * src/hildon-picker-dialog.h
5412 * src/hildon-time-selector.h
5413 * src/hildon-picker-button.h
5414 * src/hildon-touch-selector.h
5415 * src/hildon-time-picker.h
5416 * src/hildon-date-selector.h
5417 * src/hildon-touch-selector-entry.h
5418 Modified in order to use hildon-widgets code style
5420 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5422 Added deprecated support to the compilation process using
5423 HILDON_DISABLE_DEPRECATED
5425 * configure.ac: Added the --disable-deprecated to the configure
5428 * src/hildon-weekday-picker.c:
5429 * src/hildon-weekday-picker.h: Deprecated widget, example of how
5430 to use the deprecated support. We will update the other deprecated
5431 widgets status in a new patch.
5433 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5435 * configure.ac: Fixed typo with fatal warnings support, the
5436 variable name was not correct
5438 2008-09-29 Alberto Garcia <agarcia@igalia.com>
5440 * src/hildon-app-menu.c
5441 * src/hildon-program.c: Update documentation.
5443 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5445 * configure.ac: Post-release version bump.
5447 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5452 * configure.ac: Pre-release version bump.
5453 * debian/changelog: Updates.
5455 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5457 * NEWS: Update news for previous releases.
5459 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5461 * examples/hildon-touch-selector-multi-cells-example.c:
5462 (create_selector): Update the example to use
5463 hildon_touch_selector_append_column() with a NULL renderer and set
5464 the renderers later.
5465 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
5466 passed a NULL renderer. This is documented behavior now.
5468 Allow passing a NULL renderer to hildon_touch_selector_append_column().
5469 This must be used if the developer wants full control on the layout of
5470 the renderers to be added to the column.
5472 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5474 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5476 * src/hildon-touch-selector.c: Documentation fixes.
5478 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5480 * src/hildon-wizard-dialog-private.h: Remove image and box.
5481 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
5482 (hildon_wizard_dialog_set_property), (response): Completely remove
5483 image/icon support, and the containers required for the layout.
5485 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
5487 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5489 * src/hildon-app-menu.c: Updated documentation.
5491 * src/hildon-stackable-window.c
5492 (hildon_stackable_window_set_main_menu): Unref the old menu after
5493 ref'ing the new one.
5495 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5497 * src/hildon-stackable-window.c
5498 (hildon_stackable_window_set_main_menu): Unref the previous menu
5499 instead of destroying it.
5501 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
5502 floating reference and set has_user_ref_count to FALSE to make
5503 HildonAppMenu act like a normal ref-counted widget and not a
5506 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
5509 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
5511 * src/hildon-touch-selector-column.h: new file
5512 * src/hildon-touch-selector.h
5513 * src/hildon-touch-selector.c
5514 Implemented GtkCellLayout interface, in order to allow to configure
5515 the cell layout on each individual selector column
5516 (hildon_touch_selector_set_column_attributes): marked as deprecated
5517 * examples/hildon-touch-selector-multi-cells-example.c
5518 Example of how to use the GtkCellLayout interface on the selector
5520 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5522 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5524 * src/hildon-app-menu.h
5525 * src/hildon-app-menu.c
5526 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
5527 (hildon_app_menu_append, hildon_app_menu_prepend):
5528 New methods to prepend, insert and move items in the menu.
5530 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5532 * src/hildon-wizard-dialog.c:
5534 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
5536 (create_title): Update logical IDs and related code.
5537 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
5539 * src/hildon-wizard-dialog.h: Note that
5540 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
5541 point, as it is not used anymore.
5543 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
5545 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5547 * src/hildon-note.c:
5548 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
5549 shown. Do not display an icon in confirmation notes nor information
5551 (hildon_note_set_button_text): Update logical ID for cancel button.
5553 Fixes: NB#88850 (Update HildonNote button strings + signals)
5555 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5557 * src/hildon-stackable-window.c
5558 (hildon_stackable_window_set_main_menu): Fix compilation warning.
5560 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5562 * src/hildon-app-menu-private.h
5563 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
5564 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
5565 (hildon_app_menu_init, hildon_app_menu_class_init): Added
5566 temporary property 'columns' to change the number of columns.
5568 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5570 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
5572 * examples/hildon-note-example.c: (on_information_clicked),
5573 (on_confirmation_clicked), (on_progress_clicked), (main): Add
5574 debugging information.
5575 * src/hildon-note-private.h: Remove close_if_pressed_outside,
5577 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
5578 (hildon_note_rebuild): Remove special handling of tapping outside/inside
5579 in order to close: this will be handled by the WM from now on.
5581 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
5583 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5585 * src/hildon-app-menu-private.h
5586 * src/hildon-app-menu.c
5587 (hildon_app_menu_append, hildon_app_menu_add_filter)
5588 (button_visibility_changed, hildon_app_menu_apply_style)
5589 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
5590 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
5591 layout everytime a button (item or filter) is shown or hidden.
5593 * src/hildon-stackable-window.c
5594 (hildon_stackable_window_set_main_menu): Destroy the old menu when
5597 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
5599 * src/hildon-touch-selector.c:
5600 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
5601 that the treeview inside the touch selector is in fremantle hildon mode
5602 * examples/hildon-date-button-example.c
5603 * examples/hildon-picker-button-multicolumn-example.c
5604 * examples/hildon-touch-selector-entry-example.c
5605 * examples/hildon-touch-selector-example.c
5606 * examples/hildon-time-button-example.c
5607 * examples/hildon-picker-button-example.c:
5608 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
5610 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
5612 * examples/hildon-text-view-example.c: (main): Remove the
5613 gtkrc bits, now handled by the theme.
5615 2008-09-22 Alberto Garcia <agarcia@igalia.com>
5617 * src/hildon-picker-button.c (hildon_picker_button_set_active):
5620 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5622 * po/Makefile.am: Install properly the mo files.
5623 * po/en_GB.po: Update translation, to ease testing purposes.
5625 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5627 * examples/hildon-picker-button-example.c: (main): Select an item
5628 in the selector before setting it to the button.
5630 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5632 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
5633 Update button's value if the selector has an item active.
5635 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
5636 'value' with the selector)
5638 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5640 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
5641 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
5642 (hildon_picker_button_class_init): Plug the finalize method.
5643 (hildon_picker_button_set_selector): If there's a previously set
5644 selector, unref'it before setting a new one.
5646 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
5647 HildonTouchSelector)
5649 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
5651 * src/hildon-touch-selector-entry.c:
5652 (hildon_touch_selector_entry_changed): Check if there is no text
5653 selected before setting the entry text.
5656 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5658 * src/hildon-touch-selector.h
5659 * src/hildon-touch-selector.c
5660 (hildon_touch_selector_get_active)
5661 (hildon_touch_selector_set_active): New methods to set/get the
5662 index of the selected item.
5664 * src/hildon-picker-button.h
5665 * src/hildon-picker-button.c
5666 (hildon_picker_button_get_active)
5667 (hildon_picker_button_set_active): New methods to set/get the
5668 index of the selected item.
5670 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5672 * configure.ac: post-release version bump.
5674 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5678 * configure.ac: Pre-release version bump.
5679 * debian/changelog: Updates.
5680 * debian/control: Add myself as maintainer and depend on l10n
5683 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5685 * src/hildon-window.c
5686 (hildon_window_set_main_menu)
5687 * src/hildon-stackable-window.c
5688 (hildon_stackable_window_set_main_menu):
5689 Updated documentation.
5691 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5693 * src/hildon-date-selector.c (hildon_date_selector_finalize):
5694 Don't free selector->priv manually.
5697 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5700 (hildon_gtk_window_set_progress_indicator):
5701 * src/hildon-gtk.h: Added the new API
5702 hildon_gtk_window_set_progress_indicator, it changes the state of
5703 the window progress hint.
5705 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5707 * src/hildon-button.c
5708 * src/hildon-stackable-window.c: Minor documentation updates.
5710 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5712 * src/hildon-stackable-window.c: Updated documentation.
5714 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
5716 * src/hildon-defines.h: Update margins definitions
5717 to the Fremantle sizes.
5720 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5722 * src/hildon-touch-selector.c,
5723 (_hildon_touch_selector_set_model): Cleaning the code after
5724 review, removed g_print and #if 0 from the code.
5726 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5728 * src/hildon-edit-toolbar.c: Update documentation.
5730 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5732 * src/hildon-check-button.h
5733 * src/hildon-check-button.c
5734 (hildon_check_button_set_label, hildon_check_button_get_label)
5735 * examples/hildon-check-button-example.c
5736 (button_clicked_cb):
5737 Removed deprecated methods.
5739 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5741 * src/hildon-text-view.c:
5742 Add sample code to the documentation.
5744 * src/hildon-entry.h
5745 * src/hildon-text-view.h:
5746 Minor cosmetic changes.
5748 * src/hildon-entry.c:
5749 Add sample code to the documentation.
5750 (hildon_entry_init, hildon_entry_refresh_contents):
5751 Don't allow NULL values in the placeholder.
5753 2008-09-10 Alberto Garcia <agarcia@igalia.com>
5755 * doc/hildon-docs.sgml
5757 * examples/Makefile.am
5758 * examples/hildon-text-view-example.c
5760 * src/hildon-text-view.c
5761 * src/hildon-text-view.h
5763 New HildonTextView widget, with example.
5765 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5767 * po/POTFILES.in: Add missing files with translatable strings.
5768 Partially fixes NB#88287.
5770 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5772 * examples/hildon-pannable-area-example-2.c: (main): No need to
5773 set the cellrenderer height inside hildon touch lists, the theme does
5776 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5778 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
5779 they are integrated in the theme.
5781 2008-09-09 Alberto Garcia <agarcia@igalia.com>
5783 * examples/hildon-entry-example.c: Update the example adding
5784 widgets to modify the text and the placeholder of the HildonEntry.
5786 * src/hildon-entry.c: Show the placeholder everytime the widget
5787 is empty and loses the focus.
5789 2008-09-09 Alejandro G. Castro <alex@igalia.com>
5791 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
5793 * src/hildon-pannable-area.c,
5794 (hildon_pannable_area_size_request): Fixed bug in height
5795 requisition, avoid increasing size and add border twice.
5797 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5799 * configure.ac: postrelease version bump.
5801 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5805 * configure.ac: Prerelease version bump.
5806 * debian/changelog: update.
5807 * debian/rules: make -dbg package contain useful debugging symbols.
5809 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5811 * src/hildon-dialog.h
5812 * src/hildon-dialog.c
5813 (hildon_dialog_add_button, hildon_dialog_add_buttons):
5814 New methods to add buttons with finger size.
5815 (hildon_dialog_new_with_buttons):
5816 Create buttons with finger size.
5818 * examples/hildon-dialog-example.c (main): Use HildonDialog
5819 methods to add buttons.
5821 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5823 * src/hildon-entry.c: Updated HildonButton documentation.
5825 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5827 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
5828 button value label with (FALSE, FALSE) to prevent NB#88126 from
5831 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5833 * examples/hildon-pannable-area-example.c,
5834 (main): Removed examples panning a vbox inside a pannable
5835 area. Check bug NB#87965
5837 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5839 Patch contributed by Kris Rietveld (kris@imendio.com)
5841 * src/hildon-pannable-area.c,
5842 (hildon_pannable_area_get_topmost): replaced the get_geometry with
5843 get_size and get_position, this saves an X server roundtrip.
5845 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5847 * doc/hildon-docs.sgml
5849 * examples/Makefile.am
5850 * examples/hildon-entry-example.c
5852 * src/hildon-entry.c
5853 * src/hildon-entry.h
5855 New HildonEntry widget, with example.
5857 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5859 * src/hildon-button.c (hildon_button_construct_child): Pack the
5860 image with expand == fill == FALSE. This is a workaround for a bug
5863 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
5865 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
5866 labels for the text column, to make it more look more dynamic.
5868 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5870 * src/hildon-time-selector.c
5871 Define gettext auxiliar macro N_
5872 (_create_minutes_model)
5873 (_create_hours_model)
5874 (_create_ampm_model): use of strftime in order to fill the model
5875 * src/hildon-date-selector.c
5876 (hildon_date_selector_finalize):
5877 (_locales_init): remove the logic related to get the name of the months
5878 using nl_langinfo, as it is not required anymore
5880 (_create_year_model)
5881 (_create_month_model)
5882 (_update_day_model): use of strftime in order to fill the model properly
5885 2008-09-04 Alberto Garcia <agarcia@igalia.com>
5887 * src/hildon-button.h
5888 * src/hildon-button.c (hildon_button_get_image): New method to
5891 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
5893 * src/hildon-touch-selector.c:
5894 (hildon_touch_selector_remove_column): Remove from the correct parent
5895 and also remove the list element and free it.
5898 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5900 * src/hildon-time-selector.c
5901 (_create_hours_model): change the range on 12h ampm format in order to use
5902 a 12-11 range instead of previous 01-12 range
5903 (hildon_time_selector_set_time): change the way to select the current time
5904 on 12h ampm format, due the change on the range
5905 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
5908 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
5910 * src/hildon-touch-selector.c
5911 (hildon_date_touch_selector_get_selected): fix the selection mode check,
5912 in order to allow use this function on multiple row selection mode if
5913 the column is different that the first one
5916 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
5918 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
5919 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
5921 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5923 * src/hildon-date-selector.h: clean some comments, now on the .c
5924 * src/hildon-date-selector.c
5925 (hildon_date_selector_select_month): first implementation
5926 (hildon_date_selector_select_day): added documentation, reimplemented
5927 using hildon_date_selector_select_current_date to avoid repeat code
5930 2008-09-02 Alejandro G. Castro <alex@igalia.com>
5932 Reviewed interaction logic based on device experiences, refactored
5935 * src/hildon-pannable-area.c,
5936 (hildon_pannable_area_class_init): Updated default vmax speed.
5937 (hildon_pannable_area_calculate_velocity): Added this function, it
5938 avoids duplicate valocity calculation. Adjusted calculation to
5939 avoid problems with zero dist events.
5941 (hildon_pannable_area_motion_notify_cb): Now we use the
5942 calculate_velocity function.
5944 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5946 * src/hildon-date-selector.c
5947 (hildon_date_selector_select_current_date): fix the day range check
5948 as it failed using the last day of the current month
5951 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5953 * src/hildon-touch-selector.c
5954 (hildon_touch_selector_get_num_columns): added a parameter validation
5957 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5959 * examples/Makefile.am
5960 * examples/hildon-edit-toolbar-example.c: Example of the
5961 HildonEditToolbar widget.
5963 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5965 * configure.ac: postrelease version bump.
5967 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5971 * configure.ac: prerelease version bump.
5972 * debian/changelog: update.
5974 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5976 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
5977 renderer to display stock icons in the touch list. Also, set the sizes
5978 to the recommended in the style guide.
5980 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5981 * src/hildon-touch-selector.h
5982 (hildon_touch_selector_set_active_iter): renamed, now is
5983 hildon_touch_selector_select_iter
5984 (hildon_touch_selector_get_active_iter): renamed, now is
5985 hildon_touch_selector_get_selected
5986 (hildon_touch_selector_unselect_iter): added
5987 * src/hildon-touch-selector.c
5988 Update after API modification (methods renamed)
5989 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
5990 order to avoid problems selecting multiple elements on the column
5991 (hildon_touch_selector_unselect_iter): added the implementation
5992 * src/hildon-time-selector.c
5993 * src/hildon-date-selector.c
5994 * src/hildon-touch-selector-entry.c
5995 Update methods calls after hildon-touch-selector.h API modification (methods
5998 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6000 * src/hildon-stackable-window.c
6001 (hildon_stackable_window_finalize): Call the parent class's finalize.
6003 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6005 * examples/hildon-touch-selector-example.c: (create_selector): Use
6006 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6009 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6011 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6012 set a cell background color, to respect theming.
6014 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6016 * doc/hildon-docs.sgml
6019 * src/hildon-edit-toolbar.c
6020 * src/hildon-edit-toolbar.h
6021 * src/hildon.h: New HildonEditToolbar widget.
6023 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6025 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6028 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6029 * src/hildon-touch-selector.c
6030 (_create_new_column): use g_object_set instead of two g_object_set_property
6032 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6033 * src/hildon-touch-selector.c
6034 (_create_new_column): use of hildon_gtk_tree_view_new to create
6035 the treeview, instead of use directly g_object_new
6036 (_create_new_column): update the property name "vindicator-mode" for the
6037 new one "vscrollbar-policy"
6038 * examples/hildon-date-button-example.c
6039 * examples/hildon-picker-button-multicolumn-example.c
6040 * examples/hildon-touch-selector-entry-example.c
6041 * examples/hildon-touch-selector-example.c
6042 * examples/hildon-time-button-example.c
6043 * examples/hildon-picker-button-example.c
6044 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6045 to all the treeviews inside a pannable area.
6047 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6049 * src/hildon-button.h
6050 * src/hildon-button.c (hildon_button_init)
6051 (hildon_button_set_arrangement, hildon_button_set_alignment)
6052 (hildon_button_set_title_alignment)
6053 (hildon_button_set_value_alignment)
6054 (hildon_button_set_image_alignment)
6055 (hildon_button_construct_child): New methods to set the alignment
6056 of the individual components of the button (title, value,
6057 image). Also, new method to alter the xscale and yscale properties
6058 of the GtkAlignment inside the button, so more complex layouts can
6061 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6063 * src/hildon-button.c (hildon_button_style_set)
6064 (hildon_button_class_init, hildon_button_set_arrangement)
6065 (hildon_button_construct_child): Apply style properties
6066 correctly. Use the 'image-spacing' style property too.
6068 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6070 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6071 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6074 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6076 * src/hildon-pannable-area.c,
6077 (hildon_pannable_area_size_request): Fixed problem with
6078 pannable-area size_request.
6080 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6082 Added management for the grab-focus to a child widget, like a
6083 range, we need to fade out the scrollbar when releasing.
6085 * src/hildon-pannable-area.c,
6086 (hildon_pannable_area_init): Connected the grab-focus signal to
6088 (hildon_pannable_area_grab_notify): Added this function in order
6089 to manage the situation when the grab-focus ends. We have to
6090 fade-out the scrollbar.
6092 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6094 * src/hildon-app-menu.c: Minor documentation update.
6096 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6098 * src/hildon-app-menu.c
6099 * examples/hildon-app-menu-example.c (create_menu): Update
6100 examples and documentation to explain how to connect callbacks.
6102 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6104 * examples/hildon-button-example.c
6105 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6106 hildon_stackable_window_new instead of gtk_window_new
6108 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6110 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6111 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6112 (hildon_pannable_area_set_property),
6113 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6114 (hildon_pannable_area_unrealize),
6115 (hildon_pannable_area_size_request),
6116 (hildon_pannable_area_size_allocate),
6117 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6118 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6119 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6120 (hildon_pannable_area_initial_effect),
6121 (hildon_pannable_area_redraw),
6122 (hildon_pannable_area_scroll_indicator_fade),
6123 (hildon_pannable_area_expose_event),
6124 (hildon_pannable_area_get_topmost), (synth_crossing),
6125 (hildon_pannable_area_button_press_cb),
6126 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6127 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6128 (hildon_pannable_area_motion_notify_cb),
6129 (hildon_pannable_area_button_release_cb),
6130 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6131 (hildon_pannable_area_remove),
6132 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6133 chage the code layout to a more GtkWidget like. Review the use of
6136 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6138 * examples/hildon-pannable-area-example-4.c,
6139 (main): Modified the name of the hindicator_mode to
6142 * src/hildon-pannable-area.c,
6143 (hildon_pannable_area_class_init),
6144 (hildon_pannable_area_motion_notify_cb),
6145 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6146 we have reduced the amount of signals and managed reviewed its
6147 rationale. Changed the default decelerate value.
6149 (hildon_pannable_area_add),
6150 (hildon_pannable_area_redraw): Refactored functions.
6152 (hildon_pannable_area_init),
6153 (hildon_pannable_area_get_property),
6154 (hildon_pannable_area_set_property):
6155 (hildon_pannable_draw_vscroll),
6156 (hildon_pannable_draw_hscroll),
6157 (hildon_pannable_area_initial_effect),
6158 (hildon_pannable_area_expose_event),
6159 (hildon_pannable_area_scroll),
6160 (hildon_pannable_area_button_press_cb),
6161 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6162 and vindicator_mode with hscrollbar_policy and
6163 vscrollbar_policy. Replaced hscroll and vscroll with
6164 hscroll_visible and vscroll_visible.
6166 (hildon_pannable_area_refresh): Refactor the function, remove
6167 variables and check the calls to this function, added resize
6168 conditions in case the children change their layout.
6170 (hildon_pannable_area_size_request): Added more detailed
6171 size_request calculation.
6174 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6176 * src/hildon-color-chooser.c
6177 (init_borders): use the correct gtk_border_free instead of g_free, to
6178 avoid a crash when this widget is used (ie: the three color selection
6181 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6183 * src/hildon-check-button.c,
6184 (hildon_check_button_set_active): Fixed problem when setting the
6185 active value, the widget was not redrawn.
6187 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6189 * src/hildon-pannable-area.c,
6190 (hildon_pannable_area_refresh),
6191 (hildon_pannable_area_scroll),
6192 (hildon_pannable_area_motion_notify_cb): Small code style change.
6194 (hildon_pannable_area_class_init): Default initial_hint set to
6195 FALSE, it is not in the specs.
6197 (hildon_pannable_area_initial_effect),
6198 (hildon_pannable_area_expose_event),
6199 (hildon_pannable_area_map),
6200 (hildon_pannable_area_init): Moved the launching point of the
6201 initial effect, it was in map but the sizes where not correct in
6202 that method so we do not know if we have the reproduce it. Now it
6203 is placed in the expose_event method and uses a variable to
6204 reproduce it just once.
6206 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6208 * src/hildon-pannable-area.c,
6209 (hildon_pannable_draw_vscroll),
6210 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6211 position allowed for the scrollbars.
6213 (hildon_pannable_area_size_allocate): Small style change.
6215 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6217 * src/hildon-pannable-area.c,
6218 (hildon_pannable_area_scroll_indicator_fade),
6219 (hildon_pannable_area_button_press_cb),
6220 (hildon_pannable_area_button_release_cb),
6221 (hildon_pannable_area_scroll_cb),
6222 (hildon_pannable_area_expose_event),
6223 (hildon_pannable_area_init): Added the define parameter
6224 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6225 and refactor the fade variable.
6227 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6229 * src/hildon-pannable-area.c,
6230 (hildon_pannable_area_redraw),
6231 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6232 lines, we were reimplemeting the redraw code.
6234 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6236 * src/hildon-pannable-area.c,
6237 (hildon_pannable_area_scroll_cb),
6238 (hildon_pannable_area_realize),
6239 (hildon_pannable_area_class_init): Added scroll_event management
6240 for pannable area, now we can scroll the usual desktop method.
6242 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6243 initialization of the parameters should depend on idle_id.
6245 (hildon_pannable_area_init),
6246 (hildon_pannable_area_map): Small code style modifications
6248 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6250 * src/hildon-pannable-area.c
6251 (hildon_pannable_area_button_press_cb),
6252 (hildon_pannable_area_motion_notify_cb),
6253 (hildon_pannable_area_button_release_cb),
6254 (hildon_pannable_area_size_allocate),
6255 (hildon_pannable_area_scroll_to): Improved the timeouts
6256 management, we avoid creating them each time.
6258 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6260 * src/hildon-pannable-area.c:
6261 (hildon_pannable_area_refresh),
6262 (hildon_pannable_area_motion_notify_cb),
6263 (hildon_pannable_area_class_init):
6264 * src/hildon-pannable-area.h:
6265 * src/hildon-touch-selector.c
6266 (_create_new_column):
6267 * examples/hildon-pannable-area-example-4.c:
6268 (horizontal_movement),
6269 (vertical_movement),
6271 Replaced the names of enums in the HildonPannableArea:
6272 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6273 HILDON_MOVEMENT_MODE_*
6274 - HILDON_PANNABLE_AREA_MOV_* ->
6276 - Removed HildonPannableAreaIndicatorMode, now we
6279 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6281 * examples/hildon-pannable-area-touch-grid-example.c
6282 * examples/hildon-pannable-area-touch-list-example.c: Fix
6283 compilation warnings.
6285 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6287 * src/hildon-gtk.c (hildon_gtk_button_new)
6288 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6289 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6290 images overriding the value of the "gtk-button-images" setting.
6292 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6294 * src/hildon-check-button.c (hildon_check_button_new):
6295 Instead of using a custom container, display the label and the
6296 checkbox using the standard GtkButton API.
6298 * examples/hildon-check-button-example.c (main): Don't use
6299 hildon_check_button_set_label() anymore
6301 * src/hildon-check-button.h
6302 * src/hildon-check-button.c
6303 (hildon_check_button_set_label, hildon_check_button_get_label):
6304 Set as deprecated, now we're using gtk_button_{get,set}_label()
6306 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6308 * src/hildon-pannable-area.c,
6309 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6310 GtkTreeview first line we detected it after the inclusion of the
6311 GtkWindowImpl in gtk+. We now check if the window is visible, not
6312 just if the pointer is over the window.
6313 (hildon_pannable_axis_scroll),
6314 (hildon_pannable_area_expose_event): Small style changes.
6316 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6318 * src/hildon-button.c: Update documentation.
6320 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6322 * examples/hildon-button-example.c: Add a switch to show images in
6325 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6327 * doc/hildon-docs.sgml: Some docs reorganization.
6329 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6331 * examples/hildon-pannable-area-touch-list-example.c
6333 * examples/hildon-pannable-area-touch-grid-example.c
6334 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6335 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6336 Fix memory leak when setting the tree model.
6338 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6342 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6344 * doc/hildon.types: Remove duplicated hildon_window_get_type
6345 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6346 documentation comment.
6348 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6350 * doc/Makefile.am: Complete list of private headers.
6352 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6354 * doc/hildon-docs.sgml
6355 * src/hildon-app-menu.c
6356 * src/hildon-bread-crumb.c
6357 * src/hildon-button.c
6359 * src/hildon-program.c
6360 * src/hildon-stackable-window.c
6361 * src/hildon-window.c: Lots of documentation updates.
6363 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6365 * debian/control: Depend on Gtk 2:2.12.9-0osso3
6367 * configure.ac: Require Gtk+ 2.12.9 at least
6369 2008-08-12 Alejandro G. Castro <alex@igalia.com>
6371 * src/hildon-pannable-area.c
6372 (hildon_pannable_area_scroll_indicator_fade),
6373 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6374 to protect the return of this timeout callbacks, avoiding deadlocks.
6376 2008-08-12 Christian Dywan <christian@imendio.com>
6379 * src/hildon-*.h: Ensure a consistent include order,
6380 include <gtk/gtk.h> instead of particular files and
6381 only include the topmost header in the gtk stack. See NB #39857
6383 2008-08-12 Christian Dywan <christian@imendio.com>
6385 * src/hildon-picker-dialog.c
6386 * src/hildon-touch-selector.c: Fix warnings about unused and
6387 uninitialized variables.
6389 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6391 * examples/Makefile.am
6392 * examples/hildon-check-button-example.c: Example of the hildon
6395 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6397 * src/hildon-window.h
6398 * src/hildon-window.c (hildon_window_class_init)
6399 (hildon_window_unset_program): Don't make
6400 hildon_window_unset_program a virtual function anymore.
6402 * src/hildon-stackable-window.c: Update documentation
6404 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6407 * doc/hildon-docs.sgml
6408 * doc/visual_index.xml
6409 * src/hildon-defines.c
6411 * src/hildon-helper.c
6412 * src/hildon-range-editor.c: Lots of documentation fixes.
6414 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6416 * examples/hildon-picker-button-multicolumn-example.c
6417 (create_touch_selector): Fix compilation warning.
6419 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6421 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
6422 (hildon_pannable_area_button_release_cb)
6423 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6425 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6427 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
6430 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6432 * src/hildon-bread-crumb-trail.h
6433 * src/hildon-date-editor.c
6434 * src/hildon-date-selector.c
6435 * src/hildon-pannable-area.c
6436 * src/hildon-picker-dialog.c
6437 * src/hildon-time-selector.c
6438 * src/hildon-touch-selector-entry.c
6439 * src/hildon-touch-selector.c
6440 * src/hildon-touch-selector.h: Misc documentation fixes
6442 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6444 * examples/hildon-date-editor-example.c (main): Updated date
6447 * examples/hildon-note-example.c (on_confirmation_clicked):
6448 Updated confirmation note example.
6450 * src/hildon-date-editor.c
6451 * src/hildon-note.c: Updated sample programs in documentation.
6454 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6456 * src/hildon-date-button.h:
6457 * src/hildon-picker-button.h:
6458 * src/hildon-time-button.c:
6459 * src/hildon-time-button.h:
6461 Some declarations changes to allow gtk-doc to document the widgets
6464 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6466 * src/hildon-date-button.c: Document the widget.
6467 * src/hildon-time-button.c: Document the widget.
6469 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6471 * src/hildon-picker-button.c: Document the widget.
6472 * src/hildon-touch-selector-entry.c: Document the widget.
6474 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6476 * doc/hildon-docs.sgml
6479 * src/hildon-check-button.h
6480 * src/hildon-check-button.c: New functions to create the Hildon
6484 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
6486 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6488 * src/hildon-button.h
6489 * src/hildon-button.c
6490 (hildon_button_add_title_size_group)
6491 (hildon_button_add_value_size_group)
6492 (hildon_button_add_image_size_group)
6493 (hildon_button_add_size_groups): New functions to set size groups
6494 for the button labels and image.
6495 (hildon_button_new_full): Removed
6497 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
6499 * src/hildon-time-selector.c
6500 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
6501 in order to avoid a crash if gconf is not available
6503 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6505 * src/hildon-button.c (hildon_button_set_arrangement)
6506 (hildon_button_construct_child): Don't construct the button child
6507 before setting the arrangement.
6509 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6511 * src/hildon-program-private.h
6512 * src/hildon-program.c
6513 * src/hildon-program.h
6514 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
6515 (hildon_program_peek_window_stack)
6516 (hildon_program_pop_window_stack)
6517 (hildon_program_go_to_root_window): HildonProgram now has a
6518 separate list for stackable windows. Functions are provided to
6519 manage that list with a stack-like API.
6521 * src/hildon-stackable-window.c: Stackable window management is
6522 now much simpler with the new HildonProgram API. Windows no
6523 longer need to be manually added to the program, they're
6524 automatically pushed to the top of the stack when shown.
6526 * examples/hildon-stackable-window-example.c: Updated example to
6527 reflect the API changes.
6529 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6531 * src/hildon-touch-selector.c: Comment out unimplemented
6532 hildon_touch_selector_insert_column() to avoid a compile warning.
6534 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6536 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6537 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
6538 (hildon_touch_selector_set_column_selection_mode),
6539 (_hildon_touch_selector_set_model),
6540 (hildon_touch_selector_set_model):
6542 Complete review of HildonTouchSelector documentation.
6544 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6546 * doc/hildon-docs.sgml
6550 * src/hildon-gtk.c: Convenience functions for standard Gtk
6551 widgets, used to easily perform frequent operations.
6553 * src/hildon-button-helpers.h
6554 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
6556 * src/hildon-helper.h
6557 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
6558 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
6560 * src/hildon-button.h
6561 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
6563 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6565 * src/hildon-button.c (hildon_button_init)
6566 (hildon_button_set_arrangement, hildon_button_construct_child):
6567 Pack the image and the labels inside the same GtkAlignment so
6568 gtk_button_set_alignment() can be used
6570 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6572 * src/hildon-button.h
6573 * src/hildon-button.c
6574 (hildon_button_init, hildon_button_set_image)
6575 (hildon_button_set_image_position)
6576 (hildon_button_construct_child): New functions to add an image to
6579 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6581 * src/hildon-date-button.c
6582 * src/hildon-picker-button.c
6583 * src/hildon-time-button.c
6584 * src/hildon-button.c:
6585 (hildon_button_class_init): "size-flags" renamed to "size"
6586 (hildon_button_set_title): Hide the title label if set to NULL.
6588 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6590 HildonButtonFlags split into HildonButtonArrangement (to set the
6591 button layout) and HildonSizeType (which can be used for any
6594 * src/hildon-button.h
6595 * src/hildon-button.c
6596 (hildon_button_class_init)
6597 (hildon_button_set_arrangement)
6598 (hildon_button_set_property): New "size-flags"
6599 property. "arrangement-flags" renamed to "arrangement".
6600 (hildon_button_new, hildon_button_new_with_text)
6601 (hildon_button_new_full): Constructors updated to reflect type changes.
6603 * src/hildon-helper.h
6604 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
6605 to set the size of a widget.
6609 * src/hildon-button-helpers.c
6610 * src/hildon-button-helpers.h: New hildon-button-helpers module.
6612 * src/hildon-date-button.c
6613 * src/hildon-date-button.h
6614 * src/hildon-picker-button.c
6615 * src/hildon-picker-button.h
6616 * src/hildon-time-button.c
6617 * src/hildon-time-button.h: Updated widgets to reflect
6618 HildonButton API changes.
6620 * examples/hildon-button-example.c
6621 * examples/hildon-date-button-example.c
6622 * examples/hildon-picker-button-example.c
6623 * examples/hildon-picker-button-multicolumn-example.c
6624 * examples/hildon-time-button-example.c
6625 * examples/hildon-touch-selector-entry-example.c
6626 * examples/hildon-touch-selector-example.c: Updated examples to
6627 reflect HildonButton API changes.
6629 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6631 * doc/hildon-docs.sgml:
6633 * examples/Makefile.am:
6634 * examples/hildon-touch-selector-entry-example.c:
6636 * src/hildon-touch-selector-entry.c:
6637 * src/hildon-touch-selector-entry.h:
6640 Moved HildonTouchSelectorEntry from sandbox. Added its
6641 documentation and examples.
6643 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6645 * src/hildon-touch-selector.h:
6646 * examples/hildon-picker-button-multicolumn-example.c:
6647 (hildon_touch_selector_append_text_column): Add a gboolean
6648 parameter to determine if text must be centered in the column.
6650 * src/hildon-date-selector.c: (hildon_date_selector_init):
6651 * src/hildon-time-selector.c: (hildon_time_selector_init):
6652 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
6653 (create_touch_selector): Update widgets and example to reflect
6656 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6658 * src/hildon-touch-selector.c:
6659 (hildon_touch_selector_set_active_iter): Set also the cursor in
6662 2008-08-06 Alberto Garcia <agarcia@igalia.com>
6664 * doc/hildon-docs.sgml
6667 * src/hildon-toggle-button.c
6668 * src/hildon-toggle-button.h
6669 * src/hildon.h: Removed HildonToggleButton widget, a derived
6670 class is not necessary for this.
6672 2008-08-06 Alejandro G. Castro <alex@igalia.com>
6674 * src/hildon-pannable-area.c,
6675 (hildon_pannable_area_realize),
6676 (hildon_pannable_area_size_allocate): Code refactoring, add tests
6679 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
6681 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
6682 "done" button the default widget for the dialog.
6684 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6686 * src/hildon-touch-selector.c:
6687 (hildon_touch_selector_class_init),
6688 (hildon_touch_selector_get_property),
6689 (_hildon_touch_selector_set_model),
6690 (_hildon_touch_selector_has_multiple_selection),
6691 (hildon_touch_selector_has_multiple_selection):
6692 Add a "has-multiple-selection" property with a virtual
6693 has_multiple_selection() method to allow derived classes to
6694 override the default value for it. See the method and property
6695 documentation for details.
6697 * src/hildon-touch-selector.h: Add the new API.
6699 * src/hildon-picker-dialog.c: (requires_done_button): Call
6700 hildon_touch_selector_has_multiple_selection() instead of
6701 determining the need for a button itself.
6703 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6705 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6706 (_hildon_touch_selector_set_model),
6707 (hildon_touch_selector_set_model): Move working code to
6708 _hildon_touch_selector_set_mode(). Call the class method instead.
6710 * src/hildon-touch-selector.h: Add (*set_model) to
6711 HildonTouchSelectorClass.
6713 Make hildon_touch_selector_set_model() a virtual method, so that
6714 derived classes can extend it and do fancy stuff with the model.
6716 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6718 * configure.ac: Set back the tarname in AC_INIT to hildon.
6720 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6724 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
6725 instead of libesd (NB#86876). Volume handling is still an open issue.
6727 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
6730 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6732 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
6733 (hildon_touch_selector_append_column): Make the widget a GtkVBox
6734 derived class to ease placement of an entry widget in
6735 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
6736 end, where the selector columns are packed now.
6738 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6740 * src/hildon-picker-button.c: Removed the simple _text() API.
6741 * src/hildon-picker-button.h: Likewise.
6743 * src/hildon-touch-selector.h:
6744 * src/hildon-touch-selector.c:
6745 (hildon_touch_selector_new_text),
6746 (hildon_touch_selector_append_text),
6747 (hildon_touch_selector_prepend_text),
6748 (hildon_touch_selector_insert_text):
6750 Moved the simple _text() API from HildonPickerButton to
6751 HildonTouchPicker, to provide better escalability and not to tie
6752 that API to HildonPickerButton.
6754 * examples/hildon-picker-button-example.c: (main): Example updated.
6756 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6758 * src/hildon-button.c: Updated documentation.
6760 * examples/hildon-button-example.c: Add the posibility to create
6761 the buttons using horizontal layout for title and value.
6763 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6765 * src/hildon-app-menu-private.h
6766 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
6767 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
6768 GtkSizeGroup for the filters, use the 'homogeneous' property of
6771 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6773 * examples/hildon-button-example.c: Updated example.
6775 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
6777 * doc/hildon-docs.sgml:
6780 Update documentation.
6782 * examples/Makefile.am: Update renamed examples.
6784 * examples/hildon-picker-button-multicolumn-example.c:
6785 (create_touch_selector), (main): Update after the rename.
6787 * examples/hildon-touch-picker-example.c: Removed.
6788 * examples/hildon-touch-selector-example.c: (value_changed),
6789 (create_selector), (get_visible_content), (main): Renamed from
6790 hildon-touch-picker-example.c
6792 * src/Makefile.am: Updated renamed files.
6794 * src/hildon-date-button.c: (hildon_date_button_init),
6795 (hildon_date_button_get_date), (hildon_date_button_set_date):
6796 * src/hildon-date-selector.c: (hildon_date_selector_init),
6797 (_custom_print_func), (_update_day_model),
6798 (_manage_selector_change_cb),
6799 (hildon_date_selector_select_current_date),
6800 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
6801 * src/hildon-date-selector.h:
6802 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6803 (hildon_picker_button_set_property),
6804 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6805 (hildon_picker_button_init), (hildon_picker_button_new_text),
6806 (hildon_picker_button_append_text),
6807 (hildon_picker_button_prepend_text),
6808 (hildon_picker_button_insert_text),
6809 (hildon_picker_button_set_selector),
6810 (hildon_picker_button_get_selector):
6811 * src/hildon-picker-button.h:
6812 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
6813 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
6814 (_update_title_on_selector_changed_cb), (requires_done_button),
6815 (_hildon_picker_dialog_set_selector),
6816 (hildon_picker_dialog_set_selector),
6817 (hildon_picker_dialog_get_selector):
6818 * src/hildon-picker-dialog.h:
6819 * src/hildon-time-button.c: (hildon_time_button_init),
6820 (hildon_time_button_get_time), (hildon_time_button_set_time):
6821 * src/hildon-time-selector.c: (hildon_time_selector_init),
6822 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
6823 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
6824 * src/hildon-time-selector.h:
6827 Massive code updates after the rename.
6829 * src/hildon-touch-picker.c: Removed.
6830 * src/hildon-touch-picker.h: Removed.
6832 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6833 (hildon_touch_selector_init), (hildon_touch_selector_map),
6834 (hildon_touch_selector_remove), (_default_print_func),
6835 (_selection_changed_cb), (_create_new_column),
6836 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
6837 (hildon_touch_selector_append_text_column),
6838 (hildon_touch_selector_remove_column),
6839 (hildon_touch_selector_set_column_attributes),
6840 (hildon_touch_selector_insert_column),
6841 (hildon_touch_selector_get_num_columns),
6842 (hildon_touch_selector_get_column_selection_mode),
6843 (hildon_touch_selector_set_column_selection_mode),
6844 (hildon_touch_selector_set_print_func),
6845 (hildon_touch_selector_get_print_func),
6846 (hildon_touch_selector_get_active_iter),
6847 (hildon_touch_selector_set_active_iter),
6848 (hildon_touch_selector_get_selected_rows),
6849 (hildon_touch_selector_get_model),
6850 (hildon_touch_selector_set_model),
6851 (hildon_touch_selector_get_current_text),
6852 (_hildon_touch_selector_center_on_selected_items):
6853 * src/hildon-touch-selector.h: Renamed from
6854 hildon-touch-picker.[ch]
6856 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
6857 references, code examples, and related documentation.
6859 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6861 * doc/hildon-docs.sgml
6864 * src/hildon-toggle-button.c
6865 * src/hildon-toggle-button.h
6866 * src/hildon.h: New HildonToggleButton widget.
6868 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6870 * src/hildon-button.c: Add API documentation.
6871 (hildon_button_set_size_groups): Check input parameters
6873 2008-07-30 Alejandro G. Castro <alex@igalia.com>
6875 * src/hildon-pannable-area.c
6876 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
6877 effect after reaching the movement thredshold. This way we start
6878 using the distance after passing the thredshold.
6880 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6882 * src/hildon-button.c: (hildon_button_set_property): Use the
6883 appropriate g_value_get_flags() method.
6885 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6887 * doc/hildon-docs.sgml:
6890 Add the touch pickers, picker dialogs, and picker button widgets
6891 to the documentation.
6893 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6895 * src/hildon-button.c: (hildon_button_set_property),
6896 (hildon_button_class_init): Make "arrangement-flags" a proper
6897 G_TYPE_FLAGS derived property.
6899 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6901 * examples/Makefile.am: Add below examples.
6902 * examples/hildon-date-button-example.c:
6903 * examples/hildon-picker-button-example.c:
6904 * examples/hildon-picker-button-multicolumn-example.c:
6905 * examples/hildon-time-button-example.c:
6906 * examples/hildon-touch-picker-example.c:
6908 Add examples for the recently added touch pickers,
6909 picker dialogs, and picker button widgets.
6911 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6913 * src/hildon-button.c: Add some API documentation
6915 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6917 * src/hildon-button.h
6918 * src/hildon-button.c
6920 (hildon_button_new_with_text): New constructor to create a button
6921 with no text at all.
6922 (hildon_button_init, hildon_button_set_arrangement)
6923 (hildon_button_set_title, hildon_button_set_value)
6924 (hildon_button_set_text)
6925 (hildon_button_construct_child): Hide the value when it's not used
6926 so the rest of the text is properly aligned.
6927 Allow creating buttons with arbitrary widgets inside (not just
6928 title/value labels).
6930 * examples/hildon-button-example.c (vertical_buttons_window)
6931 (horizontal_buttons_window): Update example to use new API.
6933 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6935 * src/Makefile.am: Added HildonTimeButton.
6936 * src/hildon-time-button.c: Added missing LGPL header.
6937 * src/hildon-time-button.h: Added missing LGPL header.
6938 * src/hildon.h: Add hildon-time-button.h
6940 Copied HildonTimeButton from sandbox to trunk. Future work on this
6941 widget must take place in trunk.
6943 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6945 * src/Makefile.am: Added HildonDateButton.
6946 * src/hildon-date-button.c: Update includes.
6947 * src/hildon.h: Add hildon-date-button.h
6949 Copied HildonDateButton from sandbox to trunk. Future work on this
6950 widget must take place in trunk.
6952 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6954 * src/Makefile.am: Added HildonPickerButton.
6955 * src/hildon-picker-button.h: Update includes.
6956 * src/hildon.h: Add hildon-picker-button.h
6958 Copied HildonPickerButton from sandbox to trunk. Future work on
6959 this widget must take place in trunk.
6961 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6963 * src/Makefile.am: Added HildonPickerDialog.
6964 * src/hildon-picker-dialog.c: Update includes.
6965 * src/hildon.h: Add hildon-picker-dialog.h
6967 Copied HildonPickerDialog from sandbox to trunk. Future work
6968 on this widget must take place in trunk.
6970 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6972 * src/Makefile.am: Added HildonTimeSelector.
6973 * src/hildon.h: Add hildon-time-selector.h
6975 Copied HildonTimeSelector widget from sandbox to trunk. Future
6976 work on this widget must happen in trunk.
6978 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6980 * src/Makefile.am: Added HildonDateSelector.
6981 * src/hildon.h: Add hildon-date-selector.h
6983 Copied HildonDateSelector widget from sandbox to trunk. Future
6984 work on this widget must happen in trunk.
6986 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6988 * src/Makefile.am: Added HildonTouchPicker.
6989 * src/hildon-touch-picker.c: Update includes.
6990 * src/hildon.h: Add hildon-touch-picker.h
6992 Copied HildonTouchPicker widget from sandbox to trunk. Future work
6993 on this widget must happen in trunk.
6995 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6997 * src/hildon-pannable-area.c:
6998 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7000 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7002 * examples/hildon-app-menu-example.c (main): Let the window
7005 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7007 * src/hildon-pannable-area.c
7008 (hildon_pannable_area_class_init): Set the min value of the
7009 overshoot properties to zero, which points out that not
7010 overshooting allowed.
7012 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7014 Modified the procedure to get the widget at a point inside the
7015 pannable area when using the movement type signals. Now the user
7016 has to call a function to get the child, that way we just
7017 calculate the child in case the user really want to use it and not
7020 * src/hildon-marshalers.list: Modified the marshallers, now we do
7021 not have the widget as a parameter.
7023 * src/hildon-pannable-area.c
7024 (hildon_pannable_area_motion_notify_cb),
7025 (hildon_pannable_area_class_init),
7026 (hildon_pannable_get_child_widget_at): Removed the widget
7027 parameter from the signal callback. We have also refactored the
7028 emission of the signals.
7030 * src/hildon-pannable-area.h: Added a new method to the API to
7031 calculate a widget at a point inside the pannable area,
7032 hildon_pannable_get_child_widget_at.
7034 * examples/hildon-pannable-area-example-4.c
7035 (horizontal_movement): Modified the example to use the new API,
7036 added condition to control which widget is under the event. This
7037 way we can avoid scrolling laterally over other widgets.
7039 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7041 * src/hildon-pannable-area.c
7042 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7043 modes, we stop getting the pointer events due to returning the
7044 callback without properly calling the get pointer again. Fixed
7045 also an error using the hscroll and vscroll.
7047 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7049 * src/hildon-app-menu-private.h
7050 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7051 (hildon_app_menu_button_release, hildon_app_menu_init)
7052 (hildon_app_menu_class_init): Don't hide the menu on button
7053 release if the user didn't press outside first.
7055 * src/hildon-window.h
7056 * src/hildon-window.c (hildon_window_toggle_menu)
7057 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7058 hildon_window_toggle_menu a virtual function for the stackable
7059 window to override it.
7061 * src/hildon-stackable-window.h
7062 * src/hildon-stackable-window-private.h
7063 * src/hildon-stackable-window.c
7064 (hildon_stackable_window_realize)
7065 (hildon_stackable_window_finalize)
7066 (hildon_stackable_window_class_init)
7067 (hildon_stackable_window_init)
7068 (hildon_stackable_window_set_main_menu): New function to set the
7069 app menu of a HildonStackableWindow.
7071 * examples/hildon-app-menu-example.c: Remove the button to show
7072 the app menu, now it'll be shown when clicking on the title bar
7075 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7077 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7078 set the widget name if the arrangement flags do not specify
7081 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7083 * src/hildon-button.c: (hildon_button_set_property),
7084 (hildon_button_class_init), (hildon_button_new_full),
7085 (hildon_button_set_arrangement): Added "arrangement-flags"
7088 Make the HildonButtonFlags a construction-only property, to allow
7089 subclasses to set them properly.
7091 2008-07-21 Tim Janik <timj@imendio.com>
7093 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7094 insertion position after backspace, so additional digits are appended,
7097 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7099 * src/hildon-pannable-area.c,
7100 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7101 TODO list, it was complete and removed the g_debug and g_print
7104 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7106 Added the movement modes to the hildon-pannable-area, with this
7107 modes the developers can control in which directions the widget
7108 can scroll. They can also connect to signals in order to do
7109 something when that happens, allowing applications scroll. There
7110 is an example uploaded showing how to use it.
7112 * examples/Makefile.am:
7113 * examples/hildon-pannable-area-example-4.c: Added this example of
7114 an application using the modes.
7116 * src/hildon-marshalers.list: Added a new marshaller for the new
7119 * src/hildon-pannable-area.h: Added new enumerations and flags in
7120 order to control the movement modes and the new signals to warn
7121 about the movements in the area.
7123 * src/hildon-pannable-area.c:
7124 (hildon_pannable_axis_scroll),
7125 (hildon_pannable_area_scroll),
7126 (hildon_pannable_area_motion_notify_cb),
7127 (hildon_pannable_area_get_property),
7128 (hildon_pannable_area_set_property),
7129 (hildon_pannable_area_map),
7130 (hildon_pannable_area_class_init),
7131 (hildon_pannable_area_init),
7132 (hildon_pannable_area_jump_to): Added the modes to control the
7133 movement in the widget. We have added properties to control it,
7134 signals to warn about the movements and refactored some code.
7136 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7138 Changes required in order to allow vfast_factor set to zero to
7141 * src/hildon-pannable-area.c:
7142 (hildon_pannable_area_button_press_cb): Changed the condition, it
7143 is required for not allowing click when vfast_factor is zero.
7144 (hildon_pannable_area_timeout): Initialized velocity variables
7145 when we stop moving, it was less than 1 but not zero and we need
7146 to check zero in some situations.
7147 (hildon_pannable_area_class_init): Changed the default value of
7148 the speed factor, now the button_press is just sent in case the
7149 speed is 2 per cent of the max speed.
7150 (hildon_pannable_area_init): Initialization with 0.
7152 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7154 * src/hildon-pannable-area.c,
7155 (hildon_pannable_area_get_topmost): replaced
7156 gdk_window_get_children with gdk_window_peek_children, this way we
7157 do not have to free the list because it is not a copy.
7159 (hildon_pannable_axis_scroll),
7160 (hildon_pannable_area_scroll),
7161 (hildon_pannable_area_timeout),
7162 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7163 two parameters that were only used inside the
7164 hildon_pannable_area_scroll function.
7166 * examples/hildon-pannable-area-example.c,
7167 (get_sawtooth_label): Fixed small memory leak.
7169 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7171 More checks for the case where the overshoot is bigger than the
7174 * src/hildon-pannable-area.c:
7175 (hildon_pannable_draw_vscroll),
7176 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7177 to draw the slider of the scrollbar under the other scrollbar.
7178 (hildon_pannable_area_expose_event): added new checks to control
7179 the drawing of the overshooting area rectangle, in case it is too
7180 big for the area of the widget.
7181 (hildon_pannable_area_size_allocate): add more checks to avoid
7182 setting a position to the child widget outside the area.
7184 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7186 * src/hildon-pannable-area.c
7187 (hildon_pannable_area_size_allocate): Added conditions to control
7188 when overshooting is bigger than the allocated space for the
7189 children, this avoids negative allocations.
7191 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7193 * doc/hildon-docs.sgml
7195 * examples/Makefile.am
7196 * examples/hildon-button-example.c
7198 * src/hildon-button.c
7199 * src/hildon-button.h
7200 * src/hildon.h: Initial version of the new HildonButton widget,
7203 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7205 * src/hildon-pannable-area.c:
7206 (hildon_pannable_area_button_press_cb),
7207 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7208 (hildon_pannable_area_motion_notify_cb),
7209 (hildon_pannable_area_button_release_cb),
7210 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7211 (hildon_pannable_area_jump_to_child):
7213 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7215 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7217 * examples/Makefile.am
7218 * examples/hildon-pannable-area-touch-grid-example.c
7219 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7220 the Hildon Touch List and Hildon Touch Grid using the
7221 HildonPannableArea widget.
7223 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7225 * src/hildon-pannable-area.c,
7226 (hildon_pannable_area_button_press_cb),
7227 (hildon_pannable_area_refresh),
7228 (hildon_pannable_area_scroll),
7229 (hildon_pannable_area_motion_notify_cb),
7230 (hildon_pannable_area_button_release_cb),
7231 (hildon_pannable_area_expose_event),
7232 (hildon_pannable_area_add),
7233 (hildon_pannable_area_remove),
7234 (hildon_pannable_area_realize),
7235 (hildon_pannable_area_size_allocate),
7236 (hildon_pannable_area_class_init),
7237 (hildon_pannable_area_init),
7238 (hildon_pannable_area_scroll_to_child),
7239 (hildon_pannable_area_jump_to_child): Fixed the problem of
7240 removing the child from the GtkBin, we have rearranged the widget
7241 hierarchy, now there is no GtkAlignment which was not doing
7242 anything interesting but breaking some of the assumptions of
7243 GtkContainer. Now developers if they want to add a GtkAlignment
7244 they could, but it is not inside the area.
7246 We had to review the whole allocation/expose process, now it is
7247 improved and we save at least three signals which would be saving
7248 some time when rendering the widget. The allocation of the
7249 scrollbars is now made in the allocate method as usual.
7251 We have also added some conditions in order to control when there
7252 is no child of the pannable area. Maybe we will need more work
7255 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7257 * src/hildon-pannable-area.c,
7258 (hildon_pannable_area_dispose): Released the fade-out timeout when
7259 disposing the widget.
7261 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7263 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7264 zero, we are going to use that property in order to deactivate the
7266 (hildon_pannable_axis_scroll),
7267 (hildon_pannable_area_size_allocate): Added conditions to control
7268 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7269 call, now it is called in all situations and we can remove calls
7270 in the allocate method.
7271 (hildon_pannable_area_map): Control the situation when
7272 overshoot_max is zero, we do not need the timeout.
7273 (hildon_pannable_area_class_init): Added documentation in order to
7274 point out that setting zero to overshoot_max means deactivate
7277 NOTE: removed trailing whitespaces from my previous comments of
7280 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7282 * src/hildon-pannable-area.c
7283 (hildon_pannable_area_get_property),
7284 (hildon_pannable_area_set_property),
7285 (hildon_pannable_area_map),
7286 (hildon_pannable_area_class_init),
7287 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7288 to cause the widget give a hint about its panning abilities upon
7291 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7293 * src/hildon-pannable-area.c: Several documentation improvements.
7295 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7297 * src/hildon-program.c
7298 * src/hildon-stackable-window.c: Update documentation.
7300 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7302 * src/hildon-stackable-window.c (get_previous_window_if_last):
7303 Renamed get_last_window()
7304 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7305 (hildon_stackable_window_unset_program):
7307 (get_previous_window_if_last):
7308 Detect if the window hasn't been added to a HildonProgram.
7310 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7312 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7314 * src/hildon-pannable-area.c
7315 (hildon_pannable_area_button_press_cb),
7316 (hildon_pannable_axis_scroll),
7317 (hildon_pannable_area_scroll),
7318 (hildon_pannable_area_timeout),
7319 (hildon_pannable_calculate_vel_factor),
7320 (hildon_pannable_area_get_property),
7321 (hildon_pannable_area_set_property),
7322 (hildon_pannable_area_class_init),
7323 (hildon_pannable_area_init),
7324 (hildon_pannable_area_scroll_to),
7325 (hildon_pannable_area_jump_to),
7326 (hildon_pannable_area_scroll_to_child),
7327 (hildon_pannable_area_jump_to_child):
7328 * src/hildon-pannable-area.h: Added the new API functions:
7329 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7330 hildon_pannable_area_scroll_to_child,
7331 hildon_pannable_area_jump_to_child
7334 * examples/Makefile.am
7335 * examples/hildon-pannable-area-example-2.c
7336 * examples/hildon-pannable-area-example-3.c: Added these two new
7337 examples in order to test and show how the new APIs work.
7339 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7341 * examples/hildon-stackable-window-example.c (new_window):
7342 * src/Makefile.am (noinst_HEADERS):
7343 * src/hildon-program.c (hildon_program_go_to_root_window):
7344 * src/hildon-program.h:
7345 * src/hildon-stackable-window-private.h:
7346 * src/hildon-stackable-window.c:
7347 * src/hildon-stackable-window.h:
7348 Create hildon-stackable-window-private.h
7349 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7351 * examples/hildon-app-menu-example.c (create_menu):
7352 * examples/hildon-hvolumebar-insensitive-example.c (main):
7353 * examples/hildon-hvolumebar-timer-example.c (on_idle):
7354 * examples/hildon-toolbar-seekbar-example.c (main):
7355 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7356 * src/hildon-banner.c (hildon_banner_set_property):
7357 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7358 Fix compilation warnings
7360 * src/hildon-window.c:
7363 2008-06-24 Alberto Garcia <agarcia@igalia.com>
7365 * src/hildon-stackable-window.c
7366 (hildon_stackable_window_unset_program):
7367 Calculate correctly whether to show the previous window if the
7368 last one is removed from the stack.
7369 (hildon_stackable_window_go_to_root_window):
7370 Send delete events starting from the topmost window.
7371 Stop if one of the windows is not destroyed.
7373 (hildon_stackable_window_delete_event)
7374 (hildon_stackable_window_class_init):
7375 Ignore the delete event if the window is not the topmost one.
7377 2008-06-24 Alejandro G. Castro <alex@igalia.com>
7379 * src/hildon-pannable-area.c
7380 (hildon_pannable_area_expose_event): Fixed a problem when
7381 selecting the background color of the scrollbars.
7383 2008-06-23 Alberto Garcia <agarcia@igalia.com>
7385 * examples/hildon-stackable-window-example.c
7386 * src/hildon-stackable-window.c
7387 * src/hildon-stackable-window.h
7388 hildon_stackable_window_go_home() renamed to
7389 hildon_stackable_window_go_to_root_window()
7390 Send delete events to windows rather than closing them with
7391 gtk_widget_destroy()
7393 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7395 * src/hildon-pannable-area.c
7396 (hildon_pannable_area_button_release_cb): Fix overshooting in
7399 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7401 * src/hildon-pannable-area.c
7402 (hildon_pannable_area_init): Initially show the scroll indicators.
7403 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7405 Add initial effect showing the widget is pannable.
7407 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7409 * src/hildon-pannable-area.c
7410 (hildon_pannable_area_class_init)
7411 (hildon_pannable_area_set_property)
7412 (hildon_pannable_area_get_property)
7413 (hildon_pannable_area_button_press_cb):
7414 New 'velocity_fast_factor' property to decide which velocity is
7417 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7419 * src/hildon-pannable-area.c
7420 (hildon_pannable_draw_hscroll)
7421 (hildon_pannable_draw_vscroll):
7422 Use float variables to calculate the size of the scrollbars to
7423 avoid error propagation and resizing during scrolling.
7425 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7427 * src/hildon-pannable-area.c
7428 (hildon_pannable_draw_vscroll)
7429 (hildon_pannable_draw_hscroll):
7430 Define a minimum size for the scroll bars
7432 * src/hildon-stackable-window.c
7433 (hildon_stackable_window_go_home): Fix compilation warning
7434 (get_last_window): Minor optimizations
7435 (hildon_stackable_window_class_init): Fix initialization of
7438 2008-06-18 Alberto Garcia <agarcia@igalia.com>
7440 * src/hildon-stackable-window.c: Fixed typos in doc
7442 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
7444 * src/hildon-pannable-area.c
7445 (hildon_pannable_area_scroll):
7446 Calculate here whether we need to scroll instead of using the booleans
7447 that tell us whether to /draw/ the scrolling bars.
7449 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
7451 * src/hildon-app-menu.h
7453 * src/hildon-app-menu.c
7454 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
7455 multiple filter groups related code and API. Now we support only
7457 * examples/hildon-app-menu-example.c:
7459 Update to reflect API changes.
7461 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
7463 * src/hildon-stackable-window.c
7464 (hildon_stackable_window_class_init):
7465 Add hildon_stackable_window_realize.
7466 (hildon_stackable_window_realize):
7467 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
7468 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
7469 to apply theming and behavior specific to HildonStackableWindow
7472 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7474 * src/hildon-note.c (hildon_note_button_release):
7475 Close information notes also when tapping on them
7477 2008-06-12 Alejandro G. Castro <alex@igalia.com>
7479 Added BOUNCE_STEPS define to control the overshoot effect. Removed
7480 ELASTICITY, refactor and review, fix some issues with drawing
7483 * src/hildon-pannable-area.c:
7484 (hildon_pannable_area_button_press_cb): removed the conditions to
7485 avoid clicks when overshooting. It is not required
7487 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
7488 define. Refatored and reviewed the code, now we do not need to
7489 manage velocity in motion_notify.
7491 (hildon_pannable_area_motion_notify_cb): We have moved the code
7492 that controls the area_scroll to the axis_scroll function and get
7493 rid of duplicated code.
7495 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
7497 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
7499 (hildon_pannable_draw_vscroll),
7500 (hildon_pannable_draw_hscroll): Fixed the problems with the
7501 scrollbar drawing, now we do not use two surfaces, it is easier
7502 and saves resources.
7504 (hildon_pannable_area_get_property): Style modification.
7506 (hildon_pannable_area_class_init): Changed some default values.
7508 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
7510 * src/hildon-stackable-window.c: Fix some typos in the
7513 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7515 * src/hildon-dialog.c:
7516 Change indentation style
7519 (hildon_note_button_release):
7520 Use root coordinates to check if the release event happened
7523 * src/hildon-app-menu.c
7524 (hildon_app_menu_button_release):
7525 Remove unnecessary check
7527 * examples/hildon-app-menu-example.c
7529 Add cast to fix warning
7531 * src/hildon-app-menu.c
7532 (hildon_app_menu_class_init):
7533 New inner-border style property.
7534 Set all default spacings to 16
7535 (hildon_app_menu_init):
7536 Use vertical-spacing to set the space between filter buttons and
7537 regular menu buttons.
7538 Set the default container border using the inner-border value.
7540 * examples/hildon-app-menu-example.c
7542 Don't set the menu border explicitly, now we have the inner-border
7543 style property for that.
7545 2008-06-11 Alberto Garcia <agarcia@igalia.com>
7547 * src/hildon-app-menu.c (hildon_app_menu_init):
7548 Make the window modal
7550 * src/hildon-note.c (hildon_note_map)
7551 * src/hildon-app-menu.c (hildon_app_menu_map):
7552 Destroy the grab window if we're unable to grab the pointer
7554 * src/hildon-app-menu-private.h
7555 * src/hildon-app-menu.c
7556 (hildon_app_menu_init, hildon_app_menu_finalize)
7557 (hildon_app_menu_map, hildon_app_menu_unmap)
7558 (hildon_app_menu_button_release)
7559 (grab_transfer_window_get):
7560 Bring back the grab window
7561 (hildon_app_menu_realize):
7562 Decorate the window, set WM hint for Matchbox
7564 * src/hildon-note.c (hildon_note_realize):
7565 * src/hildon-banner.c (hildon_banner_realize):
7566 Add WM hints for Matchbox
7568 2008-06-10 Alberto Garcia <agarcia@igalia.com>
7570 * src/hildon-app-menu-private.h
7571 * src/hildon-app-menu.c
7572 (hildon_app_menu_init, hildon_app_menu_finalize)
7573 (hildon_app_menu_map, hildon_app_menu_unmap)
7574 (hildon_app_menu_button_release):
7575 Remove the grab window, it's not needed anymore
7577 * src/hildon-program.c
7578 Fixed typo in documentation
7580 * src/hildon-app-menu.h
7581 * src/hildon-app-menu.c
7582 * examples/hildon-app-menu-example.c
7583 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
7585 2008-06-09 Alberto Garcia <agarcia@igalia.com>
7588 Added new transfer_window and close_if_pressed_outside private
7590 (hildon_note_rebuild):
7591 Don't add a cancel button to the information note. It will be
7592 closed when tapping outside
7593 Remove the comment about the OK button in the documentation
7594 (hildon_note_realize):
7595 Set the notification type hint
7596 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
7597 Grab/ungrab pointer and keyboard if the note has to be closed when
7599 (hildon_note_button_release):
7600 Close the note when tapping outside (if applicable)
7602 * src/hildon-app-menu.c
7603 Grab/ungrab pointer and keyboard on map/unmap
7604 (hildon_app_menu_button_release, hildon_app_menu_class_init):
7605 Close the menu on button release, not button press
7607 * src/hildon-banner.c
7608 (hildon_banner_set_property)
7609 (hildon_banner_check_position):
7610 Make the banner use the full width of the screen
7611 (hildon_banner_show_information)
7612 (hildon_banner_show_information_with_markup):
7613 Don't display an icon by default
7615 2008-06-09 Alejandro G. Castro <alex@igalia.com>
7617 Added fading scrollbars and adapted all the overshooting code to
7618 horizontal scrolling. We have also fixed bugs with overshooting
7619 and current fading implementation.
7621 * src/hildon-pannable-area.c
7622 (hildon_pannable_area_scroll_indicator_fade): Time out function
7623 used to change the transparency of the scrollbars.
7625 (hildon_pannable_area_button_press_cb): Added horizontal overshot
7626 control and fixed a problem with fading, we now remove the fade
7627 timeout before adding a new one.
7629 (hildon_pannable_axis_scroll):
7630 (hildon_pannable_area_scroll):
7631 (hildon_pannable_area_timeout): Added this functions so we can use
7632 the scroll code both for vertical and horizontal.
7634 (hildon_pannable_area_motion_notify_cb):
7635 (hildon_pannable_area_button_release_cb): Added the horizontal
7636 scrolling control, fixed a problem with the overshooting timeout.
7638 (rgb_from_gdkcolor): Added this function, it is used in the cairo
7639 painting of the scrolls.
7641 (hildon_pannable_draw_vscroll):
7642 (hildon_pannable_draw_hscroll):
7643 (hildon_pannable_area_expose_event):
7644 Draw both scrollbars and rectangles in the overshooting area.
7646 (hildon_pannable_area_get_property):
7647 (hildon_pannable_area_set_property):
7648 Modified the overshoot property to overshoot_max
7650 (hildon_pannable_area_map):
7651 Replaced the comments symbols.
7653 (hildon_pannable_area_size_allocate):
7654 (hildon_pannable_area_class_init):
7655 (hildon_pannable_area_init): Added horizontal scroll, fading
7656 effect properties, fixed a problem when overshooting in the bottom
7659 * examples/hildon-pannable-area-example.c:
7660 (get_sawtooth_label): Now we use smaller sawtooths, the effect
7661 looks better in the example.
7663 2008-06-03 Alberto Garcia <agarcia@igalia.com>
7665 * src/hildon-window.c
7666 * src/hildon-window.h
7667 (hildon_window_class_init)
7668 (hildon_window_unset_program)
7669 (hildon_window_unset_program_real):
7670 Make unset_program a virtual function
7672 * src/hildon-stackable-window.c
7673 * src/hildon-stackable-window.h
7674 Added hildon_stackable_window_go_home()
7676 * examples/Makefile.am
7677 * examples/hildon-stackable-window-example.c
7678 HildonStackableWindow example
7680 2008-06-03 Alejandro G. Castro <alex@igalia.com>
7682 * hildon-pannable-area.c: Added the overshoot property and removed
7683 the OVERSHOOT define. Fixed an indent style error.
7684 (hildon_pannable_area_motion_notify_cb):
7685 (hildon_pannable_area_get_property):
7686 (hildon_pannable_area_set_property): Add overshoot property.
7688 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
7691 (hildon_pannable_area_class_init): Installed the new property.
7693 * hildon-pannable-area-example.c: Added a sawtooth function, this
7694 way it is easier to check the movement in the pannable.
7695 (get_sawtooth_label): Added this function.
7696 (main): Now we get the labels from the new get_sawtooth_label
7699 2008-05-26 Alberto Garcia <agarcia@igalia.com>
7701 * src/hildon-app-menu.h
7702 * src/hildon-app-menu.c
7703 Renamed API variables for consistency
7705 (hildon_app_menu_popup): Use also the default window size to
7706 decide where to place the menu
7708 (hildon_app_menu_init, hildon_app_menu_class_init): New
7709 external-border style property
7711 2008-05-26 Michael Natterer <mitch@imendio.com>
7713 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
7714 widget_class->tap_and_hold_setup signal slot doesn't exist any
7715 longer, stop overriding it.
7717 (hildon_time_editor_init): g_signal_connect() to the
7718 tap-and-hold-setup signal instead.
7720 (hildon_time_editor_entry_keypress): add cast to fix warning.
7722 2008-05-23 Alberto Garcia <agarcia@igalia.com>
7724 * doc/hildon-docs.sgml
7726 * examples/Makefile.am
7727 * examples/hildon-app-menu-example.c
7729 * src/hildon-app-menu-private.h
7730 * src/hildon-app-menu.c
7731 * src/hildon-app-menu.h
7733 New HildonAppMenu widget
7735 2008-05-21 Alejandro G. Castro <alex@igalia.com>
7737 Rearranged the inheritance of the pannable area, now it inherits
7738 from GtkBin. This will allow us to control the event_window and
7739 the allocation process of the widget, required for some effects.
7741 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
7742 GtkBin structures. * src/hildon-pannable-area.c: Added the
7743 event_window variable.
7744 (hildon_pannable_area_button_press_cb):
7745 (hildon_pannable_area_button_release_cb):
7746 (hildon_pannable_area_motion_notify_cb):
7747 Changed the signature of the method, now we override the event
7748 callback instead of connecting to the signal.
7750 (hildon_pannable_area_realize):
7751 (hildon_pannable_area_unrealize):
7752 (hildon_pannable_area_map):
7753 (hildon_pannable_area_unmap):
7754 (hildon_pannable_area_size_allocate):
7755 Added functions to control the widget construction. We add a
7756 INPUT_ONLY window and we put it over the widgets inside the
7757 container, this event_window handles the events.
7759 (hildon_pannable_area_class_init):
7760 Replaced the signal connections with overrides of the event
7763 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7765 Bouncing effect added when touching the borders, you can change
7766 the elasticity of the border changing the ELASTICITY define.
7768 * src/hildon-pannable-area.c: Added ELASTICITY define.
7769 (hildon_pannable_area_timeout): Added inverse velocity when
7770 touching the border of the child widget, that causes a bounce.
7772 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7774 Improved performance, we now do not go to the X server in order to
7775 get the list of window children. Apparently the effect is the
7776 same, we have to be careful and check if this breaks something in
7779 * src/hildon-pannable-area.c:
7780 (get_ordered_children): Removed this function.
7781 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
7782 the children windows function with gdk_window_get_children.
7784 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7786 * src/hildon-pannable-area.c:
7787 (hildon_pannable_area_dispose): Fixed a crash when closing the
7788 window and kinetics is activated.
7790 2008-05-19 Alberto Garcia <agarcia@igalia.com>
7792 * src/hildon-pannable-area.h
7793 * src/hildon-pannable-area.c
7794 Changed indentation style to meet the one used in Hildon
7796 2008-05-19 Alejandro G. Castro <alex@igalia.com>
7798 Reviewed the interaction of the AUTO mode, now we use the time
7799 attribute of the events and calculate the velocity in the motion,
7800 doing a gimp like calculation. The velocity is calculated in each
7801 motion event using the last velocity and the current one, the
7802 SMOOTH_FACTOR controls the percentage of the new velocity we use.
7804 * src/hildon-pannable-area.c: Replaced the time based algorithm
7806 (hildon_pannable_area_motion_notify_cb): now we do not launch the
7807 timeout for the AUTO mode when we are still moving the cursor. We
7808 added also the velocity calculation in this function.
7809 (hildon_pannable_area_button_release_cb): launch the timeout in
7810 case we are in AUTO mode. There are still some constants here that
7811 come from the old implementation that should be reviewed and
7814 2008-05-15 Alberto Garcia <agarcia@igalia.com>
7816 * doc/hildon-docs.sgml
7819 * src/hildon-stackable-window.c
7820 * src/hildon-stackable-window.h
7822 New HildonStackableWindow widget
7824 * examples/hildon-dialog-example.c
7825 * examples/hildon-pannable-area-example.c
7828 2008-05-14 Alberto Garcia <agarcia@igalia.com>
7830 * src/hildon-dialog.c
7831 (hildon_dialog_new_with_buttons): New constructor.
7833 * examples/hildon-dialog-example.c
7834 (main): Update the example to use the new
7835 hildon_dialog_new_with_buttons().
7837 * examples/hildon-pannable-area-example.c
7838 (main): Update example.
7840 2008-05-13 Alberto Garcia <agarcia@igalia.com>
7842 * doc/hildon-docs.sgml
7844 Added HildonPannableArea to the documentation.
7846 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
7848 * doc/visual_index.xml
7849 Fix reference to HildonLoginDialog in documentation
7851 * doc/hildon-docs.sgml
7853 * examples/Makefile.am
7854 * examples/hildon-dialog-example.c
7856 * src/hildon-dialog.c
7857 * src/hildon-dialog.h
7859 New HildonDialog widget.
7861 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7863 * src/hildon-pannable-area.c
7864 Merge latest changes (r4318, r4342) from libmokoui trunk
7866 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7868 * examples/Makefile.am
7869 * examples/hildon-pannable-area-example.c
7871 * src/hildon-pannable-area.c
7872 * src/hildon-pannable-area.h
7874 New HildonPannableArea widget.
7876 2008-04-15 18:05:19 <timj@imendio.com>
7878 * src/hildon-banner.c: revert the recent change, that introduced
7879 gtk_window_present() calls. this reopens:
7880 Bug 78481 - [freetest] information banners are hidden under browser menu
7881 But resolves another variant of:
7882 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7884 2008-04-15 13:21:13 <timj@imendio.com>
7886 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
7887 recreated its layout, spotted by Kris. this fixes all remaining
7888 artefacts and stability issues with the banner code. in particular:
7889 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7891 2008-04-14 16:52:59 <timj@imendio.com>
7893 * src/hildon-banner.c: guard force_to_wrap_truncated() against
7894 operating on unrealized widgets, fixes:
7895 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7897 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
7899 2008-04-09 Kristian Rietveld <kris@imendio.com>
7901 Fixes: NB#77775: Media Player, Save Now playing list, too long name
7902 makes banner disappear.
7903 Fixes: NB#79182: info banner flickering with certain message lengts.
7905 * src/hildon-banner.c (hildon_banner_constructor),
7906 (hildon_banner_init), (hildon_banner_set_text),
7907 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
7908 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
7909 FALSE, reset size requests of label and banner,
7910 (force_to_wrap_truncated): when the text is too wide, always enforce
7911 the maximum possible width instead of recalculating it from the
7912 layout; enforce the maximum banner height of 3 lines,
7913 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
7914 nicer wrapping and no truncated chars if space gets tight.
7916 * src/hildon-banner-private.h: add has_been_wrapped and
7917 has_been_truncated fields.
7919 2008-04-07 Sven Herzberg <sven@imendio.com>
7921 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
7922 local values in hildon_date_editor_size_allocate
7924 * src/hildon-date-editor.c: moved the real allocation code into the
7927 2008-04-07 Sven Herzberg <sven@imendio.com>
7929 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7930 local values in hildon_date_editor_size_allocate
7932 * src/hildon-date-editor.c: merged the two if() branches together
7934 2008-04-07 Sven Herzberg <sven@imendio.com>
7936 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7937 local values in hildon_date_editor_size_allocate
7939 * src/hildon-date-editor.c: changed the arguments of the if()
7942 2008-04-07 Sven Herzberg <sven@imendio.com>
7944 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7945 local values in hildon_date_editor_size_allocate
7947 * src/hildon-date-editor.c: split the calculation of the allocation
7948 from the real allocation
7950 2008-03-27 Michael Natterer <mitch@imendio.com>
7952 Fixes: NB#81696: The passcode is not overwritten even after
7955 * src/hildon-code-dialog.c
7956 (hildon_code_dialog_button_clicked)
7957 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
7958 because that doesn't overwrite selected text. Instead, emit the
7959 "commit" signal on the entry's im_context so the entry's normal
7960 insert logic is triggered. Set the cursor to the end of the entry
7961 after each insert operation so that we *only* insert in the middle
7962 of the text if something was selected.
7964 2008-03-27 Michael Natterer <mitch@imendio.com>
7966 Enable fixing: NB#79916 and NB#79918: The help topic for Color
7967 selector cannot be opened
7969 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
7970 when the popup color selector is created. Please connect to this
7971 signal in order to set the dialog's help ID.
7973 2008-03-25 Sven Herzberg <sven@imendio.com>
7975 Fixes: MB#1212: Hide info banners (infoprints) on click
7977 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
7978 extracted the close event simulation into an extra function
7979 (hildon_banner_button_press_event): simulate a close event and destroy
7980 the widget if the event wasn't handled
7981 (hildon_banner_class_init): added the button_press_event handler
7982 (hildon_banner_init): added button-press events to the widget
7984 2008-03-25 Sven Herzberg <sven@imendio.com>
7986 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
7987 Patch from: Mohammad Anwari <mdamt@maemo.org>
7989 * src/hildon-banner.c: let the HildonBanners pop up on the left side
7990 instead of the right in RTL mode
7991 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
7992 breadcrumb button list in RTL mode
7993 * src/hildon-caption.c: mirror the appearance of the caption widget in
7995 * src/hildon-date-editor.c: mirror appearance of the date editor in
7997 * src/hildon-time-editor.c: mirror appearance of the time editor in
7999 * src/hildon-window.c: fix the position of the popup in RTL mode
8001 2008-03-25 Sven Herzberg <sven@imendio.com>
8003 Amendment to the fix of NB#22072. Fix compilation.
8005 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8007 2008-03-19 Sven Herzberg <sven@imendio.com>
8009 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8012 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8013 timeout id properly when the timeout will disappear this leaves no
8014 artifacts around in the destroy(); there will only be the timeout
8015 created by hildon_banner_ensure_timeout() and adding a new timeout
8016 will also work if the timeout gets removed because the timeout_handler
8019 2008-03-19 Michael Natterer <mitch@imendio.com>
8021 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8023 * src/hildon-volumebar.c
8024 * src/hildon-vvolumebar.c
8025 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8026 the widget becomes focussable at all.
8028 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8029 set the focus to wither the mute button or the volumebar.
8031 Remove own "can-focus" property and instead listen to
8032 notify::can-focus in order to update the widget's state.
8034 Implement GtkWidget::focus() and make sure we can also *leave* the
8035 widget, not only enter it, depending on volumebar orientation and
8036 requested focus direction.
8038 Clean up set_mute() to cooperate nicely with all the above.
8040 2008-03-04 Michael Natterer <mitch@imendio.com>
8042 Fixes: NB#78481: information banners are hidden under browser menu
8044 * src/hildon-banner.c: call gtk_window_present() on the banners so
8045 they are risen if they are already visible.
8047 2008-03-03 Sven Herzberg <sven@imendio.com>
8049 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8051 * examples/hildon-window-menu-example.c: (main): extended the window
8052 menu example to serve as a testcase for automatically added
8053 accelerator groups, too
8054 * src/hildon-window.c: (hildon_window_add_accel_group),
8055 (hildon_window_set_menu): added patch by Tommi Komulainen
8057 2008-03-03 Sven Herzberg <sven@imendio.com>
8059 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8061 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8062 knowledge about the border allocators used within GTK+
8064 2008-02-26 Sven Herzberg <sven@imendio.com>
8066 Fixes: MB#2981: Build with asserts broken
8068 * src/hildon-date-editor.c,
8069 * src/hildon-number-editor.c,
8070 * src/hildon-time-editor.c,
8071 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8072 the proper GType instance check
8074 2008-02-25 Sven Herzberg <sven@imendio.com>
8076 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8078 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8079 * examples/hildon-window-menu-example.c: (main): explicitly show
8081 * src/hildon-window.c:
8082 (hildon_window_set_main_menu): moved most of the code from set_menu()
8083 to this place; skipped the call to gtk_widget_show_all(); also didn't
8084 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8085 (hildon_window_set_menu): removed most of the code, just keep the
8086 questionable gtk_widget_show_all()
8087 * src/hildon-window.h: added the new function and deprecate the old
8090 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8096 * debian/changelog: Updating.
8098 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8101 * pkgconfig/Makefile.am:
8102 * pkgconfig/hildon.pc.in:
8105 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8106 use newly created API_MAJOR_VERSION.
8108 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8114 * debian/changelog: Updating.
8116 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8118 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8120 Add outer_border style property, we use it but don't define it (!).
8124 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8126 * examples/hildon-bread-crumb-trail-example.c (main):
8130 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8132 Fix logic for the bread crumb trail node removal.
8136 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8142 * debian/changelog: Updating.
8144 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8146 Patch by Alejandro to get/set passwords dialogs accesibility.
8148 * hildon-1/src/hildon-get-password-dialog.c:
8149 * hildon-1/src/hildon-set-password-dialog.c:
8150 Set atk_set_name to the passwd entries in order to allow
8151 accessibility by name on this entries.
8153 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8158 * debian/control: Updating gtk dep.
8160 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8162 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8163 USE_MAEMO_GTK is enabled.
8165 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8167 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8168 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8170 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8176 * debian/changelog: Updating.
8178 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8180 * examples/Makefile.am:
8181 * examples/hildon-logical-color-example.c:
8182 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8183 applied + adding a test case. Fixes: NB#71660.
8185 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8187 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8188 to be visible, fixes warning on map for windows without toolbars.
8190 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8192 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8193 2.11.0, add a check for that besides the MAEMO_GTK check.
8195 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8201 * debian/changelog: Updating.
8203 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8205 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8206 visibility. Fixes: NB#70842 and MB#615.
8208 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8210 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8211 set the separator as no-show-all so it doesn't unintentionally appear when
8212 someone does a show_all.
8214 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8216 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8217 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8218 toplevel item. Fixes: NB#62031
8220 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8222 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8223 fix the name of the function in the docs.
8225 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8231 * debian/changelog: Updating.
8233 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8235 * examples/hildon-banner-long-example.c: Adding a test-case for long
8238 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8240 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8242 * src/hildon-color-chooser-dialog.c:
8243 * src/hildon-color-chooser.c:
8244 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8245 memory leaks in font selector and color selector. Fixes: NB#70499 and
8248 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8250 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8252 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8254 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8255 little bit bigger. Fixes: #NB63694.
8257 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8263 * debian/changelog: Updating.
8265 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8268 * doc/hildon-docs.sgml:
8269 * doc/images/bread-crumb-trail.png:
8270 * doc/images/calendar-popup.png:
8271 * doc/images/caption.png:
8272 * doc/images/code-dialog.png:
8273 * doc/images/color-button.png:
8274 * doc/images/color-chooser-dialog.png:
8275 * doc/images/color-chooser.png:
8276 * doc/images/controlbar.png:
8277 * doc/images/date-editor.png:
8278 * doc/images/font-selection-dialog.png:
8279 * doc/images/get-password-dialog.png:
8280 * doc/images/hvolumebar.png:
8281 * doc/images/login-dialog.png:
8282 * doc/images/note.png:
8283 * doc/images/number-editor.png:
8284 * doc/images/range-editor.png:
8285 * doc/images/seekbar.png:
8286 * doc/images/set-password-dialog.png:
8287 * doc/images/sort-dialog.png:
8288 * doc/images/time-editor.png:
8289 * doc/images/time-picker.png:
8290 * doc/images/vvolumebar.png:
8291 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8292 Adding the bread-crumb-trial and helpers to the documentation.
8294 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8296 * examples/hildon-find-toolbar-example.c:
8297 * src/hildon-find-toolbar.c:
8298 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8299 actually continue firing the other handlers if connected. Adding a new
8301 hildon_find_toolbar_get_last_index that gets the index of the most
8302 recently added (last) item. Fixes: NB#52301.
8304 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8306 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8307 behaviour. Fixes: NB#68610.
8309 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8311 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8314 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8316 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8317 when realizing the banner. Should make the infonbanner effect a bit more
8320 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8322 * src/hildon-volumebar.c:
8323 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8324 hildon_volumebar_set_range_insensitive_message and
8325 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8327 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8329 * src/hildon-window.c: Fixing the border freeing on destroy.
8331 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8333 * src/hildon-code-dialog-private.h:
8334 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8335 kw keyboard support in HildonCodeDialog.
8337 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8343 * debian/changelog: Updating.
8345 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8347 * src/hildon-date-editor.c:
8348 * src/hildon-number-editor.c:
8349 * src/hildon-private.c:
8350 * src/hildon-private.h:
8351 * src/hildon-time-editor.c:
8352 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8353 handling in subclassed composite widgets. Fixes: NB#66628.
8355 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8357 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8358 from destroy_ callback as it introduces problems in async dbus signal
8359 handlers. Fixes NB#66673.
8361 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8363 * examples/hildon-hvolumebar-example.c:
8364 * src/hildon-volumebar.c: Improving the focus handling in the
8365 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8366 set_property accessor so that "mute" property can be actually set. I'm
8367 scared that nobody noticed it's totally broken.
8369 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8371 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8374 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8376 * src/hildon-calendar.c:
8377 * src/hildon-number-editor.c:
8378 * src/hildon-time-picker.c: Changing the timeout repeat so that it
8379 matches the spec of 6 chars per second. Fixes: NB#60489.
8381 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8383 * src/hildon-helper.c: Really fixing NB#58352. Looks like
8384 gtk_style_lookup_color sometime returns FALSE even though color was
8385 found and values were filled properly. Weird. Removing the warning for the
8388 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8390 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8391 expand vertically. Adding some extra space to the find toolbar buttons to
8392 make them thumbable. Fixes NB#66060.
8394 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8396 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8397 popup with "Ok" and "Cancel". Fixes NB#59299.
8399 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8401 * src/hildon-calendar.c: Process all window updates before executing next
8402 timeout. Fixes: NB#54146.
8404 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8410 * debian/changelog: Updating.
8412 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8414 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8415 the client event and ignore it, since we use the delete event to close
8418 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8420 * src/hildon-helper.c: Remove the bogus warning about color not being
8421 found. Fixes NB#58352.
8423 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8425 * examples/Makefile.am:
8426 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8427 HildonSeekbar widget inside a toolbar.
8429 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8431 * src/hildon-banner.c (hildon_banner_init): mark the banners as
8432 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8433 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8434 don't want to be closed by non-temporary windows on map.
8436 Also use G_DEFINE_TYPE instead of manually typed code.
8438 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8445 * debian/rules: Updating.
8447 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8449 * examples/Makefile.am:
8450 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8451 bug NB#61128. Strangely it works.
8453 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8455 * src/hildon-date-editor.c: When the date editor entry has been changed
8456 but the numbers of characters < max, turn off the skip validation flag.
8457 Prevents a situation when we enter first a valid year and later re-write
8458 it with an invalid one. Fixes NB#60154.
8460 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8462 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
8463 code dialog. Fixes NB#64355.
8465 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8467 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
8468 switching the page. Fixes NB#49374.
8470 * examples/Makefile.am:
8471 * examples/hildon-wizard-dialog-example.c: Adding an example for
8472 HildonWizardDialog that shows how to handle manual sensitivity setting on
8475 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8479 * src/hildon-version.h.in:
8480 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
8482 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8484 * src/hildon-volumebar.c: Updating the docs.
8486 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8492 * debian/changelog: Updating.
8494 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8496 * src/hildon-find-toolbar.c:
8497 * src/hildon-find-toolbar.h: Adding a few new functions to control the
8498 selected item: hildon_find_toolbar_set_active,
8499 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
8500 hildon_find_toolbar_get_active_iter . They correspond to respective
8501 GtkComboBox functions.
8503 * examples/Makefile.am:
8504 * examples/hildon-find-toolbar-example.c: Adding the example to test the
8507 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8509 * examples/Makefile.am:
8510 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
8513 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
8514 when font size > 32 and we pack a focusable widget inside. Actually using
8515 the default response would work too, but since we don't show default
8516 response state in any way (no theming) it would not be visible to the
8517 user. Fixes NB#63430.
8519 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8521 * src/hildon-date-editor.c: Adding the missing variable setter in the
8522 set_property handler. Fixes NB#54182.
8524 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8526 * src/hildon-window.h: Changing the long key press time from 1500ms to
8527 800ms as requested in NB#63700. I have a bad feeling about this, let's
8528 see... Fixes NB#63700.
8530 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
8532 * src/hildon-time-picker.c (hildon_time_picker_class_init,
8533 hildon_time_picker_map, hildon_time_picker_realize,
8534 hildon_time_picker_style_set): Split the contents of map to more
8535 appropriate functions; set window decorations on realize and update
8536 arrows' size requisitions on style-set. Avoids unnecessary resizing.
8538 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
8543 * debian/changelog: Updating.
8545 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
8547 * src/Makefile.am: fixed installation of the header files
8549 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8555 * debian/changelog: Updating.
8557 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8559 * configure.ac: Removing some remaining of --enable-xan.
8561 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
8563 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
8564 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
8566 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
8567 2.10.12-osso6 because the move-focus signal needs to be available in
8570 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8572 * examples/Makefile.am:
8573 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
8574 that makes a HildonVolumebar insensitive before mapping it. Seems to work
8575 fine. Prolly NB#61128 is fixed now.
8577 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8579 * src/hildon-volumebar.c:
8580 * src/hildon-volumebar.h: Adding the
8581 hildon_volumebar_set_range_insensitive_message and
8582 hildon_volumebar_set_range_insensitive_messagef functions to set
8583 insensitive message on the slider of the volumebar. Fixes NB#61129.
8585 * examples/Makefile.am:
8586 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
8587 test the new insensitive messsage functionality on HildonVolumebar.
8589 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
8591 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
8594 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
8596 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
8597 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
8598 button on after clearing the trail.
8600 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8602 * src/hildon-code-dialog.c: Removing the separator from the dialog.
8604 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8606 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
8607 by splitting the installed headers in generated and non-generated groups. Use
8608 only the non-generated headers to create the hildon-enum-types.h file.
8610 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
8612 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8614 * src/hildon-window.c: Hide the window before performing the destroy.
8615 Should make the app closing a little tiny bit more snappy.
8617 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8619 * src/hildon-seekbar.c: add gtkrange.h header
8620 * src/hildon-caption.c: remove unused variable
8622 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
8624 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
8627 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8633 * debian/changelog: Updating.
8635 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
8637 * src/hildon-window.c (hildon_window_window_state_event,
8638 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
8639 escape timeout on focus-out-event rather than notify::is-topmost; the
8640 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
8642 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8644 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
8645 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
8647 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8649 * src/hildon-window: actually, you need to use the macro always, there's
8650 no private pointer in the instance structure. We should have cleaned this up
8651 when we had the chance...
8653 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8655 * src/hildon-window.c: do not get the private date from HildonWindow before
8656 it passes the g_return_if_fail check. Once it's passed the test, there's no
8657 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
8658 if you are only going to access the data once. Whitespace cleanups.
8660 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
8662 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8663 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8665 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8671 * debian/changelog: Updating.
8673 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8675 * src/hildon-window.c: When destroying the window, remove (if exists) the
8676 escape timeout handler. Fixes #NB59276.
8678 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8680 * src/hildon-banner.c: When realizing the widget, set the window
8681 transiency. Setting the transiency in the gobject constructor is not
8682 good, as the widget is not realized at that point. Fixes: #NB56624.
8684 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8686 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
8687 Add padding for future expansions.
8689 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8691 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
8692 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
8693 will fake an activation on the previous to the last item of the trail, so
8694 the effect can be overrided by the developer as usual.
8695 Also change the callback for the back button to do the same thing, so its
8696 effect can be overrided too. Fixes: NB#58982
8698 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8700 * src/hildon-caption.c: Implementing the proper focus grabbing in the
8701 HildonCaption. Fixes NB#52379.
8703 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8705 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
8706 the internal state of the trail after the user has had the chance of executing
8707 his handler for the signal. Specifically, it may happen that the activated button
8708 is removed and the user still lets the default handler run. This would segfault
8711 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8713 * src/hildon-font-selection-dialog.c: When the font is really big, add the
8714 scrollbar to the preview dialog. Fixes NB#54147.
8716 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8718 * src/hildon-date-editor.c: Changing the default max year to 2037. The
8719 max/min year properties can be altered, so the client can modify it
8720 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
8722 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8724 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
8725 hildonlike by default. Fixing a problem with disappearing arrows when
8726 scrolling through months and years. Fixes NB#54127.
8728 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8730 * examples/hildon-date-editor-example.c: Adding error callback to the date
8733 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8739 * configure.ac: Updating.
8741 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8743 * configure.ac: Adding a special '--enable-xan' configure option that
8744 turns off the -Werror compilation setting. Usefull for development.
8746 * src/hildon-calendar.c:
8747 * src/hildon-number-editor.c:
8748 * src/hildon-time-picker.c: Adding the 5* multiplier to
8751 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
8753 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
8754 instead of g_object_ref + gtk_object_sink.
8756 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8762 * debian/changelog: Updating.
8764 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8766 * src/hildon-color-chooser-dialog.c:
8767 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
8768 straight from Tommi labs.
8770 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8772 * examples/hildon-finger-example.c: Correcting the header file path.
8774 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
8775 the changed signal. Fixes a small memory leak.
8777 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8781 * src/hildon-banner.c: Importing several usefull fixes from the
8782 ubuntu-mobile branch.
8784 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8786 * examples/Makefile.am:
8787 * examples/hildon-finger-example.c: Adding a finger-checking code
8790 * src/hildon-font-selection-dialog.c: Do not allocate the color
8791 structure using the g_new. Fixes NB#54061.
8793 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8795 * src/hildon-helper.c: Correcting tabs in file.
8797 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
8799 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
8800 control the visibility of the children.
8802 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
8804 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8810 * debian/changelog: Updating.
8812 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8814 * src/hildon-bread-crumb-trail.c:
8815 (hildon_bread_crumb_trail_size_allocate):
8817 Make the back button always a square.
8819 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8821 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
8822 from the .c file as it's a private file.
8824 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8826 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
8827 uses slightly bigger height.
8829 * src/hildon-font-selection-dialog.c: Adding some checks before
8830 freeing memory in the font selection dialog.
8832 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8834 * src/hildon-font-selection-dialog.c: Adding a small check when
8837 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
8838 buttons sensitivity on page switching.
8840 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
8842 * src/hildon-bread-crumb-trail.c: make the add method handle all the
8843 internal details of adding a bread crumb to the trail.
8845 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8851 * debian/changelog: Updating.
8853 * src/hildon-bread-crumb-trail.h:
8854 * src/hildon-bread-crumb.h: Changing the API guard to
8855 HILDON_ENABLE_UNSTABLE_API.
8857 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8865 * src/hildon-helper.h: Updating.
8867 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8875 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8879 * src/hildon-helper.h: Small fix to make the package actually compile.
8881 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8883 * src/hildon-bread-crumb-trail.h:
8884 * src/hildon-bread-crumb.h:
8886 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
8887 to define ENABLE_UNSTABLE_API in the code that includes these headers.
8889 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8891 * examples/hildon-bread-crumb-trail-example.c:
8893 * src/hildon-bread-crumb-trail.c:
8894 * src/hildon-bread-crumb-trail.h:
8895 * src/hildon-bread-crumb.c:
8896 * src/hildon-bread-crumb.h:
8897 * src/hildon-marshalers.list:
8898 * src/hildon-bread-crumb-widget.c:
8899 * src/hildon-bread-crumb-widget.h:
8901 Slight change in the widget design. The bread crumb trail API is
8902 unchanged, but HildonBreadCrumb is now an interface. A *private*
8903 implementation, hildon-bread-crumb-widget, is provided and used
8904 internally by the trail for the push_text/push_icon functions.
8906 The generic push API is still available, so anyone can implement
8907 and use its own bread crumb widget.
8909 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8911 * debian/rules: Fixing the shlibs.
8913 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8915 * src/hildon-banner.c: Fixing a problem with timed banners having
8916 their parrent destroyed before they are.
8918 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
8920 * src/hildon-bread-crumb.c:
8921 * src/hildon-bread-crumb.h:
8923 Make the get_natural_size function a vfunc.
8925 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8927 * src/hildon-bread-crumb.c:
8928 * src/hildon-bread-crumb-trail.c:
8932 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8939 * debian/changelog: Updating for release.
8941 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8943 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
8944 don't leak the pango layout.
8946 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8949 * examples/hildon-bread-crumb-trail-example.c:
8953 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8955 * debian/changelog: Removing the bug-fixed entries that were actually
8956 resolved as WONTFIX.
8958 * src/hildon-date-editor.c: Removing a redundant check. Fixes
8961 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8963 * src/hildon-bread-crumb-trail.c:
8964 * src/hildon-bread-crumb-trail.h:
8965 * src/hildon-bread-crumb.c:
8966 * src/hildon-bread-crumb.h:
8970 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8972 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
8973 until it's passed the type check.
8975 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8977 * examples/hildon-bread-crumb-trail-example.c
8981 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8983 * examples/Makefile.am
8984 * examples/hildon-bread-crumb-trail-example.c
8986 * src/hildon-bread-crumb-trail.c
8987 * src/hildon-bread-crumb-trail.h
8988 * src/hildon-bread-crumb.c
8989 * src/hildon-bread-crumb.h
8991 New HildonBreadCrumbTrail widget.
8993 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
8995 * src/hildon-range-editor.c (hildon_range_editor_init),
8996 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
8997 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
8998 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
8999 hildon_time_editor_class_init, hildon_time_editor_init),
9000 src/hildon-get-password-dialog.c (invalid_input,
9001 hildon_get_password_set_property, hildon_get_password_get_property,
9002 create_contents, hildon_get_password_dialog_set_max_characters),
9003 src/hildon-set-password-dialog.c (create_contents),
9004 src/hildon-date-editor.c (hildon_date_editor_init),
9005 src/hildon-login-dialog.c (hildon_login_dialog_init),
9006 src/hildon-number-editor.c (hildon_number_editor_init),
9007 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9008 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9009 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9010 configure option and adding the respective checks in the code.
9011 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9012 hildon_calendar_drag_data_received): fixed some build warnings.
9014 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9016 * debian/changelog: A 1.0.0 release notes.