1 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
6 * configure.ac: Bump version.
7 * debian/changelog: Updates.
9 2009-06-29 Adam Endrodi <adam.endrodi@blumsoft.eu>
11 * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
14 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
16 * tests/check-hildon-banner.c
19 Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
20 were testing deprecated functions.
21 * examples/hildon-banner-example.c: typo on button3 type, that causes
22 a fail compiling with --with-examples but without --disable-deprecated
24 Missed commit in order to fix compilation using '--enable-fatal' and
25 '--disable-deprecated' (see previous commit)
27 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
29 * examples/hildon-banner-example.c: Protect deprecated hildon-banner
30 functions with #ifndef HILDON_DISABLE_DEPRECATED
31 * examples/hildon-find-toolbar.c: Protect deprecated
32 HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
33 * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
34 in favor of HILDON_ICON_PIXEL_SIZE_FINGER
35 * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
37 * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
38 to allow proper compilation of deprecated functions defined on the header
40 Fixed compilation using '--enable-fatal' and '--disable-deprecated'
42 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
44 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
45 Cache the panning indicator color.,
46 (hildon_pannable_area_style_set): Query the color on style changes.
47 (hildon_pannable_draw_vscroll),
48 (hildon_pannable_draw_hscroll),
49 (hildon_pannable_area_expose_event): Use the cached panning indicator
50 color instead of looking it up on every expose and more.
52 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
54 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
55 (hildon_pannable_draw_hscroll),
56 (hildon_pannable_area_expose_event): Fix the panning indicator color,
57 so that it's "SecondaryTextColor", as desired.
59 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
61 * hildon/hildon-picker-dialog.c:
62 (selection_completed): take into account HILDON_UI_MODE_NORMAL
63 * hildon/hildon-touch-selector.c
64 (hildon_touch_selector_init): Initialize hildon-ui-mode
65 (hildon_touch_selector_row_activated): new callback for the
66 "row-activated" signal, in order to save the last activated
67 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
68 if the current hildon-ui-mode is coherent with the touch selector
69 (hildon_touch_selector_class_init)
70 (hildon_touch_selector_get_property)
71 (hildon_touch_selector_set_property)
72 Added "hildon-ui-mode" property
73 (disconnect_model_handlers): renamed to clean_column
74 (hildon_touch_selector_remove): use clean_column function
75 (_create_new_column): use the hildon-ui-mode to create the treeview, and
76 only select the first element on HILDON_UI_MODE_EDIT
77 (hildon_touch_selector_column_init): Initialize last_activate
78 (hildon_touch_selector_append_column): check that the touch selector
79 is coherent with the current hildon-ui-mode
80 (hildon_touch_selector_get_hildon_ui_mode)
81 (hildon_touch_selector_set_hildon_ui_mode)
82 Added a getter/setter for the hildon-ui-mode property
83 (hildon_touch_selector_get_last_activated_row): Added this method in
84 order to get the last activated row.
85 * examples/hildon-touch-selector-normal-mode-example.c
86 New example, that shows how to use the HildonTouchSelector in
89 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
90 Kristian Rietveld <kris@lanedo.com> advices
92 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
94 * hildon/hildon-time-selector.c: (update_format_policy): Do
95 not call update_format_dependant_columns() if not necessary.
96 (update_format_dependant_columns): Remove unnecessary check for
97 the number of columns.
99 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
101 * hildon/hildon-note.c (+hildon_note_constructor),
102 (hildon_note_class_init), (+hildon_note_set_padding),
103 (hildon_note_rebuild): Install a constructor where to set the
104 padding properties in the note, so that it actually works fine.
105 Use hildon_note_set_padding() for this, and also to set it during
108 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
110 * configure.ac: Bump GTK+ requirement to 2.14.3.
111 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
112 when using maemo-gtk to define proper margins for the notes.
114 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
115 with the dialog edge)
117 2009-06-24 Alberto Garcia <agarcia@igalia.com>
119 * hildon/hildon-banner.c
120 (hildon_banner_class_init):
122 (+hildon_banner_size_request):
123 Request always the full width of the screen.
124 (hildon_banner_realize)
125 (-hildon_banner_check_position, hildon_banner_map):
126 hildon_banner_check_position() is not needed in Hildon 2.2.
127 (-hildon_banner_reset_wrap_state)
128 (hildon_banner_constructor, hildon_banner_init):
129 Remove unnecessary calls to hildon_banner_reset_wrap_state()
130 (+banner_do_set_text)
131 (force_to_wrap_truncated):
132 Remove has_been_wrapped and has_been_truncated attributes.
133 (+reshow_banner, hildon_banner_real_show_information)
134 (hildon_banner_show_information_with_markup)
135 (hildon_banner_show_animation, hildon_banner_show_progress)
136 (hildon_banner_set_text, hildon_banner_set_markup):
137 Refactor code. Shrink banner vertically to use the minimum space
138 necessary everytime the text of the label is updated.
139 (screen_size_changed):
140 Call force_to_wrap_truncated() when the size of the screen
143 Fixes: NB#120500 (only device memory connect mmc in use info
144 banner is left aligned)
146 Fixes: NB#120613 (Size of HildonBanner varies depending on
147 previously opened banners)
149 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
151 * hildon/hildon-color-chooser.c
152 (hildon_color_chooser_pointer_motion): Take the widget allocation
155 Fixes: NB#124385 (Unable to select exact point in color mixing box
156 in color palette dialog)
158 2009-06-23 Alejandro G. Castro <alex@igalia.com>
160 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
161 (hildon_pannable_area_dispose)
162 (hildon_pannable_area_button_press_cb)
163 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
164 (hildon_pannable_area_button_release_cb)
165 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
166 New 'panning-started' and 'panning-finished' signals.
168 Fixes: NB#121732 (New feature request: Signal to pannable area
169 that informs when panning is stopped.)
171 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
173 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
174 instead of hardcoded colon.
176 Fixes: NB#124090 (New calendar wizard title is not using
177 ecdg_ti_caption_separator)
179 2009-06-22 David King <davidk@openismus.com>
181 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
182 constants and functions, as well as correct many typos throughout the
185 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
188 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
190 * configure.ac: postrelease version bump.
191 * debian/changelog: post release version bump
193 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
198 * configure.ac: Bump version.
199 * debian/changelog: Updates.
201 2009-06-18 Alberto Garcia <agarcia@igalia.com>
203 * hildon/hildon-window-stack.c
204 (hildon_window_stack_pop_and_push_list):
205 Prevent windows from having the same stack index
207 2009-06-18 Alberto Garcia <agarcia@igalia.com>
209 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
210 Use the index of the previous window rather than the stack length
211 to calculate the new index.
215 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
217 * hildon/hildon-date-selector.c
218 (hildon_date_selector_select_current_date)
219 (hildon_date_selector_get_date)
220 (hildon_date_selector_select_day):
221 Update the documentation: uses always the range (1-31), as it is obvious
222 that the final one will depend on the month and the year, but globally
223 the range is this, in a similar GtkCalendar approach
224 (hildon_date_selector_get_date):
225 Update the documentation: add NULL as a valid value for the day, month
228 Fix some details, after talk with David King on bug MB#4698
230 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
232 * hildon/hildon-touch-selector-entry.c
233 * hildon/hildon-touch-selector.c
234 Update the documentation of the "text-column" property
236 2009-06-18 David King <davidk@openismus.com>
238 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
239 several typos and errors throughout the documentation.
241 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
244 2009-06-18 Alberto Garcia <agarcia@igalia.com>
246 * hildon/hildon-note.c (hildon_note_realize):
247 Make HildonNote support portrait mode.
249 Fixes: NB#123448 (HildonNote is not portrait-friendly)
251 2009-06-17 Alberto Garcia <agarcia@igalia.com>
253 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
254 Document this function
256 2009-06-17 David King <davidk@openismus.com>
258 * hildon/hildon-date-selector.c
259 (hildon_date_selector_select_current_date)
260 (hildon_date_selector_get_date): Update documentation regarding days,
261 as the day of the month is dependent on both the month and the year.
262 (hildon_date_selector_get_date): Fix documentation of output arguments.
264 Fixes: MB#4698 (DateSelector documentation has bad output argument
265 description, and the day depends on both the month and the year)
267 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
269 * hildon/hildon-caption.c: Other documentation fixes to
272 2009-06-17 David King <davidk@openismus.com>
274 * hildon/hildon-caption.c: Minor documentation updates for
275 HildonCaption. Fixes MB#4697.
277 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
279 * doc/hildon-docs.sgml: Add hildon-version section.
280 * doc/hildon-sections.txt:
281 * hildon/hildon-version.h.in: Document versioning macros and
284 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
286 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
287 from HildonPickerDialog section.
289 2009-06-16 Alberto Garcia <agarcia@igalia.com>
291 * hildon/hildon-banner.c (hildon_banner_bind_style)
292 (screen_size_changed, hildon_banner_init)
293 (hildon_banner_real_show_information)
294 (hildon_banner_show_information_with_markup)
295 (hildon_banner_show_animation, hildon_banner_show_progress):
296 Set a different widget name to banners in portrait mode, for them
297 to be themed correctly.
299 2009-06-16 Alberto Garcia <agarcia@igalia.com>
301 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
302 Set a different widget name to notes in portrait mode, for them to
305 Partially fixes: NB#118401 (HildonNote causes unnecessary
308 2009-06-16 Alberto Garcia <agarcia@igalia.com>
310 * hildon/hildon-note.c (hildon_note_class_init)
311 (+hildon_note_size_request, screen_size_changed):
312 Always request the full width of the screen.
314 Fixes: NB#118375 (unnecessary rescaling of images)
316 2009-06-16 Alejandro G. Castro <alex@igalia.com>
318 * hildon/hildon-pannable-area.c,
319 (hildon_pannable_area_init),
320 (hildon_pannable_area_realize): Replaced old code adding flags in
321 the object init, now we add it with the other flags in the realize
324 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
326 * hildon/hildon-note.c: (hildon_note_class_init): Several
327 documentation improvements to the HildonNote widget.
329 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
331 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
333 Fixes: MB#4556 (HildonNoteType is undocumented)
335 2009-06-15 Alberto Garcia <agarcia@igalia.com>
337 * hildon/hildon-picker-button.c:
338 Explain how HildonPickerButton sets the title of its dialog
340 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
341 the title of its dialog)
343 2009-06-15 Alberto Garcia <agarcia@igalia.com>
345 * hildon/hildon-check-button.c:
346 Documentation updates
348 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
351 2009-06-15 Alberto Garcia <agarcia@igalia.com>
354 * hildon/hildon-edit-toolbar-private.h
355 * hildon/hildon-edit-toolbar.c
356 (+hildon_edit_toolbar_set_progress_indicator)
357 (hildon_edit_toolbar_init): Add progress indicator to the
360 * hildon/hildon-gtk.c
361 (hildon_gtk_window_set_progress_indicator):
362 If the window contains a HildonEditToolbar, enable the progress
365 * hildon/hildon-private.h
366 * hildon/hildon-private.c
367 (+hildon_private_create_animation)
368 * hildon/hildon-banner.c
369 (-hildon_banner_create_animation):
370 Moved to hildon-private.c
372 Fixes: NB#102373 (Progress indicator also for the Edit mode
375 2009-06-15 Alberto Garcia <agarcia@igalia.com>
377 * hildon/hildon-app-menu-private.h
378 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
379 (hildon_app_menu_add_filter, +menu_item_button_event)
380 (hildon_app_menu_button_release, hildon_app_menu_init):
381 Make sure that buttons receive 'button-release-event' in spite of
382 the grab held by HildonAppMenu
384 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
386 2009-06-15 Alberto Garcia <agarcia@igalia.com>
388 * hildon/hildon-app-menu.c
389 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
390 New style property to set the size of the group of filter buttons.
392 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
394 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
399 * configure.ac: Bump version.
400 * debian/changelog: Updates.
402 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
404 * hildon/hildon-main.c: Minor documentation fixes.
406 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
408 * doc/hildon-sections.txt:
409 * hildon/hildon-defines.h: Document the defines, organize them,
410 and mark deprecations as such.
412 Fixes: MB#4463 (Hildon size #defines are undocumented)
414 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
416 * hildon/hildon-animation-actor.c:
417 * hildon/hildon-app-menu.c:
418 * hildon/hildon-button.c:
419 * hildon/hildon-date-editor.c:
420 * hildon/hildon-dialog.c:
421 * hildon/hildon-edit-toolbar.c:
422 * hildon/hildon-entry.c:
423 * hildon/hildon-program.c:
424 * hildon/hildon-remote-texture.c:
425 * hildon/hildon-stackable-window.c:
426 * hildon/hildon-text-view.c:
427 * hildon/hildon-touch-selector.c:
428 * hildon/hildon-window-stack.c:
429 * hildon/hildon-window.c:
431 Remove redundant "represents" wording from most of the documentation.
433 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
435 2009-06-12 Alberto Garcia <agarcia@igalia.com>
440 * hildon/hildon-banner-private.h
441 * hildon/hildon-banner.c:
442 Move HildonBannerPrivate to hildon-banner.c and remove
443 hildon-banner-private.h
444 Use a bit field to store private booleans.
446 2009-06-12 Alberto Garcia <agarcia@igalia.com>
448 * hildon/hildon-app-menu.c (hildon_app_menu_map):
449 Don't install a new idle function if there's already one
454 2009-06-11 Alberto Garcia <agarcia@igalia.com>
456 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
457 (+legacy_menu_realized, +legacy_menu_unmapped)
458 (+set_legacy_menu_type):
459 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
460 they can be identified by the window manager.
462 Fixes: NB#101437 (Invoking CSM on the left side of page area is
463 displayed in wrong location)
465 Fixes: MB#4563 (Popup menu won't locate at the left side of the
468 2009-06-11 Alberto Garcia <agarcia@igalia.com>
470 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
472 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
475 2009-06-11 Alberto Garcia <agarcia@igalia.com>
477 * hildon/hildon-code-dialog.c
478 * hildon/hildon-date-editor.c
479 * hildon/hildon-number-editor.c
480 * hildon/hildon-seekbar.c
481 * hildon/hildon-stackable-window.c
482 * hildon/hildon-window.c:
483 Misc documentation updates
485 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
487 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
488 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
490 Fixes: NB#117931 (Theming issues in accounts dialogs)
492 2009-06-09 Alejandro G. Castro <alex@igalia.com>
494 * hildon/hildon-pannable-area.c,
495 (hildon_pannable_area_button_release_cb): Changed the coordinates
496 of the original release in case we want to discard the release,
497 some widgets in Fremantle do not handle the leave-notify.
499 2009-06-09 Alejandro G. Castro <alex@igalia.com>
501 * hildon/hildon-pannable-area.c,
502 (hildon_pannable_area_button_release_cb): Reviewed the logic of
503 the release using the last refactored functions and avoiding the
504 movement if an element was selected.
506 2009-06-09 Alejandro G. Castro <alex@igalia.com>
508 * hildon/hildon-pannable-area.c,
509 (hildon_pannable_area_check_move),
510 (hildon_pannable_area_handle_move),
511 (hildon_pannable_area_motion_notify_cb): Refactored the
512 motion_notify method using a couple of new functions.
514 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
516 * hildon/hildon-date-selector.c:
517 (hildon_date_selector_construct_ui):
518 * hildon/hildon-time-selector.c:
519 (hildon_time_selector_constructor):
520 * hildon/hildon-touch-selector-entry.c:
521 (hildon_touch_selector_entry_set_text_column),
522 (hildon_touch_selector_entry_get_text_column):
523 * hildon/hildon-touch-selector.c: (_default_print_func),
524 (hildon_touch_selector_new_text): Use
525 hildon_touch_selector_set/get_text_column() instead of
526 setting/getting the "text-column" property.
528 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
530 * doc/hildon-sections.txt: Add the new public methods below.
532 * examples/hildon-picker-button-multicolumn-example.c:
533 (create_touch_selector):
534 * examples/hildon-touch-selector-example.c: (create_selector):
535 * examples/hildon-touch-selector-multi-cells-example.c:
537 Use hildon_touch_selector_column_set_text_column()
539 * hildon/hildon-touch-selector-column.h:
540 * hildon/hildon-touch-selector.c:
541 (hildon_touch_selector_column_set_text_column),
542 (hildon_touch_selector_column_get_text_column):
543 Make hildon_touch_selector_column_set/get_column() public, use
544 them in the inline example, document them, and reference to them
547 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
549 * hildon/hildon-time-selector.c: Fix the docs for
550 hildon_time_selector_new_step().
552 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
554 * hildon/hildon-touch-selector.c: Improve the documentation for
555 hildon_touch_selector_append_column().
557 Fixes MB#4641 (Documentation:
558 hildon_touch_selector_append_column() ref-counting)
560 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
562 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
563 Comment out test 5, since the hildon_controlbar_set_range() range
564 check is broken and fixing it would have side effects. Also,
565 this finally fixes make distcheck.
567 Fixes: NB#101420 (Update unit tests and fix make distcheck)
569 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
571 * tests/TEST-CASES.txt: Remove other bogus test.
572 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
573 Remove bogus test that was setting/retrieving a valid value.
575 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
577 * tests/TEST-CASES.txt: Remove bogus tests.
578 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
579 Remove three bogus tests that were actually setting valid colors.
581 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
583 * configure.ac: post release version bump
584 * debian/changelog: post release version bump
586 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
591 * configure.ac: Bump version.
592 * debian/changelog: Updates.
594 2009-06-08 Christian Dywan <christian@lanedo.com>
598 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
599 Correct errors in hildon_format_file-size_for_display and use
600 translations from the hildon-fm package instead of osso-filemanager.
602 2009-06-08 Alejandro G. Castro <alex@igalia.com>
604 * hildon/hildon-pannable-area.c,
605 (hildon_pannable_area_init): Initialized new values to handle the
607 (hildon_pannable_area_adjust_value_changed): Check if the values
608 changed before even call the redraw function.
609 (hildon_pannable_area_size_allocate),
610 (hildon_pannable_axis_scroll),
611 (hildon_pannable_area_scroll),
612 (hildon_pannable_area_jump_to): Improved the diagonal movement
615 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
618 2009-06-08 Alberto Garcia <agarcia@igalia.com>
620 * examples/hildon-banner-example.c:
621 Several style updates
622 (on_animation_clicked, on_animation_idle)
623 (on_progress_clicked, on_progress_idle):
624 Add additional reference for the cases when the parent window is
627 2009-06-08 Alberto Garcia <agarcia@igalia.com>
629 * doc/hildon-sections.txt
630 * hildon/hildon-pannable-area.c
631 * hildon/hildon-banner.h
632 * hildon/hildon-banner.c: Documentation updates.
634 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
637 2009-06-05 Alejandro G. Castro <alex@igalia.com>
639 * hildon/hildon-calendar-popup.h:
640 * hildon/hildon-caption.h:
641 * hildon/hildon-code-dialog.h:
642 * hildon/hildon-controlbar.h:
643 * hildon/hildon-date-editor.h:
644 * hildon/hildon-dialog.h:
645 * hildon/hildon-get-password-dialog.h:
646 * hildon/hildon-hvolumebar.h:
647 * hildon/hildon-login-dialog.h:
648 * hildon/hildon-note.h:
649 * hildon/hildon-number-editor.h:
650 * hildon/hildon-range-editor.h:
651 * hildon/hildon-seekbar.h:
652 * hildon/hildon-set-password-dialog.h:
653 * hildon/hildon-sort-dialog.h:
654 * hildon/hildon-time-editor.h:
655 * hildon/hildon-time-picker.h:
656 * hildon/hildon-volumebar-range.h:
657 * hildon/hildon-volumebar.h:
658 * hildon/hildon-vvolumebar.h:
659 * hildon/hildon-weekday-picker.h:
660 * hildon/hildon-window.h:
661 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
662 macros with the current replacements
664 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
666 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
668 * hildon/hildon-color-button.c (hildon_color_button_init): Use
669 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
670 itself, to make it fit better with Fremantle style.
672 Fixes: NB#109878 (height and width of focus on color icon is not
673 consistent with other item in the application tool bar)
675 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
677 * hildon/hildon-touch-selector.c:
678 (hildon_touch_selector_optimal_size_request): use the current requisition
679 as the base, in order to include any possible extra widget, like the
680 hildon entry on HildonTouchSelectorEntry
682 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
684 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
686 * configure.ac: post release version bump
687 * debian/changelog: post release version bump
689 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
694 * configure.ac: Bump version.
695 * debian/changelog: Updates.
697 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
699 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
701 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
702 to ensure the banner contents are centered, instead of relying on
703 the expand and fill properties in GtkHBox.
704 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
706 Fixes: NB#108265 (Animation banner not properly centered)
708 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
710 * hildon/hildon-pannable-area.c
711 (hildon_pannable_area_initial_effect): Remove the initial_effect
712 management, check initial_hint
713 (hildon_pannable_are_expose_event): Remove the initial_hint management,
714 set initial_effect to FALSE
715 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
716 by launching the fade_timeout if the scrollbars state has changed and are
718 * examples/hildon-pannable-area-initial-hint-example.c
719 Modified to allow to remove rows too. Add and remove rows one by one.
721 2009-05-28 Alberto Garcia <agarcia@igalia.com>
723 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
724 Don't close the menu if there's an animation actor below it.
726 Fixes: NB#117927 (Application menu not usable with animation
729 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
731 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
732 "focus-on-click" from the dialog button, to avoid stealing the
733 focus from the entry.
735 Fixes: NB#118903 (Account setup wizard: Text in Search field
736 should be focused when "Region" touch list picker is reopened
739 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
741 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
742 (prepare_action_area): Completely hide the dialog separator.
744 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
746 * hildon/hildon-touch-selector-entry.c
747 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
748 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
749 now that the entry is exposed.
751 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
753 * hildon/hildon-touch-selector-entry.c
754 (hildon_touch_selector_entry_init): Change the entry's size
755 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
757 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
759 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
760 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
761 avoid unnecessary scaling.
763 2009-05-27 Alberto Garcia <agarcia@igalia.com>
765 * hildon/hildon-app-menu.c (hildon_app_menu_map):
766 Create grab transfer window before calling parent's map function.
768 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
769 "crushed" button(s) in the top left corner)
771 2009-05-26 Alberto Garcia <agarcia@igalia.com>
773 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
774 Check if the window is already realized when pushing it.
776 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
778 * configure.ac: post release version bump
779 * debian/changelog: post release version bump
781 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
786 * configure.ac: Bump version.
787 * debian/changelog: Updates.
789 2009-05-25 Alberto Garcia <agarcia@igalia.com>
791 * hildon/hildon-app-menu.c: Doc updates.
793 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
795 * hildon/hildon-banner.c: Remove leftover macro.
797 2009-05-25 Alejandro G. Castro <alex@igalia.com>
799 * hildon/hildon-pannable-area.c,
800 (hildon_pannable_area_scroll_indicator_fade),
801 (hildon_pannable_area_button_release_cb): Reviewed vmin
802 conditions, it could cause problems in the fadeout procedure.
804 2009-05-25 Alejandro G. Castro <alex@igalia.com>
806 * hildon/hildon-pannable-area.c
807 (hildon_pannable_area_button_release_cb): Added a threshold to
808 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
810 2009-05-25 Alejandro G. Castro <alex@igalia.com>
812 * hildon/hildon-pannable-area.c,
813 (hildon_pannable_area_set_property): Added code to sync the gtk
814 dnd threshold with the panning threshold.
816 2009-05-25 Alejandro G. Castro <alex@igalia.com>
818 * hildon/hildon-pannable-area.c,
819 (hildon_pannable_area_class_init): Changed some of the default
820 values, now it should be less responsive and more accurate.
822 2009-05-25 Alejandro G. Castro <alex@igalia.com>
824 * hildon/hildon-pannable-area.c,
825 (hildon_pannable_area_init),
826 (hildon_pannable_area_scroll_indicator_fade),
827 (hildon_pannable_area_button_press_cb),
828 (hildon_pannable_axis_scroll),
829 (hildon_pannable_area_timeout),
830 (hildon_pannable_area_motion_notify_cb),
831 (hildon_pannable_area_button_release_cb): Changed the name of the
832 clicked attribute to button_pressed, it is more clear about its use.
834 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
836 * src/hildon-pannable-area.c
837 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
839 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
840 vertical scrollbar visibility, and use the data on private section instead,
841 remove the initial_hint check
842 (hildon_pannable_area_expose_event): add the initial_hint check here
844 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
846 * src/hildon-pannable-area.c
847 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
848 if the fadeout effect was used
849 (hildon_pannable_area_expose_event): check if it is required to
850 manage the initial effect on the begining of the function. Previously
851 it was made at the end, but this doesn't ensure that the scrollbars
852 will be painted on the first show. Do not set to FALSE initial_effect,
853 to ensure that the initial hint is showed the first time the pannable
855 * examples/Makefile.am
856 * examples/hildon-pannable-area-initial-hint-example.c:
857 New example, to show that the initial-hint is showed when the widget
860 Fixes: NB#116607 (Pannable area should always have scrollbar visible
861 initially if the application can be scrolled)
863 2009-05-25 Alberto Garcia <agarcia@igalia.com>
865 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
866 Resize table before adding new items to make sure that
867 gtk_table_resize() is called just once.
869 2009-05-25 Alberto Garcia <agarcia@igalia.com>
871 * hildon/hildon-app-menu-private.h
872 * hildon/hildon-app-menu.c (item_visibility_changed)
873 (filter_visibility_changed, hildon_app_menu_show_all)
874 (hildon_app_menu_hide_all, hildon_app_menu_init):
875 Rearrange items just once when gtk_widget_show_all()/hide_all()
878 2009-05-25 Alberto Garcia <agarcia@igalia.com>
880 * hildon/hildon-app-menu.c
881 (hildon_app_menu_insert, hildon_app_menu_add_filter):
882 Don't call gtk_widget_show() on added items.
884 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
885 automatically when they're added)
887 2009-05-20 Alberto Garcia <agarcia@igalia.com>
889 * hildon/hildon-banner.c
890 (hildon_banner_realize, +hildon_banner_unrealize)
891 (+screen_size_changed, hildon_banner_class_init):
892 Redisplay the banner if the screen is rotated.
894 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
895 on transition from landscape to portrait)
897 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
899 * hildon/hildon-banner.[ch]:
900 (hildon_banner_show_information_override_dnd): remove icon_name from the
901 method definition as it is ignored.
902 * examples/hildon-banner-dnd-example.c: updated with the change on
905 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
907 * hildon/hildon-banner-private.h: new require_override_dnd and
908 overrides_dnd variables
909 * hildon/hildon-banner.h:
910 (hildon_banner_show_information_override_dnd): new method, that shows
911 the information but sets the override flag, in order to show important
913 * hildon/hildon-banner.c
914 (hildon_banner_show_information_override_dnd): new method
915 (hildon_banner_set_override_flag): new utility function
916 (hildon_banner_real_show_information): new utility function, in order to
917 generalize the current hildon_banner_show_information_override_dnd and
918 hildon_banner_show_information_override_dnd
919 * examples/Makefile.am
920 * examples/hildon-banner-dnd-example.c: New example that show how to
921 use the new hildon_banner_show_information_override_dnd
923 Fixes: NB#114874 (There is no possibility to show hildon banners with
926 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
928 * hildon/hildon-pannable-area.c: Add a comment explaining the math
929 behind hildon_pannable_calculate_vel_factor().
931 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
933 * hildon/hildon-pannable-area.c
934 (hildon_pannable_calculate_vel_factor): Correct the sum of the
935 deceleration factors.
937 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
939 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
940 Reduce the default value for 'scroll_time' to 1 second, since the
941 current initial scrolling takes too much time.
943 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
945 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
946 calculate velocity factor during initialization, since the properties
949 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
951 * hildon/hildon-pannable-area.c
952 (hildon_pannable_area_set_property): Calculate the velocity factor
953 after setting the deceleration property and not after.
955 2009-05-20 Alberto Garcia <agarcia@igalia.com>
957 * hildon/hildon-entry.c
958 (hildon_entry_class_init, +set_property, hildon_entry_new)
959 * hildon/hildon-check-button.c
960 (hildon_check_button_class_init)
961 (+set_property, hildon_check_button_new):
962 Make the theme size a property.
964 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
965 others) do too much in the _new function)
967 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
969 * configure.ac: post release version bump
970 * debian/changelog: post release version bump
972 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
977 * configure.ac: Bump version.
978 * debian/changelog: Updates.
980 2009-05-15 Alberto Garcia <agarcia@igalia.com>
982 * hildon/hildon-gtk.h
983 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
984 New API function to take a screenshot of a window
986 Fixes: NB#106374 (Need API to take a loading screenshot)
988 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
990 * hildon/hildon-time-selector.c
991 (update_format_policy): prevent to use hours and minutes unitialized
993 2009-05-15 Alberto Garcia <agarcia@igalia.com>
995 * hildon/hildon-window.c (hildon_window_size_request):
996 Always request the full size of the screen (minus the title bar if
997 not in fullscreen mode).
999 Fixes: NB#107486 (HildonWindow should size itself properly)
1001 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
1003 * hildon/hildon-note-private.h: Add idle_handler to the private data.
1004 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
1005 (on_show_cb), (sound_handling): Disconnect the idle handler for
1006 the sound when the note is finalized to avoid possible crashes.
1008 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1011 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
1013 * src/hildon-animation-actor.c,
1014 * src/hildon-remote-texture.c:
1015 Added proper object cleanup to remove signal handler and object
1016 references as HildonAnimationActor and HildonRemoteTexture
1017 objects get destroyed.
1019 Fixes: NB#116682 (Destroying parented animation actors when
1020 parent in unmapped leads to crash)
1022 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1024 Based on a patch by Christian Dywan (christian@imendio.com)
1026 * doc/hildon-sections.txt:
1027 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1028 * hildon/hildon-helper.h: New file size formatting method.
1030 * debian/control: Depend on osso-filemanager l10n package for
1031 proper localization strings.
1033 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1035 * tests/Makefile.am: Include top_srcdir to make possible to build
1036 tests in a different builddir.
1037 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1038 on a different builddir.
1040 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1042 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1043 (hildon_touch_selector_remove): Disconnect model's signal handler
1046 Fixes: NB#116289 (Hildon home crashes while adding task
1049 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1051 * hildon/hildon-button.c
1052 (hildon_button_set_title, hildon_button_set_value):
1053 Hide labels containing an empty string.
1055 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1057 * configure.ac: post release version bump
1058 * debian/changelog: post release version bump
1060 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1065 * configure.ac: Bump version.
1066 * debian/changelog: Updates.
1068 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1070 * hildon/hildon-note-private.h: Removed sound_signal_handler
1071 * hildon/hildon-note.c
1072 (on_show_cb): new callback on note "show" event, this simply adds
1073 a idle, with the function sound_handling
1074 (sound_handling): removed the sound_signal_handler management
1075 (hildon_note_init): connect note "show" event to on_show_cb
1076 (hildon_note_realize): remove the connection to "expose-event"
1078 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1079 device?' confirmation note)
1081 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1083 * hildon/hildon-note.c
1084 (hildon_note_new_information_with_icon_name)
1085 (hildon_note_new_confirmation_with_icon_name):
1086 Terminate the list of parameters in g_object_set() calls
1088 Fixes: NB#115166 (Formatting memory card is not taking place)
1090 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1092 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1093 "dialog-information" role for the sound being played.
1095 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1097 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1098 Don't make the menu a modal window, it causes strange interactions
1099 with the pointer grab and it's not really needed.
1101 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1103 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1105 * hildon/hildon-touch-selector.[ch]
1106 (hildon_touch_selector_optimal_size_request): function added to get a
1107 optimal size request from the touch selector, when you want a dialog to
1108 show as much of the selector
1109 * hildon/hildon-picker-dialog.c:
1110 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1111 (hildon_app_menu_class_init):
1112 New "max-height-landscape" and "max-height-portrait" style properties
1113 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1114 (hildon_picker_dialog_get_max_height): returns the maximum height using
1115 the style properties defined and checking the current portrait/landscape
1117 (_hildon_picker_dialog_set_selector): removed the set_size_request
1119 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1121 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1123 * hildon/hildon-bread-crumb-trail.c:
1124 * hildon/hildon-bread-crumb.c:
1125 * hildon/hildon-seekbar.c:
1126 Add reference to replacements for these deprecated widgets.
1128 Fixes: MB#4461 (Documentation: All deprecations should mention
1131 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1133 * examples/hildon-remote-texture-example.c
1135 Change the include to the hildon-remote-texture in order to compile
1136 properly the examples on the installed libhildon1-examples package
1138 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1140 * tests/Makefile.am: Add check for HildonPickerButton.
1141 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1142 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1143 checks for the HildonPickerButton.
1144 * tests/check_test.c (configure_tests): Add the test suite.
1145 * tests/test_suites.h: likewise.
1147 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1149 * hildon/hildon-touch-selector.c
1150 (+on_row_changed): Emit HildonTouchSelector:changed when the
1151 contents of a selected row change.
1152 (_create_new_column), (_hildon_touch_selector_set_model): connect
1153 to GtkTreeModel:row-changed on a newly set model.
1155 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1157 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1159 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1161 * hildon/hildon-banner.c (hildon_banner_destroy)
1162 (hildon_banner_show_progress, hildon_banner_set_fraction):
1163 Remove the progress bar from HildonBanner and use a progress
1166 Fixes: NB#113761 (Update progress banner to use progress
1169 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1171 * hildon/hildon-banner.c:
1172 Calculate size of the banner label using the actual screen width
1173 rather than using a fixed value.
1175 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1178 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1180 * hildon/hildon-pannable-area.c,
1181 (hildon_pannable_area_class_init): Fixed signals documentation
1184 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1186 * configure.ac: post release version bump
1187 * debian/changelog: post release version bump
1189 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1194 * configure.ac: Bump version.
1195 * debian/changelog: Updates.
1197 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1199 * hildon/hildon-edit-toolbar.c
1200 (hildon_edit_toolbar_init):
1201 Don't let buttons in HildonEditToolbar receive focus.
1203 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1204 typing on an HW arrows key)
1206 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1208 * doc/Makefile.am: Fix build.
1210 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1212 * doc/Makefile.am: Do not redefine content_files.
1214 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1222 Renamed src/ to hildon/
1227 Include <hildon/hildon.h> directly in all examples.
1229 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1231 * src/hildon-sort-dialog.c
1232 (hildon_sort_dialog_add_sort_key_with_sorting)
1236 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1238 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1239 make distcheck passes.
1241 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1243 * Makefile.am: Enable gtk-doc during distcheck.
1245 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1247 * Makefile.am: Do not distribute the debian/ directory.
1249 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1251 * doc/Makefile.am: Add the extra SGML files to content_files,
1252 so that they are distributed properly.
1254 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1256 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1259 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1261 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1262 (hildon_note_new_information_with_icon_name): Set the "icon" property
1263 to preserve soundness.
1265 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1267 * src/hildon-font-selection-dialog.c
1268 (hildon_font_selection_dialog_set_property): Fail when the "family"
1269 property is set to NULL.
1271 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1273 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1276 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1278 * src/hildon-time-selector.h:
1279 Added HildonTimeSelectorFormatPolicy
1280 * src/hildon-time-selector.c:
1281 Added PROP_TIME_FORMAT_POLICY
1282 (_check_ampm_format): renamed to check_automatic_ampm_format
1283 (update_format_policy), (update_format_dependant_columns): new functions
1284 (hildon_time_selector_class_init)
1285 (hildon_time_selector_contructor)
1286 (hildon_time_selector_init)
1287 (hildon_time_selector_get_property)
1288 (hildon_time_selector_set_property)
1289 (hildon_time_selector_get_time)
1290 (hildon_time_selector_set_time)
1291 * src/hildon-touch-selector.h: new file
1292 * src/hildon-touch-selector.c
1293 (hildon_touch_selector_emit_changed)
1294 (hildon_touch_selector_block_changed)
1295 (hildon_touch_selector_unblock_changed)
1296 Added functions to allow to block the emission of the "changed" signal
1297 * src/hildon-picker-dialog.c
1298 (hildon_picker_dialog_show): call the parent show before the custom code
1299 * examples/hildon-time-button-example.c
1300 Modified, so now you can configure the time format using the new property
1302 Added a new property "time-format-policy" that allow to choose the time
1303 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1304 case it uses gconf in order to check if the time selector must use
1307 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1310 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1312 * src/hildon-note.c (hildon_note_init):
1313 Label in HildonNote must be left aligned, not centered. This
1314 reverts the last commit in HildonNote.
1316 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1317 is connectivity dialog)
1319 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1324 * doc/hildon-sections.txt:
1325 Added hildon_gtk_window_set_do_not_disturb()
1327 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1329 * src/hildon-note.c (hildon_note_init): Center label.
1331 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1334 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1339 * configure.ac: Bump version.
1340 * debian/changelog: Updates.
1342 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1344 * src/hildon-note-private.h: Add button-width to the private data.
1345 * src/hildon-note.c (+resize_button),
1346 (+hildon_note_orientation_update): methods to repack widgets on orientation
1348 (screen_size_changed): Call above method for confirmation notes.
1349 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1350 (hildon_note_rebuild): Store the original width request from buttons.
1352 Fixes: NB#109635 (Confirmation notes do not support portrait)
1354 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1356 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1357 when it is a progress note.
1359 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1361 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1362 in the note, since there are no horizontally arranged contents.
1364 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1366 * src/hildon-gtk.c (+set_flag): new generic method to
1367 set/delay a flag setting in a window.
1368 (hildon_gtk_window_set_progress_indicator):
1369 (hildon_gtk_window_set_do_not_disturb),
1370 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1371 avoid code redundance.
1373 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1375 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1377 * src/hildon-gtk.c (set_clear_window_flag),
1378 (do_set_progress_indicator), (do_set_do_not_disturb),
1379 (do_set_portrait_flags),
1380 (hildon_gtk_window_set_progress_indicator),
1381 (hildon_gtk_window_set_do_not_disturb),
1382 (hildon_gtk_window_set_portrait_flags):
1383 Allow setting dnd-flag, progress indicator, and portrait flags
1384 when the window is not realized.
1386 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1388 * src/hildon-pannable-area.c,
1389 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1390 the size request policy function and defines.
1392 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1394 * doc/hildon-sections.txt: Add the new API.
1395 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1396 method to set the portrait flags.
1397 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1399 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1401 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1403 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1404 to allow using this method with other flags.
1405 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1406 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1408 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1410 * src/hildon-touch-selector.c
1411 (hildon_touch_selector_append_text_column):
1412 Make the cell renderer use the smallest width possible.
1414 Fixes: NB#108470 (Selected items in multiple selection are either
1415 having a tick that is cut or not visible at all.)
1417 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1419 * src/hildon-touch-selector.c
1420 (hildon_touch_selector_append_text_column):
1423 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1425 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1426 Use g_strdup_printf() instead of a fixed size buffer.
1428 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1430 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1431 Close banners when a HildonAppMenu is popped up.
1433 Fixes: NB#111027 (Title menu closed immediately if activated when
1434 "Invalid e-mail address" banner is shown)
1436 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1441 * configure.ac: Bump version.
1442 * debian/changelog: Updates.
1444 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1446 * src/hildon-banner.c (hildon_banner_realize):
1447 Mark HildonBanner as supporting portrait mode.
1448 Use GDK to set window properties insetad of direct Xlib calls.
1450 Fixes: NB#111830 (HildonBanner should be marked as supporting
1453 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1455 * src/hildon-note.c (hildon_note_rebuild):
1456 Hide action area in information notes. Prevents text from being
1457 slightly aligned to the left.
1459 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1462 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1464 Patch by Mox Soini (ext-mox.soini@nokia.com)
1466 * src/hildon-banner.c (hildon_banner_create_animation):
1467 Use stylus-sized icons in animation banner.
1469 Fixes: NB#111206 (stylus sized icon for animation banner)
1471 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1475 (+hildon_gtk_window_set_do_not_disturb):
1476 New API to set the do-not-disturb flag.
1478 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1480 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1482 * examples/hildon-progress-indicator-example.c: Fix example
1484 * src/hildon-gtk.c (set_clear_window_flag)
1485 (hildon_gtk_window_set_progress_indicator):
1486 Create a generic function for setting flags to a window.
1487 Use GDK instead of direct Xlib calls.
1489 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1491 * src/hildon-button.c (hildon_button_set_arrangement):
1492 Due to NB#88126, if one of the labels is too long it will be
1493 painted outside the button. The 'value' label is more likely to be
1494 the longest one, so we change its packing options in order to
1495 truncate it if necessary. As a side effect, the 'title' label will
1496 no longer be truncated.
1498 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1500 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1505 * configure.ac: Bump version.
1506 * debian/changelog: Updates.
1508 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1510 Deprecation of the hildon_pannable_area_set_size_request_policy
1511 API, the only policy properly supported in gtk+ nowadays is the
1514 * src/hildon-pannable-area.c,
1515 (hildon_pannable_area_size_request): Added a workaround for the
1516 size_request to avoid the problems of huge pixmaps in case someone
1517 is still using the function.
1518 * src/hildon-pannable-area.h: Deprecated the enum with the
1521 Fixes: NB#110244 (Problems with the
1522 hildon_pannable_area_set_size_request_policy API)
1524 2009-04-08 Alejandro G. Castro <alex@igalia.com>
1526 * src/hildon-pannable-area.c,
1527 (hildon_pannable_area_init),
1528 (hildon_pannable_area_size_request),
1529 (hildon_pannable_area_style_set),
1530 (hildon_pannable_draw_vscroll),
1531 (hildon_pannable_draw_hscroll),
1532 (hildon_pannable_area_check_scrollbars): Replaced area_width with
1533 indicator_width to clarify the use of the attribute.
1535 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
1540 * configure.ac: Bump version.
1541 * debian/changelog: Updates.
1543 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
1545 * src/hildon-picker-dialog.c
1546 * src/hildon-touch-selector.c
1547 Reverting the change that tried to avoid the hardcoded height on
1548 the picker dialog, as causes problems on the hildon-touch-selector
1551 Fixes: NB#110029 (selectors not scrolling to selected value)
1553 2009-04-07 Alberto Garcia <agarcia@igalia.com>
1555 * src/hildon-touch-selector.c: Fix typos
1557 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1559 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1560 Use the event coordinates instead of gdk_window_get_pointer(). Also,
1561 request more motions after using it.
1563 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1565 * src/hildon-calendar.c (hildon_calendar_expose),
1566 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1567 Remove unused variables.
1569 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1571 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1572 variable assignment.
1574 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1576 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1577 Check the return value of gtk_tree_selection_get_selected()
1580 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1582 * src/hildon-animation-actor.c
1583 * src/hildon-button.c
1585 * src/hildon-pannable-area.c
1586 * src/hildon-picker-button.c
1587 * src/hildon-program.c
1588 * src/hildon-remote-texture.c
1589 * src/hildon-text-view.c
1590 * src/hildon-touch-selector.c
1591 * src/hildon-window-stack.c
1592 * src/hildon-window.c:
1593 Add missing 'Since: 2.2' tags.
1595 * doc/hildon-sections.txt:
1596 Add some missing symbols.
1598 * doc/hildon-docs.sgml:
1599 New 'Other' section for HildonAnimationActor and
1602 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1604 Patch by Iván Gómez (igomez@igalia.com)
1607 * doc/compiling.sgml
1608 * doc/hildon-docs.sgml
1609 * doc/hildon-sections.txt
1610 * doc/migration.sgml
1611 * doc/resources.sgml
1613 New chapters on using the Hildon library.
1614 Updated the general structure of the reference manual.
1615 Other minor documentation fixes.
1617 * src/hildon-calendar-popup.c
1618 * src/hildon-calendar.c
1619 * src/hildon-controlbar.c
1620 * src/hildon-date-editor.c
1621 * src/hildon-dialog.c
1622 * src/hildon-hvolumebar.c
1623 * src/hildon-number-editor.c
1624 * src/hildon-range-editor.c
1625 * src/hildon-sort-dialog.c
1626 * src/hildon-time-editor.c
1627 * src/hildon-time-picker.c
1628 * src/hildon-volumebar-range.c
1629 * src/hildon-volumebar.c
1630 * src/hildon-vvolumebar.c
1631 * src/hildon-weekday-picker.c:
1632 Add deprecation notes
1634 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1635 Document 'horizontal-movement' and 'vertical-movement' signals.
1637 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
1642 * configure.ac: Bump version.
1643 * debian/changelog: Updates.
1645 2009-04-06 Alejandro G. Castro <alex@igalia.com>
1647 * src/hildon-pannable-area.c,
1648 (hildon_pannable_area_class_init): increased the minimum velocity.
1649 (hildon_pannable_area_button_release_cb): Updated the
1650 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
1651 setup. Review the code to control that last event.
1653 Fixes: NB#109790 (Releasing finger in pannable area easily causes
1656 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
1658 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1660 * src/hildon-get-password-dialog.c
1661 (hildon_get_password_set_property),
1662 (hildon_get_password_get_property), (create_contents):
1663 * src/hildon-login-dialog-private.h:
1664 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
1665 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
1666 (hildon_login_dialog_get_password):
1667 * src/hildon-set-password-dialog-private.h:
1668 * src/hildon-set-password-dialog.c
1669 (hildon_set_password_set_property),
1670 (hildon_set_password_get_property), (create_contents),
1671 (hildon_set_password_response_change),
1672 (hildon_set_password_response_set), (hildon_checkbox_toggled):
1674 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
1675 instead and look more Fremantle style.
1677 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
1679 2009-04-03 Alberto Garcia <agarcia@igalia.com>
1681 * doc/hildon-sections.txt
1682 * src/hildon-window-stack.h
1683 * src/hildon-window-stack.c
1684 (+hildon_window_stack_get_windows):
1685 New API to obtain the list of windows on a stack.
1687 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1689 * src/hildon-app-menu.c (hildon_app_menu_popup)
1690 (hildon_app_menu_class_init, -hildon_app_menu_show):
1691 Remove hildon_app_menu_show() and move all its checks to
1692 hildon_app_menu_popup()
1694 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
1696 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
1697 (_hildon_picker_dialog_set_selector): removed call to
1698 gtk_widget_set_size_request
1699 * src/hildon-touch-selector.c
1700 (_create_new_column): change the pannable size request policy
1702 Avoid to use a hardcoded height for the hildon picker dialog. In order
1703 to get that, we needed to change the hildon pannable size request
1705 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1707 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1709 * src/hildon-window.c (hildon_window_map): Check for vbox to be
1710 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
1713 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1715 * debian/control: Depend on osso-system-lock localization package.
1716 * src/hildon-code-dialog.c: Obtain the secu_application_title
1717 translation from osso-system-lock.
1718 * src/hildon-get-password-dialog.c (create_contents): Do not mark
1719 for translation the atk related strings, that's not necessary.
1720 * src/hildon-set-password-dialog.c (create_contents): Ditto.
1721 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
1722 cancel button, it is not required.
1724 2009-04-02 Alejandro G. Castro <alex@igalia.com>
1726 * src/hildon-pannable-area.c,
1727 (hildon_pannable_area_class_init): Modified the default value of
1728 the overshooting max speed, we have reduced it.
1730 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1732 * doc/hildon-sections.txt
1733 * src/hildon-window-private.h
1734 * src/hildon-window.h
1735 * src/hildon-window.c (hildon_window_class_init)
1736 (hildon_window_init, hildon_window_finalize)
1737 (hildon_window_realize, hildon_window_get_property)
1738 (hildon_window_set_property, hildon_window_update_markup)
1739 (hildon_window_get_markup, hildon_window_set_markup):
1740 New "markup" property and hildon_window_{get,set}_markup() methods.
1742 * examples/hildon-stackable-window-example.c (new_window):
1743 Update example to use hildon_window_set_markup()
1745 Fixes: NB#106375 (Need API to retitle a window with a title
1748 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1750 * src/hildon-pannable-area.c,
1751 (hildon_pannable_area_class_init): Changed the default value of
1752 the initial_hint to TRUE.
1753 (hildon_pannable_area_initial_effect): Changed the initial effect,
1754 not the effect is just the fade-out of the scrollbars.
1756 Fixes: NB#107775 (No scrollbars can be seen when several items are
1757 available in a dialog)
1759 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1761 * src/hildon-program.c (hildon_program_update_top_most):
1764 Fixes: NB#109179 (Memory leak in Hildon program)
1766 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1768 * src/hildon-banner.c (-get_current_app_window):
1769 Remove unused function.
1771 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1773 * src/hildon-pannable-area.c: Modified the documentation of the
1774 get adjustments functions to explain the problem of using the
1775 adjustment directly.
1776 (hildon_pannable_area_class_init): Improved the explanation about
1779 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1781 * src/hildon-app-menu-private.h
1782 * src/hildon-app-menu.c
1783 (hildon_app_menu_class_init):
1784 Bring back the 'external-border' style property
1785 (hildon_app_menu_class_init, hildon_app_menu_init)
1786 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
1787 Set a fixed width-request for the menu, independent of the number
1790 Fixes: NB#94957 (Smoothly opened application menu)
1792 2009-03-30 Alberto Garcia <agarcia@igalia.com>
1794 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
1796 * src/hildon-banner.c
1797 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
1799 Make sure that the banner is correctly placed the first time it's
1801 (hildon_banner_check_position, -check_fullscreen_state):
1802 Show the banner in the same place no matter if the window is in
1803 fullscreen mode or not.
1805 Fixes: NB#107386 (Odd stacking behaviour for information banners)
1807 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1809 * src/hildon-touch-selector.c (_default_print_func): reorder
1810 concatenation for clarity.
1812 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1814 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
1815 for multicolumn selectors.
1817 Fixes: NB#109099 (Memory leak in Hildon touch selector)
1819 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
1824 * configure.ac: Bump version.
1825 * debian/changelog: Updates.
1827 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
1829 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
1832 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1834 * configure.ac: removed libcangerra-gtk dependency
1835 * debian/control: removed libcanberra-gtk dependency
1836 * src/Makefile.am: removed libcanberra gtk related flags
1837 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1838 context, and manage a global canberra context instead
1840 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1842 2009-03-26 Alberto Garcia <agarcia@igalia.com>
1844 Patch by Daniel Borgmann (danielb@openismus.com)
1846 * src/hildon-edit-toolbar.c:
1847 Adjust the left padding.
1848 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
1849 Paint background of the edit toolbar.
1851 Fixes: NB#107897 (Patch to make editmodetoolbar background
1852 themeable and adjust margin)
1854 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1856 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1858 * src/hildon-program.c (hildon_program_update_top_most):
1859 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
1861 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
1862 change when the user tasks in/out of an application)
1864 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1866 * configure.ac: added libcangerra-gtk dependency
1867 * debian/control: added libcanberra-gtk dependency
1868 * src/Makefile.am: added libcanberra gtk related flags
1869 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
1872 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1874 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1876 * src/hildon-program.c (hildon_program_remove_window)
1877 (hildon_program_add_window): Add checks for the window
1878 parameter. Don't decrease the window counter if the window is not
1881 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1883 * src/hildon-pannable-area.c,
1884 (hildon_pannable_area_realize): Fixed position of the event_window
1885 in the realize method.
1887 2009-03-24 Alberto Garcia <agarcia@igalia.com>
1889 * src/hildon-app-menu-private.h
1890 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
1891 (hildon_app_menu_map, hildon_app_menu_hide_idle)
1892 (hildon_app_menu_key_press, hildon_app_menu_init)
1893 (hildon_app_menu_finalize):
1894 Make sure that all idle functions are removed when the widget is
1897 Fixes: NB#107583 (Hildon app menu crashes in various applications)
1899 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1904 * configure.ac: Bump version.
1905 * debian/changelog: Updates.
1907 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1909 * src/hildon-entry.c
1910 (+hildon_entry_show_placeholder),
1911 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
1912 that replace hildon_entry_update_contents().
1913 (hildon_entry_set_text),
1914 (hildon_entry_set_placeholder),
1915 (hildon_entry_focus_in_event),
1916 (hildon_entry_focus_out_event): Determine when it is needed
1917 either to show or hide the placeholder and call the above methods.
1919 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
1920 when the placeholder text is already set)
1922 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1924 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
1925 simple GdkPixbufAnim using the new icons for the banner.
1926 (hildon_banner_show_animation): Use the above mentioned method to
1927 create the animation widget.
1929 Fixes: NB#103564 (Make hildon animation banner use individual
1930 image files as the animation)
1932 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1934 * src/hildon-pannable-area.c,
1935 (hildon_pannable_leave_notify_event): Check if the child is NULL
1936 to avoid sending the leave.
1938 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1940 * src/hildon-pannable-area.c,
1941 (hildon_pannable_area_class_init),
1942 (hildon_pannable_leave_notify_event): Added a handler of the
1943 leave-notify-signal to consider when no motion notify before
1946 Fixes: NB#107494 (Items stay selected when clicking and moving
1947 away when inside pannable area)
1949 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
1954 * configure.ac: Bump version.
1955 * debian/changelog: Updates.
1957 2009-03-19 Alejandro G. Castro <alex@igalia.com>
1959 Patch by Alberto Garcia (agarcia@igalia.com)
1961 * src/hildon-date-button.c,
1962 (hildon_date_button_class_init),
1963 (hildon_date_button_init): Removed the construct property handling
1964 and created a default selector in the init method.
1965 * src/hildon-picker-button.c,
1966 (hildon_picker_button_class_init): Removed the construct flag of the
1969 2009-03-18 Alberto Garcia <agarcia@igalia.com>
1971 * src/hildon-main.c (hildon_init):
1972 Don't allow hildon_init() to be called more than once.
1974 Fixes: NB#106607 (hildon_init should issue error message upon
1977 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
1979 * examples/hildon-pannable-area-touch-list-example.c
1980 * examples/hildon-pannagle-area-touch-grid-example.c
1981 * examples/hildon-edit-toolbar-example.c
1982 * examples/hildon-touch-selector-multi-cells-example.c
1983 Removed the call to gtk_rc_parse_string, as it is not required since
1986 2009-03-17 Alejandro G. Castro <alex@igalia.com>
1988 * src/hildon-pannable-area.c,
1989 (hildon_pannable_area_class_init): Modified the default panning
1990 threshold of the widget to 6px.
1992 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
1993 than the threshold value ) within the button is not sending the
1996 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1998 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
1999 for the treeview in the new column. This way, the touch list will never
2002 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
2003 be selected manually for the HW keys to work)
2005 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2007 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2008 comparison instead of using strcmp(). Fixes a compiler warning as well.
2010 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2012 * doc/hildon-docs.sgml: Do not set the library version in the
2013 document title, use the releaseinfo tag for that purpose instead.
2015 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2017 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2018 Do not jump to the first item if the text in the entry is removed.
2020 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2025 * configure.ac: Bump version.
2026 * debian/changelog: Updates.
2028 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2030 * src/hildon-entry.c (hildon_entry_refresh_contents):
2031 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2032 Use "ReversedSecondaryTextColor" for the placeholder text.
2034 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2036 * src/hildon-text-view.c: Fix compilation warning.
2038 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2040 * src/hildon-button.c (hildon_button_class_init): Don't make
2041 "title" and "value" construction properties, to prevent them from
2042 overwriting labels set from derived classes.
2044 * src/hildon-picker-button.c
2045 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2046 (hildon_picker_button_class_init): Make touch-selector a
2047 construction property.
2049 * src/hildon-date-button.c (hildon_date_button_class_init)
2050 (+hildon_date_button_constructed): Add a default date selector if
2053 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2055 * src/hildon-touch-selector.c: Small documentation fixes.
2057 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2059 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2061 * src/hildon-entry.c (hildon_entry_refresh_contents),
2062 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2063 widget name, set the logical color directly instead and a boolean
2064 showing_placeholder instead.
2065 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2066 use the widget name here either.
2068 Fixes: NB#105678 (HildonTextView should use logical colours
2069 instead of setting widget name)
2071 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2073 Patch by Daniel Elster (danielk@openismus.com)
2075 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2076 Add user_data parameter.
2077 (hildon_touch_selector_set_print_func_full): New function akin
2078 hildon_touch_selector_set_print_func() but with support for user
2079 data and a destroy callback.
2080 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2081 to clean up the print function user data.
2082 (hildon_touch_selector_class_init): Install dispose function.
2083 (HildonTouchSelectorPrivate::print_user_data),
2084 (HildonTouchSelectorPrivate::print_destroy_func): New private
2086 (hildon_touch_selector_init): Initialize new private members.
2087 (hildon_touch_selector_get_current_text): Pass along user data
2088 to the print function.
2089 (_default_print_func): Add dummy user_data to parameter list.
2090 * hildon-date-selector.c (_custom_print_func): ditto,
2091 * hildon-time-selector.c (_custom_print_func): ditto,
2092 * hildon-touch-selector-entry.c
2093 (hildon_touch_selector_entry_print_func): ditto.
2095 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2097 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2099 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2101 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2103 * src/hildon-pannable-area.c,
2104 (hildon_pannable_area_init),
2105 (hildon_pannable_area_button_press_cb),
2106 (hildon_pannable_area_motion_notify_cb): We have added code to
2107 handle the leave and enter events when using the motion events.
2109 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2111 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2113 * src/hildon-date-button.c (hildon_date_button_get_date)
2114 (hildon_date_button_set_date): Make sure that the button has a
2117 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2119 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2121 * src/hildon-pannable-area.c,
2122 (hildon_pannable_area_class_init),
2123 (hildon_pannable_area_calculate_velocity): Modify the use of the
2124 force and adapt the value.
2126 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2128 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2129 (hildon_app_menu_class_init): Hide the menu if it receives a
2130 delete-event, but don't destroy it
2132 Fixes: NB#104485 (Not able to address the call when application
2133 menu is opened at background)
2135 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2137 * src/hildon-app-menu.c
2138 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2139 Remove the "external-border" style property, let the menu take its
2140 natural size (or the one set by the window manager)
2141 (hildon_app_menu_repack_items):
2142 Don't reshow the menu, avoid flickers.
2144 Partially fixes NB#94957 (Smoothly opened application menu)
2146 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2151 * configure.ac: Bump version.
2152 * debian/changelog: Updates.
2154 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2156 * src/hildon-pannable-area.c,
2157 (hildon_pannable_area_motion_notify_cb): We control that the
2158 direction error margin is used just in case the movement is
2159 allowed in the other direction.
2161 Fixes: NB#105012 (buttons inside a pannable area not getting
2162 release event when dragging/releasing)
2164 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2166 * src/hildon-pannable-area.c,
2167 (hildon_pannable_area_class_init),
2168 (hildon_pannable_area_get_property),
2169 (hildon_pannable_area_set_property),
2170 (hildon_pannable_area_initial_effect),
2171 (hildon_pannable_axis_scroll),
2172 (hildon_pannable_area_button_release_cb): Reviewed the
2173 overshooting effect, now it has its own max
2174 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2175 speed when bouncing.
2177 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2182 * configure.ac: Bump version.
2183 * debian/changelog: Updates.
2185 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2187 * src/hildon-pannable-area.c,
2188 (hildon_pannable_area_class_init): Changed the max speed, now
2189 users can launch the widget very fast. Reduced the default force,
2190 that way it is easier to control the launch speed.
2192 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2194 * src/hildon-pannable-area.c,
2195 (hildon_pannable_area_button_release_cb): Removed this check
2196 because it causes problems when the device is overloaded.
2198 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2200 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2201 add a current_text field to store the text entered in the
2202 touch selector entry.
2203 (_clean_current_selection): clean up the current text as well.
2204 (_save_current_selection), (_restore_current_selection):
2205 Save/restore the text in the entry if the selector is a
2206 HildonTouchSelectorEntry.
2208 Fixes: NB#102541 (value entered in the touch selector entry is not
2209 shown when opened for second time)
2211 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2213 * doc/hildon-sections.txt:
2214 * src/hildon-touch-selector-entry.c
2215 (+hildon_touch_selector_entry_get_entry):
2216 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2218 Fixes: NB#104815 (I need accessor to the entry inside
2219 HildonTouchSelectorEntry)
2221 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2223 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2224 (hildon_app_menu_class_init):
2225 New "filter-vertical-spacing" style property.
2227 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2229 * src/hildon-find-toolbar.c
2230 (hildon_find_toolbar_emit_close)
2231 (hildon_find_toolbar_emit_invalid_input)
2232 (hildon_find_toolbar_entry_activate):
2233 Use g_signal_emit() instead of g_signal_emit_by_name()
2235 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2237 Patch by Mox Soini (ext-mox.soini@nokia.com)
2239 * tests/TEST-CASES.txt
2240 * tests/check-hildon-banner.c
2241 * tests/check-hildon-note.c
2242 * src/hildon-banner.c
2243 * src/hildon-code-dialog.c
2244 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2245 * src/hildon-time-editor.c
2246 * examples/hildon-lookup-example.c (main):
2247 Replace obsolete icon names with new ones.
2249 * src/hildon-find-toolbar-private.h:
2250 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2251 (-hildon_find_toolbar_emit_search):
2252 Remove find button and change icon of close button.
2254 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2256 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2258 * src/hildon-time-button.c (hildon_time_button_new_step):
2259 Use the "touch-selector" property to set the selector directly
2260 when creating the object.
2262 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2264 Added a new example application that allows tuning the pannable
2265 area and replaced defines with properties in order to simplify the
2266 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2267 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2268 PROP_DIRECTION_ERROR_MARGIN.
2270 * examples/hildon-pannable-area-tuning-example.c: New example
2272 * src/hildon-pannable-area.c,
2273 (hildon_pannable_area_class_init),
2274 (hildon_pannable_area_init),
2275 (hildon_pannable_area_get_property),
2276 (hildon_pannable_area_set_property),
2277 (hildon_pannable_area_launch_fade_timeout),
2278 (hildon_pannable_area_adjust_value_changed),
2279 (hildon_pannable_axis_scroll),
2280 (hildon_pannable_area_motion_notify_cb),
2281 (hildon_pannable_area_scroll_cb),
2282 (hildon_pannable_area_button_release_cb): We have converted some
2283 of the defines that control the widget to properties to simplify
2286 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2288 * src/hildon-app-menu.c (hildon_app_menu_map)
2289 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2290 so it's closed if a new window appears.
2292 Fixes: NB#104485 (Not able to address the call when application
2293 menu is opened at background)
2295 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2297 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2298 missing 'break' statement in in 'case' construct to avoid
2301 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2303 * src/hildon-touch-selector-entry.c
2304 (hildon_touch_selector_entry_get_property),
2305 (hildon_touch_selector_entry_set_property): Add missing 'break'
2306 statements in in 'case' constructs to avoid incorrect warnings.
2308 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2310 * src/hildon-time-editor.c
2311 (hildon_time_editor_get_time_separators): Do not crash if
2312 the first label is NULL.
2314 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2316 * src/hildon-date-selector.c (_month_days): Check for month to be
2317 strictly less than 12, since otherwise we may overrun the array.
2319 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2321 * src/hildon-date-button.c (+hildon_date_button_new_full)
2322 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2323 (hildon_date_button_init): Set the date selector using a
2324 construction property, to make it happen after HildonButton's
2325 "value" property is set.
2327 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2328 current date by default)
2330 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2332 * doc/hildon-sections.txt
2333 * src/hildon-program.c
2334 * src/hildon-stackable-window.c
2335 * src/hildon-window.c:
2336 Documentation updates
2338 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2340 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2341 (hildon_window_stack_new, +hildon_window_stack_set_property)
2342 (+hildon_window_stack_get_property)
2343 (hildon_window_stack_class_init)
2344 (+hildon_window_stack_set_window_group)
2345 (+hildon_window_stack_get_window_group):
2346 Make the window group a construction property.
2348 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2350 * doc/hildon-sections.txt
2351 * src/hildon-stackable-window-private.h
2352 * src/hildon-stackable-window.h
2353 * src/hildon-stackable-window.c
2354 (-hildon_stackable_window_set_app_menu)
2355 (-hildon_stackable_window_get_app_menu)
2356 (-hildon_stackable_window_toggle_menu)
2357 (-hildon_stackable_window_finalize)
2358 (hildon_stackable_window_class_init)
2359 (hildon_stackable_window_init)
2360 * src/hildon-window-private.h
2361 * src/hildon-window.h
2362 * src/hildon-window.c (hildon_window_init)
2363 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2364 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2365 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2366 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2367 Moved all HildonAppMenu code to HildonWindow. The menu does not
2368 require a HildonStackableWindow anymore.
2370 * src/hildon-app-menu.c
2371 * src/hildon-program.c
2372 * examples/hildon-app-menu-example.c (main):
2373 Update examples and documentation to reflect HildonAppMenu
2376 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2378 * src/hildon-remote-texture.c
2379 * src/hildon-animation-actor.c:
2380 Don't include unused private headers.
2382 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2384 * src/hildon-program-private.h
2385 * src/hildon-program.c
2386 (hildon_program_set_common_menu)
2387 (hildon_program_get_common_menu)
2388 (hildon_program_set_common_app_menu)
2389 (hildon_program_get_common_app_menu):
2390 Change common menu pointers from GtkWidget* to GtkMenu* and
2391 HildonAppMenu* to avoid unnecessary casts.
2393 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2395 * src/hildon-window.c (hildon_window_set_main_menu):
2396 Removed incorrect 'Since:' tag
2398 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2400 * src/hildon-pannable-area.c,
2401 (hildon_pannable_area_calculate_velocity): We use now the
2402 RATIO_TOLERANCE here to check the distance, fixed typo in the
2404 (hildon_pannable_area_motion_notify_cb): We have to set the type
2405 and time even if we are not sending the motion.
2407 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2409 * doc/hildon-sections.txt
2410 * src/hildon-app-menu.h
2411 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2412 (+hildon_app_menu_get_filters): New methods to get the contents of
2415 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2418 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2420 * src/hildon-app-menu.c (hildon_app_menu_popup):
2423 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2425 * src/hildon-window.h
2426 * src/hildon-window.c (+hildon_window_get_main_menu)
2427 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2428 and deprecated hildon_window_get_menu().
2430 * src/hildon-stackable-window.h
2431 * src/hildon-stackable-window.c
2432 (+hildon_stackable_window_set_app_menu)
2433 (+hildon_stackable_window_get_app_menu)
2434 (hildon_stackable_window_set_main_menu): Created
2435 hildon_stackable_window_{get,set}_app_menu() and deprecated
2436 hildon_stackable_window_set_main_menu().
2438 * doc/hildon-sections.txt
2439 * examples/hildon-app-menu-example.c (main)
2440 * src/hildon-app-menu.c
2441 * src/hildon-program.c:
2442 Updated examples and documentation.
2444 Fixes: NB#103758 (No way to obtain a menu from a
2445 HildonStackableWindow)
2447 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2452 * configure.ac: Bump version.
2453 * debian/changelog: Updates.
2455 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2457 * examples/hildon-remote-texture-example.c: Include
2458 hildon-remote-texture.h explicitely.
2459 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2460 applications not defining _XOPEN_SOURCE which don't require this header.
2462 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2464 * doc/hildon-sections.txt
2465 * src/hildon-app-menu.h
2466 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2467 New function to pop up a HildonAppMenu
2469 * src/hildon-stackable-window.c
2470 (hildon_stackable_window_toggle_menu):
2471 Use hildon_app_menu_popup() to show the menu.
2473 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2475 * src/hildon-app-menu.c (hildon_app_menu_show)
2476 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2477 menu if there's another window between it and its parent window.
2479 Fixes: NB#100468 (Application menu window is launched even when a
2480 new secondary-window/dialog is pending to be shown/realized)
2482 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2484 * src/hildon-window-stack.c (hildon_window_stack_push)
2485 (hildon_window_stack_pop_and_push):
2486 Don't forget to push/pop the first window.
2487 Reverse the window list before calling _push_list()
2489 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2491 * src/hildon-picker-button.h
2492 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2493 Remove "value_changed" slot to avoid ABI breakage
2495 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2497 * src/hildon-pannable-area.c,
2498 (hildon_pannable_area_realize),
2499 (hildon_pannable_area_unrealize),
2500 (hildon_pannable_draw_vscroll),
2501 (hildon_pannable_draw_hscroll): Changed the method to handle the
2502 GC used to draw the transparent scrollbar, this way we avoid
2503 creating the GC all the time when drawing the scrollbars.
2505 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2507 * src/hildon-pannable-area.c,
2508 (hildon_pannable_area_init),
2509 (hildon_pannable_area_remove): Removed some unnecessary casts.
2510 (hildon_pannable_area_dispose): Disconnected some signals before
2511 releasing the adjustments.
2513 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2515 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2516 Make sure that all widgets contained in the toolbar are shown.
2518 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2520 * doc/hildon-sections.txt
2521 * src/hildon-picker-button.h
2522 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2523 (_selection_changed, hildon_picker_button_on_dialog_response)
2524 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2525 New hildon_picker_button_value_changed() method.
2528 * src/hildon-picker-button-private.h
2529 * src/hildon-picker-button.c (hildon_picker_button_init)
2530 (+hildon_picker_button_disable_value_changed): Add protected
2531 function for disabling the "value-changed" signal.
2533 * src/hildon-date-button.c (hildon_date_button_set_date):
2534 Don't emit "value-changed" for each one of the three columns.
2536 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2537 before actual change of values)
2539 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2541 * src/hildon-pannable-area.c,
2542 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2543 for the treeview overshooting.
2545 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2547 * src/hildon-banner.c (+hildon_banner_bind_style):
2548 Renamed from hildon_banner_bind_label_style(), now naming the
2549 banner itself as well.
2550 (hildon_banner_show_information),
2551 (hildon_banner_show_information_with_markup),
2552 (hildon_banner_show_animation), (hildon_banner_show_progress):
2553 Name the widgets and labels, based on their type.
2555 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2558 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2560 * src/hildon-note.c (hildon_note_set_property): call
2561 hildon_note_rename() on HildonNote:note-type set.
2562 (hildon_note_rename): Name the note and its label, based on the
2563 HildonNote:note-type property.
2565 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2568 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2570 * src/hildon-pannable-area.c,
2571 (hildon_pannable_area_class_init),
2572 (hildon_pannable_area_motion_notify_cb): Reviewed the default
2573 panning parameters, increased SPS and deceleration factor. Added
2574 also a margin to control fake directions.
2576 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2578 Patch by Sven Herzberg (sven@imendio.com)
2580 * configure.ac: Add missing AM_PROG_CC_C_0
2581 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2583 See NB#101420 (Update unit tests and fix make check)
2585 2009-02-23 Alejandro G. Castro <alex@igalia.com>
2587 This patch was applied before but reverted because it caused
2588 problems, we have changed the main condition and tested the
2589 regressions we detected before and they work ok. We have done a
2590 complete review of the topmost algorithm in order to get a more
2593 * src/hildon-pannable-area.c,
2594 (hildon_pannable_area_get_topmost): Added a new parameter to
2595 filter the the windows that do not include those events.
2596 (hildon_pannable_area_button_press_cb),
2597 (hildon_pannable_area_button_release_cb),
2598 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2599 topmost function, we have added the new parameter.
2601 Fixes: NB#97458 (Pannable area prevents propagation of button
2604 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2606 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
2607 if all columns in the selector have an item selected.
2608 (_on_dialog_response): Stop "response" signal emission if there is
2609 any selector column without selected items.
2611 Fixes: NB#101889 (Picker dialog should not close when nothing is
2612 selected in multiple selection list)
2614 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2616 * src/hildon-font-selection-dialog.c
2617 (hildon_font_selection_dialog_class_init),
2618 (hildon_font_selection_dialog_init): Remove the preview
2619 button and dialog, since previewing with default theming is likely
2620 to be overcomplicated. The :preview property has now no effect.
2621 Update documentation blurbs to inform about this.
2623 Fixes: NB#92297 (Preview content is not clearly visible for
2624 default colour text)
2626 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2628 Reviewed the geometry that handles the children size and
2629 scrollbar, now it tries a size and reviews the results depending
2630 on the scrollbars visibility.
2632 * src/hildon-pannable-area.c,
2633 (hildon_pannable_area_realize): Fixed a typo.
2634 (hildon_pannable_area_child_allocate_calculate): Added this
2635 function to calculate the child allocation.
2636 (hildon_pannable_area_size_allocate): Reviewed the allocation
2638 (hildon_pannable_area_check_scrollbars),
2639 (hildon_pannable_area_refresh): Refactored refresh function, this
2640 way we can call the code handling the scrollbars without causing a
2641 size_request, it is interesting in the allocate.
2642 (hildon_pannable_area_init): Replace the callbacks of the
2643 value_changed and changed signals to propertly deal with the
2645 (hildon_pannable_area_grab_notify),
2646 (hildon_pannable_area_initial_effect),
2647 (hildon_pannable_area_launch_fade_timeout),
2648 (hildon_pannable_area_adjust_changed),
2649 (hildon_pannable_area_adjust_value_changed),
2650 (hildon_pannable_area_redraw),
2651 (hildon_pannable_area_button_press_cb),
2652 (hildon_pannable_area_button_release_cb),
2653 (hildon_pannable_area_scroll_cb),
2654 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
2655 code and use the new functions adjust_changed and
2656 adjust_value_changed.
2658 Fixes: NB#101603 (Focus is not even for the text entry boxes in
2659 Contact editor dialog)
2661 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
2666 * configure.ac: Bump version.
2667 * debian/changelog: Updates.
2669 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2671 * src/hildon-pannable-area.c,
2672 (hildon_pannable_area_get_topmost),
2673 (hildon_pannable_area_button_press_cb),
2674 (hildon_pannable_area_button_release_cb),
2675 (hildon_pannable_get_child_widget_at): Reverted the patch for the
2676 topmost function adding the event mask. We have to try a
2677 differente approach because it is still causing problems (NB#9745,
2680 2009-02-19 Alberto Garcia <agarcia@igalia.com>
2682 * src/hildon-banner.c:
2683 Update the maximum width of timed banners.
2684 (force_to_wrap_truncated): Enforce the maximum text width if the
2687 Fixes: NB#102413 (The text margins (wrapping) in information
2688 banner should be HILDON_MARGIN_TRIPLE)
2690 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2692 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
2694 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
2695 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
2696 bound when calculating the scroll indicator position.
2698 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
2699 treat ->lower correctly)
2701 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2703 * src/hildon-caption.c (hildon_caption_class_init): Remove the
2704 expose event handling, since it is not necessary to draw the focus
2707 Fixes: NB#102467 (Do not show highlight on the text in
2710 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2712 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
2713 full height of the toolbar for the button and the label.
2715 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2717 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
2718 padding before the label and after the button.
2720 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2722 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
2724 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2725 Add a GtkVSeparator between the button and the back arrow.
2726 Let the button have automatic size.
2727 Set a name to the widget for theming handling.
2729 Fixes: NB#101793 (Make edit toolbar the same height as window
2730 title bar (use title area theming))
2732 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2734 * src/hildon-helper.c (attach_new_color_element): Fix memory
2737 Fixes: NB#102262 (memory leak in hildon_button_set_style())
2739 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2741 * examples/hildon-button-example.c (common_buttons_window): Don't
2744 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2746 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2747 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
2749 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2751 * src/hildon-gtk.c: Check that the window is realized.
2753 Fixes: NB#102225 (Crash setting the progress indicator to a non
2756 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2758 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
2759 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
2760 instead of modifying the one in the widget style.
2762 Fixes: NB#101043 (Second row of all the command button are
2763 displayed in transparent mode.)
2765 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2767 * src/hildon-date-button.c
2768 * src/hildon-time-button.c: Add gettext macros
2770 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
2772 * src/hildon-date-button.c (hildon_date_button_new):
2773 * src/hildon-time-button.c (hildon_time_button_new_step):
2774 Use new logical strings to set the button default title.
2776 Fixes: NB#99915 (Date and Time options are not localised in Date
2779 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2781 * src/hildon-pannable-area.c
2782 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
2783 the PANNING_THRESHOLD.
2785 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2787 * src/hildon-pannable-area.c,
2788 (hildon_pannable_area_class_init): Increased the maximum speed.
2789 (hildon_pannable_area_get_property),
2790 (hildon_pannable_area_set_property),
2791 (hildon_pannable_area_timeout): Added a new low friction mode, it
2792 allows the user avoid friction when launching the widget fast
2793 enough. It is interesting to traverse long lists.
2795 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2797 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
2798 (+hildon_stackable_window_delete_event): Ignore delete events if
2799 the window is not the topmost one.
2801 Fixes: NB#101698 (Back button long press and delete-event handling)
2803 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2805 * src/hildon-pannable-area.c,
2806 (hildon_pannable_area_motion_notify_cb): Removed the use of the
2807 gtk-dnd-drag-threshold, it was too big. We have defined our own
2808 dnd define and set a smaller value: PANNIG_THRESHOLD.
2810 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2812 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
2813 user-defined icons, use always the default one.
2815 Fixes: NB#101916 (Do not allow custom icons on animation banner)
2817 2009-02-13 Alejandro G. Castro <alex@igalia.com>
2819 This patch was applied before but reverted because it caused
2820 problems, we have changed the main condition and tested the
2821 regressions we detected before and they work ok.
2823 * src/hildon-pannable-area.c,
2824 (hildon_pannable_area_get_topmost): Added a new parameter to
2825 filter the the windows that do not include those events. Added
2826 also a condition when finding the window to filter windows that do
2827 not ask for those events.
2828 (hildon_pannable_area_button_press_cb),
2829 (hildon_pannable_area_button_release_cb),
2830 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2831 topmost function, we have added the new parameter.
2833 Fixes: NB#97458 (Pannable area prevents propagation of button
2836 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2838 * tests/check-hildon-color-button.c (START_TEST): do not leak
2841 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2843 * src/hildon-font-selection-dialog.c
2844 (hildon_font_selection_dialog_get_preview_text): Return NULL
2845 instead of FALSE on the g_return_val_if_fail().
2847 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2849 * src/hildon-time-selector.c (hildon_time_selector_set_time):
2850 * src/hildon-date-selector.c
2851 (hildon_date_selector_select_current_date):
2852 Do not compare unsigned integers to be greater than or equal 0,
2853 because it's always TRUE.
2855 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2857 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
2858 (hildon_date_selector_constructor): Do not select the current
2859 date until we are handle the "changed" signal, to avoid having bogus
2860 elements in the days model.
2862 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2864 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
2865 for num_days, since _month_days() can return a negative value.
2867 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2869 * src/hildon-caption.c (hildon_caption_size_allocate):
2870 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
2871 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
2873 Initialize allocation variables to 0, to avoid eventually using
2874 unitialized variables.
2876 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2878 * src/hildon-bread-crumb-trail.c
2879 (hildon_bread_crumb_trail_size_allocate):
2880 * src/hildon-calendar.c (hildon_calendar_set_background):
2881 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
2882 * src/hildon-range-editor.c (hildon_range_editor_get_range):
2883 * src/hildon-seekbar.c (hildon_seekbar_init):
2884 * src/hildon-time-editor.c (hildon_time_editor_get_time):
2885 * src/hildon-time-selector.c (hildon_time_selector_finalize):
2886 * src/hildon-touch-selector-entry.c
2887 (hildon_touch_selector_get_text_from_model):
2888 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
2889 * src/hildon-window.c (hildon_window_finalize):
2891 Remove many unused variables.
2893 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2895 * src/hildon-seekbar.c: (hildon_seekbar_init),
2896 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
2898 Remove unnecessary g_assert() calls.
2900 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2902 * src/hildon-caption.c: (hildon_caption_expose),
2903 (hildon_caption_set_property), (hildon_caption_init),
2904 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
2905 (hildon_caption_size_request), (hildon_caption_size_allocate),
2906 (hildon_caption_forall), (hildon_caption_set_separator),
2907 (hildon_caption_activate), (hildon_caption_set_child_expand),
2908 (hildon_caption_set_label_text),
2909 (hildon_caption_get_label_alignment):
2911 Remove unnecessary g_assert() calls.
2913 2009-02-12 Alberto Garcia <agarcia@igalia.com>
2915 * src/hildon-banner.c
2916 (hildon_banner_map, hildon_banner_init): Make banner temporary
2917 before mapping it to avoid closing other temporary windows, but
2918 make it non-temporary afterwards to avoid being closed by other
2919 non-temporary windows.
2920 (-hildon_banner_client_event, hildon_banner_init):
2921 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
2923 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
2926 2009-02-11 Alberto Garcia <agarcia@igalia.com>
2928 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
2931 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2933 * src/hildon-remote-texture.c
2934 * src/hildon-remote-texture.h
2935 * src/hildon-remote-texture-private.h
2936 * examples/hildon-remote-texture-example.c:
2937 Updates/fixes to remote-texture and its example.
2939 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
2941 Patch by Mox Soini (ext-mox.soini@nokia.com)
2943 * src/hildon-code-dialog.c: Update logical id.
2944 * src/hildon-set-password-dialog.c: Update logical id.
2946 Fixes: NB#100646 (Logical strings is shown for ok in set
2947 password,Password needed dialogs)
2949 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2952 * src/hildon-remote-texture.c
2953 * src/hildon-remote-texture.h
2954 * src/hildon-remote-texture-private.h
2956 Added remote texture widget (for Clutter shared memory textures)
2958 * examples/hildon-remote-texture-example.c
2959 * examples/Makefile.am
2960 Added example file for remote texture usage
2962 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
2964 * configure.ac: post release version bump.
2965 * debian/changelog: version bump.
2967 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
2972 * configure.ac: Bump version.
2973 * debian/changelog: Updates.
2975 2009-02-06 Alberto Garcia <agarcia@igalia.com>
2977 * src/hildon-date-selector.c (hildon_date_selector_init)
2978 (hildon_date_selector_constructor): Don't connect to the "changed"
2979 signal until the selector is completely constructed.
2981 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2983 * src/hildon-touch-selector.c: (_create_new_column),
2984 (hildon_touch_selector_append_column),
2985 (hildon_touch_selector_set_column_selection_mode),
2986 (hildon_touch_selector_set_active),
2987 (hildon_touch_selector_select_iter):
2988 Emit the HildonTouchSelector::changed signal every time selection
2989 is changed in any of the methods above. This behavior was already
2990 documented but not fully functional.
2992 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
2993 selection is programmatically changed)
2995 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2997 * doc/hildon-sections.txt: Remove obsolete icon
2998 sizes from here as well.
3000 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3002 * examples/hildon-stackable-window-example.c (add_window): Remove
3005 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3007 * src/hildon-app-menu.c
3008 (hildon_app_menu_show): Check whether the parent window of a menu
3009 is topmost before popping it up.
3011 Fixes: NB#100468 (Application menu window is launched even when a
3012 new secondary-window/dialog is pending to be shown/realized.)
3014 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3016 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3019 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3021 Patch by Mox Soini (ext-mox.soini@nokia.com)
3023 * src/hildon-banner.c: (hildon_banner_show_animation):
3024 use stylus size instead of obsolete note size.
3025 * src/hildon-defines.h: Update icon sizes.
3027 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3029 * src/hildon-touch-selector-entry.c:
3030 (hildon_touch_selector_entry_init): Disable unsupported
3032 (hildon_touch_selector_entry_get_text_column): Emit a warning
3033 if an unsupported input modes is used and explicitile state
3034 these modes in the documentation.
3036 Fixes: NB#99802 (Hildon touch selector entry not working properly
3037 for some of the input modes)
3039 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3041 * src/hildon-pannable-area.c,
3042 (hildon_pannable_area_init): Added the changed signal handlers of
3045 Fixes: NB#100320 (HildonPannableArea does not listen to
3046 GtkAdjustment "change" signals)
3048 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3050 * doc/hildon-sections.txt
3051 * src/hildon-window-private.h
3052 * src/hildon-window.h
3053 * src/hildon-window.c (hildon_window_init)
3054 (hildon_window_realize, hildon_window_unrealize)
3055 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3056 (hildon_window_size_request, hildon_window_size_allocate)
3057 (hildon_window_forall, hildon_window_show_all)
3058 (hildon_window_destroy, +paint_edit_toolbar)
3059 (+hildon_window_set_edit_toolbar):
3060 New hildon_window_set_edit_toolbar() method, to add a
3061 HildonEditToolbar to a window without having to pack it manually.
3063 Reorganize hildon_window_size_allocate()
3065 * src/hildon-edit-toolbar.c: Update documentation.
3067 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3068 example to use the new API.
3070 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3072 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3074 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3075 Remove from stack before calling parent's hide.
3077 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3079 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3080 window is removed from the middle of the stack, update the
3081 transiency of the previous one.
3083 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3086 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3088 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3089 block/unblock the signal handler if it's not actually being used.
3090 Fixes some critical warnings.
3092 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3094 Based on a patch by Iván Gómez (igomez@igalia.com)
3096 * src/hildon-banner.c
3100 * src/hildon-pannable-area.c
3101 * src/hildon-picker-dialog.c
3102 * src/hildon-wizard-dialog.h
3103 * src/hildon-wizard-dialog.c: Documentation updates.
3105 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3106 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3108 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3110 * configure.ac: post release version bump.
3111 * debian/changelog: version bump.
3113 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3118 * configure.ac: Bump version.
3119 * debian/changelog: Updates.
3121 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3123 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3124 a stock icon nor change the relief of the back arrow.
3126 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3127 graphics from theme)
3129 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3131 * src/hildon-button.c (hildon_button_set_alignment): Use
3132 priv->alignment if the button has no child yet.
3134 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3136 * src/hildon-button.c: (hildon_button_init): Set the
3137 button style during initialization to give it the proper
3140 Fixes: NB#99713 (HildonButton value label color is wrong)
3142 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3144 * src/hildon-touch-selector.c: Document
3145 hildon_touch_selector_center_on_selected()
3147 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3149 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3150 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3151 all menu items, but not the menu itself.
3152 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3153 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3154 items after adding them to the menu so keyboard accelerators work.
3155 (hildon_app_menu_show): Don't show the menu if it contains items
3156 but none of them are visible.
3158 * examples/hildon-app-menu-example.c (create_menu): Use
3159 gtk_widget_show_all() to show all menu items.
3161 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3163 * src/hildon-picker-dialog.c:
3164 (-_update_title_on_selector_changed_cb),
3165 (-_dialog_update_title): Removed.
3166 (_select_on_selector_changed_cb), (_on_dialog_response),
3167 (on_selector_columns_changed): Do not update the dialog title.
3168 (setup_interaction_mode): Do not connect to
3169 HildonTouchSelector::changed signal if there's a "done" button, as
3170 the dialog title doesn't need to be updated.
3172 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3175 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3177 Patch by Kristian Rietveld (kris@imendio.com)
3179 * src/hildon-touch-selector.c: (_create_new_column): Use new
3180 GtkTreeView::hildon-row-tapped signal to react to user interactions
3181 instead of ::changed.
3183 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3184 with some dynamic tree model)
3186 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3188 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3189 (+screen_size_changed, +label_size_request)
3190 (hildon_note_class_init): Make the Hildon information note have a
3191 minimum height, and make its text hvae a maximum width.
3193 Fixes: NB#98614 (Hildon information note (background) should have
3194 minimum height and maximum text width)
3196 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3198 * src/hildon-banner.h
3199 * src/hildon-banner.c (hildon_banner_show_information)
3200 (hildon_banner_show_informationf)
3201 (hildon_banner_show_information_with_markup): Update documentation
3202 to reflect that the icon_name parameter is not used anymore.
3203 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3204 Remove all code from these functions and mark them as deprecated.
3205 (hildon_banner_show_progress): Mark as deprecated.
3207 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3209 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3211 * src/hildon-pannable-area.c,
3212 (hildon_pannable_area_class_init),
3213 (tranparency_color),
3214 (hildon_pannable_draw_vscroll),
3215 (hildon_pannable_draw_hscroll),
3216 (hildon_pannable_area_expose_event): Added a new way to render the
3217 scrollbars of the pannable area avoiding using cairo at all. This
3218 way we improve the performance of the pannable area rendering. The
3219 cairo rendering procedure is still in the code, we can control
3220 which one to use changing the value of the define
3221 USE_CAIRO_SCROLLBARS.
3223 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3225 * configure.ac: post release version bump.
3226 * debian/changelog: version bump.
3228 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3233 * configure.ac: Bump version.
3234 * debian/changelog: Updates.
3236 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3238 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3239 banners instead of destroying them when they receive a button
3242 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3244 Reverted commit 34028, it was causing regressions, probably the
3245 topmost condition is not correct, we have to check it in more
3246 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3247 propagation of button press events)
3249 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3251 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3252 that the selection is not empty before attempting to retrieve the
3253 current ampm selection.
3255 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3257 * src/hildon-picker-button.c:
3258 (hildon_picker_button_on_dialog_response): Directly update the
3259 button contents when required instead of calling _selection_changed.
3261 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3263 * src/hildon-program.c (hildon_program_update_top_most): Update
3264 'is-topmost' property also when wm_hints is not set.
3266 Fixes: NB#98383 (is-topmost signal is not emitted when task
3267 switcher is clicked.)
3269 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3271 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3275 * src/hildon-animation-actor.c,
3276 * src/hildon-animation-actor.h: Added the animation actor class,
3277 this widget represents an animation actor for WM-assisted
3278 animation effects in the Hildon framework.
3280 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3282 * src/hildon-window-stack-private.h
3283 * src/hildon-window-stack.c
3284 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3285 Avoid calling gtk_widget_show() again indirectly from
3286 hildon_stackable_window_show()
3288 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3290 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3293 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3295 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3296 (hildon_time_selector_init): Move the construction of the hours and
3297 ampm columns to the constructor to preserve the order the columns
3300 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3302 * src/hildon-picker-dialog.c:
3303 (hildon_picker_dialog_class_init): Connect a realize method.
3304 (+hildon_picker_dialog_realize): Setup the interaction mode here
3306 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3307 yet, do it during the realize instead.
3308 (_on_dialog_response):
3309 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3310 if the widget is not realized, to avoid the dialog response before it
3313 Avoid premature responses in the HildonPickerDialog that can cause it
3314 to be hidden before it's even shown.
3316 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3318 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3319 (on_selector_columns_changed), (requires_done_button),
3320 (+prepare_action_area), (setup_interaction_mode),
3321 (_hildon_picker_dialog_set_selector):
3323 Split the interaction mode setup into preparation of the
3324 action area (prepare_action_area()) and the connection of
3325 the signals in setup_interaction_mode() and update the code to
3328 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3330 * src/hildon-pannable-area.c,
3331 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3332 per second to 15, we will check if this is ok regarding
3335 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3337 * src/hildon-pannable-area.c,
3338 (hildon_pannable_axis_scroll): Avoid resize if we already have
3339 reached overshoot_max.
3341 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3343 * src/hildon-pannable-area.c,
3344 (hildon_pannable_area_init),
3345 (hildon_pannable_area_realize),
3346 (hildon_pannable_area_size_allocate),
3347 (hildon_pannable_area_map),
3348 (hildon_pannable_area_unmap),
3349 (hildon_pannable_draw_vscroll),
3350 (hildon_pannable_draw_hscroll),
3351 (hildon_pannable_area_expose_event),
3352 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3353 pannable are to avoid the expose events go to the window and
3354 redraw the window. We save this way that part of the stack and the
3355 paint_boxes. We had to change the positions of the elements when
3358 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3360 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3361 * src/hildon-color-chooser-dialog.c:
3362 (hildon_color_chooser_dialog_init):
3363 * src/hildon-font-selection-dialog.c:
3364 (hildon_font_selection_dialog_init),
3365 (hildon_font_selection_dialog_show_preview):
3366 * src/hildon-get-password-dialog.c:
3367 * src/hildon-login-dialog.c:
3368 * src/hildon-set-password-dialog.c:
3369 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3370 * src/hildon-time-picker.c: (hildon_time_picker_init):
3372 Remove obsolete logical string IDs and update to the appropriate ones.
3374 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3376 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3378 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3379 that happens if the window hasn't been realized yet.
3381 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3382 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3384 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3386 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3387 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3390 Fixes: NB#98537 (Device hangs in account settings dialog)
3392 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3394 * configure.ac: post release version bump.
3395 * debian/changelog: version bump
3397 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3402 * configure.ac: Bump version.
3403 * debian/changelog: Updates.
3405 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3407 Added a new function to the HildonTimeButton widget that allows to
3408 change the step of the minutes in the selector associated with the
3409 button: hildon_time_button_new_step
3411 * src/hildon-time-button.c,
3412 (hildon_time_button_init),
3413 (hildon_time_button_new),
3414 (hildon_time_button_new_step):
3415 * src/hildon-time-button.h: Added the new function and refactored
3417 * examples/hildon-time-button-example.c,
3418 (main): We have replaced the function without parameters with the
3419 function with the steps set to 5
3421 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3423 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3425 * src/hildon-time-selector.c,
3426 (hildon_time_selector_class_init),
3427 (hildon_time_selector_constructor),
3428 (hildon_time_selector_get_property),
3429 (hildon_time_selector_set_property),
3430 (_create_minutes_model),
3431 (hildon_time_selector_new_step),
3432 (hildon_time_selector_set_time),
3433 * src/hildon-time-selector.h: Added a new property to the
3434 HildonTimeSelector (minutes-step), we use that property to control
3435 the steps between the minutes in the list of the selector. We have
3436 added a new function to the API to create a widget changing the
3437 step: hildon_time_selector_new_step.
3439 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3441 * src/hildon-time-selector.c,
3442 (hildon_time_selector_class_init),
3443 (hildon_time_selector_constructor),
3444 (hildon_time_selector_init): Overrided the construct function when
3445 creating the time selector object. We have moved the minutes model
3446 handling code from the init to the new construction function:
3447 hildon_time_selector_constructor.
3449 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3451 * examples/hildon-date-button-example.c: (main): Use the new
3452 hildon_date_button_new_with_year_range() method in the example.
3453 * src/hildon-date-button.c:
3454 (+hildon_date_button_new_with_year_range): New public method
3455 to conveniently create a HildonDateButton with a custom year range
3456 in its HildonDateSelector.
3457 * src/hildon-date-button.h: Add the new public method definition.
3459 Fixes: NB#97908 (Not possible to change the year range in
3460 HildonDateSelector/HildonDateButton)
3462 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3464 * src/hildon-date-selector.c:
3465 (+hildon_date_selector_set_property),
3466 (+hildon_date_selector_get_property),
3467 (hildon_date_selector_class_init): Install new properties "min-year"
3468 and "max-year" to define boundaries for the year column.
3469 (_create_year_model): Use the boundary properties to populate the model.
3470 (+hildon_date_selector_new_with_year_range): New public method to
3471 create a HildonDateSelector with a user defined year range.
3472 (hildon_date_selector_select_current_date): Use the new boundaries to
3473 calculate the iterator of current year.
3474 * src/hildon-date-selector.h: Add the new public method definition.
3476 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3478 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3479 Install a constructor method.
3480 (+hildon_date_selector_construct_ui): construct the widget.
3481 (+hildon_date_selector_constructor): new constructor.
3482 (+hildon_date_selector_init): move out widget construction code to
3483 the new constructor.
3485 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3487 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3488 that there's actually a month or year selected before obtaining them.
3489 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3490 of the HildonTouchSelector::changed signal, as it was emitted on every
3491 single item selection.
3493 Fix some warnings and possible crashers due to the selection restoring.
3495 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3497 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3498 the signal handlers only after creating the dialog instead of on every
3501 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3503 * src/hildon-button.c (hildon_button_init)
3504 * src/hildon-check-button.c (hildon_check_button_init)
3505 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3506 focus when clicked by default.
3508 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3510 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3513 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3515 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3516 Alejandro G. Castro (alex@igalia.com)
3518 * src/hildon-picker-dialog.c:
3519 (hildon_picker_dialog_class_init): install new "center-on-show"
3521 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3522 (hildon_picker_dialog_set_property): add setter code for the new
3524 (hildon_picker_dialog_get_property): add getter code for the new
3526 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3527 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3530 Fixes: NB#92849 (Selected item is not always visible when
3531 HildonTouchSelector is shown)
3533 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3535 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3536 Alejandro G. Castro (alex@igalia.com)
3538 * src/hildon-touch-selector.c:
3539 (_create_new_column): Do not connect to the "realize" signal of the
3541 (hildon_touch_selector_append_column): center on the selected items
3542 when a new column is appended.
3543 (hildon_touch_selector_select_iter): Factor out the code to select a
3544 column to hildon_touch_selector_scroll_to().
3545 (+search_nearest_element): Method to retrieve the nearest selected
3546 element to the visible area of the pannable area in a column.
3547 (+on_realize_cb): scroll to the initially selected item.
3548 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3549 the pannable area is realized, otherwise delay this until it is.
3550 (+_hildon_touch_selector_center_on_selected_items): Centers on the
3551 selected items of a given column.
3552 (+hildon_touch_selector_center_on_selected): Public method to center
3553 all columns on the nearest selected item.
3554 * src/hildon-touch-selector.h: Add definition for
3555 hildon_touch_selector_center_on_selected().
3557 Implement public API to ensure visibility of all selected items in
3558 a HildonTouchSelector.
3560 2009-01-16 Alejandro G. Castro <alex@igalia.com>
3562 Fixed a problem in the fading when calling the scroll_to API, and
3563 improve scrollbar fading handling.
3565 * src/hildon-pannable-area.c,
3566 (hildon_pannable_area_grab_notify): avoid the timeout when the
3568 (hildon_pannable_area_button_press_cb),
3569 (hildon_pannable_area_motion_notify_cb): Code style changes.
3570 (hildon_pannable_area_button_release_cb): Review the conditions
3571 when releasing the mouse button to avoid unrequired fading
3573 (hildon_pannable_area_scroll_to): Do not calculate and set the
3574 velocity if the scroll is not required.
3576 2009-01-15 Alberto Garcia <agarcia@igalia.com>
3578 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3579 Don't check whether the new selector is NULL: it cannot be.
3580 Hold a reference to the selector while doing the replacement.
3582 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3584 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3585 unnecessary size_request in a removed widget.
3587 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3589 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3590 an unnecessary reference tracking that was leaking.
3592 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3594 Added delayed motion notify event handling, this way we can
3595 discard redrawing if more than 25 events arrive per second.
3597 * src/hildon-pannable-area.c,
3598 (hildon_pannable_area_init): Initialized the new private atributes
3599 controlling this timeout
3600 (hildon_pannable_area_dispose): Remove the timeout that controls
3601 the motion notify events.
3602 (hildon_pannable_area_scroll): Added a condition to control the
3603 use of the acceleration.
3604 (hildon_pannable_area_motion_event_scroll_timeout),
3605 (hildon_pannable_area_motion_event_scroll): Added this two
3606 functions, they handle the motion notify events inside the
3608 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
3609 to the scroll method with the new function.
3610 (hildon_pannable_area_button_release_cb): We have to remove the
3611 timeout handler and move to the last position if the last motion
3612 events were not handled.
3614 Fixes: NB#97028 (Pannable area updates on every motion event)
3616 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3618 * src/hildon-pannable-area.c,
3619 (hildon_pannable_area_get_topmost): Added a new parameter to
3620 filter the the windows that do not include those events. Added
3621 also a condition when finding the window to filter windows that do
3622 not ask for those events.
3623 (hildon_pannable_area_button_press_cb),
3624 (hildon_pannable_area_button_release_cb),
3625 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3626 topmost function, we have added the new parameter.
3628 Fixes: NB#97458 (Pannable area prevents propagation of button
3631 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3633 * src/hildon-pannable-area.c,
3634 (hildon_pannable_area_initial_effect): Added controls before
3635 launching the timeout and the idle functions.
3636 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
3637 of the method, in some situations it can return with TRUE and 0 in
3639 (hildon_pannable_area_button_press_cb): We do not need to set
3640 DELAY for fading out here.
3642 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
3644 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3646 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
3647 post-cleaning if the selection is not NULL.
3649 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3651 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
3652 all items before restoring the selection.
3654 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3656 * src/hildon-touch-selector.c:
3657 (+hildon_touch_selector_unselect_all):
3658 * src/hildon-touch-selector.h: New API to unselect all items in a
3659 column of the touch selector.
3661 2009-01-14 Alejandro G. Castro <alex@igalia.com>
3663 * src/hildon-pannable-area.c,
3664 (hildon_pannable_area_redraw): Added a call to the refresh
3665 function inside the redraw because apparently in some cases the
3666 change in the adjustment does not imply a size allocate.
3668 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
3669 despite the view not being scrollable)
3671 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3673 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
3674 leak. Check for NULL before attempting to set the window title.
3676 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3678 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
3679 whether to show or not the 'Done' button each time the dialog is
3680 shown, as it depends on the HildonTouchSelector selection mode.
3682 Fixes: NB#96226 (In multiple selection mode Done button is shown
3683 sometimes in listpicker)
3685 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3687 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3688 for the number of columns in the HildonTouchSelector more than once.
3690 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3692 * src/hildon-touch-selector.c: Minor documentation fixes.
3694 * src/hildon-picker-dialog.c (+_dialog_update_title)
3695 (_select_on_selector_changed_cb)
3696 (_update_title_on_selector_changed_cb)
3697 (on_selector_columns_changed): Update dialog title when there's no
3698 'Done' button and also when the number of columns in the selector
3702 * src/hildon-picker-button.c (hildon_picker_button_finalize)
3703 (+_selection_changed, hildon_picker_button_on_dialog_response)
3704 (hildon_picker_button_selector_selection_changed)
3705 (+hildon_picker_button_selector_columns_changed)
3706 (hildon_picker_button_set_selector): Update button value and emit
3707 'value-changed' when the number of columns in the selector
3711 Fixes: NB#96225 (Dialog titles are not shown according to the
3712 values selected in the list picker)
3714 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3716 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
3717 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
3718 New "arrow-width" and "arrow-height" style properties to set the
3719 size of the arrow button.
3720 Set name of arrow button ("hildon-edit-toolbar-arrow").
3722 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3723 graphics from theme)
3725 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3727 * src/hildon-picker-button.c:
3728 (hildon_picker_button_selector_selection_changed): Use
3729 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
3730 the dialog is present.
3732 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
3733 the selection is accepted in the dialog)
3735 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3737 * src/hildon-color-chooser.h
3738 * src/hildon-color-chooser-dialog.h:
3739 Added G_BEGIN_DECLS and G_END_DECLS
3741 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3743 (_clean_current_selection): plug a leak in the list.
3745 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3747 * src/hildon-picker-dialog.c:
3748 (+free_path_list): Method to free a GList of GtkTreePaths.
3749 (_clean_current_selection), (_save_current_selection),
3750 (_restore_current_selection): Save the current selection in
3751 as a list of lists, to support multiple selection properly.
3753 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3755 patch by Claudio Saavedra (csaavedra@igalia.com)
3757 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
3758 Store the press position.
3759 (+hildon_text_view_button_release_event): If the release position is
3760 close enough to the press position, move the cursor here. Otherwise,
3762 (hildon_text_view_class_init): Override GtkTextView press, release, and
3763 motion event handlers, disabling this way text selection through
3764 pointer interaction, and allowing the container widget to handle the
3767 Fixes: NB#95828 (HildonTextView functionality)
3769 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3771 Based on a patch by Iván Gómez (igomez@igalia.com)
3773 * src/hildon-button.[ch]
3774 * src/hildon-calendar.c
3775 * src/hildon-check-button.c
3776 * src/hildon-date-editor.c
3777 * src/hildon-date-selector.c
3778 * src/hildon-picker-button.c
3779 * src/hildon-time-editor.c
3780 * src/hildon-time-selector.c
3781 * src/hildon-touch-selector.[ch]:
3782 Documentation updates
3784 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3786 * src/hildon-pannable-area.c,
3787 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
3788 threshold, it was required due to X events handling.
3790 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3792 * src/hildon-pannable-area.c,
3793 (hildon_pannable_area_grab_notify),
3794 (hildon_pannable_area_initial_effect),
3795 (hildon_pannable_area_button_press_cb),
3796 (hildon_pannable_area_button_release_cb),
3797 (hildon_pannable_area_scroll_cb),
3798 (hildon_pannable_area_scroll_to): Review the timeout management of
3799 the scrollbar, the frecuency was incorrectly set.
3801 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
3803 * src/hildon-picker-button.c:
3804 (+hildon_picker_button_on_dialog_response),
3805 (hildon_picker_button_clicked): Present the dialog instead of
3806 running it with gtk_dialog_run().
3808 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
3811 2009-01-07 Alberto Garcia <agarcia@igalia.com>
3813 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3814 (hildon_app_menu_finalize): When a window is hidden it doesn't
3815 emit notify::is-topmost, so make sure than the menu also
3816 disappears in that case.
3817 (parent_window_topmost_notify): Renamed from parent_window_hidden
3819 Fixes: NB#94460 (stackable window's menu is not closed when its
3822 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3824 * src/hildon-touch-selector-entry.c:
3825 (+hildon_touch_selector_entry_set_input_mode),
3826 (+hildon_touch_selector_entry_get_input_mode):
3827 * src/hildon-touch-selector-entry.h: New methods to access the input
3828 mode in the selector's entry.
3830 Fixes: NB#93410 (API required for setting IM mode in
3831 HildonTouchSelectorEntry)
3833 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3835 * configure.ac: post release version bump.
3836 * debian/changelog: version bump
3838 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3843 * configure.ac: Bump version.
3844 * debian/changelog: Updates.
3846 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
3848 * src/hildon-touch-selector.c:
3849 (_hildon_touch_selector_has_multiple_selection): No need
3850 to initialize the variables here.
3852 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3854 * src/hildon-note-private.h
3855 * src/hildon-note.c (event_box_press_event, hildon_note_init)
3856 (hildon_note_finalize, hildon_note_rebuild): Close information
3857 notes when they receive a button press.
3859 Fixes: NB#89890 (Information notes does not get disappeared after
3862 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
3864 * src/hildon-wizard-dialog.c: (create_title): Remove translation
3865 mark from the wizard title, as it's not really necessary. Also,
3866 do not display the page title if not set.
3868 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3870 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3871 (parent_window_hidden): Use the window's "is-topmost" property to
3872 detect when to hide the menu.
3874 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3876 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3877 (hildon_app_menu_finalize): If the parent window of the menu is
3878 hidden, hide the menu too.
3880 Fixes: NB#94460 (stackable window's menu is not closed when its
3883 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3886 * debian/libhildon1-examples.install
3888 * examples/Makefile.am:
3889 Use dh_install to install all examples.
3890 Use DEB_SRCDIR instead of defining SOURCE_DIR
3892 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3894 * configure.ac: post release version bump.
3895 * debian/changelog: version bump
3897 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3902 * configure.ac: bump version
3903 * debian/changelog: updates
3904 * debian/control: bump gtk+ dependency
3906 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3908 patch by Christian Dywan (christian@imendio.com)
3910 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
3911 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
3913 2008-12-15 Alberto Garcia <agarcia@igalia.com>
3915 * src/hildon-check-button.c (hildon_check_button_init)
3916 (hildon_check_button_class_init, hildon_check_button_style_set)
3917 (hildon_check_button_apply_style):
3918 New "checkbox-size" style property.
3920 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
3921 larger / configurable size)
3923 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3925 * configure.ac: post release version bump.
3926 * debian/changelog: version bump
3928 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3933 * configure.ac: bump version
3934 * debian/changelog: updates
3936 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3938 * doc/hildon-sections.txt
3939 * src/hildon-pannable-area.c
3940 * src/hildon-program.c
3941 * src/hildon-time-editor.c
3942 * src/hildon-touch-selector-entry.c:
3944 More documentation updates.
3946 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3948 * doc/hildon-sections.txt
3949 * src/hildon-caption.c
3950 * src/hildon-code-dialog.c
3951 * src/hildon-color-button.c
3952 * src/hildon-controlbar.c
3953 * src/hildon-date-editor.c
3954 * src/hildon-date-selector.c
3955 * src/hildon-edit-toolbar.c
3956 * src/hildon-find-toolbar.c
3957 * src/hildon-font-selection-dialog.c
3959 * src/hildon-program.c
3960 * src/hildon-range-editor.c
3961 * src/hildon-seekbar.c
3962 * src/hildon-time-editor.c
3963 * src/hildon-time-selector.c
3964 * src/hildon-volumebar-range.c
3965 * src/hildon-volumebar.c
3966 * src/hildon-vvolumebar.c
3967 * src/hildon-weekday-picker.c
3968 * src/hildon-window.c
3969 * src/hildon-wizard-dialog.c:
3971 Lots of documentation fixes.
3973 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3975 Patch contributed by Iván Gómez (igomez@igalia.com)
3977 * src/hildon-check-button.c:
3978 * src/hildon-date-button.c:
3979 * src/hildon-date-selector.c:
3980 * src/hildon-dialog.c:
3981 * src/hildon-edit-toolbar.c:
3982 * src/hildon-entry.c:
3983 * src/hildon-picker-button.c:
3984 * src/hildon-program.c:
3985 * src/hildon-text-view.c:
3986 * src/hildon-time-button.c:
3987 * src/hildon-touch-selector-entry.c:
3988 * src/hildon-window-stack.c:
3990 Add more "since" tags to the new API.
3992 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3994 * doc/hildon-sections.txt: Add below method.
3995 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
3996 version for the hildonized scale.
3997 * src/hildon-gtk.h: Add the definition.
3999 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4001 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4003 * doc/hildon-sections.txt: Add missing entries for new methods.
4005 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4007 Added API to pannable are in order to get its adjustments. We
4008 added two properties to manage the values we had in the private
4011 * src/hildon-pannable-area.c:
4012 (hildon_pannable_area_class_init): Added hadjustment and
4013 vadjustment properties in order to expose horizontal and vertical
4015 (hildon_pannable_area_get_property),
4016 (hildon_pannable_area_set_property): Added code to handle the new
4018 (hildon_pannable_area_get_hadjustment),
4019 (hildon_pannable_area_get_vadjustment): API functions to get the
4021 * src/hildon-pannable-area.h:
4022 (hildon_pannable_area_get_hadjustment),
4023 (hildon_pannable_area_get_vadjustment): API functions to get the
4026 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4028 Fixed some leaks, after valgrinding.
4030 * src/hildon-touch-selector.c:
4031 (_default_print_func): Fixed a leak.
4032 (hildon_touch_selector_append_column): Fixed a leak.
4033 * src/hildon-date-button.c:
4034 (hildon_date_button_init): Fixed a leak.
4035 * src/hildon-date-selector.c
4036 (hildon_date_selector_finalize): Fixed a leak.
4038 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4040 Based on a patch by Christian Dywan (christian@imendio.com)
4042 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4044 * src/hildon-gtk.h: Add definition.
4046 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4048 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4050 * src/hildon-picker-button.c: (hildon_picker_button_init),
4051 (hildon_picker_button_new): Set the HildonButton::style property
4052 in the init method, to propagate the value to the derived classes.
4054 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4056 * src/hildon-button.c: (hildon_button_class_init): Do not make
4057 the "style" property a construct property.
4059 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4061 * src/hildon-wizard-dialog.h
4062 * src/hildon-wizard-dialog.c
4063 (hildon_wizard_dialog_set_forward_page_func)
4064 * src/hildon-pannable-area.h
4065 * src/hildon-pannable-area.c
4066 (hildon_pannable_area_set_size_request_policy):
4067 Documentation fixes.
4069 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4071 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4073 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4075 * doc/hildon-sections.txt: Added sections file.
4077 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4080 * src/*.[ch]: Updates.
4082 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4084 * examples/hildon-progress-indicator-example.c: new file
4085 * examples/Makefile.am: include the new example program
4087 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4089 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4091 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4093 * configure.ac: post release version bump
4094 * debian/changelog: version bump
4096 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4101 * configure.ac: bump version
4102 * debian/changelog: updates
4103 * debian/control: bump gtk+ dependency
4105 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4107 * src/hildon-dialog.c: Mark as deprecated.
4108 * src/hildon-dialog.h: Mark as deprecated.
4109 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4110 from HildonDialog and still work, even if
4111 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4112 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4114 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4115 maemo changes) instead)
4117 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4119 * src/hildon-pannable_area.h:
4120 * src/hildon-pannable_area.c:
4121 (hildon_pannable_area_class_init),
4122 (hildon_pannable_area_set_property),
4123 (hildon_pannable_area_get_property),
4124 (hildon_pannable_area_size_request),
4125 (hildon_pannable_area_get_size_request_policy),
4126 (hildon_pannable_area_set_size_request_policy): Added new API
4127 allowing applications to control the request policy. Now they can
4128 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4129 children allocation (HILDON_MOVEMENT_CHILDREN).
4131 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4135 (hildon_gtk_tree_view_set_ui_mode)
4136 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4137 mode of treeviews and iconviews.
4139 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4141 * src/hildon-touch-selector-entry.c:
4142 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4143 of a GtkEntry to get proper theming.
4145 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4146 widget, not GtkEntry)
4148 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4150 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4151 no HildonWizardDialogPageFunc.
4153 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4155 Patch contributed by Iván Gómez (igomez@igalia.com)
4157 * src/hildon-app-menu.c:
4158 * src/hildon-button.c:
4159 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4160 * src/hildon-stackable-window.c:
4161 * src/hildon-time-selector.c:
4162 * src/hildon-touch-selector.c:
4163 * src/hildon-window.c:
4165 Add more "since" tags to the new API in hildon 2.2.
4167 2008-12-05 Tim Janik <timj@imendio.com>
4169 Patch contributed by Christian Dywan (christian@imendio.com)
4171 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4172 HildonSizeType, which are supplied by Gtk+ now.
4174 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4176 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4177 (with maemo changes) instead)
4179 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4181 Patch contributed by Iván Gómez (igomez@igalia.com)
4183 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4186 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4188 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4189 (some_page_func), (main): Update the example to use a
4190 HildonWizardDialogPageFunc function.
4192 * src/hildon-wizard-dialog-private.h: Add private data for
4193 the HildonWizardDialogPageFunc function usage.
4195 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4196 (destroy), (hildon_wizard_dialog_init), (response),
4197 (hildon_wizard_dialog_set_forward_page_func):
4198 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4199 that applications can use to stop a HildonWizardDialog to jump to
4202 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4205 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4207 * src/hildon-program.h
4208 * src/hildon-program-private.h
4209 * src/hildon-program.c (hildon_program_init)
4210 (hildon_program_set_common_app_menu)
4211 (hildon_program_get_common_app_menu):
4212 New API for setting a common HildonAppMenu for all
4213 HildonStackableWindows registered with the HildonProgram.
4215 * src/hildon-stackable-window.c
4216 (hildon_stackable_window_toggle_menu):
4217 Use the common HildonAppMenu if a window doesn't have a specific
4220 * src/hildon-app-menu-private.h
4221 * src/hildon-app-menu.c
4222 (hildon_app_menu_get_parent_window):
4223 Function to obtain the window a HildonAppMenu is attached to.
4224 (hildon_app_menu_set_parent_window):
4225 Hide the menu if the parent window is set to NULL.
4227 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4229 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4230 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4231 search widget to popup.
4233 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4235 * configure.ac: post release version bump
4236 * debian/changelog: version bump
4238 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4243 * configure.ac: bump version
4244 * debian/changelog: updates
4246 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4248 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4250 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4251 (hildon_window_stack_window_realized)
4252 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4253 Set the leader GdkWindow when a window is stacked and realized,
4254 unset it when it's unstacked.
4255 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4257 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4259 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4261 * src/hildon-stackable-window.h
4262 * src/hildon-window-stack.h:
4263 Protect definition of HildonWindowStack using the preprocessor.
4265 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4267 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4268 Fix warning if all menu items are hidden.
4270 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4272 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4274 * src/hildon-controlbar.c:
4275 * src/hildon-hvolumebar.c:
4276 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4277 Multiple scale size defines updates.
4279 Fixes: NB#94322 (Scale Updates)
4281 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4283 * examples/hildon-app-menu-example.c (create_menu)
4284 Show items after adding them to the menu, as in the future the
4285 menu will no longer call gtk_widget_show() on the added items.
4287 * src/hildon-app-menu.c:
4288 Update example as explained above.
4290 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4292 * src/hildon-app-menu.c
4293 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4294 Make sure that all menu items have finger height.
4296 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4298 * src/hildon-picker-dialog.c:
4299 (_on_dialog_response), (_save_current_selection),
4300 (_restore_current_selection), (_clean_current_selection),
4301 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4302 Defined new functions in order to save the current internal selector
4303 selection previous open the dialog, in case that the use cancel the
4304 interaction, so the widget restores the previous selection.
4306 Fixes: NB#92032 (In calendar application, date values in 'new event'
4309 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4311 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4313 * src/hildon-button.c: Add a reference to the button examples in
4314 hildon-button-example.c
4316 * examples/hildon-button-example.c: Added examples of the most
4317 common button layouts.
4319 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4321 * src/hildon-app-menu.c (hildon_app_menu_show)
4322 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4324 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4326 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4328 * src/hildon-picker-dialog.c:
4329 (hildon_picker_dialog_init): Initialize the signal id for
4330 HildonTouchSelector::columns-changed.
4331 (+on_selector_columns_changed): Set up the interaction mode everytime a
4332 column is added or removed from the HildonTouchSelector.
4333 (_hildon_picker_dialog_set_selector): Connect to
4334 HildonTouchSelector::columns-changed and keep track of it.
4336 Make sure to update the interaction mode of the dialog everytime a
4337 column is added or removed in the HildonTouchSelector.
4339 Fixes: NB#93228 (Done button is not shown always in listpicker)
4341 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4343 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4344 a new ::columns-changed signal.
4345 (hildon_touch_selector_append_column): Emit ::columns-changed.
4346 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4348 Add a ::columns-changed signal, emitted when the number of columns in a
4349 HildonTouchSelector changes.
4351 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4353 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4354 (_hildon_picker_dialog_set_selector): Factor out the code
4355 to set up the dialog interaction mode.
4357 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4359 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4360 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4361 to signal_changed_id.
4363 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4365 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4368 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4370 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4371 Updated the logical ids related to ampm format, as now it is required to
4372 show it correctly localized even on languages with no default
4373 abbreviations for am or pm
4374 (_check_am_pm_format): check correctly the 24h format gconf property
4376 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4378 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4380 * src/hildon-button.c: Documentation updates.
4382 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4384 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4385 * src/hildon-caption.c: (hildon_caption_class_init):
4386 * src/hildon-color-button.c: (hildon_color_button_class_init):
4387 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4388 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4389 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4390 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4392 Remove deprecated GTK+ marshalers and replace them with the ones
4393 provided by GLib, for those available, add a marshaler for
4394 BOOLEAN:VOID, which is not available in GLib, and use it.
4396 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4398 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4399 the text from the previous column if there is no
4400 HildonTouchSelectorColumn::text-property set.
4402 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4404 * src/hildon-button.h
4405 * src/hildon-button.c (hildon_button_set_property)
4406 (hildon_button_get_property, hildon_button_class_init)
4407 (hildon_button_set_style, hildon_button_get_style):
4408 New "style" property to change the visual appearance of the
4411 * src/hildon-picker-button.c (hildon_picker_button_new):
4412 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4414 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4415 HildonButton look like PickerButton)
4417 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4419 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4420 column while building the default string.
4422 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4424 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4425 scroll indicator by default.
4427 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4429 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4431 * src/hildon-main.c: Fix the documentation for hildon_init()
4433 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4435 * doc/hildon-docs.sgml
4439 * src/hildon-window-stack-private.h
4440 * src/hildon-window-stack.h
4441 * src/hildon-window-stack.c:
4442 New HildonWindowStack object, that adds support for multiple
4443 stacks of windows per process.
4445 * src/hildon-stackable-window-private.h
4446 * src/hildon-stackable-window.h
4447 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4448 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4449 (hildon_stackable_window_show, hildon_stackable_window_hide)
4450 (hildon_stackable_window_class_init)
4451 (hildon_stackable_window_init):
4452 Use HildonWindowStack for stack management.
4454 * src/hildon-program.c (hildon_program_pop_window_stack)
4455 (hildon_program_peek_window_stack)
4456 (hildon_program_go_to_root_window):
4457 Add a fallback implementation to the deprecated functions using
4460 * examples/hildon-stackable-window-example.c:
4461 Use the new HildonWindowStack API.
4463 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4465 * src/hildon-stackable-window-private.h
4466 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4467 (hildon_stackable_window_hide, hildon_stackable_window_init):
4468 Remove all window stack management.
4470 * src/hildon-program-private.h
4471 * src/hildon-program.h
4472 * src/hildon-program.c (hildon_program_init)
4473 (hildon_program_pop_window_stack)
4474 (hildon_program_peek_window_stack)
4475 (hildon_program_go_to_root_window):
4476 Remove all window stack management and mark functions as
4479 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4481 * src/hildon-app-menu.c (hildon_app_menu_realize):
4482 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4484 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4486 * configure.ac: post release version bump
4487 * debian/changelog: version bump
4489 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4494 * configure.ac: bump version
4495 * debian/changelog: updates
4497 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4499 Based on initial code by Christian Dywan (christian@imendio.com)
4501 * doc/hildon-docs.sgml: Add section for hildon-main.
4502 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4503 * src/Makefile.am: Add new hildon-main.[ch]
4504 * src/hildon-defines.h: Update the icon sizes.
4505 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4506 new library initialization files and register icon sizes.
4507 * src/hildon-main.h: New declarations.
4508 * src/hildon.h: Include hildon-main.h
4510 Add new initialization functions to the library. These methods
4511 will register the hildon specific icon sizes and can be used in the
4512 future for other hildon specific bits.
4514 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4516 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4518 * src/hildon-window.c: (hildon_window_realize),
4519 (hildon_window_notify), (-hildon_window_update_title): Do not set
4520 the application name in the window title.
4522 Fixes: NB#89754 (Applications shouldn't display their names in the
4525 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4527 * src/hildon-note-private.h:
4528 * src/hildon-note.c: (hildon_note_set_property),
4529 (hildon_note_get_property), (hildon_note_class_init),
4530 (hildon_note_init), (hildon_note_finalize),
4531 (hildon_note_new_confirmation_with_icon_name),
4532 (hildon_note_new_information_with_icon_name):
4534 No need to mark as deprecated the actual code. Revert
4535 to avoid missing symbols in widgets using deprecated API.
4537 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4539 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4541 * src/hildon-volumebar.h
4542 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4543 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4545 * src/hildon-helper.h
4546 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4547 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4549 * examples/Makefile.am:
4550 Deprecate hildon-insensitive-example
4552 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4554 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4556 * examples/hildon-pannable-area-buttons-scroll-example.c:
4557 Make all buttons finger height
4559 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
4561 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4563 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4564 update the day model only if it is really required, and to avoid the
4565 full-reconstruction aproach. Now it only add or remove the required days.
4567 The purpose of this is avoid superfluous HildonTouchSelector::changed
4570 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4571 with strange parameters)
4573 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
4575 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4577 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4578 the WINDOW_TYPE property.
4580 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4582 2008-11-19 Alberto Garcia <agarcia@igalia.com>
4585 Fix dependency to allow parallel compilation with make -jX
4587 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
4589 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
4590 color frame and some minor tweaks to make it more consistent with
4593 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4594 highlighted but not visible)
4596 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4598 * examples/Makefile.am: Fixed typo in the Makefile.am.
4600 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4602 Reviewed the use of MAEMO_GTK define, now we add the define in the
4603 compilation line, and we also add it to the pc file.
4605 * configure.ac: Added MAEMO_GTK define to the compilation command
4606 and removed it from the config.h.
4608 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
4609 do not have to take care about this define if the library was
4613 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
4615 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4617 * examples/Makefile.am,
4618 * examples/hildon-pannable-area-buttons-scroll-example.c,
4619 * examples/hildon-pannable-area-gesture-signals-example.c,
4620 * examples/hildon-pannable-area-scroll-jump-example.c,
4621 * examples/hildon-pannable-area-tree-view-example.c:
4622 Renamed the pannable area examples, now they have more meaningful
4625 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
4627 * src/hildon-touch-selector.c:
4628 (hildon_touch_selector_set_column_selection_mode): Used of
4629 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
4630 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
4631 to avoid re-seting the same selection mode.
4633 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
4634 breaks HildonPickerDialog)
4636 2008-11-13 Alejandro G. Castro <alex@igalia.com>
4638 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
4639 conditional in the Makefile.am
4641 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
4643 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
4644 Remove unused methods.
4646 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4648 * src/hildon-button.c (hildon_button_init):
4649 Make button images center-aligned by default
4651 2008-11-12 Alejandro G. Castro <alex@igalia.com>
4654 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
4655 activated, we have to think about how to deal with both defines
4656 MAEMO_GTK and MAEMO_CHANGES.
4658 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4660 * examples/hildon-app-menu-example.c (create_menu): Make all
4661 buttons finger size.
4663 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4665 Fixed the compilation without maemo gtk adding ifdefs with
4666 MAEMO_GTK define to the code, we have to check this version more
4669 * examples/Makefile.am: Added control to avoid some examples that
4670 just make sense with maemo gtk.
4673 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
4674 hildon modes with the define.
4676 * examples/hildon-edit-toolbar-example.c,
4677 (create_icon_view): Create the icon view without hildon-gtk
4678 helpers if we are not using maemo gtk.
4680 * src/hildon-touch-selector.c,
4681 (_create_new_column): Create the treeview without hildon-gtk
4682 helpers if we are not using maemo gtk.
4684 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4686 * src/hildon-pnnable-area.c,
4687 (hildon_pannable_area_dispose),
4688 (hildon_pannable_area_button_press_cb),
4689 (hildon_pannable_area_child_mapped),
4690 (hildon_pannable_area_add),
4691 (hildon_pannable_area_remove): Added code to control the position
4692 of the event_window when adding and removing children from the
4693 pannable. We have to raise the event window when the child is
4696 Fixes: NB#89811 (Not able to select first image thumbnail in multi
4697 selection mode using custom widget inside pannable)
4699 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4701 * configure.ac: post release version bump
4702 * debian/changelog: version bump
4704 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4709 * configure.ac: bump version
4710 * debian/changelog: updates
4712 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
4714 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
4715 search mode, in order to avoid lose the focus on the treeview when
4716 a hw key (like enter) is pressed.
4718 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
4719 in HildonDateSelector dialog)
4721 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
4723 * debian/rules: Added --enable-maintainer-mode
4724 * Makefile.am: Added ACLOCAL_AMFLAGS
4726 This allows to properly regenerate the Makefiles if you modify the
4727 configure.ac or any Makefile.am.
4729 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4731 * examples/hildon-app-menu-example.c: (main): Do not set RC style
4732 properties, not needed at all.
4734 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4736 * src/hildon-note-private.h: Add strings for the icon and stock_icon
4738 * src/hildon-note.c: (hildon_note_set_property),
4739 (hildon_note_get_property), (hildon_note_class_init),
4740 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
4741 (hildon_note_new_confirmation_add_buttons): Remove icons.
4742 (hildon_note_new_confirmation_with_icon_name): Deprecate.
4743 (hildon_note_new_information_with_icon_name): Deprecate.
4744 (hildon_note_new_confirmation): Act directly, without calling
4745 the deprecated constructor.
4746 (hildon_note_new_information): Act directly, without calling
4747 the deprecated constructor.
4748 * src/hildon-note.h: Mark deprecate methods as such.
4749 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
4750 not run tests on the deprecated methods if built with deprecation
4753 Fixes: NB#91688 (Never show icons in information notes/confirmation
4756 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4758 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
4759 (hildon_app_menu_key_press): Remove leftover usage of the
4760 private structure in HildonAppMenu struct.
4761 * src/hildon-app-menu.h: Remove leftover private structure
4762 from the HildonAppMenu struct.
4764 Fixes a crasher when using the HildonAppMenu.
4766 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4768 * src/hildon-picker-dialog.c: Use appropriate logical id
4769 for the default "Done" text.
4771 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4773 * configure.ac: post release version bump
4774 * debian/changelog: version bump
4776 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
4778 Modified the way to scroll to the current selection just when the touch
4779 selector is shown on the screen, avoiding a g_idle. Added too a property
4780 to configure this behaviour. See hildon_pannable_area_jump_to_child
4781 documentation for more information.
4783 * src/hildon-touch-selector.c
4784 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
4785 Added 'initial-scroll' property
4786 (hildon_touch_selector_set_property): Added
4787 (hildon_touch_selector_map): Removed as not required anymore
4788 (_hildon_touch_selector_on_selected_items): Modified in order to manage
4789 only a concrete column, instead of iterate along all the columns
4791 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4796 * configure.ac: bump version
4797 * debian/changelog: updates
4799 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4801 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
4802 compilation time warnings.
4804 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4806 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4807 the default value for HildonPannableArea::mov-mode to
4808 HILDON_PANNABLE_AREA_MODE_VERT.
4810 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
4812 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4814 Reverting following commit:
4816 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4818 * src/hildon-app-menu-private.h
4819 * src/hildon-app-menu.[ch]
4820 * src/hildon-button.[ch]
4821 * src/hildon-check-button.[ch]
4822 * src/hildon-entry.[ch]
4823 * src/hildon-pannable-area.[ch]
4824 * src/hildon-text-view.[ch]:
4825 Added private field to the object's structure.
4827 because it causes an ABI breakage. We will need to introduce these
4828 changes later at some point. See NB#91636 for an extensive
4829 explanation and status.
4831 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4833 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4835 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4836 remove special cases that are no longer necessary.
4838 Fixes: NB#91016 (Change toolbar sizes, simplification)
4840 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4842 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4843 is shown in the cancel note.
4845 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4847 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
4848 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
4849 (hildon_seekbar_init): Remove steppers, remove expose event.
4850 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
4852 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
4854 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
4856 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
4857 label font to "SmallSystemFont" for vertically arranged buttons.
4859 Fixes: NB#90662 (HildonButton "value" and "detail" text is
4862 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4864 * src/hildon-check-button.c
4865 (hildon_check_button_set_active, hildon_check_button_clicked):
4866 Don't access private parts directly, use getters instead.
4868 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4870 * src/hildon-check-button.c (hildon_check_button_new):
4871 Align the contents of the check button to the left.
4873 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4875 * src/hildon-pannable-area.c,
4876 (hildon_pannable_area_scroll_to),
4877 (hildon_pannable_area_jump_to),
4878 (hildon_pannable_area_scroll_to_child),
4879 (hildon_pannable_area_jump_to_child): Replace the mapped
4880 precondition of these functions with the realized, it is the
4881 correct state of the widget in this case. Changed the
4882 documentation according to this modification.
4884 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4886 Added a new EXTRA_CFLAGS option to add the deprecated define to
4887 the compilation command. This way we can avoid using the define in
4888 the documentation compilation.
4890 * configure.ac: Defined EXTRA_CFLAGS.
4892 * examples/Makefile.am:
4894 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
4896 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
4898 * src/hildon-picker-dialog.c:
4899 Defined a utility macro with the desired touch selector height
4900 Removed currently unused separator, and title_label variables from
4902 (hildon_picker_dialog_init): Removed code related to the creation
4903 of unused private variables title_label and separator.
4904 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
4905 to ensure correct visualization of the touch selector inside the dialog.
4906 * src/hildon-touch-selector.c
4907 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
4908 ensure a concrete height of the widget.
4910 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4913 * tests/Makefile.am:
4915 Remove spurious whitespaces.
4917 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4919 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
4920 compilation warning after the cancel button removal.
4922 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4924 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
4926 * configure.ac: Added an AM_CONDITIONAL in order to use in the
4927 Makefile.am, that way we can choose not to compile some examples
4928 and tests of the deprecated widgets.
4930 * examples/Makefile.am: Divided the sources in deprecated and
4933 * src/Makefile.am: Added undef statement of the deprecated
4934 symbol to the enums file generation process.
4936 * src/hildon-color-chooser-dialog.c
4937 * src/hildon-color-chooser-dialog.h
4938 * src/hildon-color-button.c
4939 * src/hildon-color-button.h
4940 * src/hildon-color-chooser.c
4941 * src/hildon-color-chooser.h
4942 * src/hildon-controlbar.c
4943 * src/hildon-controlbar.h
4944 * src/hildon-date-editor.c
4945 * src/hildon-date-editor.h
4946 * src/hildon-hvolumebar.c
4947 * src/hildon-hvolumebar.h
4948 * src/hildon-private.c
4949 * src/hildon-private.h
4950 * src/hildon-range-editor.c
4951 * src/hildon-range-editor.h
4952 * src/hildon-seekbar.c
4953 * src/hildon-seekbar.h
4954 * src/hildon-time-editor.c
4955 * src/hildon-time-editor.h
4956 * src/hildon-time-picker.c
4957 * src/hildon-time-picker.h
4958 * src/hildon-volumebar.c
4959 * src/hildon-volumebar.h
4960 * src/hildon-vvolumebar.c
4961 * src/hildon-vvolumebar.h
4962 * src/hildon-bread-crumb-trail.h
4963 * src/hildon-bread-crumb-trail.c
4964 * src/hildon-calendar-popup.c
4965 * src/hildon-calendar-popup.h
4966 * src/hildon-weekday-picker.c:
4967 * src/hildon-weekday-picker.h:
4968 * src/hildon-bread-crumb-widget.c:
4969 * src/hildon-bread-crumb-widget.h:
4970 * src/hildon-bread-crumb.c:
4971 * src/hildon-bread-crumb.h:
4972 * src/hildon-calendar.c:
4973 * src/hildon-calendar.h:
4974 * src/hildon-caption.c:
4975 * src/hildon-code-dialog.c:
4976 * src/hildon-code-dialog.h:
4977 * src/hildon-font-selection-dialog.c:
4978 * src/hildon-font-selection-dialog.h:
4979 * src/hildon-get-password-dialog.c:
4980 * src/hildon-get-password-dialog.h:
4981 * src/hildon-login-dialog.c:
4982 * src/hildon-login-dialog.h:
4983 * src/hildon-number-editor.c:
4984 * src/hildon-number-editor.h:
4985 * src/hildon-set-password-dialog.c:
4986 * src/hildon-set-password-dialog.h:
4987 * src/hildon-sort-dialog.c:
4988 * src/hildon-sort-dialog.h: This is the list of deprecated
4991 * src/hildon-touch-selector.c:
4992 * src/hildon-window.c: Added undef statement to avoid compilation
4995 * tests/Makefile.am: Divided the sources in deprecated and
4998 * tests/check_test.c,
4999 (configure_tests): Marked the deprecated code that was adding
5000 suites with deprecated tests.
5002 Fixes: NB#91135 (Deprecate legacy hildon widgets)
5004 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5006 * src/hildon-touch-selector.c: (_default_print_func): Do not
5007 duplicate a string returned by gtk_tree_model_get(), it is already
5010 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5013 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5015 * src/hildon-pannable-area.c
5016 (hildon_pannable_area_add_with_viewport): Reviewed the complete
5017 method, it had problems when adding a widget with viewport the
5018 second time. Now checks if it already has a viewport and uses it.
5020 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5023 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5025 * src/hildon-pannable-area.c,
5026 (hildon_pannable_area_scroll_to),
5027 (hildon_pannable_area_jump_to),
5028 (hildon_pannable_area_scroll_to_child),
5029 (hildon_pannable_area_jump_to_child): Added a precondition to the
5030 scroll and jump to functions: the widget must be mapped before we
5031 can safely call these functions. We have also added documentation
5032 to the functions to explain how to use them in this situation.
5035 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5037 Reviewed the threading handling of the pannable widget, we have
5038 used the gdk_threads_add_timeout function instead of the usual
5039 glib handlers. This avoids some problems with the threads.
5041 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5042 (hildon_pannable_area_initial_effect),
5043 (hildon_pannable_area_scroll_indicator_fade),
5044 (hildon_pannable_area_button_press_cb),
5045 (hildon_pannable_area_timeout),
5046 (hildon_pannable_area_motion_notify_cb),
5047 (hildon_pannable_area_button_release_cb),
5048 (hildon_pannable_area_scroll_cb),
5049 (hildon_pannable_area_scroll_to): Removed the
5050 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5051 gdk_threads_add_timeout.
5053 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5055 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5060 * configure.ac: bump version
5061 * debian/changelog: updates
5063 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5065 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5066 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5067 * src/hildon-color-chooser-dialog.c:
5068 (hildon_color_chooser_dialog_init):
5069 * src/hildon-font-selection-dialog.c:
5070 (hildon_font_selection_dialog_init):
5071 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5073 Remove all cancel/close-like dialogs, as these are not going to be
5076 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5078 * src/hildon-note.c: (hildon_note_rebuild),
5079 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5082 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5084 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5086 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5087 sure all buttons are shown, even the Cancel/Close-like ones.
5089 Fixes: NB#90861 (Custom Confirmation dialogs should be
5090 protected from cancel button removal)
5092 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5094 * debian/control: Change libhildon1-examples dependency from libhildon1
5096 * debian/libhildon1-examples.install
5098 * Makefile.am: Modified the final install directory for the examples on
5099 package libhildon1-examples
5100 * Makefile.static: Update clean target in order to remove all the binary
5103 Changes suggested by Claudio after review new libhildon1-examples package
5105 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5107 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5108 * src/hildon-touch-selector.c: Ditto.
5110 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5112 * debian/control: Added new package libhildon1-examples, in order to pack
5113 the current hildon examples as documentation
5114 * debian/rules: Not to compress .c files, modify some includes on the
5115 examples (as normally are compiled locally, but when installed it will
5116 require to include the installed libhildon1 library), and rename
5118 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5119 install all the example files on the new example package
5120 * examples/Makefile.static: Added static makefile that can be used to
5121 compile the examples, once installed the new example package
5122 * examples: Most of the examples were modified in order to grant that
5123 all use only '#include "hildon.h"', in order to be easy to prepare
5124 it on the example package
5126 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5129 * debian/libhildon1-dev.install
5130 * debian/libhildon1-doc.install:
5131 Move all gtk-doc files to a separate libhildon1-doc package.
5133 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5135 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5137 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5139 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5141 * debian/rules: Fixed a error in order to avoid unnecessary calls
5142 to autogen.sh on package building
5144 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5146 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5148 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5150 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5153 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5155 * src/hildon-picker-button.c
5156 (hildon_picker_button_finalize):
5157 Free priv->done_button_text
5159 * src/hildon-time-button.c
5160 (hildon_time_button_set_time)
5161 * src/hildon-picker-button.c
5162 (hildon_picker_button_clicked)
5163 (hildon_picker_button_selector_selection_changed)
5164 (hildon_picker_button_set_selector)
5165 * src/hildon-date-button.c
5166 (hildon_date_button_set_date):
5167 Free strings returned by hildon_touch_selector_get_current_text()
5169 * src/hildon-button.c (hildon_button_construct_child):
5170 Fix leaks in priv->image and priv->label_box
5172 Fixes: NB#90535 (Memory leak in picker button)
5174 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5176 * src/hildon-button.c: (hildon_button_get_property): Do not access
5177 private elements directly, use getters instead.
5179 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5181 * src/hildon-app-menu-private.h
5182 * src/hildon-app-menu.c
5183 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5184 Store the menu's parent window.
5186 * src/hildon-stackable-window.c
5187 (hildon_stackable_window_toggle_menu)
5188 (hildon_stackable_window_finalize):
5189 Set the menu's parent window when the menu is shown, unset it when
5192 * src/hildon-app-menu.c
5193 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5194 (hildon_app_menu_class_init):
5195 Send unhandled keyboard accelerators to the parent window.
5197 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5199 * src/hildon-stackable-window.c
5200 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5202 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5204 * configure.ac: post release version bump
5206 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5209 * configure.ac: Bump version
5210 * debian/changelog: Updates
5211 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5214 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5216 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5219 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5220 GtkMenu with Hildon style.
5222 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5224 * src/hildon-picker-button.c:
5225 (hildon_picker_button_set_done_button_text): Set the dialog's
5226 done button text here as well.
5228 Fixes: NB#90232 (Picker button does not set the label on done button
5229 for the second time)
5231 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5233 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5236 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5238 * src/hildon-app-menu.c (hildon_app_menu_insert)
5239 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5240 the HildonAppMenu to be activatable using keyboard accelerators
5241 when the menu is not being shown.
5243 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5245 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5247 * src/hildon-stackable-window.c
5248 (hildon_stackable_window_show):
5249 Don't hide old windows automatically when new windows are shown:
5250 this is now a task for the window manager.
5251 (hildon_stackable_window_class_init)
5252 (hildon_stackable_window_hide):
5253 Remove windows from the stack everytime they're hidden.
5254 (hildon_stackable_window_realize):
5255 Don't change the _NET_WM_WINDOW_TYPE property. Use
5256 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5257 it as a stackable window.
5259 * src/hildon-program.c
5260 (hildon_program_pop_window_stack):
5261 Just hide the window to remove it from the stack.
5262 (hildon_program_go_to_root_window):
5263 Don't call gtk_widget_show(), this is now a task for the window
5266 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5268 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5270 * src/hildon-button.c
5271 (hildon_button_construct_child):
5272 Don't pack anything in the button until text or image are
5273 set. This allows adding a custom child after creating the button
5274 with hildon_button_new().
5275 (hildon_button_finalize, hildon_button_class_init)
5276 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5277 alignment and the label box even when they're not packed in the
5280 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5282 * src/hildon-touch-selector.h:
5283 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5284 currently the type definition was using GTK_TYPE_VBOX
5285 * src/hildon-touch-selector.c:
5286 Added some implementation notes in order to clarify that any other widget
5287 added without the column related API will not be included on the
5288 selection logic, and how the widget is freed, as some people ask about
5290 (hildon_touch_selector_remove): Reimplemented in order to free properly
5291 the column related data when you remove the private hbox.
5292 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5293 to get a proper HildonTouchSelectorColumn documentation
5295 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5297 * src/hildon-touch-selector-entry.c:
5298 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5299 text in the GtkEntry and there is no item selected. Fixes a
5302 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5304 * src/hildon-app-menu-private.h
5305 * src/hildon-app-menu.[ch]
5306 * src/hildon-button.[ch]
5307 * src/hildon-check-button.[ch]
5308 * src/hildon-entry.[ch]
5309 * src/hildon-pannable-area.[ch]
5310 * src/hildon-text-view.[ch]:
5311 Added private field to the object's structure.
5313 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5315 * configure.ac: post-release version bump
5317 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5321 * configure.ac: pre-release version bump
5323 * debian/changelog: updates.
5325 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5327 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5328 Disconnect the handler for HildonTouchSelector::changed.
5330 (hildon_picker_button_selector_selection_changed): Update the button
5331 value if the selection change was not triggered by the
5334 (hildon_picker_button_set_selector): connect to
5335 HildonTouchSelector::changed.
5337 Fixes: NB#89650 (Picker button is not updated, when selection in
5338 selector has changed)
5340 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5342 * src/hildon-picker-dialog.c
5343 (hildon_picker_dialog_realize): Removed as not required
5344 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5345 * src/hildon-picker-button.c
5346 (_current_selector_empty): New function, checks if the selector is empty
5347 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5348 if the current selector is empty, in order to avoid to show the dialog
5349 close the dialog in this case (and shows a g_warning).
5351 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5353 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5355 * src/hildon-pannable-area.c,
5356 (hildon_pannable_area_scroll): Added clause to stop movement when
5357 the child of pannable is smaller than one page.
5358 (hildon_pannable_area_scroll_to): Added conditions to avoid
5359 starting the scrolling movement if the child is smaller than one
5360 page, the complete child is in the screen, we do not have to move.
5362 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5364 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5366 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5367 this is managed automatically by the widget when the size of the
5370 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5372 * src/hildon-picker-button.c
5373 (hildon_picker_button_set_done_button_text): Make a copy of the
5374 text, and free the previous value.
5376 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5378 * src/hildon-touch-selector-entry.c:
5379 (hildon_touch_selector_entry_print_func): Return the selected row's
5380 text if the entry is empty.
5382 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5385 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5387 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5389 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5392 * src/hildon-check-button.h
5393 * src/hildon-check-button.c
5394 * examples/hildon-check-button-example.c:
5395 HildonCheckButton is now a new widget. 'toggled' signal added.
5397 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5399 * src/hildon-program-private.h
5400 * src/hildon-program.c (hildon_program_init)
5401 (hildon_program_finalize): Removed unused variables group_leader
5402 and name from HildonProgramPrivate.
5404 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5406 * src/hildon-check-button.c (hildon_check_button_set_active)
5407 (hildon_check_button_get_active, hildon_check_button_new): Use
5408 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5410 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5412 * src/hildon-touch-selector.h
5413 (hildon_touch_selector_set_column_attributes): added deprecation
5414 guard HILDON_DISABLE_DEPRECATED
5415 * src/hildon-time-selector.c
5416 (hildon_time_selector_set_time)
5417 (hildon_time_selector_get_time): Fixed a typo on documentation
5418 * src/hildon-touch-selector.c: update HildonTouchSelector and
5419 HildonTouchSelectorColumn documentation
5420 * src/hildon-touch-selector-entry.c: update "text-column" property
5422 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5423 to be added to the general documentation.
5425 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5427 * examples/hildon-pannable-area-example-4.c,
5429 * examples/hildon-pannable-area-example.c,
5430 (main): Modified the code in order to use the container add, with
5431 viewport treeviews could have problems if they are really big.
5433 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5435 * src/hildon-weekday-picker.c,
5436 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5437 the agreement regarding deprecation in the library.
5439 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5441 * examples/hildon-picker-button-multicolumn-example.c:
5442 (main): Use custom "done" button text.
5444 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5445 (hildon_picker_button_set_property),
5446 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5447 (hildon_picker_button_init),
5448 (+hildon_picker_button_get_done_button_text),
5449 (+hildon_picker_button_set_done_button_text): New methods to customize
5450 the "done" button label in the launched HildonPickerDialog. Also,
5453 * src/hildon-picker-button.h: add the public API.
5455 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5457 * src/hildon-date-selector.h:
5458 * src/hildon-picker-dialog.h:
5459 * src/hildon-time-selector.h:
5460 * src/hildon-touch-selector-column.h:
5461 * src/hildon-touch-selector.h:
5463 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5464 declarations. Fixes gtk-doc warnings.
5466 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5468 * src/hildon-picker-dialog.h
5469 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5470 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5472 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5473 long text is set as label for done button)
5475 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5477 * src/hildon-dialog.c (hildon_dialog_add_button):
5478 Set fixed width to all buttons in the HildonDialog.
5480 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5482 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5484 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5485 Set widget name using class name plus "-finger" or "-thumb".
5487 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5489 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5490 'clicked' when the state of the button is manually changed.
5492 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5494 * src/hildon-app-menu.c (hildon_app_menu_realize)
5495 (hildon_app_menu_unrealize, hildon_app_menu_init)
5496 (hildon_app_menu_class_init, item_visibility_changed):
5497 Change the menu layout when the size of the screen changes.
5498 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5499 Show warning only when changing the number of colums using the
5502 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5504 * debian/compat: Set to 5
5505 * debian/control: Update dependencies.
5506 * debian/libhildon1-dbg.install: Remove.
5507 * debian/libhildon1-dev.install: Update according to cdbs paths.
5508 * debian/libhildon1.install: Update according to cdbs paths.
5509 * debian/rules: Switch to cdbs.
5511 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5513 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5514 'item' variable renamed to 'filter'
5516 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5518 * src/hildon-app-menu.c (hildon_app_menu_insert)
5519 (hildon_app_menu_add_filter, remove_item_from_list)
5520 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5521 Don't leak hidden items when the menu is destroyed.
5523 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5525 * src/hildon-app-menu.c (hildon_app_menu_insert)
5526 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5527 (hildon_app_menu_set_columns, item_visibility_changed)
5528 (filter_visibility_changed, hildon_app_menu_repack_filters)
5529 (hildon_app_menu_repack_items):
5530 Repack items and filters separately.
5532 Don't repack all items, change only the ones that are needed to
5535 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5537 * src/Makefile.am: added hildon-touch-selector-column.h
5539 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5541 * src/hildon-touch-selector.c: added the property "text-column" to the
5542 class HildonTouchSelectorColumn, and related get/set functions
5543 (_default_printf_func): updated to use "text-column" property
5544 * src/hildon-touch-selector-entry.c: mark as deprecated the property
5545 "text-column" in his documentation, as this is now included on
5546 HildonTouchSelectorColumn. The get/set_property can still be used,
5547 working as a wrapper to the concrete column "text-column" property
5548 (_text_column_modified): callback added in order to handle the signal
5549 "notify::text-column" of the concrete HildonTouchSelectorColumn
5550 (hildon_touch_selector_entry_get_text_column)
5551 (hildon_touch_selector_entry_set_text_column): Added documentation, and
5552 modified in order to use the HildonTouchSelectorColumn "text-column"
5554 * src/hildon-time-selector.c:
5555 * src/hildon-date-selector.c:
5556 * examples/hildon-touch-selector-example.c
5557 * examples/hildon-touch-selector-multi-cells-example.c
5558 * examples/hildon-picker-button-multicolumn-example.c
5559 Set the right value to "text-column" property on the creation of a new
5560 column using hildon_touch_selector_append_column()
5562 Fixes: NB#88644 (Hardcoded first column of the model as text column)
5564 2008-09-30 Alberto Garcia <agarcia@igalia.com>
5566 * src/hildon-app-menu.c
5567 (hildon_app_menu_construct_child, hildon_app_menu_init): When
5568 updating the layout of the menu, don't create all widgets again,
5569 just repack the items in their new places.
5571 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
5573 * src/hildon-time-selector.c
5574 (hildon_time_selector_get_time)
5575 (hildon_time_selector_set_time)
5576 Added documentation of these public methods
5578 * src/hildon-date-button.h
5579 * src/hildon-touch-selector-column.h
5580 * src/hildon-time-button.h
5581 * src/hildon-picker-dialog.h
5582 * src/hildon-time-selector.h
5583 * src/hildon-picker-button.h
5584 * src/hildon-touch-selector.h
5585 * src/hildon-time-picker.h
5586 * src/hildon-date-selector.h
5587 * src/hildon-touch-selector-entry.h
5588 Modified in order to use hildon-widgets code style
5590 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5592 Added deprecated support to the compilation process using
5593 HILDON_DISABLE_DEPRECATED
5595 * configure.ac: Added the --disable-deprecated to the configure
5598 * src/hildon-weekday-picker.c:
5599 * src/hildon-weekday-picker.h: Deprecated widget, example of how
5600 to use the deprecated support. We will update the other deprecated
5601 widgets status in a new patch.
5603 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5605 * configure.ac: Fixed typo with fatal warnings support, the
5606 variable name was not correct
5608 2008-09-29 Alberto Garcia <agarcia@igalia.com>
5610 * src/hildon-app-menu.c
5611 * src/hildon-program.c: Update documentation.
5613 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5615 * configure.ac: Post-release version bump.
5617 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5622 * configure.ac: Pre-release version bump.
5623 * debian/changelog: Updates.
5625 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5627 * NEWS: Update news for previous releases.
5629 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5631 * examples/hildon-touch-selector-multi-cells-example.c:
5632 (create_selector): Update the example to use
5633 hildon_touch_selector_append_column() with a NULL renderer and set
5634 the renderers later.
5635 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
5636 passed a NULL renderer. This is documented behavior now.
5638 Allow passing a NULL renderer to hildon_touch_selector_append_column().
5639 This must be used if the developer wants full control on the layout of
5640 the renderers to be added to the column.
5642 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5644 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5646 * src/hildon-touch-selector.c: Documentation fixes.
5648 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5650 * src/hildon-wizard-dialog-private.h: Remove image and box.
5651 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
5652 (hildon_wizard_dialog_set_property), (response): Completely remove
5653 image/icon support, and the containers required for the layout.
5655 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
5657 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5659 * src/hildon-app-menu.c: Updated documentation.
5661 * src/hildon-stackable-window.c
5662 (hildon_stackable_window_set_main_menu): Unref the old menu after
5663 ref'ing the new one.
5665 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5667 * src/hildon-stackable-window.c
5668 (hildon_stackable_window_set_main_menu): Unref the previous menu
5669 instead of destroying it.
5671 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
5672 floating reference and set has_user_ref_count to FALSE to make
5673 HildonAppMenu act like a normal ref-counted widget and not a
5676 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
5679 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
5681 * src/hildon-touch-selector-column.h: new file
5682 * src/hildon-touch-selector.h
5683 * src/hildon-touch-selector.c
5684 Implemented GtkCellLayout interface, in order to allow to configure
5685 the cell layout on each individual selector column
5686 (hildon_touch_selector_set_column_attributes): marked as deprecated
5687 * examples/hildon-touch-selector-multi-cells-example.c
5688 Example of how to use the GtkCellLayout interface on the selector
5690 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5692 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5694 * src/hildon-app-menu.h
5695 * src/hildon-app-menu.c
5696 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
5697 (hildon_app_menu_append, hildon_app_menu_prepend):
5698 New methods to prepend, insert and move items in the menu.
5700 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5702 * src/hildon-wizard-dialog.c:
5704 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
5706 (create_title): Update logical IDs and related code.
5707 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
5709 * src/hildon-wizard-dialog.h: Note that
5710 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
5711 point, as it is not used anymore.
5713 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
5715 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5717 * src/hildon-note.c:
5718 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
5719 shown. Do not display an icon in confirmation notes nor information
5721 (hildon_note_set_button_text): Update logical ID for cancel button.
5723 Fixes: NB#88850 (Update HildonNote button strings + signals)
5725 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5727 * src/hildon-stackable-window.c
5728 (hildon_stackable_window_set_main_menu): Fix compilation warning.
5730 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5732 * src/hildon-app-menu-private.h
5733 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
5734 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
5735 (hildon_app_menu_init, hildon_app_menu_class_init): Added
5736 temporary property 'columns' to change the number of columns.
5738 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5740 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
5742 * examples/hildon-note-example.c: (on_information_clicked),
5743 (on_confirmation_clicked), (on_progress_clicked), (main): Add
5744 debugging information.
5745 * src/hildon-note-private.h: Remove close_if_pressed_outside,
5747 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
5748 (hildon_note_rebuild): Remove special handling of tapping outside/inside
5749 in order to close: this will be handled by the WM from now on.
5751 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
5753 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5755 * src/hildon-app-menu-private.h
5756 * src/hildon-app-menu.c
5757 (hildon_app_menu_append, hildon_app_menu_add_filter)
5758 (button_visibility_changed, hildon_app_menu_apply_style)
5759 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
5760 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
5761 layout everytime a button (item or filter) is shown or hidden.
5763 * src/hildon-stackable-window.c
5764 (hildon_stackable_window_set_main_menu): Destroy the old menu when
5767 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
5769 * src/hildon-touch-selector.c:
5770 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
5771 that the treeview inside the touch selector is in fremantle hildon mode
5772 * examples/hildon-date-button-example.c
5773 * examples/hildon-picker-button-multicolumn-example.c
5774 * examples/hildon-touch-selector-entry-example.c
5775 * examples/hildon-touch-selector-example.c
5776 * examples/hildon-time-button-example.c
5777 * examples/hildon-picker-button-example.c:
5778 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
5780 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
5782 * examples/hildon-text-view-example.c: (main): Remove the
5783 gtkrc bits, now handled by the theme.
5785 2008-09-22 Alberto Garcia <agarcia@igalia.com>
5787 * src/hildon-picker-button.c (hildon_picker_button_set_active):
5790 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5792 * po/Makefile.am: Install properly the mo files.
5793 * po/en_GB.po: Update translation, to ease testing purposes.
5795 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5797 * examples/hildon-picker-button-example.c: (main): Select an item
5798 in the selector before setting it to the button.
5800 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5802 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
5803 Update button's value if the selector has an item active.
5805 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
5806 'value' with the selector)
5808 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5810 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
5811 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
5812 (hildon_picker_button_class_init): Plug the finalize method.
5813 (hildon_picker_button_set_selector): If there's a previously set
5814 selector, unref'it before setting a new one.
5816 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
5817 HildonTouchSelector)
5819 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
5821 * src/hildon-touch-selector-entry.c:
5822 (hildon_touch_selector_entry_changed): Check if there is no text
5823 selected before setting the entry text.
5826 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5828 * src/hildon-touch-selector.h
5829 * src/hildon-touch-selector.c
5830 (hildon_touch_selector_get_active)
5831 (hildon_touch_selector_set_active): New methods to set/get the
5832 index of the selected item.
5834 * src/hildon-picker-button.h
5835 * src/hildon-picker-button.c
5836 (hildon_picker_button_get_active)
5837 (hildon_picker_button_set_active): New methods to set/get the
5838 index of the selected item.
5840 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5842 * configure.ac: post-release version bump.
5844 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5848 * configure.ac: Pre-release version bump.
5849 * debian/changelog: Updates.
5850 * debian/control: Add myself as maintainer and depend on l10n
5853 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5855 * src/hildon-window.c
5856 (hildon_window_set_main_menu)
5857 * src/hildon-stackable-window.c
5858 (hildon_stackable_window_set_main_menu):
5859 Updated documentation.
5861 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5863 * src/hildon-date-selector.c (hildon_date_selector_finalize):
5864 Don't free selector->priv manually.
5867 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5870 (hildon_gtk_window_set_progress_indicator):
5871 * src/hildon-gtk.h: Added the new API
5872 hildon_gtk_window_set_progress_indicator, it changes the state of
5873 the window progress hint.
5875 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5877 * src/hildon-button.c
5878 * src/hildon-stackable-window.c: Minor documentation updates.
5880 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5882 * src/hildon-stackable-window.c: Updated documentation.
5884 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
5886 * src/hildon-defines.h: Update margins definitions
5887 to the Fremantle sizes.
5890 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5892 * src/hildon-touch-selector.c,
5893 (_hildon_touch_selector_set_model): Cleaning the code after
5894 review, removed g_print and #if 0 from the code.
5896 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5898 * src/hildon-edit-toolbar.c: Update documentation.
5900 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5902 * src/hildon-check-button.h
5903 * src/hildon-check-button.c
5904 (hildon_check_button_set_label, hildon_check_button_get_label)
5905 * examples/hildon-check-button-example.c
5906 (button_clicked_cb):
5907 Removed deprecated methods.
5909 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5911 * src/hildon-text-view.c:
5912 Add sample code to the documentation.
5914 * src/hildon-entry.h
5915 * src/hildon-text-view.h:
5916 Minor cosmetic changes.
5918 * src/hildon-entry.c:
5919 Add sample code to the documentation.
5920 (hildon_entry_init, hildon_entry_refresh_contents):
5921 Don't allow NULL values in the placeholder.
5923 2008-09-10 Alberto Garcia <agarcia@igalia.com>
5925 * doc/hildon-docs.sgml
5927 * examples/Makefile.am
5928 * examples/hildon-text-view-example.c
5930 * src/hildon-text-view.c
5931 * src/hildon-text-view.h
5933 New HildonTextView widget, with example.
5935 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5937 * po/POTFILES.in: Add missing files with translatable strings.
5938 Partially fixes NB#88287.
5940 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5942 * examples/hildon-pannable-area-example-2.c: (main): No need to
5943 set the cellrenderer height inside hildon touch lists, the theme does
5946 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5948 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
5949 they are integrated in the theme.
5951 2008-09-09 Alberto Garcia <agarcia@igalia.com>
5953 * examples/hildon-entry-example.c: Update the example adding
5954 widgets to modify the text and the placeholder of the HildonEntry.
5956 * src/hildon-entry.c: Show the placeholder everytime the widget
5957 is empty and loses the focus.
5959 2008-09-09 Alejandro G. Castro <alex@igalia.com>
5961 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
5963 * src/hildon-pannable-area.c,
5964 (hildon_pannable_area_size_request): Fixed bug in height
5965 requisition, avoid increasing size and add border twice.
5967 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5969 * configure.ac: postrelease version bump.
5971 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5975 * configure.ac: Prerelease version bump.
5976 * debian/changelog: update.
5977 * debian/rules: make -dbg package contain useful debugging symbols.
5979 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5981 * src/hildon-dialog.h
5982 * src/hildon-dialog.c
5983 (hildon_dialog_add_button, hildon_dialog_add_buttons):
5984 New methods to add buttons with finger size.
5985 (hildon_dialog_new_with_buttons):
5986 Create buttons with finger size.
5988 * examples/hildon-dialog-example.c (main): Use HildonDialog
5989 methods to add buttons.
5991 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5993 * src/hildon-entry.c: Updated HildonButton documentation.
5995 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5997 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
5998 button value label with (FALSE, FALSE) to prevent NB#88126 from
6001 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6003 * examples/hildon-pannable-area-example.c,
6004 (main): Removed examples panning a vbox inside a pannable
6005 area. Check bug NB#87965
6007 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6009 Patch contributed by Kris Rietveld (kris@imendio.com)
6011 * src/hildon-pannable-area.c,
6012 (hildon_pannable_area_get_topmost): replaced the get_geometry with
6013 get_size and get_position, this saves an X server roundtrip.
6015 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6017 * doc/hildon-docs.sgml
6019 * examples/Makefile.am
6020 * examples/hildon-entry-example.c
6022 * src/hildon-entry.c
6023 * src/hildon-entry.h
6025 New HildonEntry widget, with example.
6027 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6029 * src/hildon-button.c (hildon_button_construct_child): Pack the
6030 image with expand == fill == FALSE. This is a workaround for a bug
6033 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
6035 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6036 labels for the text column, to make it more look more dynamic.
6038 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6040 * src/hildon-time-selector.c
6041 Define gettext auxiliar macro N_
6042 (_create_minutes_model)
6043 (_create_hours_model)
6044 (_create_ampm_model): use of strftime in order to fill the model
6045 * src/hildon-date-selector.c
6046 (hildon_date_selector_finalize):
6047 (_locales_init): remove the logic related to get the name of the months
6048 using nl_langinfo, as it is not required anymore
6050 (_create_year_model)
6051 (_create_month_model)
6052 (_update_day_model): use of strftime in order to fill the model properly
6055 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6057 * src/hildon-button.h
6058 * src/hildon-button.c (hildon_button_get_image): New method to
6061 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6063 * src/hildon-touch-selector.c:
6064 (hildon_touch_selector_remove_column): Remove from the correct parent
6065 and also remove the list element and free it.
6068 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6070 * src/hildon-time-selector.c
6071 (_create_hours_model): change the range on 12h ampm format in order to use
6072 a 12-11 range instead of previous 01-12 range
6073 (hildon_time_selector_set_time): change the way to select the current time
6074 on 12h ampm format, due the change on the range
6075 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6078 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6080 * src/hildon-touch-selector.c
6081 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6082 in order to allow use this function on multiple row selection mode if
6083 the column is different that the first one
6086 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6088 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6089 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6091 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6093 * src/hildon-date-selector.h: clean some comments, now on the .c
6094 * src/hildon-date-selector.c
6095 (hildon_date_selector_select_month): first implementation
6096 (hildon_date_selector_select_day): added documentation, reimplemented
6097 using hildon_date_selector_select_current_date to avoid repeat code
6100 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6102 Reviewed interaction logic based on device experiences, refactored
6105 * src/hildon-pannable-area.c,
6106 (hildon_pannable_area_class_init): Updated default vmax speed.
6107 (hildon_pannable_area_calculate_velocity): Added this function, it
6108 avoids duplicate valocity calculation. Adjusted calculation to
6109 avoid problems with zero dist events.
6111 (hildon_pannable_area_motion_notify_cb): Now we use the
6112 calculate_velocity function.
6114 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6116 * src/hildon-date-selector.c
6117 (hildon_date_selector_select_current_date): fix the day range check
6118 as it failed using the last day of the current month
6121 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6123 * src/hildon-touch-selector.c
6124 (hildon_touch_selector_get_num_columns): added a parameter validation
6127 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6129 * examples/Makefile.am
6130 * examples/hildon-edit-toolbar-example.c: Example of the
6131 HildonEditToolbar widget.
6133 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6135 * configure.ac: postrelease version bump.
6137 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6141 * configure.ac: prerelease version bump.
6142 * debian/changelog: update.
6144 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6146 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6147 renderer to display stock icons in the touch list. Also, set the sizes
6148 to the recommended in the style guide.
6150 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6151 * src/hildon-touch-selector.h
6152 (hildon_touch_selector_set_active_iter): renamed, now is
6153 hildon_touch_selector_select_iter
6154 (hildon_touch_selector_get_active_iter): renamed, now is
6155 hildon_touch_selector_get_selected
6156 (hildon_touch_selector_unselect_iter): added
6157 * src/hildon-touch-selector.c
6158 Update after API modification (methods renamed)
6159 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6160 order to avoid problems selecting multiple elements on the column
6161 (hildon_touch_selector_unselect_iter): added the implementation
6162 * src/hildon-time-selector.c
6163 * src/hildon-date-selector.c
6164 * src/hildon-touch-selector-entry.c
6165 Update methods calls after hildon-touch-selector.h API modification (methods
6168 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6170 * src/hildon-stackable-window.c
6171 (hildon_stackable_window_finalize): Call the parent class's finalize.
6173 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6175 * examples/hildon-touch-selector-example.c: (create_selector): Use
6176 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6179 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6181 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6182 set a cell background color, to respect theming.
6184 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6186 * doc/hildon-docs.sgml
6189 * src/hildon-edit-toolbar.c
6190 * src/hildon-edit-toolbar.h
6191 * src/hildon.h: New HildonEditToolbar widget.
6193 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6195 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6198 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6199 * src/hildon-touch-selector.c
6200 (_create_new_column): use g_object_set instead of two g_object_set_property
6202 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6203 * src/hildon-touch-selector.c
6204 (_create_new_column): use of hildon_gtk_tree_view_new to create
6205 the treeview, instead of use directly g_object_new
6206 (_create_new_column): update the property name "vindicator-mode" for the
6207 new one "vscrollbar-policy"
6208 * examples/hildon-date-button-example.c
6209 * examples/hildon-picker-button-multicolumn-example.c
6210 * examples/hildon-touch-selector-entry-example.c
6211 * examples/hildon-touch-selector-example.c
6212 * examples/hildon-time-button-example.c
6213 * examples/hildon-picker-button-example.c
6214 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6215 to all the treeviews inside a pannable area.
6217 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6219 * src/hildon-button.h
6220 * src/hildon-button.c (hildon_button_init)
6221 (hildon_button_set_arrangement, hildon_button_set_alignment)
6222 (hildon_button_set_title_alignment)
6223 (hildon_button_set_value_alignment)
6224 (hildon_button_set_image_alignment)
6225 (hildon_button_construct_child): New methods to set the alignment
6226 of the individual components of the button (title, value,
6227 image). Also, new method to alter the xscale and yscale properties
6228 of the GtkAlignment inside the button, so more complex layouts can
6231 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6233 * src/hildon-button.c (hildon_button_style_set)
6234 (hildon_button_class_init, hildon_button_set_arrangement)
6235 (hildon_button_construct_child): Apply style properties
6236 correctly. Use the 'image-spacing' style property too.
6238 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6240 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6241 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6244 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6246 * src/hildon-pannable-area.c,
6247 (hildon_pannable_area_size_request): Fixed problem with
6248 pannable-area size_request.
6250 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6252 Added management for the grab-focus to a child widget, like a
6253 range, we need to fade out the scrollbar when releasing.
6255 * src/hildon-pannable-area.c,
6256 (hildon_pannable_area_init): Connected the grab-focus signal to
6258 (hildon_pannable_area_grab_notify): Added this function in order
6259 to manage the situation when the grab-focus ends. We have to
6260 fade-out the scrollbar.
6262 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6264 * src/hildon-app-menu.c: Minor documentation update.
6266 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6268 * src/hildon-app-menu.c
6269 * examples/hildon-app-menu-example.c (create_menu): Update
6270 examples and documentation to explain how to connect callbacks.
6272 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6274 * examples/hildon-button-example.c
6275 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6276 hildon_stackable_window_new instead of gtk_window_new
6278 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6280 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6281 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6282 (hildon_pannable_area_set_property),
6283 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6284 (hildon_pannable_area_unrealize),
6285 (hildon_pannable_area_size_request),
6286 (hildon_pannable_area_size_allocate),
6287 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6288 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6289 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6290 (hildon_pannable_area_initial_effect),
6291 (hildon_pannable_area_redraw),
6292 (hildon_pannable_area_scroll_indicator_fade),
6293 (hildon_pannable_area_expose_event),
6294 (hildon_pannable_area_get_topmost), (synth_crossing),
6295 (hildon_pannable_area_button_press_cb),
6296 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6297 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6298 (hildon_pannable_area_motion_notify_cb),
6299 (hildon_pannable_area_button_release_cb),
6300 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6301 (hildon_pannable_area_remove),
6302 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6303 chage the code layout to a more GtkWidget like. Review the use of
6306 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6308 * examples/hildon-pannable-area-example-4.c,
6309 (main): Modified the name of the hindicator_mode to
6312 * src/hildon-pannable-area.c,
6313 (hildon_pannable_area_class_init),
6314 (hildon_pannable_area_motion_notify_cb),
6315 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6316 we have reduced the amount of signals and managed reviewed its
6317 rationale. Changed the default decelerate value.
6319 (hildon_pannable_area_add),
6320 (hildon_pannable_area_redraw): Refactored functions.
6322 (hildon_pannable_area_init),
6323 (hildon_pannable_area_get_property),
6324 (hildon_pannable_area_set_property):
6325 (hildon_pannable_draw_vscroll),
6326 (hildon_pannable_draw_hscroll),
6327 (hildon_pannable_area_initial_effect),
6328 (hildon_pannable_area_expose_event),
6329 (hildon_pannable_area_scroll),
6330 (hildon_pannable_area_button_press_cb),
6331 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6332 and vindicator_mode with hscrollbar_policy and
6333 vscrollbar_policy. Replaced hscroll and vscroll with
6334 hscroll_visible and vscroll_visible.
6336 (hildon_pannable_area_refresh): Refactor the function, remove
6337 variables and check the calls to this function, added resize
6338 conditions in case the children change their layout.
6340 (hildon_pannable_area_size_request): Added more detailed
6341 size_request calculation.
6344 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6346 * src/hildon-color-chooser.c
6347 (init_borders): use the correct gtk_border_free instead of g_free, to
6348 avoid a crash when this widget is used (ie: the three color selection
6351 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6353 * src/hildon-check-button.c,
6354 (hildon_check_button_set_active): Fixed problem when setting the
6355 active value, the widget was not redrawn.
6357 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6359 * src/hildon-pannable-area.c,
6360 (hildon_pannable_area_refresh),
6361 (hildon_pannable_area_scroll),
6362 (hildon_pannable_area_motion_notify_cb): Small code style change.
6364 (hildon_pannable_area_class_init): Default initial_hint set to
6365 FALSE, it is not in the specs.
6367 (hildon_pannable_area_initial_effect),
6368 (hildon_pannable_area_expose_event),
6369 (hildon_pannable_area_map),
6370 (hildon_pannable_area_init): Moved the launching point of the
6371 initial effect, it was in map but the sizes where not correct in
6372 that method so we do not know if we have the reproduce it. Now it
6373 is placed in the expose_event method and uses a variable to
6374 reproduce it just once.
6376 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6378 * src/hildon-pannable-area.c,
6379 (hildon_pannable_draw_vscroll),
6380 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6381 position allowed for the scrollbars.
6383 (hildon_pannable_area_size_allocate): Small style change.
6385 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6387 * src/hildon-pannable-area.c,
6388 (hildon_pannable_area_scroll_indicator_fade),
6389 (hildon_pannable_area_button_press_cb),
6390 (hildon_pannable_area_button_release_cb),
6391 (hildon_pannable_area_scroll_cb),
6392 (hildon_pannable_area_expose_event),
6393 (hildon_pannable_area_init): Added the define parameter
6394 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6395 and refactor the fade variable.
6397 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6399 * src/hildon-pannable-area.c,
6400 (hildon_pannable_area_redraw),
6401 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6402 lines, we were reimplemeting the redraw code.
6404 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6406 * src/hildon-pannable-area.c,
6407 (hildon_pannable_area_scroll_cb),
6408 (hildon_pannable_area_realize),
6409 (hildon_pannable_area_class_init): Added scroll_event management
6410 for pannable area, now we can scroll the usual desktop method.
6412 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6413 initialization of the parameters should depend on idle_id.
6415 (hildon_pannable_area_init),
6416 (hildon_pannable_area_map): Small code style modifications
6418 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6420 * src/hildon-pannable-area.c
6421 (hildon_pannable_area_button_press_cb),
6422 (hildon_pannable_area_motion_notify_cb),
6423 (hildon_pannable_area_button_release_cb),
6424 (hildon_pannable_area_size_allocate),
6425 (hildon_pannable_area_scroll_to): Improved the timeouts
6426 management, we avoid creating them each time.
6428 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6430 * src/hildon-pannable-area.c:
6431 (hildon_pannable_area_refresh),
6432 (hildon_pannable_area_motion_notify_cb),
6433 (hildon_pannable_area_class_init):
6434 * src/hildon-pannable-area.h:
6435 * src/hildon-touch-selector.c
6436 (_create_new_column):
6437 * examples/hildon-pannable-area-example-4.c:
6438 (horizontal_movement),
6439 (vertical_movement),
6441 Replaced the names of enums in the HildonPannableArea:
6442 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6443 HILDON_MOVEMENT_MODE_*
6444 - HILDON_PANNABLE_AREA_MOV_* ->
6446 - Removed HildonPannableAreaIndicatorMode, now we
6449 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6451 * examples/hildon-pannable-area-touch-grid-example.c
6452 * examples/hildon-pannable-area-touch-list-example.c: Fix
6453 compilation warnings.
6455 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6457 * src/hildon-gtk.c (hildon_gtk_button_new)
6458 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6459 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6460 images overriding the value of the "gtk-button-images" setting.
6462 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6464 * src/hildon-check-button.c (hildon_check_button_new):
6465 Instead of using a custom container, display the label and the
6466 checkbox using the standard GtkButton API.
6468 * examples/hildon-check-button-example.c (main): Don't use
6469 hildon_check_button_set_label() anymore
6471 * src/hildon-check-button.h
6472 * src/hildon-check-button.c
6473 (hildon_check_button_set_label, hildon_check_button_get_label):
6474 Set as deprecated, now we're using gtk_button_{get,set}_label()
6476 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6478 * src/hildon-pannable-area.c,
6479 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6480 GtkTreeview first line we detected it after the inclusion of the
6481 GtkWindowImpl in gtk+. We now check if the window is visible, not
6482 just if the pointer is over the window.
6483 (hildon_pannable_axis_scroll),
6484 (hildon_pannable_area_expose_event): Small style changes.
6486 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6488 * src/hildon-button.c: Update documentation.
6490 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6492 * examples/hildon-button-example.c: Add a switch to show images in
6495 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6497 * doc/hildon-docs.sgml: Some docs reorganization.
6499 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6501 * examples/hildon-pannable-area-touch-list-example.c
6503 * examples/hildon-pannable-area-touch-grid-example.c
6504 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6505 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6506 Fix memory leak when setting the tree model.
6508 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6512 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6514 * doc/hildon.types: Remove duplicated hildon_window_get_type
6515 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6516 documentation comment.
6518 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6520 * doc/Makefile.am: Complete list of private headers.
6522 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6524 * doc/hildon-docs.sgml
6525 * src/hildon-app-menu.c
6526 * src/hildon-bread-crumb.c
6527 * src/hildon-button.c
6529 * src/hildon-program.c
6530 * src/hildon-stackable-window.c
6531 * src/hildon-window.c: Lots of documentation updates.
6533 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6535 * debian/control: Depend on Gtk 2:2.12.9-0osso3
6537 * configure.ac: Require Gtk+ 2.12.9 at least
6539 2008-08-12 Alejandro G. Castro <alex@igalia.com>
6541 * src/hildon-pannable-area.c
6542 (hildon_pannable_area_scroll_indicator_fade),
6543 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6544 to protect the return of this timeout callbacks, avoiding deadlocks.
6546 2008-08-12 Christian Dywan <christian@imendio.com>
6549 * src/hildon-*.h: Ensure a consistent include order,
6550 include <gtk/gtk.h> instead of particular files and
6551 only include the topmost header in the gtk stack. See NB #39857
6553 2008-08-12 Christian Dywan <christian@imendio.com>
6555 * src/hildon-picker-dialog.c
6556 * src/hildon-touch-selector.c: Fix warnings about unused and
6557 uninitialized variables.
6559 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6561 * examples/Makefile.am
6562 * examples/hildon-check-button-example.c: Example of the hildon
6565 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6567 * src/hildon-window.h
6568 * src/hildon-window.c (hildon_window_class_init)
6569 (hildon_window_unset_program): Don't make
6570 hildon_window_unset_program a virtual function anymore.
6572 * src/hildon-stackable-window.c: Update documentation
6574 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6577 * doc/hildon-docs.sgml
6578 * doc/visual_index.xml
6579 * src/hildon-defines.c
6581 * src/hildon-helper.c
6582 * src/hildon-range-editor.c: Lots of documentation fixes.
6584 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6586 * examples/hildon-picker-button-multicolumn-example.c
6587 (create_touch_selector): Fix compilation warning.
6589 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6591 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
6592 (hildon_pannable_area_button_release_cb)
6593 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6595 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6597 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
6600 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6602 * src/hildon-bread-crumb-trail.h
6603 * src/hildon-date-editor.c
6604 * src/hildon-date-selector.c
6605 * src/hildon-pannable-area.c
6606 * src/hildon-picker-dialog.c
6607 * src/hildon-time-selector.c
6608 * src/hildon-touch-selector-entry.c
6609 * src/hildon-touch-selector.c
6610 * src/hildon-touch-selector.h: Misc documentation fixes
6612 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6614 * examples/hildon-date-editor-example.c (main): Updated date
6617 * examples/hildon-note-example.c (on_confirmation_clicked):
6618 Updated confirmation note example.
6620 * src/hildon-date-editor.c
6621 * src/hildon-note.c: Updated sample programs in documentation.
6624 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6626 * src/hildon-date-button.h:
6627 * src/hildon-picker-button.h:
6628 * src/hildon-time-button.c:
6629 * src/hildon-time-button.h:
6631 Some declarations changes to allow gtk-doc to document the widgets
6634 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6636 * src/hildon-date-button.c: Document the widget.
6637 * src/hildon-time-button.c: Document the widget.
6639 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6641 * src/hildon-picker-button.c: Document the widget.
6642 * src/hildon-touch-selector-entry.c: Document the widget.
6644 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6646 * doc/hildon-docs.sgml
6649 * src/hildon-check-button.h
6650 * src/hildon-check-button.c: New functions to create the Hildon
6654 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
6656 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6658 * src/hildon-button.h
6659 * src/hildon-button.c
6660 (hildon_button_add_title_size_group)
6661 (hildon_button_add_value_size_group)
6662 (hildon_button_add_image_size_group)
6663 (hildon_button_add_size_groups): New functions to set size groups
6664 for the button labels and image.
6665 (hildon_button_new_full): Removed
6667 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
6669 * src/hildon-time-selector.c
6670 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
6671 in order to avoid a crash if gconf is not available
6673 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6675 * src/hildon-button.c (hildon_button_set_arrangement)
6676 (hildon_button_construct_child): Don't construct the button child
6677 before setting the arrangement.
6679 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6681 * src/hildon-program-private.h
6682 * src/hildon-program.c
6683 * src/hildon-program.h
6684 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
6685 (hildon_program_peek_window_stack)
6686 (hildon_program_pop_window_stack)
6687 (hildon_program_go_to_root_window): HildonProgram now has a
6688 separate list for stackable windows. Functions are provided to
6689 manage that list with a stack-like API.
6691 * src/hildon-stackable-window.c: Stackable window management is
6692 now much simpler with the new HildonProgram API. Windows no
6693 longer need to be manually added to the program, they're
6694 automatically pushed to the top of the stack when shown.
6696 * examples/hildon-stackable-window-example.c: Updated example to
6697 reflect the API changes.
6699 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6701 * src/hildon-touch-selector.c: Comment out unimplemented
6702 hildon_touch_selector_insert_column() to avoid a compile warning.
6704 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6706 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6707 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
6708 (hildon_touch_selector_set_column_selection_mode),
6709 (_hildon_touch_selector_set_model),
6710 (hildon_touch_selector_set_model):
6712 Complete review of HildonTouchSelector documentation.
6714 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6716 * doc/hildon-docs.sgml
6720 * src/hildon-gtk.c: Convenience functions for standard Gtk
6721 widgets, used to easily perform frequent operations.
6723 * src/hildon-button-helpers.h
6724 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
6726 * src/hildon-helper.h
6727 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
6728 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
6730 * src/hildon-button.h
6731 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
6733 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6735 * src/hildon-button.c (hildon_button_init)
6736 (hildon_button_set_arrangement, hildon_button_construct_child):
6737 Pack the image and the labels inside the same GtkAlignment so
6738 gtk_button_set_alignment() can be used
6740 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6742 * src/hildon-button.h
6743 * src/hildon-button.c
6744 (hildon_button_init, hildon_button_set_image)
6745 (hildon_button_set_image_position)
6746 (hildon_button_construct_child): New functions to add an image to
6749 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6751 * src/hildon-date-button.c
6752 * src/hildon-picker-button.c
6753 * src/hildon-time-button.c
6754 * src/hildon-button.c:
6755 (hildon_button_class_init): "size-flags" renamed to "size"
6756 (hildon_button_set_title): Hide the title label if set to NULL.
6758 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6760 HildonButtonFlags split into HildonButtonArrangement (to set the
6761 button layout) and HildonSizeType (which can be used for any
6764 * src/hildon-button.h
6765 * src/hildon-button.c
6766 (hildon_button_class_init)
6767 (hildon_button_set_arrangement)
6768 (hildon_button_set_property): New "size-flags"
6769 property. "arrangement-flags" renamed to "arrangement".
6770 (hildon_button_new, hildon_button_new_with_text)
6771 (hildon_button_new_full): Constructors updated to reflect type changes.
6773 * src/hildon-helper.h
6774 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
6775 to set the size of a widget.
6779 * src/hildon-button-helpers.c
6780 * src/hildon-button-helpers.h: New hildon-button-helpers module.
6782 * src/hildon-date-button.c
6783 * src/hildon-date-button.h
6784 * src/hildon-picker-button.c
6785 * src/hildon-picker-button.h
6786 * src/hildon-time-button.c
6787 * src/hildon-time-button.h: Updated widgets to reflect
6788 HildonButton API changes.
6790 * examples/hildon-button-example.c
6791 * examples/hildon-date-button-example.c
6792 * examples/hildon-picker-button-example.c
6793 * examples/hildon-picker-button-multicolumn-example.c
6794 * examples/hildon-time-button-example.c
6795 * examples/hildon-touch-selector-entry-example.c
6796 * examples/hildon-touch-selector-example.c: Updated examples to
6797 reflect HildonButton API changes.
6799 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6801 * doc/hildon-docs.sgml:
6803 * examples/Makefile.am:
6804 * examples/hildon-touch-selector-entry-example.c:
6806 * src/hildon-touch-selector-entry.c:
6807 * src/hildon-touch-selector-entry.h:
6810 Moved HildonTouchSelectorEntry from sandbox. Added its
6811 documentation and examples.
6813 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6815 * src/hildon-touch-selector.h:
6816 * examples/hildon-picker-button-multicolumn-example.c:
6817 (hildon_touch_selector_append_text_column): Add a gboolean
6818 parameter to determine if text must be centered in the column.
6820 * src/hildon-date-selector.c: (hildon_date_selector_init):
6821 * src/hildon-time-selector.c: (hildon_time_selector_init):
6822 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
6823 (create_touch_selector): Update widgets and example to reflect
6826 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6828 * src/hildon-touch-selector.c:
6829 (hildon_touch_selector_set_active_iter): Set also the cursor in
6832 2008-08-06 Alberto Garcia <agarcia@igalia.com>
6834 * doc/hildon-docs.sgml
6837 * src/hildon-toggle-button.c
6838 * src/hildon-toggle-button.h
6839 * src/hildon.h: Removed HildonToggleButton widget, a derived
6840 class is not necessary for this.
6842 2008-08-06 Alejandro G. Castro <alex@igalia.com>
6844 * src/hildon-pannable-area.c,
6845 (hildon_pannable_area_realize),
6846 (hildon_pannable_area_size_allocate): Code refactoring, add tests
6849 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
6851 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
6852 "done" button the default widget for the dialog.
6854 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6856 * src/hildon-touch-selector.c:
6857 (hildon_touch_selector_class_init),
6858 (hildon_touch_selector_get_property),
6859 (_hildon_touch_selector_set_model),
6860 (_hildon_touch_selector_has_multiple_selection),
6861 (hildon_touch_selector_has_multiple_selection):
6862 Add a "has-multiple-selection" property with a virtual
6863 has_multiple_selection() method to allow derived classes to
6864 override the default value for it. See the method and property
6865 documentation for details.
6867 * src/hildon-touch-selector.h: Add the new API.
6869 * src/hildon-picker-dialog.c: (requires_done_button): Call
6870 hildon_touch_selector_has_multiple_selection() instead of
6871 determining the need for a button itself.
6873 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6875 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6876 (_hildon_touch_selector_set_model),
6877 (hildon_touch_selector_set_model): Move working code to
6878 _hildon_touch_selector_set_mode(). Call the class method instead.
6880 * src/hildon-touch-selector.h: Add (*set_model) to
6881 HildonTouchSelectorClass.
6883 Make hildon_touch_selector_set_model() a virtual method, so that
6884 derived classes can extend it and do fancy stuff with the model.
6886 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6888 * configure.ac: Set back the tarname in AC_INIT to hildon.
6890 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6894 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
6895 instead of libesd (NB#86876). Volume handling is still an open issue.
6897 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
6900 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6902 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
6903 (hildon_touch_selector_append_column): Make the widget a GtkVBox
6904 derived class to ease placement of an entry widget in
6905 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
6906 end, where the selector columns are packed now.
6908 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6910 * src/hildon-picker-button.c: Removed the simple _text() API.
6911 * src/hildon-picker-button.h: Likewise.
6913 * src/hildon-touch-selector.h:
6914 * src/hildon-touch-selector.c:
6915 (hildon_touch_selector_new_text),
6916 (hildon_touch_selector_append_text),
6917 (hildon_touch_selector_prepend_text),
6918 (hildon_touch_selector_insert_text):
6920 Moved the simple _text() API from HildonPickerButton to
6921 HildonTouchPicker, to provide better escalability and not to tie
6922 that API to HildonPickerButton.
6924 * examples/hildon-picker-button-example.c: (main): Example updated.
6926 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6928 * src/hildon-button.c: Updated documentation.
6930 * examples/hildon-button-example.c: Add the posibility to create
6931 the buttons using horizontal layout for title and value.
6933 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6935 * src/hildon-app-menu-private.h
6936 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
6937 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
6938 GtkSizeGroup for the filters, use the 'homogeneous' property of
6941 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6943 * examples/hildon-button-example.c: Updated example.
6945 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
6947 * doc/hildon-docs.sgml:
6950 Update documentation.
6952 * examples/Makefile.am: Update renamed examples.
6954 * examples/hildon-picker-button-multicolumn-example.c:
6955 (create_touch_selector), (main): Update after the rename.
6957 * examples/hildon-touch-picker-example.c: Removed.
6958 * examples/hildon-touch-selector-example.c: (value_changed),
6959 (create_selector), (get_visible_content), (main): Renamed from
6960 hildon-touch-picker-example.c
6962 * src/Makefile.am: Updated renamed files.
6964 * src/hildon-date-button.c: (hildon_date_button_init),
6965 (hildon_date_button_get_date), (hildon_date_button_set_date):
6966 * src/hildon-date-selector.c: (hildon_date_selector_init),
6967 (_custom_print_func), (_update_day_model),
6968 (_manage_selector_change_cb),
6969 (hildon_date_selector_select_current_date),
6970 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
6971 * src/hildon-date-selector.h:
6972 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6973 (hildon_picker_button_set_property),
6974 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6975 (hildon_picker_button_init), (hildon_picker_button_new_text),
6976 (hildon_picker_button_append_text),
6977 (hildon_picker_button_prepend_text),
6978 (hildon_picker_button_insert_text),
6979 (hildon_picker_button_set_selector),
6980 (hildon_picker_button_get_selector):
6981 * src/hildon-picker-button.h:
6982 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
6983 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
6984 (_update_title_on_selector_changed_cb), (requires_done_button),
6985 (_hildon_picker_dialog_set_selector),
6986 (hildon_picker_dialog_set_selector),
6987 (hildon_picker_dialog_get_selector):
6988 * src/hildon-picker-dialog.h:
6989 * src/hildon-time-button.c: (hildon_time_button_init),
6990 (hildon_time_button_get_time), (hildon_time_button_set_time):
6991 * src/hildon-time-selector.c: (hildon_time_selector_init),
6992 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
6993 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
6994 * src/hildon-time-selector.h:
6997 Massive code updates after the rename.
6999 * src/hildon-touch-picker.c: Removed.
7000 * src/hildon-touch-picker.h: Removed.
7002 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7003 (hildon_touch_selector_init), (hildon_touch_selector_map),
7004 (hildon_touch_selector_remove), (_default_print_func),
7005 (_selection_changed_cb), (_create_new_column),
7006 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
7007 (hildon_touch_selector_append_text_column),
7008 (hildon_touch_selector_remove_column),
7009 (hildon_touch_selector_set_column_attributes),
7010 (hildon_touch_selector_insert_column),
7011 (hildon_touch_selector_get_num_columns),
7012 (hildon_touch_selector_get_column_selection_mode),
7013 (hildon_touch_selector_set_column_selection_mode),
7014 (hildon_touch_selector_set_print_func),
7015 (hildon_touch_selector_get_print_func),
7016 (hildon_touch_selector_get_active_iter),
7017 (hildon_touch_selector_set_active_iter),
7018 (hildon_touch_selector_get_selected_rows),
7019 (hildon_touch_selector_get_model),
7020 (hildon_touch_selector_set_model),
7021 (hildon_touch_selector_get_current_text),
7022 (_hildon_touch_selector_center_on_selected_items):
7023 * src/hildon-touch-selector.h: Renamed from
7024 hildon-touch-picker.[ch]
7026 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7027 references, code examples, and related documentation.
7029 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7031 * doc/hildon-docs.sgml
7034 * src/hildon-toggle-button.c
7035 * src/hildon-toggle-button.h
7036 * src/hildon.h: New HildonToggleButton widget.
7038 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7040 * src/hildon-button.c: Add API documentation.
7041 (hildon_button_set_size_groups): Check input parameters
7043 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7045 * src/hildon-pannable-area.c
7046 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7047 effect after reaching the movement thredshold. This way we start
7048 using the distance after passing the thredshold.
7050 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7052 * src/hildon-button.c: (hildon_button_set_property): Use the
7053 appropriate g_value_get_flags() method.
7055 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7057 * doc/hildon-docs.sgml:
7060 Add the touch pickers, picker dialogs, and picker button widgets
7061 to the documentation.
7063 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7065 * src/hildon-button.c: (hildon_button_set_property),
7066 (hildon_button_class_init): Make "arrangement-flags" a proper
7067 G_TYPE_FLAGS derived property.
7069 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7071 * examples/Makefile.am: Add below examples.
7072 * examples/hildon-date-button-example.c:
7073 * examples/hildon-picker-button-example.c:
7074 * examples/hildon-picker-button-multicolumn-example.c:
7075 * examples/hildon-time-button-example.c:
7076 * examples/hildon-touch-picker-example.c:
7078 Add examples for the recently added touch pickers,
7079 picker dialogs, and picker button widgets.
7081 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7083 * src/hildon-button.c: Add some API documentation
7085 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7087 * src/hildon-button.h
7088 * src/hildon-button.c
7090 (hildon_button_new_with_text): New constructor to create a button
7091 with no text at all.
7092 (hildon_button_init, hildon_button_set_arrangement)
7093 (hildon_button_set_title, hildon_button_set_value)
7094 (hildon_button_set_text)
7095 (hildon_button_construct_child): Hide the value when it's not used
7096 so the rest of the text is properly aligned.
7097 Allow creating buttons with arbitrary widgets inside (not just
7098 title/value labels).
7100 * examples/hildon-button-example.c (vertical_buttons_window)
7101 (horizontal_buttons_window): Update example to use new API.
7103 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7105 * src/Makefile.am: Added HildonTimeButton.
7106 * src/hildon-time-button.c: Added missing LGPL header.
7107 * src/hildon-time-button.h: Added missing LGPL header.
7108 * src/hildon.h: Add hildon-time-button.h
7110 Copied HildonTimeButton from sandbox to trunk. Future work on this
7111 widget must take place in trunk.
7113 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7115 * src/Makefile.am: Added HildonDateButton.
7116 * src/hildon-date-button.c: Update includes.
7117 * src/hildon.h: Add hildon-date-button.h
7119 Copied HildonDateButton from sandbox to trunk. Future work on this
7120 widget must take place in trunk.
7122 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7124 * src/Makefile.am: Added HildonPickerButton.
7125 * src/hildon-picker-button.h: Update includes.
7126 * src/hildon.h: Add hildon-picker-button.h
7128 Copied HildonPickerButton from sandbox to trunk. Future work on
7129 this widget must take place in trunk.
7131 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7133 * src/Makefile.am: Added HildonPickerDialog.
7134 * src/hildon-picker-dialog.c: Update includes.
7135 * src/hildon.h: Add hildon-picker-dialog.h
7137 Copied HildonPickerDialog from sandbox to trunk. Future work
7138 on this widget must take place in trunk.
7140 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7142 * src/Makefile.am: Added HildonTimeSelector.
7143 * src/hildon.h: Add hildon-time-selector.h
7145 Copied HildonTimeSelector widget from sandbox to trunk. Future
7146 work on this widget must happen in trunk.
7148 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7150 * src/Makefile.am: Added HildonDateSelector.
7151 * src/hildon.h: Add hildon-date-selector.h
7153 Copied HildonDateSelector widget from sandbox to trunk. Future
7154 work on this widget must happen in trunk.
7156 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7158 * src/Makefile.am: Added HildonTouchPicker.
7159 * src/hildon-touch-picker.c: Update includes.
7160 * src/hildon.h: Add hildon-touch-picker.h
7162 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7163 on this widget must happen in trunk.
7165 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7167 * src/hildon-pannable-area.c:
7168 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7170 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7172 * examples/hildon-app-menu-example.c (main): Let the window
7175 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7177 * src/hildon-pannable-area.c
7178 (hildon_pannable_area_class_init): Set the min value of the
7179 overshoot properties to zero, which points out that not
7180 overshooting allowed.
7182 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7184 Modified the procedure to get the widget at a point inside the
7185 pannable area when using the movement type signals. Now the user
7186 has to call a function to get the child, that way we just
7187 calculate the child in case the user really want to use it and not
7190 * src/hildon-marshalers.list: Modified the marshallers, now we do
7191 not have the widget as a parameter.
7193 * src/hildon-pannable-area.c
7194 (hildon_pannable_area_motion_notify_cb),
7195 (hildon_pannable_area_class_init),
7196 (hildon_pannable_get_child_widget_at): Removed the widget
7197 parameter from the signal callback. We have also refactored the
7198 emission of the signals.
7200 * src/hildon-pannable-area.h: Added a new method to the API to
7201 calculate a widget at a point inside the pannable area,
7202 hildon_pannable_get_child_widget_at.
7204 * examples/hildon-pannable-area-example-4.c
7205 (horizontal_movement): Modified the example to use the new API,
7206 added condition to control which widget is under the event. This
7207 way we can avoid scrolling laterally over other widgets.
7209 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7211 * src/hildon-pannable-area.c
7212 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7213 modes, we stop getting the pointer events due to returning the
7214 callback without properly calling the get pointer again. Fixed
7215 also an error using the hscroll and vscroll.
7217 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7219 * src/hildon-app-menu-private.h
7220 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7221 (hildon_app_menu_button_release, hildon_app_menu_init)
7222 (hildon_app_menu_class_init): Don't hide the menu on button
7223 release if the user didn't press outside first.
7225 * src/hildon-window.h
7226 * src/hildon-window.c (hildon_window_toggle_menu)
7227 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7228 hildon_window_toggle_menu a virtual function for the stackable
7229 window to override it.
7231 * src/hildon-stackable-window.h
7232 * src/hildon-stackable-window-private.h
7233 * src/hildon-stackable-window.c
7234 (hildon_stackable_window_realize)
7235 (hildon_stackable_window_finalize)
7236 (hildon_stackable_window_class_init)
7237 (hildon_stackable_window_init)
7238 (hildon_stackable_window_set_main_menu): New function to set the
7239 app menu of a HildonStackableWindow.
7241 * examples/hildon-app-menu-example.c: Remove the button to show
7242 the app menu, now it'll be shown when clicking on the title bar
7245 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7247 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7248 set the widget name if the arrangement flags do not specify
7251 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7253 * src/hildon-button.c: (hildon_button_set_property),
7254 (hildon_button_class_init), (hildon_button_new_full),
7255 (hildon_button_set_arrangement): Added "arrangement-flags"
7258 Make the HildonButtonFlags a construction-only property, to allow
7259 subclasses to set them properly.
7261 2008-07-21 Tim Janik <timj@imendio.com>
7263 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7264 insertion position after backspace, so additional digits are appended,
7267 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7269 * src/hildon-pannable-area.c,
7270 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7271 TODO list, it was complete and removed the g_debug and g_print
7274 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7276 Added the movement modes to the hildon-pannable-area, with this
7277 modes the developers can control in which directions the widget
7278 can scroll. They can also connect to signals in order to do
7279 something when that happens, allowing applications scroll. There
7280 is an example uploaded showing how to use it.
7282 * examples/Makefile.am:
7283 * examples/hildon-pannable-area-example-4.c: Added this example of
7284 an application using the modes.
7286 * src/hildon-marshalers.list: Added a new marshaller for the new
7289 * src/hildon-pannable-area.h: Added new enumerations and flags in
7290 order to control the movement modes and the new signals to warn
7291 about the movements in the area.
7293 * src/hildon-pannable-area.c:
7294 (hildon_pannable_axis_scroll),
7295 (hildon_pannable_area_scroll),
7296 (hildon_pannable_area_motion_notify_cb),
7297 (hildon_pannable_area_get_property),
7298 (hildon_pannable_area_set_property),
7299 (hildon_pannable_area_map),
7300 (hildon_pannable_area_class_init),
7301 (hildon_pannable_area_init),
7302 (hildon_pannable_area_jump_to): Added the modes to control the
7303 movement in the widget. We have added properties to control it,
7304 signals to warn about the movements and refactored some code.
7306 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7308 Changes required in order to allow vfast_factor set to zero to
7311 * src/hildon-pannable-area.c:
7312 (hildon_pannable_area_button_press_cb): Changed the condition, it
7313 is required for not allowing click when vfast_factor is zero.
7314 (hildon_pannable_area_timeout): Initialized velocity variables
7315 when we stop moving, it was less than 1 but not zero and we need
7316 to check zero in some situations.
7317 (hildon_pannable_area_class_init): Changed the default value of
7318 the speed factor, now the button_press is just sent in case the
7319 speed is 2 per cent of the max speed.
7320 (hildon_pannable_area_init): Initialization with 0.
7322 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7324 * src/hildon-pannable-area.c,
7325 (hildon_pannable_area_get_topmost): replaced
7326 gdk_window_get_children with gdk_window_peek_children, this way we
7327 do not have to free the list because it is not a copy.
7329 (hildon_pannable_axis_scroll),
7330 (hildon_pannable_area_scroll),
7331 (hildon_pannable_area_timeout),
7332 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7333 two parameters that were only used inside the
7334 hildon_pannable_area_scroll function.
7336 * examples/hildon-pannable-area-example.c,
7337 (get_sawtooth_label): Fixed small memory leak.
7339 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7341 More checks for the case where the overshoot is bigger than the
7344 * src/hildon-pannable-area.c:
7345 (hildon_pannable_draw_vscroll),
7346 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7347 to draw the slider of the scrollbar under the other scrollbar.
7348 (hildon_pannable_area_expose_event): added new checks to control
7349 the drawing of the overshooting area rectangle, in case it is too
7350 big for the area of the widget.
7351 (hildon_pannable_area_size_allocate): add more checks to avoid
7352 setting a position to the child widget outside the area.
7354 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7356 * src/hildon-pannable-area.c
7357 (hildon_pannable_area_size_allocate): Added conditions to control
7358 when overshooting is bigger than the allocated space for the
7359 children, this avoids negative allocations.
7361 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7363 * doc/hildon-docs.sgml
7365 * examples/Makefile.am
7366 * examples/hildon-button-example.c
7368 * src/hildon-button.c
7369 * src/hildon-button.h
7370 * src/hildon.h: Initial version of the new HildonButton widget,
7373 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7375 * src/hildon-pannable-area.c:
7376 (hildon_pannable_area_button_press_cb),
7377 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7378 (hildon_pannable_area_motion_notify_cb),
7379 (hildon_pannable_area_button_release_cb),
7380 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7381 (hildon_pannable_area_jump_to_child):
7383 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7385 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7387 * examples/Makefile.am
7388 * examples/hildon-pannable-area-touch-grid-example.c
7389 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7390 the Hildon Touch List and Hildon Touch Grid using the
7391 HildonPannableArea widget.
7393 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7395 * src/hildon-pannable-area.c,
7396 (hildon_pannable_area_button_press_cb),
7397 (hildon_pannable_area_refresh),
7398 (hildon_pannable_area_scroll),
7399 (hildon_pannable_area_motion_notify_cb),
7400 (hildon_pannable_area_button_release_cb),
7401 (hildon_pannable_area_expose_event),
7402 (hildon_pannable_area_add),
7403 (hildon_pannable_area_remove),
7404 (hildon_pannable_area_realize),
7405 (hildon_pannable_area_size_allocate),
7406 (hildon_pannable_area_class_init),
7407 (hildon_pannable_area_init),
7408 (hildon_pannable_area_scroll_to_child),
7409 (hildon_pannable_area_jump_to_child): Fixed the problem of
7410 removing the child from the GtkBin, we have rearranged the widget
7411 hierarchy, now there is no GtkAlignment which was not doing
7412 anything interesting but breaking some of the assumptions of
7413 GtkContainer. Now developers if they want to add a GtkAlignment
7414 they could, but it is not inside the area.
7416 We had to review the whole allocation/expose process, now it is
7417 improved and we save at least three signals which would be saving
7418 some time when rendering the widget. The allocation of the
7419 scrollbars is now made in the allocate method as usual.
7421 We have also added some conditions in order to control when there
7422 is no child of the pannable area. Maybe we will need more work
7425 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7427 * src/hildon-pannable-area.c,
7428 (hildon_pannable_area_dispose): Released the fade-out timeout when
7429 disposing the widget.
7431 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7433 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7434 zero, we are going to use that property in order to deactivate the
7436 (hildon_pannable_axis_scroll),
7437 (hildon_pannable_area_size_allocate): Added conditions to control
7438 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7439 call, now it is called in all situations and we can remove calls
7440 in the allocate method.
7441 (hildon_pannable_area_map): Control the situation when
7442 overshoot_max is zero, we do not need the timeout.
7443 (hildon_pannable_area_class_init): Added documentation in order to
7444 point out that setting zero to overshoot_max means deactivate
7447 NOTE: removed trailing whitespaces from my previous comments of
7450 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7452 * src/hildon-pannable-area.c
7453 (hildon_pannable_area_get_property),
7454 (hildon_pannable_area_set_property),
7455 (hildon_pannable_area_map),
7456 (hildon_pannable_area_class_init),
7457 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7458 to cause the widget give a hint about its panning abilities upon
7461 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7463 * src/hildon-pannable-area.c: Several documentation improvements.
7465 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7467 * src/hildon-program.c
7468 * src/hildon-stackable-window.c: Update documentation.
7470 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7472 * src/hildon-stackable-window.c (get_previous_window_if_last):
7473 Renamed get_last_window()
7474 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7475 (hildon_stackable_window_unset_program):
7477 (get_previous_window_if_last):
7478 Detect if the window hasn't been added to a HildonProgram.
7480 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7482 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7484 * src/hildon-pannable-area.c
7485 (hildon_pannable_area_button_press_cb),
7486 (hildon_pannable_axis_scroll),
7487 (hildon_pannable_area_scroll),
7488 (hildon_pannable_area_timeout),
7489 (hildon_pannable_calculate_vel_factor),
7490 (hildon_pannable_area_get_property),
7491 (hildon_pannable_area_set_property),
7492 (hildon_pannable_area_class_init),
7493 (hildon_pannable_area_init),
7494 (hildon_pannable_area_scroll_to),
7495 (hildon_pannable_area_jump_to),
7496 (hildon_pannable_area_scroll_to_child),
7497 (hildon_pannable_area_jump_to_child):
7498 * src/hildon-pannable-area.h: Added the new API functions:
7499 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7500 hildon_pannable_area_scroll_to_child,
7501 hildon_pannable_area_jump_to_child
7504 * examples/Makefile.am
7505 * examples/hildon-pannable-area-example-2.c
7506 * examples/hildon-pannable-area-example-3.c: Added these two new
7507 examples in order to test and show how the new APIs work.
7509 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7511 * examples/hildon-stackable-window-example.c (new_window):
7512 * src/Makefile.am (noinst_HEADERS):
7513 * src/hildon-program.c (hildon_program_go_to_root_window):
7514 * src/hildon-program.h:
7515 * src/hildon-stackable-window-private.h:
7516 * src/hildon-stackable-window.c:
7517 * src/hildon-stackable-window.h:
7518 Create hildon-stackable-window-private.h
7519 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7521 * examples/hildon-app-menu-example.c (create_menu):
7522 * examples/hildon-hvolumebar-insensitive-example.c (main):
7523 * examples/hildon-hvolumebar-timer-example.c (on_idle):
7524 * examples/hildon-toolbar-seekbar-example.c (main):
7525 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7526 * src/hildon-banner.c (hildon_banner_set_property):
7527 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7528 Fix compilation warnings
7530 * src/hildon-window.c:
7533 2008-06-24 Alberto Garcia <agarcia@igalia.com>
7535 * src/hildon-stackable-window.c
7536 (hildon_stackable_window_unset_program):
7537 Calculate correctly whether to show the previous window if the
7538 last one is removed from the stack.
7539 (hildon_stackable_window_go_to_root_window):
7540 Send delete events starting from the topmost window.
7541 Stop if one of the windows is not destroyed.
7543 (hildon_stackable_window_delete_event)
7544 (hildon_stackable_window_class_init):
7545 Ignore the delete event if the window is not the topmost one.
7547 2008-06-24 Alejandro G. Castro <alex@igalia.com>
7549 * src/hildon-pannable-area.c
7550 (hildon_pannable_area_expose_event): Fixed a problem when
7551 selecting the background color of the scrollbars.
7553 2008-06-23 Alberto Garcia <agarcia@igalia.com>
7555 * examples/hildon-stackable-window-example.c
7556 * src/hildon-stackable-window.c
7557 * src/hildon-stackable-window.h
7558 hildon_stackable_window_go_home() renamed to
7559 hildon_stackable_window_go_to_root_window()
7560 Send delete events to windows rather than closing them with
7561 gtk_widget_destroy()
7563 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7565 * src/hildon-pannable-area.c
7566 (hildon_pannable_area_button_release_cb): Fix overshooting in
7569 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7571 * src/hildon-pannable-area.c
7572 (hildon_pannable_area_init): Initially show the scroll indicators.
7573 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7575 Add initial effect showing the widget is pannable.
7577 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7579 * src/hildon-pannable-area.c
7580 (hildon_pannable_area_class_init)
7581 (hildon_pannable_area_set_property)
7582 (hildon_pannable_area_get_property)
7583 (hildon_pannable_area_button_press_cb):
7584 New 'velocity_fast_factor' property to decide which velocity is
7587 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7589 * src/hildon-pannable-area.c
7590 (hildon_pannable_draw_hscroll)
7591 (hildon_pannable_draw_vscroll):
7592 Use float variables to calculate the size of the scrollbars to
7593 avoid error propagation and resizing during scrolling.
7595 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7597 * src/hildon-pannable-area.c
7598 (hildon_pannable_draw_vscroll)
7599 (hildon_pannable_draw_hscroll):
7600 Define a minimum size for the scroll bars
7602 * src/hildon-stackable-window.c
7603 (hildon_stackable_window_go_home): Fix compilation warning
7604 (get_last_window): Minor optimizations
7605 (hildon_stackable_window_class_init): Fix initialization of
7608 2008-06-18 Alberto Garcia <agarcia@igalia.com>
7610 * src/hildon-stackable-window.c: Fixed typos in doc
7612 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
7614 * src/hildon-pannable-area.c
7615 (hildon_pannable_area_scroll):
7616 Calculate here whether we need to scroll instead of using the booleans
7617 that tell us whether to /draw/ the scrolling bars.
7619 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
7621 * src/hildon-app-menu.h
7623 * src/hildon-app-menu.c
7624 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
7625 multiple filter groups related code and API. Now we support only
7627 * examples/hildon-app-menu-example.c:
7629 Update to reflect API changes.
7631 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
7633 * src/hildon-stackable-window.c
7634 (hildon_stackable_window_class_init):
7635 Add hildon_stackable_window_realize.
7636 (hildon_stackable_window_realize):
7637 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
7638 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
7639 to apply theming and behavior specific to HildonStackableWindow
7642 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7644 * src/hildon-note.c (hildon_note_button_release):
7645 Close information notes also when tapping on them
7647 2008-06-12 Alejandro G. Castro <alex@igalia.com>
7649 Added BOUNCE_STEPS define to control the overshoot effect. Removed
7650 ELASTICITY, refactor and review, fix some issues with drawing
7653 * src/hildon-pannable-area.c:
7654 (hildon_pannable_area_button_press_cb): removed the conditions to
7655 avoid clicks when overshooting. It is not required
7657 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
7658 define. Refatored and reviewed the code, now we do not need to
7659 manage velocity in motion_notify.
7661 (hildon_pannable_area_motion_notify_cb): We have moved the code
7662 that controls the area_scroll to the axis_scroll function and get
7663 rid of duplicated code.
7665 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
7667 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
7669 (hildon_pannable_draw_vscroll),
7670 (hildon_pannable_draw_hscroll): Fixed the problems with the
7671 scrollbar drawing, now we do not use two surfaces, it is easier
7672 and saves resources.
7674 (hildon_pannable_area_get_property): Style modification.
7676 (hildon_pannable_area_class_init): Changed some default values.
7678 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
7680 * src/hildon-stackable-window.c: Fix some typos in the
7683 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7685 * src/hildon-dialog.c:
7686 Change indentation style
7689 (hildon_note_button_release):
7690 Use root coordinates to check if the release event happened
7693 * src/hildon-app-menu.c
7694 (hildon_app_menu_button_release):
7695 Remove unnecessary check
7697 * examples/hildon-app-menu-example.c
7699 Add cast to fix warning
7701 * src/hildon-app-menu.c
7702 (hildon_app_menu_class_init):
7703 New inner-border style property.
7704 Set all default spacings to 16
7705 (hildon_app_menu_init):
7706 Use vertical-spacing to set the space between filter buttons and
7707 regular menu buttons.
7708 Set the default container border using the inner-border value.
7710 * examples/hildon-app-menu-example.c
7712 Don't set the menu border explicitly, now we have the inner-border
7713 style property for that.
7715 2008-06-11 Alberto Garcia <agarcia@igalia.com>
7717 * src/hildon-app-menu.c (hildon_app_menu_init):
7718 Make the window modal
7720 * src/hildon-note.c (hildon_note_map)
7721 * src/hildon-app-menu.c (hildon_app_menu_map):
7722 Destroy the grab window if we're unable to grab the pointer
7724 * src/hildon-app-menu-private.h
7725 * src/hildon-app-menu.c
7726 (hildon_app_menu_init, hildon_app_menu_finalize)
7727 (hildon_app_menu_map, hildon_app_menu_unmap)
7728 (hildon_app_menu_button_release)
7729 (grab_transfer_window_get):
7730 Bring back the grab window
7731 (hildon_app_menu_realize):
7732 Decorate the window, set WM hint for Matchbox
7734 * src/hildon-note.c (hildon_note_realize):
7735 * src/hildon-banner.c (hildon_banner_realize):
7736 Add WM hints for Matchbox
7738 2008-06-10 Alberto Garcia <agarcia@igalia.com>
7740 * src/hildon-app-menu-private.h
7741 * src/hildon-app-menu.c
7742 (hildon_app_menu_init, hildon_app_menu_finalize)
7743 (hildon_app_menu_map, hildon_app_menu_unmap)
7744 (hildon_app_menu_button_release):
7745 Remove the grab window, it's not needed anymore
7747 * src/hildon-program.c
7748 Fixed typo in documentation
7750 * src/hildon-app-menu.h
7751 * src/hildon-app-menu.c
7752 * examples/hildon-app-menu-example.c
7753 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
7755 2008-06-09 Alberto Garcia <agarcia@igalia.com>
7758 Added new transfer_window and close_if_pressed_outside private
7760 (hildon_note_rebuild):
7761 Don't add a cancel button to the information note. It will be
7762 closed when tapping outside
7763 Remove the comment about the OK button in the documentation
7764 (hildon_note_realize):
7765 Set the notification type hint
7766 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
7767 Grab/ungrab pointer and keyboard if the note has to be closed when
7769 (hildon_note_button_release):
7770 Close the note when tapping outside (if applicable)
7772 * src/hildon-app-menu.c
7773 Grab/ungrab pointer and keyboard on map/unmap
7774 (hildon_app_menu_button_release, hildon_app_menu_class_init):
7775 Close the menu on button release, not button press
7777 * src/hildon-banner.c
7778 (hildon_banner_set_property)
7779 (hildon_banner_check_position):
7780 Make the banner use the full width of the screen
7781 (hildon_banner_show_information)
7782 (hildon_banner_show_information_with_markup):
7783 Don't display an icon by default
7785 2008-06-09 Alejandro G. Castro <alex@igalia.com>
7787 Added fading scrollbars and adapted all the overshooting code to
7788 horizontal scrolling. We have also fixed bugs with overshooting
7789 and current fading implementation.
7791 * src/hildon-pannable-area.c
7792 (hildon_pannable_area_scroll_indicator_fade): Time out function
7793 used to change the transparency of the scrollbars.
7795 (hildon_pannable_area_button_press_cb): Added horizontal overshot
7796 control and fixed a problem with fading, we now remove the fade
7797 timeout before adding a new one.
7799 (hildon_pannable_axis_scroll):
7800 (hildon_pannable_area_scroll):
7801 (hildon_pannable_area_timeout): Added this functions so we can use
7802 the scroll code both for vertical and horizontal.
7804 (hildon_pannable_area_motion_notify_cb):
7805 (hildon_pannable_area_button_release_cb): Added the horizontal
7806 scrolling control, fixed a problem with the overshooting timeout.
7808 (rgb_from_gdkcolor): Added this function, it is used in the cairo
7809 painting of the scrolls.
7811 (hildon_pannable_draw_vscroll):
7812 (hildon_pannable_draw_hscroll):
7813 (hildon_pannable_area_expose_event):
7814 Draw both scrollbars and rectangles in the overshooting area.
7816 (hildon_pannable_area_get_property):
7817 (hildon_pannable_area_set_property):
7818 Modified the overshoot property to overshoot_max
7820 (hildon_pannable_area_map):
7821 Replaced the comments symbols.
7823 (hildon_pannable_area_size_allocate):
7824 (hildon_pannable_area_class_init):
7825 (hildon_pannable_area_init): Added horizontal scroll, fading
7826 effect properties, fixed a problem when overshooting in the bottom
7829 * examples/hildon-pannable-area-example.c:
7830 (get_sawtooth_label): Now we use smaller sawtooths, the effect
7831 looks better in the example.
7833 2008-06-03 Alberto Garcia <agarcia@igalia.com>
7835 * src/hildon-window.c
7836 * src/hildon-window.h
7837 (hildon_window_class_init)
7838 (hildon_window_unset_program)
7839 (hildon_window_unset_program_real):
7840 Make unset_program a virtual function
7842 * src/hildon-stackable-window.c
7843 * src/hildon-stackable-window.h
7844 Added hildon_stackable_window_go_home()
7846 * examples/Makefile.am
7847 * examples/hildon-stackable-window-example.c
7848 HildonStackableWindow example
7850 2008-06-03 Alejandro G. Castro <alex@igalia.com>
7852 * hildon-pannable-area.c: Added the overshoot property and removed
7853 the OVERSHOOT define. Fixed an indent style error.
7854 (hildon_pannable_area_motion_notify_cb):
7855 (hildon_pannable_area_get_property):
7856 (hildon_pannable_area_set_property): Add overshoot property.
7858 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
7861 (hildon_pannable_area_class_init): Installed the new property.
7863 * hildon-pannable-area-example.c: Added a sawtooth function, this
7864 way it is easier to check the movement in the pannable.
7865 (get_sawtooth_label): Added this function.
7866 (main): Now we get the labels from the new get_sawtooth_label
7869 2008-05-26 Alberto Garcia <agarcia@igalia.com>
7871 * src/hildon-app-menu.h
7872 * src/hildon-app-menu.c
7873 Renamed API variables for consistency
7875 (hildon_app_menu_popup): Use also the default window size to
7876 decide where to place the menu
7878 (hildon_app_menu_init, hildon_app_menu_class_init): New
7879 external-border style property
7881 2008-05-26 Michael Natterer <mitch@imendio.com>
7883 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
7884 widget_class->tap_and_hold_setup signal slot doesn't exist any
7885 longer, stop overriding it.
7887 (hildon_time_editor_init): g_signal_connect() to the
7888 tap-and-hold-setup signal instead.
7890 (hildon_time_editor_entry_keypress): add cast to fix warning.
7892 2008-05-23 Alberto Garcia <agarcia@igalia.com>
7894 * doc/hildon-docs.sgml
7896 * examples/Makefile.am
7897 * examples/hildon-app-menu-example.c
7899 * src/hildon-app-menu-private.h
7900 * src/hildon-app-menu.c
7901 * src/hildon-app-menu.h
7903 New HildonAppMenu widget
7905 2008-05-21 Alejandro G. Castro <alex@igalia.com>
7907 Rearranged the inheritance of the pannable area, now it inherits
7908 from GtkBin. This will allow us to control the event_window and
7909 the allocation process of the widget, required for some effects.
7911 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
7912 GtkBin structures. * src/hildon-pannable-area.c: Added the
7913 event_window variable.
7914 (hildon_pannable_area_button_press_cb):
7915 (hildon_pannable_area_button_release_cb):
7916 (hildon_pannable_area_motion_notify_cb):
7917 Changed the signature of the method, now we override the event
7918 callback instead of connecting to the signal.
7920 (hildon_pannable_area_realize):
7921 (hildon_pannable_area_unrealize):
7922 (hildon_pannable_area_map):
7923 (hildon_pannable_area_unmap):
7924 (hildon_pannable_area_size_allocate):
7925 Added functions to control the widget construction. We add a
7926 INPUT_ONLY window and we put it over the widgets inside the
7927 container, this event_window handles the events.
7929 (hildon_pannable_area_class_init):
7930 Replaced the signal connections with overrides of the event
7933 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7935 Bouncing effect added when touching the borders, you can change
7936 the elasticity of the border changing the ELASTICITY define.
7938 * src/hildon-pannable-area.c: Added ELASTICITY define.
7939 (hildon_pannable_area_timeout): Added inverse velocity when
7940 touching the border of the child widget, that causes a bounce.
7942 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7944 Improved performance, we now do not go to the X server in order to
7945 get the list of window children. Apparently the effect is the
7946 same, we have to be careful and check if this breaks something in
7949 * src/hildon-pannable-area.c:
7950 (get_ordered_children): Removed this function.
7951 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
7952 the children windows function with gdk_window_get_children.
7954 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7956 * src/hildon-pannable-area.c:
7957 (hildon_pannable_area_dispose): Fixed a crash when closing the
7958 window and kinetics is activated.
7960 2008-05-19 Alberto Garcia <agarcia@igalia.com>
7962 * src/hildon-pannable-area.h
7963 * src/hildon-pannable-area.c
7964 Changed indentation style to meet the one used in Hildon
7966 2008-05-19 Alejandro G. Castro <alex@igalia.com>
7968 Reviewed the interaction of the AUTO mode, now we use the time
7969 attribute of the events and calculate the velocity in the motion,
7970 doing a gimp like calculation. The velocity is calculated in each
7971 motion event using the last velocity and the current one, the
7972 SMOOTH_FACTOR controls the percentage of the new velocity we use.
7974 * src/hildon-pannable-area.c: Replaced the time based algorithm
7976 (hildon_pannable_area_motion_notify_cb): now we do not launch the
7977 timeout for the AUTO mode when we are still moving the cursor. We
7978 added also the velocity calculation in this function.
7979 (hildon_pannable_area_button_release_cb): launch the timeout in
7980 case we are in AUTO mode. There are still some constants here that
7981 come from the old implementation that should be reviewed and
7984 2008-05-15 Alberto Garcia <agarcia@igalia.com>
7986 * doc/hildon-docs.sgml
7989 * src/hildon-stackable-window.c
7990 * src/hildon-stackable-window.h
7992 New HildonStackableWindow widget
7994 * examples/hildon-dialog-example.c
7995 * examples/hildon-pannable-area-example.c
7998 2008-05-14 Alberto Garcia <agarcia@igalia.com>
8000 * src/hildon-dialog.c
8001 (hildon_dialog_new_with_buttons): New constructor.
8003 * examples/hildon-dialog-example.c
8004 (main): Update the example to use the new
8005 hildon_dialog_new_with_buttons().
8007 * examples/hildon-pannable-area-example.c
8008 (main): Update example.
8010 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8012 * doc/hildon-docs.sgml
8014 Added HildonPannableArea to the documentation.
8016 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8018 * doc/visual_index.xml
8019 Fix reference to HildonLoginDialog in documentation
8021 * doc/hildon-docs.sgml
8023 * examples/Makefile.am
8024 * examples/hildon-dialog-example.c
8026 * src/hildon-dialog.c
8027 * src/hildon-dialog.h
8029 New HildonDialog widget.
8031 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8033 * src/hildon-pannable-area.c
8034 Merge latest changes (r4318, r4342) from libmokoui trunk
8036 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8038 * examples/Makefile.am
8039 * examples/hildon-pannable-area-example.c
8041 * src/hildon-pannable-area.c
8042 * src/hildon-pannable-area.h
8044 New HildonPannableArea widget.
8046 2008-04-15 18:05:19 <timj@imendio.com>
8048 * src/hildon-banner.c: revert the recent change, that introduced
8049 gtk_window_present() calls. this reopens:
8050 Bug 78481 - [freetest] information banners are hidden under browser menu
8051 But resolves another variant of:
8052 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8054 2008-04-15 13:21:13 <timj@imendio.com>
8056 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8057 recreated its layout, spotted by Kris. this fixes all remaining
8058 artefacts and stability issues with the banner code. in particular:
8059 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8061 2008-04-14 16:52:59 <timj@imendio.com>
8063 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8064 operating on unrealized widgets, fixes:
8065 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8067 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8069 2008-04-09 Kristian Rietveld <kris@imendio.com>
8071 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8072 makes banner disappear.
8073 Fixes: NB#79182: info banner flickering with certain message lengts.
8075 * src/hildon-banner.c (hildon_banner_constructor),
8076 (hildon_banner_init), (hildon_banner_set_text),
8077 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8078 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8079 FALSE, reset size requests of label and banner,
8080 (force_to_wrap_truncated): when the text is too wide, always enforce
8081 the maximum possible width instead of recalculating it from the
8082 layout; enforce the maximum banner height of 3 lines,
8083 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8084 nicer wrapping and no truncated chars if space gets tight.
8086 * src/hildon-banner-private.h: add has_been_wrapped and
8087 has_been_truncated fields.
8089 2008-04-07 Sven Herzberg <sven@imendio.com>
8091 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8092 local values in hildon_date_editor_size_allocate
8094 * src/hildon-date-editor.c: moved the real allocation code into the
8097 2008-04-07 Sven Herzberg <sven@imendio.com>
8099 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8100 local values in hildon_date_editor_size_allocate
8102 * src/hildon-date-editor.c: merged the two if() branches together
8104 2008-04-07 Sven Herzberg <sven@imendio.com>
8106 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8107 local values in hildon_date_editor_size_allocate
8109 * src/hildon-date-editor.c: changed the arguments of the if()
8112 2008-04-07 Sven Herzberg <sven@imendio.com>
8114 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8115 local values in hildon_date_editor_size_allocate
8117 * src/hildon-date-editor.c: split the calculation of the allocation
8118 from the real allocation
8120 2008-03-27 Michael Natterer <mitch@imendio.com>
8122 Fixes: NB#81696: The passcode is not overwritten even after
8125 * src/hildon-code-dialog.c
8126 (hildon_code_dialog_button_clicked)
8127 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8128 because that doesn't overwrite selected text. Instead, emit the
8129 "commit" signal on the entry's im_context so the entry's normal
8130 insert logic is triggered. Set the cursor to the end of the entry
8131 after each insert operation so that we *only* insert in the middle
8132 of the text if something was selected.
8134 2008-03-27 Michael Natterer <mitch@imendio.com>
8136 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8137 selector cannot be opened
8139 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8140 when the popup color selector is created. Please connect to this
8141 signal in order to set the dialog's help ID.
8143 2008-03-25 Sven Herzberg <sven@imendio.com>
8145 Fixes: MB#1212: Hide info banners (infoprints) on click
8147 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8148 extracted the close event simulation into an extra function
8149 (hildon_banner_button_press_event): simulate a close event and destroy
8150 the widget if the event wasn't handled
8151 (hildon_banner_class_init): added the button_press_event handler
8152 (hildon_banner_init): added button-press events to the widget
8154 2008-03-25 Sven Herzberg <sven@imendio.com>
8156 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8157 Patch from: Mohammad Anwari <mdamt@maemo.org>
8159 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8160 instead of the right in RTL mode
8161 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8162 breadcrumb button list in RTL mode
8163 * src/hildon-caption.c: mirror the appearance of the caption widget in
8165 * src/hildon-date-editor.c: mirror appearance of the date editor in
8167 * src/hildon-time-editor.c: mirror appearance of the time editor in
8169 * src/hildon-window.c: fix the position of the popup in RTL mode
8171 2008-03-25 Sven Herzberg <sven@imendio.com>
8173 Amendment to the fix of NB#22072. Fix compilation.
8175 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8177 2008-03-19 Sven Herzberg <sven@imendio.com>
8179 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8182 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8183 timeout id properly when the timeout will disappear this leaves no
8184 artifacts around in the destroy(); there will only be the timeout
8185 created by hildon_banner_ensure_timeout() and adding a new timeout
8186 will also work if the timeout gets removed because the timeout_handler
8189 2008-03-19 Michael Natterer <mitch@imendio.com>
8191 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8193 * src/hildon-volumebar.c
8194 * src/hildon-vvolumebar.c
8195 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8196 the widget becomes focussable at all.
8198 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8199 set the focus to wither the mute button or the volumebar.
8201 Remove own "can-focus" property and instead listen to
8202 notify::can-focus in order to update the widget's state.
8204 Implement GtkWidget::focus() and make sure we can also *leave* the
8205 widget, not only enter it, depending on volumebar orientation and
8206 requested focus direction.
8208 Clean up set_mute() to cooperate nicely with all the above.
8210 2008-03-04 Michael Natterer <mitch@imendio.com>
8212 Fixes: NB#78481: information banners are hidden under browser menu
8214 * src/hildon-banner.c: call gtk_window_present() on the banners so
8215 they are risen if they are already visible.
8217 2008-03-03 Sven Herzberg <sven@imendio.com>
8219 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8221 * examples/hildon-window-menu-example.c: (main): extended the window
8222 menu example to serve as a testcase for automatically added
8223 accelerator groups, too
8224 * src/hildon-window.c: (hildon_window_add_accel_group),
8225 (hildon_window_set_menu): added patch by Tommi Komulainen
8227 2008-03-03 Sven Herzberg <sven@imendio.com>
8229 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8231 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8232 knowledge about the border allocators used within GTK+
8234 2008-02-26 Sven Herzberg <sven@imendio.com>
8236 Fixes: MB#2981: Build with asserts broken
8238 * src/hildon-date-editor.c,
8239 * src/hildon-number-editor.c,
8240 * src/hildon-time-editor.c,
8241 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8242 the proper GType instance check
8244 2008-02-25 Sven Herzberg <sven@imendio.com>
8246 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8248 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8249 * examples/hildon-window-menu-example.c: (main): explicitly show
8251 * src/hildon-window.c:
8252 (hildon_window_set_main_menu): moved most of the code from set_menu()
8253 to this place; skipped the call to gtk_widget_show_all(); also didn't
8254 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8255 (hildon_window_set_menu): removed most of the code, just keep the
8256 questionable gtk_widget_show_all()
8257 * src/hildon-window.h: added the new function and deprecate the old
8260 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8266 * debian/changelog: Updating.
8268 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8271 * pkgconfig/Makefile.am:
8272 * pkgconfig/hildon.pc.in:
8275 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8276 use newly created API_MAJOR_VERSION.
8278 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8284 * debian/changelog: Updating.
8286 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8288 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8290 Add outer_border style property, we use it but don't define it (!).
8294 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8296 * examples/hildon-bread-crumb-trail-example.c (main):
8300 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8302 Fix logic for the bread crumb trail node removal.
8306 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8312 * debian/changelog: Updating.
8314 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8316 Patch by Alejandro to get/set passwords dialogs accesibility.
8318 * hildon-1/src/hildon-get-password-dialog.c:
8319 * hildon-1/src/hildon-set-password-dialog.c:
8320 Set atk_set_name to the passwd entries in order to allow
8321 accessibility by name on this entries.
8323 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8328 * debian/control: Updating gtk dep.
8330 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8332 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8333 USE_MAEMO_GTK is enabled.
8335 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8337 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8338 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8340 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8346 * debian/changelog: Updating.
8348 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8350 * examples/Makefile.am:
8351 * examples/hildon-logical-color-example.c:
8352 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8353 applied + adding a test case. Fixes: NB#71660.
8355 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8357 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8358 to be visible, fixes warning on map for windows without toolbars.
8360 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8362 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8363 2.11.0, add a check for that besides the MAEMO_GTK check.
8365 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8371 * debian/changelog: Updating.
8373 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8375 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8376 visibility. Fixes: NB#70842 and MB#615.
8378 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8380 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8381 set the separator as no-show-all so it doesn't unintentionally appear when
8382 someone does a show_all.
8384 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8386 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8387 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8388 toplevel item. Fixes: NB#62031
8390 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8392 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8393 fix the name of the function in the docs.
8395 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8401 * debian/changelog: Updating.
8403 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8405 * examples/hildon-banner-long-example.c: Adding a test-case for long
8408 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8410 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8412 * src/hildon-color-chooser-dialog.c:
8413 * src/hildon-color-chooser.c:
8414 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8415 memory leaks in font selector and color selector. Fixes: NB#70499 and
8418 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8420 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8422 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8424 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8425 little bit bigger. Fixes: #NB63694.
8427 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8433 * debian/changelog: Updating.
8435 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8438 * doc/hildon-docs.sgml:
8439 * doc/images/bread-crumb-trail.png:
8440 * doc/images/calendar-popup.png:
8441 * doc/images/caption.png:
8442 * doc/images/code-dialog.png:
8443 * doc/images/color-button.png:
8444 * doc/images/color-chooser-dialog.png:
8445 * doc/images/color-chooser.png:
8446 * doc/images/controlbar.png:
8447 * doc/images/date-editor.png:
8448 * doc/images/font-selection-dialog.png:
8449 * doc/images/get-password-dialog.png:
8450 * doc/images/hvolumebar.png:
8451 * doc/images/login-dialog.png:
8452 * doc/images/note.png:
8453 * doc/images/number-editor.png:
8454 * doc/images/range-editor.png:
8455 * doc/images/seekbar.png:
8456 * doc/images/set-password-dialog.png:
8457 * doc/images/sort-dialog.png:
8458 * doc/images/time-editor.png:
8459 * doc/images/time-picker.png:
8460 * doc/images/vvolumebar.png:
8461 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8462 Adding the bread-crumb-trial and helpers to the documentation.
8464 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8466 * examples/hildon-find-toolbar-example.c:
8467 * src/hildon-find-toolbar.c:
8468 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8469 actually continue firing the other handlers if connected. Adding a new
8471 hildon_find_toolbar_get_last_index that gets the index of the most
8472 recently added (last) item. Fixes: NB#52301.
8474 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8476 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8477 behaviour. Fixes: NB#68610.
8479 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8481 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8484 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8486 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8487 when realizing the banner. Should make the infonbanner effect a bit more
8490 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8492 * src/hildon-volumebar.c:
8493 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8494 hildon_volumebar_set_range_insensitive_message and
8495 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8497 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8499 * src/hildon-window.c: Fixing the border freeing on destroy.
8501 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8503 * src/hildon-code-dialog-private.h:
8504 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8505 kw keyboard support in HildonCodeDialog.
8507 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8513 * debian/changelog: Updating.
8515 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8517 * src/hildon-date-editor.c:
8518 * src/hildon-number-editor.c:
8519 * src/hildon-private.c:
8520 * src/hildon-private.h:
8521 * src/hildon-time-editor.c:
8522 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8523 handling in subclassed composite widgets. Fixes: NB#66628.
8525 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8527 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8528 from destroy_ callback as it introduces problems in async dbus signal
8529 handlers. Fixes NB#66673.
8531 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8533 * examples/hildon-hvolumebar-example.c:
8534 * src/hildon-volumebar.c: Improving the focus handling in the
8535 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8536 set_property accessor so that "mute" property can be actually set. I'm
8537 scared that nobody noticed it's totally broken.
8539 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8541 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8544 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8546 * src/hildon-calendar.c:
8547 * src/hildon-number-editor.c:
8548 * src/hildon-time-picker.c: Changing the timeout repeat so that it
8549 matches the spec of 6 chars per second. Fixes: NB#60489.
8551 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8553 * src/hildon-helper.c: Really fixing NB#58352. Looks like
8554 gtk_style_lookup_color sometime returns FALSE even though color was
8555 found and values were filled properly. Weird. Removing the warning for the
8558 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8560 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8561 expand vertically. Adding some extra space to the find toolbar buttons to
8562 make them thumbable. Fixes NB#66060.
8564 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8566 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8567 popup with "Ok" and "Cancel". Fixes NB#59299.
8569 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8571 * src/hildon-calendar.c: Process all window updates before executing next
8572 timeout. Fixes: NB#54146.
8574 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8580 * debian/changelog: Updating.
8582 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8584 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8585 the client event and ignore it, since we use the delete event to close
8588 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8590 * src/hildon-helper.c: Remove the bogus warning about color not being
8591 found. Fixes NB#58352.
8593 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8595 * examples/Makefile.am:
8596 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8597 HildonSeekbar widget inside a toolbar.
8599 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8601 * src/hildon-banner.c (hildon_banner_init): mark the banners as
8602 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8603 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8604 don't want to be closed by non-temporary windows on map.
8606 Also use G_DEFINE_TYPE instead of manually typed code.
8608 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8615 * debian/rules: Updating.
8617 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8619 * examples/Makefile.am:
8620 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8621 bug NB#61128. Strangely it works.
8623 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8625 * src/hildon-date-editor.c: When the date editor entry has been changed
8626 but the numbers of characters < max, turn off the skip validation flag.
8627 Prevents a situation when we enter first a valid year and later re-write
8628 it with an invalid one. Fixes NB#60154.
8630 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8632 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
8633 code dialog. Fixes NB#64355.
8635 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8637 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
8638 switching the page. Fixes NB#49374.
8640 * examples/Makefile.am:
8641 * examples/hildon-wizard-dialog-example.c: Adding an example for
8642 HildonWizardDialog that shows how to handle manual sensitivity setting on
8645 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8649 * src/hildon-version.h.in:
8650 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
8652 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8654 * src/hildon-volumebar.c: Updating the docs.
8656 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8662 * debian/changelog: Updating.
8664 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8666 * src/hildon-find-toolbar.c:
8667 * src/hildon-find-toolbar.h: Adding a few new functions to control the
8668 selected item: hildon_find_toolbar_set_active,
8669 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
8670 hildon_find_toolbar_get_active_iter . They correspond to respective
8671 GtkComboBox functions.
8673 * examples/Makefile.am:
8674 * examples/hildon-find-toolbar-example.c: Adding the example to test the
8677 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8679 * examples/Makefile.am:
8680 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
8683 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
8684 when font size > 32 and we pack a focusable widget inside. Actually using
8685 the default response would work too, but since we don't show default
8686 response state in any way (no theming) it would not be visible to the
8687 user. Fixes NB#63430.
8689 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8691 * src/hildon-date-editor.c: Adding the missing variable setter in the
8692 set_property handler. Fixes NB#54182.
8694 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8696 * src/hildon-window.h: Changing the long key press time from 1500ms to
8697 800ms as requested in NB#63700. I have a bad feeling about this, let's
8698 see... Fixes NB#63700.
8700 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
8702 * src/hildon-time-picker.c (hildon_time_picker_class_init,
8703 hildon_time_picker_map, hildon_time_picker_realize,
8704 hildon_time_picker_style_set): Split the contents of map to more
8705 appropriate functions; set window decorations on realize and update
8706 arrows' size requisitions on style-set. Avoids unnecessary resizing.
8708 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
8713 * debian/changelog: Updating.
8715 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
8717 * src/Makefile.am: fixed installation of the header files
8719 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8725 * debian/changelog: Updating.
8727 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8729 * configure.ac: Removing some remaining of --enable-xan.
8731 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
8733 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
8734 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
8736 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
8737 2.10.12-osso6 because the move-focus signal needs to be available in
8740 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8742 * examples/Makefile.am:
8743 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
8744 that makes a HildonVolumebar insensitive before mapping it. Seems to work
8745 fine. Prolly NB#61128 is fixed now.
8747 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8749 * src/hildon-volumebar.c:
8750 * src/hildon-volumebar.h: Adding the
8751 hildon_volumebar_set_range_insensitive_message and
8752 hildon_volumebar_set_range_insensitive_messagef functions to set
8753 insensitive message on the slider of the volumebar. Fixes NB#61129.
8755 * examples/Makefile.am:
8756 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
8757 test the new insensitive messsage functionality on HildonVolumebar.
8759 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
8761 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
8764 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
8766 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
8767 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
8768 button on after clearing the trail.
8770 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8772 * src/hildon-code-dialog.c: Removing the separator from the dialog.
8774 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8776 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
8777 by splitting the installed headers in generated and non-generated groups. Use
8778 only the non-generated headers to create the hildon-enum-types.h file.
8780 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
8782 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8784 * src/hildon-window.c: Hide the window before performing the destroy.
8785 Should make the app closing a little tiny bit more snappy.
8787 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8789 * src/hildon-seekbar.c: add gtkrange.h header
8790 * src/hildon-caption.c: remove unused variable
8792 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
8794 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
8797 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8803 * debian/changelog: Updating.
8805 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
8807 * src/hildon-window.c (hildon_window_window_state_event,
8808 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
8809 escape timeout on focus-out-event rather than notify::is-topmost; the
8810 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
8812 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8814 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
8815 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
8817 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8819 * src/hildon-window: actually, you need to use the macro always, there's
8820 no private pointer in the instance structure. We should have cleaned this up
8821 when we had the chance...
8823 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8825 * src/hildon-window.c: do not get the private date from HildonWindow before
8826 it passes the g_return_if_fail check. Once it's passed the test, there's no
8827 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
8828 if you are only going to access the data once. Whitespace cleanups.
8830 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
8832 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8833 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8835 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8841 * debian/changelog: Updating.
8843 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8845 * src/hildon-window.c: When destroying the window, remove (if exists) the
8846 escape timeout handler. Fixes #NB59276.
8848 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8850 * src/hildon-banner.c: When realizing the widget, set the window
8851 transiency. Setting the transiency in the gobject constructor is not
8852 good, as the widget is not realized at that point. Fixes: #NB56624.
8854 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8856 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
8857 Add padding for future expansions.
8859 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8861 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
8862 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
8863 will fake an activation on the previous to the last item of the trail, so
8864 the effect can be overrided by the developer as usual.
8865 Also change the callback for the back button to do the same thing, so its
8866 effect can be overrided too. Fixes: NB#58982
8868 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8870 * src/hildon-caption.c: Implementing the proper focus grabbing in the
8871 HildonCaption. Fixes NB#52379.
8873 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8875 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
8876 the internal state of the trail after the user has had the chance of executing
8877 his handler for the signal. Specifically, it may happen that the activated button
8878 is removed and the user still lets the default handler run. This would segfault
8881 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8883 * src/hildon-font-selection-dialog.c: When the font is really big, add the
8884 scrollbar to the preview dialog. Fixes NB#54147.
8886 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8888 * src/hildon-date-editor.c: Changing the default max year to 2037. The
8889 max/min year properties can be altered, so the client can modify it
8890 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
8892 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8894 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
8895 hildonlike by default. Fixing a problem with disappearing arrows when
8896 scrolling through months and years. Fixes NB#54127.
8898 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8900 * examples/hildon-date-editor-example.c: Adding error callback to the date
8903 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8909 * configure.ac: Updating.
8911 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8913 * configure.ac: Adding a special '--enable-xan' configure option that
8914 turns off the -Werror compilation setting. Usefull for development.
8916 * src/hildon-calendar.c:
8917 * src/hildon-number-editor.c:
8918 * src/hildon-time-picker.c: Adding the 5* multiplier to
8921 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
8923 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
8924 instead of g_object_ref + gtk_object_sink.
8926 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8932 * debian/changelog: Updating.
8934 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8936 * src/hildon-color-chooser-dialog.c:
8937 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
8938 straight from Tommi labs.
8940 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8942 * examples/hildon-finger-example.c: Correcting the header file path.
8944 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
8945 the changed signal. Fixes a small memory leak.
8947 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8951 * src/hildon-banner.c: Importing several usefull fixes from the
8952 ubuntu-mobile branch.
8954 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8956 * examples/Makefile.am:
8957 * examples/hildon-finger-example.c: Adding a finger-checking code
8960 * src/hildon-font-selection-dialog.c: Do not allocate the color
8961 structure using the g_new. Fixes NB#54061.
8963 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8965 * src/hildon-helper.c: Correcting tabs in file.
8967 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
8969 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
8970 control the visibility of the children.
8972 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
8974 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8980 * debian/changelog: Updating.
8982 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8984 * src/hildon-bread-crumb-trail.c:
8985 (hildon_bread_crumb_trail_size_allocate):
8987 Make the back button always a square.
8989 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8991 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
8992 from the .c file as it's a private file.
8994 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8996 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
8997 uses slightly bigger height.
8999 * src/hildon-font-selection-dialog.c: Adding some checks before
9000 freeing memory in the font selection dialog.
9002 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9004 * src/hildon-font-selection-dialog.c: Adding a small check when
9007 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9008 buttons sensitivity on page switching.
9010 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
9012 * src/hildon-bread-crumb-trail.c: make the add method handle all the
9013 internal details of adding a bread crumb to the trail.
9015 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9021 * debian/changelog: Updating.
9023 * src/hildon-bread-crumb-trail.h:
9024 * src/hildon-bread-crumb.h: Changing the API guard to
9025 HILDON_ENABLE_UNSTABLE_API.
9027 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9035 * src/hildon-helper.h: Updating.
9037 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9045 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9049 * src/hildon-helper.h: Small fix to make the package actually compile.
9051 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9053 * src/hildon-bread-crumb-trail.h:
9054 * src/hildon-bread-crumb.h:
9056 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9057 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9059 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9061 * examples/hildon-bread-crumb-trail-example.c:
9063 * src/hildon-bread-crumb-trail.c:
9064 * src/hildon-bread-crumb-trail.h:
9065 * src/hildon-bread-crumb.c:
9066 * src/hildon-bread-crumb.h:
9067 * src/hildon-marshalers.list:
9068 * src/hildon-bread-crumb-widget.c:
9069 * src/hildon-bread-crumb-widget.h:
9071 Slight change in the widget design. The bread crumb trail API is
9072 unchanged, but HildonBreadCrumb is now an interface. A *private*
9073 implementation, hildon-bread-crumb-widget, is provided and used
9074 internally by the trail for the push_text/push_icon functions.
9076 The generic push API is still available, so anyone can implement
9077 and use its own bread crumb widget.
9079 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9081 * debian/rules: Fixing the shlibs.
9083 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9085 * src/hildon-banner.c: Fixing a problem with timed banners having
9086 their parrent destroyed before they are.
9088 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9090 * src/hildon-bread-crumb.c:
9091 * src/hildon-bread-crumb.h:
9093 Make the get_natural_size function a vfunc.
9095 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9097 * src/hildon-bread-crumb.c:
9098 * src/hildon-bread-crumb-trail.c:
9102 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9109 * debian/changelog: Updating for release.
9111 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9113 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9114 don't leak the pango layout.
9116 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9119 * examples/hildon-bread-crumb-trail-example.c:
9123 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9125 * debian/changelog: Removing the bug-fixed entries that were actually
9126 resolved as WONTFIX.
9128 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9131 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9133 * src/hildon-bread-crumb-trail.c:
9134 * src/hildon-bread-crumb-trail.h:
9135 * src/hildon-bread-crumb.c:
9136 * src/hildon-bread-crumb.h:
9140 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9142 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9143 until it's passed the type check.
9145 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9147 * examples/hildon-bread-crumb-trail-example.c
9151 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9153 * examples/Makefile.am
9154 * examples/hildon-bread-crumb-trail-example.c
9156 * src/hildon-bread-crumb-trail.c
9157 * src/hildon-bread-crumb-trail.h
9158 * src/hildon-bread-crumb.c
9159 * src/hildon-bread-crumb.h
9161 New HildonBreadCrumbTrail widget.
9163 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9165 * src/hildon-range-editor.c (hildon_range_editor_init),
9166 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9167 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9168 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9169 hildon_time_editor_class_init, hildon_time_editor_init),
9170 src/hildon-get-password-dialog.c (invalid_input,
9171 hildon_get_password_set_property, hildon_get_password_get_property,
9172 create_contents, hildon_get_password_dialog_set_max_characters),
9173 src/hildon-set-password-dialog.c (create_contents),
9174 src/hildon-date-editor.c (hildon_date_editor_init),
9175 src/hildon-login-dialog.c (hildon_login_dialog_init),
9176 src/hildon-number-editor.c (hildon_number_editor_init),
9177 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9178 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9179 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9180 configure option and adding the respective checks in the code.
9181 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9182 hildon_calendar_drag_data_received): fixed some build warnings.
9184 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9186 * debian/changelog: A 1.0.0 release notes.