1 2009-06-23 Alejandro G. Castro <alex@igalia.com>
3 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
4 (hildon_pannable_area_dispose)
5 (hildon_pannable_area_button_press_cb)
6 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
7 (hildon_pannable_area_button_release_cb)
8 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
9 New 'panning-started' and 'panning-finished' signals.
11 Fixes: NB#121732 (New feature request: Signal to pannable area
12 that informs when panning is stopped.)
14 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
16 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
17 instead of hardcoded colon.
19 Fixes: NB#124090 (New calendar wizard title is not using
20 ecdg_ti_caption_separator)
22 2009-06-22 David King <davidk@openismus.com>
24 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
25 constants and functions, as well as correct many typos throughout the
28 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
31 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
33 * configure.ac: postrelease version bump.
34 * debian/changelog: post release version bump
36 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
41 * configure.ac: Bump version.
42 * debian/changelog: Updates.
44 2009-06-18 Alberto Garcia <agarcia@igalia.com>
46 * hildon/hildon-window-stack.c
47 (hildon_window_stack_pop_and_push_list):
48 Prevent windows from having the same stack index
50 2009-06-18 Alberto Garcia <agarcia@igalia.com>
52 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
53 Use the index of the previous window rather than the stack length
54 to calculate the new index.
58 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
60 * hildon/hildon-date-selector.c
61 (hildon_date_selector_select_current_date)
62 (hildon_date_selector_get_date)
63 (hildon_date_selector_select_day):
64 Update the documentation: uses always the range (1-31), as it is obvious
65 that the final one will depend on the month and the year, but globally
66 the range is this, in a similar GtkCalendar approach
67 (hildon_date_selector_get_date):
68 Update the documentation: add NULL as a valid value for the day, month
71 Fix some details, after talk with David King on bug MB#4698
73 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
75 * hildon/hildon-touch-selector-entry.c
76 * hildon/hildon-touch-selector.c
77 Update the documentation of the "text-column" property
79 2009-06-18 David King <davidk@openismus.com>
81 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
82 several typos and errors throughout the documentation.
84 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
87 2009-06-18 Alberto Garcia <agarcia@igalia.com>
89 * hildon/hildon-note.c (hildon_note_realize):
90 Make HildonNote support portrait mode.
92 Fixes: NB#123448 (HildonNote is not portrait-friendly)
94 2009-06-17 Alberto Garcia <agarcia@igalia.com>
96 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
97 Document this function
99 2009-06-17 David King <davidk@openismus.com>
101 * hildon/hildon-date-selector.c
102 (hildon_date_selector_select_current_date)
103 (hildon_date_selector_get_date): Update documentation regarding days,
104 as the day of the month is dependent on both the month and the year.
105 (hildon_date_selector_get_date): Fix documentation of output arguments.
107 Fixes: MB#4698 (DateSelector documentation has bad output argument
108 description, and the day depends on both the month and the year)
110 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
112 * hildon/hildon-caption.c: Other documentation fixes to
115 2009-06-17 David King <davidk@openismus.com>
117 * hildon/hildon-caption.c: Minor documentation updates for
118 HildonCaption. Fixes MB#4697.
120 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
122 * doc/hildon-docs.sgml: Add hildon-version section.
123 * doc/hildon-sections.txt:
124 * hildon/hildon-version.h.in: Document versioning macros and
127 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
129 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
130 from HildonPickerDialog section.
132 2009-06-16 Alberto Garcia <agarcia@igalia.com>
134 * hildon/hildon-banner.c (hildon_banner_bind_style)
135 (screen_size_changed, hildon_banner_init)
136 (hildon_banner_real_show_information)
137 (hildon_banner_show_information_with_markup)
138 (hildon_banner_show_animation, hildon_banner_show_progress):
139 Set a different widget name to banners in portrait mode, for them
140 to be themed correctly.
142 2009-06-16 Alberto Garcia <agarcia@igalia.com>
144 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
145 Set a different widget name to notes in portrait mode, for them to
148 Partially fixes: NB#118401 (HildonNote causes unnecessary
151 2009-06-16 Alberto Garcia <agarcia@igalia.com>
153 * hildon/hildon-note.c (hildon_note_class_init)
154 (+hildon_note_size_request, screen_size_changed):
155 Always request the full width of the screen.
157 Fixes: NB#118375 (unnecessary rescaling of images)
159 2009-06-16 Alejandro G. Castro <alex@igalia.com>
161 * hildon/hildon-pannable-area.c,
162 (hildon_pannable_area_init),
163 (hildon_pannable_area_realize): Replaced old code adding flags in
164 the object init, now we add it with the other flags in the realize
167 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
169 * hildon/hildon-note.c: (hildon_note_class_init): Several
170 documentation improvements to the HildonNote widget.
172 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
174 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
176 Fixes: MB#4556 (HildonNoteType is undocumented)
178 2009-06-15 Alberto Garcia <agarcia@igalia.com>
180 * hildon/hildon-picker-button.c:
181 Explain how HildonPickerButton sets the title of its dialog
183 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
184 the title of its dialog)
186 2009-06-15 Alberto Garcia <agarcia@igalia.com>
188 * hildon/hildon-check-button.c:
189 Documentation updates
191 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
194 2009-06-15 Alberto Garcia <agarcia@igalia.com>
197 * hildon/hildon-edit-toolbar-private.h
198 * hildon/hildon-edit-toolbar.c
199 (+hildon_edit_toolbar_set_progress_indicator)
200 (hildon_edit_toolbar_init): Add progress indicator to the
203 * hildon/hildon-gtk.c
204 (hildon_gtk_window_set_progress_indicator):
205 If the window contains a HildonEditToolbar, enable the progress
208 * hildon/hildon-private.h
209 * hildon/hildon-private.c
210 (+hildon_private_create_animation)
211 * hildon/hildon-banner.c
212 (-hildon_banner_create_animation):
213 Moved to hildon-private.c
215 Fixes: NB#102373 (Progress indicator also for the Edit mode
218 2009-06-15 Alberto Garcia <agarcia@igalia.com>
220 * hildon/hildon-app-menu-private.h
221 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
222 (hildon_app_menu_add_filter, +menu_item_button_event)
223 (hildon_app_menu_button_release, hildon_app_menu_init):
224 Make sure that buttons receive 'button-release-event' in spite of
225 the grab held by HildonAppMenu
227 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
229 2009-06-15 Alberto Garcia <agarcia@igalia.com>
231 * hildon/hildon-app-menu.c
232 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
233 New style property to set the size of the group of filter buttons.
235 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
237 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
242 * configure.ac: Bump version.
243 * debian/changelog: Updates.
245 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
247 * hildon/hildon-main.c: Minor documentation fixes.
249 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
251 * doc/hildon-sections.txt:
252 * hildon/hildon-defines.h: Document the defines, organize them,
253 and mark deprecations as such.
255 Fixes: MB#4463 (Hildon size #defines are undocumented)
257 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
259 * hildon/hildon-animation-actor.c:
260 * hildon/hildon-app-menu.c:
261 * hildon/hildon-button.c:
262 * hildon/hildon-date-editor.c:
263 * hildon/hildon-dialog.c:
264 * hildon/hildon-edit-toolbar.c:
265 * hildon/hildon-entry.c:
266 * hildon/hildon-program.c:
267 * hildon/hildon-remote-texture.c:
268 * hildon/hildon-stackable-window.c:
269 * hildon/hildon-text-view.c:
270 * hildon/hildon-touch-selector.c:
271 * hildon/hildon-window-stack.c:
272 * hildon/hildon-window.c:
274 Remove redundant "represents" wording from most of the documentation.
276 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
278 2009-06-12 Alberto Garcia <agarcia@igalia.com>
283 * hildon/hildon-banner-private.h
284 * hildon/hildon-banner.c:
285 Move HildonBannerPrivate to hildon-banner.c and remove
286 hildon-banner-private.h
287 Use a bit field to store private booleans.
289 2009-06-12 Alberto Garcia <agarcia@igalia.com>
291 * hildon/hildon-app-menu.c (hildon_app_menu_map):
292 Don't install a new idle function if there's already one
297 2009-06-11 Alberto Garcia <agarcia@igalia.com>
299 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
300 (+legacy_menu_realized, +legacy_menu_unmapped)
301 (+set_legacy_menu_type):
302 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
303 they can be identified by the window manager.
305 Fixes: NB#101437 (Invoking CSM on the left side of page area is
306 displayed in wrong location)
308 Fixes: MB#4563 (Popup menu won't locate at the left side of the
311 2009-06-11 Alberto Garcia <agarcia@igalia.com>
313 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
315 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
318 2009-06-11 Alberto Garcia <agarcia@igalia.com>
320 * hildon/hildon-code-dialog.c
321 * hildon/hildon-date-editor.c
322 * hildon/hildon-number-editor.c
323 * hildon/hildon-seekbar.c
324 * hildon/hildon-stackable-window.c
325 * hildon/hildon-window.c:
326 Misc documentation updates
328 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
330 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
331 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
333 Fixes: NB#117931 (Theming issues in accounts dialogs)
335 2009-06-09 Alejandro G. Castro <alex@igalia.com>
337 * hildon/hildon-pannable-area.c,
338 (hildon_pannable_area_button_release_cb): Changed the coordinates
339 of the original release in case we want to discard the release,
340 some widgets in Fremantle do not handle the leave-notify.
342 2009-06-09 Alejandro G. Castro <alex@igalia.com>
344 * hildon/hildon-pannable-area.c,
345 (hildon_pannable_area_button_release_cb): Reviewed the logic of
346 the release using the last refactored functions and avoiding the
347 movement if an element was selected.
349 2009-06-09 Alejandro G. Castro <alex@igalia.com>
351 * hildon/hildon-pannable-area.c,
352 (hildon_pannable_area_check_move),
353 (hildon_pannable_area_handle_move),
354 (hildon_pannable_area_motion_notify_cb): Refactored the
355 motion_notify method using a couple of new functions.
357 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
359 * hildon/hildon-date-selector.c:
360 (hildon_date_selector_construct_ui):
361 * hildon/hildon-time-selector.c:
362 (hildon_time_selector_constructor):
363 * hildon/hildon-touch-selector-entry.c:
364 (hildon_touch_selector_entry_set_text_column),
365 (hildon_touch_selector_entry_get_text_column):
366 * hildon/hildon-touch-selector.c: (_default_print_func),
367 (hildon_touch_selector_new_text): Use
368 hildon_touch_selector_set/get_text_column() instead of
369 setting/getting the "text-column" property.
371 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
373 * doc/hildon-sections.txt: Add the new public methods below.
375 * examples/hildon-picker-button-multicolumn-example.c:
376 (create_touch_selector):
377 * examples/hildon-touch-selector-example.c: (create_selector):
378 * examples/hildon-touch-selector-multi-cells-example.c:
380 Use hildon_touch_selector_column_set_text_column()
382 * hildon/hildon-touch-selector-column.h:
383 * hildon/hildon-touch-selector.c:
384 (hildon_touch_selector_column_set_text_column),
385 (hildon_touch_selector_column_get_text_column):
386 Make hildon_touch_selector_column_set/get_column() public, use
387 them in the inline example, document them, and reference to them
390 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
392 * hildon/hildon-time-selector.c: Fix the docs for
393 hildon_time_selector_new_step().
395 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
397 * hildon/hildon-touch-selector.c: Improve the documentation for
398 hildon_touch_selector_append_column().
400 Fixes MB#4641 (Documentation:
401 hildon_touch_selector_append_column() ref-counting)
403 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
405 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
406 Comment out test 5, since the hildon_controlbar_set_range() range
407 check is broken and fixing it would have side effects. Also,
408 this finally fixes make distcheck.
410 Fixes: NB#101420 (Update unit tests and fix make distcheck)
412 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
414 * tests/TEST-CASES.txt: Remove other bogus test.
415 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
416 Remove bogus test that was setting/retrieving a valid value.
418 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
420 * tests/TEST-CASES.txt: Remove bogus tests.
421 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
422 Remove three bogus tests that were actually setting valid colors.
424 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
426 * configure.ac: post release version bump
427 * debian/changelog: post release version bump
429 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
434 * configure.ac: Bump version.
435 * debian/changelog: Updates.
437 2009-06-08 Christian Dywan <christian@lanedo.com>
441 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
442 Correct errors in hildon_format_file-size_for_display and use
443 translations from the hildon-fm package instead of osso-filemanager.
445 2009-06-08 Alejandro G. Castro <alex@igalia.com>
447 * hildon/hildon-pannable-area.c,
448 (hildon_pannable_area_init): Initialized new values to handle the
450 (hildon_pannable_area_adjust_value_changed): Check if the values
451 changed before even call the redraw function.
452 (hildon_pannable_area_size_allocate),
453 (hildon_pannable_axis_scroll),
454 (hildon_pannable_area_scroll),
455 (hildon_pannable_area_jump_to): Improved the diagonal movement
458 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
461 2009-06-08 Alberto Garcia <agarcia@igalia.com>
463 * examples/hildon-banner-example.c:
464 Several style updates
465 (on_animation_clicked, on_animation_idle)
466 (on_progress_clicked, on_progress_idle):
467 Add additional reference for the cases when the parent window is
470 2009-06-08 Alberto Garcia <agarcia@igalia.com>
472 * doc/hildon-sections.txt
473 * hildon/hildon-pannable-area.c
474 * hildon/hildon-banner.h
475 * hildon/hildon-banner.c: Documentation updates.
477 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
480 2009-06-05 Alejandro G. Castro <alex@igalia.com>
482 * hildon/hildon-calendar-popup.h:
483 * hildon/hildon-caption.h:
484 * hildon/hildon-code-dialog.h:
485 * hildon/hildon-controlbar.h:
486 * hildon/hildon-date-editor.h:
487 * hildon/hildon-dialog.h:
488 * hildon/hildon-get-password-dialog.h:
489 * hildon/hildon-hvolumebar.h:
490 * hildon/hildon-login-dialog.h:
491 * hildon/hildon-note.h:
492 * hildon/hildon-number-editor.h:
493 * hildon/hildon-range-editor.h:
494 * hildon/hildon-seekbar.h:
495 * hildon/hildon-set-password-dialog.h:
496 * hildon/hildon-sort-dialog.h:
497 * hildon/hildon-time-editor.h:
498 * hildon/hildon-time-picker.h:
499 * hildon/hildon-volumebar-range.h:
500 * hildon/hildon-volumebar.h:
501 * hildon/hildon-vvolumebar.h:
502 * hildon/hildon-weekday-picker.h:
503 * hildon/hildon-window.h:
504 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
505 macros with the current replacements
507 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
509 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
511 * hildon/hildon-color-button.c (hildon_color_button_init): Use
512 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
513 itself, to make it fit better with Fremantle style.
515 Fixes: NB#109878 (height and width of focus on color icon is not
516 consistent with other item in the application tool bar)
518 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
520 * hildon/hildon-touch-selector.c:
521 (hildon_touch_selector_optimal_size_request): use the current requisition
522 as the base, in order to include any possible extra widget, like the
523 hildon entry on HildonTouchSelectorEntry
525 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
527 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
529 * configure.ac: post release version bump
530 * debian/changelog: post release version bump
532 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
537 * configure.ac: Bump version.
538 * debian/changelog: Updates.
540 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
542 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
544 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
545 to ensure the banner contents are centered, instead of relying on
546 the expand and fill properties in GtkHBox.
547 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
549 Fixes: NB#108265 (Animation banner not properly centered)
551 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
553 * hildon/hildon-pannable-area.c
554 (hildon_pannable_area_initial_effect): Remove the initial_effect
555 management, check initial_hint
556 (hildon_pannable_are_expose_event): Remove the initial_hint management,
557 set initial_effect to FALSE
558 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
559 by launching the fade_timeout if the scrollbars state has changed and are
561 * examples/hildon-pannable-area-initial-hint-example.c
562 Modified to allow to remove rows too. Add and remove rows one by one.
564 2009-05-28 Alberto Garcia <agarcia@igalia.com>
566 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
567 Don't close the menu if there's an animation actor below it.
569 Fixes: NB#117927 (Application menu not usable with animation
572 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
574 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
575 "focus-on-click" from the dialog button, to avoid stealing the
576 focus from the entry.
578 Fixes: NB#118903 (Account setup wizard: Text in Search field
579 should be focused when "Region" touch list picker is reopened
582 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
584 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
585 (prepare_action_area): Completely hide the dialog separator.
587 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
589 * hildon/hildon-touch-selector-entry.c
590 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
591 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
592 now that the entry is exposed.
594 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
596 * hildon/hildon-touch-selector-entry.c
597 (hildon_touch_selector_entry_init): Change the entry's size
598 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
600 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
602 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
603 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
604 avoid unnecessary scaling.
606 2009-05-27 Alberto Garcia <agarcia@igalia.com>
608 * hildon/hildon-app-menu.c (hildon_app_menu_map):
609 Create grab transfer window before calling parent's map function.
611 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
612 "crushed" button(s) in the top left corner)
614 2009-05-26 Alberto Garcia <agarcia@igalia.com>
616 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
617 Check if the window is already realized when pushing it.
619 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
621 * configure.ac: post release version bump
622 * debian/changelog: post release version bump
624 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
629 * configure.ac: Bump version.
630 * debian/changelog: Updates.
632 2009-05-25 Alberto Garcia <agarcia@igalia.com>
634 * hildon/hildon-app-menu.c: Doc updates.
636 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
638 * hildon/hildon-banner.c: Remove leftover macro.
640 2009-05-25 Alejandro G. Castro <alex@igalia.com>
642 * hildon/hildon-pannable-area.c,
643 (hildon_pannable_area_scroll_indicator_fade),
644 (hildon_pannable_area_button_release_cb): Reviewed vmin
645 conditions, it could cause problems in the fadeout procedure.
647 2009-05-25 Alejandro G. Castro <alex@igalia.com>
649 * hildon/hildon-pannable-area.c
650 (hildon_pannable_area_button_release_cb): Added a threshold to
651 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
653 2009-05-25 Alejandro G. Castro <alex@igalia.com>
655 * hildon/hildon-pannable-area.c,
656 (hildon_pannable_area_set_property): Added code to sync the gtk
657 dnd threshold with the panning threshold.
659 2009-05-25 Alejandro G. Castro <alex@igalia.com>
661 * hildon/hildon-pannable-area.c,
662 (hildon_pannable_area_class_init): Changed some of the default
663 values, now it should be less responsive and more accurate.
665 2009-05-25 Alejandro G. Castro <alex@igalia.com>
667 * hildon/hildon-pannable-area.c,
668 (hildon_pannable_area_init),
669 (hildon_pannable_area_scroll_indicator_fade),
670 (hildon_pannable_area_button_press_cb),
671 (hildon_pannable_axis_scroll),
672 (hildon_pannable_area_timeout),
673 (hildon_pannable_area_motion_notify_cb),
674 (hildon_pannable_area_button_release_cb): Changed the name of the
675 clicked attribute to button_pressed, it is more clear about its use.
677 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
679 * src/hildon-pannable-area.c
680 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
682 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
683 vertical scrollbar visibility, and use the data on private section instead,
684 remove the initial_hint check
685 (hildon_pannable_area_expose_event): add the initial_hint check here
687 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
689 * src/hildon-pannable-area.c
690 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
691 if the fadeout effect was used
692 (hildon_pannable_area_expose_event): check if it is required to
693 manage the initial effect on the begining of the function. Previously
694 it was made at the end, but this doesn't ensure that the scrollbars
695 will be painted on the first show. Do not set to FALSE initial_effect,
696 to ensure that the initial hint is showed the first time the pannable
698 * examples/Makefile.am
699 * examples/hildon-pannable-area-initial-hint-example.c:
700 New example, to show that the initial-hint is showed when the widget
703 Fixes: NB#116607 (Pannable area should always have scrollbar visible
704 initially if the application can be scrolled)
706 2009-05-25 Alberto Garcia <agarcia@igalia.com>
708 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
709 Resize table before adding new items to make sure that
710 gtk_table_resize() is called just once.
712 2009-05-25 Alberto Garcia <agarcia@igalia.com>
714 * hildon/hildon-app-menu-private.h
715 * hildon/hildon-app-menu.c (item_visibility_changed)
716 (filter_visibility_changed, hildon_app_menu_show_all)
717 (hildon_app_menu_hide_all, hildon_app_menu_init):
718 Rearrange items just once when gtk_widget_show_all()/hide_all()
721 2009-05-25 Alberto Garcia <agarcia@igalia.com>
723 * hildon/hildon-app-menu.c
724 (hildon_app_menu_insert, hildon_app_menu_add_filter):
725 Don't call gtk_widget_show() on added items.
727 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
728 automatically when they're added)
730 2009-05-20 Alberto Garcia <agarcia@igalia.com>
732 * hildon/hildon-banner.c
733 (hildon_banner_realize, +hildon_banner_unrealize)
734 (+screen_size_changed, hildon_banner_class_init):
735 Redisplay the banner if the screen is rotated.
737 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
738 on transition from landscape to portrait)
740 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
742 * hildon/hildon-banner.[ch]:
743 (hildon_banner_show_information_override_dnd): remove icon_name from the
744 method definition as it is ignored.
745 * examples/hildon-banner-dnd-example.c: updated with the change on
748 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
750 * hildon/hildon-banner-private.h: new require_override_dnd and
751 overrides_dnd variables
752 * hildon/hildon-banner.h:
753 (hildon_banner_show_information_override_dnd): new method, that shows
754 the information but sets the override flag, in order to show important
756 * hildon/hildon-banner.c
757 (hildon_banner_show_information_override_dnd): new method
758 (hildon_banner_set_override_flag): new utility function
759 (hildon_banner_real_show_information): new utility function, in order to
760 generalize the current hildon_banner_show_information_override_dnd and
761 hildon_banner_show_information_override_dnd
762 * examples/Makefile.am
763 * examples/hildon-banner-dnd-example.c: New example that show how to
764 use the new hildon_banner_show_information_override_dnd
766 Fixes: NB#114874 (There is no possibility to show hildon banners with
769 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
771 * hildon/hildon-pannable-area.c: Add a comment explaining the math
772 behind hildon_pannable_calculate_vel_factor().
774 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
776 * hildon/hildon-pannable-area.c
777 (hildon_pannable_calculate_vel_factor): Correct the sum of the
778 deceleration factors.
780 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
782 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
783 Reduce the default value for 'scroll_time' to 1 second, since the
784 current initial scrolling takes too much time.
786 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
788 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
789 calculate velocity factor during initialization, since the properties
792 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
794 * hildon/hildon-pannable-area.c
795 (hildon_pannable_area_set_property): Calculate the velocity factor
796 after setting the deceleration property and not after.
798 2009-05-20 Alberto Garcia <agarcia@igalia.com>
800 * hildon/hildon-entry.c
801 (hildon_entry_class_init, +set_property, hildon_entry_new)
802 * hildon/hildon-check-button.c
803 (hildon_check_button_class_init)
804 (+set_property, hildon_check_button_new):
805 Make the theme size a property.
807 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
808 others) do too much in the _new function)
810 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
812 * configure.ac: post release version bump
813 * debian/changelog: post release version bump
815 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
820 * configure.ac: Bump version.
821 * debian/changelog: Updates.
823 2009-05-15 Alberto Garcia <agarcia@igalia.com>
825 * hildon/hildon-gtk.h
826 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
827 New API function to take a screenshot of a window
829 Fixes: NB#106374 (Need API to take a loading screenshot)
831 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
833 * hildon/hildon-time-selector.c
834 (update_format_policy): prevent to use hours and minutes unitialized
836 2009-05-15 Alberto Garcia <agarcia@igalia.com>
838 * hildon/hildon-window.c (hildon_window_size_request):
839 Always request the full size of the screen (minus the title bar if
840 not in fullscreen mode).
842 Fixes: NB#107486 (HildonWindow should size itself properly)
844 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
846 * hildon/hildon-note-private.h: Add idle_handler to the private data.
847 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
848 (on_show_cb), (sound_handling): Disconnect the idle handler for
849 the sound when the note is finalized to avoid possible crashes.
851 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
854 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
856 * src/hildon-animation-actor.c,
857 * src/hildon-remote-texture.c:
858 Added proper object cleanup to remove signal handler and object
859 references as HildonAnimationActor and HildonRemoteTexture
860 objects get destroyed.
862 Fixes: NB#116682 (Destroying parented animation actors when
863 parent in unmapped leads to crash)
865 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
867 Based on a patch by Christian Dywan (christian@imendio.com)
869 * doc/hildon-sections.txt:
870 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
871 * hildon/hildon-helper.h: New file size formatting method.
873 * debian/control: Depend on osso-filemanager l10n package for
874 proper localization strings.
876 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
878 * tests/Makefile.am: Include top_srcdir to make possible to build
879 tests in a different builddir.
880 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
881 on a different builddir.
883 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
885 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
886 (hildon_touch_selector_remove): Disconnect model's signal handler
889 Fixes: NB#116289 (Hildon home crashes while adding task
892 2009-05-11 Alberto Garcia <agarcia@igalia.com>
894 * hildon/hildon-button.c
895 (hildon_button_set_title, hildon_button_set_value):
896 Hide labels containing an empty string.
898 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
900 * configure.ac: post release version bump
901 * debian/changelog: post release version bump
903 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
908 * configure.ac: Bump version.
909 * debian/changelog: Updates.
911 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
913 * hildon/hildon-note-private.h: Removed sound_signal_handler
914 * hildon/hildon-note.c
915 (on_show_cb): new callback on note "show" event, this simply adds
916 a idle, with the function sound_handling
917 (sound_handling): removed the sound_signal_handler management
918 (hildon_note_init): connect note "show" event to on_show_cb
919 (hildon_note_realize): remove the connection to "expose-event"
921 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
922 device?' confirmation note)
924 2009-05-08 Alberto Garcia <agarcia@igalia.com>
926 * hildon/hildon-note.c
927 (hildon_note_new_information_with_icon_name)
928 (hildon_note_new_confirmation_with_icon_name):
929 Terminate the list of parameters in g_object_set() calls
931 Fixes: NB#115166 (Formatting memory card is not taking place)
933 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
935 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
936 "dialog-information" role for the sound being played.
938 2009-05-06 Alberto Garcia <agarcia@igalia.com>
940 * hildon/hildon-app-menu.c (hildon_app_menu_init):
941 Don't make the menu a modal window, it causes strange interactions
942 with the pointer grab and it's not really needed.
944 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
946 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
948 * hildon/hildon-touch-selector.[ch]
949 (hildon_touch_selector_optimal_size_request): function added to get a
950 optimal size request from the touch selector, when you want a dialog to
951 show as much of the selector
952 * hildon/hildon-picker-dialog.c:
953 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
954 (hildon_app_menu_class_init):
955 New "max-height-landscape" and "max-height-portrait" style properties
956 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
957 (hildon_picker_dialog_get_max_height): returns the maximum height using
958 the style properties defined and checking the current portrait/landscape
960 (_hildon_picker_dialog_set_selector): removed the set_size_request
962 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
964 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
966 * hildon/hildon-bread-crumb-trail.c:
967 * hildon/hildon-bread-crumb.c:
968 * hildon/hildon-seekbar.c:
969 Add reference to replacements for these deprecated widgets.
971 Fixes: MB#4461 (Documentation: All deprecations should mention
974 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
976 * examples/hildon-remote-texture-example.c
978 Change the include to the hildon-remote-texture in order to compile
979 properly the examples on the installed libhildon1-examples package
981 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
983 * tests/Makefile.am: Add check for HildonPickerButton.
984 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
985 (START_TEST), (create_hildon_picker_button_suite): Add three simple
986 checks for the HildonPickerButton.
987 * tests/check_test.c (configure_tests): Add the test suite.
988 * tests/test_suites.h: likewise.
990 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
992 * hildon/hildon-touch-selector.c
993 (+on_row_changed): Emit HildonTouchSelector:changed when the
994 contents of a selected row change.
995 (_create_new_column), (_hildon_touch_selector_set_model): connect
996 to GtkTreeModel:row-changed on a newly set model.
998 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1000 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1002 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1004 * hildon/hildon-banner.c (hildon_banner_destroy)
1005 (hildon_banner_show_progress, hildon_banner_set_fraction):
1006 Remove the progress bar from HildonBanner and use a progress
1009 Fixes: NB#113761 (Update progress banner to use progress
1012 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1014 * hildon/hildon-banner.c:
1015 Calculate size of the banner label using the actual screen width
1016 rather than using a fixed value.
1018 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1021 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1023 * hildon/hildon-pannable-area.c,
1024 (hildon_pannable_area_class_init): Fixed signals documentation
1027 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1029 * configure.ac: post release version bump
1030 * debian/changelog: post release version bump
1032 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1037 * configure.ac: Bump version.
1038 * debian/changelog: Updates.
1040 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1042 * hildon/hildon-edit-toolbar.c
1043 (hildon_edit_toolbar_init):
1044 Don't let buttons in HildonEditToolbar receive focus.
1046 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1047 typing on an HW arrows key)
1049 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1051 * doc/Makefile.am: Fix build.
1053 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1055 * doc/Makefile.am: Do not redefine content_files.
1057 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1065 Renamed src/ to hildon/
1070 Include <hildon/hildon.h> directly in all examples.
1072 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1074 * src/hildon-sort-dialog.c
1075 (hildon_sort_dialog_add_sort_key_with_sorting)
1079 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1081 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1082 make distcheck passes.
1084 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1086 * Makefile.am: Enable gtk-doc during distcheck.
1088 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1090 * Makefile.am: Do not distribute the debian/ directory.
1092 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1094 * doc/Makefile.am: Add the extra SGML files to content_files,
1095 so that they are distributed properly.
1097 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1099 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1102 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1104 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1105 (hildon_note_new_information_with_icon_name): Set the "icon" property
1106 to preserve soundness.
1108 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1110 * src/hildon-font-selection-dialog.c
1111 (hildon_font_selection_dialog_set_property): Fail when the "family"
1112 property is set to NULL.
1114 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1116 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1119 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1121 * src/hildon-time-selector.h:
1122 Added HildonTimeSelectorFormatPolicy
1123 * src/hildon-time-selector.c:
1124 Added PROP_TIME_FORMAT_POLICY
1125 (_check_ampm_format): renamed to check_automatic_ampm_format
1126 (update_format_policy), (update_format_dependant_columns): new functions
1127 (hildon_time_selector_class_init)
1128 (hildon_time_selector_contructor)
1129 (hildon_time_selector_init)
1130 (hildon_time_selector_get_property)
1131 (hildon_time_selector_set_property)
1132 (hildon_time_selector_get_time)
1133 (hildon_time_selector_set_time)
1134 * src/hildon-touch-selector.h: new file
1135 * src/hildon-touch-selector.c
1136 (hildon_touch_selector_emit_changed)
1137 (hildon_touch_selector_block_changed)
1138 (hildon_touch_selector_unblock_changed)
1139 Added functions to allow to block the emission of the "changed" signal
1140 * src/hildon-picker-dialog.c
1141 (hildon_picker_dialog_show): call the parent show before the custom code
1142 * examples/hildon-time-button-example.c
1143 Modified, so now you can configure the time format using the new property
1145 Added a new property "time-format-policy" that allow to choose the time
1146 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1147 case it uses gconf in order to check if the time selector must use
1150 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1153 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1155 * src/hildon-note.c (hildon_note_init):
1156 Label in HildonNote must be left aligned, not centered. This
1157 reverts the last commit in HildonNote.
1159 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1160 is connectivity dialog)
1162 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1167 * doc/hildon-sections.txt:
1168 Added hildon_gtk_window_set_do_not_disturb()
1170 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1172 * src/hildon-note.c (hildon_note_init): Center label.
1174 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1177 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1182 * configure.ac: Bump version.
1183 * debian/changelog: Updates.
1185 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1187 * src/hildon-note-private.h: Add button-width to the private data.
1188 * src/hildon-note.c (+resize_button),
1189 (+hildon_note_orientation_update): methods to repack widgets on orientation
1191 (screen_size_changed): Call above method for confirmation notes.
1192 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1193 (hildon_note_rebuild): Store the original width request from buttons.
1195 Fixes: NB#109635 (Confirmation notes do not support portrait)
1197 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1199 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1200 when it is a progress note.
1202 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1204 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1205 in the note, since there are no horizontally arranged contents.
1207 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1209 * src/hildon-gtk.c (+set_flag): new generic method to
1210 set/delay a flag setting in a window.
1211 (hildon_gtk_window_set_progress_indicator):
1212 (hildon_gtk_window_set_do_not_disturb),
1213 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1214 avoid code redundance.
1216 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1218 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1220 * src/hildon-gtk.c (set_clear_window_flag),
1221 (do_set_progress_indicator), (do_set_do_not_disturb),
1222 (do_set_portrait_flags),
1223 (hildon_gtk_window_set_progress_indicator),
1224 (hildon_gtk_window_set_do_not_disturb),
1225 (hildon_gtk_window_set_portrait_flags):
1226 Allow setting dnd-flag, progress indicator, and portrait flags
1227 when the window is not realized.
1229 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1231 * src/hildon-pannable-area.c,
1232 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1233 the size request policy function and defines.
1235 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1237 * doc/hildon-sections.txt: Add the new API.
1238 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1239 method to set the portrait flags.
1240 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1242 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1244 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1246 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1247 to allow using this method with other flags.
1248 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1249 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1251 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1253 * src/hildon-touch-selector.c
1254 (hildon_touch_selector_append_text_column):
1255 Make the cell renderer use the smallest width possible.
1257 Fixes: NB#108470 (Selected items in multiple selection are either
1258 having a tick that is cut or not visible at all.)
1260 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1262 * src/hildon-touch-selector.c
1263 (hildon_touch_selector_append_text_column):
1266 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1268 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1269 Use g_strdup_printf() instead of a fixed size buffer.
1271 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1273 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1274 Close banners when a HildonAppMenu is popped up.
1276 Fixes: NB#111027 (Title menu closed immediately if activated when
1277 "Invalid e-mail address" banner is shown)
1279 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1284 * configure.ac: Bump version.
1285 * debian/changelog: Updates.
1287 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1289 * src/hildon-banner.c (hildon_banner_realize):
1290 Mark HildonBanner as supporting portrait mode.
1291 Use GDK to set window properties insetad of direct Xlib calls.
1293 Fixes: NB#111830 (HildonBanner should be marked as supporting
1296 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1298 * src/hildon-note.c (hildon_note_rebuild):
1299 Hide action area in information notes. Prevents text from being
1300 slightly aligned to the left.
1302 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1305 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1307 Patch by Mox Soini (ext-mox.soini@nokia.com)
1309 * src/hildon-banner.c (hildon_banner_create_animation):
1310 Use stylus-sized icons in animation banner.
1312 Fixes: NB#111206 (stylus sized icon for animation banner)
1314 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1318 (+hildon_gtk_window_set_do_not_disturb):
1319 New API to set the do-not-disturb flag.
1321 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1323 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1325 * examples/hildon-progress-indicator-example.c: Fix example
1327 * src/hildon-gtk.c (set_clear_window_flag)
1328 (hildon_gtk_window_set_progress_indicator):
1329 Create a generic function for setting flags to a window.
1330 Use GDK instead of direct Xlib calls.
1332 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1334 * src/hildon-button.c (hildon_button_set_arrangement):
1335 Due to NB#88126, if one of the labels is too long it will be
1336 painted outside the button. The 'value' label is more likely to be
1337 the longest one, so we change its packing options in order to
1338 truncate it if necessary. As a side effect, the 'title' label will
1339 no longer be truncated.
1341 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1343 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1348 * configure.ac: Bump version.
1349 * debian/changelog: Updates.
1351 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1353 Deprecation of the hildon_pannable_area_set_size_request_policy
1354 API, the only policy properly supported in gtk+ nowadays is the
1357 * src/hildon-pannable-area.c,
1358 (hildon_pannable_area_size_request): Added a workaround for the
1359 size_request to avoid the problems of huge pixmaps in case someone
1360 is still using the function.
1361 * src/hildon-pannable-area.h: Deprecated the enum with the
1364 Fixes: NB#110244 (Problems with the
1365 hildon_pannable_area_set_size_request_policy API)
1367 2009-04-08 Alejandro G. Castro <alex@igalia.com>
1369 * src/hildon-pannable-area.c,
1370 (hildon_pannable_area_init),
1371 (hildon_pannable_area_size_request),
1372 (hildon_pannable_area_style_set),
1373 (hildon_pannable_draw_vscroll),
1374 (hildon_pannable_draw_hscroll),
1375 (hildon_pannable_area_check_scrollbars): Replaced area_width with
1376 indicator_width to clarify the use of the attribute.
1378 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
1383 * configure.ac: Bump version.
1384 * debian/changelog: Updates.
1386 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
1388 * src/hildon-picker-dialog.c
1389 * src/hildon-touch-selector.c
1390 Reverting the change that tried to avoid the hardcoded height on
1391 the picker dialog, as causes problems on the hildon-touch-selector
1394 Fixes: NB#110029 (selectors not scrolling to selected value)
1396 2009-04-07 Alberto Garcia <agarcia@igalia.com>
1398 * src/hildon-touch-selector.c: Fix typos
1400 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1402 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1403 Use the event coordinates instead of gdk_window_get_pointer(). Also,
1404 request more motions after using it.
1406 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1408 * src/hildon-calendar.c (hildon_calendar_expose),
1409 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1410 Remove unused variables.
1412 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1414 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1415 variable assignment.
1417 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1419 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1420 Check the return value of gtk_tree_selection_get_selected()
1423 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1425 * src/hildon-animation-actor.c
1426 * src/hildon-button.c
1428 * src/hildon-pannable-area.c
1429 * src/hildon-picker-button.c
1430 * src/hildon-program.c
1431 * src/hildon-remote-texture.c
1432 * src/hildon-text-view.c
1433 * src/hildon-touch-selector.c
1434 * src/hildon-window-stack.c
1435 * src/hildon-window.c:
1436 Add missing 'Since: 2.2' tags.
1438 * doc/hildon-sections.txt:
1439 Add some missing symbols.
1441 * doc/hildon-docs.sgml:
1442 New 'Other' section for HildonAnimationActor and
1445 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1447 Patch by Iván Gómez (igomez@igalia.com)
1450 * doc/compiling.sgml
1451 * doc/hildon-docs.sgml
1452 * doc/hildon-sections.txt
1453 * doc/migration.sgml
1454 * doc/resources.sgml
1456 New chapters on using the Hildon library.
1457 Updated the general structure of the reference manual.
1458 Other minor documentation fixes.
1460 * src/hildon-calendar-popup.c
1461 * src/hildon-calendar.c
1462 * src/hildon-controlbar.c
1463 * src/hildon-date-editor.c
1464 * src/hildon-dialog.c
1465 * src/hildon-hvolumebar.c
1466 * src/hildon-number-editor.c
1467 * src/hildon-range-editor.c
1468 * src/hildon-sort-dialog.c
1469 * src/hildon-time-editor.c
1470 * src/hildon-time-picker.c
1471 * src/hildon-volumebar-range.c
1472 * src/hildon-volumebar.c
1473 * src/hildon-vvolumebar.c
1474 * src/hildon-weekday-picker.c:
1475 Add deprecation notes
1477 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1478 Document 'horizontal-movement' and 'vertical-movement' signals.
1480 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
1485 * configure.ac: Bump version.
1486 * debian/changelog: Updates.
1488 2009-04-06 Alejandro G. Castro <alex@igalia.com>
1490 * src/hildon-pannable-area.c,
1491 (hildon_pannable_area_class_init): increased the minimum velocity.
1492 (hildon_pannable_area_button_release_cb): Updated the
1493 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
1494 setup. Review the code to control that last event.
1496 Fixes: NB#109790 (Releasing finger in pannable area easily causes
1499 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
1501 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1503 * src/hildon-get-password-dialog.c
1504 (hildon_get_password_set_property),
1505 (hildon_get_password_get_property), (create_contents):
1506 * src/hildon-login-dialog-private.h:
1507 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
1508 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
1509 (hildon_login_dialog_get_password):
1510 * src/hildon-set-password-dialog-private.h:
1511 * src/hildon-set-password-dialog.c
1512 (hildon_set_password_set_property),
1513 (hildon_set_password_get_property), (create_contents),
1514 (hildon_set_password_response_change),
1515 (hildon_set_password_response_set), (hildon_checkbox_toggled):
1517 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
1518 instead and look more Fremantle style.
1520 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
1522 2009-04-03 Alberto Garcia <agarcia@igalia.com>
1524 * doc/hildon-sections.txt
1525 * src/hildon-window-stack.h
1526 * src/hildon-window-stack.c
1527 (+hildon_window_stack_get_windows):
1528 New API to obtain the list of windows on a stack.
1530 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1532 * src/hildon-app-menu.c (hildon_app_menu_popup)
1533 (hildon_app_menu_class_init, -hildon_app_menu_show):
1534 Remove hildon_app_menu_show() and move all its checks to
1535 hildon_app_menu_popup()
1537 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
1539 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
1540 (_hildon_picker_dialog_set_selector): removed call to
1541 gtk_widget_set_size_request
1542 * src/hildon-touch-selector.c
1543 (_create_new_column): change the pannable size request policy
1545 Avoid to use a hardcoded height for the hildon picker dialog. In order
1546 to get that, we needed to change the hildon pannable size request
1548 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1550 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1552 * src/hildon-window.c (hildon_window_map): Check for vbox to be
1553 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
1556 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1558 * debian/control: Depend on osso-system-lock localization package.
1559 * src/hildon-code-dialog.c: Obtain the secu_application_title
1560 translation from osso-system-lock.
1561 * src/hildon-get-password-dialog.c (create_contents): Do not mark
1562 for translation the atk related strings, that's not necessary.
1563 * src/hildon-set-password-dialog.c (create_contents): Ditto.
1564 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
1565 cancel button, it is not required.
1567 2009-04-02 Alejandro G. Castro <alex@igalia.com>
1569 * src/hildon-pannable-area.c,
1570 (hildon_pannable_area_class_init): Modified the default value of
1571 the overshooting max speed, we have reduced it.
1573 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1575 * doc/hildon-sections.txt
1576 * src/hildon-window-private.h
1577 * src/hildon-window.h
1578 * src/hildon-window.c (hildon_window_class_init)
1579 (hildon_window_init, hildon_window_finalize)
1580 (hildon_window_realize, hildon_window_get_property)
1581 (hildon_window_set_property, hildon_window_update_markup)
1582 (hildon_window_get_markup, hildon_window_set_markup):
1583 New "markup" property and hildon_window_{get,set}_markup() methods.
1585 * examples/hildon-stackable-window-example.c (new_window):
1586 Update example to use hildon_window_set_markup()
1588 Fixes: NB#106375 (Need API to retitle a window with a title
1591 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1593 * src/hildon-pannable-area.c,
1594 (hildon_pannable_area_class_init): Changed the default value of
1595 the initial_hint to TRUE.
1596 (hildon_pannable_area_initial_effect): Changed the initial effect,
1597 not the effect is just the fade-out of the scrollbars.
1599 Fixes: NB#107775 (No scrollbars can be seen when several items are
1600 available in a dialog)
1602 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1604 * src/hildon-program.c (hildon_program_update_top_most):
1607 Fixes: NB#109179 (Memory leak in Hildon program)
1609 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1611 * src/hildon-banner.c (-get_current_app_window):
1612 Remove unused function.
1614 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1616 * src/hildon-pannable-area.c: Modified the documentation of the
1617 get adjustments functions to explain the problem of using the
1618 adjustment directly.
1619 (hildon_pannable_area_class_init): Improved the explanation about
1622 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1624 * src/hildon-app-menu-private.h
1625 * src/hildon-app-menu.c
1626 (hildon_app_menu_class_init):
1627 Bring back the 'external-border' style property
1628 (hildon_app_menu_class_init, hildon_app_menu_init)
1629 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
1630 Set a fixed width-request for the menu, independent of the number
1633 Fixes: NB#94957 (Smoothly opened application menu)
1635 2009-03-30 Alberto Garcia <agarcia@igalia.com>
1637 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
1639 * src/hildon-banner.c
1640 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
1642 Make sure that the banner is correctly placed the first time it's
1644 (hildon_banner_check_position, -check_fullscreen_state):
1645 Show the banner in the same place no matter if the window is in
1646 fullscreen mode or not.
1648 Fixes: NB#107386 (Odd stacking behaviour for information banners)
1650 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1652 * src/hildon-touch-selector.c (_default_print_func): reorder
1653 concatenation for clarity.
1655 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1657 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
1658 for multicolumn selectors.
1660 Fixes: NB#109099 (Memory leak in Hildon touch selector)
1662 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
1667 * configure.ac: Bump version.
1668 * debian/changelog: Updates.
1670 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
1672 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
1675 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1677 * configure.ac: removed libcangerra-gtk dependency
1678 * debian/control: removed libcanberra-gtk dependency
1679 * src/Makefile.am: removed libcanberra gtk related flags
1680 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1681 context, and manage a global canberra context instead
1683 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1685 2009-03-26 Alberto Garcia <agarcia@igalia.com>
1687 Patch by Daniel Borgmann (danielb@openismus.com)
1689 * src/hildon-edit-toolbar.c:
1690 Adjust the left padding.
1691 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
1692 Paint background of the edit toolbar.
1694 Fixes: NB#107897 (Patch to make editmodetoolbar background
1695 themeable and adjust margin)
1697 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1699 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1701 * src/hildon-program.c (hildon_program_update_top_most):
1702 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
1704 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
1705 change when the user tasks in/out of an application)
1707 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1709 * configure.ac: added libcangerra-gtk dependency
1710 * debian/control: added libcanberra-gtk dependency
1711 * src/Makefile.am: added libcanberra gtk related flags
1712 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
1715 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1717 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1719 * src/hildon-program.c (hildon_program_remove_window)
1720 (hildon_program_add_window): Add checks for the window
1721 parameter. Don't decrease the window counter if the window is not
1724 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1726 * src/hildon-pannable-area.c,
1727 (hildon_pannable_area_realize): Fixed position of the event_window
1728 in the realize method.
1730 2009-03-24 Alberto Garcia <agarcia@igalia.com>
1732 * src/hildon-app-menu-private.h
1733 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
1734 (hildon_app_menu_map, hildon_app_menu_hide_idle)
1735 (hildon_app_menu_key_press, hildon_app_menu_init)
1736 (hildon_app_menu_finalize):
1737 Make sure that all idle functions are removed when the widget is
1740 Fixes: NB#107583 (Hildon app menu crashes in various applications)
1742 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1747 * configure.ac: Bump version.
1748 * debian/changelog: Updates.
1750 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1752 * src/hildon-entry.c
1753 (+hildon_entry_show_placeholder),
1754 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
1755 that replace hildon_entry_update_contents().
1756 (hildon_entry_set_text),
1757 (hildon_entry_set_placeholder),
1758 (hildon_entry_focus_in_event),
1759 (hildon_entry_focus_out_event): Determine when it is needed
1760 either to show or hide the placeholder and call the above methods.
1762 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
1763 when the placeholder text is already set)
1765 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1767 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
1768 simple GdkPixbufAnim using the new icons for the banner.
1769 (hildon_banner_show_animation): Use the above mentioned method to
1770 create the animation widget.
1772 Fixes: NB#103564 (Make hildon animation banner use individual
1773 image files as the animation)
1775 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1777 * src/hildon-pannable-area.c,
1778 (hildon_pannable_leave_notify_event): Check if the child is NULL
1779 to avoid sending the leave.
1781 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1783 * src/hildon-pannable-area.c,
1784 (hildon_pannable_area_class_init),
1785 (hildon_pannable_leave_notify_event): Added a handler of the
1786 leave-notify-signal to consider when no motion notify before
1789 Fixes: NB#107494 (Items stay selected when clicking and moving
1790 away when inside pannable area)
1792 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
1797 * configure.ac: Bump version.
1798 * debian/changelog: Updates.
1800 2009-03-19 Alejandro G. Castro <alex@igalia.com>
1802 Patch by Alberto Garcia (agarcia@igalia.com)
1804 * src/hildon-date-button.c,
1805 (hildon_date_button_class_init),
1806 (hildon_date_button_init): Removed the construct property handling
1807 and created a default selector in the init method.
1808 * src/hildon-picker-button.c,
1809 (hildon_picker_button_class_init): Removed the construct flag of the
1812 2009-03-18 Alberto Garcia <agarcia@igalia.com>
1814 * src/hildon-main.c (hildon_init):
1815 Don't allow hildon_init() to be called more than once.
1817 Fixes: NB#106607 (hildon_init should issue error message upon
1820 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
1822 * examples/hildon-pannable-area-touch-list-example.c
1823 * examples/hildon-pannagle-area-touch-grid-example.c
1824 * examples/hildon-edit-toolbar-example.c
1825 * examples/hildon-touch-selector-multi-cells-example.c
1826 Removed the call to gtk_rc_parse_string, as it is not required since
1829 2009-03-17 Alejandro G. Castro <alex@igalia.com>
1831 * src/hildon-pannable-area.c,
1832 (hildon_pannable_area_class_init): Modified the default panning
1833 threshold of the widget to 6px.
1835 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
1836 than the threshold value ) within the button is not sending the
1839 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1841 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
1842 for the treeview in the new column. This way, the touch list will never
1845 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
1846 be selected manually for the HW keys to work)
1848 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1850 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
1851 comparison instead of using strcmp(). Fixes a compiler warning as well.
1853 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1855 * doc/hildon-docs.sgml: Do not set the library version in the
1856 document title, use the releaseinfo tag for that purpose instead.
1858 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1860 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
1861 Do not jump to the first item if the text in the entry is removed.
1863 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1868 * configure.ac: Bump version.
1869 * debian/changelog: Updates.
1871 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1873 * src/hildon-entry.c (hildon_entry_refresh_contents):
1874 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
1875 Use "ReversedSecondaryTextColor" for the placeholder text.
1877 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1879 * src/hildon-text-view.c: Fix compilation warning.
1881 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1883 * src/hildon-button.c (hildon_button_class_init): Don't make
1884 "title" and "value" construction properties, to prevent them from
1885 overwriting labels set from derived classes.
1887 * src/hildon-picker-button.c
1888 (hildon_picker_button_set_selector): Allow setting a NULL selector.
1889 (hildon_picker_button_class_init): Make touch-selector a
1890 construction property.
1892 * src/hildon-date-button.c (hildon_date_button_class_init)
1893 (+hildon_date_button_constructed): Add a default date selector if
1896 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1898 * src/hildon-touch-selector.c: Small documentation fixes.
1900 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1902 Based on a patch by Daniel Borgmann (danielb@openismus.com)
1904 * src/hildon-entry.c (hildon_entry_refresh_contents),
1905 (hildon_entry_get_text), (hildon_entry_init): Do not use the
1906 widget name, set the logical color directly instead and a boolean
1907 showing_placeholder instead.
1908 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
1909 use the widget name here either.
1911 Fixes: NB#105678 (HildonTextView should use logical colours
1912 instead of setting widget name)
1914 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1916 Patch by Daniel Elster (danielk@openismus.com)
1918 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
1919 Add user_data parameter.
1920 (hildon_touch_selector_set_print_func_full): New function akin
1921 hildon_touch_selector_set_print_func() but with support for user
1922 data and a destroy callback.
1923 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
1924 to clean up the print function user data.
1925 (hildon_touch_selector_class_init): Install dispose function.
1926 (HildonTouchSelectorPrivate::print_user_data),
1927 (HildonTouchSelectorPrivate::print_destroy_func): New private
1929 (hildon_touch_selector_init): Initialize new private members.
1930 (hildon_touch_selector_get_current_text): Pass along user data
1931 to the print function.
1932 (_default_print_func): Add dummy user_data to parameter list.
1933 * hildon-date-selector.c (_custom_print_func): ditto,
1934 * hildon-time-selector.c (_custom_print_func): ditto,
1935 * hildon-touch-selector-entry.c
1936 (hildon_touch_selector_entry_print_func): ditto.
1938 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
1940 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1942 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
1944 2009-03-12 Alejandro G. Castro <alex@igalia.com>
1946 * src/hildon-pannable-area.c,
1947 (hildon_pannable_area_init),
1948 (hildon_pannable_area_button_press_cb),
1949 (hildon_pannable_area_motion_notify_cb): We have added code to
1950 handle the leave and enter events when using the motion events.
1952 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
1954 2009-03-11 Alberto Garcia <agarcia@igalia.com>
1956 * src/hildon-date-button.c (hildon_date_button_get_date)
1957 (hildon_date_button_set_date): Make sure that the button has a
1960 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
1962 2009-03-11 Alejandro G. Castro <alex@igalia.com>
1964 * src/hildon-pannable-area.c,
1965 (hildon_pannable_area_class_init),
1966 (hildon_pannable_area_calculate_velocity): Modify the use of the
1967 force and adapt the value.
1969 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1971 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
1972 (hildon_app_menu_class_init): Hide the menu if it receives a
1973 delete-event, but don't destroy it
1975 Fixes: NB#104485 (Not able to address the call when application
1976 menu is opened at background)
1978 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1980 * src/hildon-app-menu.c
1981 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1982 Remove the "external-border" style property, let the menu take its
1983 natural size (or the one set by the window manager)
1984 (hildon_app_menu_repack_items):
1985 Don't reshow the menu, avoid flickers.
1987 Partially fixes NB#94957 (Smoothly opened application menu)
1989 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
1994 * configure.ac: Bump version.
1995 * debian/changelog: Updates.
1997 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1999 * src/hildon-pannable-area.c,
2000 (hildon_pannable_area_motion_notify_cb): We control that the
2001 direction error margin is used just in case the movement is
2002 allowed in the other direction.
2004 Fixes: NB#105012 (buttons inside a pannable area not getting
2005 release event when dragging/releasing)
2007 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2009 * src/hildon-pannable-area.c,
2010 (hildon_pannable_area_class_init),
2011 (hildon_pannable_area_get_property),
2012 (hildon_pannable_area_set_property),
2013 (hildon_pannable_area_initial_effect),
2014 (hildon_pannable_axis_scroll),
2015 (hildon_pannable_area_button_release_cb): Reviewed the
2016 overshooting effect, now it has its own max
2017 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2018 speed when bouncing.
2020 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2025 * configure.ac: Bump version.
2026 * debian/changelog: Updates.
2028 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2030 * src/hildon-pannable-area.c,
2031 (hildon_pannable_area_class_init): Changed the max speed, now
2032 users can launch the widget very fast. Reduced the default force,
2033 that way it is easier to control the launch speed.
2035 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2037 * src/hildon-pannable-area.c,
2038 (hildon_pannable_area_button_release_cb): Removed this check
2039 because it causes problems when the device is overloaded.
2041 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2043 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2044 add a current_text field to store the text entered in the
2045 touch selector entry.
2046 (_clean_current_selection): clean up the current text as well.
2047 (_save_current_selection), (_restore_current_selection):
2048 Save/restore the text in the entry if the selector is a
2049 HildonTouchSelectorEntry.
2051 Fixes: NB#102541 (value entered in the touch selector entry is not
2052 shown when opened for second time)
2054 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2056 * doc/hildon-sections.txt:
2057 * src/hildon-touch-selector-entry.c
2058 (+hildon_touch_selector_entry_get_entry):
2059 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2061 Fixes: NB#104815 (I need accessor to the entry inside
2062 HildonTouchSelectorEntry)
2064 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2066 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2067 (hildon_app_menu_class_init):
2068 New "filter-vertical-spacing" style property.
2070 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2072 * src/hildon-find-toolbar.c
2073 (hildon_find_toolbar_emit_close)
2074 (hildon_find_toolbar_emit_invalid_input)
2075 (hildon_find_toolbar_entry_activate):
2076 Use g_signal_emit() instead of g_signal_emit_by_name()
2078 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2080 Patch by Mox Soini (ext-mox.soini@nokia.com)
2082 * tests/TEST-CASES.txt
2083 * tests/check-hildon-banner.c
2084 * tests/check-hildon-note.c
2085 * src/hildon-banner.c
2086 * src/hildon-code-dialog.c
2087 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2088 * src/hildon-time-editor.c
2089 * examples/hildon-lookup-example.c (main):
2090 Replace obsolete icon names with new ones.
2092 * src/hildon-find-toolbar-private.h:
2093 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2094 (-hildon_find_toolbar_emit_search):
2095 Remove find button and change icon of close button.
2097 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2099 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2101 * src/hildon-time-button.c (hildon_time_button_new_step):
2102 Use the "touch-selector" property to set the selector directly
2103 when creating the object.
2105 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2107 Added a new example application that allows tuning the pannable
2108 area and replaced defines with properties in order to simplify the
2109 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2110 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2111 PROP_DIRECTION_ERROR_MARGIN.
2113 * examples/hildon-pannable-area-tuning-example.c: New example
2115 * src/hildon-pannable-area.c,
2116 (hildon_pannable_area_class_init),
2117 (hildon_pannable_area_init),
2118 (hildon_pannable_area_get_property),
2119 (hildon_pannable_area_set_property),
2120 (hildon_pannable_area_launch_fade_timeout),
2121 (hildon_pannable_area_adjust_value_changed),
2122 (hildon_pannable_axis_scroll),
2123 (hildon_pannable_area_motion_notify_cb),
2124 (hildon_pannable_area_scroll_cb),
2125 (hildon_pannable_area_button_release_cb): We have converted some
2126 of the defines that control the widget to properties to simplify
2129 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2131 * src/hildon-app-menu.c (hildon_app_menu_map)
2132 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2133 so it's closed if a new window appears.
2135 Fixes: NB#104485 (Not able to address the call when application
2136 menu is opened at background)
2138 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2140 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2141 missing 'break' statement in in 'case' construct to avoid
2144 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2146 * src/hildon-touch-selector-entry.c
2147 (hildon_touch_selector_entry_get_property),
2148 (hildon_touch_selector_entry_set_property): Add missing 'break'
2149 statements in in 'case' constructs to avoid incorrect warnings.
2151 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2153 * src/hildon-time-editor.c
2154 (hildon_time_editor_get_time_separators): Do not crash if
2155 the first label is NULL.
2157 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2159 * src/hildon-date-selector.c (_month_days): Check for month to be
2160 strictly less than 12, since otherwise we may overrun the array.
2162 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2164 * src/hildon-date-button.c (+hildon_date_button_new_full)
2165 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2166 (hildon_date_button_init): Set the date selector using a
2167 construction property, to make it happen after HildonButton's
2168 "value" property is set.
2170 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2171 current date by default)
2173 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2175 * doc/hildon-sections.txt
2176 * src/hildon-program.c
2177 * src/hildon-stackable-window.c
2178 * src/hildon-window.c:
2179 Documentation updates
2181 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2183 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2184 (hildon_window_stack_new, +hildon_window_stack_set_property)
2185 (+hildon_window_stack_get_property)
2186 (hildon_window_stack_class_init)
2187 (+hildon_window_stack_set_window_group)
2188 (+hildon_window_stack_get_window_group):
2189 Make the window group a construction property.
2191 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2193 * doc/hildon-sections.txt
2194 * src/hildon-stackable-window-private.h
2195 * src/hildon-stackable-window.h
2196 * src/hildon-stackable-window.c
2197 (-hildon_stackable_window_set_app_menu)
2198 (-hildon_stackable_window_get_app_menu)
2199 (-hildon_stackable_window_toggle_menu)
2200 (-hildon_stackable_window_finalize)
2201 (hildon_stackable_window_class_init)
2202 (hildon_stackable_window_init)
2203 * src/hildon-window-private.h
2204 * src/hildon-window.h
2205 * src/hildon-window.c (hildon_window_init)
2206 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2207 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2208 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2209 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2210 Moved all HildonAppMenu code to HildonWindow. The menu does not
2211 require a HildonStackableWindow anymore.
2213 * src/hildon-app-menu.c
2214 * src/hildon-program.c
2215 * examples/hildon-app-menu-example.c (main):
2216 Update examples and documentation to reflect HildonAppMenu
2219 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2221 * src/hildon-remote-texture.c
2222 * src/hildon-animation-actor.c:
2223 Don't include unused private headers.
2225 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2227 * src/hildon-program-private.h
2228 * src/hildon-program.c
2229 (hildon_program_set_common_menu)
2230 (hildon_program_get_common_menu)
2231 (hildon_program_set_common_app_menu)
2232 (hildon_program_get_common_app_menu):
2233 Change common menu pointers from GtkWidget* to GtkMenu* and
2234 HildonAppMenu* to avoid unnecessary casts.
2236 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2238 * src/hildon-window.c (hildon_window_set_main_menu):
2239 Removed incorrect 'Since:' tag
2241 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2243 * src/hildon-pannable-area.c,
2244 (hildon_pannable_area_calculate_velocity): We use now the
2245 RATIO_TOLERANCE here to check the distance, fixed typo in the
2247 (hildon_pannable_area_motion_notify_cb): We have to set the type
2248 and time even if we are not sending the motion.
2250 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2252 * doc/hildon-sections.txt
2253 * src/hildon-app-menu.h
2254 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2255 (+hildon_app_menu_get_filters): New methods to get the contents of
2258 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2261 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2263 * src/hildon-app-menu.c (hildon_app_menu_popup):
2266 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2268 * src/hildon-window.h
2269 * src/hildon-window.c (+hildon_window_get_main_menu)
2270 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2271 and deprecated hildon_window_get_menu().
2273 * src/hildon-stackable-window.h
2274 * src/hildon-stackable-window.c
2275 (+hildon_stackable_window_set_app_menu)
2276 (+hildon_stackable_window_get_app_menu)
2277 (hildon_stackable_window_set_main_menu): Created
2278 hildon_stackable_window_{get,set}_app_menu() and deprecated
2279 hildon_stackable_window_set_main_menu().
2281 * doc/hildon-sections.txt
2282 * examples/hildon-app-menu-example.c (main)
2283 * src/hildon-app-menu.c
2284 * src/hildon-program.c:
2285 Updated examples and documentation.
2287 Fixes: NB#103758 (No way to obtain a menu from a
2288 HildonStackableWindow)
2290 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2295 * configure.ac: Bump version.
2296 * debian/changelog: Updates.
2298 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2300 * examples/hildon-remote-texture-example.c: Include
2301 hildon-remote-texture.h explicitely.
2302 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2303 applications not defining _XOPEN_SOURCE which don't require this header.
2305 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2307 * doc/hildon-sections.txt
2308 * src/hildon-app-menu.h
2309 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2310 New function to pop up a HildonAppMenu
2312 * src/hildon-stackable-window.c
2313 (hildon_stackable_window_toggle_menu):
2314 Use hildon_app_menu_popup() to show the menu.
2316 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2318 * src/hildon-app-menu.c (hildon_app_menu_show)
2319 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2320 menu if there's another window between it and its parent window.
2322 Fixes: NB#100468 (Application menu window is launched even when a
2323 new secondary-window/dialog is pending to be shown/realized)
2325 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2327 * src/hildon-window-stack.c (hildon_window_stack_push)
2328 (hildon_window_stack_pop_and_push):
2329 Don't forget to push/pop the first window.
2330 Reverse the window list before calling _push_list()
2332 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2334 * src/hildon-picker-button.h
2335 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2336 Remove "value_changed" slot to avoid ABI breakage
2338 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2340 * src/hildon-pannable-area.c,
2341 (hildon_pannable_area_realize),
2342 (hildon_pannable_area_unrealize),
2343 (hildon_pannable_draw_vscroll),
2344 (hildon_pannable_draw_hscroll): Changed the method to handle the
2345 GC used to draw the transparent scrollbar, this way we avoid
2346 creating the GC all the time when drawing the scrollbars.
2348 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2350 * src/hildon-pannable-area.c,
2351 (hildon_pannable_area_init),
2352 (hildon_pannable_area_remove): Removed some unnecessary casts.
2353 (hildon_pannable_area_dispose): Disconnected some signals before
2354 releasing the adjustments.
2356 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2358 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2359 Make sure that all widgets contained in the toolbar are shown.
2361 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2363 * doc/hildon-sections.txt
2364 * src/hildon-picker-button.h
2365 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2366 (_selection_changed, hildon_picker_button_on_dialog_response)
2367 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2368 New hildon_picker_button_value_changed() method.
2371 * src/hildon-picker-button-private.h
2372 * src/hildon-picker-button.c (hildon_picker_button_init)
2373 (+hildon_picker_button_disable_value_changed): Add protected
2374 function for disabling the "value-changed" signal.
2376 * src/hildon-date-button.c (hildon_date_button_set_date):
2377 Don't emit "value-changed" for each one of the three columns.
2379 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2380 before actual change of values)
2382 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2384 * src/hildon-pannable-area.c,
2385 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2386 for the treeview overshooting.
2388 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2390 * src/hildon-banner.c (+hildon_banner_bind_style):
2391 Renamed from hildon_banner_bind_label_style(), now naming the
2392 banner itself as well.
2393 (hildon_banner_show_information),
2394 (hildon_banner_show_information_with_markup),
2395 (hildon_banner_show_animation), (hildon_banner_show_progress):
2396 Name the widgets and labels, based on their type.
2398 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2401 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2403 * src/hildon-note.c (hildon_note_set_property): call
2404 hildon_note_rename() on HildonNote:note-type set.
2405 (hildon_note_rename): Name the note and its label, based on the
2406 HildonNote:note-type property.
2408 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2411 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2413 * src/hildon-pannable-area.c,
2414 (hildon_pannable_area_class_init),
2415 (hildon_pannable_area_motion_notify_cb): Reviewed the default
2416 panning parameters, increased SPS and deceleration factor. Added
2417 also a margin to control fake directions.
2419 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2421 Patch by Sven Herzberg (sven@imendio.com)
2423 * configure.ac: Add missing AM_PROG_CC_C_0
2424 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2426 See NB#101420 (Update unit tests and fix make check)
2428 2009-02-23 Alejandro G. Castro <alex@igalia.com>
2430 This patch was applied before but reverted because it caused
2431 problems, we have changed the main condition and tested the
2432 regressions we detected before and they work ok. We have done a
2433 complete review of the topmost algorithm in order to get a more
2436 * src/hildon-pannable-area.c,
2437 (hildon_pannable_area_get_topmost): Added a new parameter to
2438 filter the the windows that do not include those events.
2439 (hildon_pannable_area_button_press_cb),
2440 (hildon_pannable_area_button_release_cb),
2441 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2442 topmost function, we have added the new parameter.
2444 Fixes: NB#97458 (Pannable area prevents propagation of button
2447 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2449 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
2450 if all columns in the selector have an item selected.
2451 (_on_dialog_response): Stop "response" signal emission if there is
2452 any selector column without selected items.
2454 Fixes: NB#101889 (Picker dialog should not close when nothing is
2455 selected in multiple selection list)
2457 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2459 * src/hildon-font-selection-dialog.c
2460 (hildon_font_selection_dialog_class_init),
2461 (hildon_font_selection_dialog_init): Remove the preview
2462 button and dialog, since previewing with default theming is likely
2463 to be overcomplicated. The :preview property has now no effect.
2464 Update documentation blurbs to inform about this.
2466 Fixes: NB#92297 (Preview content is not clearly visible for
2467 default colour text)
2469 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2471 Reviewed the geometry that handles the children size and
2472 scrollbar, now it tries a size and reviews the results depending
2473 on the scrollbars visibility.
2475 * src/hildon-pannable-area.c,
2476 (hildon_pannable_area_realize): Fixed a typo.
2477 (hildon_pannable_area_child_allocate_calculate): Added this
2478 function to calculate the child allocation.
2479 (hildon_pannable_area_size_allocate): Reviewed the allocation
2481 (hildon_pannable_area_check_scrollbars),
2482 (hildon_pannable_area_refresh): Refactored refresh function, this
2483 way we can call the code handling the scrollbars without causing a
2484 size_request, it is interesting in the allocate.
2485 (hildon_pannable_area_init): Replace the callbacks of the
2486 value_changed and changed signals to propertly deal with the
2488 (hildon_pannable_area_grab_notify),
2489 (hildon_pannable_area_initial_effect),
2490 (hildon_pannable_area_launch_fade_timeout),
2491 (hildon_pannable_area_adjust_changed),
2492 (hildon_pannable_area_adjust_value_changed),
2493 (hildon_pannable_area_redraw),
2494 (hildon_pannable_area_button_press_cb),
2495 (hildon_pannable_area_button_release_cb),
2496 (hildon_pannable_area_scroll_cb),
2497 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
2498 code and use the new functions adjust_changed and
2499 adjust_value_changed.
2501 Fixes: NB#101603 (Focus is not even for the text entry boxes in
2502 Contact editor dialog)
2504 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
2509 * configure.ac: Bump version.
2510 * debian/changelog: Updates.
2512 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2514 * src/hildon-pannable-area.c,
2515 (hildon_pannable_area_get_topmost),
2516 (hildon_pannable_area_button_press_cb),
2517 (hildon_pannable_area_button_release_cb),
2518 (hildon_pannable_get_child_widget_at): Reverted the patch for the
2519 topmost function adding the event mask. We have to try a
2520 differente approach because it is still causing problems (NB#9745,
2523 2009-02-19 Alberto Garcia <agarcia@igalia.com>
2525 * src/hildon-banner.c:
2526 Update the maximum width of timed banners.
2527 (force_to_wrap_truncated): Enforce the maximum text width if the
2530 Fixes: NB#102413 (The text margins (wrapping) in information
2531 banner should be HILDON_MARGIN_TRIPLE)
2533 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2535 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
2537 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
2538 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
2539 bound when calculating the scroll indicator position.
2541 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
2542 treat ->lower correctly)
2544 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2546 * src/hildon-caption.c (hildon_caption_class_init): Remove the
2547 expose event handling, since it is not necessary to draw the focus
2550 Fixes: NB#102467 (Do not show highlight on the text in
2553 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2555 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
2556 full height of the toolbar for the button and the label.
2558 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2560 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
2561 padding before the label and after the button.
2563 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2565 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
2567 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2568 Add a GtkVSeparator between the button and the back arrow.
2569 Let the button have automatic size.
2570 Set a name to the widget for theming handling.
2572 Fixes: NB#101793 (Make edit toolbar the same height as window
2573 title bar (use title area theming))
2575 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2577 * src/hildon-helper.c (attach_new_color_element): Fix memory
2580 Fixes: NB#102262 (memory leak in hildon_button_set_style())
2582 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2584 * examples/hildon-button-example.c (common_buttons_window): Don't
2587 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2589 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2590 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
2592 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2594 * src/hildon-gtk.c: Check that the window is realized.
2596 Fixes: NB#102225 (Crash setting the progress indicator to a non
2599 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2601 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
2602 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
2603 instead of modifying the one in the widget style.
2605 Fixes: NB#101043 (Second row of all the command button are
2606 displayed in transparent mode.)
2608 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2610 * src/hildon-date-button.c
2611 * src/hildon-time-button.c: Add gettext macros
2613 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
2615 * src/hildon-date-button.c (hildon_date_button_new):
2616 * src/hildon-time-button.c (hildon_time_button_new_step):
2617 Use new logical strings to set the button default title.
2619 Fixes: NB#99915 (Date and Time options are not localised in Date
2622 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2624 * src/hildon-pannable-area.c
2625 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
2626 the PANNING_THRESHOLD.
2628 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2630 * src/hildon-pannable-area.c,
2631 (hildon_pannable_area_class_init): Increased the maximum speed.
2632 (hildon_pannable_area_get_property),
2633 (hildon_pannable_area_set_property),
2634 (hildon_pannable_area_timeout): Added a new low friction mode, it
2635 allows the user avoid friction when launching the widget fast
2636 enough. It is interesting to traverse long lists.
2638 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2640 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
2641 (+hildon_stackable_window_delete_event): Ignore delete events if
2642 the window is not the topmost one.
2644 Fixes: NB#101698 (Back button long press and delete-event handling)
2646 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2648 * src/hildon-pannable-area.c,
2649 (hildon_pannable_area_motion_notify_cb): Removed the use of the
2650 gtk-dnd-drag-threshold, it was too big. We have defined our own
2651 dnd define and set a smaller value: PANNIG_THRESHOLD.
2653 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2655 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
2656 user-defined icons, use always the default one.
2658 Fixes: NB#101916 (Do not allow custom icons on animation banner)
2660 2009-02-13 Alejandro G. Castro <alex@igalia.com>
2662 This patch was applied before but reverted because it caused
2663 problems, we have changed the main condition and tested the
2664 regressions we detected before and they work ok.
2666 * src/hildon-pannable-area.c,
2667 (hildon_pannable_area_get_topmost): Added a new parameter to
2668 filter the the windows that do not include those events. Added
2669 also a condition when finding the window to filter windows that do
2670 not ask for those events.
2671 (hildon_pannable_area_button_press_cb),
2672 (hildon_pannable_area_button_release_cb),
2673 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2674 topmost function, we have added the new parameter.
2676 Fixes: NB#97458 (Pannable area prevents propagation of button
2679 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2681 * tests/check-hildon-color-button.c (START_TEST): do not leak
2684 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2686 * src/hildon-font-selection-dialog.c
2687 (hildon_font_selection_dialog_get_preview_text): Return NULL
2688 instead of FALSE on the g_return_val_if_fail().
2690 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2692 * src/hildon-time-selector.c (hildon_time_selector_set_time):
2693 * src/hildon-date-selector.c
2694 (hildon_date_selector_select_current_date):
2695 Do not compare unsigned integers to be greater than or equal 0,
2696 because it's always TRUE.
2698 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2700 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
2701 (hildon_date_selector_constructor): Do not select the current
2702 date until we are handle the "changed" signal, to avoid having bogus
2703 elements in the days model.
2705 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2707 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
2708 for num_days, since _month_days() can return a negative value.
2710 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2712 * src/hildon-caption.c (hildon_caption_size_allocate):
2713 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
2714 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
2716 Initialize allocation variables to 0, to avoid eventually using
2717 unitialized variables.
2719 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2721 * src/hildon-bread-crumb-trail.c
2722 (hildon_bread_crumb_trail_size_allocate):
2723 * src/hildon-calendar.c (hildon_calendar_set_background):
2724 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
2725 * src/hildon-range-editor.c (hildon_range_editor_get_range):
2726 * src/hildon-seekbar.c (hildon_seekbar_init):
2727 * src/hildon-time-editor.c (hildon_time_editor_get_time):
2728 * src/hildon-time-selector.c (hildon_time_selector_finalize):
2729 * src/hildon-touch-selector-entry.c
2730 (hildon_touch_selector_get_text_from_model):
2731 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
2732 * src/hildon-window.c (hildon_window_finalize):
2734 Remove many unused variables.
2736 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2738 * src/hildon-seekbar.c: (hildon_seekbar_init),
2739 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
2741 Remove unnecessary g_assert() calls.
2743 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2745 * src/hildon-caption.c: (hildon_caption_expose),
2746 (hildon_caption_set_property), (hildon_caption_init),
2747 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
2748 (hildon_caption_size_request), (hildon_caption_size_allocate),
2749 (hildon_caption_forall), (hildon_caption_set_separator),
2750 (hildon_caption_activate), (hildon_caption_set_child_expand),
2751 (hildon_caption_set_label_text),
2752 (hildon_caption_get_label_alignment):
2754 Remove unnecessary g_assert() calls.
2756 2009-02-12 Alberto Garcia <agarcia@igalia.com>
2758 * src/hildon-banner.c
2759 (hildon_banner_map, hildon_banner_init): Make banner temporary
2760 before mapping it to avoid closing other temporary windows, but
2761 make it non-temporary afterwards to avoid being closed by other
2762 non-temporary windows.
2763 (-hildon_banner_client_event, hildon_banner_init):
2764 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
2766 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
2769 2009-02-11 Alberto Garcia <agarcia@igalia.com>
2771 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
2774 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2776 * src/hildon-remote-texture.c
2777 * src/hildon-remote-texture.h
2778 * src/hildon-remote-texture-private.h
2779 * examples/hildon-remote-texture-example.c:
2780 Updates/fixes to remote-texture and its example.
2782 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
2784 Patch by Mox Soini (ext-mox.soini@nokia.com)
2786 * src/hildon-code-dialog.c: Update logical id.
2787 * src/hildon-set-password-dialog.c: Update logical id.
2789 Fixes: NB#100646 (Logical strings is shown for ok in set
2790 password,Password needed dialogs)
2792 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2795 * src/hildon-remote-texture.c
2796 * src/hildon-remote-texture.h
2797 * src/hildon-remote-texture-private.h
2799 Added remote texture widget (for Clutter shared memory textures)
2801 * examples/hildon-remote-texture-example.c
2802 * examples/Makefile.am
2803 Added example file for remote texture usage
2805 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
2807 * configure.ac: post release version bump.
2808 * debian/changelog: version bump.
2810 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
2815 * configure.ac: Bump version.
2816 * debian/changelog: Updates.
2818 2009-02-06 Alberto Garcia <agarcia@igalia.com>
2820 * src/hildon-date-selector.c (hildon_date_selector_init)
2821 (hildon_date_selector_constructor): Don't connect to the "changed"
2822 signal until the selector is completely constructed.
2824 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2826 * src/hildon-touch-selector.c: (_create_new_column),
2827 (hildon_touch_selector_append_column),
2828 (hildon_touch_selector_set_column_selection_mode),
2829 (hildon_touch_selector_set_active),
2830 (hildon_touch_selector_select_iter):
2831 Emit the HildonTouchSelector::changed signal every time selection
2832 is changed in any of the methods above. This behavior was already
2833 documented but not fully functional.
2835 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
2836 selection is programmatically changed)
2838 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2840 * doc/hildon-sections.txt: Remove obsolete icon
2841 sizes from here as well.
2843 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2845 * examples/hildon-stackable-window-example.c (add_window): Remove
2848 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2850 * src/hildon-app-menu.c
2851 (hildon_app_menu_show): Check whether the parent window of a menu
2852 is topmost before popping it up.
2854 Fixes: NB#100468 (Application menu window is launched even when a
2855 new secondary-window/dialog is pending to be shown/realized.)
2857 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2859 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
2862 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2864 Patch by Mox Soini (ext-mox.soini@nokia.com)
2866 * src/hildon-banner.c: (hildon_banner_show_animation):
2867 use stylus size instead of obsolete note size.
2868 * src/hildon-defines.h: Update icon sizes.
2870 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2872 * src/hildon-touch-selector-entry.c:
2873 (hildon_touch_selector_entry_init): Disable unsupported
2875 (hildon_touch_selector_entry_get_text_column): Emit a warning
2876 if an unsupported input modes is used and explicitile state
2877 these modes in the documentation.
2879 Fixes: NB#99802 (Hildon touch selector entry not working properly
2880 for some of the input modes)
2882 2009-02-05 Alejandro G. Castro <alex@igalia.com>
2884 * src/hildon-pannable-area.c,
2885 (hildon_pannable_area_init): Added the changed signal handlers of
2888 Fixes: NB#100320 (HildonPannableArea does not listen to
2889 GtkAdjustment "change" signals)
2891 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2893 * doc/hildon-sections.txt
2894 * src/hildon-window-private.h
2895 * src/hildon-window.h
2896 * src/hildon-window.c (hildon_window_init)
2897 (hildon_window_realize, hildon_window_unrealize)
2898 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
2899 (hildon_window_size_request, hildon_window_size_allocate)
2900 (hildon_window_forall, hildon_window_show_all)
2901 (hildon_window_destroy, +paint_edit_toolbar)
2902 (+hildon_window_set_edit_toolbar):
2903 New hildon_window_set_edit_toolbar() method, to add a
2904 HildonEditToolbar to a window without having to pack it manually.
2906 Reorganize hildon_window_size_allocate()
2908 * src/hildon-edit-toolbar.c: Update documentation.
2910 * examples/hildon-edit-toolbar-example.c (edit_window): Update
2911 example to use the new API.
2913 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
2915 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2917 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
2918 Remove from stack before calling parent's hide.
2920 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2922 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
2923 window is removed from the middle of the stack, update the
2924 transiency of the previous one.
2926 Fixes: NB#100487 (HildonStackableWindow transiency becomes
2929 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2931 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
2932 block/unblock the signal handler if it's not actually being used.
2933 Fixes some critical warnings.
2935 2009-02-02 Alberto Garcia <agarcia@igalia.com>
2937 Based on a patch by Iván Gómez (igomez@igalia.com)
2939 * src/hildon-banner.c
2943 * src/hildon-pannable-area.c
2944 * src/hildon-picker-dialog.c
2945 * src/hildon-wizard-dialog.h
2946 * src/hildon-wizard-dialog.c: Documentation updates.
2948 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
2949 gtk_dialog_add_button() instead of hildon_dialog_add_button().
2951 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2953 * configure.ac: post release version bump.
2954 * debian/changelog: version bump.
2956 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2961 * configure.ac: Bump version.
2962 * debian/changelog: Updates.
2964 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2966 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
2967 a stock icon nor change the relief of the back arrow.
2969 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2970 graphics from theme)
2972 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2974 * src/hildon-button.c (hildon_button_set_alignment): Use
2975 priv->alignment if the button has no child yet.
2977 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
2979 * src/hildon-button.c: (hildon_button_init): Set the
2980 button style during initialization to give it the proper
2983 Fixes: NB#99713 (HildonButton value label color is wrong)
2985 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2987 * src/hildon-touch-selector.c: Document
2988 hildon_touch_selector_center_on_selected()
2990 2009-01-28 Alberto Garcia <agarcia@igalia.com>
2992 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
2993 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
2994 all menu items, but not the menu itself.
2995 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
2996 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
2997 items after adding them to the menu so keyboard accelerators work.
2998 (hildon_app_menu_show): Don't show the menu if it contains items
2999 but none of them are visible.
3001 * examples/hildon-app-menu-example.c (create_menu): Use
3002 gtk_widget_show_all() to show all menu items.
3004 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3006 * src/hildon-picker-dialog.c:
3007 (-_update_title_on_selector_changed_cb),
3008 (-_dialog_update_title): Removed.
3009 (_select_on_selector_changed_cb), (_on_dialog_response),
3010 (on_selector_columns_changed): Do not update the dialog title.
3011 (setup_interaction_mode): Do not connect to
3012 HildonTouchSelector::changed signal if there's a "done" button, as
3013 the dialog title doesn't need to be updated.
3015 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3018 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3020 Patch by Kristian Rietveld (kris@imendio.com)
3022 * src/hildon-touch-selector.c: (_create_new_column): Use new
3023 GtkTreeView::hildon-row-tapped signal to react to user interactions
3024 instead of ::changed.
3026 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3027 with some dynamic tree model)
3029 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3031 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3032 (+screen_size_changed, +label_size_request)
3033 (hildon_note_class_init): Make the Hildon information note have a
3034 minimum height, and make its text hvae a maximum width.
3036 Fixes: NB#98614 (Hildon information note (background) should have
3037 minimum height and maximum text width)
3039 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3041 * src/hildon-banner.h
3042 * src/hildon-banner.c (hildon_banner_show_information)
3043 (hildon_banner_show_informationf)
3044 (hildon_banner_show_information_with_markup): Update documentation
3045 to reflect that the icon_name parameter is not used anymore.
3046 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3047 Remove all code from these functions and mark them as deprecated.
3048 (hildon_banner_show_progress): Mark as deprecated.
3050 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3052 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3054 * src/hildon-pannable-area.c,
3055 (hildon_pannable_area_class_init),
3056 (tranparency_color),
3057 (hildon_pannable_draw_vscroll),
3058 (hildon_pannable_draw_hscroll),
3059 (hildon_pannable_area_expose_event): Added a new way to render the
3060 scrollbars of the pannable area avoiding using cairo at all. This
3061 way we improve the performance of the pannable area rendering. The
3062 cairo rendering procedure is still in the code, we can control
3063 which one to use changing the value of the define
3064 USE_CAIRO_SCROLLBARS.
3066 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3068 * configure.ac: post release version bump.
3069 * debian/changelog: version bump.
3071 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3076 * configure.ac: Bump version.
3077 * debian/changelog: Updates.
3079 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3081 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3082 banners instead of destroying them when they receive a button
3085 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3087 Reverted commit 34028, it was causing regressions, probably the
3088 topmost condition is not correct, we have to check it in more
3089 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3090 propagation of button press events)
3092 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3094 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3095 that the selection is not empty before attempting to retrieve the
3096 current ampm selection.
3098 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3100 * src/hildon-picker-button.c:
3101 (hildon_picker_button_on_dialog_response): Directly update the
3102 button contents when required instead of calling _selection_changed.
3104 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3106 * src/hildon-program.c (hildon_program_update_top_most): Update
3107 'is-topmost' property also when wm_hints is not set.
3109 Fixes: NB#98383 (is-topmost signal is not emitted when task
3110 switcher is clicked.)
3112 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3114 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3118 * src/hildon-animation-actor.c,
3119 * src/hildon-animation-actor.h: Added the animation actor class,
3120 this widget represents an animation actor for WM-assisted
3121 animation effects in the Hildon framework.
3123 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3125 * src/hildon-window-stack-private.h
3126 * src/hildon-window-stack.c
3127 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3128 Avoid calling gtk_widget_show() again indirectly from
3129 hildon_stackable_window_show()
3131 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3133 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3136 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3138 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3139 (hildon_time_selector_init): Move the construction of the hours and
3140 ampm columns to the constructor to preserve the order the columns
3143 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3145 * src/hildon-picker-dialog.c:
3146 (hildon_picker_dialog_class_init): Connect a realize method.
3147 (+hildon_picker_dialog_realize): Setup the interaction mode here
3149 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3150 yet, do it during the realize instead.
3151 (_on_dialog_response):
3152 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3153 if the widget is not realized, to avoid the dialog response before it
3156 Avoid premature responses in the HildonPickerDialog that can cause it
3157 to be hidden before it's even shown.
3159 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3161 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3162 (on_selector_columns_changed), (requires_done_button),
3163 (+prepare_action_area), (setup_interaction_mode),
3164 (_hildon_picker_dialog_set_selector):
3166 Split the interaction mode setup into preparation of the
3167 action area (prepare_action_area()) and the connection of
3168 the signals in setup_interaction_mode() and update the code to
3171 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3173 * src/hildon-pannable-area.c,
3174 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3175 per second to 15, we will check if this is ok regarding
3178 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3180 * src/hildon-pannable-area.c,
3181 (hildon_pannable_axis_scroll): Avoid resize if we already have
3182 reached overshoot_max.
3184 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3186 * src/hildon-pannable-area.c,
3187 (hildon_pannable_area_init),
3188 (hildon_pannable_area_realize),
3189 (hildon_pannable_area_size_allocate),
3190 (hildon_pannable_area_map),
3191 (hildon_pannable_area_unmap),
3192 (hildon_pannable_draw_vscroll),
3193 (hildon_pannable_draw_hscroll),
3194 (hildon_pannable_area_expose_event),
3195 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3196 pannable are to avoid the expose events go to the window and
3197 redraw the window. We save this way that part of the stack and the
3198 paint_boxes. We had to change the positions of the elements when
3201 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3203 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3204 * src/hildon-color-chooser-dialog.c:
3205 (hildon_color_chooser_dialog_init):
3206 * src/hildon-font-selection-dialog.c:
3207 (hildon_font_selection_dialog_init),
3208 (hildon_font_selection_dialog_show_preview):
3209 * src/hildon-get-password-dialog.c:
3210 * src/hildon-login-dialog.c:
3211 * src/hildon-set-password-dialog.c:
3212 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3213 * src/hildon-time-picker.c: (hildon_time_picker_init):
3215 Remove obsolete logical string IDs and update to the appropriate ones.
3217 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3219 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3221 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3222 that happens if the window hasn't been realized yet.
3224 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3225 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3227 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3229 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3230 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3233 Fixes: NB#98537 (Device hangs in account settings dialog)
3235 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3237 * configure.ac: post release version bump.
3238 * debian/changelog: version bump
3240 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3245 * configure.ac: Bump version.
3246 * debian/changelog: Updates.
3248 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3250 Added a new function to the HildonTimeButton widget that allows to
3251 change the step of the minutes in the selector associated with the
3252 button: hildon_time_button_new_step
3254 * src/hildon-time-button.c,
3255 (hildon_time_button_init),
3256 (hildon_time_button_new),
3257 (hildon_time_button_new_step):
3258 * src/hildon-time-button.h: Added the new function and refactored
3260 * examples/hildon-time-button-example.c,
3261 (main): We have replaced the function without parameters with the
3262 function with the steps set to 5
3264 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3266 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3268 * src/hildon-time-selector.c,
3269 (hildon_time_selector_class_init),
3270 (hildon_time_selector_constructor),
3271 (hildon_time_selector_get_property),
3272 (hildon_time_selector_set_property),
3273 (_create_minutes_model),
3274 (hildon_time_selector_new_step),
3275 (hildon_time_selector_set_time),
3276 * src/hildon-time-selector.h: Added a new property to the
3277 HildonTimeSelector (minutes-step), we use that property to control
3278 the steps between the minutes in the list of the selector. We have
3279 added a new function to the API to create a widget changing the
3280 step: hildon_time_selector_new_step.
3282 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3284 * src/hildon-time-selector.c,
3285 (hildon_time_selector_class_init),
3286 (hildon_time_selector_constructor),
3287 (hildon_time_selector_init): Overrided the construct function when
3288 creating the time selector object. We have moved the minutes model
3289 handling code from the init to the new construction function:
3290 hildon_time_selector_constructor.
3292 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3294 * examples/hildon-date-button-example.c: (main): Use the new
3295 hildon_date_button_new_with_year_range() method in the example.
3296 * src/hildon-date-button.c:
3297 (+hildon_date_button_new_with_year_range): New public method
3298 to conveniently create a HildonDateButton with a custom year range
3299 in its HildonDateSelector.
3300 * src/hildon-date-button.h: Add the new public method definition.
3302 Fixes: NB#97908 (Not possible to change the year range in
3303 HildonDateSelector/HildonDateButton)
3305 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3307 * src/hildon-date-selector.c:
3308 (+hildon_date_selector_set_property),
3309 (+hildon_date_selector_get_property),
3310 (hildon_date_selector_class_init): Install new properties "min-year"
3311 and "max-year" to define boundaries for the year column.
3312 (_create_year_model): Use the boundary properties to populate the model.
3313 (+hildon_date_selector_new_with_year_range): New public method to
3314 create a HildonDateSelector with a user defined year range.
3315 (hildon_date_selector_select_current_date): Use the new boundaries to
3316 calculate the iterator of current year.
3317 * src/hildon-date-selector.h: Add the new public method definition.
3319 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3321 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3322 Install a constructor method.
3323 (+hildon_date_selector_construct_ui): construct the widget.
3324 (+hildon_date_selector_constructor): new constructor.
3325 (+hildon_date_selector_init): move out widget construction code to
3326 the new constructor.
3328 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3330 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3331 that there's actually a month or year selected before obtaining them.
3332 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3333 of the HildonTouchSelector::changed signal, as it was emitted on every
3334 single item selection.
3336 Fix some warnings and possible crashers due to the selection restoring.
3338 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3340 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3341 the signal handlers only after creating the dialog instead of on every
3344 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3346 * src/hildon-button.c (hildon_button_init)
3347 * src/hildon-check-button.c (hildon_check_button_init)
3348 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3349 focus when clicked by default.
3351 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3353 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3356 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3358 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3359 Alejandro G. Castro (alex@igalia.com)
3361 * src/hildon-picker-dialog.c:
3362 (hildon_picker_dialog_class_init): install new "center-on-show"
3364 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3365 (hildon_picker_dialog_set_property): add setter code for the new
3367 (hildon_picker_dialog_get_property): add getter code for the new
3369 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3370 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3373 Fixes: NB#92849 (Selected item is not always visible when
3374 HildonTouchSelector is shown)
3376 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3378 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3379 Alejandro G. Castro (alex@igalia.com)
3381 * src/hildon-touch-selector.c:
3382 (_create_new_column): Do not connect to the "realize" signal of the
3384 (hildon_touch_selector_append_column): center on the selected items
3385 when a new column is appended.
3386 (hildon_touch_selector_select_iter): Factor out the code to select a
3387 column to hildon_touch_selector_scroll_to().
3388 (+search_nearest_element): Method to retrieve the nearest selected
3389 element to the visible area of the pannable area in a column.
3390 (+on_realize_cb): scroll to the initially selected item.
3391 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3392 the pannable area is realized, otherwise delay this until it is.
3393 (+_hildon_touch_selector_center_on_selected_items): Centers on the
3394 selected items of a given column.
3395 (+hildon_touch_selector_center_on_selected): Public method to center
3396 all columns on the nearest selected item.
3397 * src/hildon-touch-selector.h: Add definition for
3398 hildon_touch_selector_center_on_selected().
3400 Implement public API to ensure visibility of all selected items in
3401 a HildonTouchSelector.
3403 2009-01-16 Alejandro G. Castro <alex@igalia.com>
3405 Fixed a problem in the fading when calling the scroll_to API, and
3406 improve scrollbar fading handling.
3408 * src/hildon-pannable-area.c,
3409 (hildon_pannable_area_grab_notify): avoid the timeout when the
3411 (hildon_pannable_area_button_press_cb),
3412 (hildon_pannable_area_motion_notify_cb): Code style changes.
3413 (hildon_pannable_area_button_release_cb): Review the conditions
3414 when releasing the mouse button to avoid unrequired fading
3416 (hildon_pannable_area_scroll_to): Do not calculate and set the
3417 velocity if the scroll is not required.
3419 2009-01-15 Alberto Garcia <agarcia@igalia.com>
3421 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3422 Don't check whether the new selector is NULL: it cannot be.
3423 Hold a reference to the selector while doing the replacement.
3425 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3427 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3428 unnecessary size_request in a removed widget.
3430 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3432 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3433 an unnecessary reference tracking that was leaking.
3435 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3437 Added delayed motion notify event handling, this way we can
3438 discard redrawing if more than 25 events arrive per second.
3440 * src/hildon-pannable-area.c,
3441 (hildon_pannable_area_init): Initialized the new private atributes
3442 controlling this timeout
3443 (hildon_pannable_area_dispose): Remove the timeout that controls
3444 the motion notify events.
3445 (hildon_pannable_area_scroll): Added a condition to control the
3446 use of the acceleration.
3447 (hildon_pannable_area_motion_event_scroll_timeout),
3448 (hildon_pannable_area_motion_event_scroll): Added this two
3449 functions, they handle the motion notify events inside the
3451 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
3452 to the scroll method with the new function.
3453 (hildon_pannable_area_button_release_cb): We have to remove the
3454 timeout handler and move to the last position if the last motion
3455 events were not handled.
3457 Fixes: NB#97028 (Pannable area updates on every motion event)
3459 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3461 * src/hildon-pannable-area.c,
3462 (hildon_pannable_area_get_topmost): Added a new parameter to
3463 filter the the windows that do not include those events. Added
3464 also a condition when finding the window to filter windows that do
3465 not ask for those events.
3466 (hildon_pannable_area_button_press_cb),
3467 (hildon_pannable_area_button_release_cb),
3468 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3469 topmost function, we have added the new parameter.
3471 Fixes: NB#97458 (Pannable area prevents propagation of button
3474 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3476 * src/hildon-pannable-area.c,
3477 (hildon_pannable_area_initial_effect): Added controls before
3478 launching the timeout and the idle functions.
3479 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
3480 of the method, in some situations it can return with TRUE and 0 in
3482 (hildon_pannable_area_button_press_cb): We do not need to set
3483 DELAY for fading out here.
3485 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
3487 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3489 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
3490 post-cleaning if the selection is not NULL.
3492 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3494 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
3495 all items before restoring the selection.
3497 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3499 * src/hildon-touch-selector.c:
3500 (+hildon_touch_selector_unselect_all):
3501 * src/hildon-touch-selector.h: New API to unselect all items in a
3502 column of the touch selector.
3504 2009-01-14 Alejandro G. Castro <alex@igalia.com>
3506 * src/hildon-pannable-area.c,
3507 (hildon_pannable_area_redraw): Added a call to the refresh
3508 function inside the redraw because apparently in some cases the
3509 change in the adjustment does not imply a size allocate.
3511 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
3512 despite the view not being scrollable)
3514 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3516 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
3517 leak. Check for NULL before attempting to set the window title.
3519 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3521 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
3522 whether to show or not the 'Done' button each time the dialog is
3523 shown, as it depends on the HildonTouchSelector selection mode.
3525 Fixes: NB#96226 (In multiple selection mode Done button is shown
3526 sometimes in listpicker)
3528 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3530 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3531 for the number of columns in the HildonTouchSelector more than once.
3533 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3535 * src/hildon-touch-selector.c: Minor documentation fixes.
3537 * src/hildon-picker-dialog.c (+_dialog_update_title)
3538 (_select_on_selector_changed_cb)
3539 (_update_title_on_selector_changed_cb)
3540 (on_selector_columns_changed): Update dialog title when there's no
3541 'Done' button and also when the number of columns in the selector
3545 * src/hildon-picker-button.c (hildon_picker_button_finalize)
3546 (+_selection_changed, hildon_picker_button_on_dialog_response)
3547 (hildon_picker_button_selector_selection_changed)
3548 (+hildon_picker_button_selector_columns_changed)
3549 (hildon_picker_button_set_selector): Update button value and emit
3550 'value-changed' when the number of columns in the selector
3554 Fixes: NB#96225 (Dialog titles are not shown according to the
3555 values selected in the list picker)
3557 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3559 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
3560 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
3561 New "arrow-width" and "arrow-height" style properties to set the
3562 size of the arrow button.
3563 Set name of arrow button ("hildon-edit-toolbar-arrow").
3565 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3566 graphics from theme)
3568 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3570 * src/hildon-picker-button.c:
3571 (hildon_picker_button_selector_selection_changed): Use
3572 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
3573 the dialog is present.
3575 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
3576 the selection is accepted in the dialog)
3578 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3580 * src/hildon-color-chooser.h
3581 * src/hildon-color-chooser-dialog.h:
3582 Added G_BEGIN_DECLS and G_END_DECLS
3584 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3586 (_clean_current_selection): plug a leak in the list.
3588 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3590 * src/hildon-picker-dialog.c:
3591 (+free_path_list): Method to free a GList of GtkTreePaths.
3592 (_clean_current_selection), (_save_current_selection),
3593 (_restore_current_selection): Save the current selection in
3594 as a list of lists, to support multiple selection properly.
3596 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3598 patch by Claudio Saavedra (csaavedra@igalia.com)
3600 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
3601 Store the press position.
3602 (+hildon_text_view_button_release_event): If the release position is
3603 close enough to the press position, move the cursor here. Otherwise,
3605 (hildon_text_view_class_init): Override GtkTextView press, release, and
3606 motion event handlers, disabling this way text selection through
3607 pointer interaction, and allowing the container widget to handle the
3610 Fixes: NB#95828 (HildonTextView functionality)
3612 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3614 Based on a patch by Iván Gómez (igomez@igalia.com)
3616 * src/hildon-button.[ch]
3617 * src/hildon-calendar.c
3618 * src/hildon-check-button.c
3619 * src/hildon-date-editor.c
3620 * src/hildon-date-selector.c
3621 * src/hildon-picker-button.c
3622 * src/hildon-time-editor.c
3623 * src/hildon-time-selector.c
3624 * src/hildon-touch-selector.[ch]:
3625 Documentation updates
3627 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3629 * src/hildon-pannable-area.c,
3630 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
3631 threshold, it was required due to X events handling.
3633 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3635 * src/hildon-pannable-area.c,
3636 (hildon_pannable_area_grab_notify),
3637 (hildon_pannable_area_initial_effect),
3638 (hildon_pannable_area_button_press_cb),
3639 (hildon_pannable_area_button_release_cb),
3640 (hildon_pannable_area_scroll_cb),
3641 (hildon_pannable_area_scroll_to): Review the timeout management of
3642 the scrollbar, the frecuency was incorrectly set.
3644 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
3646 * src/hildon-picker-button.c:
3647 (+hildon_picker_button_on_dialog_response),
3648 (hildon_picker_button_clicked): Present the dialog instead of
3649 running it with gtk_dialog_run().
3651 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
3654 2009-01-07 Alberto Garcia <agarcia@igalia.com>
3656 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3657 (hildon_app_menu_finalize): When a window is hidden it doesn't
3658 emit notify::is-topmost, so make sure than the menu also
3659 disappears in that case.
3660 (parent_window_topmost_notify): Renamed from parent_window_hidden
3662 Fixes: NB#94460 (stackable window's menu is not closed when its
3665 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3667 * src/hildon-touch-selector-entry.c:
3668 (+hildon_touch_selector_entry_set_input_mode),
3669 (+hildon_touch_selector_entry_get_input_mode):
3670 * src/hildon-touch-selector-entry.h: New methods to access the input
3671 mode in the selector's entry.
3673 Fixes: NB#93410 (API required for setting IM mode in
3674 HildonTouchSelectorEntry)
3676 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3678 * configure.ac: post release version bump.
3679 * debian/changelog: version bump
3681 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3686 * configure.ac: Bump version.
3687 * debian/changelog: Updates.
3689 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
3691 * src/hildon-touch-selector.c:
3692 (_hildon_touch_selector_has_multiple_selection): No need
3693 to initialize the variables here.
3695 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3697 * src/hildon-note-private.h
3698 * src/hildon-note.c (event_box_press_event, hildon_note_init)
3699 (hildon_note_finalize, hildon_note_rebuild): Close information
3700 notes when they receive a button press.
3702 Fixes: NB#89890 (Information notes does not get disappeared after
3705 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
3707 * src/hildon-wizard-dialog.c: (create_title): Remove translation
3708 mark from the wizard title, as it's not really necessary. Also,
3709 do not display the page title if not set.
3711 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3713 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3714 (parent_window_hidden): Use the window's "is-topmost" property to
3715 detect when to hide the menu.
3717 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3719 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3720 (hildon_app_menu_finalize): If the parent window of the menu is
3721 hidden, hide the menu too.
3723 Fixes: NB#94460 (stackable window's menu is not closed when its
3726 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3729 * debian/libhildon1-examples.install
3731 * examples/Makefile.am:
3732 Use dh_install to install all examples.
3733 Use DEB_SRCDIR instead of defining SOURCE_DIR
3735 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3737 * configure.ac: post release version bump.
3738 * debian/changelog: version bump
3740 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3745 * configure.ac: bump version
3746 * debian/changelog: updates
3747 * debian/control: bump gtk+ dependency
3749 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3751 patch by Christian Dywan (christian@imendio.com)
3753 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
3754 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
3756 2008-12-15 Alberto Garcia <agarcia@igalia.com>
3758 * src/hildon-check-button.c (hildon_check_button_init)
3759 (hildon_check_button_class_init, hildon_check_button_style_set)
3760 (hildon_check_button_apply_style):
3761 New "checkbox-size" style property.
3763 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
3764 larger / configurable size)
3766 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3768 * configure.ac: post release version bump.
3769 * debian/changelog: version bump
3771 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3776 * configure.ac: bump version
3777 * debian/changelog: updates
3779 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3781 * doc/hildon-sections.txt
3782 * src/hildon-pannable-area.c
3783 * src/hildon-program.c
3784 * src/hildon-time-editor.c
3785 * src/hildon-touch-selector-entry.c:
3787 More documentation updates.
3789 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3791 * doc/hildon-sections.txt
3792 * src/hildon-caption.c
3793 * src/hildon-code-dialog.c
3794 * src/hildon-color-button.c
3795 * src/hildon-controlbar.c
3796 * src/hildon-date-editor.c
3797 * src/hildon-date-selector.c
3798 * src/hildon-edit-toolbar.c
3799 * src/hildon-find-toolbar.c
3800 * src/hildon-font-selection-dialog.c
3802 * src/hildon-program.c
3803 * src/hildon-range-editor.c
3804 * src/hildon-seekbar.c
3805 * src/hildon-time-editor.c
3806 * src/hildon-time-selector.c
3807 * src/hildon-volumebar-range.c
3808 * src/hildon-volumebar.c
3809 * src/hildon-vvolumebar.c
3810 * src/hildon-weekday-picker.c
3811 * src/hildon-window.c
3812 * src/hildon-wizard-dialog.c:
3814 Lots of documentation fixes.
3816 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3818 Patch contributed by Iván Gómez (igomez@igalia.com)
3820 * src/hildon-check-button.c:
3821 * src/hildon-date-button.c:
3822 * src/hildon-date-selector.c:
3823 * src/hildon-dialog.c:
3824 * src/hildon-edit-toolbar.c:
3825 * src/hildon-entry.c:
3826 * src/hildon-picker-button.c:
3827 * src/hildon-program.c:
3828 * src/hildon-text-view.c:
3829 * src/hildon-time-button.c:
3830 * src/hildon-touch-selector-entry.c:
3831 * src/hildon-window-stack.c:
3833 Add more "since" tags to the new API.
3835 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3837 * doc/hildon-sections.txt: Add below method.
3838 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
3839 version for the hildonized scale.
3840 * src/hildon-gtk.h: Add the definition.
3842 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3844 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3846 * doc/hildon-sections.txt: Add missing entries for new methods.
3848 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3850 Added API to pannable are in order to get its adjustments. We
3851 added two properties to manage the values we had in the private
3854 * src/hildon-pannable-area.c:
3855 (hildon_pannable_area_class_init): Added hadjustment and
3856 vadjustment properties in order to expose horizontal and vertical
3858 (hildon_pannable_area_get_property),
3859 (hildon_pannable_area_set_property): Added code to handle the new
3861 (hildon_pannable_area_get_hadjustment),
3862 (hildon_pannable_area_get_vadjustment): API functions to get the
3864 * src/hildon-pannable-area.h:
3865 (hildon_pannable_area_get_hadjustment),
3866 (hildon_pannable_area_get_vadjustment): API functions to get the
3869 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3871 Fixed some leaks, after valgrinding.
3873 * src/hildon-touch-selector.c:
3874 (_default_print_func): Fixed a leak.
3875 (hildon_touch_selector_append_column): Fixed a leak.
3876 * src/hildon-date-button.c:
3877 (hildon_date_button_init): Fixed a leak.
3878 * src/hildon-date-selector.c
3879 (hildon_date_selector_finalize): Fixed a leak.
3881 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3883 Based on a patch by Christian Dywan (christian@imendio.com)
3885 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
3887 * src/hildon-gtk.h: Add definition.
3889 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3891 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3893 * src/hildon-picker-button.c: (hildon_picker_button_init),
3894 (hildon_picker_button_new): Set the HildonButton::style property
3895 in the init method, to propagate the value to the derived classes.
3897 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3899 * src/hildon-button.c: (hildon_button_class_init): Do not make
3900 the "style" property a construct property.
3902 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3904 * src/hildon-wizard-dialog.h
3905 * src/hildon-wizard-dialog.c
3906 (hildon_wizard_dialog_set_forward_page_func)
3907 * src/hildon-pannable-area.h
3908 * src/hildon-pannable-area.c
3909 (hildon_pannable_area_set_size_request_policy):
3910 Documentation fixes.
3912 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3914 * doc/hildon-sections.txt: Fixed warning about unused symbols.
3916 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3918 * doc/hildon-sections.txt: Added sections file.
3920 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3923 * src/*.[ch]: Updates.
3925 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
3927 * examples/hildon-progress-indicator-example.c: new file
3928 * examples/Makefile.am: include the new example program
3930 2008-12-10 Alberto Garcia <agarcia@igalia.com>
3932 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
3934 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3936 * configure.ac: post release version bump
3937 * debian/changelog: version bump
3939 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3944 * configure.ac: bump version
3945 * debian/changelog: updates
3946 * debian/control: bump gtk+ dependency
3948 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3950 * src/hildon-dialog.c: Mark as deprecated.
3951 * src/hildon-dialog.h: Mark as deprecated.
3952 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
3953 from HildonDialog and still work, even if
3954 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
3955 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
3957 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
3958 maemo changes) instead)
3960 2008-12-09 Alejandro G. Castro <alex@igalia.com>
3962 * src/hildon-pannable_area.h:
3963 * src/hildon-pannable_area.c:
3964 (hildon_pannable_area_class_init),
3965 (hildon_pannable_area_set_property),
3966 (hildon_pannable_area_get_property),
3967 (hildon_pannable_area_size_request),
3968 (hildon_pannable_area_get_size_request_policy),
3969 (hildon_pannable_area_set_size_request_policy): Added new API
3970 allowing applications to control the request policy. Now they can
3971 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
3972 children allocation (HILDON_MOVEMENT_CHILDREN).
3974 2008-12-09 Alberto Garcia <agarcia@igalia.com>
3978 (hildon_gtk_tree_view_set_ui_mode)
3979 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
3980 mode of treeviews and iconviews.
3982 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3984 * src/hildon-touch-selector-entry.c:
3985 (hildon_touch_selector_entry_init): Use a HildonEntry instead
3986 of a GtkEntry to get proper theming.
3988 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
3989 widget, not GtkEntry)
3991 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3993 * src/hildon-wizard-dialog.c: (response): Move forward if there is
3994 no HildonWizardDialogPageFunc.
3996 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3998 Patch contributed by Iván Gómez (igomez@igalia.com)
4000 * src/hildon-app-menu.c:
4001 * src/hildon-button.c:
4002 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4003 * src/hildon-stackable-window.c:
4004 * src/hildon-time-selector.c:
4005 * src/hildon-touch-selector.c:
4006 * src/hildon-window.c:
4008 Add more "since" tags to the new API in hildon 2.2.
4010 2008-12-05 Tim Janik <timj@imendio.com>
4012 Patch contributed by Christian Dywan (christian@imendio.com)
4014 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4015 HildonSizeType, which are supplied by Gtk+ now.
4017 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4019 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4020 (with maemo changes) instead)
4022 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4024 Patch contributed by Iván Gómez (igomez@igalia.com)
4026 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4029 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4031 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4032 (some_page_func), (main): Update the example to use a
4033 HildonWizardDialogPageFunc function.
4035 * src/hildon-wizard-dialog-private.h: Add private data for
4036 the HildonWizardDialogPageFunc function usage.
4038 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4039 (destroy), (hildon_wizard_dialog_init), (response),
4040 (hildon_wizard_dialog_set_forward_page_func):
4041 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4042 that applications can use to stop a HildonWizardDialog to jump to
4045 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4048 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4050 * src/hildon-program.h
4051 * src/hildon-program-private.h
4052 * src/hildon-program.c (hildon_program_init)
4053 (hildon_program_set_common_app_menu)
4054 (hildon_program_get_common_app_menu):
4055 New API for setting a common HildonAppMenu for all
4056 HildonStackableWindows registered with the HildonProgram.
4058 * src/hildon-stackable-window.c
4059 (hildon_stackable_window_toggle_menu):
4060 Use the common HildonAppMenu if a window doesn't have a specific
4063 * src/hildon-app-menu-private.h
4064 * src/hildon-app-menu.c
4065 (hildon_app_menu_get_parent_window):
4066 Function to obtain the window a HildonAppMenu is attached to.
4067 (hildon_app_menu_set_parent_window):
4068 Hide the menu if the parent window is set to NULL.
4070 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4072 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4073 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4074 search widget to popup.
4076 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4078 * configure.ac: post release version bump
4079 * debian/changelog: version bump
4081 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4086 * configure.ac: bump version
4087 * debian/changelog: updates
4089 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4091 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4093 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4094 (hildon_window_stack_window_realized)
4095 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4096 Set the leader GdkWindow when a window is stacked and realized,
4097 unset it when it's unstacked.
4098 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4100 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4102 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4104 * src/hildon-stackable-window.h
4105 * src/hildon-window-stack.h:
4106 Protect definition of HildonWindowStack using the preprocessor.
4108 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4110 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4111 Fix warning if all menu items are hidden.
4113 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4115 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4117 * src/hildon-controlbar.c:
4118 * src/hildon-hvolumebar.c:
4119 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4120 Multiple scale size defines updates.
4122 Fixes: NB#94322 (Scale Updates)
4124 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4126 * examples/hildon-app-menu-example.c (create_menu)
4127 Show items after adding them to the menu, as in the future the
4128 menu will no longer call gtk_widget_show() on the added items.
4130 * src/hildon-app-menu.c:
4131 Update example as explained above.
4133 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4135 * src/hildon-app-menu.c
4136 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4137 Make sure that all menu items have finger height.
4139 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4141 * src/hildon-picker-dialog.c:
4142 (_on_dialog_response), (_save_current_selection),
4143 (_restore_current_selection), (_clean_current_selection),
4144 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4145 Defined new functions in order to save the current internal selector
4146 selection previous open the dialog, in case that the use cancel the
4147 interaction, so the widget restores the previous selection.
4149 Fixes: NB#92032 (In calendar application, date values in 'new event'
4152 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4154 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4156 * src/hildon-button.c: Add a reference to the button examples in
4157 hildon-button-example.c
4159 * examples/hildon-button-example.c: Added examples of the most
4160 common button layouts.
4162 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4164 * src/hildon-app-menu.c (hildon_app_menu_show)
4165 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4167 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4169 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4171 * src/hildon-picker-dialog.c:
4172 (hildon_picker_dialog_init): Initialize the signal id for
4173 HildonTouchSelector::columns-changed.
4174 (+on_selector_columns_changed): Set up the interaction mode everytime a
4175 column is added or removed from the HildonTouchSelector.
4176 (_hildon_picker_dialog_set_selector): Connect to
4177 HildonTouchSelector::columns-changed and keep track of it.
4179 Make sure to update the interaction mode of the dialog everytime a
4180 column is added or removed in the HildonTouchSelector.
4182 Fixes: NB#93228 (Done button is not shown always in listpicker)
4184 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4186 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4187 a new ::columns-changed signal.
4188 (hildon_touch_selector_append_column): Emit ::columns-changed.
4189 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4191 Add a ::columns-changed signal, emitted when the number of columns in a
4192 HildonTouchSelector changes.
4194 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4196 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4197 (_hildon_picker_dialog_set_selector): Factor out the code
4198 to set up the dialog interaction mode.
4200 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4202 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4203 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4204 to signal_changed_id.
4206 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4208 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4211 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4213 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4214 Updated the logical ids related to ampm format, as now it is required to
4215 show it correctly localized even on languages with no default
4216 abbreviations for am or pm
4217 (_check_am_pm_format): check correctly the 24h format gconf property
4219 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4221 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4223 * src/hildon-button.c: Documentation updates.
4225 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4227 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4228 * src/hildon-caption.c: (hildon_caption_class_init):
4229 * src/hildon-color-button.c: (hildon_color_button_class_init):
4230 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4231 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4232 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4233 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4235 Remove deprecated GTK+ marshalers and replace them with the ones
4236 provided by GLib, for those available, add a marshaler for
4237 BOOLEAN:VOID, which is not available in GLib, and use it.
4239 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4241 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4242 the text from the previous column if there is no
4243 HildonTouchSelectorColumn::text-property set.
4245 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4247 * src/hildon-button.h
4248 * src/hildon-button.c (hildon_button_set_property)
4249 (hildon_button_get_property, hildon_button_class_init)
4250 (hildon_button_set_style, hildon_button_get_style):
4251 New "style" property to change the visual appearance of the
4254 * src/hildon-picker-button.c (hildon_picker_button_new):
4255 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4257 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4258 HildonButton look like PickerButton)
4260 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4262 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4263 column while building the default string.
4265 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4267 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4268 scroll indicator by default.
4270 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4272 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4274 * src/hildon-main.c: Fix the documentation for hildon_init()
4276 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4278 * doc/hildon-docs.sgml
4282 * src/hildon-window-stack-private.h
4283 * src/hildon-window-stack.h
4284 * src/hildon-window-stack.c:
4285 New HildonWindowStack object, that adds support for multiple
4286 stacks of windows per process.
4288 * src/hildon-stackable-window-private.h
4289 * src/hildon-stackable-window.h
4290 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4291 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4292 (hildon_stackable_window_show, hildon_stackable_window_hide)
4293 (hildon_stackable_window_class_init)
4294 (hildon_stackable_window_init):
4295 Use HildonWindowStack for stack management.
4297 * src/hildon-program.c (hildon_program_pop_window_stack)
4298 (hildon_program_peek_window_stack)
4299 (hildon_program_go_to_root_window):
4300 Add a fallback implementation to the deprecated functions using
4303 * examples/hildon-stackable-window-example.c:
4304 Use the new HildonWindowStack API.
4306 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4308 * src/hildon-stackable-window-private.h
4309 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4310 (hildon_stackable_window_hide, hildon_stackable_window_init):
4311 Remove all window stack management.
4313 * src/hildon-program-private.h
4314 * src/hildon-program.h
4315 * src/hildon-program.c (hildon_program_init)
4316 (hildon_program_pop_window_stack)
4317 (hildon_program_peek_window_stack)
4318 (hildon_program_go_to_root_window):
4319 Remove all window stack management and mark functions as
4322 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4324 * src/hildon-app-menu.c (hildon_app_menu_realize):
4325 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4327 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4329 * configure.ac: post release version bump
4330 * debian/changelog: version bump
4332 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4337 * configure.ac: bump version
4338 * debian/changelog: updates
4340 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4342 Based on initial code by Christian Dywan (christian@imendio.com)
4344 * doc/hildon-docs.sgml: Add section for hildon-main.
4345 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4346 * src/Makefile.am: Add new hildon-main.[ch]
4347 * src/hildon-defines.h: Update the icon sizes.
4348 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4349 new library initialization files and register icon sizes.
4350 * src/hildon-main.h: New declarations.
4351 * src/hildon.h: Include hildon-main.h
4353 Add new initialization functions to the library. These methods
4354 will register the hildon specific icon sizes and can be used in the
4355 future for other hildon specific bits.
4357 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4359 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4361 * src/hildon-window.c: (hildon_window_realize),
4362 (hildon_window_notify), (-hildon_window_update_title): Do not set
4363 the application name in the window title.
4365 Fixes: NB#89754 (Applications shouldn't display their names in the
4368 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4370 * src/hildon-note-private.h:
4371 * src/hildon-note.c: (hildon_note_set_property),
4372 (hildon_note_get_property), (hildon_note_class_init),
4373 (hildon_note_init), (hildon_note_finalize),
4374 (hildon_note_new_confirmation_with_icon_name),
4375 (hildon_note_new_information_with_icon_name):
4377 No need to mark as deprecated the actual code. Revert
4378 to avoid missing symbols in widgets using deprecated API.
4380 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4382 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4384 * src/hildon-volumebar.h
4385 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4386 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4388 * src/hildon-helper.h
4389 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4390 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4392 * examples/Makefile.am:
4393 Deprecate hildon-insensitive-example
4395 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4397 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4399 * examples/hildon-pannable-area-buttons-scroll-example.c:
4400 Make all buttons finger height
4402 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
4404 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4406 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4407 update the day model only if it is really required, and to avoid the
4408 full-reconstruction aproach. Now it only add or remove the required days.
4410 The purpose of this is avoid superfluous HildonTouchSelector::changed
4413 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4414 with strange parameters)
4416 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
4418 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4420 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4421 the WINDOW_TYPE property.
4423 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4425 2008-11-19 Alberto Garcia <agarcia@igalia.com>
4428 Fix dependency to allow parallel compilation with make -jX
4430 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
4432 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
4433 color frame and some minor tweaks to make it more consistent with
4436 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4437 highlighted but not visible)
4439 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4441 * examples/Makefile.am: Fixed typo in the Makefile.am.
4443 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4445 Reviewed the use of MAEMO_GTK define, now we add the define in the
4446 compilation line, and we also add it to the pc file.
4448 * configure.ac: Added MAEMO_GTK define to the compilation command
4449 and removed it from the config.h.
4451 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
4452 do not have to take care about this define if the library was
4456 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
4458 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4460 * examples/Makefile.am,
4461 * examples/hildon-pannable-area-buttons-scroll-example.c,
4462 * examples/hildon-pannable-area-gesture-signals-example.c,
4463 * examples/hildon-pannable-area-scroll-jump-example.c,
4464 * examples/hildon-pannable-area-tree-view-example.c:
4465 Renamed the pannable area examples, now they have more meaningful
4468 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
4470 * src/hildon-touch-selector.c:
4471 (hildon_touch_selector_set_column_selection_mode): Used of
4472 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
4473 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
4474 to avoid re-seting the same selection mode.
4476 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
4477 breaks HildonPickerDialog)
4479 2008-11-13 Alejandro G. Castro <alex@igalia.com>
4481 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
4482 conditional in the Makefile.am
4484 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
4486 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
4487 Remove unused methods.
4489 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4491 * src/hildon-button.c (hildon_button_init):
4492 Make button images center-aligned by default
4494 2008-11-12 Alejandro G. Castro <alex@igalia.com>
4497 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
4498 activated, we have to think about how to deal with both defines
4499 MAEMO_GTK and MAEMO_CHANGES.
4501 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4503 * examples/hildon-app-menu-example.c (create_menu): Make all
4504 buttons finger size.
4506 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4508 Fixed the compilation without maemo gtk adding ifdefs with
4509 MAEMO_GTK define to the code, we have to check this version more
4512 * examples/Makefile.am: Added control to avoid some examples that
4513 just make sense with maemo gtk.
4516 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
4517 hildon modes with the define.
4519 * examples/hildon-edit-toolbar-example.c,
4520 (create_icon_view): Create the icon view without hildon-gtk
4521 helpers if we are not using maemo gtk.
4523 * src/hildon-touch-selector.c,
4524 (_create_new_column): Create the treeview without hildon-gtk
4525 helpers if we are not using maemo gtk.
4527 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4529 * src/hildon-pnnable-area.c,
4530 (hildon_pannable_area_dispose),
4531 (hildon_pannable_area_button_press_cb),
4532 (hildon_pannable_area_child_mapped),
4533 (hildon_pannable_area_add),
4534 (hildon_pannable_area_remove): Added code to control the position
4535 of the event_window when adding and removing children from the
4536 pannable. We have to raise the event window when the child is
4539 Fixes: NB#89811 (Not able to select first image thumbnail in multi
4540 selection mode using custom widget inside pannable)
4542 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4544 * configure.ac: post release version bump
4545 * debian/changelog: version bump
4547 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4552 * configure.ac: bump version
4553 * debian/changelog: updates
4555 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
4557 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
4558 search mode, in order to avoid lose the focus on the treeview when
4559 a hw key (like enter) is pressed.
4561 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
4562 in HildonDateSelector dialog)
4564 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
4566 * debian/rules: Added --enable-maintainer-mode
4567 * Makefile.am: Added ACLOCAL_AMFLAGS
4569 This allows to properly regenerate the Makefiles if you modify the
4570 configure.ac or any Makefile.am.
4572 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4574 * examples/hildon-app-menu-example.c: (main): Do not set RC style
4575 properties, not needed at all.
4577 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4579 * src/hildon-note-private.h: Add strings for the icon and stock_icon
4581 * src/hildon-note.c: (hildon_note_set_property),
4582 (hildon_note_get_property), (hildon_note_class_init),
4583 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
4584 (hildon_note_new_confirmation_add_buttons): Remove icons.
4585 (hildon_note_new_confirmation_with_icon_name): Deprecate.
4586 (hildon_note_new_information_with_icon_name): Deprecate.
4587 (hildon_note_new_confirmation): Act directly, without calling
4588 the deprecated constructor.
4589 (hildon_note_new_information): Act directly, without calling
4590 the deprecated constructor.
4591 * src/hildon-note.h: Mark deprecate methods as such.
4592 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
4593 not run tests on the deprecated methods if built with deprecation
4596 Fixes: NB#91688 (Never show icons in information notes/confirmation
4599 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4601 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
4602 (hildon_app_menu_key_press): Remove leftover usage of the
4603 private structure in HildonAppMenu struct.
4604 * src/hildon-app-menu.h: Remove leftover private structure
4605 from the HildonAppMenu struct.
4607 Fixes a crasher when using the HildonAppMenu.
4609 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4611 * src/hildon-picker-dialog.c: Use appropriate logical id
4612 for the default "Done" text.
4614 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4616 * configure.ac: post release version bump
4617 * debian/changelog: version bump
4619 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
4621 Modified the way to scroll to the current selection just when the touch
4622 selector is shown on the screen, avoiding a g_idle. Added too a property
4623 to configure this behaviour. See hildon_pannable_area_jump_to_child
4624 documentation for more information.
4626 * src/hildon-touch-selector.c
4627 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
4628 Added 'initial-scroll' property
4629 (hildon_touch_selector_set_property): Added
4630 (hildon_touch_selector_map): Removed as not required anymore
4631 (_hildon_touch_selector_on_selected_items): Modified in order to manage
4632 only a concrete column, instead of iterate along all the columns
4634 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4639 * configure.ac: bump version
4640 * debian/changelog: updates
4642 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4644 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
4645 compilation time warnings.
4647 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4649 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4650 the default value for HildonPannableArea::mov-mode to
4651 HILDON_PANNABLE_AREA_MODE_VERT.
4653 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
4655 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4657 Reverting following commit:
4659 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4661 * src/hildon-app-menu-private.h
4662 * src/hildon-app-menu.[ch]
4663 * src/hildon-button.[ch]
4664 * src/hildon-check-button.[ch]
4665 * src/hildon-entry.[ch]
4666 * src/hildon-pannable-area.[ch]
4667 * src/hildon-text-view.[ch]:
4668 Added private field to the object's structure.
4670 because it causes an ABI breakage. We will need to introduce these
4671 changes later at some point. See NB#91636 for an extensive
4672 explanation and status.
4674 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4676 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4678 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4679 remove special cases that are no longer necessary.
4681 Fixes: NB#91016 (Change toolbar sizes, simplification)
4683 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4685 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4686 is shown in the cancel note.
4688 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4690 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
4691 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
4692 (hildon_seekbar_init): Remove steppers, remove expose event.
4693 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
4695 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
4697 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
4699 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
4700 label font to "SmallSystemFont" for vertically arranged buttons.
4702 Fixes: NB#90662 (HildonButton "value" and "detail" text is
4705 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4707 * src/hildon-check-button.c
4708 (hildon_check_button_set_active, hildon_check_button_clicked):
4709 Don't access private parts directly, use getters instead.
4711 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4713 * src/hildon-check-button.c (hildon_check_button_new):
4714 Align the contents of the check button to the left.
4716 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4718 * src/hildon-pannable-area.c,
4719 (hildon_pannable_area_scroll_to),
4720 (hildon_pannable_area_jump_to),
4721 (hildon_pannable_area_scroll_to_child),
4722 (hildon_pannable_area_jump_to_child): Replace the mapped
4723 precondition of these functions with the realized, it is the
4724 correct state of the widget in this case. Changed the
4725 documentation according to this modification.
4727 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4729 Added a new EXTRA_CFLAGS option to add the deprecated define to
4730 the compilation command. This way we can avoid using the define in
4731 the documentation compilation.
4733 * configure.ac: Defined EXTRA_CFLAGS.
4735 * examples/Makefile.am:
4737 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
4739 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
4741 * src/hildon-picker-dialog.c:
4742 Defined a utility macro with the desired touch selector height
4743 Removed currently unused separator, and title_label variables from
4745 (hildon_picker_dialog_init): Removed code related to the creation
4746 of unused private variables title_label and separator.
4747 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
4748 to ensure correct visualization of the touch selector inside the dialog.
4749 * src/hildon-touch-selector.c
4750 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
4751 ensure a concrete height of the widget.
4753 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4756 * tests/Makefile.am:
4758 Remove spurious whitespaces.
4760 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4762 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
4763 compilation warning after the cancel button removal.
4765 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4767 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
4769 * configure.ac: Added an AM_CONDITIONAL in order to use in the
4770 Makefile.am, that way we can choose not to compile some examples
4771 and tests of the deprecated widgets.
4773 * examples/Makefile.am: Divided the sources in deprecated and
4776 * src/Makefile.am: Added undef statement of the deprecated
4777 symbol to the enums file generation process.
4779 * src/hildon-color-chooser-dialog.c
4780 * src/hildon-color-chooser-dialog.h
4781 * src/hildon-color-button.c
4782 * src/hildon-color-button.h
4783 * src/hildon-color-chooser.c
4784 * src/hildon-color-chooser.h
4785 * src/hildon-controlbar.c
4786 * src/hildon-controlbar.h
4787 * src/hildon-date-editor.c
4788 * src/hildon-date-editor.h
4789 * src/hildon-hvolumebar.c
4790 * src/hildon-hvolumebar.h
4791 * src/hildon-private.c
4792 * src/hildon-private.h
4793 * src/hildon-range-editor.c
4794 * src/hildon-range-editor.h
4795 * src/hildon-seekbar.c
4796 * src/hildon-seekbar.h
4797 * src/hildon-time-editor.c
4798 * src/hildon-time-editor.h
4799 * src/hildon-time-picker.c
4800 * src/hildon-time-picker.h
4801 * src/hildon-volumebar.c
4802 * src/hildon-volumebar.h
4803 * src/hildon-vvolumebar.c
4804 * src/hildon-vvolumebar.h
4805 * src/hildon-bread-crumb-trail.h
4806 * src/hildon-bread-crumb-trail.c
4807 * src/hildon-calendar-popup.c
4808 * src/hildon-calendar-popup.h
4809 * src/hildon-weekday-picker.c:
4810 * src/hildon-weekday-picker.h:
4811 * src/hildon-bread-crumb-widget.c:
4812 * src/hildon-bread-crumb-widget.h:
4813 * src/hildon-bread-crumb.c:
4814 * src/hildon-bread-crumb.h:
4815 * src/hildon-calendar.c:
4816 * src/hildon-calendar.h:
4817 * src/hildon-caption.c:
4818 * src/hildon-code-dialog.c:
4819 * src/hildon-code-dialog.h:
4820 * src/hildon-font-selection-dialog.c:
4821 * src/hildon-font-selection-dialog.h:
4822 * src/hildon-get-password-dialog.c:
4823 * src/hildon-get-password-dialog.h:
4824 * src/hildon-login-dialog.c:
4825 * src/hildon-login-dialog.h:
4826 * src/hildon-number-editor.c:
4827 * src/hildon-number-editor.h:
4828 * src/hildon-set-password-dialog.c:
4829 * src/hildon-set-password-dialog.h:
4830 * src/hildon-sort-dialog.c:
4831 * src/hildon-sort-dialog.h: This is the list of deprecated
4834 * src/hildon-touch-selector.c:
4835 * src/hildon-window.c: Added undef statement to avoid compilation
4838 * tests/Makefile.am: Divided the sources in deprecated and
4841 * tests/check_test.c,
4842 (configure_tests): Marked the deprecated code that was adding
4843 suites with deprecated tests.
4845 Fixes: NB#91135 (Deprecate legacy hildon widgets)
4847 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4849 * src/hildon-touch-selector.c: (_default_print_func): Do not
4850 duplicate a string returned by gtk_tree_model_get(), it is already
4853 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
4856 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4858 * src/hildon-pannable-area.c
4859 (hildon_pannable_area_add_with_viewport): Reviewed the complete
4860 method, it had problems when adding a widget with viewport the
4861 second time. Now checks if it already has a viewport and uses it.
4863 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
4866 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4868 * src/hildon-pannable-area.c,
4869 (hildon_pannable_area_scroll_to),
4870 (hildon_pannable_area_jump_to),
4871 (hildon_pannable_area_scroll_to_child),
4872 (hildon_pannable_area_jump_to_child): Added a precondition to the
4873 scroll and jump to functions: the widget must be mapped before we
4874 can safely call these functions. We have also added documentation
4875 to the functions to explain how to use them in this situation.
4878 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4880 Reviewed the threading handling of the pannable widget, we have
4881 used the gdk_threads_add_timeout function instead of the usual
4882 glib handlers. This avoids some problems with the threads.
4884 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
4885 (hildon_pannable_area_initial_effect),
4886 (hildon_pannable_area_scroll_indicator_fade),
4887 (hildon_pannable_area_button_press_cb),
4888 (hildon_pannable_area_timeout),
4889 (hildon_pannable_area_motion_notify_cb),
4890 (hildon_pannable_area_button_release_cb),
4891 (hildon_pannable_area_scroll_cb),
4892 (hildon_pannable_area_scroll_to): Removed the
4893 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
4894 gdk_threads_add_timeout.
4896 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
4898 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4903 * configure.ac: bump version
4904 * debian/changelog: updates
4906 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4908 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4909 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
4910 * src/hildon-color-chooser-dialog.c:
4911 (hildon_color_chooser_dialog_init):
4912 * src/hildon-font-selection-dialog.c:
4913 (hildon_font_selection_dialog_init):
4914 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
4916 Remove all cancel/close-like dialogs, as these are not going to be
4919 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4921 * src/hildon-note.c: (hildon_note_rebuild),
4922 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
4925 Fixes: NB#90661 (Delete dialog is displayed without NO button)
4927 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4929 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
4930 sure all buttons are shown, even the Cancel/Close-like ones.
4932 Fixes: NB#90861 (Custom Confirmation dialogs should be
4933 protected from cancel button removal)
4935 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4937 * debian/control: Change libhildon1-examples dependency from libhildon1
4939 * debian/libhildon1-examples.install
4941 * Makefile.am: Modified the final install directory for the examples on
4942 package libhildon1-examples
4943 * Makefile.static: Update clean target in order to remove all the binary
4946 Changes suggested by Claudio after review new libhildon1-examples package
4948 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
4950 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
4951 * src/hildon-touch-selector.c: Ditto.
4953 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4955 * debian/control: Added new package libhildon1-examples, in order to pack
4956 the current hildon examples as documentation
4957 * debian/rules: Not to compress .c files, modify some includes on the
4958 examples (as normally are compiled locally, but when installed it will
4959 require to include the installed libhildon1 library), and rename
4961 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
4962 install all the example files on the new example package
4963 * examples/Makefile.static: Added static makefile that can be used to
4964 compile the examples, once installed the new example package
4965 * examples: Most of the examples were modified in order to grant that
4966 all use only '#include "hildon.h"', in order to be easy to prepare
4967 it on the example package
4969 2008-10-23 Alberto Garcia <agarcia@igalia.com>
4972 * debian/libhildon1-dev.install
4973 * debian/libhildon1-doc.install:
4974 Move all gtk-doc files to a separate libhildon1-doc package.
4976 2008-10-23 Daniel Borgmann <danielb@openismus.com>
4978 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4980 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
4982 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
4984 * debian/rules: Fixed a error in order to avoid unnecessary calls
4985 to autogen.sh on package building
4987 2008-10-22 Alberto Garcia <agarcia@igalia.com>
4989 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
4991 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4993 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
4996 2008-10-21 Alberto Garcia <agarcia@igalia.com>
4998 * src/hildon-picker-button.c
4999 (hildon_picker_button_finalize):
5000 Free priv->done_button_text
5002 * src/hildon-time-button.c
5003 (hildon_time_button_set_time)
5004 * src/hildon-picker-button.c
5005 (hildon_picker_button_clicked)
5006 (hildon_picker_button_selector_selection_changed)
5007 (hildon_picker_button_set_selector)
5008 * src/hildon-date-button.c
5009 (hildon_date_button_set_date):
5010 Free strings returned by hildon_touch_selector_get_current_text()
5012 * src/hildon-button.c (hildon_button_construct_child):
5013 Fix leaks in priv->image and priv->label_box
5015 Fixes: NB#90535 (Memory leak in picker button)
5017 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5019 * src/hildon-button.c: (hildon_button_get_property): Do not access
5020 private elements directly, use getters instead.
5022 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5024 * src/hildon-app-menu-private.h
5025 * src/hildon-app-menu.c
5026 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5027 Store the menu's parent window.
5029 * src/hildon-stackable-window.c
5030 (hildon_stackable_window_toggle_menu)
5031 (hildon_stackable_window_finalize):
5032 Set the menu's parent window when the menu is shown, unset it when
5035 * src/hildon-app-menu.c
5036 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5037 (hildon_app_menu_class_init):
5038 Send unhandled keyboard accelerators to the parent window.
5040 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5042 * src/hildon-stackable-window.c
5043 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5045 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5047 * configure.ac: post release version bump
5049 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5052 * configure.ac: Bump version
5053 * debian/changelog: Updates
5054 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5057 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5059 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5062 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5063 GtkMenu with Hildon style.
5065 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5067 * src/hildon-picker-button.c:
5068 (hildon_picker_button_set_done_button_text): Set the dialog's
5069 done button text here as well.
5071 Fixes: NB#90232 (Picker button does not set the label on done button
5072 for the second time)
5074 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5076 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5079 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5081 * src/hildon-app-menu.c (hildon_app_menu_insert)
5082 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5083 the HildonAppMenu to be activatable using keyboard accelerators
5084 when the menu is not being shown.
5086 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5088 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5090 * src/hildon-stackable-window.c
5091 (hildon_stackable_window_show):
5092 Don't hide old windows automatically when new windows are shown:
5093 this is now a task for the window manager.
5094 (hildon_stackable_window_class_init)
5095 (hildon_stackable_window_hide):
5096 Remove windows from the stack everytime they're hidden.
5097 (hildon_stackable_window_realize):
5098 Don't change the _NET_WM_WINDOW_TYPE property. Use
5099 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5100 it as a stackable window.
5102 * src/hildon-program.c
5103 (hildon_program_pop_window_stack):
5104 Just hide the window to remove it from the stack.
5105 (hildon_program_go_to_root_window):
5106 Don't call gtk_widget_show(), this is now a task for the window
5109 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5111 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5113 * src/hildon-button.c
5114 (hildon_button_construct_child):
5115 Don't pack anything in the button until text or image are
5116 set. This allows adding a custom child after creating the button
5117 with hildon_button_new().
5118 (hildon_button_finalize, hildon_button_class_init)
5119 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5120 alignment and the label box even when they're not packed in the
5123 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5125 * src/hildon-touch-selector.h:
5126 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5127 currently the type definition was using GTK_TYPE_VBOX
5128 * src/hildon-touch-selector.c:
5129 Added some implementation notes in order to clarify that any other widget
5130 added without the column related API will not be included on the
5131 selection logic, and how the widget is freed, as some people ask about
5133 (hildon_touch_selector_remove): Reimplemented in order to free properly
5134 the column related data when you remove the private hbox.
5135 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5136 to get a proper HildonTouchSelectorColumn documentation
5138 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5140 * src/hildon-touch-selector-entry.c:
5141 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5142 text in the GtkEntry and there is no item selected. Fixes a
5145 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5147 * src/hildon-app-menu-private.h
5148 * src/hildon-app-menu.[ch]
5149 * src/hildon-button.[ch]
5150 * src/hildon-check-button.[ch]
5151 * src/hildon-entry.[ch]
5152 * src/hildon-pannable-area.[ch]
5153 * src/hildon-text-view.[ch]:
5154 Added private field to the object's structure.
5156 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5158 * configure.ac: post-release version bump
5160 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5164 * configure.ac: pre-release version bump
5166 * debian/changelog: updates.
5168 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5170 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5171 Disconnect the handler for HildonTouchSelector::changed.
5173 (hildon_picker_button_selector_selection_changed): Update the button
5174 value if the selection change was not triggered by the
5177 (hildon_picker_button_set_selector): connect to
5178 HildonTouchSelector::changed.
5180 Fixes: NB#89650 (Picker button is not updated, when selection in
5181 selector has changed)
5183 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5185 * src/hildon-picker-dialog.c
5186 (hildon_picker_dialog_realize): Removed as not required
5187 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5188 * src/hildon-picker-button.c
5189 (_current_selector_empty): New function, checks if the selector is empty
5190 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5191 if the current selector is empty, in order to avoid to show the dialog
5192 close the dialog in this case (and shows a g_warning).
5194 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5196 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5198 * src/hildon-pannable-area.c,
5199 (hildon_pannable_area_scroll): Added clause to stop movement when
5200 the child of pannable is smaller than one page.
5201 (hildon_pannable_area_scroll_to): Added conditions to avoid
5202 starting the scrolling movement if the child is smaller than one
5203 page, the complete child is in the screen, we do not have to move.
5205 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5207 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5209 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5210 this is managed automatically by the widget when the size of the
5213 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5215 * src/hildon-picker-button.c
5216 (hildon_picker_button_set_done_button_text): Make a copy of the
5217 text, and free the previous value.
5219 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5221 * src/hildon-touch-selector-entry.c:
5222 (hildon_touch_selector_entry_print_func): Return the selected row's
5223 text if the entry is empty.
5225 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5228 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5230 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5232 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5235 * src/hildon-check-button.h
5236 * src/hildon-check-button.c
5237 * examples/hildon-check-button-example.c:
5238 HildonCheckButton is now a new widget. 'toggled' signal added.
5240 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5242 * src/hildon-program-private.h
5243 * src/hildon-program.c (hildon_program_init)
5244 (hildon_program_finalize): Removed unused variables group_leader
5245 and name from HildonProgramPrivate.
5247 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5249 * src/hildon-check-button.c (hildon_check_button_set_active)
5250 (hildon_check_button_get_active, hildon_check_button_new): Use
5251 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5253 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5255 * src/hildon-touch-selector.h
5256 (hildon_touch_selector_set_column_attributes): added deprecation
5257 guard HILDON_DISABLE_DEPRECATED
5258 * src/hildon-time-selector.c
5259 (hildon_time_selector_set_time)
5260 (hildon_time_selector_get_time): Fixed a typo on documentation
5261 * src/hildon-touch-selector.c: update HildonTouchSelector and
5262 HildonTouchSelectorColumn documentation
5263 * src/hildon-touch-selector-entry.c: update "text-column" property
5265 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5266 to be added to the general documentation.
5268 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5270 * examples/hildon-pannable-area-example-4.c,
5272 * examples/hildon-pannable-area-example.c,
5273 (main): Modified the code in order to use the container add, with
5274 viewport treeviews could have problems if they are really big.
5276 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5278 * src/hildon-weekday-picker.c,
5279 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5280 the agreement regarding deprecation in the library.
5282 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5284 * examples/hildon-picker-button-multicolumn-example.c:
5285 (main): Use custom "done" button text.
5287 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5288 (hildon_picker_button_set_property),
5289 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5290 (hildon_picker_button_init),
5291 (+hildon_picker_button_get_done_button_text),
5292 (+hildon_picker_button_set_done_button_text): New methods to customize
5293 the "done" button label in the launched HildonPickerDialog. Also,
5296 * src/hildon-picker-button.h: add the public API.
5298 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5300 * src/hildon-date-selector.h:
5301 * src/hildon-picker-dialog.h:
5302 * src/hildon-time-selector.h:
5303 * src/hildon-touch-selector-column.h:
5304 * src/hildon-touch-selector.h:
5306 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5307 declarations. Fixes gtk-doc warnings.
5309 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5311 * src/hildon-picker-dialog.h
5312 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5313 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5315 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5316 long text is set as label for done button)
5318 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5320 * src/hildon-dialog.c (hildon_dialog_add_button):
5321 Set fixed width to all buttons in the HildonDialog.
5323 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5325 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5327 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5328 Set widget name using class name plus "-finger" or "-thumb".
5330 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5332 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5333 'clicked' when the state of the button is manually changed.
5335 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5337 * src/hildon-app-menu.c (hildon_app_menu_realize)
5338 (hildon_app_menu_unrealize, hildon_app_menu_init)
5339 (hildon_app_menu_class_init, item_visibility_changed):
5340 Change the menu layout when the size of the screen changes.
5341 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5342 Show warning only when changing the number of colums using the
5345 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5347 * debian/compat: Set to 5
5348 * debian/control: Update dependencies.
5349 * debian/libhildon1-dbg.install: Remove.
5350 * debian/libhildon1-dev.install: Update according to cdbs paths.
5351 * debian/libhildon1.install: Update according to cdbs paths.
5352 * debian/rules: Switch to cdbs.
5354 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5356 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5357 'item' variable renamed to 'filter'
5359 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5361 * src/hildon-app-menu.c (hildon_app_menu_insert)
5362 (hildon_app_menu_add_filter, remove_item_from_list)
5363 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5364 Don't leak hidden items when the menu is destroyed.
5366 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5368 * src/hildon-app-menu.c (hildon_app_menu_insert)
5369 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5370 (hildon_app_menu_set_columns, item_visibility_changed)
5371 (filter_visibility_changed, hildon_app_menu_repack_filters)
5372 (hildon_app_menu_repack_items):
5373 Repack items and filters separately.
5375 Don't repack all items, change only the ones that are needed to
5378 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5380 * src/Makefile.am: added hildon-touch-selector-column.h
5382 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5384 * src/hildon-touch-selector.c: added the property "text-column" to the
5385 class HildonTouchSelectorColumn, and related get/set functions
5386 (_default_printf_func): updated to use "text-column" property
5387 * src/hildon-touch-selector-entry.c: mark as deprecated the property
5388 "text-column" in his documentation, as this is now included on
5389 HildonTouchSelectorColumn. The get/set_property can still be used,
5390 working as a wrapper to the concrete column "text-column" property
5391 (_text_column_modified): callback added in order to handle the signal
5392 "notify::text-column" of the concrete HildonTouchSelectorColumn
5393 (hildon_touch_selector_entry_get_text_column)
5394 (hildon_touch_selector_entry_set_text_column): Added documentation, and
5395 modified in order to use the HildonTouchSelectorColumn "text-column"
5397 * src/hildon-time-selector.c:
5398 * src/hildon-date-selector.c:
5399 * examples/hildon-touch-selector-example.c
5400 * examples/hildon-touch-selector-multi-cells-example.c
5401 * examples/hildon-picker-button-multicolumn-example.c
5402 Set the right value to "text-column" property on the creation of a new
5403 column using hildon_touch_selector_append_column()
5405 Fixes: NB#88644 (Hardcoded first column of the model as text column)
5407 2008-09-30 Alberto Garcia <agarcia@igalia.com>
5409 * src/hildon-app-menu.c
5410 (hildon_app_menu_construct_child, hildon_app_menu_init): When
5411 updating the layout of the menu, don't create all widgets again,
5412 just repack the items in their new places.
5414 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
5416 * src/hildon-time-selector.c
5417 (hildon_time_selector_get_time)
5418 (hildon_time_selector_set_time)
5419 Added documentation of these public methods
5421 * src/hildon-date-button.h
5422 * src/hildon-touch-selector-column.h
5423 * src/hildon-time-button.h
5424 * src/hildon-picker-dialog.h
5425 * src/hildon-time-selector.h
5426 * src/hildon-picker-button.h
5427 * src/hildon-touch-selector.h
5428 * src/hildon-time-picker.h
5429 * src/hildon-date-selector.h
5430 * src/hildon-touch-selector-entry.h
5431 Modified in order to use hildon-widgets code style
5433 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5435 Added deprecated support to the compilation process using
5436 HILDON_DISABLE_DEPRECATED
5438 * configure.ac: Added the --disable-deprecated to the configure
5441 * src/hildon-weekday-picker.c:
5442 * src/hildon-weekday-picker.h: Deprecated widget, example of how
5443 to use the deprecated support. We will update the other deprecated
5444 widgets status in a new patch.
5446 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5448 * configure.ac: Fixed typo with fatal warnings support, the
5449 variable name was not correct
5451 2008-09-29 Alberto Garcia <agarcia@igalia.com>
5453 * src/hildon-app-menu.c
5454 * src/hildon-program.c: Update documentation.
5456 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5458 * configure.ac: Post-release version bump.
5460 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5465 * configure.ac: Pre-release version bump.
5466 * debian/changelog: Updates.
5468 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5470 * NEWS: Update news for previous releases.
5472 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5474 * examples/hildon-touch-selector-multi-cells-example.c:
5475 (create_selector): Update the example to use
5476 hildon_touch_selector_append_column() with a NULL renderer and set
5477 the renderers later.
5478 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
5479 passed a NULL renderer. This is documented behavior now.
5481 Allow passing a NULL renderer to hildon_touch_selector_append_column().
5482 This must be used if the developer wants full control on the layout of
5483 the renderers to be added to the column.
5485 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5487 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5489 * src/hildon-touch-selector.c: Documentation fixes.
5491 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5493 * src/hildon-wizard-dialog-private.h: Remove image and box.
5494 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
5495 (hildon_wizard_dialog_set_property), (response): Completely remove
5496 image/icon support, and the containers required for the layout.
5498 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
5500 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5502 * src/hildon-app-menu.c: Updated documentation.
5504 * src/hildon-stackable-window.c
5505 (hildon_stackable_window_set_main_menu): Unref the old menu after
5506 ref'ing the new one.
5508 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5510 * src/hildon-stackable-window.c
5511 (hildon_stackable_window_set_main_menu): Unref the previous menu
5512 instead of destroying it.
5514 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
5515 floating reference and set has_user_ref_count to FALSE to make
5516 HildonAppMenu act like a normal ref-counted widget and not a
5519 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
5522 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
5524 * src/hildon-touch-selector-column.h: new file
5525 * src/hildon-touch-selector.h
5526 * src/hildon-touch-selector.c
5527 Implemented GtkCellLayout interface, in order to allow to configure
5528 the cell layout on each individual selector column
5529 (hildon_touch_selector_set_column_attributes): marked as deprecated
5530 * examples/hildon-touch-selector-multi-cells-example.c
5531 Example of how to use the GtkCellLayout interface on the selector
5533 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5535 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5537 * src/hildon-app-menu.h
5538 * src/hildon-app-menu.c
5539 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
5540 (hildon_app_menu_append, hildon_app_menu_prepend):
5541 New methods to prepend, insert and move items in the menu.
5543 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5545 * src/hildon-wizard-dialog.c:
5547 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
5549 (create_title): Update logical IDs and related code.
5550 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
5552 * src/hildon-wizard-dialog.h: Note that
5553 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
5554 point, as it is not used anymore.
5556 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
5558 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5560 * src/hildon-note.c:
5561 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
5562 shown. Do not display an icon in confirmation notes nor information
5564 (hildon_note_set_button_text): Update logical ID for cancel button.
5566 Fixes: NB#88850 (Update HildonNote button strings + signals)
5568 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5570 * src/hildon-stackable-window.c
5571 (hildon_stackable_window_set_main_menu): Fix compilation warning.
5573 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5575 * src/hildon-app-menu-private.h
5576 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
5577 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
5578 (hildon_app_menu_init, hildon_app_menu_class_init): Added
5579 temporary property 'columns' to change the number of columns.
5581 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5583 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
5585 * examples/hildon-note-example.c: (on_information_clicked),
5586 (on_confirmation_clicked), (on_progress_clicked), (main): Add
5587 debugging information.
5588 * src/hildon-note-private.h: Remove close_if_pressed_outside,
5590 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
5591 (hildon_note_rebuild): Remove special handling of tapping outside/inside
5592 in order to close: this will be handled by the WM from now on.
5594 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
5596 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5598 * src/hildon-app-menu-private.h
5599 * src/hildon-app-menu.c
5600 (hildon_app_menu_append, hildon_app_menu_add_filter)
5601 (button_visibility_changed, hildon_app_menu_apply_style)
5602 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
5603 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
5604 layout everytime a button (item or filter) is shown or hidden.
5606 * src/hildon-stackable-window.c
5607 (hildon_stackable_window_set_main_menu): Destroy the old menu when
5610 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
5612 * src/hildon-touch-selector.c:
5613 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
5614 that the treeview inside the touch selector is in fremantle hildon mode
5615 * examples/hildon-date-button-example.c
5616 * examples/hildon-picker-button-multicolumn-example.c
5617 * examples/hildon-touch-selector-entry-example.c
5618 * examples/hildon-touch-selector-example.c
5619 * examples/hildon-time-button-example.c
5620 * examples/hildon-picker-button-example.c:
5621 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
5623 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
5625 * examples/hildon-text-view-example.c: (main): Remove the
5626 gtkrc bits, now handled by the theme.
5628 2008-09-22 Alberto Garcia <agarcia@igalia.com>
5630 * src/hildon-picker-button.c (hildon_picker_button_set_active):
5633 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5635 * po/Makefile.am: Install properly the mo files.
5636 * po/en_GB.po: Update translation, to ease testing purposes.
5638 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5640 * examples/hildon-picker-button-example.c: (main): Select an item
5641 in the selector before setting it to the button.
5643 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5645 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
5646 Update button's value if the selector has an item active.
5648 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
5649 'value' with the selector)
5651 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5653 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
5654 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
5655 (hildon_picker_button_class_init): Plug the finalize method.
5656 (hildon_picker_button_set_selector): If there's a previously set
5657 selector, unref'it before setting a new one.
5659 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
5660 HildonTouchSelector)
5662 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
5664 * src/hildon-touch-selector-entry.c:
5665 (hildon_touch_selector_entry_changed): Check if there is no text
5666 selected before setting the entry text.
5669 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5671 * src/hildon-touch-selector.h
5672 * src/hildon-touch-selector.c
5673 (hildon_touch_selector_get_active)
5674 (hildon_touch_selector_set_active): New methods to set/get the
5675 index of the selected item.
5677 * src/hildon-picker-button.h
5678 * src/hildon-picker-button.c
5679 (hildon_picker_button_get_active)
5680 (hildon_picker_button_set_active): New methods to set/get the
5681 index of the selected item.
5683 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5685 * configure.ac: post-release version bump.
5687 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5691 * configure.ac: Pre-release version bump.
5692 * debian/changelog: Updates.
5693 * debian/control: Add myself as maintainer and depend on l10n
5696 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5698 * src/hildon-window.c
5699 (hildon_window_set_main_menu)
5700 * src/hildon-stackable-window.c
5701 (hildon_stackable_window_set_main_menu):
5702 Updated documentation.
5704 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5706 * src/hildon-date-selector.c (hildon_date_selector_finalize):
5707 Don't free selector->priv manually.
5710 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5713 (hildon_gtk_window_set_progress_indicator):
5714 * src/hildon-gtk.h: Added the new API
5715 hildon_gtk_window_set_progress_indicator, it changes the state of
5716 the window progress hint.
5718 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5720 * src/hildon-button.c
5721 * src/hildon-stackable-window.c: Minor documentation updates.
5723 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5725 * src/hildon-stackable-window.c: Updated documentation.
5727 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
5729 * src/hildon-defines.h: Update margins definitions
5730 to the Fremantle sizes.
5733 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5735 * src/hildon-touch-selector.c,
5736 (_hildon_touch_selector_set_model): Cleaning the code after
5737 review, removed g_print and #if 0 from the code.
5739 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5741 * src/hildon-edit-toolbar.c: Update documentation.
5743 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5745 * src/hildon-check-button.h
5746 * src/hildon-check-button.c
5747 (hildon_check_button_set_label, hildon_check_button_get_label)
5748 * examples/hildon-check-button-example.c
5749 (button_clicked_cb):
5750 Removed deprecated methods.
5752 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5754 * src/hildon-text-view.c:
5755 Add sample code to the documentation.
5757 * src/hildon-entry.h
5758 * src/hildon-text-view.h:
5759 Minor cosmetic changes.
5761 * src/hildon-entry.c:
5762 Add sample code to the documentation.
5763 (hildon_entry_init, hildon_entry_refresh_contents):
5764 Don't allow NULL values in the placeholder.
5766 2008-09-10 Alberto Garcia <agarcia@igalia.com>
5768 * doc/hildon-docs.sgml
5770 * examples/Makefile.am
5771 * examples/hildon-text-view-example.c
5773 * src/hildon-text-view.c
5774 * src/hildon-text-view.h
5776 New HildonTextView widget, with example.
5778 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5780 * po/POTFILES.in: Add missing files with translatable strings.
5781 Partially fixes NB#88287.
5783 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5785 * examples/hildon-pannable-area-example-2.c: (main): No need to
5786 set the cellrenderer height inside hildon touch lists, the theme does
5789 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5791 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
5792 they are integrated in the theme.
5794 2008-09-09 Alberto Garcia <agarcia@igalia.com>
5796 * examples/hildon-entry-example.c: Update the example adding
5797 widgets to modify the text and the placeholder of the HildonEntry.
5799 * src/hildon-entry.c: Show the placeholder everytime the widget
5800 is empty and loses the focus.
5802 2008-09-09 Alejandro G. Castro <alex@igalia.com>
5804 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
5806 * src/hildon-pannable-area.c,
5807 (hildon_pannable_area_size_request): Fixed bug in height
5808 requisition, avoid increasing size and add border twice.
5810 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5812 * configure.ac: postrelease version bump.
5814 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5818 * configure.ac: Prerelease version bump.
5819 * debian/changelog: update.
5820 * debian/rules: make -dbg package contain useful debugging symbols.
5822 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5824 * src/hildon-dialog.h
5825 * src/hildon-dialog.c
5826 (hildon_dialog_add_button, hildon_dialog_add_buttons):
5827 New methods to add buttons with finger size.
5828 (hildon_dialog_new_with_buttons):
5829 Create buttons with finger size.
5831 * examples/hildon-dialog-example.c (main): Use HildonDialog
5832 methods to add buttons.
5834 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5836 * src/hildon-entry.c: Updated HildonButton documentation.
5838 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5840 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
5841 button value label with (FALSE, FALSE) to prevent NB#88126 from
5844 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5846 * examples/hildon-pannable-area-example.c,
5847 (main): Removed examples panning a vbox inside a pannable
5848 area. Check bug NB#87965
5850 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5852 Patch contributed by Kris Rietveld (kris@imendio.com)
5854 * src/hildon-pannable-area.c,
5855 (hildon_pannable_area_get_topmost): replaced the get_geometry with
5856 get_size and get_position, this saves an X server roundtrip.
5858 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5860 * doc/hildon-docs.sgml
5862 * examples/Makefile.am
5863 * examples/hildon-entry-example.c
5865 * src/hildon-entry.c
5866 * src/hildon-entry.h
5868 New HildonEntry widget, with example.
5870 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5872 * src/hildon-button.c (hildon_button_construct_child): Pack the
5873 image with expand == fill == FALSE. This is a workaround for a bug
5876 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
5878 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
5879 labels for the text column, to make it more look more dynamic.
5881 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5883 * src/hildon-time-selector.c
5884 Define gettext auxiliar macro N_
5885 (_create_minutes_model)
5886 (_create_hours_model)
5887 (_create_ampm_model): use of strftime in order to fill the model
5888 * src/hildon-date-selector.c
5889 (hildon_date_selector_finalize):
5890 (_locales_init): remove the logic related to get the name of the months
5891 using nl_langinfo, as it is not required anymore
5893 (_create_year_model)
5894 (_create_month_model)
5895 (_update_day_model): use of strftime in order to fill the model properly
5898 2008-09-04 Alberto Garcia <agarcia@igalia.com>
5900 * src/hildon-button.h
5901 * src/hildon-button.c (hildon_button_get_image): New method to
5904 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
5906 * src/hildon-touch-selector.c:
5907 (hildon_touch_selector_remove_column): Remove from the correct parent
5908 and also remove the list element and free it.
5911 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5913 * src/hildon-time-selector.c
5914 (_create_hours_model): change the range on 12h ampm format in order to use
5915 a 12-11 range instead of previous 01-12 range
5916 (hildon_time_selector_set_time): change the way to select the current time
5917 on 12h ampm format, due the change on the range
5918 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
5921 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
5923 * src/hildon-touch-selector.c
5924 (hildon_date_touch_selector_get_selected): fix the selection mode check,
5925 in order to allow use this function on multiple row selection mode if
5926 the column is different that the first one
5929 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
5931 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
5932 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
5934 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5936 * src/hildon-date-selector.h: clean some comments, now on the .c
5937 * src/hildon-date-selector.c
5938 (hildon_date_selector_select_month): first implementation
5939 (hildon_date_selector_select_day): added documentation, reimplemented
5940 using hildon_date_selector_select_current_date to avoid repeat code
5943 2008-09-02 Alejandro G. Castro <alex@igalia.com>
5945 Reviewed interaction logic based on device experiences, refactored
5948 * src/hildon-pannable-area.c,
5949 (hildon_pannable_area_class_init): Updated default vmax speed.
5950 (hildon_pannable_area_calculate_velocity): Added this function, it
5951 avoids duplicate valocity calculation. Adjusted calculation to
5952 avoid problems with zero dist events.
5954 (hildon_pannable_area_motion_notify_cb): Now we use the
5955 calculate_velocity function.
5957 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5959 * src/hildon-date-selector.c
5960 (hildon_date_selector_select_current_date): fix the day range check
5961 as it failed using the last day of the current month
5964 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5966 * src/hildon-touch-selector.c
5967 (hildon_touch_selector_get_num_columns): added a parameter validation
5970 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5972 * examples/Makefile.am
5973 * examples/hildon-edit-toolbar-example.c: Example of the
5974 HildonEditToolbar widget.
5976 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5978 * configure.ac: postrelease version bump.
5980 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5984 * configure.ac: prerelease version bump.
5985 * debian/changelog: update.
5987 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5989 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
5990 renderer to display stock icons in the touch list. Also, set the sizes
5991 to the recommended in the style guide.
5993 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5994 * src/hildon-touch-selector.h
5995 (hildon_touch_selector_set_active_iter): renamed, now is
5996 hildon_touch_selector_select_iter
5997 (hildon_touch_selector_get_active_iter): renamed, now is
5998 hildon_touch_selector_get_selected
5999 (hildon_touch_selector_unselect_iter): added
6000 * src/hildon-touch-selector.c
6001 Update after API modification (methods renamed)
6002 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6003 order to avoid problems selecting multiple elements on the column
6004 (hildon_touch_selector_unselect_iter): added the implementation
6005 * src/hildon-time-selector.c
6006 * src/hildon-date-selector.c
6007 * src/hildon-touch-selector-entry.c
6008 Update methods calls after hildon-touch-selector.h API modification (methods
6011 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6013 * src/hildon-stackable-window.c
6014 (hildon_stackable_window_finalize): Call the parent class's finalize.
6016 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6018 * examples/hildon-touch-selector-example.c: (create_selector): Use
6019 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6022 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6024 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6025 set a cell background color, to respect theming.
6027 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6029 * doc/hildon-docs.sgml
6032 * src/hildon-edit-toolbar.c
6033 * src/hildon-edit-toolbar.h
6034 * src/hildon.h: New HildonEditToolbar widget.
6036 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6038 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6041 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6042 * src/hildon-touch-selector.c
6043 (_create_new_column): use g_object_set instead of two g_object_set_property
6045 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6046 * src/hildon-touch-selector.c
6047 (_create_new_column): use of hildon_gtk_tree_view_new to create
6048 the treeview, instead of use directly g_object_new
6049 (_create_new_column): update the property name "vindicator-mode" for the
6050 new one "vscrollbar-policy"
6051 * examples/hildon-date-button-example.c
6052 * examples/hildon-picker-button-multicolumn-example.c
6053 * examples/hildon-touch-selector-entry-example.c
6054 * examples/hildon-touch-selector-example.c
6055 * examples/hildon-time-button-example.c
6056 * examples/hildon-picker-button-example.c
6057 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6058 to all the treeviews inside a pannable area.
6060 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6062 * src/hildon-button.h
6063 * src/hildon-button.c (hildon_button_init)
6064 (hildon_button_set_arrangement, hildon_button_set_alignment)
6065 (hildon_button_set_title_alignment)
6066 (hildon_button_set_value_alignment)
6067 (hildon_button_set_image_alignment)
6068 (hildon_button_construct_child): New methods to set the alignment
6069 of the individual components of the button (title, value,
6070 image). Also, new method to alter the xscale and yscale properties
6071 of the GtkAlignment inside the button, so more complex layouts can
6074 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6076 * src/hildon-button.c (hildon_button_style_set)
6077 (hildon_button_class_init, hildon_button_set_arrangement)
6078 (hildon_button_construct_child): Apply style properties
6079 correctly. Use the 'image-spacing' style property too.
6081 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6083 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6084 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6087 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6089 * src/hildon-pannable-area.c,
6090 (hildon_pannable_area_size_request): Fixed problem with
6091 pannable-area size_request.
6093 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6095 Added management for the grab-focus to a child widget, like a
6096 range, we need to fade out the scrollbar when releasing.
6098 * src/hildon-pannable-area.c,
6099 (hildon_pannable_area_init): Connected the grab-focus signal to
6101 (hildon_pannable_area_grab_notify): Added this function in order
6102 to manage the situation when the grab-focus ends. We have to
6103 fade-out the scrollbar.
6105 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6107 * src/hildon-app-menu.c: Minor documentation update.
6109 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6111 * src/hildon-app-menu.c
6112 * examples/hildon-app-menu-example.c (create_menu): Update
6113 examples and documentation to explain how to connect callbacks.
6115 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6117 * examples/hildon-button-example.c
6118 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6119 hildon_stackable_window_new instead of gtk_window_new
6121 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6123 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6124 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6125 (hildon_pannable_area_set_property),
6126 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6127 (hildon_pannable_area_unrealize),
6128 (hildon_pannable_area_size_request),
6129 (hildon_pannable_area_size_allocate),
6130 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6131 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6132 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6133 (hildon_pannable_area_initial_effect),
6134 (hildon_pannable_area_redraw),
6135 (hildon_pannable_area_scroll_indicator_fade),
6136 (hildon_pannable_area_expose_event),
6137 (hildon_pannable_area_get_topmost), (synth_crossing),
6138 (hildon_pannable_area_button_press_cb),
6139 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6140 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6141 (hildon_pannable_area_motion_notify_cb),
6142 (hildon_pannable_area_button_release_cb),
6143 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6144 (hildon_pannable_area_remove),
6145 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6146 chage the code layout to a more GtkWidget like. Review the use of
6149 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6151 * examples/hildon-pannable-area-example-4.c,
6152 (main): Modified the name of the hindicator_mode to
6155 * src/hildon-pannable-area.c,
6156 (hildon_pannable_area_class_init),
6157 (hildon_pannable_area_motion_notify_cb),
6158 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6159 we have reduced the amount of signals and managed reviewed its
6160 rationale. Changed the default decelerate value.
6162 (hildon_pannable_area_add),
6163 (hildon_pannable_area_redraw): Refactored functions.
6165 (hildon_pannable_area_init),
6166 (hildon_pannable_area_get_property),
6167 (hildon_pannable_area_set_property):
6168 (hildon_pannable_draw_vscroll),
6169 (hildon_pannable_draw_hscroll),
6170 (hildon_pannable_area_initial_effect),
6171 (hildon_pannable_area_expose_event),
6172 (hildon_pannable_area_scroll),
6173 (hildon_pannable_area_button_press_cb),
6174 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6175 and vindicator_mode with hscrollbar_policy and
6176 vscrollbar_policy. Replaced hscroll and vscroll with
6177 hscroll_visible and vscroll_visible.
6179 (hildon_pannable_area_refresh): Refactor the function, remove
6180 variables and check the calls to this function, added resize
6181 conditions in case the children change their layout.
6183 (hildon_pannable_area_size_request): Added more detailed
6184 size_request calculation.
6187 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6189 * src/hildon-color-chooser.c
6190 (init_borders): use the correct gtk_border_free instead of g_free, to
6191 avoid a crash when this widget is used (ie: the three color selection
6194 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6196 * src/hildon-check-button.c,
6197 (hildon_check_button_set_active): Fixed problem when setting the
6198 active value, the widget was not redrawn.
6200 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6202 * src/hildon-pannable-area.c,
6203 (hildon_pannable_area_refresh),
6204 (hildon_pannable_area_scroll),
6205 (hildon_pannable_area_motion_notify_cb): Small code style change.
6207 (hildon_pannable_area_class_init): Default initial_hint set to
6208 FALSE, it is not in the specs.
6210 (hildon_pannable_area_initial_effect),
6211 (hildon_pannable_area_expose_event),
6212 (hildon_pannable_area_map),
6213 (hildon_pannable_area_init): Moved the launching point of the
6214 initial effect, it was in map but the sizes where not correct in
6215 that method so we do not know if we have the reproduce it. Now it
6216 is placed in the expose_event method and uses a variable to
6217 reproduce it just once.
6219 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6221 * src/hildon-pannable-area.c,
6222 (hildon_pannable_draw_vscroll),
6223 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6224 position allowed for the scrollbars.
6226 (hildon_pannable_area_size_allocate): Small style change.
6228 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6230 * src/hildon-pannable-area.c,
6231 (hildon_pannable_area_scroll_indicator_fade),
6232 (hildon_pannable_area_button_press_cb),
6233 (hildon_pannable_area_button_release_cb),
6234 (hildon_pannable_area_scroll_cb),
6235 (hildon_pannable_area_expose_event),
6236 (hildon_pannable_area_init): Added the define parameter
6237 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6238 and refactor the fade variable.
6240 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6242 * src/hildon-pannable-area.c,
6243 (hildon_pannable_area_redraw),
6244 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6245 lines, we were reimplemeting the redraw code.
6247 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6249 * src/hildon-pannable-area.c,
6250 (hildon_pannable_area_scroll_cb),
6251 (hildon_pannable_area_realize),
6252 (hildon_pannable_area_class_init): Added scroll_event management
6253 for pannable area, now we can scroll the usual desktop method.
6255 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6256 initialization of the parameters should depend on idle_id.
6258 (hildon_pannable_area_init),
6259 (hildon_pannable_area_map): Small code style modifications
6261 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6263 * src/hildon-pannable-area.c
6264 (hildon_pannable_area_button_press_cb),
6265 (hildon_pannable_area_motion_notify_cb),
6266 (hildon_pannable_area_button_release_cb),
6267 (hildon_pannable_area_size_allocate),
6268 (hildon_pannable_area_scroll_to): Improved the timeouts
6269 management, we avoid creating them each time.
6271 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6273 * src/hildon-pannable-area.c:
6274 (hildon_pannable_area_refresh),
6275 (hildon_pannable_area_motion_notify_cb),
6276 (hildon_pannable_area_class_init):
6277 * src/hildon-pannable-area.h:
6278 * src/hildon-touch-selector.c
6279 (_create_new_column):
6280 * examples/hildon-pannable-area-example-4.c:
6281 (horizontal_movement),
6282 (vertical_movement),
6284 Replaced the names of enums in the HildonPannableArea:
6285 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6286 HILDON_MOVEMENT_MODE_*
6287 - HILDON_PANNABLE_AREA_MOV_* ->
6289 - Removed HildonPannableAreaIndicatorMode, now we
6292 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6294 * examples/hildon-pannable-area-touch-grid-example.c
6295 * examples/hildon-pannable-area-touch-list-example.c: Fix
6296 compilation warnings.
6298 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6300 * src/hildon-gtk.c (hildon_gtk_button_new)
6301 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6302 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6303 images overriding the value of the "gtk-button-images" setting.
6305 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6307 * src/hildon-check-button.c (hildon_check_button_new):
6308 Instead of using a custom container, display the label and the
6309 checkbox using the standard GtkButton API.
6311 * examples/hildon-check-button-example.c (main): Don't use
6312 hildon_check_button_set_label() anymore
6314 * src/hildon-check-button.h
6315 * src/hildon-check-button.c
6316 (hildon_check_button_set_label, hildon_check_button_get_label):
6317 Set as deprecated, now we're using gtk_button_{get,set}_label()
6319 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6321 * src/hildon-pannable-area.c,
6322 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6323 GtkTreeview first line we detected it after the inclusion of the
6324 GtkWindowImpl in gtk+. We now check if the window is visible, not
6325 just if the pointer is over the window.
6326 (hildon_pannable_axis_scroll),
6327 (hildon_pannable_area_expose_event): Small style changes.
6329 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6331 * src/hildon-button.c: Update documentation.
6333 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6335 * examples/hildon-button-example.c: Add a switch to show images in
6338 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6340 * doc/hildon-docs.sgml: Some docs reorganization.
6342 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6344 * examples/hildon-pannable-area-touch-list-example.c
6346 * examples/hildon-pannable-area-touch-grid-example.c
6347 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6348 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6349 Fix memory leak when setting the tree model.
6351 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6355 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6357 * doc/hildon.types: Remove duplicated hildon_window_get_type
6358 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6359 documentation comment.
6361 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6363 * doc/Makefile.am: Complete list of private headers.
6365 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6367 * doc/hildon-docs.sgml
6368 * src/hildon-app-menu.c
6369 * src/hildon-bread-crumb.c
6370 * src/hildon-button.c
6372 * src/hildon-program.c
6373 * src/hildon-stackable-window.c
6374 * src/hildon-window.c: Lots of documentation updates.
6376 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6378 * debian/control: Depend on Gtk 2:2.12.9-0osso3
6380 * configure.ac: Require Gtk+ 2.12.9 at least
6382 2008-08-12 Alejandro G. Castro <alex@igalia.com>
6384 * src/hildon-pannable-area.c
6385 (hildon_pannable_area_scroll_indicator_fade),
6386 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6387 to protect the return of this timeout callbacks, avoiding deadlocks.
6389 2008-08-12 Christian Dywan <christian@imendio.com>
6392 * src/hildon-*.h: Ensure a consistent include order,
6393 include <gtk/gtk.h> instead of particular files and
6394 only include the topmost header in the gtk stack. See NB #39857
6396 2008-08-12 Christian Dywan <christian@imendio.com>
6398 * src/hildon-picker-dialog.c
6399 * src/hildon-touch-selector.c: Fix warnings about unused and
6400 uninitialized variables.
6402 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6404 * examples/Makefile.am
6405 * examples/hildon-check-button-example.c: Example of the hildon
6408 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6410 * src/hildon-window.h
6411 * src/hildon-window.c (hildon_window_class_init)
6412 (hildon_window_unset_program): Don't make
6413 hildon_window_unset_program a virtual function anymore.
6415 * src/hildon-stackable-window.c: Update documentation
6417 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6420 * doc/hildon-docs.sgml
6421 * doc/visual_index.xml
6422 * src/hildon-defines.c
6424 * src/hildon-helper.c
6425 * src/hildon-range-editor.c: Lots of documentation fixes.
6427 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6429 * examples/hildon-picker-button-multicolumn-example.c
6430 (create_touch_selector): Fix compilation warning.
6432 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6434 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
6435 (hildon_pannable_area_button_release_cb)
6436 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6438 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6440 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
6443 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6445 * src/hildon-bread-crumb-trail.h
6446 * src/hildon-date-editor.c
6447 * src/hildon-date-selector.c
6448 * src/hildon-pannable-area.c
6449 * src/hildon-picker-dialog.c
6450 * src/hildon-time-selector.c
6451 * src/hildon-touch-selector-entry.c
6452 * src/hildon-touch-selector.c
6453 * src/hildon-touch-selector.h: Misc documentation fixes
6455 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6457 * examples/hildon-date-editor-example.c (main): Updated date
6460 * examples/hildon-note-example.c (on_confirmation_clicked):
6461 Updated confirmation note example.
6463 * src/hildon-date-editor.c
6464 * src/hildon-note.c: Updated sample programs in documentation.
6467 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6469 * src/hildon-date-button.h:
6470 * src/hildon-picker-button.h:
6471 * src/hildon-time-button.c:
6472 * src/hildon-time-button.h:
6474 Some declarations changes to allow gtk-doc to document the widgets
6477 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6479 * src/hildon-date-button.c: Document the widget.
6480 * src/hildon-time-button.c: Document the widget.
6482 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6484 * src/hildon-picker-button.c: Document the widget.
6485 * src/hildon-touch-selector-entry.c: Document the widget.
6487 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6489 * doc/hildon-docs.sgml
6492 * src/hildon-check-button.h
6493 * src/hildon-check-button.c: New functions to create the Hildon
6497 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
6499 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6501 * src/hildon-button.h
6502 * src/hildon-button.c
6503 (hildon_button_add_title_size_group)
6504 (hildon_button_add_value_size_group)
6505 (hildon_button_add_image_size_group)
6506 (hildon_button_add_size_groups): New functions to set size groups
6507 for the button labels and image.
6508 (hildon_button_new_full): Removed
6510 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
6512 * src/hildon-time-selector.c
6513 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
6514 in order to avoid a crash if gconf is not available
6516 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6518 * src/hildon-button.c (hildon_button_set_arrangement)
6519 (hildon_button_construct_child): Don't construct the button child
6520 before setting the arrangement.
6522 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6524 * src/hildon-program-private.h
6525 * src/hildon-program.c
6526 * src/hildon-program.h
6527 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
6528 (hildon_program_peek_window_stack)
6529 (hildon_program_pop_window_stack)
6530 (hildon_program_go_to_root_window): HildonProgram now has a
6531 separate list for stackable windows. Functions are provided to
6532 manage that list with a stack-like API.
6534 * src/hildon-stackable-window.c: Stackable window management is
6535 now much simpler with the new HildonProgram API. Windows no
6536 longer need to be manually added to the program, they're
6537 automatically pushed to the top of the stack when shown.
6539 * examples/hildon-stackable-window-example.c: Updated example to
6540 reflect the API changes.
6542 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6544 * src/hildon-touch-selector.c: Comment out unimplemented
6545 hildon_touch_selector_insert_column() to avoid a compile warning.
6547 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6549 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6550 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
6551 (hildon_touch_selector_set_column_selection_mode),
6552 (_hildon_touch_selector_set_model),
6553 (hildon_touch_selector_set_model):
6555 Complete review of HildonTouchSelector documentation.
6557 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6559 * doc/hildon-docs.sgml
6563 * src/hildon-gtk.c: Convenience functions for standard Gtk
6564 widgets, used to easily perform frequent operations.
6566 * src/hildon-button-helpers.h
6567 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
6569 * src/hildon-helper.h
6570 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
6571 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
6573 * src/hildon-button.h
6574 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
6576 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6578 * src/hildon-button.c (hildon_button_init)
6579 (hildon_button_set_arrangement, hildon_button_construct_child):
6580 Pack the image and the labels inside the same GtkAlignment so
6581 gtk_button_set_alignment() can be used
6583 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6585 * src/hildon-button.h
6586 * src/hildon-button.c
6587 (hildon_button_init, hildon_button_set_image)
6588 (hildon_button_set_image_position)
6589 (hildon_button_construct_child): New functions to add an image to
6592 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6594 * src/hildon-date-button.c
6595 * src/hildon-picker-button.c
6596 * src/hildon-time-button.c
6597 * src/hildon-button.c:
6598 (hildon_button_class_init): "size-flags" renamed to "size"
6599 (hildon_button_set_title): Hide the title label if set to NULL.
6601 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6603 HildonButtonFlags split into HildonButtonArrangement (to set the
6604 button layout) and HildonSizeType (which can be used for any
6607 * src/hildon-button.h
6608 * src/hildon-button.c
6609 (hildon_button_class_init)
6610 (hildon_button_set_arrangement)
6611 (hildon_button_set_property): New "size-flags"
6612 property. "arrangement-flags" renamed to "arrangement".
6613 (hildon_button_new, hildon_button_new_with_text)
6614 (hildon_button_new_full): Constructors updated to reflect type changes.
6616 * src/hildon-helper.h
6617 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
6618 to set the size of a widget.
6622 * src/hildon-button-helpers.c
6623 * src/hildon-button-helpers.h: New hildon-button-helpers module.
6625 * src/hildon-date-button.c
6626 * src/hildon-date-button.h
6627 * src/hildon-picker-button.c
6628 * src/hildon-picker-button.h
6629 * src/hildon-time-button.c
6630 * src/hildon-time-button.h: Updated widgets to reflect
6631 HildonButton API changes.
6633 * examples/hildon-button-example.c
6634 * examples/hildon-date-button-example.c
6635 * examples/hildon-picker-button-example.c
6636 * examples/hildon-picker-button-multicolumn-example.c
6637 * examples/hildon-time-button-example.c
6638 * examples/hildon-touch-selector-entry-example.c
6639 * examples/hildon-touch-selector-example.c: Updated examples to
6640 reflect HildonButton API changes.
6642 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6644 * doc/hildon-docs.sgml:
6646 * examples/Makefile.am:
6647 * examples/hildon-touch-selector-entry-example.c:
6649 * src/hildon-touch-selector-entry.c:
6650 * src/hildon-touch-selector-entry.h:
6653 Moved HildonTouchSelectorEntry from sandbox. Added its
6654 documentation and examples.
6656 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6658 * src/hildon-touch-selector.h:
6659 * examples/hildon-picker-button-multicolumn-example.c:
6660 (hildon_touch_selector_append_text_column): Add a gboolean
6661 parameter to determine if text must be centered in the column.
6663 * src/hildon-date-selector.c: (hildon_date_selector_init):
6664 * src/hildon-time-selector.c: (hildon_time_selector_init):
6665 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
6666 (create_touch_selector): Update widgets and example to reflect
6669 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6671 * src/hildon-touch-selector.c:
6672 (hildon_touch_selector_set_active_iter): Set also the cursor in
6675 2008-08-06 Alberto Garcia <agarcia@igalia.com>
6677 * doc/hildon-docs.sgml
6680 * src/hildon-toggle-button.c
6681 * src/hildon-toggle-button.h
6682 * src/hildon.h: Removed HildonToggleButton widget, a derived
6683 class is not necessary for this.
6685 2008-08-06 Alejandro G. Castro <alex@igalia.com>
6687 * src/hildon-pannable-area.c,
6688 (hildon_pannable_area_realize),
6689 (hildon_pannable_area_size_allocate): Code refactoring, add tests
6692 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
6694 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
6695 "done" button the default widget for the dialog.
6697 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6699 * src/hildon-touch-selector.c:
6700 (hildon_touch_selector_class_init),
6701 (hildon_touch_selector_get_property),
6702 (_hildon_touch_selector_set_model),
6703 (_hildon_touch_selector_has_multiple_selection),
6704 (hildon_touch_selector_has_multiple_selection):
6705 Add a "has-multiple-selection" property with a virtual
6706 has_multiple_selection() method to allow derived classes to
6707 override the default value for it. See the method and property
6708 documentation for details.
6710 * src/hildon-touch-selector.h: Add the new API.
6712 * src/hildon-picker-dialog.c: (requires_done_button): Call
6713 hildon_touch_selector_has_multiple_selection() instead of
6714 determining the need for a button itself.
6716 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6718 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6719 (_hildon_touch_selector_set_model),
6720 (hildon_touch_selector_set_model): Move working code to
6721 _hildon_touch_selector_set_mode(). Call the class method instead.
6723 * src/hildon-touch-selector.h: Add (*set_model) to
6724 HildonTouchSelectorClass.
6726 Make hildon_touch_selector_set_model() a virtual method, so that
6727 derived classes can extend it and do fancy stuff with the model.
6729 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6731 * configure.ac: Set back the tarname in AC_INIT to hildon.
6733 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6737 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
6738 instead of libesd (NB#86876). Volume handling is still an open issue.
6740 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
6743 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6745 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
6746 (hildon_touch_selector_append_column): Make the widget a GtkVBox
6747 derived class to ease placement of an entry widget in
6748 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
6749 end, where the selector columns are packed now.
6751 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6753 * src/hildon-picker-button.c: Removed the simple _text() API.
6754 * src/hildon-picker-button.h: Likewise.
6756 * src/hildon-touch-selector.h:
6757 * src/hildon-touch-selector.c:
6758 (hildon_touch_selector_new_text),
6759 (hildon_touch_selector_append_text),
6760 (hildon_touch_selector_prepend_text),
6761 (hildon_touch_selector_insert_text):
6763 Moved the simple _text() API from HildonPickerButton to
6764 HildonTouchPicker, to provide better escalability and not to tie
6765 that API to HildonPickerButton.
6767 * examples/hildon-picker-button-example.c: (main): Example updated.
6769 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6771 * src/hildon-button.c: Updated documentation.
6773 * examples/hildon-button-example.c: Add the posibility to create
6774 the buttons using horizontal layout for title and value.
6776 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6778 * src/hildon-app-menu-private.h
6779 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
6780 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
6781 GtkSizeGroup for the filters, use the 'homogeneous' property of
6784 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6786 * examples/hildon-button-example.c: Updated example.
6788 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
6790 * doc/hildon-docs.sgml:
6793 Update documentation.
6795 * examples/Makefile.am: Update renamed examples.
6797 * examples/hildon-picker-button-multicolumn-example.c:
6798 (create_touch_selector), (main): Update after the rename.
6800 * examples/hildon-touch-picker-example.c: Removed.
6801 * examples/hildon-touch-selector-example.c: (value_changed),
6802 (create_selector), (get_visible_content), (main): Renamed from
6803 hildon-touch-picker-example.c
6805 * src/Makefile.am: Updated renamed files.
6807 * src/hildon-date-button.c: (hildon_date_button_init),
6808 (hildon_date_button_get_date), (hildon_date_button_set_date):
6809 * src/hildon-date-selector.c: (hildon_date_selector_init),
6810 (_custom_print_func), (_update_day_model),
6811 (_manage_selector_change_cb),
6812 (hildon_date_selector_select_current_date),
6813 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
6814 * src/hildon-date-selector.h:
6815 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6816 (hildon_picker_button_set_property),
6817 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6818 (hildon_picker_button_init), (hildon_picker_button_new_text),
6819 (hildon_picker_button_append_text),
6820 (hildon_picker_button_prepend_text),
6821 (hildon_picker_button_insert_text),
6822 (hildon_picker_button_set_selector),
6823 (hildon_picker_button_get_selector):
6824 * src/hildon-picker-button.h:
6825 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
6826 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
6827 (_update_title_on_selector_changed_cb), (requires_done_button),
6828 (_hildon_picker_dialog_set_selector),
6829 (hildon_picker_dialog_set_selector),
6830 (hildon_picker_dialog_get_selector):
6831 * src/hildon-picker-dialog.h:
6832 * src/hildon-time-button.c: (hildon_time_button_init),
6833 (hildon_time_button_get_time), (hildon_time_button_set_time):
6834 * src/hildon-time-selector.c: (hildon_time_selector_init),
6835 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
6836 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
6837 * src/hildon-time-selector.h:
6840 Massive code updates after the rename.
6842 * src/hildon-touch-picker.c: Removed.
6843 * src/hildon-touch-picker.h: Removed.
6845 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6846 (hildon_touch_selector_init), (hildon_touch_selector_map),
6847 (hildon_touch_selector_remove), (_default_print_func),
6848 (_selection_changed_cb), (_create_new_column),
6849 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
6850 (hildon_touch_selector_append_text_column),
6851 (hildon_touch_selector_remove_column),
6852 (hildon_touch_selector_set_column_attributes),
6853 (hildon_touch_selector_insert_column),
6854 (hildon_touch_selector_get_num_columns),
6855 (hildon_touch_selector_get_column_selection_mode),
6856 (hildon_touch_selector_set_column_selection_mode),
6857 (hildon_touch_selector_set_print_func),
6858 (hildon_touch_selector_get_print_func),
6859 (hildon_touch_selector_get_active_iter),
6860 (hildon_touch_selector_set_active_iter),
6861 (hildon_touch_selector_get_selected_rows),
6862 (hildon_touch_selector_get_model),
6863 (hildon_touch_selector_set_model),
6864 (hildon_touch_selector_get_current_text),
6865 (_hildon_touch_selector_center_on_selected_items):
6866 * src/hildon-touch-selector.h: Renamed from
6867 hildon-touch-picker.[ch]
6869 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
6870 references, code examples, and related documentation.
6872 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6874 * doc/hildon-docs.sgml
6877 * src/hildon-toggle-button.c
6878 * src/hildon-toggle-button.h
6879 * src/hildon.h: New HildonToggleButton widget.
6881 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6883 * src/hildon-button.c: Add API documentation.
6884 (hildon_button_set_size_groups): Check input parameters
6886 2008-07-30 Alejandro G. Castro <alex@igalia.com>
6888 * src/hildon-pannable-area.c
6889 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
6890 effect after reaching the movement thredshold. This way we start
6891 using the distance after passing the thredshold.
6893 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6895 * src/hildon-button.c: (hildon_button_set_property): Use the
6896 appropriate g_value_get_flags() method.
6898 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6900 * doc/hildon-docs.sgml:
6903 Add the touch pickers, picker dialogs, and picker button widgets
6904 to the documentation.
6906 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6908 * src/hildon-button.c: (hildon_button_set_property),
6909 (hildon_button_class_init): Make "arrangement-flags" a proper
6910 G_TYPE_FLAGS derived property.
6912 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6914 * examples/Makefile.am: Add below examples.
6915 * examples/hildon-date-button-example.c:
6916 * examples/hildon-picker-button-example.c:
6917 * examples/hildon-picker-button-multicolumn-example.c:
6918 * examples/hildon-time-button-example.c:
6919 * examples/hildon-touch-picker-example.c:
6921 Add examples for the recently added touch pickers,
6922 picker dialogs, and picker button widgets.
6924 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6926 * src/hildon-button.c: Add some API documentation
6928 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6930 * src/hildon-button.h
6931 * src/hildon-button.c
6933 (hildon_button_new_with_text): New constructor to create a button
6934 with no text at all.
6935 (hildon_button_init, hildon_button_set_arrangement)
6936 (hildon_button_set_title, hildon_button_set_value)
6937 (hildon_button_set_text)
6938 (hildon_button_construct_child): Hide the value when it's not used
6939 so the rest of the text is properly aligned.
6940 Allow creating buttons with arbitrary widgets inside (not just
6941 title/value labels).
6943 * examples/hildon-button-example.c (vertical_buttons_window)
6944 (horizontal_buttons_window): Update example to use new API.
6946 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6948 * src/Makefile.am: Added HildonTimeButton.
6949 * src/hildon-time-button.c: Added missing LGPL header.
6950 * src/hildon-time-button.h: Added missing LGPL header.
6951 * src/hildon.h: Add hildon-time-button.h
6953 Copied HildonTimeButton from sandbox to trunk. Future work on this
6954 widget must take place in trunk.
6956 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6958 * src/Makefile.am: Added HildonDateButton.
6959 * src/hildon-date-button.c: Update includes.
6960 * src/hildon.h: Add hildon-date-button.h
6962 Copied HildonDateButton from sandbox to trunk. Future work on this
6963 widget must take place in trunk.
6965 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6967 * src/Makefile.am: Added HildonPickerButton.
6968 * src/hildon-picker-button.h: Update includes.
6969 * src/hildon.h: Add hildon-picker-button.h
6971 Copied HildonPickerButton from sandbox to trunk. Future work on
6972 this widget must take place in trunk.
6974 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6976 * src/Makefile.am: Added HildonPickerDialog.
6977 * src/hildon-picker-dialog.c: Update includes.
6978 * src/hildon.h: Add hildon-picker-dialog.h
6980 Copied HildonPickerDialog from sandbox to trunk. Future work
6981 on this widget must take place in trunk.
6983 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6985 * src/Makefile.am: Added HildonTimeSelector.
6986 * src/hildon.h: Add hildon-time-selector.h
6988 Copied HildonTimeSelector widget from sandbox to trunk. Future
6989 work on this widget must happen in trunk.
6991 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6993 * src/Makefile.am: Added HildonDateSelector.
6994 * src/hildon.h: Add hildon-date-selector.h
6996 Copied HildonDateSelector widget from sandbox to trunk. Future
6997 work on this widget must happen in trunk.
6999 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7001 * src/Makefile.am: Added HildonTouchPicker.
7002 * src/hildon-touch-picker.c: Update includes.
7003 * src/hildon.h: Add hildon-touch-picker.h
7005 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7006 on this widget must happen in trunk.
7008 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7010 * src/hildon-pannable-area.c:
7011 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7013 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7015 * examples/hildon-app-menu-example.c (main): Let the window
7018 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7020 * src/hildon-pannable-area.c
7021 (hildon_pannable_area_class_init): Set the min value of the
7022 overshoot properties to zero, which points out that not
7023 overshooting allowed.
7025 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7027 Modified the procedure to get the widget at a point inside the
7028 pannable area when using the movement type signals. Now the user
7029 has to call a function to get the child, that way we just
7030 calculate the child in case the user really want to use it and not
7033 * src/hildon-marshalers.list: Modified the marshallers, now we do
7034 not have the widget as a parameter.
7036 * src/hildon-pannable-area.c
7037 (hildon_pannable_area_motion_notify_cb),
7038 (hildon_pannable_area_class_init),
7039 (hildon_pannable_get_child_widget_at): Removed the widget
7040 parameter from the signal callback. We have also refactored the
7041 emission of the signals.
7043 * src/hildon-pannable-area.h: Added a new method to the API to
7044 calculate a widget at a point inside the pannable area,
7045 hildon_pannable_get_child_widget_at.
7047 * examples/hildon-pannable-area-example-4.c
7048 (horizontal_movement): Modified the example to use the new API,
7049 added condition to control which widget is under the event. This
7050 way we can avoid scrolling laterally over other widgets.
7052 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7054 * src/hildon-pannable-area.c
7055 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7056 modes, we stop getting the pointer events due to returning the
7057 callback without properly calling the get pointer again. Fixed
7058 also an error using the hscroll and vscroll.
7060 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7062 * src/hildon-app-menu-private.h
7063 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7064 (hildon_app_menu_button_release, hildon_app_menu_init)
7065 (hildon_app_menu_class_init): Don't hide the menu on button
7066 release if the user didn't press outside first.
7068 * src/hildon-window.h
7069 * src/hildon-window.c (hildon_window_toggle_menu)
7070 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7071 hildon_window_toggle_menu a virtual function for the stackable
7072 window to override it.
7074 * src/hildon-stackable-window.h
7075 * src/hildon-stackable-window-private.h
7076 * src/hildon-stackable-window.c
7077 (hildon_stackable_window_realize)
7078 (hildon_stackable_window_finalize)
7079 (hildon_stackable_window_class_init)
7080 (hildon_stackable_window_init)
7081 (hildon_stackable_window_set_main_menu): New function to set the
7082 app menu of a HildonStackableWindow.
7084 * examples/hildon-app-menu-example.c: Remove the button to show
7085 the app menu, now it'll be shown when clicking on the title bar
7088 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7090 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7091 set the widget name if the arrangement flags do not specify
7094 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7096 * src/hildon-button.c: (hildon_button_set_property),
7097 (hildon_button_class_init), (hildon_button_new_full),
7098 (hildon_button_set_arrangement): Added "arrangement-flags"
7101 Make the HildonButtonFlags a construction-only property, to allow
7102 subclasses to set them properly.
7104 2008-07-21 Tim Janik <timj@imendio.com>
7106 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7107 insertion position after backspace, so additional digits are appended,
7110 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7112 * src/hildon-pannable-area.c,
7113 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7114 TODO list, it was complete and removed the g_debug and g_print
7117 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7119 Added the movement modes to the hildon-pannable-area, with this
7120 modes the developers can control in which directions the widget
7121 can scroll. They can also connect to signals in order to do
7122 something when that happens, allowing applications scroll. There
7123 is an example uploaded showing how to use it.
7125 * examples/Makefile.am:
7126 * examples/hildon-pannable-area-example-4.c: Added this example of
7127 an application using the modes.
7129 * src/hildon-marshalers.list: Added a new marshaller for the new
7132 * src/hildon-pannable-area.h: Added new enumerations and flags in
7133 order to control the movement modes and the new signals to warn
7134 about the movements in the area.
7136 * src/hildon-pannable-area.c:
7137 (hildon_pannable_axis_scroll),
7138 (hildon_pannable_area_scroll),
7139 (hildon_pannable_area_motion_notify_cb),
7140 (hildon_pannable_area_get_property),
7141 (hildon_pannable_area_set_property),
7142 (hildon_pannable_area_map),
7143 (hildon_pannable_area_class_init),
7144 (hildon_pannable_area_init),
7145 (hildon_pannable_area_jump_to): Added the modes to control the
7146 movement in the widget. We have added properties to control it,
7147 signals to warn about the movements and refactored some code.
7149 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7151 Changes required in order to allow vfast_factor set to zero to
7154 * src/hildon-pannable-area.c:
7155 (hildon_pannable_area_button_press_cb): Changed the condition, it
7156 is required for not allowing click when vfast_factor is zero.
7157 (hildon_pannable_area_timeout): Initialized velocity variables
7158 when we stop moving, it was less than 1 but not zero and we need
7159 to check zero in some situations.
7160 (hildon_pannable_area_class_init): Changed the default value of
7161 the speed factor, now the button_press is just sent in case the
7162 speed is 2 per cent of the max speed.
7163 (hildon_pannable_area_init): Initialization with 0.
7165 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7167 * src/hildon-pannable-area.c,
7168 (hildon_pannable_area_get_topmost): replaced
7169 gdk_window_get_children with gdk_window_peek_children, this way we
7170 do not have to free the list because it is not a copy.
7172 (hildon_pannable_axis_scroll),
7173 (hildon_pannable_area_scroll),
7174 (hildon_pannable_area_timeout),
7175 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7176 two parameters that were only used inside the
7177 hildon_pannable_area_scroll function.
7179 * examples/hildon-pannable-area-example.c,
7180 (get_sawtooth_label): Fixed small memory leak.
7182 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7184 More checks for the case where the overshoot is bigger than the
7187 * src/hildon-pannable-area.c:
7188 (hildon_pannable_draw_vscroll),
7189 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7190 to draw the slider of the scrollbar under the other scrollbar.
7191 (hildon_pannable_area_expose_event): added new checks to control
7192 the drawing of the overshooting area rectangle, in case it is too
7193 big for the area of the widget.
7194 (hildon_pannable_area_size_allocate): add more checks to avoid
7195 setting a position to the child widget outside the area.
7197 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7199 * src/hildon-pannable-area.c
7200 (hildon_pannable_area_size_allocate): Added conditions to control
7201 when overshooting is bigger than the allocated space for the
7202 children, this avoids negative allocations.
7204 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7206 * doc/hildon-docs.sgml
7208 * examples/Makefile.am
7209 * examples/hildon-button-example.c
7211 * src/hildon-button.c
7212 * src/hildon-button.h
7213 * src/hildon.h: Initial version of the new HildonButton widget,
7216 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7218 * src/hildon-pannable-area.c:
7219 (hildon_pannable_area_button_press_cb),
7220 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7221 (hildon_pannable_area_motion_notify_cb),
7222 (hildon_pannable_area_button_release_cb),
7223 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7224 (hildon_pannable_area_jump_to_child):
7226 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7228 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7230 * examples/Makefile.am
7231 * examples/hildon-pannable-area-touch-grid-example.c
7232 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7233 the Hildon Touch List and Hildon Touch Grid using the
7234 HildonPannableArea widget.
7236 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7238 * src/hildon-pannable-area.c,
7239 (hildon_pannable_area_button_press_cb),
7240 (hildon_pannable_area_refresh),
7241 (hildon_pannable_area_scroll),
7242 (hildon_pannable_area_motion_notify_cb),
7243 (hildon_pannable_area_button_release_cb),
7244 (hildon_pannable_area_expose_event),
7245 (hildon_pannable_area_add),
7246 (hildon_pannable_area_remove),
7247 (hildon_pannable_area_realize),
7248 (hildon_pannable_area_size_allocate),
7249 (hildon_pannable_area_class_init),
7250 (hildon_pannable_area_init),
7251 (hildon_pannable_area_scroll_to_child),
7252 (hildon_pannable_area_jump_to_child): Fixed the problem of
7253 removing the child from the GtkBin, we have rearranged the widget
7254 hierarchy, now there is no GtkAlignment which was not doing
7255 anything interesting but breaking some of the assumptions of
7256 GtkContainer. Now developers if they want to add a GtkAlignment
7257 they could, but it is not inside the area.
7259 We had to review the whole allocation/expose process, now it is
7260 improved and we save at least three signals which would be saving
7261 some time when rendering the widget. The allocation of the
7262 scrollbars is now made in the allocate method as usual.
7264 We have also added some conditions in order to control when there
7265 is no child of the pannable area. Maybe we will need more work
7268 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7270 * src/hildon-pannable-area.c,
7271 (hildon_pannable_area_dispose): Released the fade-out timeout when
7272 disposing the widget.
7274 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7276 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7277 zero, we are going to use that property in order to deactivate the
7279 (hildon_pannable_axis_scroll),
7280 (hildon_pannable_area_size_allocate): Added conditions to control
7281 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7282 call, now it is called in all situations and we can remove calls
7283 in the allocate method.
7284 (hildon_pannable_area_map): Control the situation when
7285 overshoot_max is zero, we do not need the timeout.
7286 (hildon_pannable_area_class_init): Added documentation in order to
7287 point out that setting zero to overshoot_max means deactivate
7290 NOTE: removed trailing whitespaces from my previous comments of
7293 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7295 * src/hildon-pannable-area.c
7296 (hildon_pannable_area_get_property),
7297 (hildon_pannable_area_set_property),
7298 (hildon_pannable_area_map),
7299 (hildon_pannable_area_class_init),
7300 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7301 to cause the widget give a hint about its panning abilities upon
7304 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7306 * src/hildon-pannable-area.c: Several documentation improvements.
7308 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7310 * src/hildon-program.c
7311 * src/hildon-stackable-window.c: Update documentation.
7313 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7315 * src/hildon-stackable-window.c (get_previous_window_if_last):
7316 Renamed get_last_window()
7317 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7318 (hildon_stackable_window_unset_program):
7320 (get_previous_window_if_last):
7321 Detect if the window hasn't been added to a HildonProgram.
7323 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7325 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7327 * src/hildon-pannable-area.c
7328 (hildon_pannable_area_button_press_cb),
7329 (hildon_pannable_axis_scroll),
7330 (hildon_pannable_area_scroll),
7331 (hildon_pannable_area_timeout),
7332 (hildon_pannable_calculate_vel_factor),
7333 (hildon_pannable_area_get_property),
7334 (hildon_pannable_area_set_property),
7335 (hildon_pannable_area_class_init),
7336 (hildon_pannable_area_init),
7337 (hildon_pannable_area_scroll_to),
7338 (hildon_pannable_area_jump_to),
7339 (hildon_pannable_area_scroll_to_child),
7340 (hildon_pannable_area_jump_to_child):
7341 * src/hildon-pannable-area.h: Added the new API functions:
7342 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7343 hildon_pannable_area_scroll_to_child,
7344 hildon_pannable_area_jump_to_child
7347 * examples/Makefile.am
7348 * examples/hildon-pannable-area-example-2.c
7349 * examples/hildon-pannable-area-example-3.c: Added these two new
7350 examples in order to test and show how the new APIs work.
7352 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7354 * examples/hildon-stackable-window-example.c (new_window):
7355 * src/Makefile.am (noinst_HEADERS):
7356 * src/hildon-program.c (hildon_program_go_to_root_window):
7357 * src/hildon-program.h:
7358 * src/hildon-stackable-window-private.h:
7359 * src/hildon-stackable-window.c:
7360 * src/hildon-stackable-window.h:
7361 Create hildon-stackable-window-private.h
7362 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7364 * examples/hildon-app-menu-example.c (create_menu):
7365 * examples/hildon-hvolumebar-insensitive-example.c (main):
7366 * examples/hildon-hvolumebar-timer-example.c (on_idle):
7367 * examples/hildon-toolbar-seekbar-example.c (main):
7368 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7369 * src/hildon-banner.c (hildon_banner_set_property):
7370 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7371 Fix compilation warnings
7373 * src/hildon-window.c:
7376 2008-06-24 Alberto Garcia <agarcia@igalia.com>
7378 * src/hildon-stackable-window.c
7379 (hildon_stackable_window_unset_program):
7380 Calculate correctly whether to show the previous window if the
7381 last one is removed from the stack.
7382 (hildon_stackable_window_go_to_root_window):
7383 Send delete events starting from the topmost window.
7384 Stop if one of the windows is not destroyed.
7386 (hildon_stackable_window_delete_event)
7387 (hildon_stackable_window_class_init):
7388 Ignore the delete event if the window is not the topmost one.
7390 2008-06-24 Alejandro G. Castro <alex@igalia.com>
7392 * src/hildon-pannable-area.c
7393 (hildon_pannable_area_expose_event): Fixed a problem when
7394 selecting the background color of the scrollbars.
7396 2008-06-23 Alberto Garcia <agarcia@igalia.com>
7398 * examples/hildon-stackable-window-example.c
7399 * src/hildon-stackable-window.c
7400 * src/hildon-stackable-window.h
7401 hildon_stackable_window_go_home() renamed to
7402 hildon_stackable_window_go_to_root_window()
7403 Send delete events to windows rather than closing them with
7404 gtk_widget_destroy()
7406 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7408 * src/hildon-pannable-area.c
7409 (hildon_pannable_area_button_release_cb): Fix overshooting in
7412 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7414 * src/hildon-pannable-area.c
7415 (hildon_pannable_area_init): Initially show the scroll indicators.
7416 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7418 Add initial effect showing the widget is pannable.
7420 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7422 * src/hildon-pannable-area.c
7423 (hildon_pannable_area_class_init)
7424 (hildon_pannable_area_set_property)
7425 (hildon_pannable_area_get_property)
7426 (hildon_pannable_area_button_press_cb):
7427 New 'velocity_fast_factor' property to decide which velocity is
7430 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7432 * src/hildon-pannable-area.c
7433 (hildon_pannable_draw_hscroll)
7434 (hildon_pannable_draw_vscroll):
7435 Use float variables to calculate the size of the scrollbars to
7436 avoid error propagation and resizing during scrolling.
7438 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7440 * src/hildon-pannable-area.c
7441 (hildon_pannable_draw_vscroll)
7442 (hildon_pannable_draw_hscroll):
7443 Define a minimum size for the scroll bars
7445 * src/hildon-stackable-window.c
7446 (hildon_stackable_window_go_home): Fix compilation warning
7447 (get_last_window): Minor optimizations
7448 (hildon_stackable_window_class_init): Fix initialization of
7451 2008-06-18 Alberto Garcia <agarcia@igalia.com>
7453 * src/hildon-stackable-window.c: Fixed typos in doc
7455 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
7457 * src/hildon-pannable-area.c
7458 (hildon_pannable_area_scroll):
7459 Calculate here whether we need to scroll instead of using the booleans
7460 that tell us whether to /draw/ the scrolling bars.
7462 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
7464 * src/hildon-app-menu.h
7466 * src/hildon-app-menu.c
7467 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
7468 multiple filter groups related code and API. Now we support only
7470 * examples/hildon-app-menu-example.c:
7472 Update to reflect API changes.
7474 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
7476 * src/hildon-stackable-window.c
7477 (hildon_stackable_window_class_init):
7478 Add hildon_stackable_window_realize.
7479 (hildon_stackable_window_realize):
7480 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
7481 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
7482 to apply theming and behavior specific to HildonStackableWindow
7485 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7487 * src/hildon-note.c (hildon_note_button_release):
7488 Close information notes also when tapping on them
7490 2008-06-12 Alejandro G. Castro <alex@igalia.com>
7492 Added BOUNCE_STEPS define to control the overshoot effect. Removed
7493 ELASTICITY, refactor and review, fix some issues with drawing
7496 * src/hildon-pannable-area.c:
7497 (hildon_pannable_area_button_press_cb): removed the conditions to
7498 avoid clicks when overshooting. It is not required
7500 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
7501 define. Refatored and reviewed the code, now we do not need to
7502 manage velocity in motion_notify.
7504 (hildon_pannable_area_motion_notify_cb): We have moved the code
7505 that controls the area_scroll to the axis_scroll function and get
7506 rid of duplicated code.
7508 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
7510 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
7512 (hildon_pannable_draw_vscroll),
7513 (hildon_pannable_draw_hscroll): Fixed the problems with the
7514 scrollbar drawing, now we do not use two surfaces, it is easier
7515 and saves resources.
7517 (hildon_pannable_area_get_property): Style modification.
7519 (hildon_pannable_area_class_init): Changed some default values.
7521 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
7523 * src/hildon-stackable-window.c: Fix some typos in the
7526 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7528 * src/hildon-dialog.c:
7529 Change indentation style
7532 (hildon_note_button_release):
7533 Use root coordinates to check if the release event happened
7536 * src/hildon-app-menu.c
7537 (hildon_app_menu_button_release):
7538 Remove unnecessary check
7540 * examples/hildon-app-menu-example.c
7542 Add cast to fix warning
7544 * src/hildon-app-menu.c
7545 (hildon_app_menu_class_init):
7546 New inner-border style property.
7547 Set all default spacings to 16
7548 (hildon_app_menu_init):
7549 Use vertical-spacing to set the space between filter buttons and
7550 regular menu buttons.
7551 Set the default container border using the inner-border value.
7553 * examples/hildon-app-menu-example.c
7555 Don't set the menu border explicitly, now we have the inner-border
7556 style property for that.
7558 2008-06-11 Alberto Garcia <agarcia@igalia.com>
7560 * src/hildon-app-menu.c (hildon_app_menu_init):
7561 Make the window modal
7563 * src/hildon-note.c (hildon_note_map)
7564 * src/hildon-app-menu.c (hildon_app_menu_map):
7565 Destroy the grab window if we're unable to grab the pointer
7567 * src/hildon-app-menu-private.h
7568 * src/hildon-app-menu.c
7569 (hildon_app_menu_init, hildon_app_menu_finalize)
7570 (hildon_app_menu_map, hildon_app_menu_unmap)
7571 (hildon_app_menu_button_release)
7572 (grab_transfer_window_get):
7573 Bring back the grab window
7574 (hildon_app_menu_realize):
7575 Decorate the window, set WM hint for Matchbox
7577 * src/hildon-note.c (hildon_note_realize):
7578 * src/hildon-banner.c (hildon_banner_realize):
7579 Add WM hints for Matchbox
7581 2008-06-10 Alberto Garcia <agarcia@igalia.com>
7583 * src/hildon-app-menu-private.h
7584 * src/hildon-app-menu.c
7585 (hildon_app_menu_init, hildon_app_menu_finalize)
7586 (hildon_app_menu_map, hildon_app_menu_unmap)
7587 (hildon_app_menu_button_release):
7588 Remove the grab window, it's not needed anymore
7590 * src/hildon-program.c
7591 Fixed typo in documentation
7593 * src/hildon-app-menu.h
7594 * src/hildon-app-menu.c
7595 * examples/hildon-app-menu-example.c
7596 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
7598 2008-06-09 Alberto Garcia <agarcia@igalia.com>
7601 Added new transfer_window and close_if_pressed_outside private
7603 (hildon_note_rebuild):
7604 Don't add a cancel button to the information note. It will be
7605 closed when tapping outside
7606 Remove the comment about the OK button in the documentation
7607 (hildon_note_realize):
7608 Set the notification type hint
7609 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
7610 Grab/ungrab pointer and keyboard if the note has to be closed when
7612 (hildon_note_button_release):
7613 Close the note when tapping outside (if applicable)
7615 * src/hildon-app-menu.c
7616 Grab/ungrab pointer and keyboard on map/unmap
7617 (hildon_app_menu_button_release, hildon_app_menu_class_init):
7618 Close the menu on button release, not button press
7620 * src/hildon-banner.c
7621 (hildon_banner_set_property)
7622 (hildon_banner_check_position):
7623 Make the banner use the full width of the screen
7624 (hildon_banner_show_information)
7625 (hildon_banner_show_information_with_markup):
7626 Don't display an icon by default
7628 2008-06-09 Alejandro G. Castro <alex@igalia.com>
7630 Added fading scrollbars and adapted all the overshooting code to
7631 horizontal scrolling. We have also fixed bugs with overshooting
7632 and current fading implementation.
7634 * src/hildon-pannable-area.c
7635 (hildon_pannable_area_scroll_indicator_fade): Time out function
7636 used to change the transparency of the scrollbars.
7638 (hildon_pannable_area_button_press_cb): Added horizontal overshot
7639 control and fixed a problem with fading, we now remove the fade
7640 timeout before adding a new one.
7642 (hildon_pannable_axis_scroll):
7643 (hildon_pannable_area_scroll):
7644 (hildon_pannable_area_timeout): Added this functions so we can use
7645 the scroll code both for vertical and horizontal.
7647 (hildon_pannable_area_motion_notify_cb):
7648 (hildon_pannable_area_button_release_cb): Added the horizontal
7649 scrolling control, fixed a problem with the overshooting timeout.
7651 (rgb_from_gdkcolor): Added this function, it is used in the cairo
7652 painting of the scrolls.
7654 (hildon_pannable_draw_vscroll):
7655 (hildon_pannable_draw_hscroll):
7656 (hildon_pannable_area_expose_event):
7657 Draw both scrollbars and rectangles in the overshooting area.
7659 (hildon_pannable_area_get_property):
7660 (hildon_pannable_area_set_property):
7661 Modified the overshoot property to overshoot_max
7663 (hildon_pannable_area_map):
7664 Replaced the comments symbols.
7666 (hildon_pannable_area_size_allocate):
7667 (hildon_pannable_area_class_init):
7668 (hildon_pannable_area_init): Added horizontal scroll, fading
7669 effect properties, fixed a problem when overshooting in the bottom
7672 * examples/hildon-pannable-area-example.c:
7673 (get_sawtooth_label): Now we use smaller sawtooths, the effect
7674 looks better in the example.
7676 2008-06-03 Alberto Garcia <agarcia@igalia.com>
7678 * src/hildon-window.c
7679 * src/hildon-window.h
7680 (hildon_window_class_init)
7681 (hildon_window_unset_program)
7682 (hildon_window_unset_program_real):
7683 Make unset_program a virtual function
7685 * src/hildon-stackable-window.c
7686 * src/hildon-stackable-window.h
7687 Added hildon_stackable_window_go_home()
7689 * examples/Makefile.am
7690 * examples/hildon-stackable-window-example.c
7691 HildonStackableWindow example
7693 2008-06-03 Alejandro G. Castro <alex@igalia.com>
7695 * hildon-pannable-area.c: Added the overshoot property and removed
7696 the OVERSHOOT define. Fixed an indent style error.
7697 (hildon_pannable_area_motion_notify_cb):
7698 (hildon_pannable_area_get_property):
7699 (hildon_pannable_area_set_property): Add overshoot property.
7701 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
7704 (hildon_pannable_area_class_init): Installed the new property.
7706 * hildon-pannable-area-example.c: Added a sawtooth function, this
7707 way it is easier to check the movement in the pannable.
7708 (get_sawtooth_label): Added this function.
7709 (main): Now we get the labels from the new get_sawtooth_label
7712 2008-05-26 Alberto Garcia <agarcia@igalia.com>
7714 * src/hildon-app-menu.h
7715 * src/hildon-app-menu.c
7716 Renamed API variables for consistency
7718 (hildon_app_menu_popup): Use also the default window size to
7719 decide where to place the menu
7721 (hildon_app_menu_init, hildon_app_menu_class_init): New
7722 external-border style property
7724 2008-05-26 Michael Natterer <mitch@imendio.com>
7726 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
7727 widget_class->tap_and_hold_setup signal slot doesn't exist any
7728 longer, stop overriding it.
7730 (hildon_time_editor_init): g_signal_connect() to the
7731 tap-and-hold-setup signal instead.
7733 (hildon_time_editor_entry_keypress): add cast to fix warning.
7735 2008-05-23 Alberto Garcia <agarcia@igalia.com>
7737 * doc/hildon-docs.sgml
7739 * examples/Makefile.am
7740 * examples/hildon-app-menu-example.c
7742 * src/hildon-app-menu-private.h
7743 * src/hildon-app-menu.c
7744 * src/hildon-app-menu.h
7746 New HildonAppMenu widget
7748 2008-05-21 Alejandro G. Castro <alex@igalia.com>
7750 Rearranged the inheritance of the pannable area, now it inherits
7751 from GtkBin. This will allow us to control the event_window and
7752 the allocation process of the widget, required for some effects.
7754 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
7755 GtkBin structures. * src/hildon-pannable-area.c: Added the
7756 event_window variable.
7757 (hildon_pannable_area_button_press_cb):
7758 (hildon_pannable_area_button_release_cb):
7759 (hildon_pannable_area_motion_notify_cb):
7760 Changed the signature of the method, now we override the event
7761 callback instead of connecting to the signal.
7763 (hildon_pannable_area_realize):
7764 (hildon_pannable_area_unrealize):
7765 (hildon_pannable_area_map):
7766 (hildon_pannable_area_unmap):
7767 (hildon_pannable_area_size_allocate):
7768 Added functions to control the widget construction. We add a
7769 INPUT_ONLY window and we put it over the widgets inside the
7770 container, this event_window handles the events.
7772 (hildon_pannable_area_class_init):
7773 Replaced the signal connections with overrides of the event
7776 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7778 Bouncing effect added when touching the borders, you can change
7779 the elasticity of the border changing the ELASTICITY define.
7781 * src/hildon-pannable-area.c: Added ELASTICITY define.
7782 (hildon_pannable_area_timeout): Added inverse velocity when
7783 touching the border of the child widget, that causes a bounce.
7785 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7787 Improved performance, we now do not go to the X server in order to
7788 get the list of window children. Apparently the effect is the
7789 same, we have to be careful and check if this breaks something in
7792 * src/hildon-pannable-area.c:
7793 (get_ordered_children): Removed this function.
7794 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
7795 the children windows function with gdk_window_get_children.
7797 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7799 * src/hildon-pannable-area.c:
7800 (hildon_pannable_area_dispose): Fixed a crash when closing the
7801 window and kinetics is activated.
7803 2008-05-19 Alberto Garcia <agarcia@igalia.com>
7805 * src/hildon-pannable-area.h
7806 * src/hildon-pannable-area.c
7807 Changed indentation style to meet the one used in Hildon
7809 2008-05-19 Alejandro G. Castro <alex@igalia.com>
7811 Reviewed the interaction of the AUTO mode, now we use the time
7812 attribute of the events and calculate the velocity in the motion,
7813 doing a gimp like calculation. The velocity is calculated in each
7814 motion event using the last velocity and the current one, the
7815 SMOOTH_FACTOR controls the percentage of the new velocity we use.
7817 * src/hildon-pannable-area.c: Replaced the time based algorithm
7819 (hildon_pannable_area_motion_notify_cb): now we do not launch the
7820 timeout for the AUTO mode when we are still moving the cursor. We
7821 added also the velocity calculation in this function.
7822 (hildon_pannable_area_button_release_cb): launch the timeout in
7823 case we are in AUTO mode. There are still some constants here that
7824 come from the old implementation that should be reviewed and
7827 2008-05-15 Alberto Garcia <agarcia@igalia.com>
7829 * doc/hildon-docs.sgml
7832 * src/hildon-stackable-window.c
7833 * src/hildon-stackable-window.h
7835 New HildonStackableWindow widget
7837 * examples/hildon-dialog-example.c
7838 * examples/hildon-pannable-area-example.c
7841 2008-05-14 Alberto Garcia <agarcia@igalia.com>
7843 * src/hildon-dialog.c
7844 (hildon_dialog_new_with_buttons): New constructor.
7846 * examples/hildon-dialog-example.c
7847 (main): Update the example to use the new
7848 hildon_dialog_new_with_buttons().
7850 * examples/hildon-pannable-area-example.c
7851 (main): Update example.
7853 2008-05-13 Alberto Garcia <agarcia@igalia.com>
7855 * doc/hildon-docs.sgml
7857 Added HildonPannableArea to the documentation.
7859 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
7861 * doc/visual_index.xml
7862 Fix reference to HildonLoginDialog in documentation
7864 * doc/hildon-docs.sgml
7866 * examples/Makefile.am
7867 * examples/hildon-dialog-example.c
7869 * src/hildon-dialog.c
7870 * src/hildon-dialog.h
7872 New HildonDialog widget.
7874 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7876 * src/hildon-pannable-area.c
7877 Merge latest changes (r4318, r4342) from libmokoui trunk
7879 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7881 * examples/Makefile.am
7882 * examples/hildon-pannable-area-example.c
7884 * src/hildon-pannable-area.c
7885 * src/hildon-pannable-area.h
7887 New HildonPannableArea widget.
7889 2008-04-15 18:05:19 <timj@imendio.com>
7891 * src/hildon-banner.c: revert the recent change, that introduced
7892 gtk_window_present() calls. this reopens:
7893 Bug 78481 - [freetest] information banners are hidden under browser menu
7894 But resolves another variant of:
7895 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7897 2008-04-15 13:21:13 <timj@imendio.com>
7899 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
7900 recreated its layout, spotted by Kris. this fixes all remaining
7901 artefacts and stability issues with the banner code. in particular:
7902 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7904 2008-04-14 16:52:59 <timj@imendio.com>
7906 * src/hildon-banner.c: guard force_to_wrap_truncated() against
7907 operating on unrealized widgets, fixes:
7908 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7910 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
7912 2008-04-09 Kristian Rietveld <kris@imendio.com>
7914 Fixes: NB#77775: Media Player, Save Now playing list, too long name
7915 makes banner disappear.
7916 Fixes: NB#79182: info banner flickering with certain message lengts.
7918 * src/hildon-banner.c (hildon_banner_constructor),
7919 (hildon_banner_init), (hildon_banner_set_text),
7920 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
7921 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
7922 FALSE, reset size requests of label and banner,
7923 (force_to_wrap_truncated): when the text is too wide, always enforce
7924 the maximum possible width instead of recalculating it from the
7925 layout; enforce the maximum banner height of 3 lines,
7926 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
7927 nicer wrapping and no truncated chars if space gets tight.
7929 * src/hildon-banner-private.h: add has_been_wrapped and
7930 has_been_truncated fields.
7932 2008-04-07 Sven Herzberg <sven@imendio.com>
7934 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
7935 local values in hildon_date_editor_size_allocate
7937 * src/hildon-date-editor.c: moved the real allocation code into the
7940 2008-04-07 Sven Herzberg <sven@imendio.com>
7942 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7943 local values in hildon_date_editor_size_allocate
7945 * src/hildon-date-editor.c: merged the two if() branches together
7947 2008-04-07 Sven Herzberg <sven@imendio.com>
7949 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7950 local values in hildon_date_editor_size_allocate
7952 * src/hildon-date-editor.c: changed the arguments of the if()
7955 2008-04-07 Sven Herzberg <sven@imendio.com>
7957 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7958 local values in hildon_date_editor_size_allocate
7960 * src/hildon-date-editor.c: split the calculation of the allocation
7961 from the real allocation
7963 2008-03-27 Michael Natterer <mitch@imendio.com>
7965 Fixes: NB#81696: The passcode is not overwritten even after
7968 * src/hildon-code-dialog.c
7969 (hildon_code_dialog_button_clicked)
7970 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
7971 because that doesn't overwrite selected text. Instead, emit the
7972 "commit" signal on the entry's im_context so the entry's normal
7973 insert logic is triggered. Set the cursor to the end of the entry
7974 after each insert operation so that we *only* insert in the middle
7975 of the text if something was selected.
7977 2008-03-27 Michael Natterer <mitch@imendio.com>
7979 Enable fixing: NB#79916 and NB#79918: The help topic for Color
7980 selector cannot be opened
7982 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
7983 when the popup color selector is created. Please connect to this
7984 signal in order to set the dialog's help ID.
7986 2008-03-25 Sven Herzberg <sven@imendio.com>
7988 Fixes: MB#1212: Hide info banners (infoprints) on click
7990 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
7991 extracted the close event simulation into an extra function
7992 (hildon_banner_button_press_event): simulate a close event and destroy
7993 the widget if the event wasn't handled
7994 (hildon_banner_class_init): added the button_press_event handler
7995 (hildon_banner_init): added button-press events to the widget
7997 2008-03-25 Sven Herzberg <sven@imendio.com>
7999 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8000 Patch from: Mohammad Anwari <mdamt@maemo.org>
8002 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8003 instead of the right in RTL mode
8004 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8005 breadcrumb button list in RTL mode
8006 * src/hildon-caption.c: mirror the appearance of the caption widget in
8008 * src/hildon-date-editor.c: mirror appearance of the date editor in
8010 * src/hildon-time-editor.c: mirror appearance of the time editor in
8012 * src/hildon-window.c: fix the position of the popup in RTL mode
8014 2008-03-25 Sven Herzberg <sven@imendio.com>
8016 Amendment to the fix of NB#22072. Fix compilation.
8018 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8020 2008-03-19 Sven Herzberg <sven@imendio.com>
8022 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8025 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8026 timeout id properly when the timeout will disappear this leaves no
8027 artifacts around in the destroy(); there will only be the timeout
8028 created by hildon_banner_ensure_timeout() and adding a new timeout
8029 will also work if the timeout gets removed because the timeout_handler
8032 2008-03-19 Michael Natterer <mitch@imendio.com>
8034 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8036 * src/hildon-volumebar.c
8037 * src/hildon-vvolumebar.c
8038 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8039 the widget becomes focussable at all.
8041 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8042 set the focus to wither the mute button or the volumebar.
8044 Remove own "can-focus" property and instead listen to
8045 notify::can-focus in order to update the widget's state.
8047 Implement GtkWidget::focus() and make sure we can also *leave* the
8048 widget, not only enter it, depending on volumebar orientation and
8049 requested focus direction.
8051 Clean up set_mute() to cooperate nicely with all the above.
8053 2008-03-04 Michael Natterer <mitch@imendio.com>
8055 Fixes: NB#78481: information banners are hidden under browser menu
8057 * src/hildon-banner.c: call gtk_window_present() on the banners so
8058 they are risen if they are already visible.
8060 2008-03-03 Sven Herzberg <sven@imendio.com>
8062 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8064 * examples/hildon-window-menu-example.c: (main): extended the window
8065 menu example to serve as a testcase for automatically added
8066 accelerator groups, too
8067 * src/hildon-window.c: (hildon_window_add_accel_group),
8068 (hildon_window_set_menu): added patch by Tommi Komulainen
8070 2008-03-03 Sven Herzberg <sven@imendio.com>
8072 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8074 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8075 knowledge about the border allocators used within GTK+
8077 2008-02-26 Sven Herzberg <sven@imendio.com>
8079 Fixes: MB#2981: Build with asserts broken
8081 * src/hildon-date-editor.c,
8082 * src/hildon-number-editor.c,
8083 * src/hildon-time-editor.c,
8084 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8085 the proper GType instance check
8087 2008-02-25 Sven Herzberg <sven@imendio.com>
8089 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8091 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8092 * examples/hildon-window-menu-example.c: (main): explicitly show
8094 * src/hildon-window.c:
8095 (hildon_window_set_main_menu): moved most of the code from set_menu()
8096 to this place; skipped the call to gtk_widget_show_all(); also didn't
8097 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8098 (hildon_window_set_menu): removed most of the code, just keep the
8099 questionable gtk_widget_show_all()
8100 * src/hildon-window.h: added the new function and deprecate the old
8103 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8109 * debian/changelog: Updating.
8111 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8114 * pkgconfig/Makefile.am:
8115 * pkgconfig/hildon.pc.in:
8118 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8119 use newly created API_MAJOR_VERSION.
8121 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8127 * debian/changelog: Updating.
8129 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8131 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8133 Add outer_border style property, we use it but don't define it (!).
8137 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8139 * examples/hildon-bread-crumb-trail-example.c (main):
8143 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8145 Fix logic for the bread crumb trail node removal.
8149 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8155 * debian/changelog: Updating.
8157 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8159 Patch by Alejandro to get/set passwords dialogs accesibility.
8161 * hildon-1/src/hildon-get-password-dialog.c:
8162 * hildon-1/src/hildon-set-password-dialog.c:
8163 Set atk_set_name to the passwd entries in order to allow
8164 accessibility by name on this entries.
8166 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8171 * debian/control: Updating gtk dep.
8173 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8175 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8176 USE_MAEMO_GTK is enabled.
8178 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8180 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8181 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8183 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8189 * debian/changelog: Updating.
8191 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8193 * examples/Makefile.am:
8194 * examples/hildon-logical-color-example.c:
8195 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8196 applied + adding a test case. Fixes: NB#71660.
8198 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8200 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8201 to be visible, fixes warning on map for windows without toolbars.
8203 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8205 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8206 2.11.0, add a check for that besides the MAEMO_GTK check.
8208 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8214 * debian/changelog: Updating.
8216 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8218 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8219 visibility. Fixes: NB#70842 and MB#615.
8221 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8223 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8224 set the separator as no-show-all so it doesn't unintentionally appear when
8225 someone does a show_all.
8227 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8229 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8230 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8231 toplevel item. Fixes: NB#62031
8233 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8235 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8236 fix the name of the function in the docs.
8238 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8244 * debian/changelog: Updating.
8246 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8248 * examples/hildon-banner-long-example.c: Adding a test-case for long
8251 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8253 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8255 * src/hildon-color-chooser-dialog.c:
8256 * src/hildon-color-chooser.c:
8257 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8258 memory leaks in font selector and color selector. Fixes: NB#70499 and
8261 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8263 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8265 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8267 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8268 little bit bigger. Fixes: #NB63694.
8270 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8276 * debian/changelog: Updating.
8278 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8281 * doc/hildon-docs.sgml:
8282 * doc/images/bread-crumb-trail.png:
8283 * doc/images/calendar-popup.png:
8284 * doc/images/caption.png:
8285 * doc/images/code-dialog.png:
8286 * doc/images/color-button.png:
8287 * doc/images/color-chooser-dialog.png:
8288 * doc/images/color-chooser.png:
8289 * doc/images/controlbar.png:
8290 * doc/images/date-editor.png:
8291 * doc/images/font-selection-dialog.png:
8292 * doc/images/get-password-dialog.png:
8293 * doc/images/hvolumebar.png:
8294 * doc/images/login-dialog.png:
8295 * doc/images/note.png:
8296 * doc/images/number-editor.png:
8297 * doc/images/range-editor.png:
8298 * doc/images/seekbar.png:
8299 * doc/images/set-password-dialog.png:
8300 * doc/images/sort-dialog.png:
8301 * doc/images/time-editor.png:
8302 * doc/images/time-picker.png:
8303 * doc/images/vvolumebar.png:
8304 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8305 Adding the bread-crumb-trial and helpers to the documentation.
8307 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8309 * examples/hildon-find-toolbar-example.c:
8310 * src/hildon-find-toolbar.c:
8311 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8312 actually continue firing the other handlers if connected. Adding a new
8314 hildon_find_toolbar_get_last_index that gets the index of the most
8315 recently added (last) item. Fixes: NB#52301.
8317 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8319 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8320 behaviour. Fixes: NB#68610.
8322 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8324 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8327 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8329 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8330 when realizing the banner. Should make the infonbanner effect a bit more
8333 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8335 * src/hildon-volumebar.c:
8336 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8337 hildon_volumebar_set_range_insensitive_message and
8338 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8340 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8342 * src/hildon-window.c: Fixing the border freeing on destroy.
8344 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8346 * src/hildon-code-dialog-private.h:
8347 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8348 kw keyboard support in HildonCodeDialog.
8350 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8356 * debian/changelog: Updating.
8358 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8360 * src/hildon-date-editor.c:
8361 * src/hildon-number-editor.c:
8362 * src/hildon-private.c:
8363 * src/hildon-private.h:
8364 * src/hildon-time-editor.c:
8365 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8366 handling in subclassed composite widgets. Fixes: NB#66628.
8368 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8370 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8371 from destroy_ callback as it introduces problems in async dbus signal
8372 handlers. Fixes NB#66673.
8374 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8376 * examples/hildon-hvolumebar-example.c:
8377 * src/hildon-volumebar.c: Improving the focus handling in the
8378 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8379 set_property accessor so that "mute" property can be actually set. I'm
8380 scared that nobody noticed it's totally broken.
8382 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8384 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8387 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8389 * src/hildon-calendar.c:
8390 * src/hildon-number-editor.c:
8391 * src/hildon-time-picker.c: Changing the timeout repeat so that it
8392 matches the spec of 6 chars per second. Fixes: NB#60489.
8394 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8396 * src/hildon-helper.c: Really fixing NB#58352. Looks like
8397 gtk_style_lookup_color sometime returns FALSE even though color was
8398 found and values were filled properly. Weird. Removing the warning for the
8401 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8403 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8404 expand vertically. Adding some extra space to the find toolbar buttons to
8405 make them thumbable. Fixes NB#66060.
8407 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8409 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8410 popup with "Ok" and "Cancel". Fixes NB#59299.
8412 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8414 * src/hildon-calendar.c: Process all window updates before executing next
8415 timeout. Fixes: NB#54146.
8417 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8423 * debian/changelog: Updating.
8425 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8427 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8428 the client event and ignore it, since we use the delete event to close
8431 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8433 * src/hildon-helper.c: Remove the bogus warning about color not being
8434 found. Fixes NB#58352.
8436 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8438 * examples/Makefile.am:
8439 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8440 HildonSeekbar widget inside a toolbar.
8442 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8444 * src/hildon-banner.c (hildon_banner_init): mark the banners as
8445 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8446 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8447 don't want to be closed by non-temporary windows on map.
8449 Also use G_DEFINE_TYPE instead of manually typed code.
8451 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8458 * debian/rules: Updating.
8460 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8462 * examples/Makefile.am:
8463 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8464 bug NB#61128. Strangely it works.
8466 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8468 * src/hildon-date-editor.c: When the date editor entry has been changed
8469 but the numbers of characters < max, turn off the skip validation flag.
8470 Prevents a situation when we enter first a valid year and later re-write
8471 it with an invalid one. Fixes NB#60154.
8473 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8475 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
8476 code dialog. Fixes NB#64355.
8478 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8480 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
8481 switching the page. Fixes NB#49374.
8483 * examples/Makefile.am:
8484 * examples/hildon-wizard-dialog-example.c: Adding an example for
8485 HildonWizardDialog that shows how to handle manual sensitivity setting on
8488 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8492 * src/hildon-version.h.in:
8493 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
8495 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8497 * src/hildon-volumebar.c: Updating the docs.
8499 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8505 * debian/changelog: Updating.
8507 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8509 * src/hildon-find-toolbar.c:
8510 * src/hildon-find-toolbar.h: Adding a few new functions to control the
8511 selected item: hildon_find_toolbar_set_active,
8512 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
8513 hildon_find_toolbar_get_active_iter . They correspond to respective
8514 GtkComboBox functions.
8516 * examples/Makefile.am:
8517 * examples/hildon-find-toolbar-example.c: Adding the example to test the
8520 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8522 * examples/Makefile.am:
8523 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
8526 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
8527 when font size > 32 and we pack a focusable widget inside. Actually using
8528 the default response would work too, but since we don't show default
8529 response state in any way (no theming) it would not be visible to the
8530 user. Fixes NB#63430.
8532 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8534 * src/hildon-date-editor.c: Adding the missing variable setter in the
8535 set_property handler. Fixes NB#54182.
8537 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8539 * src/hildon-window.h: Changing the long key press time from 1500ms to
8540 800ms as requested in NB#63700. I have a bad feeling about this, let's
8541 see... Fixes NB#63700.
8543 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
8545 * src/hildon-time-picker.c (hildon_time_picker_class_init,
8546 hildon_time_picker_map, hildon_time_picker_realize,
8547 hildon_time_picker_style_set): Split the contents of map to more
8548 appropriate functions; set window decorations on realize and update
8549 arrows' size requisitions on style-set. Avoids unnecessary resizing.
8551 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
8556 * debian/changelog: Updating.
8558 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
8560 * src/Makefile.am: fixed installation of the header files
8562 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8568 * debian/changelog: Updating.
8570 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8572 * configure.ac: Removing some remaining of --enable-xan.
8574 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
8576 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
8577 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
8579 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
8580 2.10.12-osso6 because the move-focus signal needs to be available in
8583 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8585 * examples/Makefile.am:
8586 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
8587 that makes a HildonVolumebar insensitive before mapping it. Seems to work
8588 fine. Prolly NB#61128 is fixed now.
8590 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8592 * src/hildon-volumebar.c:
8593 * src/hildon-volumebar.h: Adding the
8594 hildon_volumebar_set_range_insensitive_message and
8595 hildon_volumebar_set_range_insensitive_messagef functions to set
8596 insensitive message on the slider of the volumebar. Fixes NB#61129.
8598 * examples/Makefile.am:
8599 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
8600 test the new insensitive messsage functionality on HildonVolumebar.
8602 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
8604 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
8607 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
8609 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
8610 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
8611 button on after clearing the trail.
8613 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8615 * src/hildon-code-dialog.c: Removing the separator from the dialog.
8617 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8619 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
8620 by splitting the installed headers in generated and non-generated groups. Use
8621 only the non-generated headers to create the hildon-enum-types.h file.
8623 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
8625 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8627 * src/hildon-window.c: Hide the window before performing the destroy.
8628 Should make the app closing a little tiny bit more snappy.
8630 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8632 * src/hildon-seekbar.c: add gtkrange.h header
8633 * src/hildon-caption.c: remove unused variable
8635 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
8637 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
8640 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8646 * debian/changelog: Updating.
8648 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
8650 * src/hildon-window.c (hildon_window_window_state_event,
8651 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
8652 escape timeout on focus-out-event rather than notify::is-topmost; the
8653 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
8655 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8657 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
8658 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
8660 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8662 * src/hildon-window: actually, you need to use the macro always, there's
8663 no private pointer in the instance structure. We should have cleaned this up
8664 when we had the chance...
8666 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8668 * src/hildon-window.c: do not get the private date from HildonWindow before
8669 it passes the g_return_if_fail check. Once it's passed the test, there's no
8670 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
8671 if you are only going to access the data once. Whitespace cleanups.
8673 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
8675 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8676 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8678 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8684 * debian/changelog: Updating.
8686 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8688 * src/hildon-window.c: When destroying the window, remove (if exists) the
8689 escape timeout handler. Fixes #NB59276.
8691 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8693 * src/hildon-banner.c: When realizing the widget, set the window
8694 transiency. Setting the transiency in the gobject constructor is not
8695 good, as the widget is not realized at that point. Fixes: #NB56624.
8697 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8699 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
8700 Add padding for future expansions.
8702 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8704 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
8705 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
8706 will fake an activation on the previous to the last item of the trail, so
8707 the effect can be overrided by the developer as usual.
8708 Also change the callback for the back button to do the same thing, so its
8709 effect can be overrided too. Fixes: NB#58982
8711 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8713 * src/hildon-caption.c: Implementing the proper focus grabbing in the
8714 HildonCaption. Fixes NB#52379.
8716 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8718 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
8719 the internal state of the trail after the user has had the chance of executing
8720 his handler for the signal. Specifically, it may happen that the activated button
8721 is removed and the user still lets the default handler run. This would segfault
8724 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8726 * src/hildon-font-selection-dialog.c: When the font is really big, add the
8727 scrollbar to the preview dialog. Fixes NB#54147.
8729 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8731 * src/hildon-date-editor.c: Changing the default max year to 2037. The
8732 max/min year properties can be altered, so the client can modify it
8733 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
8735 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8737 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
8738 hildonlike by default. Fixing a problem with disappearing arrows when
8739 scrolling through months and years. Fixes NB#54127.
8741 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8743 * examples/hildon-date-editor-example.c: Adding error callback to the date
8746 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8752 * configure.ac: Updating.
8754 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8756 * configure.ac: Adding a special '--enable-xan' configure option that
8757 turns off the -Werror compilation setting. Usefull for development.
8759 * src/hildon-calendar.c:
8760 * src/hildon-number-editor.c:
8761 * src/hildon-time-picker.c: Adding the 5* multiplier to
8764 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
8766 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
8767 instead of g_object_ref + gtk_object_sink.
8769 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8775 * debian/changelog: Updating.
8777 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8779 * src/hildon-color-chooser-dialog.c:
8780 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
8781 straight from Tommi labs.
8783 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8785 * examples/hildon-finger-example.c: Correcting the header file path.
8787 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
8788 the changed signal. Fixes a small memory leak.
8790 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8794 * src/hildon-banner.c: Importing several usefull fixes from the
8795 ubuntu-mobile branch.
8797 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8799 * examples/Makefile.am:
8800 * examples/hildon-finger-example.c: Adding a finger-checking code
8803 * src/hildon-font-selection-dialog.c: Do not allocate the color
8804 structure using the g_new. Fixes NB#54061.
8806 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8808 * src/hildon-helper.c: Correcting tabs in file.
8810 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
8812 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
8813 control the visibility of the children.
8815 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
8817 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8823 * debian/changelog: Updating.
8825 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8827 * src/hildon-bread-crumb-trail.c:
8828 (hildon_bread_crumb_trail_size_allocate):
8830 Make the back button always a square.
8832 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8834 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
8835 from the .c file as it's a private file.
8837 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8839 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
8840 uses slightly bigger height.
8842 * src/hildon-font-selection-dialog.c: Adding some checks before
8843 freeing memory in the font selection dialog.
8845 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8847 * src/hildon-font-selection-dialog.c: Adding a small check when
8850 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
8851 buttons sensitivity on page switching.
8853 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
8855 * src/hildon-bread-crumb-trail.c: make the add method handle all the
8856 internal details of adding a bread crumb to the trail.
8858 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8864 * debian/changelog: Updating.
8866 * src/hildon-bread-crumb-trail.h:
8867 * src/hildon-bread-crumb.h: Changing the API guard to
8868 HILDON_ENABLE_UNSTABLE_API.
8870 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8878 * src/hildon-helper.h: Updating.
8880 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8888 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8892 * src/hildon-helper.h: Small fix to make the package actually compile.
8894 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8896 * src/hildon-bread-crumb-trail.h:
8897 * src/hildon-bread-crumb.h:
8899 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
8900 to define ENABLE_UNSTABLE_API in the code that includes these headers.
8902 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8904 * examples/hildon-bread-crumb-trail-example.c:
8906 * src/hildon-bread-crumb-trail.c:
8907 * src/hildon-bread-crumb-trail.h:
8908 * src/hildon-bread-crumb.c:
8909 * src/hildon-bread-crumb.h:
8910 * src/hildon-marshalers.list:
8911 * src/hildon-bread-crumb-widget.c:
8912 * src/hildon-bread-crumb-widget.h:
8914 Slight change in the widget design. The bread crumb trail API is
8915 unchanged, but HildonBreadCrumb is now an interface. A *private*
8916 implementation, hildon-bread-crumb-widget, is provided and used
8917 internally by the trail for the push_text/push_icon functions.
8919 The generic push API is still available, so anyone can implement
8920 and use its own bread crumb widget.
8922 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8924 * debian/rules: Fixing the shlibs.
8926 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8928 * src/hildon-banner.c: Fixing a problem with timed banners having
8929 their parrent destroyed before they are.
8931 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
8933 * src/hildon-bread-crumb.c:
8934 * src/hildon-bread-crumb.h:
8936 Make the get_natural_size function a vfunc.
8938 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8940 * src/hildon-bread-crumb.c:
8941 * src/hildon-bread-crumb-trail.c:
8945 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8952 * debian/changelog: Updating for release.
8954 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8956 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
8957 don't leak the pango layout.
8959 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8962 * examples/hildon-bread-crumb-trail-example.c:
8966 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8968 * debian/changelog: Removing the bug-fixed entries that were actually
8969 resolved as WONTFIX.
8971 * src/hildon-date-editor.c: Removing a redundant check. Fixes
8974 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8976 * src/hildon-bread-crumb-trail.c:
8977 * src/hildon-bread-crumb-trail.h:
8978 * src/hildon-bread-crumb.c:
8979 * src/hildon-bread-crumb.h:
8983 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8985 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
8986 until it's passed the type check.
8988 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8990 * examples/hildon-bread-crumb-trail-example.c
8994 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8996 * examples/Makefile.am
8997 * examples/hildon-bread-crumb-trail-example.c
8999 * src/hildon-bread-crumb-trail.c
9000 * src/hildon-bread-crumb-trail.h
9001 * src/hildon-bread-crumb.c
9002 * src/hildon-bread-crumb.h
9004 New HildonBreadCrumbTrail widget.
9006 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9008 * src/hildon-range-editor.c (hildon_range_editor_init),
9009 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9010 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9011 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9012 hildon_time_editor_class_init, hildon_time_editor_init),
9013 src/hildon-get-password-dialog.c (invalid_input,
9014 hildon_get_password_set_property, hildon_get_password_get_property,
9015 create_contents, hildon_get_password_dialog_set_max_characters),
9016 src/hildon-set-password-dialog.c (create_contents),
9017 src/hildon-date-editor.c (hildon_date_editor_init),
9018 src/hildon-login-dialog.c (hildon_login_dialog_init),
9019 src/hildon-number-editor.c (hildon_number_editor_init),
9020 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9021 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9022 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9023 configure option and adding the respective checks in the code.
9024 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9025 hildon_calendar_drag_data_received): fixed some build warnings.
9027 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9029 * debian/changelog: A 1.0.0 release notes.