1 2009-06-24 Alberto Garcia <agarcia@igalia.com>
3 * hildon/hildon-banner.c
4 (hildon_banner_class_init):
6 (+hildon_banner_size_request):
7 Request always the full width of the screen.
8 (hildon_banner_realize)
9 (-hildon_banner_check_position, hildon_banner_map):
10 hildon_banner_check_position() is not needed in Hildon 2.2.
11 (-hildon_banner_reset_wrap_state)
12 (hildon_banner_constructor, hildon_banner_init):
13 Remove unnecessary calls to hildon_banner_reset_wrap_state()
15 (force_to_wrap_truncated):
16 Remove has_been_wrapped and has_been_truncated attributes.
17 (+reshow_banner, hildon_banner_real_show_information)
18 (hildon_banner_show_information_with_markup)
19 (hildon_banner_show_animation, hildon_banner_show_progress)
20 (hildon_banner_set_text, hildon_banner_set_markup):
21 Refactor code. Shrink banner vertically to use the minimum space
22 necessary everytime the text of the label is updated.
23 (screen_size_changed):
24 Call force_to_wrap_truncated() when the size of the screen
27 Fixes: NB#120500 (only device memory connect mmc in use info
28 banner is left aligned)
30 Fixes: NB#120613 (Size of HildonBanner varies depending on
31 previously opened banners)
33 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
35 * hildon/hildon-color-chooser.c
36 (hildon_color_chooser_pointer_motion): Take the widget allocation
39 Fixes: NB#124385 (Unable to select exact point in color mixing box
40 in color palette dialog)
42 2009-06-23 Alejandro G. Castro <alex@igalia.com>
44 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
45 (hildon_pannable_area_dispose)
46 (hildon_pannable_area_button_press_cb)
47 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
48 (hildon_pannable_area_button_release_cb)
49 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
50 New 'panning-started' and 'panning-finished' signals.
52 Fixes: NB#121732 (New feature request: Signal to pannable area
53 that informs when panning is stopped.)
55 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
57 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
58 instead of hardcoded colon.
60 Fixes: NB#124090 (New calendar wizard title is not using
61 ecdg_ti_caption_separator)
63 2009-06-22 David King <davidk@openismus.com>
65 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
66 constants and functions, as well as correct many typos throughout the
69 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
72 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
74 * configure.ac: postrelease version bump.
75 * debian/changelog: post release version bump
77 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
82 * configure.ac: Bump version.
83 * debian/changelog: Updates.
85 2009-06-18 Alberto Garcia <agarcia@igalia.com>
87 * hildon/hildon-window-stack.c
88 (hildon_window_stack_pop_and_push_list):
89 Prevent windows from having the same stack index
91 2009-06-18 Alberto Garcia <agarcia@igalia.com>
93 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
94 Use the index of the previous window rather than the stack length
95 to calculate the new index.
99 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
101 * hildon/hildon-date-selector.c
102 (hildon_date_selector_select_current_date)
103 (hildon_date_selector_get_date)
104 (hildon_date_selector_select_day):
105 Update the documentation: uses always the range (1-31), as it is obvious
106 that the final one will depend on the month and the year, but globally
107 the range is this, in a similar GtkCalendar approach
108 (hildon_date_selector_get_date):
109 Update the documentation: add NULL as a valid value for the day, month
112 Fix some details, after talk with David King on bug MB#4698
114 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
116 * hildon/hildon-touch-selector-entry.c
117 * hildon/hildon-touch-selector.c
118 Update the documentation of the "text-column" property
120 2009-06-18 David King <davidk@openismus.com>
122 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
123 several typos and errors throughout the documentation.
125 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
128 2009-06-18 Alberto Garcia <agarcia@igalia.com>
130 * hildon/hildon-note.c (hildon_note_realize):
131 Make HildonNote support portrait mode.
133 Fixes: NB#123448 (HildonNote is not portrait-friendly)
135 2009-06-17 Alberto Garcia <agarcia@igalia.com>
137 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
138 Document this function
140 2009-06-17 David King <davidk@openismus.com>
142 * hildon/hildon-date-selector.c
143 (hildon_date_selector_select_current_date)
144 (hildon_date_selector_get_date): Update documentation regarding days,
145 as the day of the month is dependent on both the month and the year.
146 (hildon_date_selector_get_date): Fix documentation of output arguments.
148 Fixes: MB#4698 (DateSelector documentation has bad output argument
149 description, and the day depends on both the month and the year)
151 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
153 * hildon/hildon-caption.c: Other documentation fixes to
156 2009-06-17 David King <davidk@openismus.com>
158 * hildon/hildon-caption.c: Minor documentation updates for
159 HildonCaption. Fixes MB#4697.
161 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
163 * doc/hildon-docs.sgml: Add hildon-version section.
164 * doc/hildon-sections.txt:
165 * hildon/hildon-version.h.in: Document versioning macros and
168 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
170 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
171 from HildonPickerDialog section.
173 2009-06-16 Alberto Garcia <agarcia@igalia.com>
175 * hildon/hildon-banner.c (hildon_banner_bind_style)
176 (screen_size_changed, hildon_banner_init)
177 (hildon_banner_real_show_information)
178 (hildon_banner_show_information_with_markup)
179 (hildon_banner_show_animation, hildon_banner_show_progress):
180 Set a different widget name to banners in portrait mode, for them
181 to be themed correctly.
183 2009-06-16 Alberto Garcia <agarcia@igalia.com>
185 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
186 Set a different widget name to notes in portrait mode, for them to
189 Partially fixes: NB#118401 (HildonNote causes unnecessary
192 2009-06-16 Alberto Garcia <agarcia@igalia.com>
194 * hildon/hildon-note.c (hildon_note_class_init)
195 (+hildon_note_size_request, screen_size_changed):
196 Always request the full width of the screen.
198 Fixes: NB#118375 (unnecessary rescaling of images)
200 2009-06-16 Alejandro G. Castro <alex@igalia.com>
202 * hildon/hildon-pannable-area.c,
203 (hildon_pannable_area_init),
204 (hildon_pannable_area_realize): Replaced old code adding flags in
205 the object init, now we add it with the other flags in the realize
208 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
210 * hildon/hildon-note.c: (hildon_note_class_init): Several
211 documentation improvements to the HildonNote widget.
213 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
215 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
217 Fixes: MB#4556 (HildonNoteType is undocumented)
219 2009-06-15 Alberto Garcia <agarcia@igalia.com>
221 * hildon/hildon-picker-button.c:
222 Explain how HildonPickerButton sets the title of its dialog
224 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
225 the title of its dialog)
227 2009-06-15 Alberto Garcia <agarcia@igalia.com>
229 * hildon/hildon-check-button.c:
230 Documentation updates
232 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
235 2009-06-15 Alberto Garcia <agarcia@igalia.com>
238 * hildon/hildon-edit-toolbar-private.h
239 * hildon/hildon-edit-toolbar.c
240 (+hildon_edit_toolbar_set_progress_indicator)
241 (hildon_edit_toolbar_init): Add progress indicator to the
244 * hildon/hildon-gtk.c
245 (hildon_gtk_window_set_progress_indicator):
246 If the window contains a HildonEditToolbar, enable the progress
249 * hildon/hildon-private.h
250 * hildon/hildon-private.c
251 (+hildon_private_create_animation)
252 * hildon/hildon-banner.c
253 (-hildon_banner_create_animation):
254 Moved to hildon-private.c
256 Fixes: NB#102373 (Progress indicator also for the Edit mode
259 2009-06-15 Alberto Garcia <agarcia@igalia.com>
261 * hildon/hildon-app-menu-private.h
262 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
263 (hildon_app_menu_add_filter, +menu_item_button_event)
264 (hildon_app_menu_button_release, hildon_app_menu_init):
265 Make sure that buttons receive 'button-release-event' in spite of
266 the grab held by HildonAppMenu
268 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
270 2009-06-15 Alberto Garcia <agarcia@igalia.com>
272 * hildon/hildon-app-menu.c
273 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
274 New style property to set the size of the group of filter buttons.
276 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
278 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
283 * configure.ac: Bump version.
284 * debian/changelog: Updates.
286 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
288 * hildon/hildon-main.c: Minor documentation fixes.
290 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
292 * doc/hildon-sections.txt:
293 * hildon/hildon-defines.h: Document the defines, organize them,
294 and mark deprecations as such.
296 Fixes: MB#4463 (Hildon size #defines are undocumented)
298 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
300 * hildon/hildon-animation-actor.c:
301 * hildon/hildon-app-menu.c:
302 * hildon/hildon-button.c:
303 * hildon/hildon-date-editor.c:
304 * hildon/hildon-dialog.c:
305 * hildon/hildon-edit-toolbar.c:
306 * hildon/hildon-entry.c:
307 * hildon/hildon-program.c:
308 * hildon/hildon-remote-texture.c:
309 * hildon/hildon-stackable-window.c:
310 * hildon/hildon-text-view.c:
311 * hildon/hildon-touch-selector.c:
312 * hildon/hildon-window-stack.c:
313 * hildon/hildon-window.c:
315 Remove redundant "represents" wording from most of the documentation.
317 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
319 2009-06-12 Alberto Garcia <agarcia@igalia.com>
324 * hildon/hildon-banner-private.h
325 * hildon/hildon-banner.c:
326 Move HildonBannerPrivate to hildon-banner.c and remove
327 hildon-banner-private.h
328 Use a bit field to store private booleans.
330 2009-06-12 Alberto Garcia <agarcia@igalia.com>
332 * hildon/hildon-app-menu.c (hildon_app_menu_map):
333 Don't install a new idle function if there's already one
338 2009-06-11 Alberto Garcia <agarcia@igalia.com>
340 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
341 (+legacy_menu_realized, +legacy_menu_unmapped)
342 (+set_legacy_menu_type):
343 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
344 they can be identified by the window manager.
346 Fixes: NB#101437 (Invoking CSM on the left side of page area is
347 displayed in wrong location)
349 Fixes: MB#4563 (Popup menu won't locate at the left side of the
352 2009-06-11 Alberto Garcia <agarcia@igalia.com>
354 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
356 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
359 2009-06-11 Alberto Garcia <agarcia@igalia.com>
361 * hildon/hildon-code-dialog.c
362 * hildon/hildon-date-editor.c
363 * hildon/hildon-number-editor.c
364 * hildon/hildon-seekbar.c
365 * hildon/hildon-stackable-window.c
366 * hildon/hildon-window.c:
367 Misc documentation updates
369 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
371 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
372 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
374 Fixes: NB#117931 (Theming issues in accounts dialogs)
376 2009-06-09 Alejandro G. Castro <alex@igalia.com>
378 * hildon/hildon-pannable-area.c,
379 (hildon_pannable_area_button_release_cb): Changed the coordinates
380 of the original release in case we want to discard the release,
381 some widgets in Fremantle do not handle the leave-notify.
383 2009-06-09 Alejandro G. Castro <alex@igalia.com>
385 * hildon/hildon-pannable-area.c,
386 (hildon_pannable_area_button_release_cb): Reviewed the logic of
387 the release using the last refactored functions and avoiding the
388 movement if an element was selected.
390 2009-06-09 Alejandro G. Castro <alex@igalia.com>
392 * hildon/hildon-pannable-area.c,
393 (hildon_pannable_area_check_move),
394 (hildon_pannable_area_handle_move),
395 (hildon_pannable_area_motion_notify_cb): Refactored the
396 motion_notify method using a couple of new functions.
398 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
400 * hildon/hildon-date-selector.c:
401 (hildon_date_selector_construct_ui):
402 * hildon/hildon-time-selector.c:
403 (hildon_time_selector_constructor):
404 * hildon/hildon-touch-selector-entry.c:
405 (hildon_touch_selector_entry_set_text_column),
406 (hildon_touch_selector_entry_get_text_column):
407 * hildon/hildon-touch-selector.c: (_default_print_func),
408 (hildon_touch_selector_new_text): Use
409 hildon_touch_selector_set/get_text_column() instead of
410 setting/getting the "text-column" property.
412 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
414 * doc/hildon-sections.txt: Add the new public methods below.
416 * examples/hildon-picker-button-multicolumn-example.c:
417 (create_touch_selector):
418 * examples/hildon-touch-selector-example.c: (create_selector):
419 * examples/hildon-touch-selector-multi-cells-example.c:
421 Use hildon_touch_selector_column_set_text_column()
423 * hildon/hildon-touch-selector-column.h:
424 * hildon/hildon-touch-selector.c:
425 (hildon_touch_selector_column_set_text_column),
426 (hildon_touch_selector_column_get_text_column):
427 Make hildon_touch_selector_column_set/get_column() public, use
428 them in the inline example, document them, and reference to them
431 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
433 * hildon/hildon-time-selector.c: Fix the docs for
434 hildon_time_selector_new_step().
436 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
438 * hildon/hildon-touch-selector.c: Improve the documentation for
439 hildon_touch_selector_append_column().
441 Fixes MB#4641 (Documentation:
442 hildon_touch_selector_append_column() ref-counting)
444 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
446 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
447 Comment out test 5, since the hildon_controlbar_set_range() range
448 check is broken and fixing it would have side effects. Also,
449 this finally fixes make distcheck.
451 Fixes: NB#101420 (Update unit tests and fix make distcheck)
453 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
455 * tests/TEST-CASES.txt: Remove other bogus test.
456 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
457 Remove bogus test that was setting/retrieving a valid value.
459 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
461 * tests/TEST-CASES.txt: Remove bogus tests.
462 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
463 Remove three bogus tests that were actually setting valid colors.
465 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
467 * configure.ac: post release version bump
468 * debian/changelog: post release version bump
470 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
475 * configure.ac: Bump version.
476 * debian/changelog: Updates.
478 2009-06-08 Christian Dywan <christian@lanedo.com>
482 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
483 Correct errors in hildon_format_file-size_for_display and use
484 translations from the hildon-fm package instead of osso-filemanager.
486 2009-06-08 Alejandro G. Castro <alex@igalia.com>
488 * hildon/hildon-pannable-area.c,
489 (hildon_pannable_area_init): Initialized new values to handle the
491 (hildon_pannable_area_adjust_value_changed): Check if the values
492 changed before even call the redraw function.
493 (hildon_pannable_area_size_allocate),
494 (hildon_pannable_axis_scroll),
495 (hildon_pannable_area_scroll),
496 (hildon_pannable_area_jump_to): Improved the diagonal movement
499 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
502 2009-06-08 Alberto Garcia <agarcia@igalia.com>
504 * examples/hildon-banner-example.c:
505 Several style updates
506 (on_animation_clicked, on_animation_idle)
507 (on_progress_clicked, on_progress_idle):
508 Add additional reference for the cases when the parent window is
511 2009-06-08 Alberto Garcia <agarcia@igalia.com>
513 * doc/hildon-sections.txt
514 * hildon/hildon-pannable-area.c
515 * hildon/hildon-banner.h
516 * hildon/hildon-banner.c: Documentation updates.
518 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
521 2009-06-05 Alejandro G. Castro <alex@igalia.com>
523 * hildon/hildon-calendar-popup.h:
524 * hildon/hildon-caption.h:
525 * hildon/hildon-code-dialog.h:
526 * hildon/hildon-controlbar.h:
527 * hildon/hildon-date-editor.h:
528 * hildon/hildon-dialog.h:
529 * hildon/hildon-get-password-dialog.h:
530 * hildon/hildon-hvolumebar.h:
531 * hildon/hildon-login-dialog.h:
532 * hildon/hildon-note.h:
533 * hildon/hildon-number-editor.h:
534 * hildon/hildon-range-editor.h:
535 * hildon/hildon-seekbar.h:
536 * hildon/hildon-set-password-dialog.h:
537 * hildon/hildon-sort-dialog.h:
538 * hildon/hildon-time-editor.h:
539 * hildon/hildon-time-picker.h:
540 * hildon/hildon-volumebar-range.h:
541 * hildon/hildon-volumebar.h:
542 * hildon/hildon-vvolumebar.h:
543 * hildon/hildon-weekday-picker.h:
544 * hildon/hildon-window.h:
545 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
546 macros with the current replacements
548 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
550 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
552 * hildon/hildon-color-button.c (hildon_color_button_init): Use
553 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
554 itself, to make it fit better with Fremantle style.
556 Fixes: NB#109878 (height and width of focus on color icon is not
557 consistent with other item in the application tool bar)
559 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
561 * hildon/hildon-touch-selector.c:
562 (hildon_touch_selector_optimal_size_request): use the current requisition
563 as the base, in order to include any possible extra widget, like the
564 hildon entry on HildonTouchSelectorEntry
566 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
568 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
570 * configure.ac: post release version bump
571 * debian/changelog: post release version bump
573 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
578 * configure.ac: Bump version.
579 * debian/changelog: Updates.
581 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
583 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
585 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
586 to ensure the banner contents are centered, instead of relying on
587 the expand and fill properties in GtkHBox.
588 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
590 Fixes: NB#108265 (Animation banner not properly centered)
592 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
594 * hildon/hildon-pannable-area.c
595 (hildon_pannable_area_initial_effect): Remove the initial_effect
596 management, check initial_hint
597 (hildon_pannable_are_expose_event): Remove the initial_hint management,
598 set initial_effect to FALSE
599 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
600 by launching the fade_timeout if the scrollbars state has changed and are
602 * examples/hildon-pannable-area-initial-hint-example.c
603 Modified to allow to remove rows too. Add and remove rows one by one.
605 2009-05-28 Alberto Garcia <agarcia@igalia.com>
607 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
608 Don't close the menu if there's an animation actor below it.
610 Fixes: NB#117927 (Application menu not usable with animation
613 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
615 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
616 "focus-on-click" from the dialog button, to avoid stealing the
617 focus from the entry.
619 Fixes: NB#118903 (Account setup wizard: Text in Search field
620 should be focused when "Region" touch list picker is reopened
623 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
625 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
626 (prepare_action_area): Completely hide the dialog separator.
628 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
630 * hildon/hildon-touch-selector-entry.c
631 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
632 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
633 now that the entry is exposed.
635 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
637 * hildon/hildon-touch-selector-entry.c
638 (hildon_touch_selector_entry_init): Change the entry's size
639 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
641 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
643 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
644 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
645 avoid unnecessary scaling.
647 2009-05-27 Alberto Garcia <agarcia@igalia.com>
649 * hildon/hildon-app-menu.c (hildon_app_menu_map):
650 Create grab transfer window before calling parent's map function.
652 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
653 "crushed" button(s) in the top left corner)
655 2009-05-26 Alberto Garcia <agarcia@igalia.com>
657 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
658 Check if the window is already realized when pushing it.
660 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
662 * configure.ac: post release version bump
663 * debian/changelog: post release version bump
665 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
670 * configure.ac: Bump version.
671 * debian/changelog: Updates.
673 2009-05-25 Alberto Garcia <agarcia@igalia.com>
675 * hildon/hildon-app-menu.c: Doc updates.
677 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
679 * hildon/hildon-banner.c: Remove leftover macro.
681 2009-05-25 Alejandro G. Castro <alex@igalia.com>
683 * hildon/hildon-pannable-area.c,
684 (hildon_pannable_area_scroll_indicator_fade),
685 (hildon_pannable_area_button_release_cb): Reviewed vmin
686 conditions, it could cause problems in the fadeout procedure.
688 2009-05-25 Alejandro G. Castro <alex@igalia.com>
690 * hildon/hildon-pannable-area.c
691 (hildon_pannable_area_button_release_cb): Added a threshold to
692 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
694 2009-05-25 Alejandro G. Castro <alex@igalia.com>
696 * hildon/hildon-pannable-area.c,
697 (hildon_pannable_area_set_property): Added code to sync the gtk
698 dnd threshold with the panning threshold.
700 2009-05-25 Alejandro G. Castro <alex@igalia.com>
702 * hildon/hildon-pannable-area.c,
703 (hildon_pannable_area_class_init): Changed some of the default
704 values, now it should be less responsive and more accurate.
706 2009-05-25 Alejandro G. Castro <alex@igalia.com>
708 * hildon/hildon-pannable-area.c,
709 (hildon_pannable_area_init),
710 (hildon_pannable_area_scroll_indicator_fade),
711 (hildon_pannable_area_button_press_cb),
712 (hildon_pannable_axis_scroll),
713 (hildon_pannable_area_timeout),
714 (hildon_pannable_area_motion_notify_cb),
715 (hildon_pannable_area_button_release_cb): Changed the name of the
716 clicked attribute to button_pressed, it is more clear about its use.
718 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
720 * src/hildon-pannable-area.c
721 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
723 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
724 vertical scrollbar visibility, and use the data on private section instead,
725 remove the initial_hint check
726 (hildon_pannable_area_expose_event): add the initial_hint check here
728 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
730 * src/hildon-pannable-area.c
731 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
732 if the fadeout effect was used
733 (hildon_pannable_area_expose_event): check if it is required to
734 manage the initial effect on the begining of the function. Previously
735 it was made at the end, but this doesn't ensure that the scrollbars
736 will be painted on the first show. Do not set to FALSE initial_effect,
737 to ensure that the initial hint is showed the first time the pannable
739 * examples/Makefile.am
740 * examples/hildon-pannable-area-initial-hint-example.c:
741 New example, to show that the initial-hint is showed when the widget
744 Fixes: NB#116607 (Pannable area should always have scrollbar visible
745 initially if the application can be scrolled)
747 2009-05-25 Alberto Garcia <agarcia@igalia.com>
749 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
750 Resize table before adding new items to make sure that
751 gtk_table_resize() is called just once.
753 2009-05-25 Alberto Garcia <agarcia@igalia.com>
755 * hildon/hildon-app-menu-private.h
756 * hildon/hildon-app-menu.c (item_visibility_changed)
757 (filter_visibility_changed, hildon_app_menu_show_all)
758 (hildon_app_menu_hide_all, hildon_app_menu_init):
759 Rearrange items just once when gtk_widget_show_all()/hide_all()
762 2009-05-25 Alberto Garcia <agarcia@igalia.com>
764 * hildon/hildon-app-menu.c
765 (hildon_app_menu_insert, hildon_app_menu_add_filter):
766 Don't call gtk_widget_show() on added items.
768 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
769 automatically when they're added)
771 2009-05-20 Alberto Garcia <agarcia@igalia.com>
773 * hildon/hildon-banner.c
774 (hildon_banner_realize, +hildon_banner_unrealize)
775 (+screen_size_changed, hildon_banner_class_init):
776 Redisplay the banner if the screen is rotated.
778 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
779 on transition from landscape to portrait)
781 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
783 * hildon/hildon-banner.[ch]:
784 (hildon_banner_show_information_override_dnd): remove icon_name from the
785 method definition as it is ignored.
786 * examples/hildon-banner-dnd-example.c: updated with the change on
789 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
791 * hildon/hildon-banner-private.h: new require_override_dnd and
792 overrides_dnd variables
793 * hildon/hildon-banner.h:
794 (hildon_banner_show_information_override_dnd): new method, that shows
795 the information but sets the override flag, in order to show important
797 * hildon/hildon-banner.c
798 (hildon_banner_show_information_override_dnd): new method
799 (hildon_banner_set_override_flag): new utility function
800 (hildon_banner_real_show_information): new utility function, in order to
801 generalize the current hildon_banner_show_information_override_dnd and
802 hildon_banner_show_information_override_dnd
803 * examples/Makefile.am
804 * examples/hildon-banner-dnd-example.c: New example that show how to
805 use the new hildon_banner_show_information_override_dnd
807 Fixes: NB#114874 (There is no possibility to show hildon banners with
810 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
812 * hildon/hildon-pannable-area.c: Add a comment explaining the math
813 behind hildon_pannable_calculate_vel_factor().
815 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
817 * hildon/hildon-pannable-area.c
818 (hildon_pannable_calculate_vel_factor): Correct the sum of the
819 deceleration factors.
821 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
823 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
824 Reduce the default value for 'scroll_time' to 1 second, since the
825 current initial scrolling takes too much time.
827 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
829 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
830 calculate velocity factor during initialization, since the properties
833 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
835 * hildon/hildon-pannable-area.c
836 (hildon_pannable_area_set_property): Calculate the velocity factor
837 after setting the deceleration property and not after.
839 2009-05-20 Alberto Garcia <agarcia@igalia.com>
841 * hildon/hildon-entry.c
842 (hildon_entry_class_init, +set_property, hildon_entry_new)
843 * hildon/hildon-check-button.c
844 (hildon_check_button_class_init)
845 (+set_property, hildon_check_button_new):
846 Make the theme size a property.
848 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
849 others) do too much in the _new function)
851 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
853 * configure.ac: post release version bump
854 * debian/changelog: post release version bump
856 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
861 * configure.ac: Bump version.
862 * debian/changelog: Updates.
864 2009-05-15 Alberto Garcia <agarcia@igalia.com>
866 * hildon/hildon-gtk.h
867 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
868 New API function to take a screenshot of a window
870 Fixes: NB#106374 (Need API to take a loading screenshot)
872 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
874 * hildon/hildon-time-selector.c
875 (update_format_policy): prevent to use hours and minutes unitialized
877 2009-05-15 Alberto Garcia <agarcia@igalia.com>
879 * hildon/hildon-window.c (hildon_window_size_request):
880 Always request the full size of the screen (minus the title bar if
881 not in fullscreen mode).
883 Fixes: NB#107486 (HildonWindow should size itself properly)
885 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
887 * hildon/hildon-note-private.h: Add idle_handler to the private data.
888 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
889 (on_show_cb), (sound_handling): Disconnect the idle handler for
890 the sound when the note is finalized to avoid possible crashes.
892 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
895 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
897 * src/hildon-animation-actor.c,
898 * src/hildon-remote-texture.c:
899 Added proper object cleanup to remove signal handler and object
900 references as HildonAnimationActor and HildonRemoteTexture
901 objects get destroyed.
903 Fixes: NB#116682 (Destroying parented animation actors when
904 parent in unmapped leads to crash)
906 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
908 Based on a patch by Christian Dywan (christian@imendio.com)
910 * doc/hildon-sections.txt:
911 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
912 * hildon/hildon-helper.h: New file size formatting method.
914 * debian/control: Depend on osso-filemanager l10n package for
915 proper localization strings.
917 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
919 * tests/Makefile.am: Include top_srcdir to make possible to build
920 tests in a different builddir.
921 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
922 on a different builddir.
924 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
926 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
927 (hildon_touch_selector_remove): Disconnect model's signal handler
930 Fixes: NB#116289 (Hildon home crashes while adding task
933 2009-05-11 Alberto Garcia <agarcia@igalia.com>
935 * hildon/hildon-button.c
936 (hildon_button_set_title, hildon_button_set_value):
937 Hide labels containing an empty string.
939 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
941 * configure.ac: post release version bump
942 * debian/changelog: post release version bump
944 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
949 * configure.ac: Bump version.
950 * debian/changelog: Updates.
952 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
954 * hildon/hildon-note-private.h: Removed sound_signal_handler
955 * hildon/hildon-note.c
956 (on_show_cb): new callback on note "show" event, this simply adds
957 a idle, with the function sound_handling
958 (sound_handling): removed the sound_signal_handler management
959 (hildon_note_init): connect note "show" event to on_show_cb
960 (hildon_note_realize): remove the connection to "expose-event"
962 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
963 device?' confirmation note)
965 2009-05-08 Alberto Garcia <agarcia@igalia.com>
967 * hildon/hildon-note.c
968 (hildon_note_new_information_with_icon_name)
969 (hildon_note_new_confirmation_with_icon_name):
970 Terminate the list of parameters in g_object_set() calls
972 Fixes: NB#115166 (Formatting memory card is not taking place)
974 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
976 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
977 "dialog-information" role for the sound being played.
979 2009-05-06 Alberto Garcia <agarcia@igalia.com>
981 * hildon/hildon-app-menu.c (hildon_app_menu_init):
982 Don't make the menu a modal window, it causes strange interactions
983 with the pointer grab and it's not really needed.
985 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
987 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
989 * hildon/hildon-touch-selector.[ch]
990 (hildon_touch_selector_optimal_size_request): function added to get a
991 optimal size request from the touch selector, when you want a dialog to
992 show as much of the selector
993 * hildon/hildon-picker-dialog.c:
994 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
995 (hildon_app_menu_class_init):
996 New "max-height-landscape" and "max-height-portrait" style properties
997 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
998 (hildon_picker_dialog_get_max_height): returns the maximum height using
999 the style properties defined and checking the current portrait/landscape
1001 (_hildon_picker_dialog_set_selector): removed the set_size_request
1003 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1005 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1007 * hildon/hildon-bread-crumb-trail.c:
1008 * hildon/hildon-bread-crumb.c:
1009 * hildon/hildon-seekbar.c:
1010 Add reference to replacements for these deprecated widgets.
1012 Fixes: MB#4461 (Documentation: All deprecations should mention
1015 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1017 * examples/hildon-remote-texture-example.c
1019 Change the include to the hildon-remote-texture in order to compile
1020 properly the examples on the installed libhildon1-examples package
1022 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1024 * tests/Makefile.am: Add check for HildonPickerButton.
1025 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1026 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1027 checks for the HildonPickerButton.
1028 * tests/check_test.c (configure_tests): Add the test suite.
1029 * tests/test_suites.h: likewise.
1031 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1033 * hildon/hildon-touch-selector.c
1034 (+on_row_changed): Emit HildonTouchSelector:changed when the
1035 contents of a selected row change.
1036 (_create_new_column), (_hildon_touch_selector_set_model): connect
1037 to GtkTreeModel:row-changed on a newly set model.
1039 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1041 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1043 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1045 * hildon/hildon-banner.c (hildon_banner_destroy)
1046 (hildon_banner_show_progress, hildon_banner_set_fraction):
1047 Remove the progress bar from HildonBanner and use a progress
1050 Fixes: NB#113761 (Update progress banner to use progress
1053 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1055 * hildon/hildon-banner.c:
1056 Calculate size of the banner label using the actual screen width
1057 rather than using a fixed value.
1059 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1062 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1064 * hildon/hildon-pannable-area.c,
1065 (hildon_pannable_area_class_init): Fixed signals documentation
1068 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1070 * configure.ac: post release version bump
1071 * debian/changelog: post release version bump
1073 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1078 * configure.ac: Bump version.
1079 * debian/changelog: Updates.
1081 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1083 * hildon/hildon-edit-toolbar.c
1084 (hildon_edit_toolbar_init):
1085 Don't let buttons in HildonEditToolbar receive focus.
1087 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1088 typing on an HW arrows key)
1090 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1092 * doc/Makefile.am: Fix build.
1094 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1096 * doc/Makefile.am: Do not redefine content_files.
1098 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1106 Renamed src/ to hildon/
1111 Include <hildon/hildon.h> directly in all examples.
1113 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1115 * src/hildon-sort-dialog.c
1116 (hildon_sort_dialog_add_sort_key_with_sorting)
1120 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1122 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1123 make distcheck passes.
1125 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1127 * Makefile.am: Enable gtk-doc during distcheck.
1129 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1131 * Makefile.am: Do not distribute the debian/ directory.
1133 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1135 * doc/Makefile.am: Add the extra SGML files to content_files,
1136 so that they are distributed properly.
1138 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1140 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1143 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1145 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1146 (hildon_note_new_information_with_icon_name): Set the "icon" property
1147 to preserve soundness.
1149 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1151 * src/hildon-font-selection-dialog.c
1152 (hildon_font_selection_dialog_set_property): Fail when the "family"
1153 property is set to NULL.
1155 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1157 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1160 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1162 * src/hildon-time-selector.h:
1163 Added HildonTimeSelectorFormatPolicy
1164 * src/hildon-time-selector.c:
1165 Added PROP_TIME_FORMAT_POLICY
1166 (_check_ampm_format): renamed to check_automatic_ampm_format
1167 (update_format_policy), (update_format_dependant_columns): new functions
1168 (hildon_time_selector_class_init)
1169 (hildon_time_selector_contructor)
1170 (hildon_time_selector_init)
1171 (hildon_time_selector_get_property)
1172 (hildon_time_selector_set_property)
1173 (hildon_time_selector_get_time)
1174 (hildon_time_selector_set_time)
1175 * src/hildon-touch-selector.h: new file
1176 * src/hildon-touch-selector.c
1177 (hildon_touch_selector_emit_changed)
1178 (hildon_touch_selector_block_changed)
1179 (hildon_touch_selector_unblock_changed)
1180 Added functions to allow to block the emission of the "changed" signal
1181 * src/hildon-picker-dialog.c
1182 (hildon_picker_dialog_show): call the parent show before the custom code
1183 * examples/hildon-time-button-example.c
1184 Modified, so now you can configure the time format using the new property
1186 Added a new property "time-format-policy" that allow to choose the time
1187 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1188 case it uses gconf in order to check if the time selector must use
1191 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1194 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1196 * src/hildon-note.c (hildon_note_init):
1197 Label in HildonNote must be left aligned, not centered. This
1198 reverts the last commit in HildonNote.
1200 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1201 is connectivity dialog)
1203 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1208 * doc/hildon-sections.txt:
1209 Added hildon_gtk_window_set_do_not_disturb()
1211 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1213 * src/hildon-note.c (hildon_note_init): Center label.
1215 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1218 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1223 * configure.ac: Bump version.
1224 * debian/changelog: Updates.
1226 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1228 * src/hildon-note-private.h: Add button-width to the private data.
1229 * src/hildon-note.c (+resize_button),
1230 (+hildon_note_orientation_update): methods to repack widgets on orientation
1232 (screen_size_changed): Call above method for confirmation notes.
1233 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1234 (hildon_note_rebuild): Store the original width request from buttons.
1236 Fixes: NB#109635 (Confirmation notes do not support portrait)
1238 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1240 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1241 when it is a progress note.
1243 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1245 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1246 in the note, since there are no horizontally arranged contents.
1248 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1250 * src/hildon-gtk.c (+set_flag): new generic method to
1251 set/delay a flag setting in a window.
1252 (hildon_gtk_window_set_progress_indicator):
1253 (hildon_gtk_window_set_do_not_disturb),
1254 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1255 avoid code redundance.
1257 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1259 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1261 * src/hildon-gtk.c (set_clear_window_flag),
1262 (do_set_progress_indicator), (do_set_do_not_disturb),
1263 (do_set_portrait_flags),
1264 (hildon_gtk_window_set_progress_indicator),
1265 (hildon_gtk_window_set_do_not_disturb),
1266 (hildon_gtk_window_set_portrait_flags):
1267 Allow setting dnd-flag, progress indicator, and portrait flags
1268 when the window is not realized.
1270 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1272 * src/hildon-pannable-area.c,
1273 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1274 the size request policy function and defines.
1276 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1278 * doc/hildon-sections.txt: Add the new API.
1279 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1280 method to set the portrait flags.
1281 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1283 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1285 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1287 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1288 to allow using this method with other flags.
1289 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1290 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1292 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1294 * src/hildon-touch-selector.c
1295 (hildon_touch_selector_append_text_column):
1296 Make the cell renderer use the smallest width possible.
1298 Fixes: NB#108470 (Selected items in multiple selection are either
1299 having a tick that is cut or not visible at all.)
1301 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1303 * src/hildon-touch-selector.c
1304 (hildon_touch_selector_append_text_column):
1307 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1309 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1310 Use g_strdup_printf() instead of a fixed size buffer.
1312 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1314 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1315 Close banners when a HildonAppMenu is popped up.
1317 Fixes: NB#111027 (Title menu closed immediately if activated when
1318 "Invalid e-mail address" banner is shown)
1320 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1325 * configure.ac: Bump version.
1326 * debian/changelog: Updates.
1328 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1330 * src/hildon-banner.c (hildon_banner_realize):
1331 Mark HildonBanner as supporting portrait mode.
1332 Use GDK to set window properties insetad of direct Xlib calls.
1334 Fixes: NB#111830 (HildonBanner should be marked as supporting
1337 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1339 * src/hildon-note.c (hildon_note_rebuild):
1340 Hide action area in information notes. Prevents text from being
1341 slightly aligned to the left.
1343 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1346 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1348 Patch by Mox Soini (ext-mox.soini@nokia.com)
1350 * src/hildon-banner.c (hildon_banner_create_animation):
1351 Use stylus-sized icons in animation banner.
1353 Fixes: NB#111206 (stylus sized icon for animation banner)
1355 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1359 (+hildon_gtk_window_set_do_not_disturb):
1360 New API to set the do-not-disturb flag.
1362 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1364 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1366 * examples/hildon-progress-indicator-example.c: Fix example
1368 * src/hildon-gtk.c (set_clear_window_flag)
1369 (hildon_gtk_window_set_progress_indicator):
1370 Create a generic function for setting flags to a window.
1371 Use GDK instead of direct Xlib calls.
1373 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1375 * src/hildon-button.c (hildon_button_set_arrangement):
1376 Due to NB#88126, if one of the labels is too long it will be
1377 painted outside the button. The 'value' label is more likely to be
1378 the longest one, so we change its packing options in order to
1379 truncate it if necessary. As a side effect, the 'title' label will
1380 no longer be truncated.
1382 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1384 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1389 * configure.ac: Bump version.
1390 * debian/changelog: Updates.
1392 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1394 Deprecation of the hildon_pannable_area_set_size_request_policy
1395 API, the only policy properly supported in gtk+ nowadays is the
1398 * src/hildon-pannable-area.c,
1399 (hildon_pannable_area_size_request): Added a workaround for the
1400 size_request to avoid the problems of huge pixmaps in case someone
1401 is still using the function.
1402 * src/hildon-pannable-area.h: Deprecated the enum with the
1405 Fixes: NB#110244 (Problems with the
1406 hildon_pannable_area_set_size_request_policy API)
1408 2009-04-08 Alejandro G. Castro <alex@igalia.com>
1410 * src/hildon-pannable-area.c,
1411 (hildon_pannable_area_init),
1412 (hildon_pannable_area_size_request),
1413 (hildon_pannable_area_style_set),
1414 (hildon_pannable_draw_vscroll),
1415 (hildon_pannable_draw_hscroll),
1416 (hildon_pannable_area_check_scrollbars): Replaced area_width with
1417 indicator_width to clarify the use of the attribute.
1419 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
1424 * configure.ac: Bump version.
1425 * debian/changelog: Updates.
1427 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
1429 * src/hildon-picker-dialog.c
1430 * src/hildon-touch-selector.c
1431 Reverting the change that tried to avoid the hardcoded height on
1432 the picker dialog, as causes problems on the hildon-touch-selector
1435 Fixes: NB#110029 (selectors not scrolling to selected value)
1437 2009-04-07 Alberto Garcia <agarcia@igalia.com>
1439 * src/hildon-touch-selector.c: Fix typos
1441 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1443 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1444 Use the event coordinates instead of gdk_window_get_pointer(). Also,
1445 request more motions after using it.
1447 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1449 * src/hildon-calendar.c (hildon_calendar_expose),
1450 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1451 Remove unused variables.
1453 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1455 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1456 variable assignment.
1458 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1460 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1461 Check the return value of gtk_tree_selection_get_selected()
1464 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1466 * src/hildon-animation-actor.c
1467 * src/hildon-button.c
1469 * src/hildon-pannable-area.c
1470 * src/hildon-picker-button.c
1471 * src/hildon-program.c
1472 * src/hildon-remote-texture.c
1473 * src/hildon-text-view.c
1474 * src/hildon-touch-selector.c
1475 * src/hildon-window-stack.c
1476 * src/hildon-window.c:
1477 Add missing 'Since: 2.2' tags.
1479 * doc/hildon-sections.txt:
1480 Add some missing symbols.
1482 * doc/hildon-docs.sgml:
1483 New 'Other' section for HildonAnimationActor and
1486 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1488 Patch by Iván Gómez (igomez@igalia.com)
1491 * doc/compiling.sgml
1492 * doc/hildon-docs.sgml
1493 * doc/hildon-sections.txt
1494 * doc/migration.sgml
1495 * doc/resources.sgml
1497 New chapters on using the Hildon library.
1498 Updated the general structure of the reference manual.
1499 Other minor documentation fixes.
1501 * src/hildon-calendar-popup.c
1502 * src/hildon-calendar.c
1503 * src/hildon-controlbar.c
1504 * src/hildon-date-editor.c
1505 * src/hildon-dialog.c
1506 * src/hildon-hvolumebar.c
1507 * src/hildon-number-editor.c
1508 * src/hildon-range-editor.c
1509 * src/hildon-sort-dialog.c
1510 * src/hildon-time-editor.c
1511 * src/hildon-time-picker.c
1512 * src/hildon-volumebar-range.c
1513 * src/hildon-volumebar.c
1514 * src/hildon-vvolumebar.c
1515 * src/hildon-weekday-picker.c:
1516 Add deprecation notes
1518 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1519 Document 'horizontal-movement' and 'vertical-movement' signals.
1521 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
1526 * configure.ac: Bump version.
1527 * debian/changelog: Updates.
1529 2009-04-06 Alejandro G. Castro <alex@igalia.com>
1531 * src/hildon-pannable-area.c,
1532 (hildon_pannable_area_class_init): increased the minimum velocity.
1533 (hildon_pannable_area_button_release_cb): Updated the
1534 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
1535 setup. Review the code to control that last event.
1537 Fixes: NB#109790 (Releasing finger in pannable area easily causes
1540 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
1542 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1544 * src/hildon-get-password-dialog.c
1545 (hildon_get_password_set_property),
1546 (hildon_get_password_get_property), (create_contents):
1547 * src/hildon-login-dialog-private.h:
1548 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
1549 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
1550 (hildon_login_dialog_get_password):
1551 * src/hildon-set-password-dialog-private.h:
1552 * src/hildon-set-password-dialog.c
1553 (hildon_set_password_set_property),
1554 (hildon_set_password_get_property), (create_contents),
1555 (hildon_set_password_response_change),
1556 (hildon_set_password_response_set), (hildon_checkbox_toggled):
1558 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
1559 instead and look more Fremantle style.
1561 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
1563 2009-04-03 Alberto Garcia <agarcia@igalia.com>
1565 * doc/hildon-sections.txt
1566 * src/hildon-window-stack.h
1567 * src/hildon-window-stack.c
1568 (+hildon_window_stack_get_windows):
1569 New API to obtain the list of windows on a stack.
1571 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1573 * src/hildon-app-menu.c (hildon_app_menu_popup)
1574 (hildon_app_menu_class_init, -hildon_app_menu_show):
1575 Remove hildon_app_menu_show() and move all its checks to
1576 hildon_app_menu_popup()
1578 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
1580 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
1581 (_hildon_picker_dialog_set_selector): removed call to
1582 gtk_widget_set_size_request
1583 * src/hildon-touch-selector.c
1584 (_create_new_column): change the pannable size request policy
1586 Avoid to use a hardcoded height for the hildon picker dialog. In order
1587 to get that, we needed to change the hildon pannable size request
1589 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1591 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1593 * src/hildon-window.c (hildon_window_map): Check for vbox to be
1594 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
1597 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1599 * debian/control: Depend on osso-system-lock localization package.
1600 * src/hildon-code-dialog.c: Obtain the secu_application_title
1601 translation from osso-system-lock.
1602 * src/hildon-get-password-dialog.c (create_contents): Do not mark
1603 for translation the atk related strings, that's not necessary.
1604 * src/hildon-set-password-dialog.c (create_contents): Ditto.
1605 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
1606 cancel button, it is not required.
1608 2009-04-02 Alejandro G. Castro <alex@igalia.com>
1610 * src/hildon-pannable-area.c,
1611 (hildon_pannable_area_class_init): Modified the default value of
1612 the overshooting max speed, we have reduced it.
1614 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1616 * doc/hildon-sections.txt
1617 * src/hildon-window-private.h
1618 * src/hildon-window.h
1619 * src/hildon-window.c (hildon_window_class_init)
1620 (hildon_window_init, hildon_window_finalize)
1621 (hildon_window_realize, hildon_window_get_property)
1622 (hildon_window_set_property, hildon_window_update_markup)
1623 (hildon_window_get_markup, hildon_window_set_markup):
1624 New "markup" property and hildon_window_{get,set}_markup() methods.
1626 * examples/hildon-stackable-window-example.c (new_window):
1627 Update example to use hildon_window_set_markup()
1629 Fixes: NB#106375 (Need API to retitle a window with a title
1632 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1634 * src/hildon-pannable-area.c,
1635 (hildon_pannable_area_class_init): Changed the default value of
1636 the initial_hint to TRUE.
1637 (hildon_pannable_area_initial_effect): Changed the initial effect,
1638 not the effect is just the fade-out of the scrollbars.
1640 Fixes: NB#107775 (No scrollbars can be seen when several items are
1641 available in a dialog)
1643 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1645 * src/hildon-program.c (hildon_program_update_top_most):
1648 Fixes: NB#109179 (Memory leak in Hildon program)
1650 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1652 * src/hildon-banner.c (-get_current_app_window):
1653 Remove unused function.
1655 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1657 * src/hildon-pannable-area.c: Modified the documentation of the
1658 get adjustments functions to explain the problem of using the
1659 adjustment directly.
1660 (hildon_pannable_area_class_init): Improved the explanation about
1663 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1665 * src/hildon-app-menu-private.h
1666 * src/hildon-app-menu.c
1667 (hildon_app_menu_class_init):
1668 Bring back the 'external-border' style property
1669 (hildon_app_menu_class_init, hildon_app_menu_init)
1670 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
1671 Set a fixed width-request for the menu, independent of the number
1674 Fixes: NB#94957 (Smoothly opened application menu)
1676 2009-03-30 Alberto Garcia <agarcia@igalia.com>
1678 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
1680 * src/hildon-banner.c
1681 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
1683 Make sure that the banner is correctly placed the first time it's
1685 (hildon_banner_check_position, -check_fullscreen_state):
1686 Show the banner in the same place no matter if the window is in
1687 fullscreen mode or not.
1689 Fixes: NB#107386 (Odd stacking behaviour for information banners)
1691 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1693 * src/hildon-touch-selector.c (_default_print_func): reorder
1694 concatenation for clarity.
1696 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1698 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
1699 for multicolumn selectors.
1701 Fixes: NB#109099 (Memory leak in Hildon touch selector)
1703 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
1708 * configure.ac: Bump version.
1709 * debian/changelog: Updates.
1711 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
1713 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
1716 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1718 * configure.ac: removed libcangerra-gtk dependency
1719 * debian/control: removed libcanberra-gtk dependency
1720 * src/Makefile.am: removed libcanberra gtk related flags
1721 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1722 context, and manage a global canberra context instead
1724 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1726 2009-03-26 Alberto Garcia <agarcia@igalia.com>
1728 Patch by Daniel Borgmann (danielb@openismus.com)
1730 * src/hildon-edit-toolbar.c:
1731 Adjust the left padding.
1732 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
1733 Paint background of the edit toolbar.
1735 Fixes: NB#107897 (Patch to make editmodetoolbar background
1736 themeable and adjust margin)
1738 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1740 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1742 * src/hildon-program.c (hildon_program_update_top_most):
1743 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
1745 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
1746 change when the user tasks in/out of an application)
1748 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1750 * configure.ac: added libcangerra-gtk dependency
1751 * debian/control: added libcanberra-gtk dependency
1752 * src/Makefile.am: added libcanberra gtk related flags
1753 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
1756 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1758 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1760 * src/hildon-program.c (hildon_program_remove_window)
1761 (hildon_program_add_window): Add checks for the window
1762 parameter. Don't decrease the window counter if the window is not
1765 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1767 * src/hildon-pannable-area.c,
1768 (hildon_pannable_area_realize): Fixed position of the event_window
1769 in the realize method.
1771 2009-03-24 Alberto Garcia <agarcia@igalia.com>
1773 * src/hildon-app-menu-private.h
1774 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
1775 (hildon_app_menu_map, hildon_app_menu_hide_idle)
1776 (hildon_app_menu_key_press, hildon_app_menu_init)
1777 (hildon_app_menu_finalize):
1778 Make sure that all idle functions are removed when the widget is
1781 Fixes: NB#107583 (Hildon app menu crashes in various applications)
1783 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1788 * configure.ac: Bump version.
1789 * debian/changelog: Updates.
1791 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1793 * src/hildon-entry.c
1794 (+hildon_entry_show_placeholder),
1795 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
1796 that replace hildon_entry_update_contents().
1797 (hildon_entry_set_text),
1798 (hildon_entry_set_placeholder),
1799 (hildon_entry_focus_in_event),
1800 (hildon_entry_focus_out_event): Determine when it is needed
1801 either to show or hide the placeholder and call the above methods.
1803 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
1804 when the placeholder text is already set)
1806 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1808 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
1809 simple GdkPixbufAnim using the new icons for the banner.
1810 (hildon_banner_show_animation): Use the above mentioned method to
1811 create the animation widget.
1813 Fixes: NB#103564 (Make hildon animation banner use individual
1814 image files as the animation)
1816 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1818 * src/hildon-pannable-area.c,
1819 (hildon_pannable_leave_notify_event): Check if the child is NULL
1820 to avoid sending the leave.
1822 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1824 * src/hildon-pannable-area.c,
1825 (hildon_pannable_area_class_init),
1826 (hildon_pannable_leave_notify_event): Added a handler of the
1827 leave-notify-signal to consider when no motion notify before
1830 Fixes: NB#107494 (Items stay selected when clicking and moving
1831 away when inside pannable area)
1833 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
1838 * configure.ac: Bump version.
1839 * debian/changelog: Updates.
1841 2009-03-19 Alejandro G. Castro <alex@igalia.com>
1843 Patch by Alberto Garcia (agarcia@igalia.com)
1845 * src/hildon-date-button.c,
1846 (hildon_date_button_class_init),
1847 (hildon_date_button_init): Removed the construct property handling
1848 and created a default selector in the init method.
1849 * src/hildon-picker-button.c,
1850 (hildon_picker_button_class_init): Removed the construct flag of the
1853 2009-03-18 Alberto Garcia <agarcia@igalia.com>
1855 * src/hildon-main.c (hildon_init):
1856 Don't allow hildon_init() to be called more than once.
1858 Fixes: NB#106607 (hildon_init should issue error message upon
1861 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
1863 * examples/hildon-pannable-area-touch-list-example.c
1864 * examples/hildon-pannagle-area-touch-grid-example.c
1865 * examples/hildon-edit-toolbar-example.c
1866 * examples/hildon-touch-selector-multi-cells-example.c
1867 Removed the call to gtk_rc_parse_string, as it is not required since
1870 2009-03-17 Alejandro G. Castro <alex@igalia.com>
1872 * src/hildon-pannable-area.c,
1873 (hildon_pannable_area_class_init): Modified the default panning
1874 threshold of the widget to 6px.
1876 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
1877 than the threshold value ) within the button is not sending the
1880 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1882 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
1883 for the treeview in the new column. This way, the touch list will never
1886 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
1887 be selected manually for the HW keys to work)
1889 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1891 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
1892 comparison instead of using strcmp(). Fixes a compiler warning as well.
1894 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1896 * doc/hildon-docs.sgml: Do not set the library version in the
1897 document title, use the releaseinfo tag for that purpose instead.
1899 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1901 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
1902 Do not jump to the first item if the text in the entry is removed.
1904 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1909 * configure.ac: Bump version.
1910 * debian/changelog: Updates.
1912 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1914 * src/hildon-entry.c (hildon_entry_refresh_contents):
1915 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
1916 Use "ReversedSecondaryTextColor" for the placeholder text.
1918 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1920 * src/hildon-text-view.c: Fix compilation warning.
1922 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1924 * src/hildon-button.c (hildon_button_class_init): Don't make
1925 "title" and "value" construction properties, to prevent them from
1926 overwriting labels set from derived classes.
1928 * src/hildon-picker-button.c
1929 (hildon_picker_button_set_selector): Allow setting a NULL selector.
1930 (hildon_picker_button_class_init): Make touch-selector a
1931 construction property.
1933 * src/hildon-date-button.c (hildon_date_button_class_init)
1934 (+hildon_date_button_constructed): Add a default date selector if
1937 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1939 * src/hildon-touch-selector.c: Small documentation fixes.
1941 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1943 Based on a patch by Daniel Borgmann (danielb@openismus.com)
1945 * src/hildon-entry.c (hildon_entry_refresh_contents),
1946 (hildon_entry_get_text), (hildon_entry_init): Do not use the
1947 widget name, set the logical color directly instead and a boolean
1948 showing_placeholder instead.
1949 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
1950 use the widget name here either.
1952 Fixes: NB#105678 (HildonTextView should use logical colours
1953 instead of setting widget name)
1955 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1957 Patch by Daniel Elster (danielk@openismus.com)
1959 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
1960 Add user_data parameter.
1961 (hildon_touch_selector_set_print_func_full): New function akin
1962 hildon_touch_selector_set_print_func() but with support for user
1963 data and a destroy callback.
1964 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
1965 to clean up the print function user data.
1966 (hildon_touch_selector_class_init): Install dispose function.
1967 (HildonTouchSelectorPrivate::print_user_data),
1968 (HildonTouchSelectorPrivate::print_destroy_func): New private
1970 (hildon_touch_selector_init): Initialize new private members.
1971 (hildon_touch_selector_get_current_text): Pass along user data
1972 to the print function.
1973 (_default_print_func): Add dummy user_data to parameter list.
1974 * hildon-date-selector.c (_custom_print_func): ditto,
1975 * hildon-time-selector.c (_custom_print_func): ditto,
1976 * hildon-touch-selector-entry.c
1977 (hildon_touch_selector_entry_print_func): ditto.
1979 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
1981 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1983 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
1985 2009-03-12 Alejandro G. Castro <alex@igalia.com>
1987 * src/hildon-pannable-area.c,
1988 (hildon_pannable_area_init),
1989 (hildon_pannable_area_button_press_cb),
1990 (hildon_pannable_area_motion_notify_cb): We have added code to
1991 handle the leave and enter events when using the motion events.
1993 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
1995 2009-03-11 Alberto Garcia <agarcia@igalia.com>
1997 * src/hildon-date-button.c (hildon_date_button_get_date)
1998 (hildon_date_button_set_date): Make sure that the button has a
2001 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2003 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2005 * src/hildon-pannable-area.c,
2006 (hildon_pannable_area_class_init),
2007 (hildon_pannable_area_calculate_velocity): Modify the use of the
2008 force and adapt the value.
2010 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2012 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2013 (hildon_app_menu_class_init): Hide the menu if it receives a
2014 delete-event, but don't destroy it
2016 Fixes: NB#104485 (Not able to address the call when application
2017 menu is opened at background)
2019 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2021 * src/hildon-app-menu.c
2022 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2023 Remove the "external-border" style property, let the menu take its
2024 natural size (or the one set by the window manager)
2025 (hildon_app_menu_repack_items):
2026 Don't reshow the menu, avoid flickers.
2028 Partially fixes NB#94957 (Smoothly opened application menu)
2030 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2035 * configure.ac: Bump version.
2036 * debian/changelog: Updates.
2038 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2040 * src/hildon-pannable-area.c,
2041 (hildon_pannable_area_motion_notify_cb): We control that the
2042 direction error margin is used just in case the movement is
2043 allowed in the other direction.
2045 Fixes: NB#105012 (buttons inside a pannable area not getting
2046 release event when dragging/releasing)
2048 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2050 * src/hildon-pannable-area.c,
2051 (hildon_pannable_area_class_init),
2052 (hildon_pannable_area_get_property),
2053 (hildon_pannable_area_set_property),
2054 (hildon_pannable_area_initial_effect),
2055 (hildon_pannable_axis_scroll),
2056 (hildon_pannable_area_button_release_cb): Reviewed the
2057 overshooting effect, now it has its own max
2058 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2059 speed when bouncing.
2061 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2066 * configure.ac: Bump version.
2067 * debian/changelog: Updates.
2069 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2071 * src/hildon-pannable-area.c,
2072 (hildon_pannable_area_class_init): Changed the max speed, now
2073 users can launch the widget very fast. Reduced the default force,
2074 that way it is easier to control the launch speed.
2076 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2078 * src/hildon-pannable-area.c,
2079 (hildon_pannable_area_button_release_cb): Removed this check
2080 because it causes problems when the device is overloaded.
2082 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2084 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2085 add a current_text field to store the text entered in the
2086 touch selector entry.
2087 (_clean_current_selection): clean up the current text as well.
2088 (_save_current_selection), (_restore_current_selection):
2089 Save/restore the text in the entry if the selector is a
2090 HildonTouchSelectorEntry.
2092 Fixes: NB#102541 (value entered in the touch selector entry is not
2093 shown when opened for second time)
2095 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2097 * doc/hildon-sections.txt:
2098 * src/hildon-touch-selector-entry.c
2099 (+hildon_touch_selector_entry_get_entry):
2100 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2102 Fixes: NB#104815 (I need accessor to the entry inside
2103 HildonTouchSelectorEntry)
2105 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2107 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2108 (hildon_app_menu_class_init):
2109 New "filter-vertical-spacing" style property.
2111 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2113 * src/hildon-find-toolbar.c
2114 (hildon_find_toolbar_emit_close)
2115 (hildon_find_toolbar_emit_invalid_input)
2116 (hildon_find_toolbar_entry_activate):
2117 Use g_signal_emit() instead of g_signal_emit_by_name()
2119 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2121 Patch by Mox Soini (ext-mox.soini@nokia.com)
2123 * tests/TEST-CASES.txt
2124 * tests/check-hildon-banner.c
2125 * tests/check-hildon-note.c
2126 * src/hildon-banner.c
2127 * src/hildon-code-dialog.c
2128 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2129 * src/hildon-time-editor.c
2130 * examples/hildon-lookup-example.c (main):
2131 Replace obsolete icon names with new ones.
2133 * src/hildon-find-toolbar-private.h:
2134 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2135 (-hildon_find_toolbar_emit_search):
2136 Remove find button and change icon of close button.
2138 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2140 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2142 * src/hildon-time-button.c (hildon_time_button_new_step):
2143 Use the "touch-selector" property to set the selector directly
2144 when creating the object.
2146 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2148 Added a new example application that allows tuning the pannable
2149 area and replaced defines with properties in order to simplify the
2150 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2151 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2152 PROP_DIRECTION_ERROR_MARGIN.
2154 * examples/hildon-pannable-area-tuning-example.c: New example
2156 * src/hildon-pannable-area.c,
2157 (hildon_pannable_area_class_init),
2158 (hildon_pannable_area_init),
2159 (hildon_pannable_area_get_property),
2160 (hildon_pannable_area_set_property),
2161 (hildon_pannable_area_launch_fade_timeout),
2162 (hildon_pannable_area_adjust_value_changed),
2163 (hildon_pannable_axis_scroll),
2164 (hildon_pannable_area_motion_notify_cb),
2165 (hildon_pannable_area_scroll_cb),
2166 (hildon_pannable_area_button_release_cb): We have converted some
2167 of the defines that control the widget to properties to simplify
2170 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2172 * src/hildon-app-menu.c (hildon_app_menu_map)
2173 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2174 so it's closed if a new window appears.
2176 Fixes: NB#104485 (Not able to address the call when application
2177 menu is opened at background)
2179 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2181 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2182 missing 'break' statement in in 'case' construct to avoid
2185 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2187 * src/hildon-touch-selector-entry.c
2188 (hildon_touch_selector_entry_get_property),
2189 (hildon_touch_selector_entry_set_property): Add missing 'break'
2190 statements in in 'case' constructs to avoid incorrect warnings.
2192 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2194 * src/hildon-time-editor.c
2195 (hildon_time_editor_get_time_separators): Do not crash if
2196 the first label is NULL.
2198 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2200 * src/hildon-date-selector.c (_month_days): Check for month to be
2201 strictly less than 12, since otherwise we may overrun the array.
2203 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2205 * src/hildon-date-button.c (+hildon_date_button_new_full)
2206 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2207 (hildon_date_button_init): Set the date selector using a
2208 construction property, to make it happen after HildonButton's
2209 "value" property is set.
2211 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2212 current date by default)
2214 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2216 * doc/hildon-sections.txt
2217 * src/hildon-program.c
2218 * src/hildon-stackable-window.c
2219 * src/hildon-window.c:
2220 Documentation updates
2222 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2224 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2225 (hildon_window_stack_new, +hildon_window_stack_set_property)
2226 (+hildon_window_stack_get_property)
2227 (hildon_window_stack_class_init)
2228 (+hildon_window_stack_set_window_group)
2229 (+hildon_window_stack_get_window_group):
2230 Make the window group a construction property.
2232 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2234 * doc/hildon-sections.txt
2235 * src/hildon-stackable-window-private.h
2236 * src/hildon-stackable-window.h
2237 * src/hildon-stackable-window.c
2238 (-hildon_stackable_window_set_app_menu)
2239 (-hildon_stackable_window_get_app_menu)
2240 (-hildon_stackable_window_toggle_menu)
2241 (-hildon_stackable_window_finalize)
2242 (hildon_stackable_window_class_init)
2243 (hildon_stackable_window_init)
2244 * src/hildon-window-private.h
2245 * src/hildon-window.h
2246 * src/hildon-window.c (hildon_window_init)
2247 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2248 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2249 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2250 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2251 Moved all HildonAppMenu code to HildonWindow. The menu does not
2252 require a HildonStackableWindow anymore.
2254 * src/hildon-app-menu.c
2255 * src/hildon-program.c
2256 * examples/hildon-app-menu-example.c (main):
2257 Update examples and documentation to reflect HildonAppMenu
2260 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2262 * src/hildon-remote-texture.c
2263 * src/hildon-animation-actor.c:
2264 Don't include unused private headers.
2266 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2268 * src/hildon-program-private.h
2269 * src/hildon-program.c
2270 (hildon_program_set_common_menu)
2271 (hildon_program_get_common_menu)
2272 (hildon_program_set_common_app_menu)
2273 (hildon_program_get_common_app_menu):
2274 Change common menu pointers from GtkWidget* to GtkMenu* and
2275 HildonAppMenu* to avoid unnecessary casts.
2277 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2279 * src/hildon-window.c (hildon_window_set_main_menu):
2280 Removed incorrect 'Since:' tag
2282 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2284 * src/hildon-pannable-area.c,
2285 (hildon_pannable_area_calculate_velocity): We use now the
2286 RATIO_TOLERANCE here to check the distance, fixed typo in the
2288 (hildon_pannable_area_motion_notify_cb): We have to set the type
2289 and time even if we are not sending the motion.
2291 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2293 * doc/hildon-sections.txt
2294 * src/hildon-app-menu.h
2295 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2296 (+hildon_app_menu_get_filters): New methods to get the contents of
2299 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2302 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2304 * src/hildon-app-menu.c (hildon_app_menu_popup):
2307 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2309 * src/hildon-window.h
2310 * src/hildon-window.c (+hildon_window_get_main_menu)
2311 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2312 and deprecated hildon_window_get_menu().
2314 * src/hildon-stackable-window.h
2315 * src/hildon-stackable-window.c
2316 (+hildon_stackable_window_set_app_menu)
2317 (+hildon_stackable_window_get_app_menu)
2318 (hildon_stackable_window_set_main_menu): Created
2319 hildon_stackable_window_{get,set}_app_menu() and deprecated
2320 hildon_stackable_window_set_main_menu().
2322 * doc/hildon-sections.txt
2323 * examples/hildon-app-menu-example.c (main)
2324 * src/hildon-app-menu.c
2325 * src/hildon-program.c:
2326 Updated examples and documentation.
2328 Fixes: NB#103758 (No way to obtain a menu from a
2329 HildonStackableWindow)
2331 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2336 * configure.ac: Bump version.
2337 * debian/changelog: Updates.
2339 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2341 * examples/hildon-remote-texture-example.c: Include
2342 hildon-remote-texture.h explicitely.
2343 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2344 applications not defining _XOPEN_SOURCE which don't require this header.
2346 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2348 * doc/hildon-sections.txt
2349 * src/hildon-app-menu.h
2350 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2351 New function to pop up a HildonAppMenu
2353 * src/hildon-stackable-window.c
2354 (hildon_stackable_window_toggle_menu):
2355 Use hildon_app_menu_popup() to show the menu.
2357 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2359 * src/hildon-app-menu.c (hildon_app_menu_show)
2360 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2361 menu if there's another window between it and its parent window.
2363 Fixes: NB#100468 (Application menu window is launched even when a
2364 new secondary-window/dialog is pending to be shown/realized)
2366 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2368 * src/hildon-window-stack.c (hildon_window_stack_push)
2369 (hildon_window_stack_pop_and_push):
2370 Don't forget to push/pop the first window.
2371 Reverse the window list before calling _push_list()
2373 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2375 * src/hildon-picker-button.h
2376 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2377 Remove "value_changed" slot to avoid ABI breakage
2379 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2381 * src/hildon-pannable-area.c,
2382 (hildon_pannable_area_realize),
2383 (hildon_pannable_area_unrealize),
2384 (hildon_pannable_draw_vscroll),
2385 (hildon_pannable_draw_hscroll): Changed the method to handle the
2386 GC used to draw the transparent scrollbar, this way we avoid
2387 creating the GC all the time when drawing the scrollbars.
2389 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2391 * src/hildon-pannable-area.c,
2392 (hildon_pannable_area_init),
2393 (hildon_pannable_area_remove): Removed some unnecessary casts.
2394 (hildon_pannable_area_dispose): Disconnected some signals before
2395 releasing the adjustments.
2397 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2399 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2400 Make sure that all widgets contained in the toolbar are shown.
2402 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2404 * doc/hildon-sections.txt
2405 * src/hildon-picker-button.h
2406 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2407 (_selection_changed, hildon_picker_button_on_dialog_response)
2408 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2409 New hildon_picker_button_value_changed() method.
2412 * src/hildon-picker-button-private.h
2413 * src/hildon-picker-button.c (hildon_picker_button_init)
2414 (+hildon_picker_button_disable_value_changed): Add protected
2415 function for disabling the "value-changed" signal.
2417 * src/hildon-date-button.c (hildon_date_button_set_date):
2418 Don't emit "value-changed" for each one of the three columns.
2420 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2421 before actual change of values)
2423 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2425 * src/hildon-pannable-area.c,
2426 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2427 for the treeview overshooting.
2429 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2431 * src/hildon-banner.c (+hildon_banner_bind_style):
2432 Renamed from hildon_banner_bind_label_style(), now naming the
2433 banner itself as well.
2434 (hildon_banner_show_information),
2435 (hildon_banner_show_information_with_markup),
2436 (hildon_banner_show_animation), (hildon_banner_show_progress):
2437 Name the widgets and labels, based on their type.
2439 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2442 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2444 * src/hildon-note.c (hildon_note_set_property): call
2445 hildon_note_rename() on HildonNote:note-type set.
2446 (hildon_note_rename): Name the note and its label, based on the
2447 HildonNote:note-type property.
2449 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2452 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2454 * src/hildon-pannable-area.c,
2455 (hildon_pannable_area_class_init),
2456 (hildon_pannable_area_motion_notify_cb): Reviewed the default
2457 panning parameters, increased SPS and deceleration factor. Added
2458 also a margin to control fake directions.
2460 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2462 Patch by Sven Herzberg (sven@imendio.com)
2464 * configure.ac: Add missing AM_PROG_CC_C_0
2465 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2467 See NB#101420 (Update unit tests and fix make check)
2469 2009-02-23 Alejandro G. Castro <alex@igalia.com>
2471 This patch was applied before but reverted because it caused
2472 problems, we have changed the main condition and tested the
2473 regressions we detected before and they work ok. We have done a
2474 complete review of the topmost algorithm in order to get a more
2477 * src/hildon-pannable-area.c,
2478 (hildon_pannable_area_get_topmost): Added a new parameter to
2479 filter the the windows that do not include those events.
2480 (hildon_pannable_area_button_press_cb),
2481 (hildon_pannable_area_button_release_cb),
2482 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2483 topmost function, we have added the new parameter.
2485 Fixes: NB#97458 (Pannable area prevents propagation of button
2488 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2490 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
2491 if all columns in the selector have an item selected.
2492 (_on_dialog_response): Stop "response" signal emission if there is
2493 any selector column without selected items.
2495 Fixes: NB#101889 (Picker dialog should not close when nothing is
2496 selected in multiple selection list)
2498 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2500 * src/hildon-font-selection-dialog.c
2501 (hildon_font_selection_dialog_class_init),
2502 (hildon_font_selection_dialog_init): Remove the preview
2503 button and dialog, since previewing with default theming is likely
2504 to be overcomplicated. The :preview property has now no effect.
2505 Update documentation blurbs to inform about this.
2507 Fixes: NB#92297 (Preview content is not clearly visible for
2508 default colour text)
2510 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2512 Reviewed the geometry that handles the children size and
2513 scrollbar, now it tries a size and reviews the results depending
2514 on the scrollbars visibility.
2516 * src/hildon-pannable-area.c,
2517 (hildon_pannable_area_realize): Fixed a typo.
2518 (hildon_pannable_area_child_allocate_calculate): Added this
2519 function to calculate the child allocation.
2520 (hildon_pannable_area_size_allocate): Reviewed the allocation
2522 (hildon_pannable_area_check_scrollbars),
2523 (hildon_pannable_area_refresh): Refactored refresh function, this
2524 way we can call the code handling the scrollbars without causing a
2525 size_request, it is interesting in the allocate.
2526 (hildon_pannable_area_init): Replace the callbacks of the
2527 value_changed and changed signals to propertly deal with the
2529 (hildon_pannable_area_grab_notify),
2530 (hildon_pannable_area_initial_effect),
2531 (hildon_pannable_area_launch_fade_timeout),
2532 (hildon_pannable_area_adjust_changed),
2533 (hildon_pannable_area_adjust_value_changed),
2534 (hildon_pannable_area_redraw),
2535 (hildon_pannable_area_button_press_cb),
2536 (hildon_pannable_area_button_release_cb),
2537 (hildon_pannable_area_scroll_cb),
2538 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
2539 code and use the new functions adjust_changed and
2540 adjust_value_changed.
2542 Fixes: NB#101603 (Focus is not even for the text entry boxes in
2543 Contact editor dialog)
2545 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
2550 * configure.ac: Bump version.
2551 * debian/changelog: Updates.
2553 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2555 * src/hildon-pannable-area.c,
2556 (hildon_pannable_area_get_topmost),
2557 (hildon_pannable_area_button_press_cb),
2558 (hildon_pannable_area_button_release_cb),
2559 (hildon_pannable_get_child_widget_at): Reverted the patch for the
2560 topmost function adding the event mask. We have to try a
2561 differente approach because it is still causing problems (NB#9745,
2564 2009-02-19 Alberto Garcia <agarcia@igalia.com>
2566 * src/hildon-banner.c:
2567 Update the maximum width of timed banners.
2568 (force_to_wrap_truncated): Enforce the maximum text width if the
2571 Fixes: NB#102413 (The text margins (wrapping) in information
2572 banner should be HILDON_MARGIN_TRIPLE)
2574 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2576 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
2578 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
2579 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
2580 bound when calculating the scroll indicator position.
2582 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
2583 treat ->lower correctly)
2585 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2587 * src/hildon-caption.c (hildon_caption_class_init): Remove the
2588 expose event handling, since it is not necessary to draw the focus
2591 Fixes: NB#102467 (Do not show highlight on the text in
2594 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2596 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
2597 full height of the toolbar for the button and the label.
2599 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2601 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
2602 padding before the label and after the button.
2604 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2606 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
2608 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2609 Add a GtkVSeparator between the button and the back arrow.
2610 Let the button have automatic size.
2611 Set a name to the widget for theming handling.
2613 Fixes: NB#101793 (Make edit toolbar the same height as window
2614 title bar (use title area theming))
2616 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2618 * src/hildon-helper.c (attach_new_color_element): Fix memory
2621 Fixes: NB#102262 (memory leak in hildon_button_set_style())
2623 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2625 * examples/hildon-button-example.c (common_buttons_window): Don't
2628 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2630 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2631 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
2633 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2635 * src/hildon-gtk.c: Check that the window is realized.
2637 Fixes: NB#102225 (Crash setting the progress indicator to a non
2640 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2642 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
2643 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
2644 instead of modifying the one in the widget style.
2646 Fixes: NB#101043 (Second row of all the command button are
2647 displayed in transparent mode.)
2649 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2651 * src/hildon-date-button.c
2652 * src/hildon-time-button.c: Add gettext macros
2654 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
2656 * src/hildon-date-button.c (hildon_date_button_new):
2657 * src/hildon-time-button.c (hildon_time_button_new_step):
2658 Use new logical strings to set the button default title.
2660 Fixes: NB#99915 (Date and Time options are not localised in Date
2663 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2665 * src/hildon-pannable-area.c
2666 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
2667 the PANNING_THRESHOLD.
2669 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2671 * src/hildon-pannable-area.c,
2672 (hildon_pannable_area_class_init): Increased the maximum speed.
2673 (hildon_pannable_area_get_property),
2674 (hildon_pannable_area_set_property),
2675 (hildon_pannable_area_timeout): Added a new low friction mode, it
2676 allows the user avoid friction when launching the widget fast
2677 enough. It is interesting to traverse long lists.
2679 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2681 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
2682 (+hildon_stackable_window_delete_event): Ignore delete events if
2683 the window is not the topmost one.
2685 Fixes: NB#101698 (Back button long press and delete-event handling)
2687 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2689 * src/hildon-pannable-area.c,
2690 (hildon_pannable_area_motion_notify_cb): Removed the use of the
2691 gtk-dnd-drag-threshold, it was too big. We have defined our own
2692 dnd define and set a smaller value: PANNIG_THRESHOLD.
2694 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2696 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
2697 user-defined icons, use always the default one.
2699 Fixes: NB#101916 (Do not allow custom icons on animation banner)
2701 2009-02-13 Alejandro G. Castro <alex@igalia.com>
2703 This patch was applied before but reverted because it caused
2704 problems, we have changed the main condition and tested the
2705 regressions we detected before and they work ok.
2707 * src/hildon-pannable-area.c,
2708 (hildon_pannable_area_get_topmost): Added a new parameter to
2709 filter the the windows that do not include those events. Added
2710 also a condition when finding the window to filter windows that do
2711 not ask for those events.
2712 (hildon_pannable_area_button_press_cb),
2713 (hildon_pannable_area_button_release_cb),
2714 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2715 topmost function, we have added the new parameter.
2717 Fixes: NB#97458 (Pannable area prevents propagation of button
2720 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2722 * tests/check-hildon-color-button.c (START_TEST): do not leak
2725 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2727 * src/hildon-font-selection-dialog.c
2728 (hildon_font_selection_dialog_get_preview_text): Return NULL
2729 instead of FALSE on the g_return_val_if_fail().
2731 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2733 * src/hildon-time-selector.c (hildon_time_selector_set_time):
2734 * src/hildon-date-selector.c
2735 (hildon_date_selector_select_current_date):
2736 Do not compare unsigned integers to be greater than or equal 0,
2737 because it's always TRUE.
2739 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2741 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
2742 (hildon_date_selector_constructor): Do not select the current
2743 date until we are handle the "changed" signal, to avoid having bogus
2744 elements in the days model.
2746 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2748 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
2749 for num_days, since _month_days() can return a negative value.
2751 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2753 * src/hildon-caption.c (hildon_caption_size_allocate):
2754 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
2755 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
2757 Initialize allocation variables to 0, to avoid eventually using
2758 unitialized variables.
2760 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2762 * src/hildon-bread-crumb-trail.c
2763 (hildon_bread_crumb_trail_size_allocate):
2764 * src/hildon-calendar.c (hildon_calendar_set_background):
2765 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
2766 * src/hildon-range-editor.c (hildon_range_editor_get_range):
2767 * src/hildon-seekbar.c (hildon_seekbar_init):
2768 * src/hildon-time-editor.c (hildon_time_editor_get_time):
2769 * src/hildon-time-selector.c (hildon_time_selector_finalize):
2770 * src/hildon-touch-selector-entry.c
2771 (hildon_touch_selector_get_text_from_model):
2772 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
2773 * src/hildon-window.c (hildon_window_finalize):
2775 Remove many unused variables.
2777 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2779 * src/hildon-seekbar.c: (hildon_seekbar_init),
2780 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
2782 Remove unnecessary g_assert() calls.
2784 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2786 * src/hildon-caption.c: (hildon_caption_expose),
2787 (hildon_caption_set_property), (hildon_caption_init),
2788 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
2789 (hildon_caption_size_request), (hildon_caption_size_allocate),
2790 (hildon_caption_forall), (hildon_caption_set_separator),
2791 (hildon_caption_activate), (hildon_caption_set_child_expand),
2792 (hildon_caption_set_label_text),
2793 (hildon_caption_get_label_alignment):
2795 Remove unnecessary g_assert() calls.
2797 2009-02-12 Alberto Garcia <agarcia@igalia.com>
2799 * src/hildon-banner.c
2800 (hildon_banner_map, hildon_banner_init): Make banner temporary
2801 before mapping it to avoid closing other temporary windows, but
2802 make it non-temporary afterwards to avoid being closed by other
2803 non-temporary windows.
2804 (-hildon_banner_client_event, hildon_banner_init):
2805 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
2807 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
2810 2009-02-11 Alberto Garcia <agarcia@igalia.com>
2812 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
2815 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2817 * src/hildon-remote-texture.c
2818 * src/hildon-remote-texture.h
2819 * src/hildon-remote-texture-private.h
2820 * examples/hildon-remote-texture-example.c:
2821 Updates/fixes to remote-texture and its example.
2823 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
2825 Patch by Mox Soini (ext-mox.soini@nokia.com)
2827 * src/hildon-code-dialog.c: Update logical id.
2828 * src/hildon-set-password-dialog.c: Update logical id.
2830 Fixes: NB#100646 (Logical strings is shown for ok in set
2831 password,Password needed dialogs)
2833 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2836 * src/hildon-remote-texture.c
2837 * src/hildon-remote-texture.h
2838 * src/hildon-remote-texture-private.h
2840 Added remote texture widget (for Clutter shared memory textures)
2842 * examples/hildon-remote-texture-example.c
2843 * examples/Makefile.am
2844 Added example file for remote texture usage
2846 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
2848 * configure.ac: post release version bump.
2849 * debian/changelog: version bump.
2851 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
2856 * configure.ac: Bump version.
2857 * debian/changelog: Updates.
2859 2009-02-06 Alberto Garcia <agarcia@igalia.com>
2861 * src/hildon-date-selector.c (hildon_date_selector_init)
2862 (hildon_date_selector_constructor): Don't connect to the "changed"
2863 signal until the selector is completely constructed.
2865 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2867 * src/hildon-touch-selector.c: (_create_new_column),
2868 (hildon_touch_selector_append_column),
2869 (hildon_touch_selector_set_column_selection_mode),
2870 (hildon_touch_selector_set_active),
2871 (hildon_touch_selector_select_iter):
2872 Emit the HildonTouchSelector::changed signal every time selection
2873 is changed in any of the methods above. This behavior was already
2874 documented but not fully functional.
2876 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
2877 selection is programmatically changed)
2879 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2881 * doc/hildon-sections.txt: Remove obsolete icon
2882 sizes from here as well.
2884 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2886 * examples/hildon-stackable-window-example.c (add_window): Remove
2889 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2891 * src/hildon-app-menu.c
2892 (hildon_app_menu_show): Check whether the parent window of a menu
2893 is topmost before popping it up.
2895 Fixes: NB#100468 (Application menu window is launched even when a
2896 new secondary-window/dialog is pending to be shown/realized.)
2898 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2900 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
2903 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2905 Patch by Mox Soini (ext-mox.soini@nokia.com)
2907 * src/hildon-banner.c: (hildon_banner_show_animation):
2908 use stylus size instead of obsolete note size.
2909 * src/hildon-defines.h: Update icon sizes.
2911 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2913 * src/hildon-touch-selector-entry.c:
2914 (hildon_touch_selector_entry_init): Disable unsupported
2916 (hildon_touch_selector_entry_get_text_column): Emit a warning
2917 if an unsupported input modes is used and explicitile state
2918 these modes in the documentation.
2920 Fixes: NB#99802 (Hildon touch selector entry not working properly
2921 for some of the input modes)
2923 2009-02-05 Alejandro G. Castro <alex@igalia.com>
2925 * src/hildon-pannable-area.c,
2926 (hildon_pannable_area_init): Added the changed signal handlers of
2929 Fixes: NB#100320 (HildonPannableArea does not listen to
2930 GtkAdjustment "change" signals)
2932 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2934 * doc/hildon-sections.txt
2935 * src/hildon-window-private.h
2936 * src/hildon-window.h
2937 * src/hildon-window.c (hildon_window_init)
2938 (hildon_window_realize, hildon_window_unrealize)
2939 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
2940 (hildon_window_size_request, hildon_window_size_allocate)
2941 (hildon_window_forall, hildon_window_show_all)
2942 (hildon_window_destroy, +paint_edit_toolbar)
2943 (+hildon_window_set_edit_toolbar):
2944 New hildon_window_set_edit_toolbar() method, to add a
2945 HildonEditToolbar to a window without having to pack it manually.
2947 Reorganize hildon_window_size_allocate()
2949 * src/hildon-edit-toolbar.c: Update documentation.
2951 * examples/hildon-edit-toolbar-example.c (edit_window): Update
2952 example to use the new API.
2954 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
2956 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2958 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
2959 Remove from stack before calling parent's hide.
2961 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2963 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
2964 window is removed from the middle of the stack, update the
2965 transiency of the previous one.
2967 Fixes: NB#100487 (HildonStackableWindow transiency becomes
2970 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2972 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
2973 block/unblock the signal handler if it's not actually being used.
2974 Fixes some critical warnings.
2976 2009-02-02 Alberto Garcia <agarcia@igalia.com>
2978 Based on a patch by Iván Gómez (igomez@igalia.com)
2980 * src/hildon-banner.c
2984 * src/hildon-pannable-area.c
2985 * src/hildon-picker-dialog.c
2986 * src/hildon-wizard-dialog.h
2987 * src/hildon-wizard-dialog.c: Documentation updates.
2989 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
2990 gtk_dialog_add_button() instead of hildon_dialog_add_button().
2992 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2994 * configure.ac: post release version bump.
2995 * debian/changelog: version bump.
2997 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3002 * configure.ac: Bump version.
3003 * debian/changelog: Updates.
3005 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3007 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3008 a stock icon nor change the relief of the back arrow.
3010 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3011 graphics from theme)
3013 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3015 * src/hildon-button.c (hildon_button_set_alignment): Use
3016 priv->alignment if the button has no child yet.
3018 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3020 * src/hildon-button.c: (hildon_button_init): Set the
3021 button style during initialization to give it the proper
3024 Fixes: NB#99713 (HildonButton value label color is wrong)
3026 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3028 * src/hildon-touch-selector.c: Document
3029 hildon_touch_selector_center_on_selected()
3031 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3033 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3034 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3035 all menu items, but not the menu itself.
3036 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3037 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3038 items after adding them to the menu so keyboard accelerators work.
3039 (hildon_app_menu_show): Don't show the menu if it contains items
3040 but none of them are visible.
3042 * examples/hildon-app-menu-example.c (create_menu): Use
3043 gtk_widget_show_all() to show all menu items.
3045 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3047 * src/hildon-picker-dialog.c:
3048 (-_update_title_on_selector_changed_cb),
3049 (-_dialog_update_title): Removed.
3050 (_select_on_selector_changed_cb), (_on_dialog_response),
3051 (on_selector_columns_changed): Do not update the dialog title.
3052 (setup_interaction_mode): Do not connect to
3053 HildonTouchSelector::changed signal if there's a "done" button, as
3054 the dialog title doesn't need to be updated.
3056 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3059 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3061 Patch by Kristian Rietveld (kris@imendio.com)
3063 * src/hildon-touch-selector.c: (_create_new_column): Use new
3064 GtkTreeView::hildon-row-tapped signal to react to user interactions
3065 instead of ::changed.
3067 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3068 with some dynamic tree model)
3070 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3072 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3073 (+screen_size_changed, +label_size_request)
3074 (hildon_note_class_init): Make the Hildon information note have a
3075 minimum height, and make its text hvae a maximum width.
3077 Fixes: NB#98614 (Hildon information note (background) should have
3078 minimum height and maximum text width)
3080 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3082 * src/hildon-banner.h
3083 * src/hildon-banner.c (hildon_banner_show_information)
3084 (hildon_banner_show_informationf)
3085 (hildon_banner_show_information_with_markup): Update documentation
3086 to reflect that the icon_name parameter is not used anymore.
3087 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3088 Remove all code from these functions and mark them as deprecated.
3089 (hildon_banner_show_progress): Mark as deprecated.
3091 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3093 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3095 * src/hildon-pannable-area.c,
3096 (hildon_pannable_area_class_init),
3097 (tranparency_color),
3098 (hildon_pannable_draw_vscroll),
3099 (hildon_pannable_draw_hscroll),
3100 (hildon_pannable_area_expose_event): Added a new way to render the
3101 scrollbars of the pannable area avoiding using cairo at all. This
3102 way we improve the performance of the pannable area rendering. The
3103 cairo rendering procedure is still in the code, we can control
3104 which one to use changing the value of the define
3105 USE_CAIRO_SCROLLBARS.
3107 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3109 * configure.ac: post release version bump.
3110 * debian/changelog: version bump.
3112 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3117 * configure.ac: Bump version.
3118 * debian/changelog: Updates.
3120 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3122 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3123 banners instead of destroying them when they receive a button
3126 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3128 Reverted commit 34028, it was causing regressions, probably the
3129 topmost condition is not correct, we have to check it in more
3130 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3131 propagation of button press events)
3133 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3135 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3136 that the selection is not empty before attempting to retrieve the
3137 current ampm selection.
3139 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3141 * src/hildon-picker-button.c:
3142 (hildon_picker_button_on_dialog_response): Directly update the
3143 button contents when required instead of calling _selection_changed.
3145 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3147 * src/hildon-program.c (hildon_program_update_top_most): Update
3148 'is-topmost' property also when wm_hints is not set.
3150 Fixes: NB#98383 (is-topmost signal is not emitted when task
3151 switcher is clicked.)
3153 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3155 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3159 * src/hildon-animation-actor.c,
3160 * src/hildon-animation-actor.h: Added the animation actor class,
3161 this widget represents an animation actor for WM-assisted
3162 animation effects in the Hildon framework.
3164 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3166 * src/hildon-window-stack-private.h
3167 * src/hildon-window-stack.c
3168 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3169 Avoid calling gtk_widget_show() again indirectly from
3170 hildon_stackable_window_show()
3172 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3174 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3177 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3179 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3180 (hildon_time_selector_init): Move the construction of the hours and
3181 ampm columns to the constructor to preserve the order the columns
3184 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3186 * src/hildon-picker-dialog.c:
3187 (hildon_picker_dialog_class_init): Connect a realize method.
3188 (+hildon_picker_dialog_realize): Setup the interaction mode here
3190 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3191 yet, do it during the realize instead.
3192 (_on_dialog_response):
3193 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3194 if the widget is not realized, to avoid the dialog response before it
3197 Avoid premature responses in the HildonPickerDialog that can cause it
3198 to be hidden before it's even shown.
3200 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3202 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3203 (on_selector_columns_changed), (requires_done_button),
3204 (+prepare_action_area), (setup_interaction_mode),
3205 (_hildon_picker_dialog_set_selector):
3207 Split the interaction mode setup into preparation of the
3208 action area (prepare_action_area()) and the connection of
3209 the signals in setup_interaction_mode() and update the code to
3212 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3214 * src/hildon-pannable-area.c,
3215 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3216 per second to 15, we will check if this is ok regarding
3219 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3221 * src/hildon-pannable-area.c,
3222 (hildon_pannable_axis_scroll): Avoid resize if we already have
3223 reached overshoot_max.
3225 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3227 * src/hildon-pannable-area.c,
3228 (hildon_pannable_area_init),
3229 (hildon_pannable_area_realize),
3230 (hildon_pannable_area_size_allocate),
3231 (hildon_pannable_area_map),
3232 (hildon_pannable_area_unmap),
3233 (hildon_pannable_draw_vscroll),
3234 (hildon_pannable_draw_hscroll),
3235 (hildon_pannable_area_expose_event),
3236 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3237 pannable are to avoid the expose events go to the window and
3238 redraw the window. We save this way that part of the stack and the
3239 paint_boxes. We had to change the positions of the elements when
3242 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3244 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3245 * src/hildon-color-chooser-dialog.c:
3246 (hildon_color_chooser_dialog_init):
3247 * src/hildon-font-selection-dialog.c:
3248 (hildon_font_selection_dialog_init),
3249 (hildon_font_selection_dialog_show_preview):
3250 * src/hildon-get-password-dialog.c:
3251 * src/hildon-login-dialog.c:
3252 * src/hildon-set-password-dialog.c:
3253 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3254 * src/hildon-time-picker.c: (hildon_time_picker_init):
3256 Remove obsolete logical string IDs and update to the appropriate ones.
3258 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3260 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3262 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3263 that happens if the window hasn't been realized yet.
3265 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3266 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3268 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3270 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3271 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3274 Fixes: NB#98537 (Device hangs in account settings dialog)
3276 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3278 * configure.ac: post release version bump.
3279 * debian/changelog: version bump
3281 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3286 * configure.ac: Bump version.
3287 * debian/changelog: Updates.
3289 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3291 Added a new function to the HildonTimeButton widget that allows to
3292 change the step of the minutes in the selector associated with the
3293 button: hildon_time_button_new_step
3295 * src/hildon-time-button.c,
3296 (hildon_time_button_init),
3297 (hildon_time_button_new),
3298 (hildon_time_button_new_step):
3299 * src/hildon-time-button.h: Added the new function and refactored
3301 * examples/hildon-time-button-example.c,
3302 (main): We have replaced the function without parameters with the
3303 function with the steps set to 5
3305 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3307 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3309 * src/hildon-time-selector.c,
3310 (hildon_time_selector_class_init),
3311 (hildon_time_selector_constructor),
3312 (hildon_time_selector_get_property),
3313 (hildon_time_selector_set_property),
3314 (_create_minutes_model),
3315 (hildon_time_selector_new_step),
3316 (hildon_time_selector_set_time),
3317 * src/hildon-time-selector.h: Added a new property to the
3318 HildonTimeSelector (minutes-step), we use that property to control
3319 the steps between the minutes in the list of the selector. We have
3320 added a new function to the API to create a widget changing the
3321 step: hildon_time_selector_new_step.
3323 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3325 * src/hildon-time-selector.c,
3326 (hildon_time_selector_class_init),
3327 (hildon_time_selector_constructor),
3328 (hildon_time_selector_init): Overrided the construct function when
3329 creating the time selector object. We have moved the minutes model
3330 handling code from the init to the new construction function:
3331 hildon_time_selector_constructor.
3333 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3335 * examples/hildon-date-button-example.c: (main): Use the new
3336 hildon_date_button_new_with_year_range() method in the example.
3337 * src/hildon-date-button.c:
3338 (+hildon_date_button_new_with_year_range): New public method
3339 to conveniently create a HildonDateButton with a custom year range
3340 in its HildonDateSelector.
3341 * src/hildon-date-button.h: Add the new public method definition.
3343 Fixes: NB#97908 (Not possible to change the year range in
3344 HildonDateSelector/HildonDateButton)
3346 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3348 * src/hildon-date-selector.c:
3349 (+hildon_date_selector_set_property),
3350 (+hildon_date_selector_get_property),
3351 (hildon_date_selector_class_init): Install new properties "min-year"
3352 and "max-year" to define boundaries for the year column.
3353 (_create_year_model): Use the boundary properties to populate the model.
3354 (+hildon_date_selector_new_with_year_range): New public method to
3355 create a HildonDateSelector with a user defined year range.
3356 (hildon_date_selector_select_current_date): Use the new boundaries to
3357 calculate the iterator of current year.
3358 * src/hildon-date-selector.h: Add the new public method definition.
3360 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3362 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3363 Install a constructor method.
3364 (+hildon_date_selector_construct_ui): construct the widget.
3365 (+hildon_date_selector_constructor): new constructor.
3366 (+hildon_date_selector_init): move out widget construction code to
3367 the new constructor.
3369 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3371 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3372 that there's actually a month or year selected before obtaining them.
3373 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3374 of the HildonTouchSelector::changed signal, as it was emitted on every
3375 single item selection.
3377 Fix some warnings and possible crashers due to the selection restoring.
3379 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3381 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3382 the signal handlers only after creating the dialog instead of on every
3385 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3387 * src/hildon-button.c (hildon_button_init)
3388 * src/hildon-check-button.c (hildon_check_button_init)
3389 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3390 focus when clicked by default.
3392 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3394 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3397 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3399 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3400 Alejandro G. Castro (alex@igalia.com)
3402 * src/hildon-picker-dialog.c:
3403 (hildon_picker_dialog_class_init): install new "center-on-show"
3405 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3406 (hildon_picker_dialog_set_property): add setter code for the new
3408 (hildon_picker_dialog_get_property): add getter code for the new
3410 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3411 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3414 Fixes: NB#92849 (Selected item is not always visible when
3415 HildonTouchSelector is shown)
3417 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3419 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3420 Alejandro G. Castro (alex@igalia.com)
3422 * src/hildon-touch-selector.c:
3423 (_create_new_column): Do not connect to the "realize" signal of the
3425 (hildon_touch_selector_append_column): center on the selected items
3426 when a new column is appended.
3427 (hildon_touch_selector_select_iter): Factor out the code to select a
3428 column to hildon_touch_selector_scroll_to().
3429 (+search_nearest_element): Method to retrieve the nearest selected
3430 element to the visible area of the pannable area in a column.
3431 (+on_realize_cb): scroll to the initially selected item.
3432 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3433 the pannable area is realized, otherwise delay this until it is.
3434 (+_hildon_touch_selector_center_on_selected_items): Centers on the
3435 selected items of a given column.
3436 (+hildon_touch_selector_center_on_selected): Public method to center
3437 all columns on the nearest selected item.
3438 * src/hildon-touch-selector.h: Add definition for
3439 hildon_touch_selector_center_on_selected().
3441 Implement public API to ensure visibility of all selected items in
3442 a HildonTouchSelector.
3444 2009-01-16 Alejandro G. Castro <alex@igalia.com>
3446 Fixed a problem in the fading when calling the scroll_to API, and
3447 improve scrollbar fading handling.
3449 * src/hildon-pannable-area.c,
3450 (hildon_pannable_area_grab_notify): avoid the timeout when the
3452 (hildon_pannable_area_button_press_cb),
3453 (hildon_pannable_area_motion_notify_cb): Code style changes.
3454 (hildon_pannable_area_button_release_cb): Review the conditions
3455 when releasing the mouse button to avoid unrequired fading
3457 (hildon_pannable_area_scroll_to): Do not calculate and set the
3458 velocity if the scroll is not required.
3460 2009-01-15 Alberto Garcia <agarcia@igalia.com>
3462 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3463 Don't check whether the new selector is NULL: it cannot be.
3464 Hold a reference to the selector while doing the replacement.
3466 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3468 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3469 unnecessary size_request in a removed widget.
3471 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3473 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3474 an unnecessary reference tracking that was leaking.
3476 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3478 Added delayed motion notify event handling, this way we can
3479 discard redrawing if more than 25 events arrive per second.
3481 * src/hildon-pannable-area.c,
3482 (hildon_pannable_area_init): Initialized the new private atributes
3483 controlling this timeout
3484 (hildon_pannable_area_dispose): Remove the timeout that controls
3485 the motion notify events.
3486 (hildon_pannable_area_scroll): Added a condition to control the
3487 use of the acceleration.
3488 (hildon_pannable_area_motion_event_scroll_timeout),
3489 (hildon_pannable_area_motion_event_scroll): Added this two
3490 functions, they handle the motion notify events inside the
3492 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
3493 to the scroll method with the new function.
3494 (hildon_pannable_area_button_release_cb): We have to remove the
3495 timeout handler and move to the last position if the last motion
3496 events were not handled.
3498 Fixes: NB#97028 (Pannable area updates on every motion event)
3500 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3502 * src/hildon-pannable-area.c,
3503 (hildon_pannable_area_get_topmost): Added a new parameter to
3504 filter the the windows that do not include those events. Added
3505 also a condition when finding the window to filter windows that do
3506 not ask for those events.
3507 (hildon_pannable_area_button_press_cb),
3508 (hildon_pannable_area_button_release_cb),
3509 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3510 topmost function, we have added the new parameter.
3512 Fixes: NB#97458 (Pannable area prevents propagation of button
3515 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3517 * src/hildon-pannable-area.c,
3518 (hildon_pannable_area_initial_effect): Added controls before
3519 launching the timeout and the idle functions.
3520 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
3521 of the method, in some situations it can return with TRUE and 0 in
3523 (hildon_pannable_area_button_press_cb): We do not need to set
3524 DELAY for fading out here.
3526 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
3528 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3530 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
3531 post-cleaning if the selection is not NULL.
3533 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3535 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
3536 all items before restoring the selection.
3538 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3540 * src/hildon-touch-selector.c:
3541 (+hildon_touch_selector_unselect_all):
3542 * src/hildon-touch-selector.h: New API to unselect all items in a
3543 column of the touch selector.
3545 2009-01-14 Alejandro G. Castro <alex@igalia.com>
3547 * src/hildon-pannable-area.c,
3548 (hildon_pannable_area_redraw): Added a call to the refresh
3549 function inside the redraw because apparently in some cases the
3550 change in the adjustment does not imply a size allocate.
3552 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
3553 despite the view not being scrollable)
3555 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3557 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
3558 leak. Check for NULL before attempting to set the window title.
3560 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3562 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
3563 whether to show or not the 'Done' button each time the dialog is
3564 shown, as it depends on the HildonTouchSelector selection mode.
3566 Fixes: NB#96226 (In multiple selection mode Done button is shown
3567 sometimes in listpicker)
3569 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3571 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3572 for the number of columns in the HildonTouchSelector more than once.
3574 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3576 * src/hildon-touch-selector.c: Minor documentation fixes.
3578 * src/hildon-picker-dialog.c (+_dialog_update_title)
3579 (_select_on_selector_changed_cb)
3580 (_update_title_on_selector_changed_cb)
3581 (on_selector_columns_changed): Update dialog title when there's no
3582 'Done' button and also when the number of columns in the selector
3586 * src/hildon-picker-button.c (hildon_picker_button_finalize)
3587 (+_selection_changed, hildon_picker_button_on_dialog_response)
3588 (hildon_picker_button_selector_selection_changed)
3589 (+hildon_picker_button_selector_columns_changed)
3590 (hildon_picker_button_set_selector): Update button value and emit
3591 'value-changed' when the number of columns in the selector
3595 Fixes: NB#96225 (Dialog titles are not shown according to the
3596 values selected in the list picker)
3598 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3600 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
3601 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
3602 New "arrow-width" and "arrow-height" style properties to set the
3603 size of the arrow button.
3604 Set name of arrow button ("hildon-edit-toolbar-arrow").
3606 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3607 graphics from theme)
3609 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3611 * src/hildon-picker-button.c:
3612 (hildon_picker_button_selector_selection_changed): Use
3613 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
3614 the dialog is present.
3616 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
3617 the selection is accepted in the dialog)
3619 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3621 * src/hildon-color-chooser.h
3622 * src/hildon-color-chooser-dialog.h:
3623 Added G_BEGIN_DECLS and G_END_DECLS
3625 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3627 (_clean_current_selection): plug a leak in the list.
3629 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3631 * src/hildon-picker-dialog.c:
3632 (+free_path_list): Method to free a GList of GtkTreePaths.
3633 (_clean_current_selection), (_save_current_selection),
3634 (_restore_current_selection): Save the current selection in
3635 as a list of lists, to support multiple selection properly.
3637 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3639 patch by Claudio Saavedra (csaavedra@igalia.com)
3641 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
3642 Store the press position.
3643 (+hildon_text_view_button_release_event): If the release position is
3644 close enough to the press position, move the cursor here. Otherwise,
3646 (hildon_text_view_class_init): Override GtkTextView press, release, and
3647 motion event handlers, disabling this way text selection through
3648 pointer interaction, and allowing the container widget to handle the
3651 Fixes: NB#95828 (HildonTextView functionality)
3653 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3655 Based on a patch by Iván Gómez (igomez@igalia.com)
3657 * src/hildon-button.[ch]
3658 * src/hildon-calendar.c
3659 * src/hildon-check-button.c
3660 * src/hildon-date-editor.c
3661 * src/hildon-date-selector.c
3662 * src/hildon-picker-button.c
3663 * src/hildon-time-editor.c
3664 * src/hildon-time-selector.c
3665 * src/hildon-touch-selector.[ch]:
3666 Documentation updates
3668 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3670 * src/hildon-pannable-area.c,
3671 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
3672 threshold, it was required due to X events handling.
3674 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3676 * src/hildon-pannable-area.c,
3677 (hildon_pannable_area_grab_notify),
3678 (hildon_pannable_area_initial_effect),
3679 (hildon_pannable_area_button_press_cb),
3680 (hildon_pannable_area_button_release_cb),
3681 (hildon_pannable_area_scroll_cb),
3682 (hildon_pannable_area_scroll_to): Review the timeout management of
3683 the scrollbar, the frecuency was incorrectly set.
3685 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
3687 * src/hildon-picker-button.c:
3688 (+hildon_picker_button_on_dialog_response),
3689 (hildon_picker_button_clicked): Present the dialog instead of
3690 running it with gtk_dialog_run().
3692 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
3695 2009-01-07 Alberto Garcia <agarcia@igalia.com>
3697 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3698 (hildon_app_menu_finalize): When a window is hidden it doesn't
3699 emit notify::is-topmost, so make sure than the menu also
3700 disappears in that case.
3701 (parent_window_topmost_notify): Renamed from parent_window_hidden
3703 Fixes: NB#94460 (stackable window's menu is not closed when its
3706 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3708 * src/hildon-touch-selector-entry.c:
3709 (+hildon_touch_selector_entry_set_input_mode),
3710 (+hildon_touch_selector_entry_get_input_mode):
3711 * src/hildon-touch-selector-entry.h: New methods to access the input
3712 mode in the selector's entry.
3714 Fixes: NB#93410 (API required for setting IM mode in
3715 HildonTouchSelectorEntry)
3717 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3719 * configure.ac: post release version bump.
3720 * debian/changelog: version bump
3722 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3727 * configure.ac: Bump version.
3728 * debian/changelog: Updates.
3730 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
3732 * src/hildon-touch-selector.c:
3733 (_hildon_touch_selector_has_multiple_selection): No need
3734 to initialize the variables here.
3736 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3738 * src/hildon-note-private.h
3739 * src/hildon-note.c (event_box_press_event, hildon_note_init)
3740 (hildon_note_finalize, hildon_note_rebuild): Close information
3741 notes when they receive a button press.
3743 Fixes: NB#89890 (Information notes does not get disappeared after
3746 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
3748 * src/hildon-wizard-dialog.c: (create_title): Remove translation
3749 mark from the wizard title, as it's not really necessary. Also,
3750 do not display the page title if not set.
3752 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3754 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3755 (parent_window_hidden): Use the window's "is-topmost" property to
3756 detect when to hide the menu.
3758 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3760 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3761 (hildon_app_menu_finalize): If the parent window of the menu is
3762 hidden, hide the menu too.
3764 Fixes: NB#94460 (stackable window's menu is not closed when its
3767 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3770 * debian/libhildon1-examples.install
3772 * examples/Makefile.am:
3773 Use dh_install to install all examples.
3774 Use DEB_SRCDIR instead of defining SOURCE_DIR
3776 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3778 * configure.ac: post release version bump.
3779 * debian/changelog: version bump
3781 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3786 * configure.ac: bump version
3787 * debian/changelog: updates
3788 * debian/control: bump gtk+ dependency
3790 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3792 patch by Christian Dywan (christian@imendio.com)
3794 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
3795 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
3797 2008-12-15 Alberto Garcia <agarcia@igalia.com>
3799 * src/hildon-check-button.c (hildon_check_button_init)
3800 (hildon_check_button_class_init, hildon_check_button_style_set)
3801 (hildon_check_button_apply_style):
3802 New "checkbox-size" style property.
3804 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
3805 larger / configurable size)
3807 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3809 * configure.ac: post release version bump.
3810 * debian/changelog: version bump
3812 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3817 * configure.ac: bump version
3818 * debian/changelog: updates
3820 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3822 * doc/hildon-sections.txt
3823 * src/hildon-pannable-area.c
3824 * src/hildon-program.c
3825 * src/hildon-time-editor.c
3826 * src/hildon-touch-selector-entry.c:
3828 More documentation updates.
3830 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3832 * doc/hildon-sections.txt
3833 * src/hildon-caption.c
3834 * src/hildon-code-dialog.c
3835 * src/hildon-color-button.c
3836 * src/hildon-controlbar.c
3837 * src/hildon-date-editor.c
3838 * src/hildon-date-selector.c
3839 * src/hildon-edit-toolbar.c
3840 * src/hildon-find-toolbar.c
3841 * src/hildon-font-selection-dialog.c
3843 * src/hildon-program.c
3844 * src/hildon-range-editor.c
3845 * src/hildon-seekbar.c
3846 * src/hildon-time-editor.c
3847 * src/hildon-time-selector.c
3848 * src/hildon-volumebar-range.c
3849 * src/hildon-volumebar.c
3850 * src/hildon-vvolumebar.c
3851 * src/hildon-weekday-picker.c
3852 * src/hildon-window.c
3853 * src/hildon-wizard-dialog.c:
3855 Lots of documentation fixes.
3857 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3859 Patch contributed by Iván Gómez (igomez@igalia.com)
3861 * src/hildon-check-button.c:
3862 * src/hildon-date-button.c:
3863 * src/hildon-date-selector.c:
3864 * src/hildon-dialog.c:
3865 * src/hildon-edit-toolbar.c:
3866 * src/hildon-entry.c:
3867 * src/hildon-picker-button.c:
3868 * src/hildon-program.c:
3869 * src/hildon-text-view.c:
3870 * src/hildon-time-button.c:
3871 * src/hildon-touch-selector-entry.c:
3872 * src/hildon-window-stack.c:
3874 Add more "since" tags to the new API.
3876 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3878 * doc/hildon-sections.txt: Add below method.
3879 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
3880 version for the hildonized scale.
3881 * src/hildon-gtk.h: Add the definition.
3883 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3885 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3887 * doc/hildon-sections.txt: Add missing entries for new methods.
3889 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3891 Added API to pannable are in order to get its adjustments. We
3892 added two properties to manage the values we had in the private
3895 * src/hildon-pannable-area.c:
3896 (hildon_pannable_area_class_init): Added hadjustment and
3897 vadjustment properties in order to expose horizontal and vertical
3899 (hildon_pannable_area_get_property),
3900 (hildon_pannable_area_set_property): Added code to handle the new
3902 (hildon_pannable_area_get_hadjustment),
3903 (hildon_pannable_area_get_vadjustment): API functions to get the
3905 * src/hildon-pannable-area.h:
3906 (hildon_pannable_area_get_hadjustment),
3907 (hildon_pannable_area_get_vadjustment): API functions to get the
3910 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3912 Fixed some leaks, after valgrinding.
3914 * src/hildon-touch-selector.c:
3915 (_default_print_func): Fixed a leak.
3916 (hildon_touch_selector_append_column): Fixed a leak.
3917 * src/hildon-date-button.c:
3918 (hildon_date_button_init): Fixed a leak.
3919 * src/hildon-date-selector.c
3920 (hildon_date_selector_finalize): Fixed a leak.
3922 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3924 Based on a patch by Christian Dywan (christian@imendio.com)
3926 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
3928 * src/hildon-gtk.h: Add definition.
3930 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3932 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3934 * src/hildon-picker-button.c: (hildon_picker_button_init),
3935 (hildon_picker_button_new): Set the HildonButton::style property
3936 in the init method, to propagate the value to the derived classes.
3938 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3940 * src/hildon-button.c: (hildon_button_class_init): Do not make
3941 the "style" property a construct property.
3943 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3945 * src/hildon-wizard-dialog.h
3946 * src/hildon-wizard-dialog.c
3947 (hildon_wizard_dialog_set_forward_page_func)
3948 * src/hildon-pannable-area.h
3949 * src/hildon-pannable-area.c
3950 (hildon_pannable_area_set_size_request_policy):
3951 Documentation fixes.
3953 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3955 * doc/hildon-sections.txt: Fixed warning about unused symbols.
3957 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3959 * doc/hildon-sections.txt: Added sections file.
3961 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3964 * src/*.[ch]: Updates.
3966 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
3968 * examples/hildon-progress-indicator-example.c: new file
3969 * examples/Makefile.am: include the new example program
3971 2008-12-10 Alberto Garcia <agarcia@igalia.com>
3973 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
3975 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3977 * configure.ac: post release version bump
3978 * debian/changelog: version bump
3980 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3985 * configure.ac: bump version
3986 * debian/changelog: updates
3987 * debian/control: bump gtk+ dependency
3989 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3991 * src/hildon-dialog.c: Mark as deprecated.
3992 * src/hildon-dialog.h: Mark as deprecated.
3993 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
3994 from HildonDialog and still work, even if
3995 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
3996 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
3998 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
3999 maemo changes) instead)
4001 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4003 * src/hildon-pannable_area.h:
4004 * src/hildon-pannable_area.c:
4005 (hildon_pannable_area_class_init),
4006 (hildon_pannable_area_set_property),
4007 (hildon_pannable_area_get_property),
4008 (hildon_pannable_area_size_request),
4009 (hildon_pannable_area_get_size_request_policy),
4010 (hildon_pannable_area_set_size_request_policy): Added new API
4011 allowing applications to control the request policy. Now they can
4012 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4013 children allocation (HILDON_MOVEMENT_CHILDREN).
4015 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4019 (hildon_gtk_tree_view_set_ui_mode)
4020 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4021 mode of treeviews and iconviews.
4023 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4025 * src/hildon-touch-selector-entry.c:
4026 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4027 of a GtkEntry to get proper theming.
4029 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4030 widget, not GtkEntry)
4032 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4034 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4035 no HildonWizardDialogPageFunc.
4037 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4039 Patch contributed by Iván Gómez (igomez@igalia.com)
4041 * src/hildon-app-menu.c:
4042 * src/hildon-button.c:
4043 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4044 * src/hildon-stackable-window.c:
4045 * src/hildon-time-selector.c:
4046 * src/hildon-touch-selector.c:
4047 * src/hildon-window.c:
4049 Add more "since" tags to the new API in hildon 2.2.
4051 2008-12-05 Tim Janik <timj@imendio.com>
4053 Patch contributed by Christian Dywan (christian@imendio.com)
4055 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4056 HildonSizeType, which are supplied by Gtk+ now.
4058 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4060 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4061 (with maemo changes) instead)
4063 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4065 Patch contributed by Iván Gómez (igomez@igalia.com)
4067 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4070 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4072 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4073 (some_page_func), (main): Update the example to use a
4074 HildonWizardDialogPageFunc function.
4076 * src/hildon-wizard-dialog-private.h: Add private data for
4077 the HildonWizardDialogPageFunc function usage.
4079 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4080 (destroy), (hildon_wizard_dialog_init), (response),
4081 (hildon_wizard_dialog_set_forward_page_func):
4082 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4083 that applications can use to stop a HildonWizardDialog to jump to
4086 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4089 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4091 * src/hildon-program.h
4092 * src/hildon-program-private.h
4093 * src/hildon-program.c (hildon_program_init)
4094 (hildon_program_set_common_app_menu)
4095 (hildon_program_get_common_app_menu):
4096 New API for setting a common HildonAppMenu for all
4097 HildonStackableWindows registered with the HildonProgram.
4099 * src/hildon-stackable-window.c
4100 (hildon_stackable_window_toggle_menu):
4101 Use the common HildonAppMenu if a window doesn't have a specific
4104 * src/hildon-app-menu-private.h
4105 * src/hildon-app-menu.c
4106 (hildon_app_menu_get_parent_window):
4107 Function to obtain the window a HildonAppMenu is attached to.
4108 (hildon_app_menu_set_parent_window):
4109 Hide the menu if the parent window is set to NULL.
4111 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4113 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4114 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4115 search widget to popup.
4117 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4119 * configure.ac: post release version bump
4120 * debian/changelog: version bump
4122 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4127 * configure.ac: bump version
4128 * debian/changelog: updates
4130 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4132 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4134 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4135 (hildon_window_stack_window_realized)
4136 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4137 Set the leader GdkWindow when a window is stacked and realized,
4138 unset it when it's unstacked.
4139 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4141 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4143 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4145 * src/hildon-stackable-window.h
4146 * src/hildon-window-stack.h:
4147 Protect definition of HildonWindowStack using the preprocessor.
4149 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4151 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4152 Fix warning if all menu items are hidden.
4154 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4156 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4158 * src/hildon-controlbar.c:
4159 * src/hildon-hvolumebar.c:
4160 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4161 Multiple scale size defines updates.
4163 Fixes: NB#94322 (Scale Updates)
4165 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4167 * examples/hildon-app-menu-example.c (create_menu)
4168 Show items after adding them to the menu, as in the future the
4169 menu will no longer call gtk_widget_show() on the added items.
4171 * src/hildon-app-menu.c:
4172 Update example as explained above.
4174 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4176 * src/hildon-app-menu.c
4177 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4178 Make sure that all menu items have finger height.
4180 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4182 * src/hildon-picker-dialog.c:
4183 (_on_dialog_response), (_save_current_selection),
4184 (_restore_current_selection), (_clean_current_selection),
4185 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4186 Defined new functions in order to save the current internal selector
4187 selection previous open the dialog, in case that the use cancel the
4188 interaction, so the widget restores the previous selection.
4190 Fixes: NB#92032 (In calendar application, date values in 'new event'
4193 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4195 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4197 * src/hildon-button.c: Add a reference to the button examples in
4198 hildon-button-example.c
4200 * examples/hildon-button-example.c: Added examples of the most
4201 common button layouts.
4203 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4205 * src/hildon-app-menu.c (hildon_app_menu_show)
4206 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4208 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4210 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4212 * src/hildon-picker-dialog.c:
4213 (hildon_picker_dialog_init): Initialize the signal id for
4214 HildonTouchSelector::columns-changed.
4215 (+on_selector_columns_changed): Set up the interaction mode everytime a
4216 column is added or removed from the HildonTouchSelector.
4217 (_hildon_picker_dialog_set_selector): Connect to
4218 HildonTouchSelector::columns-changed and keep track of it.
4220 Make sure to update the interaction mode of the dialog everytime a
4221 column is added or removed in the HildonTouchSelector.
4223 Fixes: NB#93228 (Done button is not shown always in listpicker)
4225 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4227 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4228 a new ::columns-changed signal.
4229 (hildon_touch_selector_append_column): Emit ::columns-changed.
4230 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4232 Add a ::columns-changed signal, emitted when the number of columns in a
4233 HildonTouchSelector changes.
4235 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4237 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4238 (_hildon_picker_dialog_set_selector): Factor out the code
4239 to set up the dialog interaction mode.
4241 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4243 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4244 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4245 to signal_changed_id.
4247 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4249 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4252 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4254 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4255 Updated the logical ids related to ampm format, as now it is required to
4256 show it correctly localized even on languages with no default
4257 abbreviations for am or pm
4258 (_check_am_pm_format): check correctly the 24h format gconf property
4260 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4262 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4264 * src/hildon-button.c: Documentation updates.
4266 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4268 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4269 * src/hildon-caption.c: (hildon_caption_class_init):
4270 * src/hildon-color-button.c: (hildon_color_button_class_init):
4271 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4272 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4273 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4274 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4276 Remove deprecated GTK+ marshalers and replace them with the ones
4277 provided by GLib, for those available, add a marshaler for
4278 BOOLEAN:VOID, which is not available in GLib, and use it.
4280 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4282 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4283 the text from the previous column if there is no
4284 HildonTouchSelectorColumn::text-property set.
4286 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4288 * src/hildon-button.h
4289 * src/hildon-button.c (hildon_button_set_property)
4290 (hildon_button_get_property, hildon_button_class_init)
4291 (hildon_button_set_style, hildon_button_get_style):
4292 New "style" property to change the visual appearance of the
4295 * src/hildon-picker-button.c (hildon_picker_button_new):
4296 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4298 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4299 HildonButton look like PickerButton)
4301 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4303 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4304 column while building the default string.
4306 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4308 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4309 scroll indicator by default.
4311 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4313 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4315 * src/hildon-main.c: Fix the documentation for hildon_init()
4317 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4319 * doc/hildon-docs.sgml
4323 * src/hildon-window-stack-private.h
4324 * src/hildon-window-stack.h
4325 * src/hildon-window-stack.c:
4326 New HildonWindowStack object, that adds support for multiple
4327 stacks of windows per process.
4329 * src/hildon-stackable-window-private.h
4330 * src/hildon-stackable-window.h
4331 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4332 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4333 (hildon_stackable_window_show, hildon_stackable_window_hide)
4334 (hildon_stackable_window_class_init)
4335 (hildon_stackable_window_init):
4336 Use HildonWindowStack for stack management.
4338 * src/hildon-program.c (hildon_program_pop_window_stack)
4339 (hildon_program_peek_window_stack)
4340 (hildon_program_go_to_root_window):
4341 Add a fallback implementation to the deprecated functions using
4344 * examples/hildon-stackable-window-example.c:
4345 Use the new HildonWindowStack API.
4347 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4349 * src/hildon-stackable-window-private.h
4350 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4351 (hildon_stackable_window_hide, hildon_stackable_window_init):
4352 Remove all window stack management.
4354 * src/hildon-program-private.h
4355 * src/hildon-program.h
4356 * src/hildon-program.c (hildon_program_init)
4357 (hildon_program_pop_window_stack)
4358 (hildon_program_peek_window_stack)
4359 (hildon_program_go_to_root_window):
4360 Remove all window stack management and mark functions as
4363 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4365 * src/hildon-app-menu.c (hildon_app_menu_realize):
4366 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4368 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4370 * configure.ac: post release version bump
4371 * debian/changelog: version bump
4373 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4378 * configure.ac: bump version
4379 * debian/changelog: updates
4381 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4383 Based on initial code by Christian Dywan (christian@imendio.com)
4385 * doc/hildon-docs.sgml: Add section for hildon-main.
4386 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4387 * src/Makefile.am: Add new hildon-main.[ch]
4388 * src/hildon-defines.h: Update the icon sizes.
4389 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4390 new library initialization files and register icon sizes.
4391 * src/hildon-main.h: New declarations.
4392 * src/hildon.h: Include hildon-main.h
4394 Add new initialization functions to the library. These methods
4395 will register the hildon specific icon sizes and can be used in the
4396 future for other hildon specific bits.
4398 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4400 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4402 * src/hildon-window.c: (hildon_window_realize),
4403 (hildon_window_notify), (-hildon_window_update_title): Do not set
4404 the application name in the window title.
4406 Fixes: NB#89754 (Applications shouldn't display their names in the
4409 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4411 * src/hildon-note-private.h:
4412 * src/hildon-note.c: (hildon_note_set_property),
4413 (hildon_note_get_property), (hildon_note_class_init),
4414 (hildon_note_init), (hildon_note_finalize),
4415 (hildon_note_new_confirmation_with_icon_name),
4416 (hildon_note_new_information_with_icon_name):
4418 No need to mark as deprecated the actual code. Revert
4419 to avoid missing symbols in widgets using deprecated API.
4421 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4423 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4425 * src/hildon-volumebar.h
4426 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4427 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4429 * src/hildon-helper.h
4430 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4431 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4433 * examples/Makefile.am:
4434 Deprecate hildon-insensitive-example
4436 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4438 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4440 * examples/hildon-pannable-area-buttons-scroll-example.c:
4441 Make all buttons finger height
4443 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
4445 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4447 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4448 update the day model only if it is really required, and to avoid the
4449 full-reconstruction aproach. Now it only add or remove the required days.
4451 The purpose of this is avoid superfluous HildonTouchSelector::changed
4454 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4455 with strange parameters)
4457 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
4459 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4461 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4462 the WINDOW_TYPE property.
4464 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4466 2008-11-19 Alberto Garcia <agarcia@igalia.com>
4469 Fix dependency to allow parallel compilation with make -jX
4471 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
4473 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
4474 color frame and some minor tweaks to make it more consistent with
4477 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4478 highlighted but not visible)
4480 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4482 * examples/Makefile.am: Fixed typo in the Makefile.am.
4484 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4486 Reviewed the use of MAEMO_GTK define, now we add the define in the
4487 compilation line, and we also add it to the pc file.
4489 * configure.ac: Added MAEMO_GTK define to the compilation command
4490 and removed it from the config.h.
4492 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
4493 do not have to take care about this define if the library was
4497 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
4499 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4501 * examples/Makefile.am,
4502 * examples/hildon-pannable-area-buttons-scroll-example.c,
4503 * examples/hildon-pannable-area-gesture-signals-example.c,
4504 * examples/hildon-pannable-area-scroll-jump-example.c,
4505 * examples/hildon-pannable-area-tree-view-example.c:
4506 Renamed the pannable area examples, now they have more meaningful
4509 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
4511 * src/hildon-touch-selector.c:
4512 (hildon_touch_selector_set_column_selection_mode): Used of
4513 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
4514 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
4515 to avoid re-seting the same selection mode.
4517 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
4518 breaks HildonPickerDialog)
4520 2008-11-13 Alejandro G. Castro <alex@igalia.com>
4522 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
4523 conditional in the Makefile.am
4525 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
4527 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
4528 Remove unused methods.
4530 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4532 * src/hildon-button.c (hildon_button_init):
4533 Make button images center-aligned by default
4535 2008-11-12 Alejandro G. Castro <alex@igalia.com>
4538 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
4539 activated, we have to think about how to deal with both defines
4540 MAEMO_GTK and MAEMO_CHANGES.
4542 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4544 * examples/hildon-app-menu-example.c (create_menu): Make all
4545 buttons finger size.
4547 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4549 Fixed the compilation without maemo gtk adding ifdefs with
4550 MAEMO_GTK define to the code, we have to check this version more
4553 * examples/Makefile.am: Added control to avoid some examples that
4554 just make sense with maemo gtk.
4557 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
4558 hildon modes with the define.
4560 * examples/hildon-edit-toolbar-example.c,
4561 (create_icon_view): Create the icon view without hildon-gtk
4562 helpers if we are not using maemo gtk.
4564 * src/hildon-touch-selector.c,
4565 (_create_new_column): Create the treeview without hildon-gtk
4566 helpers if we are not using maemo gtk.
4568 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4570 * src/hildon-pnnable-area.c,
4571 (hildon_pannable_area_dispose),
4572 (hildon_pannable_area_button_press_cb),
4573 (hildon_pannable_area_child_mapped),
4574 (hildon_pannable_area_add),
4575 (hildon_pannable_area_remove): Added code to control the position
4576 of the event_window when adding and removing children from the
4577 pannable. We have to raise the event window when the child is
4580 Fixes: NB#89811 (Not able to select first image thumbnail in multi
4581 selection mode using custom widget inside pannable)
4583 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4585 * configure.ac: post release version bump
4586 * debian/changelog: version bump
4588 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4593 * configure.ac: bump version
4594 * debian/changelog: updates
4596 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
4598 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
4599 search mode, in order to avoid lose the focus on the treeview when
4600 a hw key (like enter) is pressed.
4602 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
4603 in HildonDateSelector dialog)
4605 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
4607 * debian/rules: Added --enable-maintainer-mode
4608 * Makefile.am: Added ACLOCAL_AMFLAGS
4610 This allows to properly regenerate the Makefiles if you modify the
4611 configure.ac or any Makefile.am.
4613 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4615 * examples/hildon-app-menu-example.c: (main): Do not set RC style
4616 properties, not needed at all.
4618 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4620 * src/hildon-note-private.h: Add strings for the icon and stock_icon
4622 * src/hildon-note.c: (hildon_note_set_property),
4623 (hildon_note_get_property), (hildon_note_class_init),
4624 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
4625 (hildon_note_new_confirmation_add_buttons): Remove icons.
4626 (hildon_note_new_confirmation_with_icon_name): Deprecate.
4627 (hildon_note_new_information_with_icon_name): Deprecate.
4628 (hildon_note_new_confirmation): Act directly, without calling
4629 the deprecated constructor.
4630 (hildon_note_new_information): Act directly, without calling
4631 the deprecated constructor.
4632 * src/hildon-note.h: Mark deprecate methods as such.
4633 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
4634 not run tests on the deprecated methods if built with deprecation
4637 Fixes: NB#91688 (Never show icons in information notes/confirmation
4640 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4642 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
4643 (hildon_app_menu_key_press): Remove leftover usage of the
4644 private structure in HildonAppMenu struct.
4645 * src/hildon-app-menu.h: Remove leftover private structure
4646 from the HildonAppMenu struct.
4648 Fixes a crasher when using the HildonAppMenu.
4650 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4652 * src/hildon-picker-dialog.c: Use appropriate logical id
4653 for the default "Done" text.
4655 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4657 * configure.ac: post release version bump
4658 * debian/changelog: version bump
4660 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
4662 Modified the way to scroll to the current selection just when the touch
4663 selector is shown on the screen, avoiding a g_idle. Added too a property
4664 to configure this behaviour. See hildon_pannable_area_jump_to_child
4665 documentation for more information.
4667 * src/hildon-touch-selector.c
4668 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
4669 Added 'initial-scroll' property
4670 (hildon_touch_selector_set_property): Added
4671 (hildon_touch_selector_map): Removed as not required anymore
4672 (_hildon_touch_selector_on_selected_items): Modified in order to manage
4673 only a concrete column, instead of iterate along all the columns
4675 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4680 * configure.ac: bump version
4681 * debian/changelog: updates
4683 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4685 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
4686 compilation time warnings.
4688 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4690 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4691 the default value for HildonPannableArea::mov-mode to
4692 HILDON_PANNABLE_AREA_MODE_VERT.
4694 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
4696 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4698 Reverting following commit:
4700 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4702 * src/hildon-app-menu-private.h
4703 * src/hildon-app-menu.[ch]
4704 * src/hildon-button.[ch]
4705 * src/hildon-check-button.[ch]
4706 * src/hildon-entry.[ch]
4707 * src/hildon-pannable-area.[ch]
4708 * src/hildon-text-view.[ch]:
4709 Added private field to the object's structure.
4711 because it causes an ABI breakage. We will need to introduce these
4712 changes later at some point. See NB#91636 for an extensive
4713 explanation and status.
4715 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4717 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4719 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4720 remove special cases that are no longer necessary.
4722 Fixes: NB#91016 (Change toolbar sizes, simplification)
4724 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4726 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4727 is shown in the cancel note.
4729 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4731 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
4732 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
4733 (hildon_seekbar_init): Remove steppers, remove expose event.
4734 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
4736 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
4738 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
4740 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
4741 label font to "SmallSystemFont" for vertically arranged buttons.
4743 Fixes: NB#90662 (HildonButton "value" and "detail" text is
4746 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4748 * src/hildon-check-button.c
4749 (hildon_check_button_set_active, hildon_check_button_clicked):
4750 Don't access private parts directly, use getters instead.
4752 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4754 * src/hildon-check-button.c (hildon_check_button_new):
4755 Align the contents of the check button to the left.
4757 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4759 * src/hildon-pannable-area.c,
4760 (hildon_pannable_area_scroll_to),
4761 (hildon_pannable_area_jump_to),
4762 (hildon_pannable_area_scroll_to_child),
4763 (hildon_pannable_area_jump_to_child): Replace the mapped
4764 precondition of these functions with the realized, it is the
4765 correct state of the widget in this case. Changed the
4766 documentation according to this modification.
4768 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4770 Added a new EXTRA_CFLAGS option to add the deprecated define to
4771 the compilation command. This way we can avoid using the define in
4772 the documentation compilation.
4774 * configure.ac: Defined EXTRA_CFLAGS.
4776 * examples/Makefile.am:
4778 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
4780 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
4782 * src/hildon-picker-dialog.c:
4783 Defined a utility macro with the desired touch selector height
4784 Removed currently unused separator, and title_label variables from
4786 (hildon_picker_dialog_init): Removed code related to the creation
4787 of unused private variables title_label and separator.
4788 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
4789 to ensure correct visualization of the touch selector inside the dialog.
4790 * src/hildon-touch-selector.c
4791 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
4792 ensure a concrete height of the widget.
4794 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4797 * tests/Makefile.am:
4799 Remove spurious whitespaces.
4801 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4803 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
4804 compilation warning after the cancel button removal.
4806 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4808 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
4810 * configure.ac: Added an AM_CONDITIONAL in order to use in the
4811 Makefile.am, that way we can choose not to compile some examples
4812 and tests of the deprecated widgets.
4814 * examples/Makefile.am: Divided the sources in deprecated and
4817 * src/Makefile.am: Added undef statement of the deprecated
4818 symbol to the enums file generation process.
4820 * src/hildon-color-chooser-dialog.c
4821 * src/hildon-color-chooser-dialog.h
4822 * src/hildon-color-button.c
4823 * src/hildon-color-button.h
4824 * src/hildon-color-chooser.c
4825 * src/hildon-color-chooser.h
4826 * src/hildon-controlbar.c
4827 * src/hildon-controlbar.h
4828 * src/hildon-date-editor.c
4829 * src/hildon-date-editor.h
4830 * src/hildon-hvolumebar.c
4831 * src/hildon-hvolumebar.h
4832 * src/hildon-private.c
4833 * src/hildon-private.h
4834 * src/hildon-range-editor.c
4835 * src/hildon-range-editor.h
4836 * src/hildon-seekbar.c
4837 * src/hildon-seekbar.h
4838 * src/hildon-time-editor.c
4839 * src/hildon-time-editor.h
4840 * src/hildon-time-picker.c
4841 * src/hildon-time-picker.h
4842 * src/hildon-volumebar.c
4843 * src/hildon-volumebar.h
4844 * src/hildon-vvolumebar.c
4845 * src/hildon-vvolumebar.h
4846 * src/hildon-bread-crumb-trail.h
4847 * src/hildon-bread-crumb-trail.c
4848 * src/hildon-calendar-popup.c
4849 * src/hildon-calendar-popup.h
4850 * src/hildon-weekday-picker.c:
4851 * src/hildon-weekday-picker.h:
4852 * src/hildon-bread-crumb-widget.c:
4853 * src/hildon-bread-crumb-widget.h:
4854 * src/hildon-bread-crumb.c:
4855 * src/hildon-bread-crumb.h:
4856 * src/hildon-calendar.c:
4857 * src/hildon-calendar.h:
4858 * src/hildon-caption.c:
4859 * src/hildon-code-dialog.c:
4860 * src/hildon-code-dialog.h:
4861 * src/hildon-font-selection-dialog.c:
4862 * src/hildon-font-selection-dialog.h:
4863 * src/hildon-get-password-dialog.c:
4864 * src/hildon-get-password-dialog.h:
4865 * src/hildon-login-dialog.c:
4866 * src/hildon-login-dialog.h:
4867 * src/hildon-number-editor.c:
4868 * src/hildon-number-editor.h:
4869 * src/hildon-set-password-dialog.c:
4870 * src/hildon-set-password-dialog.h:
4871 * src/hildon-sort-dialog.c:
4872 * src/hildon-sort-dialog.h: This is the list of deprecated
4875 * src/hildon-touch-selector.c:
4876 * src/hildon-window.c: Added undef statement to avoid compilation
4879 * tests/Makefile.am: Divided the sources in deprecated and
4882 * tests/check_test.c,
4883 (configure_tests): Marked the deprecated code that was adding
4884 suites with deprecated tests.
4886 Fixes: NB#91135 (Deprecate legacy hildon widgets)
4888 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4890 * src/hildon-touch-selector.c: (_default_print_func): Do not
4891 duplicate a string returned by gtk_tree_model_get(), it is already
4894 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
4897 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4899 * src/hildon-pannable-area.c
4900 (hildon_pannable_area_add_with_viewport): Reviewed the complete
4901 method, it had problems when adding a widget with viewport the
4902 second time. Now checks if it already has a viewport and uses it.
4904 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
4907 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4909 * src/hildon-pannable-area.c,
4910 (hildon_pannable_area_scroll_to),
4911 (hildon_pannable_area_jump_to),
4912 (hildon_pannable_area_scroll_to_child),
4913 (hildon_pannable_area_jump_to_child): Added a precondition to the
4914 scroll and jump to functions: the widget must be mapped before we
4915 can safely call these functions. We have also added documentation
4916 to the functions to explain how to use them in this situation.
4919 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4921 Reviewed the threading handling of the pannable widget, we have
4922 used the gdk_threads_add_timeout function instead of the usual
4923 glib handlers. This avoids some problems with the threads.
4925 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
4926 (hildon_pannable_area_initial_effect),
4927 (hildon_pannable_area_scroll_indicator_fade),
4928 (hildon_pannable_area_button_press_cb),
4929 (hildon_pannable_area_timeout),
4930 (hildon_pannable_area_motion_notify_cb),
4931 (hildon_pannable_area_button_release_cb),
4932 (hildon_pannable_area_scroll_cb),
4933 (hildon_pannable_area_scroll_to): Removed the
4934 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
4935 gdk_threads_add_timeout.
4937 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
4939 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4944 * configure.ac: bump version
4945 * debian/changelog: updates
4947 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4949 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4950 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
4951 * src/hildon-color-chooser-dialog.c:
4952 (hildon_color_chooser_dialog_init):
4953 * src/hildon-font-selection-dialog.c:
4954 (hildon_font_selection_dialog_init):
4955 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
4957 Remove all cancel/close-like dialogs, as these are not going to be
4960 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4962 * src/hildon-note.c: (hildon_note_rebuild),
4963 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
4966 Fixes: NB#90661 (Delete dialog is displayed without NO button)
4968 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4970 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
4971 sure all buttons are shown, even the Cancel/Close-like ones.
4973 Fixes: NB#90861 (Custom Confirmation dialogs should be
4974 protected from cancel button removal)
4976 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4978 * debian/control: Change libhildon1-examples dependency from libhildon1
4980 * debian/libhildon1-examples.install
4982 * Makefile.am: Modified the final install directory for the examples on
4983 package libhildon1-examples
4984 * Makefile.static: Update clean target in order to remove all the binary
4987 Changes suggested by Claudio after review new libhildon1-examples package
4989 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
4991 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
4992 * src/hildon-touch-selector.c: Ditto.
4994 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4996 * debian/control: Added new package libhildon1-examples, in order to pack
4997 the current hildon examples as documentation
4998 * debian/rules: Not to compress .c files, modify some includes on the
4999 examples (as normally are compiled locally, but when installed it will
5000 require to include the installed libhildon1 library), and rename
5002 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5003 install all the example files on the new example package
5004 * examples/Makefile.static: Added static makefile that can be used to
5005 compile the examples, once installed the new example package
5006 * examples: Most of the examples were modified in order to grant that
5007 all use only '#include "hildon.h"', in order to be easy to prepare
5008 it on the example package
5010 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5013 * debian/libhildon1-dev.install
5014 * debian/libhildon1-doc.install:
5015 Move all gtk-doc files to a separate libhildon1-doc package.
5017 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5019 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5021 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5023 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5025 * debian/rules: Fixed a error in order to avoid unnecessary calls
5026 to autogen.sh on package building
5028 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5030 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5032 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5034 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5037 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5039 * src/hildon-picker-button.c
5040 (hildon_picker_button_finalize):
5041 Free priv->done_button_text
5043 * src/hildon-time-button.c
5044 (hildon_time_button_set_time)
5045 * src/hildon-picker-button.c
5046 (hildon_picker_button_clicked)
5047 (hildon_picker_button_selector_selection_changed)
5048 (hildon_picker_button_set_selector)
5049 * src/hildon-date-button.c
5050 (hildon_date_button_set_date):
5051 Free strings returned by hildon_touch_selector_get_current_text()
5053 * src/hildon-button.c (hildon_button_construct_child):
5054 Fix leaks in priv->image and priv->label_box
5056 Fixes: NB#90535 (Memory leak in picker button)
5058 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5060 * src/hildon-button.c: (hildon_button_get_property): Do not access
5061 private elements directly, use getters instead.
5063 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5065 * src/hildon-app-menu-private.h
5066 * src/hildon-app-menu.c
5067 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5068 Store the menu's parent window.
5070 * src/hildon-stackable-window.c
5071 (hildon_stackable_window_toggle_menu)
5072 (hildon_stackable_window_finalize):
5073 Set the menu's parent window when the menu is shown, unset it when
5076 * src/hildon-app-menu.c
5077 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5078 (hildon_app_menu_class_init):
5079 Send unhandled keyboard accelerators to the parent window.
5081 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5083 * src/hildon-stackable-window.c
5084 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5086 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5088 * configure.ac: post release version bump
5090 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5093 * configure.ac: Bump version
5094 * debian/changelog: Updates
5095 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5098 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5100 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5103 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5104 GtkMenu with Hildon style.
5106 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5108 * src/hildon-picker-button.c:
5109 (hildon_picker_button_set_done_button_text): Set the dialog's
5110 done button text here as well.
5112 Fixes: NB#90232 (Picker button does not set the label on done button
5113 for the second time)
5115 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5117 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5120 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5122 * src/hildon-app-menu.c (hildon_app_menu_insert)
5123 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5124 the HildonAppMenu to be activatable using keyboard accelerators
5125 when the menu is not being shown.
5127 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5129 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5131 * src/hildon-stackable-window.c
5132 (hildon_stackable_window_show):
5133 Don't hide old windows automatically when new windows are shown:
5134 this is now a task for the window manager.
5135 (hildon_stackable_window_class_init)
5136 (hildon_stackable_window_hide):
5137 Remove windows from the stack everytime they're hidden.
5138 (hildon_stackable_window_realize):
5139 Don't change the _NET_WM_WINDOW_TYPE property. Use
5140 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5141 it as a stackable window.
5143 * src/hildon-program.c
5144 (hildon_program_pop_window_stack):
5145 Just hide the window to remove it from the stack.
5146 (hildon_program_go_to_root_window):
5147 Don't call gtk_widget_show(), this is now a task for the window
5150 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5152 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5154 * src/hildon-button.c
5155 (hildon_button_construct_child):
5156 Don't pack anything in the button until text or image are
5157 set. This allows adding a custom child after creating the button
5158 with hildon_button_new().
5159 (hildon_button_finalize, hildon_button_class_init)
5160 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5161 alignment and the label box even when they're not packed in the
5164 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5166 * src/hildon-touch-selector.h:
5167 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5168 currently the type definition was using GTK_TYPE_VBOX
5169 * src/hildon-touch-selector.c:
5170 Added some implementation notes in order to clarify that any other widget
5171 added without the column related API will not be included on the
5172 selection logic, and how the widget is freed, as some people ask about
5174 (hildon_touch_selector_remove): Reimplemented in order to free properly
5175 the column related data when you remove the private hbox.
5176 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5177 to get a proper HildonTouchSelectorColumn documentation
5179 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5181 * src/hildon-touch-selector-entry.c:
5182 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5183 text in the GtkEntry and there is no item selected. Fixes a
5186 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5188 * src/hildon-app-menu-private.h
5189 * src/hildon-app-menu.[ch]
5190 * src/hildon-button.[ch]
5191 * src/hildon-check-button.[ch]
5192 * src/hildon-entry.[ch]
5193 * src/hildon-pannable-area.[ch]
5194 * src/hildon-text-view.[ch]:
5195 Added private field to the object's structure.
5197 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5199 * configure.ac: post-release version bump
5201 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5205 * configure.ac: pre-release version bump
5207 * debian/changelog: updates.
5209 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5211 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5212 Disconnect the handler for HildonTouchSelector::changed.
5214 (hildon_picker_button_selector_selection_changed): Update the button
5215 value if the selection change was not triggered by the
5218 (hildon_picker_button_set_selector): connect to
5219 HildonTouchSelector::changed.
5221 Fixes: NB#89650 (Picker button is not updated, when selection in
5222 selector has changed)
5224 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5226 * src/hildon-picker-dialog.c
5227 (hildon_picker_dialog_realize): Removed as not required
5228 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5229 * src/hildon-picker-button.c
5230 (_current_selector_empty): New function, checks if the selector is empty
5231 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5232 if the current selector is empty, in order to avoid to show the dialog
5233 close the dialog in this case (and shows a g_warning).
5235 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5237 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5239 * src/hildon-pannable-area.c,
5240 (hildon_pannable_area_scroll): Added clause to stop movement when
5241 the child of pannable is smaller than one page.
5242 (hildon_pannable_area_scroll_to): Added conditions to avoid
5243 starting the scrolling movement if the child is smaller than one
5244 page, the complete child is in the screen, we do not have to move.
5246 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5248 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5250 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5251 this is managed automatically by the widget when the size of the
5254 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5256 * src/hildon-picker-button.c
5257 (hildon_picker_button_set_done_button_text): Make a copy of the
5258 text, and free the previous value.
5260 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5262 * src/hildon-touch-selector-entry.c:
5263 (hildon_touch_selector_entry_print_func): Return the selected row's
5264 text if the entry is empty.
5266 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5269 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5271 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5273 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5276 * src/hildon-check-button.h
5277 * src/hildon-check-button.c
5278 * examples/hildon-check-button-example.c:
5279 HildonCheckButton is now a new widget. 'toggled' signal added.
5281 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5283 * src/hildon-program-private.h
5284 * src/hildon-program.c (hildon_program_init)
5285 (hildon_program_finalize): Removed unused variables group_leader
5286 and name from HildonProgramPrivate.
5288 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5290 * src/hildon-check-button.c (hildon_check_button_set_active)
5291 (hildon_check_button_get_active, hildon_check_button_new): Use
5292 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5294 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5296 * src/hildon-touch-selector.h
5297 (hildon_touch_selector_set_column_attributes): added deprecation
5298 guard HILDON_DISABLE_DEPRECATED
5299 * src/hildon-time-selector.c
5300 (hildon_time_selector_set_time)
5301 (hildon_time_selector_get_time): Fixed a typo on documentation
5302 * src/hildon-touch-selector.c: update HildonTouchSelector and
5303 HildonTouchSelectorColumn documentation
5304 * src/hildon-touch-selector-entry.c: update "text-column" property
5306 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5307 to be added to the general documentation.
5309 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5311 * examples/hildon-pannable-area-example-4.c,
5313 * examples/hildon-pannable-area-example.c,
5314 (main): Modified the code in order to use the container add, with
5315 viewport treeviews could have problems if they are really big.
5317 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5319 * src/hildon-weekday-picker.c,
5320 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5321 the agreement regarding deprecation in the library.
5323 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5325 * examples/hildon-picker-button-multicolumn-example.c:
5326 (main): Use custom "done" button text.
5328 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5329 (hildon_picker_button_set_property),
5330 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5331 (hildon_picker_button_init),
5332 (+hildon_picker_button_get_done_button_text),
5333 (+hildon_picker_button_set_done_button_text): New methods to customize
5334 the "done" button label in the launched HildonPickerDialog. Also,
5337 * src/hildon-picker-button.h: add the public API.
5339 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5341 * src/hildon-date-selector.h:
5342 * src/hildon-picker-dialog.h:
5343 * src/hildon-time-selector.h:
5344 * src/hildon-touch-selector-column.h:
5345 * src/hildon-touch-selector.h:
5347 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5348 declarations. Fixes gtk-doc warnings.
5350 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5352 * src/hildon-picker-dialog.h
5353 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5354 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5356 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5357 long text is set as label for done button)
5359 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5361 * src/hildon-dialog.c (hildon_dialog_add_button):
5362 Set fixed width to all buttons in the HildonDialog.
5364 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5366 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5368 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5369 Set widget name using class name plus "-finger" or "-thumb".
5371 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5373 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5374 'clicked' when the state of the button is manually changed.
5376 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5378 * src/hildon-app-menu.c (hildon_app_menu_realize)
5379 (hildon_app_menu_unrealize, hildon_app_menu_init)
5380 (hildon_app_menu_class_init, item_visibility_changed):
5381 Change the menu layout when the size of the screen changes.
5382 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5383 Show warning only when changing the number of colums using the
5386 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5388 * debian/compat: Set to 5
5389 * debian/control: Update dependencies.
5390 * debian/libhildon1-dbg.install: Remove.
5391 * debian/libhildon1-dev.install: Update according to cdbs paths.
5392 * debian/libhildon1.install: Update according to cdbs paths.
5393 * debian/rules: Switch to cdbs.
5395 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5397 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5398 'item' variable renamed to 'filter'
5400 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5402 * src/hildon-app-menu.c (hildon_app_menu_insert)
5403 (hildon_app_menu_add_filter, remove_item_from_list)
5404 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5405 Don't leak hidden items when the menu is destroyed.
5407 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5409 * src/hildon-app-menu.c (hildon_app_menu_insert)
5410 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5411 (hildon_app_menu_set_columns, item_visibility_changed)
5412 (filter_visibility_changed, hildon_app_menu_repack_filters)
5413 (hildon_app_menu_repack_items):
5414 Repack items and filters separately.
5416 Don't repack all items, change only the ones that are needed to
5419 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5421 * src/Makefile.am: added hildon-touch-selector-column.h
5423 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5425 * src/hildon-touch-selector.c: added the property "text-column" to the
5426 class HildonTouchSelectorColumn, and related get/set functions
5427 (_default_printf_func): updated to use "text-column" property
5428 * src/hildon-touch-selector-entry.c: mark as deprecated the property
5429 "text-column" in his documentation, as this is now included on
5430 HildonTouchSelectorColumn. The get/set_property can still be used,
5431 working as a wrapper to the concrete column "text-column" property
5432 (_text_column_modified): callback added in order to handle the signal
5433 "notify::text-column" of the concrete HildonTouchSelectorColumn
5434 (hildon_touch_selector_entry_get_text_column)
5435 (hildon_touch_selector_entry_set_text_column): Added documentation, and
5436 modified in order to use the HildonTouchSelectorColumn "text-column"
5438 * src/hildon-time-selector.c:
5439 * src/hildon-date-selector.c:
5440 * examples/hildon-touch-selector-example.c
5441 * examples/hildon-touch-selector-multi-cells-example.c
5442 * examples/hildon-picker-button-multicolumn-example.c
5443 Set the right value to "text-column" property on the creation of a new
5444 column using hildon_touch_selector_append_column()
5446 Fixes: NB#88644 (Hardcoded first column of the model as text column)
5448 2008-09-30 Alberto Garcia <agarcia@igalia.com>
5450 * src/hildon-app-menu.c
5451 (hildon_app_menu_construct_child, hildon_app_menu_init): When
5452 updating the layout of the menu, don't create all widgets again,
5453 just repack the items in their new places.
5455 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
5457 * src/hildon-time-selector.c
5458 (hildon_time_selector_get_time)
5459 (hildon_time_selector_set_time)
5460 Added documentation of these public methods
5462 * src/hildon-date-button.h
5463 * src/hildon-touch-selector-column.h
5464 * src/hildon-time-button.h
5465 * src/hildon-picker-dialog.h
5466 * src/hildon-time-selector.h
5467 * src/hildon-picker-button.h
5468 * src/hildon-touch-selector.h
5469 * src/hildon-time-picker.h
5470 * src/hildon-date-selector.h
5471 * src/hildon-touch-selector-entry.h
5472 Modified in order to use hildon-widgets code style
5474 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5476 Added deprecated support to the compilation process using
5477 HILDON_DISABLE_DEPRECATED
5479 * configure.ac: Added the --disable-deprecated to the configure
5482 * src/hildon-weekday-picker.c:
5483 * src/hildon-weekday-picker.h: Deprecated widget, example of how
5484 to use the deprecated support. We will update the other deprecated
5485 widgets status in a new patch.
5487 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5489 * configure.ac: Fixed typo with fatal warnings support, the
5490 variable name was not correct
5492 2008-09-29 Alberto Garcia <agarcia@igalia.com>
5494 * src/hildon-app-menu.c
5495 * src/hildon-program.c: Update documentation.
5497 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5499 * configure.ac: Post-release version bump.
5501 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5506 * configure.ac: Pre-release version bump.
5507 * debian/changelog: Updates.
5509 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5511 * NEWS: Update news for previous releases.
5513 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5515 * examples/hildon-touch-selector-multi-cells-example.c:
5516 (create_selector): Update the example to use
5517 hildon_touch_selector_append_column() with a NULL renderer and set
5518 the renderers later.
5519 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
5520 passed a NULL renderer. This is documented behavior now.
5522 Allow passing a NULL renderer to hildon_touch_selector_append_column().
5523 This must be used if the developer wants full control on the layout of
5524 the renderers to be added to the column.
5526 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5528 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5530 * src/hildon-touch-selector.c: Documentation fixes.
5532 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5534 * src/hildon-wizard-dialog-private.h: Remove image and box.
5535 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
5536 (hildon_wizard_dialog_set_property), (response): Completely remove
5537 image/icon support, and the containers required for the layout.
5539 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
5541 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5543 * src/hildon-app-menu.c: Updated documentation.
5545 * src/hildon-stackable-window.c
5546 (hildon_stackable_window_set_main_menu): Unref the old menu after
5547 ref'ing the new one.
5549 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5551 * src/hildon-stackable-window.c
5552 (hildon_stackable_window_set_main_menu): Unref the previous menu
5553 instead of destroying it.
5555 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
5556 floating reference and set has_user_ref_count to FALSE to make
5557 HildonAppMenu act like a normal ref-counted widget and not a
5560 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
5563 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
5565 * src/hildon-touch-selector-column.h: new file
5566 * src/hildon-touch-selector.h
5567 * src/hildon-touch-selector.c
5568 Implemented GtkCellLayout interface, in order to allow to configure
5569 the cell layout on each individual selector column
5570 (hildon_touch_selector_set_column_attributes): marked as deprecated
5571 * examples/hildon-touch-selector-multi-cells-example.c
5572 Example of how to use the GtkCellLayout interface on the selector
5574 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5576 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5578 * src/hildon-app-menu.h
5579 * src/hildon-app-menu.c
5580 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
5581 (hildon_app_menu_append, hildon_app_menu_prepend):
5582 New methods to prepend, insert and move items in the menu.
5584 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5586 * src/hildon-wizard-dialog.c:
5588 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
5590 (create_title): Update logical IDs and related code.
5591 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
5593 * src/hildon-wizard-dialog.h: Note that
5594 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
5595 point, as it is not used anymore.
5597 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
5599 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5601 * src/hildon-note.c:
5602 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
5603 shown. Do not display an icon in confirmation notes nor information
5605 (hildon_note_set_button_text): Update logical ID for cancel button.
5607 Fixes: NB#88850 (Update HildonNote button strings + signals)
5609 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5611 * src/hildon-stackable-window.c
5612 (hildon_stackable_window_set_main_menu): Fix compilation warning.
5614 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5616 * src/hildon-app-menu-private.h
5617 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
5618 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
5619 (hildon_app_menu_init, hildon_app_menu_class_init): Added
5620 temporary property 'columns' to change the number of columns.
5622 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5624 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
5626 * examples/hildon-note-example.c: (on_information_clicked),
5627 (on_confirmation_clicked), (on_progress_clicked), (main): Add
5628 debugging information.
5629 * src/hildon-note-private.h: Remove close_if_pressed_outside,
5631 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
5632 (hildon_note_rebuild): Remove special handling of tapping outside/inside
5633 in order to close: this will be handled by the WM from now on.
5635 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
5637 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5639 * src/hildon-app-menu-private.h
5640 * src/hildon-app-menu.c
5641 (hildon_app_menu_append, hildon_app_menu_add_filter)
5642 (button_visibility_changed, hildon_app_menu_apply_style)
5643 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
5644 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
5645 layout everytime a button (item or filter) is shown or hidden.
5647 * src/hildon-stackable-window.c
5648 (hildon_stackable_window_set_main_menu): Destroy the old menu when
5651 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
5653 * src/hildon-touch-selector.c:
5654 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
5655 that the treeview inside the touch selector is in fremantle hildon mode
5656 * examples/hildon-date-button-example.c
5657 * examples/hildon-picker-button-multicolumn-example.c
5658 * examples/hildon-touch-selector-entry-example.c
5659 * examples/hildon-touch-selector-example.c
5660 * examples/hildon-time-button-example.c
5661 * examples/hildon-picker-button-example.c:
5662 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
5664 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
5666 * examples/hildon-text-view-example.c: (main): Remove the
5667 gtkrc bits, now handled by the theme.
5669 2008-09-22 Alberto Garcia <agarcia@igalia.com>
5671 * src/hildon-picker-button.c (hildon_picker_button_set_active):
5674 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5676 * po/Makefile.am: Install properly the mo files.
5677 * po/en_GB.po: Update translation, to ease testing purposes.
5679 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5681 * examples/hildon-picker-button-example.c: (main): Select an item
5682 in the selector before setting it to the button.
5684 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5686 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
5687 Update button's value if the selector has an item active.
5689 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
5690 'value' with the selector)
5692 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5694 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
5695 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
5696 (hildon_picker_button_class_init): Plug the finalize method.
5697 (hildon_picker_button_set_selector): If there's a previously set
5698 selector, unref'it before setting a new one.
5700 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
5701 HildonTouchSelector)
5703 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
5705 * src/hildon-touch-selector-entry.c:
5706 (hildon_touch_selector_entry_changed): Check if there is no text
5707 selected before setting the entry text.
5710 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5712 * src/hildon-touch-selector.h
5713 * src/hildon-touch-selector.c
5714 (hildon_touch_selector_get_active)
5715 (hildon_touch_selector_set_active): New methods to set/get the
5716 index of the selected item.
5718 * src/hildon-picker-button.h
5719 * src/hildon-picker-button.c
5720 (hildon_picker_button_get_active)
5721 (hildon_picker_button_set_active): New methods to set/get the
5722 index of the selected item.
5724 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5726 * configure.ac: post-release version bump.
5728 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5732 * configure.ac: Pre-release version bump.
5733 * debian/changelog: Updates.
5734 * debian/control: Add myself as maintainer and depend on l10n
5737 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5739 * src/hildon-window.c
5740 (hildon_window_set_main_menu)
5741 * src/hildon-stackable-window.c
5742 (hildon_stackable_window_set_main_menu):
5743 Updated documentation.
5745 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5747 * src/hildon-date-selector.c (hildon_date_selector_finalize):
5748 Don't free selector->priv manually.
5751 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5754 (hildon_gtk_window_set_progress_indicator):
5755 * src/hildon-gtk.h: Added the new API
5756 hildon_gtk_window_set_progress_indicator, it changes the state of
5757 the window progress hint.
5759 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5761 * src/hildon-button.c
5762 * src/hildon-stackable-window.c: Minor documentation updates.
5764 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5766 * src/hildon-stackable-window.c: Updated documentation.
5768 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
5770 * src/hildon-defines.h: Update margins definitions
5771 to the Fremantle sizes.
5774 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5776 * src/hildon-touch-selector.c,
5777 (_hildon_touch_selector_set_model): Cleaning the code after
5778 review, removed g_print and #if 0 from the code.
5780 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5782 * src/hildon-edit-toolbar.c: Update documentation.
5784 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5786 * src/hildon-check-button.h
5787 * src/hildon-check-button.c
5788 (hildon_check_button_set_label, hildon_check_button_get_label)
5789 * examples/hildon-check-button-example.c
5790 (button_clicked_cb):
5791 Removed deprecated methods.
5793 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5795 * src/hildon-text-view.c:
5796 Add sample code to the documentation.
5798 * src/hildon-entry.h
5799 * src/hildon-text-view.h:
5800 Minor cosmetic changes.
5802 * src/hildon-entry.c:
5803 Add sample code to the documentation.
5804 (hildon_entry_init, hildon_entry_refresh_contents):
5805 Don't allow NULL values in the placeholder.
5807 2008-09-10 Alberto Garcia <agarcia@igalia.com>
5809 * doc/hildon-docs.sgml
5811 * examples/Makefile.am
5812 * examples/hildon-text-view-example.c
5814 * src/hildon-text-view.c
5815 * src/hildon-text-view.h
5817 New HildonTextView widget, with example.
5819 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5821 * po/POTFILES.in: Add missing files with translatable strings.
5822 Partially fixes NB#88287.
5824 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5826 * examples/hildon-pannable-area-example-2.c: (main): No need to
5827 set the cellrenderer height inside hildon touch lists, the theme does
5830 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5832 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
5833 they are integrated in the theme.
5835 2008-09-09 Alberto Garcia <agarcia@igalia.com>
5837 * examples/hildon-entry-example.c: Update the example adding
5838 widgets to modify the text and the placeholder of the HildonEntry.
5840 * src/hildon-entry.c: Show the placeholder everytime the widget
5841 is empty and loses the focus.
5843 2008-09-09 Alejandro G. Castro <alex@igalia.com>
5845 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
5847 * src/hildon-pannable-area.c,
5848 (hildon_pannable_area_size_request): Fixed bug in height
5849 requisition, avoid increasing size and add border twice.
5851 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5853 * configure.ac: postrelease version bump.
5855 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5859 * configure.ac: Prerelease version bump.
5860 * debian/changelog: update.
5861 * debian/rules: make -dbg package contain useful debugging symbols.
5863 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5865 * src/hildon-dialog.h
5866 * src/hildon-dialog.c
5867 (hildon_dialog_add_button, hildon_dialog_add_buttons):
5868 New methods to add buttons with finger size.
5869 (hildon_dialog_new_with_buttons):
5870 Create buttons with finger size.
5872 * examples/hildon-dialog-example.c (main): Use HildonDialog
5873 methods to add buttons.
5875 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5877 * src/hildon-entry.c: Updated HildonButton documentation.
5879 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5881 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
5882 button value label with (FALSE, FALSE) to prevent NB#88126 from
5885 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5887 * examples/hildon-pannable-area-example.c,
5888 (main): Removed examples panning a vbox inside a pannable
5889 area. Check bug NB#87965
5891 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5893 Patch contributed by Kris Rietveld (kris@imendio.com)
5895 * src/hildon-pannable-area.c,
5896 (hildon_pannable_area_get_topmost): replaced the get_geometry with
5897 get_size and get_position, this saves an X server roundtrip.
5899 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5901 * doc/hildon-docs.sgml
5903 * examples/Makefile.am
5904 * examples/hildon-entry-example.c
5906 * src/hildon-entry.c
5907 * src/hildon-entry.h
5909 New HildonEntry widget, with example.
5911 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5913 * src/hildon-button.c (hildon_button_construct_child): Pack the
5914 image with expand == fill == FALSE. This is a workaround for a bug
5917 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
5919 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
5920 labels for the text column, to make it more look more dynamic.
5922 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5924 * src/hildon-time-selector.c
5925 Define gettext auxiliar macro N_
5926 (_create_minutes_model)
5927 (_create_hours_model)
5928 (_create_ampm_model): use of strftime in order to fill the model
5929 * src/hildon-date-selector.c
5930 (hildon_date_selector_finalize):
5931 (_locales_init): remove the logic related to get the name of the months
5932 using nl_langinfo, as it is not required anymore
5934 (_create_year_model)
5935 (_create_month_model)
5936 (_update_day_model): use of strftime in order to fill the model properly
5939 2008-09-04 Alberto Garcia <agarcia@igalia.com>
5941 * src/hildon-button.h
5942 * src/hildon-button.c (hildon_button_get_image): New method to
5945 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
5947 * src/hildon-touch-selector.c:
5948 (hildon_touch_selector_remove_column): Remove from the correct parent
5949 and also remove the list element and free it.
5952 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5954 * src/hildon-time-selector.c
5955 (_create_hours_model): change the range on 12h ampm format in order to use
5956 a 12-11 range instead of previous 01-12 range
5957 (hildon_time_selector_set_time): change the way to select the current time
5958 on 12h ampm format, due the change on the range
5959 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
5962 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
5964 * src/hildon-touch-selector.c
5965 (hildon_date_touch_selector_get_selected): fix the selection mode check,
5966 in order to allow use this function on multiple row selection mode if
5967 the column is different that the first one
5970 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
5972 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
5973 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
5975 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5977 * src/hildon-date-selector.h: clean some comments, now on the .c
5978 * src/hildon-date-selector.c
5979 (hildon_date_selector_select_month): first implementation
5980 (hildon_date_selector_select_day): added documentation, reimplemented
5981 using hildon_date_selector_select_current_date to avoid repeat code
5984 2008-09-02 Alejandro G. Castro <alex@igalia.com>
5986 Reviewed interaction logic based on device experiences, refactored
5989 * src/hildon-pannable-area.c,
5990 (hildon_pannable_area_class_init): Updated default vmax speed.
5991 (hildon_pannable_area_calculate_velocity): Added this function, it
5992 avoids duplicate valocity calculation. Adjusted calculation to
5993 avoid problems with zero dist events.
5995 (hildon_pannable_area_motion_notify_cb): Now we use the
5996 calculate_velocity function.
5998 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6000 * src/hildon-date-selector.c
6001 (hildon_date_selector_select_current_date): fix the day range check
6002 as it failed using the last day of the current month
6005 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6007 * src/hildon-touch-selector.c
6008 (hildon_touch_selector_get_num_columns): added a parameter validation
6011 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6013 * examples/Makefile.am
6014 * examples/hildon-edit-toolbar-example.c: Example of the
6015 HildonEditToolbar widget.
6017 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6019 * configure.ac: postrelease version bump.
6021 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6025 * configure.ac: prerelease version bump.
6026 * debian/changelog: update.
6028 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6030 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6031 renderer to display stock icons in the touch list. Also, set the sizes
6032 to the recommended in the style guide.
6034 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6035 * src/hildon-touch-selector.h
6036 (hildon_touch_selector_set_active_iter): renamed, now is
6037 hildon_touch_selector_select_iter
6038 (hildon_touch_selector_get_active_iter): renamed, now is
6039 hildon_touch_selector_get_selected
6040 (hildon_touch_selector_unselect_iter): added
6041 * src/hildon-touch-selector.c
6042 Update after API modification (methods renamed)
6043 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6044 order to avoid problems selecting multiple elements on the column
6045 (hildon_touch_selector_unselect_iter): added the implementation
6046 * src/hildon-time-selector.c
6047 * src/hildon-date-selector.c
6048 * src/hildon-touch-selector-entry.c
6049 Update methods calls after hildon-touch-selector.h API modification (methods
6052 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6054 * src/hildon-stackable-window.c
6055 (hildon_stackable_window_finalize): Call the parent class's finalize.
6057 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6059 * examples/hildon-touch-selector-example.c: (create_selector): Use
6060 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6063 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6065 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6066 set a cell background color, to respect theming.
6068 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6070 * doc/hildon-docs.sgml
6073 * src/hildon-edit-toolbar.c
6074 * src/hildon-edit-toolbar.h
6075 * src/hildon.h: New HildonEditToolbar widget.
6077 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6079 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6082 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6083 * src/hildon-touch-selector.c
6084 (_create_new_column): use g_object_set instead of two g_object_set_property
6086 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6087 * src/hildon-touch-selector.c
6088 (_create_new_column): use of hildon_gtk_tree_view_new to create
6089 the treeview, instead of use directly g_object_new
6090 (_create_new_column): update the property name "vindicator-mode" for the
6091 new one "vscrollbar-policy"
6092 * examples/hildon-date-button-example.c
6093 * examples/hildon-picker-button-multicolumn-example.c
6094 * examples/hildon-touch-selector-entry-example.c
6095 * examples/hildon-touch-selector-example.c
6096 * examples/hildon-time-button-example.c
6097 * examples/hildon-picker-button-example.c
6098 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6099 to all the treeviews inside a pannable area.
6101 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6103 * src/hildon-button.h
6104 * src/hildon-button.c (hildon_button_init)
6105 (hildon_button_set_arrangement, hildon_button_set_alignment)
6106 (hildon_button_set_title_alignment)
6107 (hildon_button_set_value_alignment)
6108 (hildon_button_set_image_alignment)
6109 (hildon_button_construct_child): New methods to set the alignment
6110 of the individual components of the button (title, value,
6111 image). Also, new method to alter the xscale and yscale properties
6112 of the GtkAlignment inside the button, so more complex layouts can
6115 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6117 * src/hildon-button.c (hildon_button_style_set)
6118 (hildon_button_class_init, hildon_button_set_arrangement)
6119 (hildon_button_construct_child): Apply style properties
6120 correctly. Use the 'image-spacing' style property too.
6122 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6124 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6125 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6128 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6130 * src/hildon-pannable-area.c,
6131 (hildon_pannable_area_size_request): Fixed problem with
6132 pannable-area size_request.
6134 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6136 Added management for the grab-focus to a child widget, like a
6137 range, we need to fade out the scrollbar when releasing.
6139 * src/hildon-pannable-area.c,
6140 (hildon_pannable_area_init): Connected the grab-focus signal to
6142 (hildon_pannable_area_grab_notify): Added this function in order
6143 to manage the situation when the grab-focus ends. We have to
6144 fade-out the scrollbar.
6146 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6148 * src/hildon-app-menu.c: Minor documentation update.
6150 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6152 * src/hildon-app-menu.c
6153 * examples/hildon-app-menu-example.c (create_menu): Update
6154 examples and documentation to explain how to connect callbacks.
6156 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6158 * examples/hildon-button-example.c
6159 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6160 hildon_stackable_window_new instead of gtk_window_new
6162 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6164 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6165 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6166 (hildon_pannable_area_set_property),
6167 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6168 (hildon_pannable_area_unrealize),
6169 (hildon_pannable_area_size_request),
6170 (hildon_pannable_area_size_allocate),
6171 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6172 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6173 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6174 (hildon_pannable_area_initial_effect),
6175 (hildon_pannable_area_redraw),
6176 (hildon_pannable_area_scroll_indicator_fade),
6177 (hildon_pannable_area_expose_event),
6178 (hildon_pannable_area_get_topmost), (synth_crossing),
6179 (hildon_pannable_area_button_press_cb),
6180 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6181 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6182 (hildon_pannable_area_motion_notify_cb),
6183 (hildon_pannable_area_button_release_cb),
6184 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6185 (hildon_pannable_area_remove),
6186 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6187 chage the code layout to a more GtkWidget like. Review the use of
6190 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6192 * examples/hildon-pannable-area-example-4.c,
6193 (main): Modified the name of the hindicator_mode to
6196 * src/hildon-pannable-area.c,
6197 (hildon_pannable_area_class_init),
6198 (hildon_pannable_area_motion_notify_cb),
6199 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6200 we have reduced the amount of signals and managed reviewed its
6201 rationale. Changed the default decelerate value.
6203 (hildon_pannable_area_add),
6204 (hildon_pannable_area_redraw): Refactored functions.
6206 (hildon_pannable_area_init),
6207 (hildon_pannable_area_get_property),
6208 (hildon_pannable_area_set_property):
6209 (hildon_pannable_draw_vscroll),
6210 (hildon_pannable_draw_hscroll),
6211 (hildon_pannable_area_initial_effect),
6212 (hildon_pannable_area_expose_event),
6213 (hildon_pannable_area_scroll),
6214 (hildon_pannable_area_button_press_cb),
6215 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6216 and vindicator_mode with hscrollbar_policy and
6217 vscrollbar_policy. Replaced hscroll and vscroll with
6218 hscroll_visible and vscroll_visible.
6220 (hildon_pannable_area_refresh): Refactor the function, remove
6221 variables and check the calls to this function, added resize
6222 conditions in case the children change their layout.
6224 (hildon_pannable_area_size_request): Added more detailed
6225 size_request calculation.
6228 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6230 * src/hildon-color-chooser.c
6231 (init_borders): use the correct gtk_border_free instead of g_free, to
6232 avoid a crash when this widget is used (ie: the three color selection
6235 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6237 * src/hildon-check-button.c,
6238 (hildon_check_button_set_active): Fixed problem when setting the
6239 active value, the widget was not redrawn.
6241 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6243 * src/hildon-pannable-area.c,
6244 (hildon_pannable_area_refresh),
6245 (hildon_pannable_area_scroll),
6246 (hildon_pannable_area_motion_notify_cb): Small code style change.
6248 (hildon_pannable_area_class_init): Default initial_hint set to
6249 FALSE, it is not in the specs.
6251 (hildon_pannable_area_initial_effect),
6252 (hildon_pannable_area_expose_event),
6253 (hildon_pannable_area_map),
6254 (hildon_pannable_area_init): Moved the launching point of the
6255 initial effect, it was in map but the sizes where not correct in
6256 that method so we do not know if we have the reproduce it. Now it
6257 is placed in the expose_event method and uses a variable to
6258 reproduce it just once.
6260 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6262 * src/hildon-pannable-area.c,
6263 (hildon_pannable_draw_vscroll),
6264 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6265 position allowed for the scrollbars.
6267 (hildon_pannable_area_size_allocate): Small style change.
6269 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6271 * src/hildon-pannable-area.c,
6272 (hildon_pannable_area_scroll_indicator_fade),
6273 (hildon_pannable_area_button_press_cb),
6274 (hildon_pannable_area_button_release_cb),
6275 (hildon_pannable_area_scroll_cb),
6276 (hildon_pannable_area_expose_event),
6277 (hildon_pannable_area_init): Added the define parameter
6278 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6279 and refactor the fade variable.
6281 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6283 * src/hildon-pannable-area.c,
6284 (hildon_pannable_area_redraw),
6285 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6286 lines, we were reimplemeting the redraw code.
6288 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6290 * src/hildon-pannable-area.c,
6291 (hildon_pannable_area_scroll_cb),
6292 (hildon_pannable_area_realize),
6293 (hildon_pannable_area_class_init): Added scroll_event management
6294 for pannable area, now we can scroll the usual desktop method.
6296 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6297 initialization of the parameters should depend on idle_id.
6299 (hildon_pannable_area_init),
6300 (hildon_pannable_area_map): Small code style modifications
6302 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6304 * src/hildon-pannable-area.c
6305 (hildon_pannable_area_button_press_cb),
6306 (hildon_pannable_area_motion_notify_cb),
6307 (hildon_pannable_area_button_release_cb),
6308 (hildon_pannable_area_size_allocate),
6309 (hildon_pannable_area_scroll_to): Improved the timeouts
6310 management, we avoid creating them each time.
6312 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6314 * src/hildon-pannable-area.c:
6315 (hildon_pannable_area_refresh),
6316 (hildon_pannable_area_motion_notify_cb),
6317 (hildon_pannable_area_class_init):
6318 * src/hildon-pannable-area.h:
6319 * src/hildon-touch-selector.c
6320 (_create_new_column):
6321 * examples/hildon-pannable-area-example-4.c:
6322 (horizontal_movement),
6323 (vertical_movement),
6325 Replaced the names of enums in the HildonPannableArea:
6326 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6327 HILDON_MOVEMENT_MODE_*
6328 - HILDON_PANNABLE_AREA_MOV_* ->
6330 - Removed HildonPannableAreaIndicatorMode, now we
6333 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6335 * examples/hildon-pannable-area-touch-grid-example.c
6336 * examples/hildon-pannable-area-touch-list-example.c: Fix
6337 compilation warnings.
6339 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6341 * src/hildon-gtk.c (hildon_gtk_button_new)
6342 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6343 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6344 images overriding the value of the "gtk-button-images" setting.
6346 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6348 * src/hildon-check-button.c (hildon_check_button_new):
6349 Instead of using a custom container, display the label and the
6350 checkbox using the standard GtkButton API.
6352 * examples/hildon-check-button-example.c (main): Don't use
6353 hildon_check_button_set_label() anymore
6355 * src/hildon-check-button.h
6356 * src/hildon-check-button.c
6357 (hildon_check_button_set_label, hildon_check_button_get_label):
6358 Set as deprecated, now we're using gtk_button_{get,set}_label()
6360 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6362 * src/hildon-pannable-area.c,
6363 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6364 GtkTreeview first line we detected it after the inclusion of the
6365 GtkWindowImpl in gtk+. We now check if the window is visible, not
6366 just if the pointer is over the window.
6367 (hildon_pannable_axis_scroll),
6368 (hildon_pannable_area_expose_event): Small style changes.
6370 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6372 * src/hildon-button.c: Update documentation.
6374 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6376 * examples/hildon-button-example.c: Add a switch to show images in
6379 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6381 * doc/hildon-docs.sgml: Some docs reorganization.
6383 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6385 * examples/hildon-pannable-area-touch-list-example.c
6387 * examples/hildon-pannable-area-touch-grid-example.c
6388 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6389 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6390 Fix memory leak when setting the tree model.
6392 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6396 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6398 * doc/hildon.types: Remove duplicated hildon_window_get_type
6399 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6400 documentation comment.
6402 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6404 * doc/Makefile.am: Complete list of private headers.
6406 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6408 * doc/hildon-docs.sgml
6409 * src/hildon-app-menu.c
6410 * src/hildon-bread-crumb.c
6411 * src/hildon-button.c
6413 * src/hildon-program.c
6414 * src/hildon-stackable-window.c
6415 * src/hildon-window.c: Lots of documentation updates.
6417 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6419 * debian/control: Depend on Gtk 2:2.12.9-0osso3
6421 * configure.ac: Require Gtk+ 2.12.9 at least
6423 2008-08-12 Alejandro G. Castro <alex@igalia.com>
6425 * src/hildon-pannable-area.c
6426 (hildon_pannable_area_scroll_indicator_fade),
6427 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6428 to protect the return of this timeout callbacks, avoiding deadlocks.
6430 2008-08-12 Christian Dywan <christian@imendio.com>
6433 * src/hildon-*.h: Ensure a consistent include order,
6434 include <gtk/gtk.h> instead of particular files and
6435 only include the topmost header in the gtk stack. See NB #39857
6437 2008-08-12 Christian Dywan <christian@imendio.com>
6439 * src/hildon-picker-dialog.c
6440 * src/hildon-touch-selector.c: Fix warnings about unused and
6441 uninitialized variables.
6443 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6445 * examples/Makefile.am
6446 * examples/hildon-check-button-example.c: Example of the hildon
6449 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6451 * src/hildon-window.h
6452 * src/hildon-window.c (hildon_window_class_init)
6453 (hildon_window_unset_program): Don't make
6454 hildon_window_unset_program a virtual function anymore.
6456 * src/hildon-stackable-window.c: Update documentation
6458 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6461 * doc/hildon-docs.sgml
6462 * doc/visual_index.xml
6463 * src/hildon-defines.c
6465 * src/hildon-helper.c
6466 * src/hildon-range-editor.c: Lots of documentation fixes.
6468 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6470 * examples/hildon-picker-button-multicolumn-example.c
6471 (create_touch_selector): Fix compilation warning.
6473 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6475 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
6476 (hildon_pannable_area_button_release_cb)
6477 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6479 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6481 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
6484 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6486 * src/hildon-bread-crumb-trail.h
6487 * src/hildon-date-editor.c
6488 * src/hildon-date-selector.c
6489 * src/hildon-pannable-area.c
6490 * src/hildon-picker-dialog.c
6491 * src/hildon-time-selector.c
6492 * src/hildon-touch-selector-entry.c
6493 * src/hildon-touch-selector.c
6494 * src/hildon-touch-selector.h: Misc documentation fixes
6496 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6498 * examples/hildon-date-editor-example.c (main): Updated date
6501 * examples/hildon-note-example.c (on_confirmation_clicked):
6502 Updated confirmation note example.
6504 * src/hildon-date-editor.c
6505 * src/hildon-note.c: Updated sample programs in documentation.
6508 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6510 * src/hildon-date-button.h:
6511 * src/hildon-picker-button.h:
6512 * src/hildon-time-button.c:
6513 * src/hildon-time-button.h:
6515 Some declarations changes to allow gtk-doc to document the widgets
6518 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6520 * src/hildon-date-button.c: Document the widget.
6521 * src/hildon-time-button.c: Document the widget.
6523 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6525 * src/hildon-picker-button.c: Document the widget.
6526 * src/hildon-touch-selector-entry.c: Document the widget.
6528 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6530 * doc/hildon-docs.sgml
6533 * src/hildon-check-button.h
6534 * src/hildon-check-button.c: New functions to create the Hildon
6538 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
6540 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6542 * src/hildon-button.h
6543 * src/hildon-button.c
6544 (hildon_button_add_title_size_group)
6545 (hildon_button_add_value_size_group)
6546 (hildon_button_add_image_size_group)
6547 (hildon_button_add_size_groups): New functions to set size groups
6548 for the button labels and image.
6549 (hildon_button_new_full): Removed
6551 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
6553 * src/hildon-time-selector.c
6554 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
6555 in order to avoid a crash if gconf is not available
6557 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6559 * src/hildon-button.c (hildon_button_set_arrangement)
6560 (hildon_button_construct_child): Don't construct the button child
6561 before setting the arrangement.
6563 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6565 * src/hildon-program-private.h
6566 * src/hildon-program.c
6567 * src/hildon-program.h
6568 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
6569 (hildon_program_peek_window_stack)
6570 (hildon_program_pop_window_stack)
6571 (hildon_program_go_to_root_window): HildonProgram now has a
6572 separate list for stackable windows. Functions are provided to
6573 manage that list with a stack-like API.
6575 * src/hildon-stackable-window.c: Stackable window management is
6576 now much simpler with the new HildonProgram API. Windows no
6577 longer need to be manually added to the program, they're
6578 automatically pushed to the top of the stack when shown.
6580 * examples/hildon-stackable-window-example.c: Updated example to
6581 reflect the API changes.
6583 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6585 * src/hildon-touch-selector.c: Comment out unimplemented
6586 hildon_touch_selector_insert_column() to avoid a compile warning.
6588 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6590 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6591 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
6592 (hildon_touch_selector_set_column_selection_mode),
6593 (_hildon_touch_selector_set_model),
6594 (hildon_touch_selector_set_model):
6596 Complete review of HildonTouchSelector documentation.
6598 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6600 * doc/hildon-docs.sgml
6604 * src/hildon-gtk.c: Convenience functions for standard Gtk
6605 widgets, used to easily perform frequent operations.
6607 * src/hildon-button-helpers.h
6608 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
6610 * src/hildon-helper.h
6611 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
6612 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
6614 * src/hildon-button.h
6615 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
6617 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6619 * src/hildon-button.c (hildon_button_init)
6620 (hildon_button_set_arrangement, hildon_button_construct_child):
6621 Pack the image and the labels inside the same GtkAlignment so
6622 gtk_button_set_alignment() can be used
6624 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6626 * src/hildon-button.h
6627 * src/hildon-button.c
6628 (hildon_button_init, hildon_button_set_image)
6629 (hildon_button_set_image_position)
6630 (hildon_button_construct_child): New functions to add an image to
6633 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6635 * src/hildon-date-button.c
6636 * src/hildon-picker-button.c
6637 * src/hildon-time-button.c
6638 * src/hildon-button.c:
6639 (hildon_button_class_init): "size-flags" renamed to "size"
6640 (hildon_button_set_title): Hide the title label if set to NULL.
6642 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6644 HildonButtonFlags split into HildonButtonArrangement (to set the
6645 button layout) and HildonSizeType (which can be used for any
6648 * src/hildon-button.h
6649 * src/hildon-button.c
6650 (hildon_button_class_init)
6651 (hildon_button_set_arrangement)
6652 (hildon_button_set_property): New "size-flags"
6653 property. "arrangement-flags" renamed to "arrangement".
6654 (hildon_button_new, hildon_button_new_with_text)
6655 (hildon_button_new_full): Constructors updated to reflect type changes.
6657 * src/hildon-helper.h
6658 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
6659 to set the size of a widget.
6663 * src/hildon-button-helpers.c
6664 * src/hildon-button-helpers.h: New hildon-button-helpers module.
6666 * src/hildon-date-button.c
6667 * src/hildon-date-button.h
6668 * src/hildon-picker-button.c
6669 * src/hildon-picker-button.h
6670 * src/hildon-time-button.c
6671 * src/hildon-time-button.h: Updated widgets to reflect
6672 HildonButton API changes.
6674 * examples/hildon-button-example.c
6675 * examples/hildon-date-button-example.c
6676 * examples/hildon-picker-button-example.c
6677 * examples/hildon-picker-button-multicolumn-example.c
6678 * examples/hildon-time-button-example.c
6679 * examples/hildon-touch-selector-entry-example.c
6680 * examples/hildon-touch-selector-example.c: Updated examples to
6681 reflect HildonButton API changes.
6683 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6685 * doc/hildon-docs.sgml:
6687 * examples/Makefile.am:
6688 * examples/hildon-touch-selector-entry-example.c:
6690 * src/hildon-touch-selector-entry.c:
6691 * src/hildon-touch-selector-entry.h:
6694 Moved HildonTouchSelectorEntry from sandbox. Added its
6695 documentation and examples.
6697 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6699 * src/hildon-touch-selector.h:
6700 * examples/hildon-picker-button-multicolumn-example.c:
6701 (hildon_touch_selector_append_text_column): Add a gboolean
6702 parameter to determine if text must be centered in the column.
6704 * src/hildon-date-selector.c: (hildon_date_selector_init):
6705 * src/hildon-time-selector.c: (hildon_time_selector_init):
6706 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
6707 (create_touch_selector): Update widgets and example to reflect
6710 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6712 * src/hildon-touch-selector.c:
6713 (hildon_touch_selector_set_active_iter): Set also the cursor in
6716 2008-08-06 Alberto Garcia <agarcia@igalia.com>
6718 * doc/hildon-docs.sgml
6721 * src/hildon-toggle-button.c
6722 * src/hildon-toggle-button.h
6723 * src/hildon.h: Removed HildonToggleButton widget, a derived
6724 class is not necessary for this.
6726 2008-08-06 Alejandro G. Castro <alex@igalia.com>
6728 * src/hildon-pannable-area.c,
6729 (hildon_pannable_area_realize),
6730 (hildon_pannable_area_size_allocate): Code refactoring, add tests
6733 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
6735 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
6736 "done" button the default widget for the dialog.
6738 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6740 * src/hildon-touch-selector.c:
6741 (hildon_touch_selector_class_init),
6742 (hildon_touch_selector_get_property),
6743 (_hildon_touch_selector_set_model),
6744 (_hildon_touch_selector_has_multiple_selection),
6745 (hildon_touch_selector_has_multiple_selection):
6746 Add a "has-multiple-selection" property with a virtual
6747 has_multiple_selection() method to allow derived classes to
6748 override the default value for it. See the method and property
6749 documentation for details.
6751 * src/hildon-touch-selector.h: Add the new API.
6753 * src/hildon-picker-dialog.c: (requires_done_button): Call
6754 hildon_touch_selector_has_multiple_selection() instead of
6755 determining the need for a button itself.
6757 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6759 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6760 (_hildon_touch_selector_set_model),
6761 (hildon_touch_selector_set_model): Move working code to
6762 _hildon_touch_selector_set_mode(). Call the class method instead.
6764 * src/hildon-touch-selector.h: Add (*set_model) to
6765 HildonTouchSelectorClass.
6767 Make hildon_touch_selector_set_model() a virtual method, so that
6768 derived classes can extend it and do fancy stuff with the model.
6770 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6772 * configure.ac: Set back the tarname in AC_INIT to hildon.
6774 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6778 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
6779 instead of libesd (NB#86876). Volume handling is still an open issue.
6781 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
6784 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6786 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
6787 (hildon_touch_selector_append_column): Make the widget a GtkVBox
6788 derived class to ease placement of an entry widget in
6789 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
6790 end, where the selector columns are packed now.
6792 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6794 * src/hildon-picker-button.c: Removed the simple _text() API.
6795 * src/hildon-picker-button.h: Likewise.
6797 * src/hildon-touch-selector.h:
6798 * src/hildon-touch-selector.c:
6799 (hildon_touch_selector_new_text),
6800 (hildon_touch_selector_append_text),
6801 (hildon_touch_selector_prepend_text),
6802 (hildon_touch_selector_insert_text):
6804 Moved the simple _text() API from HildonPickerButton to
6805 HildonTouchPicker, to provide better escalability and not to tie
6806 that API to HildonPickerButton.
6808 * examples/hildon-picker-button-example.c: (main): Example updated.
6810 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6812 * src/hildon-button.c: Updated documentation.
6814 * examples/hildon-button-example.c: Add the posibility to create
6815 the buttons using horizontal layout for title and value.
6817 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6819 * src/hildon-app-menu-private.h
6820 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
6821 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
6822 GtkSizeGroup for the filters, use the 'homogeneous' property of
6825 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6827 * examples/hildon-button-example.c: Updated example.
6829 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
6831 * doc/hildon-docs.sgml:
6834 Update documentation.
6836 * examples/Makefile.am: Update renamed examples.
6838 * examples/hildon-picker-button-multicolumn-example.c:
6839 (create_touch_selector), (main): Update after the rename.
6841 * examples/hildon-touch-picker-example.c: Removed.
6842 * examples/hildon-touch-selector-example.c: (value_changed),
6843 (create_selector), (get_visible_content), (main): Renamed from
6844 hildon-touch-picker-example.c
6846 * src/Makefile.am: Updated renamed files.
6848 * src/hildon-date-button.c: (hildon_date_button_init),
6849 (hildon_date_button_get_date), (hildon_date_button_set_date):
6850 * src/hildon-date-selector.c: (hildon_date_selector_init),
6851 (_custom_print_func), (_update_day_model),
6852 (_manage_selector_change_cb),
6853 (hildon_date_selector_select_current_date),
6854 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
6855 * src/hildon-date-selector.h:
6856 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6857 (hildon_picker_button_set_property),
6858 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6859 (hildon_picker_button_init), (hildon_picker_button_new_text),
6860 (hildon_picker_button_append_text),
6861 (hildon_picker_button_prepend_text),
6862 (hildon_picker_button_insert_text),
6863 (hildon_picker_button_set_selector),
6864 (hildon_picker_button_get_selector):
6865 * src/hildon-picker-button.h:
6866 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
6867 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
6868 (_update_title_on_selector_changed_cb), (requires_done_button),
6869 (_hildon_picker_dialog_set_selector),
6870 (hildon_picker_dialog_set_selector),
6871 (hildon_picker_dialog_get_selector):
6872 * src/hildon-picker-dialog.h:
6873 * src/hildon-time-button.c: (hildon_time_button_init),
6874 (hildon_time_button_get_time), (hildon_time_button_set_time):
6875 * src/hildon-time-selector.c: (hildon_time_selector_init),
6876 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
6877 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
6878 * src/hildon-time-selector.h:
6881 Massive code updates after the rename.
6883 * src/hildon-touch-picker.c: Removed.
6884 * src/hildon-touch-picker.h: Removed.
6886 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6887 (hildon_touch_selector_init), (hildon_touch_selector_map),
6888 (hildon_touch_selector_remove), (_default_print_func),
6889 (_selection_changed_cb), (_create_new_column),
6890 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
6891 (hildon_touch_selector_append_text_column),
6892 (hildon_touch_selector_remove_column),
6893 (hildon_touch_selector_set_column_attributes),
6894 (hildon_touch_selector_insert_column),
6895 (hildon_touch_selector_get_num_columns),
6896 (hildon_touch_selector_get_column_selection_mode),
6897 (hildon_touch_selector_set_column_selection_mode),
6898 (hildon_touch_selector_set_print_func),
6899 (hildon_touch_selector_get_print_func),
6900 (hildon_touch_selector_get_active_iter),
6901 (hildon_touch_selector_set_active_iter),
6902 (hildon_touch_selector_get_selected_rows),
6903 (hildon_touch_selector_get_model),
6904 (hildon_touch_selector_set_model),
6905 (hildon_touch_selector_get_current_text),
6906 (_hildon_touch_selector_center_on_selected_items):
6907 * src/hildon-touch-selector.h: Renamed from
6908 hildon-touch-picker.[ch]
6910 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
6911 references, code examples, and related documentation.
6913 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6915 * doc/hildon-docs.sgml
6918 * src/hildon-toggle-button.c
6919 * src/hildon-toggle-button.h
6920 * src/hildon.h: New HildonToggleButton widget.
6922 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6924 * src/hildon-button.c: Add API documentation.
6925 (hildon_button_set_size_groups): Check input parameters
6927 2008-07-30 Alejandro G. Castro <alex@igalia.com>
6929 * src/hildon-pannable-area.c
6930 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
6931 effect after reaching the movement thredshold. This way we start
6932 using the distance after passing the thredshold.
6934 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6936 * src/hildon-button.c: (hildon_button_set_property): Use the
6937 appropriate g_value_get_flags() method.
6939 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6941 * doc/hildon-docs.sgml:
6944 Add the touch pickers, picker dialogs, and picker button widgets
6945 to the documentation.
6947 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6949 * src/hildon-button.c: (hildon_button_set_property),
6950 (hildon_button_class_init): Make "arrangement-flags" a proper
6951 G_TYPE_FLAGS derived property.
6953 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6955 * examples/Makefile.am: Add below examples.
6956 * examples/hildon-date-button-example.c:
6957 * examples/hildon-picker-button-example.c:
6958 * examples/hildon-picker-button-multicolumn-example.c:
6959 * examples/hildon-time-button-example.c:
6960 * examples/hildon-touch-picker-example.c:
6962 Add examples for the recently added touch pickers,
6963 picker dialogs, and picker button widgets.
6965 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6967 * src/hildon-button.c: Add some API documentation
6969 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6971 * src/hildon-button.h
6972 * src/hildon-button.c
6974 (hildon_button_new_with_text): New constructor to create a button
6975 with no text at all.
6976 (hildon_button_init, hildon_button_set_arrangement)
6977 (hildon_button_set_title, hildon_button_set_value)
6978 (hildon_button_set_text)
6979 (hildon_button_construct_child): Hide the value when it's not used
6980 so the rest of the text is properly aligned.
6981 Allow creating buttons with arbitrary widgets inside (not just
6982 title/value labels).
6984 * examples/hildon-button-example.c (vertical_buttons_window)
6985 (horizontal_buttons_window): Update example to use new API.
6987 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6989 * src/Makefile.am: Added HildonTimeButton.
6990 * src/hildon-time-button.c: Added missing LGPL header.
6991 * src/hildon-time-button.h: Added missing LGPL header.
6992 * src/hildon.h: Add hildon-time-button.h
6994 Copied HildonTimeButton from sandbox to trunk. Future work on this
6995 widget must take place in trunk.
6997 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6999 * src/Makefile.am: Added HildonDateButton.
7000 * src/hildon-date-button.c: Update includes.
7001 * src/hildon.h: Add hildon-date-button.h
7003 Copied HildonDateButton from sandbox to trunk. Future work on this
7004 widget must take place in trunk.
7006 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7008 * src/Makefile.am: Added HildonPickerButton.
7009 * src/hildon-picker-button.h: Update includes.
7010 * src/hildon.h: Add hildon-picker-button.h
7012 Copied HildonPickerButton from sandbox to trunk. Future work on
7013 this widget must take place in trunk.
7015 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7017 * src/Makefile.am: Added HildonPickerDialog.
7018 * src/hildon-picker-dialog.c: Update includes.
7019 * src/hildon.h: Add hildon-picker-dialog.h
7021 Copied HildonPickerDialog from sandbox to trunk. Future work
7022 on this widget must take place in trunk.
7024 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7026 * src/Makefile.am: Added HildonTimeSelector.
7027 * src/hildon.h: Add hildon-time-selector.h
7029 Copied HildonTimeSelector widget from sandbox to trunk. Future
7030 work on this widget must happen in trunk.
7032 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7034 * src/Makefile.am: Added HildonDateSelector.
7035 * src/hildon.h: Add hildon-date-selector.h
7037 Copied HildonDateSelector widget from sandbox to trunk. Future
7038 work on this widget must happen in trunk.
7040 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7042 * src/Makefile.am: Added HildonTouchPicker.
7043 * src/hildon-touch-picker.c: Update includes.
7044 * src/hildon.h: Add hildon-touch-picker.h
7046 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7047 on this widget must happen in trunk.
7049 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7051 * src/hildon-pannable-area.c:
7052 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7054 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7056 * examples/hildon-app-menu-example.c (main): Let the window
7059 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7061 * src/hildon-pannable-area.c
7062 (hildon_pannable_area_class_init): Set the min value of the
7063 overshoot properties to zero, which points out that not
7064 overshooting allowed.
7066 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7068 Modified the procedure to get the widget at a point inside the
7069 pannable area when using the movement type signals. Now the user
7070 has to call a function to get the child, that way we just
7071 calculate the child in case the user really want to use it and not
7074 * src/hildon-marshalers.list: Modified the marshallers, now we do
7075 not have the widget as a parameter.
7077 * src/hildon-pannable-area.c
7078 (hildon_pannable_area_motion_notify_cb),
7079 (hildon_pannable_area_class_init),
7080 (hildon_pannable_get_child_widget_at): Removed the widget
7081 parameter from the signal callback. We have also refactored the
7082 emission of the signals.
7084 * src/hildon-pannable-area.h: Added a new method to the API to
7085 calculate a widget at a point inside the pannable area,
7086 hildon_pannable_get_child_widget_at.
7088 * examples/hildon-pannable-area-example-4.c
7089 (horizontal_movement): Modified the example to use the new API,
7090 added condition to control which widget is under the event. This
7091 way we can avoid scrolling laterally over other widgets.
7093 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7095 * src/hildon-pannable-area.c
7096 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7097 modes, we stop getting the pointer events due to returning the
7098 callback without properly calling the get pointer again. Fixed
7099 also an error using the hscroll and vscroll.
7101 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7103 * src/hildon-app-menu-private.h
7104 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7105 (hildon_app_menu_button_release, hildon_app_menu_init)
7106 (hildon_app_menu_class_init): Don't hide the menu on button
7107 release if the user didn't press outside first.
7109 * src/hildon-window.h
7110 * src/hildon-window.c (hildon_window_toggle_menu)
7111 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7112 hildon_window_toggle_menu a virtual function for the stackable
7113 window to override it.
7115 * src/hildon-stackable-window.h
7116 * src/hildon-stackable-window-private.h
7117 * src/hildon-stackable-window.c
7118 (hildon_stackable_window_realize)
7119 (hildon_stackable_window_finalize)
7120 (hildon_stackable_window_class_init)
7121 (hildon_stackable_window_init)
7122 (hildon_stackable_window_set_main_menu): New function to set the
7123 app menu of a HildonStackableWindow.
7125 * examples/hildon-app-menu-example.c: Remove the button to show
7126 the app menu, now it'll be shown when clicking on the title bar
7129 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7131 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7132 set the widget name if the arrangement flags do not specify
7135 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7137 * src/hildon-button.c: (hildon_button_set_property),
7138 (hildon_button_class_init), (hildon_button_new_full),
7139 (hildon_button_set_arrangement): Added "arrangement-flags"
7142 Make the HildonButtonFlags a construction-only property, to allow
7143 subclasses to set them properly.
7145 2008-07-21 Tim Janik <timj@imendio.com>
7147 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7148 insertion position after backspace, so additional digits are appended,
7151 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7153 * src/hildon-pannable-area.c,
7154 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7155 TODO list, it was complete and removed the g_debug and g_print
7158 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7160 Added the movement modes to the hildon-pannable-area, with this
7161 modes the developers can control in which directions the widget
7162 can scroll. They can also connect to signals in order to do
7163 something when that happens, allowing applications scroll. There
7164 is an example uploaded showing how to use it.
7166 * examples/Makefile.am:
7167 * examples/hildon-pannable-area-example-4.c: Added this example of
7168 an application using the modes.
7170 * src/hildon-marshalers.list: Added a new marshaller for the new
7173 * src/hildon-pannable-area.h: Added new enumerations and flags in
7174 order to control the movement modes and the new signals to warn
7175 about the movements in the area.
7177 * src/hildon-pannable-area.c:
7178 (hildon_pannable_axis_scroll),
7179 (hildon_pannable_area_scroll),
7180 (hildon_pannable_area_motion_notify_cb),
7181 (hildon_pannable_area_get_property),
7182 (hildon_pannable_area_set_property),
7183 (hildon_pannable_area_map),
7184 (hildon_pannable_area_class_init),
7185 (hildon_pannable_area_init),
7186 (hildon_pannable_area_jump_to): Added the modes to control the
7187 movement in the widget. We have added properties to control it,
7188 signals to warn about the movements and refactored some code.
7190 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7192 Changes required in order to allow vfast_factor set to zero to
7195 * src/hildon-pannable-area.c:
7196 (hildon_pannable_area_button_press_cb): Changed the condition, it
7197 is required for not allowing click when vfast_factor is zero.
7198 (hildon_pannable_area_timeout): Initialized velocity variables
7199 when we stop moving, it was less than 1 but not zero and we need
7200 to check zero in some situations.
7201 (hildon_pannable_area_class_init): Changed the default value of
7202 the speed factor, now the button_press is just sent in case the
7203 speed is 2 per cent of the max speed.
7204 (hildon_pannable_area_init): Initialization with 0.
7206 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7208 * src/hildon-pannable-area.c,
7209 (hildon_pannable_area_get_topmost): replaced
7210 gdk_window_get_children with gdk_window_peek_children, this way we
7211 do not have to free the list because it is not a copy.
7213 (hildon_pannable_axis_scroll),
7214 (hildon_pannable_area_scroll),
7215 (hildon_pannable_area_timeout),
7216 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7217 two parameters that were only used inside the
7218 hildon_pannable_area_scroll function.
7220 * examples/hildon-pannable-area-example.c,
7221 (get_sawtooth_label): Fixed small memory leak.
7223 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7225 More checks for the case where the overshoot is bigger than the
7228 * src/hildon-pannable-area.c:
7229 (hildon_pannable_draw_vscroll),
7230 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7231 to draw the slider of the scrollbar under the other scrollbar.
7232 (hildon_pannable_area_expose_event): added new checks to control
7233 the drawing of the overshooting area rectangle, in case it is too
7234 big for the area of the widget.
7235 (hildon_pannable_area_size_allocate): add more checks to avoid
7236 setting a position to the child widget outside the area.
7238 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7240 * src/hildon-pannable-area.c
7241 (hildon_pannable_area_size_allocate): Added conditions to control
7242 when overshooting is bigger than the allocated space for the
7243 children, this avoids negative allocations.
7245 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7247 * doc/hildon-docs.sgml
7249 * examples/Makefile.am
7250 * examples/hildon-button-example.c
7252 * src/hildon-button.c
7253 * src/hildon-button.h
7254 * src/hildon.h: Initial version of the new HildonButton widget,
7257 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7259 * src/hildon-pannable-area.c:
7260 (hildon_pannable_area_button_press_cb),
7261 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7262 (hildon_pannable_area_motion_notify_cb),
7263 (hildon_pannable_area_button_release_cb),
7264 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7265 (hildon_pannable_area_jump_to_child):
7267 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7269 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7271 * examples/Makefile.am
7272 * examples/hildon-pannable-area-touch-grid-example.c
7273 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7274 the Hildon Touch List and Hildon Touch Grid using the
7275 HildonPannableArea widget.
7277 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7279 * src/hildon-pannable-area.c,
7280 (hildon_pannable_area_button_press_cb),
7281 (hildon_pannable_area_refresh),
7282 (hildon_pannable_area_scroll),
7283 (hildon_pannable_area_motion_notify_cb),
7284 (hildon_pannable_area_button_release_cb),
7285 (hildon_pannable_area_expose_event),
7286 (hildon_pannable_area_add),
7287 (hildon_pannable_area_remove),
7288 (hildon_pannable_area_realize),
7289 (hildon_pannable_area_size_allocate),
7290 (hildon_pannable_area_class_init),
7291 (hildon_pannable_area_init),
7292 (hildon_pannable_area_scroll_to_child),
7293 (hildon_pannable_area_jump_to_child): Fixed the problem of
7294 removing the child from the GtkBin, we have rearranged the widget
7295 hierarchy, now there is no GtkAlignment which was not doing
7296 anything interesting but breaking some of the assumptions of
7297 GtkContainer. Now developers if they want to add a GtkAlignment
7298 they could, but it is not inside the area.
7300 We had to review the whole allocation/expose process, now it is
7301 improved and we save at least three signals which would be saving
7302 some time when rendering the widget. The allocation of the
7303 scrollbars is now made in the allocate method as usual.
7305 We have also added some conditions in order to control when there
7306 is no child of the pannable area. Maybe we will need more work
7309 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7311 * src/hildon-pannable-area.c,
7312 (hildon_pannable_area_dispose): Released the fade-out timeout when
7313 disposing the widget.
7315 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7317 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7318 zero, we are going to use that property in order to deactivate the
7320 (hildon_pannable_axis_scroll),
7321 (hildon_pannable_area_size_allocate): Added conditions to control
7322 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7323 call, now it is called in all situations and we can remove calls
7324 in the allocate method.
7325 (hildon_pannable_area_map): Control the situation when
7326 overshoot_max is zero, we do not need the timeout.
7327 (hildon_pannable_area_class_init): Added documentation in order to
7328 point out that setting zero to overshoot_max means deactivate
7331 NOTE: removed trailing whitespaces from my previous comments of
7334 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7336 * src/hildon-pannable-area.c
7337 (hildon_pannable_area_get_property),
7338 (hildon_pannable_area_set_property),
7339 (hildon_pannable_area_map),
7340 (hildon_pannable_area_class_init),
7341 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7342 to cause the widget give a hint about its panning abilities upon
7345 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7347 * src/hildon-pannable-area.c: Several documentation improvements.
7349 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7351 * src/hildon-program.c
7352 * src/hildon-stackable-window.c: Update documentation.
7354 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7356 * src/hildon-stackable-window.c (get_previous_window_if_last):
7357 Renamed get_last_window()
7358 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7359 (hildon_stackable_window_unset_program):
7361 (get_previous_window_if_last):
7362 Detect if the window hasn't been added to a HildonProgram.
7364 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7366 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7368 * src/hildon-pannable-area.c
7369 (hildon_pannable_area_button_press_cb),
7370 (hildon_pannable_axis_scroll),
7371 (hildon_pannable_area_scroll),
7372 (hildon_pannable_area_timeout),
7373 (hildon_pannable_calculate_vel_factor),
7374 (hildon_pannable_area_get_property),
7375 (hildon_pannable_area_set_property),
7376 (hildon_pannable_area_class_init),
7377 (hildon_pannable_area_init),
7378 (hildon_pannable_area_scroll_to),
7379 (hildon_pannable_area_jump_to),
7380 (hildon_pannable_area_scroll_to_child),
7381 (hildon_pannable_area_jump_to_child):
7382 * src/hildon-pannable-area.h: Added the new API functions:
7383 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7384 hildon_pannable_area_scroll_to_child,
7385 hildon_pannable_area_jump_to_child
7388 * examples/Makefile.am
7389 * examples/hildon-pannable-area-example-2.c
7390 * examples/hildon-pannable-area-example-3.c: Added these two new
7391 examples in order to test and show how the new APIs work.
7393 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7395 * examples/hildon-stackable-window-example.c (new_window):
7396 * src/Makefile.am (noinst_HEADERS):
7397 * src/hildon-program.c (hildon_program_go_to_root_window):
7398 * src/hildon-program.h:
7399 * src/hildon-stackable-window-private.h:
7400 * src/hildon-stackable-window.c:
7401 * src/hildon-stackable-window.h:
7402 Create hildon-stackable-window-private.h
7403 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7405 * examples/hildon-app-menu-example.c (create_menu):
7406 * examples/hildon-hvolumebar-insensitive-example.c (main):
7407 * examples/hildon-hvolumebar-timer-example.c (on_idle):
7408 * examples/hildon-toolbar-seekbar-example.c (main):
7409 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7410 * src/hildon-banner.c (hildon_banner_set_property):
7411 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7412 Fix compilation warnings
7414 * src/hildon-window.c:
7417 2008-06-24 Alberto Garcia <agarcia@igalia.com>
7419 * src/hildon-stackable-window.c
7420 (hildon_stackable_window_unset_program):
7421 Calculate correctly whether to show the previous window if the
7422 last one is removed from the stack.
7423 (hildon_stackable_window_go_to_root_window):
7424 Send delete events starting from the topmost window.
7425 Stop if one of the windows is not destroyed.
7427 (hildon_stackable_window_delete_event)
7428 (hildon_stackable_window_class_init):
7429 Ignore the delete event if the window is not the topmost one.
7431 2008-06-24 Alejandro G. Castro <alex@igalia.com>
7433 * src/hildon-pannable-area.c
7434 (hildon_pannable_area_expose_event): Fixed a problem when
7435 selecting the background color of the scrollbars.
7437 2008-06-23 Alberto Garcia <agarcia@igalia.com>
7439 * examples/hildon-stackable-window-example.c
7440 * src/hildon-stackable-window.c
7441 * src/hildon-stackable-window.h
7442 hildon_stackable_window_go_home() renamed to
7443 hildon_stackable_window_go_to_root_window()
7444 Send delete events to windows rather than closing them with
7445 gtk_widget_destroy()
7447 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7449 * src/hildon-pannable-area.c
7450 (hildon_pannable_area_button_release_cb): Fix overshooting in
7453 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7455 * src/hildon-pannable-area.c
7456 (hildon_pannable_area_init): Initially show the scroll indicators.
7457 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7459 Add initial effect showing the widget is pannable.
7461 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7463 * src/hildon-pannable-area.c
7464 (hildon_pannable_area_class_init)
7465 (hildon_pannable_area_set_property)
7466 (hildon_pannable_area_get_property)
7467 (hildon_pannable_area_button_press_cb):
7468 New 'velocity_fast_factor' property to decide which velocity is
7471 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7473 * src/hildon-pannable-area.c
7474 (hildon_pannable_draw_hscroll)
7475 (hildon_pannable_draw_vscroll):
7476 Use float variables to calculate the size of the scrollbars to
7477 avoid error propagation and resizing during scrolling.
7479 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7481 * src/hildon-pannable-area.c
7482 (hildon_pannable_draw_vscroll)
7483 (hildon_pannable_draw_hscroll):
7484 Define a minimum size for the scroll bars
7486 * src/hildon-stackable-window.c
7487 (hildon_stackable_window_go_home): Fix compilation warning
7488 (get_last_window): Minor optimizations
7489 (hildon_stackable_window_class_init): Fix initialization of
7492 2008-06-18 Alberto Garcia <agarcia@igalia.com>
7494 * src/hildon-stackable-window.c: Fixed typos in doc
7496 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
7498 * src/hildon-pannable-area.c
7499 (hildon_pannable_area_scroll):
7500 Calculate here whether we need to scroll instead of using the booleans
7501 that tell us whether to /draw/ the scrolling bars.
7503 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
7505 * src/hildon-app-menu.h
7507 * src/hildon-app-menu.c
7508 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
7509 multiple filter groups related code and API. Now we support only
7511 * examples/hildon-app-menu-example.c:
7513 Update to reflect API changes.
7515 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
7517 * src/hildon-stackable-window.c
7518 (hildon_stackable_window_class_init):
7519 Add hildon_stackable_window_realize.
7520 (hildon_stackable_window_realize):
7521 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
7522 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
7523 to apply theming and behavior specific to HildonStackableWindow
7526 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7528 * src/hildon-note.c (hildon_note_button_release):
7529 Close information notes also when tapping on them
7531 2008-06-12 Alejandro G. Castro <alex@igalia.com>
7533 Added BOUNCE_STEPS define to control the overshoot effect. Removed
7534 ELASTICITY, refactor and review, fix some issues with drawing
7537 * src/hildon-pannable-area.c:
7538 (hildon_pannable_area_button_press_cb): removed the conditions to
7539 avoid clicks when overshooting. It is not required
7541 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
7542 define. Refatored and reviewed the code, now we do not need to
7543 manage velocity in motion_notify.
7545 (hildon_pannable_area_motion_notify_cb): We have moved the code
7546 that controls the area_scroll to the axis_scroll function and get
7547 rid of duplicated code.
7549 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
7551 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
7553 (hildon_pannable_draw_vscroll),
7554 (hildon_pannable_draw_hscroll): Fixed the problems with the
7555 scrollbar drawing, now we do not use two surfaces, it is easier
7556 and saves resources.
7558 (hildon_pannable_area_get_property): Style modification.
7560 (hildon_pannable_area_class_init): Changed some default values.
7562 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
7564 * src/hildon-stackable-window.c: Fix some typos in the
7567 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7569 * src/hildon-dialog.c:
7570 Change indentation style
7573 (hildon_note_button_release):
7574 Use root coordinates to check if the release event happened
7577 * src/hildon-app-menu.c
7578 (hildon_app_menu_button_release):
7579 Remove unnecessary check
7581 * examples/hildon-app-menu-example.c
7583 Add cast to fix warning
7585 * src/hildon-app-menu.c
7586 (hildon_app_menu_class_init):
7587 New inner-border style property.
7588 Set all default spacings to 16
7589 (hildon_app_menu_init):
7590 Use vertical-spacing to set the space between filter buttons and
7591 regular menu buttons.
7592 Set the default container border using the inner-border value.
7594 * examples/hildon-app-menu-example.c
7596 Don't set the menu border explicitly, now we have the inner-border
7597 style property for that.
7599 2008-06-11 Alberto Garcia <agarcia@igalia.com>
7601 * src/hildon-app-menu.c (hildon_app_menu_init):
7602 Make the window modal
7604 * src/hildon-note.c (hildon_note_map)
7605 * src/hildon-app-menu.c (hildon_app_menu_map):
7606 Destroy the grab window if we're unable to grab the pointer
7608 * src/hildon-app-menu-private.h
7609 * src/hildon-app-menu.c
7610 (hildon_app_menu_init, hildon_app_menu_finalize)
7611 (hildon_app_menu_map, hildon_app_menu_unmap)
7612 (hildon_app_menu_button_release)
7613 (grab_transfer_window_get):
7614 Bring back the grab window
7615 (hildon_app_menu_realize):
7616 Decorate the window, set WM hint for Matchbox
7618 * src/hildon-note.c (hildon_note_realize):
7619 * src/hildon-banner.c (hildon_banner_realize):
7620 Add WM hints for Matchbox
7622 2008-06-10 Alberto Garcia <agarcia@igalia.com>
7624 * src/hildon-app-menu-private.h
7625 * src/hildon-app-menu.c
7626 (hildon_app_menu_init, hildon_app_menu_finalize)
7627 (hildon_app_menu_map, hildon_app_menu_unmap)
7628 (hildon_app_menu_button_release):
7629 Remove the grab window, it's not needed anymore
7631 * src/hildon-program.c
7632 Fixed typo in documentation
7634 * src/hildon-app-menu.h
7635 * src/hildon-app-menu.c
7636 * examples/hildon-app-menu-example.c
7637 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
7639 2008-06-09 Alberto Garcia <agarcia@igalia.com>
7642 Added new transfer_window and close_if_pressed_outside private
7644 (hildon_note_rebuild):
7645 Don't add a cancel button to the information note. It will be
7646 closed when tapping outside
7647 Remove the comment about the OK button in the documentation
7648 (hildon_note_realize):
7649 Set the notification type hint
7650 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
7651 Grab/ungrab pointer and keyboard if the note has to be closed when
7653 (hildon_note_button_release):
7654 Close the note when tapping outside (if applicable)
7656 * src/hildon-app-menu.c
7657 Grab/ungrab pointer and keyboard on map/unmap
7658 (hildon_app_menu_button_release, hildon_app_menu_class_init):
7659 Close the menu on button release, not button press
7661 * src/hildon-banner.c
7662 (hildon_banner_set_property)
7663 (hildon_banner_check_position):
7664 Make the banner use the full width of the screen
7665 (hildon_banner_show_information)
7666 (hildon_banner_show_information_with_markup):
7667 Don't display an icon by default
7669 2008-06-09 Alejandro G. Castro <alex@igalia.com>
7671 Added fading scrollbars and adapted all the overshooting code to
7672 horizontal scrolling. We have also fixed bugs with overshooting
7673 and current fading implementation.
7675 * src/hildon-pannable-area.c
7676 (hildon_pannable_area_scroll_indicator_fade): Time out function
7677 used to change the transparency of the scrollbars.
7679 (hildon_pannable_area_button_press_cb): Added horizontal overshot
7680 control and fixed a problem with fading, we now remove the fade
7681 timeout before adding a new one.
7683 (hildon_pannable_axis_scroll):
7684 (hildon_pannable_area_scroll):
7685 (hildon_pannable_area_timeout): Added this functions so we can use
7686 the scroll code both for vertical and horizontal.
7688 (hildon_pannable_area_motion_notify_cb):
7689 (hildon_pannable_area_button_release_cb): Added the horizontal
7690 scrolling control, fixed a problem with the overshooting timeout.
7692 (rgb_from_gdkcolor): Added this function, it is used in the cairo
7693 painting of the scrolls.
7695 (hildon_pannable_draw_vscroll):
7696 (hildon_pannable_draw_hscroll):
7697 (hildon_pannable_area_expose_event):
7698 Draw both scrollbars and rectangles in the overshooting area.
7700 (hildon_pannable_area_get_property):
7701 (hildon_pannable_area_set_property):
7702 Modified the overshoot property to overshoot_max
7704 (hildon_pannable_area_map):
7705 Replaced the comments symbols.
7707 (hildon_pannable_area_size_allocate):
7708 (hildon_pannable_area_class_init):
7709 (hildon_pannable_area_init): Added horizontal scroll, fading
7710 effect properties, fixed a problem when overshooting in the bottom
7713 * examples/hildon-pannable-area-example.c:
7714 (get_sawtooth_label): Now we use smaller sawtooths, the effect
7715 looks better in the example.
7717 2008-06-03 Alberto Garcia <agarcia@igalia.com>
7719 * src/hildon-window.c
7720 * src/hildon-window.h
7721 (hildon_window_class_init)
7722 (hildon_window_unset_program)
7723 (hildon_window_unset_program_real):
7724 Make unset_program a virtual function
7726 * src/hildon-stackable-window.c
7727 * src/hildon-stackable-window.h
7728 Added hildon_stackable_window_go_home()
7730 * examples/Makefile.am
7731 * examples/hildon-stackable-window-example.c
7732 HildonStackableWindow example
7734 2008-06-03 Alejandro G. Castro <alex@igalia.com>
7736 * hildon-pannable-area.c: Added the overshoot property and removed
7737 the OVERSHOOT define. Fixed an indent style error.
7738 (hildon_pannable_area_motion_notify_cb):
7739 (hildon_pannable_area_get_property):
7740 (hildon_pannable_area_set_property): Add overshoot property.
7742 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
7745 (hildon_pannable_area_class_init): Installed the new property.
7747 * hildon-pannable-area-example.c: Added a sawtooth function, this
7748 way it is easier to check the movement in the pannable.
7749 (get_sawtooth_label): Added this function.
7750 (main): Now we get the labels from the new get_sawtooth_label
7753 2008-05-26 Alberto Garcia <agarcia@igalia.com>
7755 * src/hildon-app-menu.h
7756 * src/hildon-app-menu.c
7757 Renamed API variables for consistency
7759 (hildon_app_menu_popup): Use also the default window size to
7760 decide where to place the menu
7762 (hildon_app_menu_init, hildon_app_menu_class_init): New
7763 external-border style property
7765 2008-05-26 Michael Natterer <mitch@imendio.com>
7767 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
7768 widget_class->tap_and_hold_setup signal slot doesn't exist any
7769 longer, stop overriding it.
7771 (hildon_time_editor_init): g_signal_connect() to the
7772 tap-and-hold-setup signal instead.
7774 (hildon_time_editor_entry_keypress): add cast to fix warning.
7776 2008-05-23 Alberto Garcia <agarcia@igalia.com>
7778 * doc/hildon-docs.sgml
7780 * examples/Makefile.am
7781 * examples/hildon-app-menu-example.c
7783 * src/hildon-app-menu-private.h
7784 * src/hildon-app-menu.c
7785 * src/hildon-app-menu.h
7787 New HildonAppMenu widget
7789 2008-05-21 Alejandro G. Castro <alex@igalia.com>
7791 Rearranged the inheritance of the pannable area, now it inherits
7792 from GtkBin. This will allow us to control the event_window and
7793 the allocation process of the widget, required for some effects.
7795 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
7796 GtkBin structures. * src/hildon-pannable-area.c: Added the
7797 event_window variable.
7798 (hildon_pannable_area_button_press_cb):
7799 (hildon_pannable_area_button_release_cb):
7800 (hildon_pannable_area_motion_notify_cb):
7801 Changed the signature of the method, now we override the event
7802 callback instead of connecting to the signal.
7804 (hildon_pannable_area_realize):
7805 (hildon_pannable_area_unrealize):
7806 (hildon_pannable_area_map):
7807 (hildon_pannable_area_unmap):
7808 (hildon_pannable_area_size_allocate):
7809 Added functions to control the widget construction. We add a
7810 INPUT_ONLY window and we put it over the widgets inside the
7811 container, this event_window handles the events.
7813 (hildon_pannable_area_class_init):
7814 Replaced the signal connections with overrides of the event
7817 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7819 Bouncing effect added when touching the borders, you can change
7820 the elasticity of the border changing the ELASTICITY define.
7822 * src/hildon-pannable-area.c: Added ELASTICITY define.
7823 (hildon_pannable_area_timeout): Added inverse velocity when
7824 touching the border of the child widget, that causes a bounce.
7826 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7828 Improved performance, we now do not go to the X server in order to
7829 get the list of window children. Apparently the effect is the
7830 same, we have to be careful and check if this breaks something in
7833 * src/hildon-pannable-area.c:
7834 (get_ordered_children): Removed this function.
7835 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
7836 the children windows function with gdk_window_get_children.
7838 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7840 * src/hildon-pannable-area.c:
7841 (hildon_pannable_area_dispose): Fixed a crash when closing the
7842 window and kinetics is activated.
7844 2008-05-19 Alberto Garcia <agarcia@igalia.com>
7846 * src/hildon-pannable-area.h
7847 * src/hildon-pannable-area.c
7848 Changed indentation style to meet the one used in Hildon
7850 2008-05-19 Alejandro G. Castro <alex@igalia.com>
7852 Reviewed the interaction of the AUTO mode, now we use the time
7853 attribute of the events and calculate the velocity in the motion,
7854 doing a gimp like calculation. The velocity is calculated in each
7855 motion event using the last velocity and the current one, the
7856 SMOOTH_FACTOR controls the percentage of the new velocity we use.
7858 * src/hildon-pannable-area.c: Replaced the time based algorithm
7860 (hildon_pannable_area_motion_notify_cb): now we do not launch the
7861 timeout for the AUTO mode when we are still moving the cursor. We
7862 added also the velocity calculation in this function.
7863 (hildon_pannable_area_button_release_cb): launch the timeout in
7864 case we are in AUTO mode. There are still some constants here that
7865 come from the old implementation that should be reviewed and
7868 2008-05-15 Alberto Garcia <agarcia@igalia.com>
7870 * doc/hildon-docs.sgml
7873 * src/hildon-stackable-window.c
7874 * src/hildon-stackable-window.h
7876 New HildonStackableWindow widget
7878 * examples/hildon-dialog-example.c
7879 * examples/hildon-pannable-area-example.c
7882 2008-05-14 Alberto Garcia <agarcia@igalia.com>
7884 * src/hildon-dialog.c
7885 (hildon_dialog_new_with_buttons): New constructor.
7887 * examples/hildon-dialog-example.c
7888 (main): Update the example to use the new
7889 hildon_dialog_new_with_buttons().
7891 * examples/hildon-pannable-area-example.c
7892 (main): Update example.
7894 2008-05-13 Alberto Garcia <agarcia@igalia.com>
7896 * doc/hildon-docs.sgml
7898 Added HildonPannableArea to the documentation.
7900 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
7902 * doc/visual_index.xml
7903 Fix reference to HildonLoginDialog in documentation
7905 * doc/hildon-docs.sgml
7907 * examples/Makefile.am
7908 * examples/hildon-dialog-example.c
7910 * src/hildon-dialog.c
7911 * src/hildon-dialog.h
7913 New HildonDialog widget.
7915 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7917 * src/hildon-pannable-area.c
7918 Merge latest changes (r4318, r4342) from libmokoui trunk
7920 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7922 * examples/Makefile.am
7923 * examples/hildon-pannable-area-example.c
7925 * src/hildon-pannable-area.c
7926 * src/hildon-pannable-area.h
7928 New HildonPannableArea widget.
7930 2008-04-15 18:05:19 <timj@imendio.com>
7932 * src/hildon-banner.c: revert the recent change, that introduced
7933 gtk_window_present() calls. this reopens:
7934 Bug 78481 - [freetest] information banners are hidden under browser menu
7935 But resolves another variant of:
7936 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7938 2008-04-15 13:21:13 <timj@imendio.com>
7940 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
7941 recreated its layout, spotted by Kris. this fixes all remaining
7942 artefacts and stability issues with the banner code. in particular:
7943 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7945 2008-04-14 16:52:59 <timj@imendio.com>
7947 * src/hildon-banner.c: guard force_to_wrap_truncated() against
7948 operating on unrealized widgets, fixes:
7949 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7951 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
7953 2008-04-09 Kristian Rietveld <kris@imendio.com>
7955 Fixes: NB#77775: Media Player, Save Now playing list, too long name
7956 makes banner disappear.
7957 Fixes: NB#79182: info banner flickering with certain message lengts.
7959 * src/hildon-banner.c (hildon_banner_constructor),
7960 (hildon_banner_init), (hildon_banner_set_text),
7961 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
7962 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
7963 FALSE, reset size requests of label and banner,
7964 (force_to_wrap_truncated): when the text is too wide, always enforce
7965 the maximum possible width instead of recalculating it from the
7966 layout; enforce the maximum banner height of 3 lines,
7967 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
7968 nicer wrapping and no truncated chars if space gets tight.
7970 * src/hildon-banner-private.h: add has_been_wrapped and
7971 has_been_truncated fields.
7973 2008-04-07 Sven Herzberg <sven@imendio.com>
7975 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
7976 local values in hildon_date_editor_size_allocate
7978 * src/hildon-date-editor.c: moved the real allocation code into the
7981 2008-04-07 Sven Herzberg <sven@imendio.com>
7983 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7984 local values in hildon_date_editor_size_allocate
7986 * src/hildon-date-editor.c: merged the two if() branches together
7988 2008-04-07 Sven Herzberg <sven@imendio.com>
7990 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7991 local values in hildon_date_editor_size_allocate
7993 * src/hildon-date-editor.c: changed the arguments of the if()
7996 2008-04-07 Sven Herzberg <sven@imendio.com>
7998 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7999 local values in hildon_date_editor_size_allocate
8001 * src/hildon-date-editor.c: split the calculation of the allocation
8002 from the real allocation
8004 2008-03-27 Michael Natterer <mitch@imendio.com>
8006 Fixes: NB#81696: The passcode is not overwritten even after
8009 * src/hildon-code-dialog.c
8010 (hildon_code_dialog_button_clicked)
8011 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8012 because that doesn't overwrite selected text. Instead, emit the
8013 "commit" signal on the entry's im_context so the entry's normal
8014 insert logic is triggered. Set the cursor to the end of the entry
8015 after each insert operation so that we *only* insert in the middle
8016 of the text if something was selected.
8018 2008-03-27 Michael Natterer <mitch@imendio.com>
8020 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8021 selector cannot be opened
8023 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8024 when the popup color selector is created. Please connect to this
8025 signal in order to set the dialog's help ID.
8027 2008-03-25 Sven Herzberg <sven@imendio.com>
8029 Fixes: MB#1212: Hide info banners (infoprints) on click
8031 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8032 extracted the close event simulation into an extra function
8033 (hildon_banner_button_press_event): simulate a close event and destroy
8034 the widget if the event wasn't handled
8035 (hildon_banner_class_init): added the button_press_event handler
8036 (hildon_banner_init): added button-press events to the widget
8038 2008-03-25 Sven Herzberg <sven@imendio.com>
8040 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8041 Patch from: Mohammad Anwari <mdamt@maemo.org>
8043 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8044 instead of the right in RTL mode
8045 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8046 breadcrumb button list in RTL mode
8047 * src/hildon-caption.c: mirror the appearance of the caption widget in
8049 * src/hildon-date-editor.c: mirror appearance of the date editor in
8051 * src/hildon-time-editor.c: mirror appearance of the time editor in
8053 * src/hildon-window.c: fix the position of the popup in RTL mode
8055 2008-03-25 Sven Herzberg <sven@imendio.com>
8057 Amendment to the fix of NB#22072. Fix compilation.
8059 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8061 2008-03-19 Sven Herzberg <sven@imendio.com>
8063 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8066 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8067 timeout id properly when the timeout will disappear this leaves no
8068 artifacts around in the destroy(); there will only be the timeout
8069 created by hildon_banner_ensure_timeout() and adding a new timeout
8070 will also work if the timeout gets removed because the timeout_handler
8073 2008-03-19 Michael Natterer <mitch@imendio.com>
8075 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8077 * src/hildon-volumebar.c
8078 * src/hildon-vvolumebar.c
8079 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8080 the widget becomes focussable at all.
8082 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8083 set the focus to wither the mute button or the volumebar.
8085 Remove own "can-focus" property and instead listen to
8086 notify::can-focus in order to update the widget's state.
8088 Implement GtkWidget::focus() and make sure we can also *leave* the
8089 widget, not only enter it, depending on volumebar orientation and
8090 requested focus direction.
8092 Clean up set_mute() to cooperate nicely with all the above.
8094 2008-03-04 Michael Natterer <mitch@imendio.com>
8096 Fixes: NB#78481: information banners are hidden under browser menu
8098 * src/hildon-banner.c: call gtk_window_present() on the banners so
8099 they are risen if they are already visible.
8101 2008-03-03 Sven Herzberg <sven@imendio.com>
8103 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8105 * examples/hildon-window-menu-example.c: (main): extended the window
8106 menu example to serve as a testcase for automatically added
8107 accelerator groups, too
8108 * src/hildon-window.c: (hildon_window_add_accel_group),
8109 (hildon_window_set_menu): added patch by Tommi Komulainen
8111 2008-03-03 Sven Herzberg <sven@imendio.com>
8113 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8115 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8116 knowledge about the border allocators used within GTK+
8118 2008-02-26 Sven Herzberg <sven@imendio.com>
8120 Fixes: MB#2981: Build with asserts broken
8122 * src/hildon-date-editor.c,
8123 * src/hildon-number-editor.c,
8124 * src/hildon-time-editor.c,
8125 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8126 the proper GType instance check
8128 2008-02-25 Sven Herzberg <sven@imendio.com>
8130 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8132 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8133 * examples/hildon-window-menu-example.c: (main): explicitly show
8135 * src/hildon-window.c:
8136 (hildon_window_set_main_menu): moved most of the code from set_menu()
8137 to this place; skipped the call to gtk_widget_show_all(); also didn't
8138 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8139 (hildon_window_set_menu): removed most of the code, just keep the
8140 questionable gtk_widget_show_all()
8141 * src/hildon-window.h: added the new function and deprecate the old
8144 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8150 * debian/changelog: Updating.
8152 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8155 * pkgconfig/Makefile.am:
8156 * pkgconfig/hildon.pc.in:
8159 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8160 use newly created API_MAJOR_VERSION.
8162 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8168 * debian/changelog: Updating.
8170 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8172 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8174 Add outer_border style property, we use it but don't define it (!).
8178 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8180 * examples/hildon-bread-crumb-trail-example.c (main):
8184 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8186 Fix logic for the bread crumb trail node removal.
8190 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8196 * debian/changelog: Updating.
8198 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8200 Patch by Alejandro to get/set passwords dialogs accesibility.
8202 * hildon-1/src/hildon-get-password-dialog.c:
8203 * hildon-1/src/hildon-set-password-dialog.c:
8204 Set atk_set_name to the passwd entries in order to allow
8205 accessibility by name on this entries.
8207 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8212 * debian/control: Updating gtk dep.
8214 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8216 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8217 USE_MAEMO_GTK is enabled.
8219 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8221 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8222 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8224 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8230 * debian/changelog: Updating.
8232 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8234 * examples/Makefile.am:
8235 * examples/hildon-logical-color-example.c:
8236 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8237 applied + adding a test case. Fixes: NB#71660.
8239 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8241 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8242 to be visible, fixes warning on map for windows without toolbars.
8244 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8246 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8247 2.11.0, add a check for that besides the MAEMO_GTK check.
8249 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8255 * debian/changelog: Updating.
8257 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8259 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8260 visibility. Fixes: NB#70842 and MB#615.
8262 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8264 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8265 set the separator as no-show-all so it doesn't unintentionally appear when
8266 someone does a show_all.
8268 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8270 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8271 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8272 toplevel item. Fixes: NB#62031
8274 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8276 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8277 fix the name of the function in the docs.
8279 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8285 * debian/changelog: Updating.
8287 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8289 * examples/hildon-banner-long-example.c: Adding a test-case for long
8292 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8294 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8296 * src/hildon-color-chooser-dialog.c:
8297 * src/hildon-color-chooser.c:
8298 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8299 memory leaks in font selector and color selector. Fixes: NB#70499 and
8302 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8304 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8306 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8308 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8309 little bit bigger. Fixes: #NB63694.
8311 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8317 * debian/changelog: Updating.
8319 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8322 * doc/hildon-docs.sgml:
8323 * doc/images/bread-crumb-trail.png:
8324 * doc/images/calendar-popup.png:
8325 * doc/images/caption.png:
8326 * doc/images/code-dialog.png:
8327 * doc/images/color-button.png:
8328 * doc/images/color-chooser-dialog.png:
8329 * doc/images/color-chooser.png:
8330 * doc/images/controlbar.png:
8331 * doc/images/date-editor.png:
8332 * doc/images/font-selection-dialog.png:
8333 * doc/images/get-password-dialog.png:
8334 * doc/images/hvolumebar.png:
8335 * doc/images/login-dialog.png:
8336 * doc/images/note.png:
8337 * doc/images/number-editor.png:
8338 * doc/images/range-editor.png:
8339 * doc/images/seekbar.png:
8340 * doc/images/set-password-dialog.png:
8341 * doc/images/sort-dialog.png:
8342 * doc/images/time-editor.png:
8343 * doc/images/time-picker.png:
8344 * doc/images/vvolumebar.png:
8345 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8346 Adding the bread-crumb-trial and helpers to the documentation.
8348 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8350 * examples/hildon-find-toolbar-example.c:
8351 * src/hildon-find-toolbar.c:
8352 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8353 actually continue firing the other handlers if connected. Adding a new
8355 hildon_find_toolbar_get_last_index that gets the index of the most
8356 recently added (last) item. Fixes: NB#52301.
8358 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8360 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8361 behaviour. Fixes: NB#68610.
8363 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8365 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8368 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8370 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8371 when realizing the banner. Should make the infonbanner effect a bit more
8374 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8376 * src/hildon-volumebar.c:
8377 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8378 hildon_volumebar_set_range_insensitive_message and
8379 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8381 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8383 * src/hildon-window.c: Fixing the border freeing on destroy.
8385 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8387 * src/hildon-code-dialog-private.h:
8388 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8389 kw keyboard support in HildonCodeDialog.
8391 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8397 * debian/changelog: Updating.
8399 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8401 * src/hildon-date-editor.c:
8402 * src/hildon-number-editor.c:
8403 * src/hildon-private.c:
8404 * src/hildon-private.h:
8405 * src/hildon-time-editor.c:
8406 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8407 handling in subclassed composite widgets. Fixes: NB#66628.
8409 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8411 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8412 from destroy_ callback as it introduces problems in async dbus signal
8413 handlers. Fixes NB#66673.
8415 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8417 * examples/hildon-hvolumebar-example.c:
8418 * src/hildon-volumebar.c: Improving the focus handling in the
8419 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8420 set_property accessor so that "mute" property can be actually set. I'm
8421 scared that nobody noticed it's totally broken.
8423 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8425 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8428 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8430 * src/hildon-calendar.c:
8431 * src/hildon-number-editor.c:
8432 * src/hildon-time-picker.c: Changing the timeout repeat so that it
8433 matches the spec of 6 chars per second. Fixes: NB#60489.
8435 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8437 * src/hildon-helper.c: Really fixing NB#58352. Looks like
8438 gtk_style_lookup_color sometime returns FALSE even though color was
8439 found and values were filled properly. Weird. Removing the warning for the
8442 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8444 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8445 expand vertically. Adding some extra space to the find toolbar buttons to
8446 make them thumbable. Fixes NB#66060.
8448 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8450 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8451 popup with "Ok" and "Cancel". Fixes NB#59299.
8453 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8455 * src/hildon-calendar.c: Process all window updates before executing next
8456 timeout. Fixes: NB#54146.
8458 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8464 * debian/changelog: Updating.
8466 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8468 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8469 the client event and ignore it, since we use the delete event to close
8472 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8474 * src/hildon-helper.c: Remove the bogus warning about color not being
8475 found. Fixes NB#58352.
8477 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8479 * examples/Makefile.am:
8480 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8481 HildonSeekbar widget inside a toolbar.
8483 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8485 * src/hildon-banner.c (hildon_banner_init): mark the banners as
8486 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8487 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8488 don't want to be closed by non-temporary windows on map.
8490 Also use G_DEFINE_TYPE instead of manually typed code.
8492 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8499 * debian/rules: Updating.
8501 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8503 * examples/Makefile.am:
8504 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8505 bug NB#61128. Strangely it works.
8507 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8509 * src/hildon-date-editor.c: When the date editor entry has been changed
8510 but the numbers of characters < max, turn off the skip validation flag.
8511 Prevents a situation when we enter first a valid year and later re-write
8512 it with an invalid one. Fixes NB#60154.
8514 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8516 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
8517 code dialog. Fixes NB#64355.
8519 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8521 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
8522 switching the page. Fixes NB#49374.
8524 * examples/Makefile.am:
8525 * examples/hildon-wizard-dialog-example.c: Adding an example for
8526 HildonWizardDialog that shows how to handle manual sensitivity setting on
8529 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8533 * src/hildon-version.h.in:
8534 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
8536 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8538 * src/hildon-volumebar.c: Updating the docs.
8540 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8546 * debian/changelog: Updating.
8548 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8550 * src/hildon-find-toolbar.c:
8551 * src/hildon-find-toolbar.h: Adding a few new functions to control the
8552 selected item: hildon_find_toolbar_set_active,
8553 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
8554 hildon_find_toolbar_get_active_iter . They correspond to respective
8555 GtkComboBox functions.
8557 * examples/Makefile.am:
8558 * examples/hildon-find-toolbar-example.c: Adding the example to test the
8561 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8563 * examples/Makefile.am:
8564 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
8567 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
8568 when font size > 32 and we pack a focusable widget inside. Actually using
8569 the default response would work too, but since we don't show default
8570 response state in any way (no theming) it would not be visible to the
8571 user. Fixes NB#63430.
8573 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8575 * src/hildon-date-editor.c: Adding the missing variable setter in the
8576 set_property handler. Fixes NB#54182.
8578 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8580 * src/hildon-window.h: Changing the long key press time from 1500ms to
8581 800ms as requested in NB#63700. I have a bad feeling about this, let's
8582 see... Fixes NB#63700.
8584 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
8586 * src/hildon-time-picker.c (hildon_time_picker_class_init,
8587 hildon_time_picker_map, hildon_time_picker_realize,
8588 hildon_time_picker_style_set): Split the contents of map to more
8589 appropriate functions; set window decorations on realize and update
8590 arrows' size requisitions on style-set. Avoids unnecessary resizing.
8592 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
8597 * debian/changelog: Updating.
8599 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
8601 * src/Makefile.am: fixed installation of the header files
8603 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8609 * debian/changelog: Updating.
8611 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8613 * configure.ac: Removing some remaining of --enable-xan.
8615 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
8617 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
8618 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
8620 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
8621 2.10.12-osso6 because the move-focus signal needs to be available in
8624 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8626 * examples/Makefile.am:
8627 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
8628 that makes a HildonVolumebar insensitive before mapping it. Seems to work
8629 fine. Prolly NB#61128 is fixed now.
8631 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8633 * src/hildon-volumebar.c:
8634 * src/hildon-volumebar.h: Adding the
8635 hildon_volumebar_set_range_insensitive_message and
8636 hildon_volumebar_set_range_insensitive_messagef functions to set
8637 insensitive message on the slider of the volumebar. Fixes NB#61129.
8639 * examples/Makefile.am:
8640 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
8641 test the new insensitive messsage functionality on HildonVolumebar.
8643 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
8645 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
8648 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
8650 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
8651 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
8652 button on after clearing the trail.
8654 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8656 * src/hildon-code-dialog.c: Removing the separator from the dialog.
8658 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8660 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
8661 by splitting the installed headers in generated and non-generated groups. Use
8662 only the non-generated headers to create the hildon-enum-types.h file.
8664 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
8666 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8668 * src/hildon-window.c: Hide the window before performing the destroy.
8669 Should make the app closing a little tiny bit more snappy.
8671 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8673 * src/hildon-seekbar.c: add gtkrange.h header
8674 * src/hildon-caption.c: remove unused variable
8676 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
8678 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
8681 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8687 * debian/changelog: Updating.
8689 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
8691 * src/hildon-window.c (hildon_window_window_state_event,
8692 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
8693 escape timeout on focus-out-event rather than notify::is-topmost; the
8694 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
8696 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8698 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
8699 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
8701 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8703 * src/hildon-window: actually, you need to use the macro always, there's
8704 no private pointer in the instance structure. We should have cleaned this up
8705 when we had the chance...
8707 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8709 * src/hildon-window.c: do not get the private date from HildonWindow before
8710 it passes the g_return_if_fail check. Once it's passed the test, there's no
8711 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
8712 if you are only going to access the data once. Whitespace cleanups.
8714 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
8716 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8717 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8719 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8725 * debian/changelog: Updating.
8727 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8729 * src/hildon-window.c: When destroying the window, remove (if exists) the
8730 escape timeout handler. Fixes #NB59276.
8732 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8734 * src/hildon-banner.c: When realizing the widget, set the window
8735 transiency. Setting the transiency in the gobject constructor is not
8736 good, as the widget is not realized at that point. Fixes: #NB56624.
8738 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8740 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
8741 Add padding for future expansions.
8743 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8745 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
8746 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
8747 will fake an activation on the previous to the last item of the trail, so
8748 the effect can be overrided by the developer as usual.
8749 Also change the callback for the back button to do the same thing, so its
8750 effect can be overrided too. Fixes: NB#58982
8752 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8754 * src/hildon-caption.c: Implementing the proper focus grabbing in the
8755 HildonCaption. Fixes NB#52379.
8757 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8759 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
8760 the internal state of the trail after the user has had the chance of executing
8761 his handler for the signal. Specifically, it may happen that the activated button
8762 is removed and the user still lets the default handler run. This would segfault
8765 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8767 * src/hildon-font-selection-dialog.c: When the font is really big, add the
8768 scrollbar to the preview dialog. Fixes NB#54147.
8770 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8772 * src/hildon-date-editor.c: Changing the default max year to 2037. The
8773 max/min year properties can be altered, so the client can modify it
8774 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
8776 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8778 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
8779 hildonlike by default. Fixing a problem with disappearing arrows when
8780 scrolling through months and years. Fixes NB#54127.
8782 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8784 * examples/hildon-date-editor-example.c: Adding error callback to the date
8787 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8793 * configure.ac: Updating.
8795 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8797 * configure.ac: Adding a special '--enable-xan' configure option that
8798 turns off the -Werror compilation setting. Usefull for development.
8800 * src/hildon-calendar.c:
8801 * src/hildon-number-editor.c:
8802 * src/hildon-time-picker.c: Adding the 5* multiplier to
8805 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
8807 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
8808 instead of g_object_ref + gtk_object_sink.
8810 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8816 * debian/changelog: Updating.
8818 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8820 * src/hildon-color-chooser-dialog.c:
8821 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
8822 straight from Tommi labs.
8824 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8826 * examples/hildon-finger-example.c: Correcting the header file path.
8828 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
8829 the changed signal. Fixes a small memory leak.
8831 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8835 * src/hildon-banner.c: Importing several usefull fixes from the
8836 ubuntu-mobile branch.
8838 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8840 * examples/Makefile.am:
8841 * examples/hildon-finger-example.c: Adding a finger-checking code
8844 * src/hildon-font-selection-dialog.c: Do not allocate the color
8845 structure using the g_new. Fixes NB#54061.
8847 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8849 * src/hildon-helper.c: Correcting tabs in file.
8851 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
8853 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
8854 control the visibility of the children.
8856 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
8858 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8864 * debian/changelog: Updating.
8866 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8868 * src/hildon-bread-crumb-trail.c:
8869 (hildon_bread_crumb_trail_size_allocate):
8871 Make the back button always a square.
8873 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8875 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
8876 from the .c file as it's a private file.
8878 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8880 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
8881 uses slightly bigger height.
8883 * src/hildon-font-selection-dialog.c: Adding some checks before
8884 freeing memory in the font selection dialog.
8886 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8888 * src/hildon-font-selection-dialog.c: Adding a small check when
8891 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
8892 buttons sensitivity on page switching.
8894 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
8896 * src/hildon-bread-crumb-trail.c: make the add method handle all the
8897 internal details of adding a bread crumb to the trail.
8899 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8905 * debian/changelog: Updating.
8907 * src/hildon-bread-crumb-trail.h:
8908 * src/hildon-bread-crumb.h: Changing the API guard to
8909 HILDON_ENABLE_UNSTABLE_API.
8911 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8919 * src/hildon-helper.h: Updating.
8921 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8929 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8933 * src/hildon-helper.h: Small fix to make the package actually compile.
8935 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8937 * src/hildon-bread-crumb-trail.h:
8938 * src/hildon-bread-crumb.h:
8940 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
8941 to define ENABLE_UNSTABLE_API in the code that includes these headers.
8943 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8945 * examples/hildon-bread-crumb-trail-example.c:
8947 * src/hildon-bread-crumb-trail.c:
8948 * src/hildon-bread-crumb-trail.h:
8949 * src/hildon-bread-crumb.c:
8950 * src/hildon-bread-crumb.h:
8951 * src/hildon-marshalers.list:
8952 * src/hildon-bread-crumb-widget.c:
8953 * src/hildon-bread-crumb-widget.h:
8955 Slight change in the widget design. The bread crumb trail API is
8956 unchanged, but HildonBreadCrumb is now an interface. A *private*
8957 implementation, hildon-bread-crumb-widget, is provided and used
8958 internally by the trail for the push_text/push_icon functions.
8960 The generic push API is still available, so anyone can implement
8961 and use its own bread crumb widget.
8963 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8965 * debian/rules: Fixing the shlibs.
8967 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8969 * src/hildon-banner.c: Fixing a problem with timed banners having
8970 their parrent destroyed before they are.
8972 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
8974 * src/hildon-bread-crumb.c:
8975 * src/hildon-bread-crumb.h:
8977 Make the get_natural_size function a vfunc.
8979 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8981 * src/hildon-bread-crumb.c:
8982 * src/hildon-bread-crumb-trail.c:
8986 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8993 * debian/changelog: Updating for release.
8995 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8997 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
8998 don't leak the pango layout.
9000 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9003 * examples/hildon-bread-crumb-trail-example.c:
9007 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9009 * debian/changelog: Removing the bug-fixed entries that were actually
9010 resolved as WONTFIX.
9012 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9015 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9017 * src/hildon-bread-crumb-trail.c:
9018 * src/hildon-bread-crumb-trail.h:
9019 * src/hildon-bread-crumb.c:
9020 * src/hildon-bread-crumb.h:
9024 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9026 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9027 until it's passed the type check.
9029 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9031 * examples/hildon-bread-crumb-trail-example.c
9035 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9037 * examples/Makefile.am
9038 * examples/hildon-bread-crumb-trail-example.c
9040 * src/hildon-bread-crumb-trail.c
9041 * src/hildon-bread-crumb-trail.h
9042 * src/hildon-bread-crumb.c
9043 * src/hildon-bread-crumb.h
9045 New HildonBreadCrumbTrail widget.
9047 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9049 * src/hildon-range-editor.c (hildon_range_editor_init),
9050 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9051 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9052 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9053 hildon_time_editor_class_init, hildon_time_editor_init),
9054 src/hildon-get-password-dialog.c (invalid_input,
9055 hildon_get_password_set_property, hildon_get_password_get_property,
9056 create_contents, hildon_get_password_dialog_set_max_characters),
9057 src/hildon-set-password-dialog.c (create_contents),
9058 src/hildon-date-editor.c (hildon_date_editor_init),
9059 src/hildon-login-dialog.c (hildon_login_dialog_init),
9060 src/hildon-number-editor.c (hildon_number_editor_init),
9061 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9062 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9063 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9064 configure option and adding the respective checks in the code.
9065 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9066 hildon_calendar_drag_data_received): fixed some build warnings.
9068 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9070 * debian/changelog: A 1.0.0 release notes.