1 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
3 * configure.ac: postrelease version bump.
4 * debian/changelog: post release version bump
6 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
11 * configure.ac: Bump version.
12 * debian/changelog: Updates.
14 2009-06-29 Adam Endrodi <adam.endrodi@blumsoft.eu>
16 * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
19 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
21 * tests/check-hildon-banner.c
24 Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
25 were testing deprecated functions.
26 * examples/hildon-banner-example.c: typo on button3 type, that causes
27 a fail compiling with --with-examples but without --disable-deprecated
29 Missed commit in order to fix compilation using '--enable-fatal' and
30 '--disable-deprecated' (see previous commit)
32 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
34 * examples/hildon-banner-example.c: Protect deprecated hildon-banner
35 functions with #ifndef HILDON_DISABLE_DEPRECATED
36 * examples/hildon-find-toolbar.c: Protect deprecated
37 HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
38 * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
39 in favor of HILDON_ICON_PIXEL_SIZE_FINGER
40 * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
42 * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
43 to allow proper compilation of deprecated functions defined on the header
45 Fixed compilation using '--enable-fatal' and '--disable-deprecated'
47 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
49 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
50 Cache the panning indicator color.,
51 (hildon_pannable_area_style_set): Query the color on style changes.
52 (hildon_pannable_draw_vscroll),
53 (hildon_pannable_draw_hscroll),
54 (hildon_pannable_area_expose_event): Use the cached panning indicator
55 color instead of looking it up on every expose and more.
57 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
59 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
60 (hildon_pannable_draw_hscroll),
61 (hildon_pannable_area_expose_event): Fix the panning indicator color,
62 so that it's "SecondaryTextColor", as desired.
64 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
66 * hildon/hildon-picker-dialog.c:
67 (selection_completed): take into account HILDON_UI_MODE_NORMAL
68 * hildon/hildon-touch-selector.c
69 (hildon_touch_selector_init): Initialize hildon-ui-mode
70 (hildon_touch_selector_row_activated): new callback for the
71 "row-activated" signal, in order to save the last activated
72 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
73 if the current hildon-ui-mode is coherent with the touch selector
74 (hildon_touch_selector_class_init)
75 (hildon_touch_selector_get_property)
76 (hildon_touch_selector_set_property)
77 Added "hildon-ui-mode" property
78 (disconnect_model_handlers): renamed to clean_column
79 (hildon_touch_selector_remove): use clean_column function
80 (_create_new_column): use the hildon-ui-mode to create the treeview, and
81 only select the first element on HILDON_UI_MODE_EDIT
82 (hildon_touch_selector_column_init): Initialize last_activate
83 (hildon_touch_selector_append_column): check that the touch selector
84 is coherent with the current hildon-ui-mode
85 (hildon_touch_selector_get_hildon_ui_mode)
86 (hildon_touch_selector_set_hildon_ui_mode)
87 Added a getter/setter for the hildon-ui-mode property
88 (hildon_touch_selector_get_last_activated_row): Added this method in
89 order to get the last activated row.
90 * examples/hildon-touch-selector-normal-mode-example.c
91 New example, that shows how to use the HildonTouchSelector in
94 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
95 Kristian Rietveld <kris@lanedo.com> advices
97 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
99 * hildon/hildon-time-selector.c: (update_format_policy): Do
100 not call update_format_dependant_columns() if not necessary.
101 (update_format_dependant_columns): Remove unnecessary check for
102 the number of columns.
104 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
106 * hildon/hildon-note.c (+hildon_note_constructor),
107 (hildon_note_class_init), (+hildon_note_set_padding),
108 (hildon_note_rebuild): Install a constructor where to set the
109 padding properties in the note, so that it actually works fine.
110 Use hildon_note_set_padding() for this, and also to set it during
113 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
115 * configure.ac: Bump GTK+ requirement to 2.14.3.
116 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
117 when using maemo-gtk to define proper margins for the notes.
119 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
120 with the dialog edge)
122 2009-06-24 Alberto Garcia <agarcia@igalia.com>
124 * hildon/hildon-banner.c
125 (hildon_banner_class_init):
127 (+hildon_banner_size_request):
128 Request always the full width of the screen.
129 (hildon_banner_realize)
130 (-hildon_banner_check_position, hildon_banner_map):
131 hildon_banner_check_position() is not needed in Hildon 2.2.
132 (-hildon_banner_reset_wrap_state)
133 (hildon_banner_constructor, hildon_banner_init):
134 Remove unnecessary calls to hildon_banner_reset_wrap_state()
135 (+banner_do_set_text)
136 (force_to_wrap_truncated):
137 Remove has_been_wrapped and has_been_truncated attributes.
138 (+reshow_banner, hildon_banner_real_show_information)
139 (hildon_banner_show_information_with_markup)
140 (hildon_banner_show_animation, hildon_banner_show_progress)
141 (hildon_banner_set_text, hildon_banner_set_markup):
142 Refactor code. Shrink banner vertically to use the minimum space
143 necessary everytime the text of the label is updated.
144 (screen_size_changed):
145 Call force_to_wrap_truncated() when the size of the screen
148 Fixes: NB#120500 (only device memory connect mmc in use info
149 banner is left aligned)
151 Fixes: NB#120613 (Size of HildonBanner varies depending on
152 previously opened banners)
154 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
156 * hildon/hildon-color-chooser.c
157 (hildon_color_chooser_pointer_motion): Take the widget allocation
160 Fixes: NB#124385 (Unable to select exact point in color mixing box
161 in color palette dialog)
163 2009-06-23 Alejandro G. Castro <alex@igalia.com>
165 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
166 (hildon_pannable_area_dispose)
167 (hildon_pannable_area_button_press_cb)
168 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
169 (hildon_pannable_area_button_release_cb)
170 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
171 New 'panning-started' and 'panning-finished' signals.
173 Fixes: NB#121732 (New feature request: Signal to pannable area
174 that informs when panning is stopped.)
176 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
178 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
179 instead of hardcoded colon.
181 Fixes: NB#124090 (New calendar wizard title is not using
182 ecdg_ti_caption_separator)
184 2009-06-22 David King <davidk@openismus.com>
186 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
187 constants and functions, as well as correct many typos throughout the
190 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
193 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
195 * configure.ac: postrelease version bump.
196 * debian/changelog: post release version bump
198 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
203 * configure.ac: Bump version.
204 * debian/changelog: Updates.
206 2009-06-18 Alberto Garcia <agarcia@igalia.com>
208 * hildon/hildon-window-stack.c
209 (hildon_window_stack_pop_and_push_list):
210 Prevent windows from having the same stack index
212 2009-06-18 Alberto Garcia <agarcia@igalia.com>
214 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
215 Use the index of the previous window rather than the stack length
216 to calculate the new index.
220 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
222 * hildon/hildon-date-selector.c
223 (hildon_date_selector_select_current_date)
224 (hildon_date_selector_get_date)
225 (hildon_date_selector_select_day):
226 Update the documentation: uses always the range (1-31), as it is obvious
227 that the final one will depend on the month and the year, but globally
228 the range is this, in a similar GtkCalendar approach
229 (hildon_date_selector_get_date):
230 Update the documentation: add NULL as a valid value for the day, month
233 Fix some details, after talk with David King on bug MB#4698
235 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
237 * hildon/hildon-touch-selector-entry.c
238 * hildon/hildon-touch-selector.c
239 Update the documentation of the "text-column" property
241 2009-06-18 David King <davidk@openismus.com>
243 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
244 several typos and errors throughout the documentation.
246 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
249 2009-06-18 Alberto Garcia <agarcia@igalia.com>
251 * hildon/hildon-note.c (hildon_note_realize):
252 Make HildonNote support portrait mode.
254 Fixes: NB#123448 (HildonNote is not portrait-friendly)
256 2009-06-17 Alberto Garcia <agarcia@igalia.com>
258 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
259 Document this function
261 2009-06-17 David King <davidk@openismus.com>
263 * hildon/hildon-date-selector.c
264 (hildon_date_selector_select_current_date)
265 (hildon_date_selector_get_date): Update documentation regarding days,
266 as the day of the month is dependent on both the month and the year.
267 (hildon_date_selector_get_date): Fix documentation of output arguments.
269 Fixes: MB#4698 (DateSelector documentation has bad output argument
270 description, and the day depends on both the month and the year)
272 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
274 * hildon/hildon-caption.c: Other documentation fixes to
277 2009-06-17 David King <davidk@openismus.com>
279 * hildon/hildon-caption.c: Minor documentation updates for
280 HildonCaption. Fixes MB#4697.
282 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
284 * doc/hildon-docs.sgml: Add hildon-version section.
285 * doc/hildon-sections.txt:
286 * hildon/hildon-version.h.in: Document versioning macros and
289 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
291 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
292 from HildonPickerDialog section.
294 2009-06-16 Alberto Garcia <agarcia@igalia.com>
296 * hildon/hildon-banner.c (hildon_banner_bind_style)
297 (screen_size_changed, hildon_banner_init)
298 (hildon_banner_real_show_information)
299 (hildon_banner_show_information_with_markup)
300 (hildon_banner_show_animation, hildon_banner_show_progress):
301 Set a different widget name to banners in portrait mode, for them
302 to be themed correctly.
304 2009-06-16 Alberto Garcia <agarcia@igalia.com>
306 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
307 Set a different widget name to notes in portrait mode, for them to
310 Partially fixes: NB#118401 (HildonNote causes unnecessary
313 2009-06-16 Alberto Garcia <agarcia@igalia.com>
315 * hildon/hildon-note.c (hildon_note_class_init)
316 (+hildon_note_size_request, screen_size_changed):
317 Always request the full width of the screen.
319 Fixes: NB#118375 (unnecessary rescaling of images)
321 2009-06-16 Alejandro G. Castro <alex@igalia.com>
323 * hildon/hildon-pannable-area.c,
324 (hildon_pannable_area_init),
325 (hildon_pannable_area_realize): Replaced old code adding flags in
326 the object init, now we add it with the other flags in the realize
329 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
331 * hildon/hildon-note.c: (hildon_note_class_init): Several
332 documentation improvements to the HildonNote widget.
334 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
336 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
338 Fixes: MB#4556 (HildonNoteType is undocumented)
340 2009-06-15 Alberto Garcia <agarcia@igalia.com>
342 * hildon/hildon-picker-button.c:
343 Explain how HildonPickerButton sets the title of its dialog
345 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
346 the title of its dialog)
348 2009-06-15 Alberto Garcia <agarcia@igalia.com>
350 * hildon/hildon-check-button.c:
351 Documentation updates
353 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
356 2009-06-15 Alberto Garcia <agarcia@igalia.com>
359 * hildon/hildon-edit-toolbar-private.h
360 * hildon/hildon-edit-toolbar.c
361 (+hildon_edit_toolbar_set_progress_indicator)
362 (hildon_edit_toolbar_init): Add progress indicator to the
365 * hildon/hildon-gtk.c
366 (hildon_gtk_window_set_progress_indicator):
367 If the window contains a HildonEditToolbar, enable the progress
370 * hildon/hildon-private.h
371 * hildon/hildon-private.c
372 (+hildon_private_create_animation)
373 * hildon/hildon-banner.c
374 (-hildon_banner_create_animation):
375 Moved to hildon-private.c
377 Fixes: NB#102373 (Progress indicator also for the Edit mode
380 2009-06-15 Alberto Garcia <agarcia@igalia.com>
382 * hildon/hildon-app-menu-private.h
383 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
384 (hildon_app_menu_add_filter, +menu_item_button_event)
385 (hildon_app_menu_button_release, hildon_app_menu_init):
386 Make sure that buttons receive 'button-release-event' in spite of
387 the grab held by HildonAppMenu
389 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
391 2009-06-15 Alberto Garcia <agarcia@igalia.com>
393 * hildon/hildon-app-menu.c
394 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
395 New style property to set the size of the group of filter buttons.
397 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
399 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
404 * configure.ac: Bump version.
405 * debian/changelog: Updates.
407 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
409 * hildon/hildon-main.c: Minor documentation fixes.
411 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
413 * doc/hildon-sections.txt:
414 * hildon/hildon-defines.h: Document the defines, organize them,
415 and mark deprecations as such.
417 Fixes: MB#4463 (Hildon size #defines are undocumented)
419 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
421 * hildon/hildon-animation-actor.c:
422 * hildon/hildon-app-menu.c:
423 * hildon/hildon-button.c:
424 * hildon/hildon-date-editor.c:
425 * hildon/hildon-dialog.c:
426 * hildon/hildon-edit-toolbar.c:
427 * hildon/hildon-entry.c:
428 * hildon/hildon-program.c:
429 * hildon/hildon-remote-texture.c:
430 * hildon/hildon-stackable-window.c:
431 * hildon/hildon-text-view.c:
432 * hildon/hildon-touch-selector.c:
433 * hildon/hildon-window-stack.c:
434 * hildon/hildon-window.c:
436 Remove redundant "represents" wording from most of the documentation.
438 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
440 2009-06-12 Alberto Garcia <agarcia@igalia.com>
445 * hildon/hildon-banner-private.h
446 * hildon/hildon-banner.c:
447 Move HildonBannerPrivate to hildon-banner.c and remove
448 hildon-banner-private.h
449 Use a bit field to store private booleans.
451 2009-06-12 Alberto Garcia <agarcia@igalia.com>
453 * hildon/hildon-app-menu.c (hildon_app_menu_map):
454 Don't install a new idle function if there's already one
459 2009-06-11 Alberto Garcia <agarcia@igalia.com>
461 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
462 (+legacy_menu_realized, +legacy_menu_unmapped)
463 (+set_legacy_menu_type):
464 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
465 they can be identified by the window manager.
467 Fixes: NB#101437 (Invoking CSM on the left side of page area is
468 displayed in wrong location)
470 Fixes: MB#4563 (Popup menu won't locate at the left side of the
473 2009-06-11 Alberto Garcia <agarcia@igalia.com>
475 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
477 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
480 2009-06-11 Alberto Garcia <agarcia@igalia.com>
482 * hildon/hildon-code-dialog.c
483 * hildon/hildon-date-editor.c
484 * hildon/hildon-number-editor.c
485 * hildon/hildon-seekbar.c
486 * hildon/hildon-stackable-window.c
487 * hildon/hildon-window.c:
488 Misc documentation updates
490 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
492 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
493 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
495 Fixes: NB#117931 (Theming issues in accounts dialogs)
497 2009-06-09 Alejandro G. Castro <alex@igalia.com>
499 * hildon/hildon-pannable-area.c,
500 (hildon_pannable_area_button_release_cb): Changed the coordinates
501 of the original release in case we want to discard the release,
502 some widgets in Fremantle do not handle the leave-notify.
504 2009-06-09 Alejandro G. Castro <alex@igalia.com>
506 * hildon/hildon-pannable-area.c,
507 (hildon_pannable_area_button_release_cb): Reviewed the logic of
508 the release using the last refactored functions and avoiding the
509 movement if an element was selected.
511 2009-06-09 Alejandro G. Castro <alex@igalia.com>
513 * hildon/hildon-pannable-area.c,
514 (hildon_pannable_area_check_move),
515 (hildon_pannable_area_handle_move),
516 (hildon_pannable_area_motion_notify_cb): Refactored the
517 motion_notify method using a couple of new functions.
519 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
521 * hildon/hildon-date-selector.c:
522 (hildon_date_selector_construct_ui):
523 * hildon/hildon-time-selector.c:
524 (hildon_time_selector_constructor):
525 * hildon/hildon-touch-selector-entry.c:
526 (hildon_touch_selector_entry_set_text_column),
527 (hildon_touch_selector_entry_get_text_column):
528 * hildon/hildon-touch-selector.c: (_default_print_func),
529 (hildon_touch_selector_new_text): Use
530 hildon_touch_selector_set/get_text_column() instead of
531 setting/getting the "text-column" property.
533 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
535 * doc/hildon-sections.txt: Add the new public methods below.
537 * examples/hildon-picker-button-multicolumn-example.c:
538 (create_touch_selector):
539 * examples/hildon-touch-selector-example.c: (create_selector):
540 * examples/hildon-touch-selector-multi-cells-example.c:
542 Use hildon_touch_selector_column_set_text_column()
544 * hildon/hildon-touch-selector-column.h:
545 * hildon/hildon-touch-selector.c:
546 (hildon_touch_selector_column_set_text_column),
547 (hildon_touch_selector_column_get_text_column):
548 Make hildon_touch_selector_column_set/get_column() public, use
549 them in the inline example, document them, and reference to them
552 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
554 * hildon/hildon-time-selector.c: Fix the docs for
555 hildon_time_selector_new_step().
557 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
559 * hildon/hildon-touch-selector.c: Improve the documentation for
560 hildon_touch_selector_append_column().
562 Fixes MB#4641 (Documentation:
563 hildon_touch_selector_append_column() ref-counting)
565 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
567 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
568 Comment out test 5, since the hildon_controlbar_set_range() range
569 check is broken and fixing it would have side effects. Also,
570 this finally fixes make distcheck.
572 Fixes: NB#101420 (Update unit tests and fix make distcheck)
574 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
576 * tests/TEST-CASES.txt: Remove other bogus test.
577 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
578 Remove bogus test that was setting/retrieving a valid value.
580 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
582 * tests/TEST-CASES.txt: Remove bogus tests.
583 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
584 Remove three bogus tests that were actually setting valid colors.
586 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
588 * configure.ac: post release version bump
589 * debian/changelog: post release version bump
591 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
596 * configure.ac: Bump version.
597 * debian/changelog: Updates.
599 2009-06-08 Christian Dywan <christian@lanedo.com>
603 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
604 Correct errors in hildon_format_file-size_for_display and use
605 translations from the hildon-fm package instead of osso-filemanager.
607 2009-06-08 Alejandro G. Castro <alex@igalia.com>
609 * hildon/hildon-pannable-area.c,
610 (hildon_pannable_area_init): Initialized new values to handle the
612 (hildon_pannable_area_adjust_value_changed): Check if the values
613 changed before even call the redraw function.
614 (hildon_pannable_area_size_allocate),
615 (hildon_pannable_axis_scroll),
616 (hildon_pannable_area_scroll),
617 (hildon_pannable_area_jump_to): Improved the diagonal movement
620 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
623 2009-06-08 Alberto Garcia <agarcia@igalia.com>
625 * examples/hildon-banner-example.c:
626 Several style updates
627 (on_animation_clicked, on_animation_idle)
628 (on_progress_clicked, on_progress_idle):
629 Add additional reference for the cases when the parent window is
632 2009-06-08 Alberto Garcia <agarcia@igalia.com>
634 * doc/hildon-sections.txt
635 * hildon/hildon-pannable-area.c
636 * hildon/hildon-banner.h
637 * hildon/hildon-banner.c: Documentation updates.
639 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
642 2009-06-05 Alejandro G. Castro <alex@igalia.com>
644 * hildon/hildon-calendar-popup.h:
645 * hildon/hildon-caption.h:
646 * hildon/hildon-code-dialog.h:
647 * hildon/hildon-controlbar.h:
648 * hildon/hildon-date-editor.h:
649 * hildon/hildon-dialog.h:
650 * hildon/hildon-get-password-dialog.h:
651 * hildon/hildon-hvolumebar.h:
652 * hildon/hildon-login-dialog.h:
653 * hildon/hildon-note.h:
654 * hildon/hildon-number-editor.h:
655 * hildon/hildon-range-editor.h:
656 * hildon/hildon-seekbar.h:
657 * hildon/hildon-set-password-dialog.h:
658 * hildon/hildon-sort-dialog.h:
659 * hildon/hildon-time-editor.h:
660 * hildon/hildon-time-picker.h:
661 * hildon/hildon-volumebar-range.h:
662 * hildon/hildon-volumebar.h:
663 * hildon/hildon-vvolumebar.h:
664 * hildon/hildon-weekday-picker.h:
665 * hildon/hildon-window.h:
666 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
667 macros with the current replacements
669 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
671 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
673 * hildon/hildon-color-button.c (hildon_color_button_init): Use
674 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
675 itself, to make it fit better with Fremantle style.
677 Fixes: NB#109878 (height and width of focus on color icon is not
678 consistent with other item in the application tool bar)
680 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
682 * hildon/hildon-touch-selector.c:
683 (hildon_touch_selector_optimal_size_request): use the current requisition
684 as the base, in order to include any possible extra widget, like the
685 hildon entry on HildonTouchSelectorEntry
687 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
689 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
691 * configure.ac: post release version bump
692 * debian/changelog: post release version bump
694 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
699 * configure.ac: Bump version.
700 * debian/changelog: Updates.
702 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
704 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
706 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
707 to ensure the banner contents are centered, instead of relying on
708 the expand and fill properties in GtkHBox.
709 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
711 Fixes: NB#108265 (Animation banner not properly centered)
713 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
715 * hildon/hildon-pannable-area.c
716 (hildon_pannable_area_initial_effect): Remove the initial_effect
717 management, check initial_hint
718 (hildon_pannable_are_expose_event): Remove the initial_hint management,
719 set initial_effect to FALSE
720 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
721 by launching the fade_timeout if the scrollbars state has changed and are
723 * examples/hildon-pannable-area-initial-hint-example.c
724 Modified to allow to remove rows too. Add and remove rows one by one.
726 2009-05-28 Alberto Garcia <agarcia@igalia.com>
728 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
729 Don't close the menu if there's an animation actor below it.
731 Fixes: NB#117927 (Application menu not usable with animation
734 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
736 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
737 "focus-on-click" from the dialog button, to avoid stealing the
738 focus from the entry.
740 Fixes: NB#118903 (Account setup wizard: Text in Search field
741 should be focused when "Region" touch list picker is reopened
744 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
746 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
747 (prepare_action_area): Completely hide the dialog separator.
749 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
751 * hildon/hildon-touch-selector-entry.c
752 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
753 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
754 now that the entry is exposed.
756 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
758 * hildon/hildon-touch-selector-entry.c
759 (hildon_touch_selector_entry_init): Change the entry's size
760 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
762 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
764 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
765 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
766 avoid unnecessary scaling.
768 2009-05-27 Alberto Garcia <agarcia@igalia.com>
770 * hildon/hildon-app-menu.c (hildon_app_menu_map):
771 Create grab transfer window before calling parent's map function.
773 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
774 "crushed" button(s) in the top left corner)
776 2009-05-26 Alberto Garcia <agarcia@igalia.com>
778 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
779 Check if the window is already realized when pushing it.
781 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
783 * configure.ac: post release version bump
784 * debian/changelog: post release version bump
786 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
791 * configure.ac: Bump version.
792 * debian/changelog: Updates.
794 2009-05-25 Alberto Garcia <agarcia@igalia.com>
796 * hildon/hildon-app-menu.c: Doc updates.
798 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
800 * hildon/hildon-banner.c: Remove leftover macro.
802 2009-05-25 Alejandro G. Castro <alex@igalia.com>
804 * hildon/hildon-pannable-area.c,
805 (hildon_pannable_area_scroll_indicator_fade),
806 (hildon_pannable_area_button_release_cb): Reviewed vmin
807 conditions, it could cause problems in the fadeout procedure.
809 2009-05-25 Alejandro G. Castro <alex@igalia.com>
811 * hildon/hildon-pannable-area.c
812 (hildon_pannable_area_button_release_cb): Added a threshold to
813 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
815 2009-05-25 Alejandro G. Castro <alex@igalia.com>
817 * hildon/hildon-pannable-area.c,
818 (hildon_pannable_area_set_property): Added code to sync the gtk
819 dnd threshold with the panning threshold.
821 2009-05-25 Alejandro G. Castro <alex@igalia.com>
823 * hildon/hildon-pannable-area.c,
824 (hildon_pannable_area_class_init): Changed some of the default
825 values, now it should be less responsive and more accurate.
827 2009-05-25 Alejandro G. Castro <alex@igalia.com>
829 * hildon/hildon-pannable-area.c,
830 (hildon_pannable_area_init),
831 (hildon_pannable_area_scroll_indicator_fade),
832 (hildon_pannable_area_button_press_cb),
833 (hildon_pannable_axis_scroll),
834 (hildon_pannable_area_timeout),
835 (hildon_pannable_area_motion_notify_cb),
836 (hildon_pannable_area_button_release_cb): Changed the name of the
837 clicked attribute to button_pressed, it is more clear about its use.
839 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
841 * src/hildon-pannable-area.c
842 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
844 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
845 vertical scrollbar visibility, and use the data on private section instead,
846 remove the initial_hint check
847 (hildon_pannable_area_expose_event): add the initial_hint check here
849 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
851 * src/hildon-pannable-area.c
852 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
853 if the fadeout effect was used
854 (hildon_pannable_area_expose_event): check if it is required to
855 manage the initial effect on the begining of the function. Previously
856 it was made at the end, but this doesn't ensure that the scrollbars
857 will be painted on the first show. Do not set to FALSE initial_effect,
858 to ensure that the initial hint is showed the first time the pannable
860 * examples/Makefile.am
861 * examples/hildon-pannable-area-initial-hint-example.c:
862 New example, to show that the initial-hint is showed when the widget
865 Fixes: NB#116607 (Pannable area should always have scrollbar visible
866 initially if the application can be scrolled)
868 2009-05-25 Alberto Garcia <agarcia@igalia.com>
870 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
871 Resize table before adding new items to make sure that
872 gtk_table_resize() is called just once.
874 2009-05-25 Alberto Garcia <agarcia@igalia.com>
876 * hildon/hildon-app-menu-private.h
877 * hildon/hildon-app-menu.c (item_visibility_changed)
878 (filter_visibility_changed, hildon_app_menu_show_all)
879 (hildon_app_menu_hide_all, hildon_app_menu_init):
880 Rearrange items just once when gtk_widget_show_all()/hide_all()
883 2009-05-25 Alberto Garcia <agarcia@igalia.com>
885 * hildon/hildon-app-menu.c
886 (hildon_app_menu_insert, hildon_app_menu_add_filter):
887 Don't call gtk_widget_show() on added items.
889 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
890 automatically when they're added)
892 2009-05-20 Alberto Garcia <agarcia@igalia.com>
894 * hildon/hildon-banner.c
895 (hildon_banner_realize, +hildon_banner_unrealize)
896 (+screen_size_changed, hildon_banner_class_init):
897 Redisplay the banner if the screen is rotated.
899 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
900 on transition from landscape to portrait)
902 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
904 * hildon/hildon-banner.[ch]:
905 (hildon_banner_show_information_override_dnd): remove icon_name from the
906 method definition as it is ignored.
907 * examples/hildon-banner-dnd-example.c: updated with the change on
910 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
912 * hildon/hildon-banner-private.h: new require_override_dnd and
913 overrides_dnd variables
914 * hildon/hildon-banner.h:
915 (hildon_banner_show_information_override_dnd): new method, that shows
916 the information but sets the override flag, in order to show important
918 * hildon/hildon-banner.c
919 (hildon_banner_show_information_override_dnd): new method
920 (hildon_banner_set_override_flag): new utility function
921 (hildon_banner_real_show_information): new utility function, in order to
922 generalize the current hildon_banner_show_information_override_dnd and
923 hildon_banner_show_information_override_dnd
924 * examples/Makefile.am
925 * examples/hildon-banner-dnd-example.c: New example that show how to
926 use the new hildon_banner_show_information_override_dnd
928 Fixes: NB#114874 (There is no possibility to show hildon banners with
931 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
933 * hildon/hildon-pannable-area.c: Add a comment explaining the math
934 behind hildon_pannable_calculate_vel_factor().
936 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
938 * hildon/hildon-pannable-area.c
939 (hildon_pannable_calculate_vel_factor): Correct the sum of the
940 deceleration factors.
942 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
944 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
945 Reduce the default value for 'scroll_time' to 1 second, since the
946 current initial scrolling takes too much time.
948 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
950 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
951 calculate velocity factor during initialization, since the properties
954 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
956 * hildon/hildon-pannable-area.c
957 (hildon_pannable_area_set_property): Calculate the velocity factor
958 after setting the deceleration property and not after.
960 2009-05-20 Alberto Garcia <agarcia@igalia.com>
962 * hildon/hildon-entry.c
963 (hildon_entry_class_init, +set_property, hildon_entry_new)
964 * hildon/hildon-check-button.c
965 (hildon_check_button_class_init)
966 (+set_property, hildon_check_button_new):
967 Make the theme size a property.
969 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
970 others) do too much in the _new function)
972 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
974 * configure.ac: post release version bump
975 * debian/changelog: post release version bump
977 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
982 * configure.ac: Bump version.
983 * debian/changelog: Updates.
985 2009-05-15 Alberto Garcia <agarcia@igalia.com>
987 * hildon/hildon-gtk.h
988 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
989 New API function to take a screenshot of a window
991 Fixes: NB#106374 (Need API to take a loading screenshot)
993 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
995 * hildon/hildon-time-selector.c
996 (update_format_policy): prevent to use hours and minutes unitialized
998 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1000 * hildon/hildon-window.c (hildon_window_size_request):
1001 Always request the full size of the screen (minus the title bar if
1002 not in fullscreen mode).
1004 Fixes: NB#107486 (HildonWindow should size itself properly)
1006 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
1008 * hildon/hildon-note-private.h: Add idle_handler to the private data.
1009 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
1010 (on_show_cb), (sound_handling): Disconnect the idle handler for
1011 the sound when the note is finalized to avoid possible crashes.
1013 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1016 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
1018 * src/hildon-animation-actor.c,
1019 * src/hildon-remote-texture.c:
1020 Added proper object cleanup to remove signal handler and object
1021 references as HildonAnimationActor and HildonRemoteTexture
1022 objects get destroyed.
1024 Fixes: NB#116682 (Destroying parented animation actors when
1025 parent in unmapped leads to crash)
1027 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1029 Based on a patch by Christian Dywan (christian@imendio.com)
1031 * doc/hildon-sections.txt:
1032 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1033 * hildon/hildon-helper.h: New file size formatting method.
1035 * debian/control: Depend on osso-filemanager l10n package for
1036 proper localization strings.
1038 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1040 * tests/Makefile.am: Include top_srcdir to make possible to build
1041 tests in a different builddir.
1042 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1043 on a different builddir.
1045 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1047 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1048 (hildon_touch_selector_remove): Disconnect model's signal handler
1051 Fixes: NB#116289 (Hildon home crashes while adding task
1054 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1056 * hildon/hildon-button.c
1057 (hildon_button_set_title, hildon_button_set_value):
1058 Hide labels containing an empty string.
1060 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1062 * configure.ac: post release version bump
1063 * debian/changelog: post release version bump
1065 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1070 * configure.ac: Bump version.
1071 * debian/changelog: Updates.
1073 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1075 * hildon/hildon-note-private.h: Removed sound_signal_handler
1076 * hildon/hildon-note.c
1077 (on_show_cb): new callback on note "show" event, this simply adds
1078 a idle, with the function sound_handling
1079 (sound_handling): removed the sound_signal_handler management
1080 (hildon_note_init): connect note "show" event to on_show_cb
1081 (hildon_note_realize): remove the connection to "expose-event"
1083 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1084 device?' confirmation note)
1086 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1088 * hildon/hildon-note.c
1089 (hildon_note_new_information_with_icon_name)
1090 (hildon_note_new_confirmation_with_icon_name):
1091 Terminate the list of parameters in g_object_set() calls
1093 Fixes: NB#115166 (Formatting memory card is not taking place)
1095 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1097 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1098 "dialog-information" role for the sound being played.
1100 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1102 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1103 Don't make the menu a modal window, it causes strange interactions
1104 with the pointer grab and it's not really needed.
1106 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1108 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1110 * hildon/hildon-touch-selector.[ch]
1111 (hildon_touch_selector_optimal_size_request): function added to get a
1112 optimal size request from the touch selector, when you want a dialog to
1113 show as much of the selector
1114 * hildon/hildon-picker-dialog.c:
1115 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1116 (hildon_app_menu_class_init):
1117 New "max-height-landscape" and "max-height-portrait" style properties
1118 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1119 (hildon_picker_dialog_get_max_height): returns the maximum height using
1120 the style properties defined and checking the current portrait/landscape
1122 (_hildon_picker_dialog_set_selector): removed the set_size_request
1124 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1126 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1128 * hildon/hildon-bread-crumb-trail.c:
1129 * hildon/hildon-bread-crumb.c:
1130 * hildon/hildon-seekbar.c:
1131 Add reference to replacements for these deprecated widgets.
1133 Fixes: MB#4461 (Documentation: All deprecations should mention
1136 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1138 * examples/hildon-remote-texture-example.c
1140 Change the include to the hildon-remote-texture in order to compile
1141 properly the examples on the installed libhildon1-examples package
1143 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1145 * tests/Makefile.am: Add check for HildonPickerButton.
1146 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1147 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1148 checks for the HildonPickerButton.
1149 * tests/check_test.c (configure_tests): Add the test suite.
1150 * tests/test_suites.h: likewise.
1152 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1154 * hildon/hildon-touch-selector.c
1155 (+on_row_changed): Emit HildonTouchSelector:changed when the
1156 contents of a selected row change.
1157 (_create_new_column), (_hildon_touch_selector_set_model): connect
1158 to GtkTreeModel:row-changed on a newly set model.
1160 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1162 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1164 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1166 * hildon/hildon-banner.c (hildon_banner_destroy)
1167 (hildon_banner_show_progress, hildon_banner_set_fraction):
1168 Remove the progress bar from HildonBanner and use a progress
1171 Fixes: NB#113761 (Update progress banner to use progress
1174 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1176 * hildon/hildon-banner.c:
1177 Calculate size of the banner label using the actual screen width
1178 rather than using a fixed value.
1180 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1183 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1185 * hildon/hildon-pannable-area.c,
1186 (hildon_pannable_area_class_init): Fixed signals documentation
1189 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1191 * configure.ac: post release version bump
1192 * debian/changelog: post release version bump
1194 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1199 * configure.ac: Bump version.
1200 * debian/changelog: Updates.
1202 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1204 * hildon/hildon-edit-toolbar.c
1205 (hildon_edit_toolbar_init):
1206 Don't let buttons in HildonEditToolbar receive focus.
1208 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1209 typing on an HW arrows key)
1211 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1213 * doc/Makefile.am: Fix build.
1215 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1217 * doc/Makefile.am: Do not redefine content_files.
1219 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1227 Renamed src/ to hildon/
1232 Include <hildon/hildon.h> directly in all examples.
1234 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1236 * src/hildon-sort-dialog.c
1237 (hildon_sort_dialog_add_sort_key_with_sorting)
1241 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1243 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1244 make distcheck passes.
1246 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1248 * Makefile.am: Enable gtk-doc during distcheck.
1250 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1252 * Makefile.am: Do not distribute the debian/ directory.
1254 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1256 * doc/Makefile.am: Add the extra SGML files to content_files,
1257 so that they are distributed properly.
1259 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1261 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1264 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1266 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1267 (hildon_note_new_information_with_icon_name): Set the "icon" property
1268 to preserve soundness.
1270 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1272 * src/hildon-font-selection-dialog.c
1273 (hildon_font_selection_dialog_set_property): Fail when the "family"
1274 property is set to NULL.
1276 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1278 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1281 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1283 * src/hildon-time-selector.h:
1284 Added HildonTimeSelectorFormatPolicy
1285 * src/hildon-time-selector.c:
1286 Added PROP_TIME_FORMAT_POLICY
1287 (_check_ampm_format): renamed to check_automatic_ampm_format
1288 (update_format_policy), (update_format_dependant_columns): new functions
1289 (hildon_time_selector_class_init)
1290 (hildon_time_selector_contructor)
1291 (hildon_time_selector_init)
1292 (hildon_time_selector_get_property)
1293 (hildon_time_selector_set_property)
1294 (hildon_time_selector_get_time)
1295 (hildon_time_selector_set_time)
1296 * src/hildon-touch-selector.h: new file
1297 * src/hildon-touch-selector.c
1298 (hildon_touch_selector_emit_changed)
1299 (hildon_touch_selector_block_changed)
1300 (hildon_touch_selector_unblock_changed)
1301 Added functions to allow to block the emission of the "changed" signal
1302 * src/hildon-picker-dialog.c
1303 (hildon_picker_dialog_show): call the parent show before the custom code
1304 * examples/hildon-time-button-example.c
1305 Modified, so now you can configure the time format using the new property
1307 Added a new property "time-format-policy" that allow to choose the time
1308 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1309 case it uses gconf in order to check if the time selector must use
1312 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1315 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1317 * src/hildon-note.c (hildon_note_init):
1318 Label in HildonNote must be left aligned, not centered. This
1319 reverts the last commit in HildonNote.
1321 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1322 is connectivity dialog)
1324 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1329 * doc/hildon-sections.txt:
1330 Added hildon_gtk_window_set_do_not_disturb()
1332 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1334 * src/hildon-note.c (hildon_note_init): Center label.
1336 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1339 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1344 * configure.ac: Bump version.
1345 * debian/changelog: Updates.
1347 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1349 * src/hildon-note-private.h: Add button-width to the private data.
1350 * src/hildon-note.c (+resize_button),
1351 (+hildon_note_orientation_update): methods to repack widgets on orientation
1353 (screen_size_changed): Call above method for confirmation notes.
1354 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1355 (hildon_note_rebuild): Store the original width request from buttons.
1357 Fixes: NB#109635 (Confirmation notes do not support portrait)
1359 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1361 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1362 when it is a progress note.
1364 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1366 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1367 in the note, since there are no horizontally arranged contents.
1369 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1371 * src/hildon-gtk.c (+set_flag): new generic method to
1372 set/delay a flag setting in a window.
1373 (hildon_gtk_window_set_progress_indicator):
1374 (hildon_gtk_window_set_do_not_disturb),
1375 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1376 avoid code redundance.
1378 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1380 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1382 * src/hildon-gtk.c (set_clear_window_flag),
1383 (do_set_progress_indicator), (do_set_do_not_disturb),
1384 (do_set_portrait_flags),
1385 (hildon_gtk_window_set_progress_indicator),
1386 (hildon_gtk_window_set_do_not_disturb),
1387 (hildon_gtk_window_set_portrait_flags):
1388 Allow setting dnd-flag, progress indicator, and portrait flags
1389 when the window is not realized.
1391 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1393 * src/hildon-pannable-area.c,
1394 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1395 the size request policy function and defines.
1397 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1399 * doc/hildon-sections.txt: Add the new API.
1400 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1401 method to set the portrait flags.
1402 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1404 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1406 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1408 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1409 to allow using this method with other flags.
1410 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1411 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1413 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1415 * src/hildon-touch-selector.c
1416 (hildon_touch_selector_append_text_column):
1417 Make the cell renderer use the smallest width possible.
1419 Fixes: NB#108470 (Selected items in multiple selection are either
1420 having a tick that is cut or not visible at all.)
1422 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1424 * src/hildon-touch-selector.c
1425 (hildon_touch_selector_append_text_column):
1428 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1430 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1431 Use g_strdup_printf() instead of a fixed size buffer.
1433 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1435 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1436 Close banners when a HildonAppMenu is popped up.
1438 Fixes: NB#111027 (Title menu closed immediately if activated when
1439 "Invalid e-mail address" banner is shown)
1441 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1446 * configure.ac: Bump version.
1447 * debian/changelog: Updates.
1449 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1451 * src/hildon-banner.c (hildon_banner_realize):
1452 Mark HildonBanner as supporting portrait mode.
1453 Use GDK to set window properties insetad of direct Xlib calls.
1455 Fixes: NB#111830 (HildonBanner should be marked as supporting
1458 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1460 * src/hildon-note.c (hildon_note_rebuild):
1461 Hide action area in information notes. Prevents text from being
1462 slightly aligned to the left.
1464 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1467 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1469 Patch by Mox Soini (ext-mox.soini@nokia.com)
1471 * src/hildon-banner.c (hildon_banner_create_animation):
1472 Use stylus-sized icons in animation banner.
1474 Fixes: NB#111206 (stylus sized icon for animation banner)
1476 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1480 (+hildon_gtk_window_set_do_not_disturb):
1481 New API to set the do-not-disturb flag.
1483 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1485 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1487 * examples/hildon-progress-indicator-example.c: Fix example
1489 * src/hildon-gtk.c (set_clear_window_flag)
1490 (hildon_gtk_window_set_progress_indicator):
1491 Create a generic function for setting flags to a window.
1492 Use GDK instead of direct Xlib calls.
1494 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1496 * src/hildon-button.c (hildon_button_set_arrangement):
1497 Due to NB#88126, if one of the labels is too long it will be
1498 painted outside the button. The 'value' label is more likely to be
1499 the longest one, so we change its packing options in order to
1500 truncate it if necessary. As a side effect, the 'title' label will
1501 no longer be truncated.
1503 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1505 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1510 * configure.ac: Bump version.
1511 * debian/changelog: Updates.
1513 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1515 Deprecation of the hildon_pannable_area_set_size_request_policy
1516 API, the only policy properly supported in gtk+ nowadays is the
1519 * src/hildon-pannable-area.c,
1520 (hildon_pannable_area_size_request): Added a workaround for the
1521 size_request to avoid the problems of huge pixmaps in case someone
1522 is still using the function.
1523 * src/hildon-pannable-area.h: Deprecated the enum with the
1526 Fixes: NB#110244 (Problems with the
1527 hildon_pannable_area_set_size_request_policy API)
1529 2009-04-08 Alejandro G. Castro <alex@igalia.com>
1531 * src/hildon-pannable-area.c,
1532 (hildon_pannable_area_init),
1533 (hildon_pannable_area_size_request),
1534 (hildon_pannable_area_style_set),
1535 (hildon_pannable_draw_vscroll),
1536 (hildon_pannable_draw_hscroll),
1537 (hildon_pannable_area_check_scrollbars): Replaced area_width with
1538 indicator_width to clarify the use of the attribute.
1540 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
1545 * configure.ac: Bump version.
1546 * debian/changelog: Updates.
1548 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
1550 * src/hildon-picker-dialog.c
1551 * src/hildon-touch-selector.c
1552 Reverting the change that tried to avoid the hardcoded height on
1553 the picker dialog, as causes problems on the hildon-touch-selector
1556 Fixes: NB#110029 (selectors not scrolling to selected value)
1558 2009-04-07 Alberto Garcia <agarcia@igalia.com>
1560 * src/hildon-touch-selector.c: Fix typos
1562 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1564 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1565 Use the event coordinates instead of gdk_window_get_pointer(). Also,
1566 request more motions after using it.
1568 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1570 * src/hildon-calendar.c (hildon_calendar_expose),
1571 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1572 Remove unused variables.
1574 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1576 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1577 variable assignment.
1579 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1581 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1582 Check the return value of gtk_tree_selection_get_selected()
1585 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1587 * src/hildon-animation-actor.c
1588 * src/hildon-button.c
1590 * src/hildon-pannable-area.c
1591 * src/hildon-picker-button.c
1592 * src/hildon-program.c
1593 * src/hildon-remote-texture.c
1594 * src/hildon-text-view.c
1595 * src/hildon-touch-selector.c
1596 * src/hildon-window-stack.c
1597 * src/hildon-window.c:
1598 Add missing 'Since: 2.2' tags.
1600 * doc/hildon-sections.txt:
1601 Add some missing symbols.
1603 * doc/hildon-docs.sgml:
1604 New 'Other' section for HildonAnimationActor and
1607 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1609 Patch by Iván Gómez (igomez@igalia.com)
1612 * doc/compiling.sgml
1613 * doc/hildon-docs.sgml
1614 * doc/hildon-sections.txt
1615 * doc/migration.sgml
1616 * doc/resources.sgml
1618 New chapters on using the Hildon library.
1619 Updated the general structure of the reference manual.
1620 Other minor documentation fixes.
1622 * src/hildon-calendar-popup.c
1623 * src/hildon-calendar.c
1624 * src/hildon-controlbar.c
1625 * src/hildon-date-editor.c
1626 * src/hildon-dialog.c
1627 * src/hildon-hvolumebar.c
1628 * src/hildon-number-editor.c
1629 * src/hildon-range-editor.c
1630 * src/hildon-sort-dialog.c
1631 * src/hildon-time-editor.c
1632 * src/hildon-time-picker.c
1633 * src/hildon-volumebar-range.c
1634 * src/hildon-volumebar.c
1635 * src/hildon-vvolumebar.c
1636 * src/hildon-weekday-picker.c:
1637 Add deprecation notes
1639 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1640 Document 'horizontal-movement' and 'vertical-movement' signals.
1642 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
1647 * configure.ac: Bump version.
1648 * debian/changelog: Updates.
1650 2009-04-06 Alejandro G. Castro <alex@igalia.com>
1652 * src/hildon-pannable-area.c,
1653 (hildon_pannable_area_class_init): increased the minimum velocity.
1654 (hildon_pannable_area_button_release_cb): Updated the
1655 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
1656 setup. Review the code to control that last event.
1658 Fixes: NB#109790 (Releasing finger in pannable area easily causes
1661 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
1663 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1665 * src/hildon-get-password-dialog.c
1666 (hildon_get_password_set_property),
1667 (hildon_get_password_get_property), (create_contents):
1668 * src/hildon-login-dialog-private.h:
1669 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
1670 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
1671 (hildon_login_dialog_get_password):
1672 * src/hildon-set-password-dialog-private.h:
1673 * src/hildon-set-password-dialog.c
1674 (hildon_set_password_set_property),
1675 (hildon_set_password_get_property), (create_contents),
1676 (hildon_set_password_response_change),
1677 (hildon_set_password_response_set), (hildon_checkbox_toggled):
1679 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
1680 instead and look more Fremantle style.
1682 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
1684 2009-04-03 Alberto Garcia <agarcia@igalia.com>
1686 * doc/hildon-sections.txt
1687 * src/hildon-window-stack.h
1688 * src/hildon-window-stack.c
1689 (+hildon_window_stack_get_windows):
1690 New API to obtain the list of windows on a stack.
1692 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1694 * src/hildon-app-menu.c (hildon_app_menu_popup)
1695 (hildon_app_menu_class_init, -hildon_app_menu_show):
1696 Remove hildon_app_menu_show() and move all its checks to
1697 hildon_app_menu_popup()
1699 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
1701 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
1702 (_hildon_picker_dialog_set_selector): removed call to
1703 gtk_widget_set_size_request
1704 * src/hildon-touch-selector.c
1705 (_create_new_column): change the pannable size request policy
1707 Avoid to use a hardcoded height for the hildon picker dialog. In order
1708 to get that, we needed to change the hildon pannable size request
1710 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1712 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1714 * src/hildon-window.c (hildon_window_map): Check for vbox to be
1715 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
1718 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1720 * debian/control: Depend on osso-system-lock localization package.
1721 * src/hildon-code-dialog.c: Obtain the secu_application_title
1722 translation from osso-system-lock.
1723 * src/hildon-get-password-dialog.c (create_contents): Do not mark
1724 for translation the atk related strings, that's not necessary.
1725 * src/hildon-set-password-dialog.c (create_contents): Ditto.
1726 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
1727 cancel button, it is not required.
1729 2009-04-02 Alejandro G. Castro <alex@igalia.com>
1731 * src/hildon-pannable-area.c,
1732 (hildon_pannable_area_class_init): Modified the default value of
1733 the overshooting max speed, we have reduced it.
1735 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1737 * doc/hildon-sections.txt
1738 * src/hildon-window-private.h
1739 * src/hildon-window.h
1740 * src/hildon-window.c (hildon_window_class_init)
1741 (hildon_window_init, hildon_window_finalize)
1742 (hildon_window_realize, hildon_window_get_property)
1743 (hildon_window_set_property, hildon_window_update_markup)
1744 (hildon_window_get_markup, hildon_window_set_markup):
1745 New "markup" property and hildon_window_{get,set}_markup() methods.
1747 * examples/hildon-stackable-window-example.c (new_window):
1748 Update example to use hildon_window_set_markup()
1750 Fixes: NB#106375 (Need API to retitle a window with a title
1753 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1755 * src/hildon-pannable-area.c,
1756 (hildon_pannable_area_class_init): Changed the default value of
1757 the initial_hint to TRUE.
1758 (hildon_pannable_area_initial_effect): Changed the initial effect,
1759 not the effect is just the fade-out of the scrollbars.
1761 Fixes: NB#107775 (No scrollbars can be seen when several items are
1762 available in a dialog)
1764 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1766 * src/hildon-program.c (hildon_program_update_top_most):
1769 Fixes: NB#109179 (Memory leak in Hildon program)
1771 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1773 * src/hildon-banner.c (-get_current_app_window):
1774 Remove unused function.
1776 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1778 * src/hildon-pannable-area.c: Modified the documentation of the
1779 get adjustments functions to explain the problem of using the
1780 adjustment directly.
1781 (hildon_pannable_area_class_init): Improved the explanation about
1784 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1786 * src/hildon-app-menu-private.h
1787 * src/hildon-app-menu.c
1788 (hildon_app_menu_class_init):
1789 Bring back the 'external-border' style property
1790 (hildon_app_menu_class_init, hildon_app_menu_init)
1791 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
1792 Set a fixed width-request for the menu, independent of the number
1795 Fixes: NB#94957 (Smoothly opened application menu)
1797 2009-03-30 Alberto Garcia <agarcia@igalia.com>
1799 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
1801 * src/hildon-banner.c
1802 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
1804 Make sure that the banner is correctly placed the first time it's
1806 (hildon_banner_check_position, -check_fullscreen_state):
1807 Show the banner in the same place no matter if the window is in
1808 fullscreen mode or not.
1810 Fixes: NB#107386 (Odd stacking behaviour for information banners)
1812 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1814 * src/hildon-touch-selector.c (_default_print_func): reorder
1815 concatenation for clarity.
1817 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1819 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
1820 for multicolumn selectors.
1822 Fixes: NB#109099 (Memory leak in Hildon touch selector)
1824 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
1829 * configure.ac: Bump version.
1830 * debian/changelog: Updates.
1832 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
1834 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
1837 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1839 * configure.ac: removed libcangerra-gtk dependency
1840 * debian/control: removed libcanberra-gtk dependency
1841 * src/Makefile.am: removed libcanberra gtk related flags
1842 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1843 context, and manage a global canberra context instead
1845 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1847 2009-03-26 Alberto Garcia <agarcia@igalia.com>
1849 Patch by Daniel Borgmann (danielb@openismus.com)
1851 * src/hildon-edit-toolbar.c:
1852 Adjust the left padding.
1853 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
1854 Paint background of the edit toolbar.
1856 Fixes: NB#107897 (Patch to make editmodetoolbar background
1857 themeable and adjust margin)
1859 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1861 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1863 * src/hildon-program.c (hildon_program_update_top_most):
1864 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
1866 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
1867 change when the user tasks in/out of an application)
1869 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1871 * configure.ac: added libcangerra-gtk dependency
1872 * debian/control: added libcanberra-gtk dependency
1873 * src/Makefile.am: added libcanberra gtk related flags
1874 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
1877 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1879 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1881 * src/hildon-program.c (hildon_program_remove_window)
1882 (hildon_program_add_window): Add checks for the window
1883 parameter. Don't decrease the window counter if the window is not
1886 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1888 * src/hildon-pannable-area.c,
1889 (hildon_pannable_area_realize): Fixed position of the event_window
1890 in the realize method.
1892 2009-03-24 Alberto Garcia <agarcia@igalia.com>
1894 * src/hildon-app-menu-private.h
1895 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
1896 (hildon_app_menu_map, hildon_app_menu_hide_idle)
1897 (hildon_app_menu_key_press, hildon_app_menu_init)
1898 (hildon_app_menu_finalize):
1899 Make sure that all idle functions are removed when the widget is
1902 Fixes: NB#107583 (Hildon app menu crashes in various applications)
1904 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1909 * configure.ac: Bump version.
1910 * debian/changelog: Updates.
1912 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1914 * src/hildon-entry.c
1915 (+hildon_entry_show_placeholder),
1916 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
1917 that replace hildon_entry_update_contents().
1918 (hildon_entry_set_text),
1919 (hildon_entry_set_placeholder),
1920 (hildon_entry_focus_in_event),
1921 (hildon_entry_focus_out_event): Determine when it is needed
1922 either to show or hide the placeholder and call the above methods.
1924 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
1925 when the placeholder text is already set)
1927 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1929 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
1930 simple GdkPixbufAnim using the new icons for the banner.
1931 (hildon_banner_show_animation): Use the above mentioned method to
1932 create the animation widget.
1934 Fixes: NB#103564 (Make hildon animation banner use individual
1935 image files as the animation)
1937 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1939 * src/hildon-pannable-area.c,
1940 (hildon_pannable_leave_notify_event): Check if the child is NULL
1941 to avoid sending the leave.
1943 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1945 * src/hildon-pannable-area.c,
1946 (hildon_pannable_area_class_init),
1947 (hildon_pannable_leave_notify_event): Added a handler of the
1948 leave-notify-signal to consider when no motion notify before
1951 Fixes: NB#107494 (Items stay selected when clicking and moving
1952 away when inside pannable area)
1954 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
1959 * configure.ac: Bump version.
1960 * debian/changelog: Updates.
1962 2009-03-19 Alejandro G. Castro <alex@igalia.com>
1964 Patch by Alberto Garcia (agarcia@igalia.com)
1966 * src/hildon-date-button.c,
1967 (hildon_date_button_class_init),
1968 (hildon_date_button_init): Removed the construct property handling
1969 and created a default selector in the init method.
1970 * src/hildon-picker-button.c,
1971 (hildon_picker_button_class_init): Removed the construct flag of the
1974 2009-03-18 Alberto Garcia <agarcia@igalia.com>
1976 * src/hildon-main.c (hildon_init):
1977 Don't allow hildon_init() to be called more than once.
1979 Fixes: NB#106607 (hildon_init should issue error message upon
1982 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
1984 * examples/hildon-pannable-area-touch-list-example.c
1985 * examples/hildon-pannagle-area-touch-grid-example.c
1986 * examples/hildon-edit-toolbar-example.c
1987 * examples/hildon-touch-selector-multi-cells-example.c
1988 Removed the call to gtk_rc_parse_string, as it is not required since
1991 2009-03-17 Alejandro G. Castro <alex@igalia.com>
1993 * src/hildon-pannable-area.c,
1994 (hildon_pannable_area_class_init): Modified the default panning
1995 threshold of the widget to 6px.
1997 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
1998 than the threshold value ) within the button is not sending the
2001 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2003 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
2004 for the treeview in the new column. This way, the touch list will never
2007 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
2008 be selected manually for the HW keys to work)
2010 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2012 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2013 comparison instead of using strcmp(). Fixes a compiler warning as well.
2015 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2017 * doc/hildon-docs.sgml: Do not set the library version in the
2018 document title, use the releaseinfo tag for that purpose instead.
2020 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2022 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2023 Do not jump to the first item if the text in the entry is removed.
2025 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2030 * configure.ac: Bump version.
2031 * debian/changelog: Updates.
2033 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2035 * src/hildon-entry.c (hildon_entry_refresh_contents):
2036 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2037 Use "ReversedSecondaryTextColor" for the placeholder text.
2039 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2041 * src/hildon-text-view.c: Fix compilation warning.
2043 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2045 * src/hildon-button.c (hildon_button_class_init): Don't make
2046 "title" and "value" construction properties, to prevent them from
2047 overwriting labels set from derived classes.
2049 * src/hildon-picker-button.c
2050 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2051 (hildon_picker_button_class_init): Make touch-selector a
2052 construction property.
2054 * src/hildon-date-button.c (hildon_date_button_class_init)
2055 (+hildon_date_button_constructed): Add a default date selector if
2058 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2060 * src/hildon-touch-selector.c: Small documentation fixes.
2062 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2064 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2066 * src/hildon-entry.c (hildon_entry_refresh_contents),
2067 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2068 widget name, set the logical color directly instead and a boolean
2069 showing_placeholder instead.
2070 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2071 use the widget name here either.
2073 Fixes: NB#105678 (HildonTextView should use logical colours
2074 instead of setting widget name)
2076 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2078 Patch by Daniel Elster (danielk@openismus.com)
2080 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2081 Add user_data parameter.
2082 (hildon_touch_selector_set_print_func_full): New function akin
2083 hildon_touch_selector_set_print_func() but with support for user
2084 data and a destroy callback.
2085 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2086 to clean up the print function user data.
2087 (hildon_touch_selector_class_init): Install dispose function.
2088 (HildonTouchSelectorPrivate::print_user_data),
2089 (HildonTouchSelectorPrivate::print_destroy_func): New private
2091 (hildon_touch_selector_init): Initialize new private members.
2092 (hildon_touch_selector_get_current_text): Pass along user data
2093 to the print function.
2094 (_default_print_func): Add dummy user_data to parameter list.
2095 * hildon-date-selector.c (_custom_print_func): ditto,
2096 * hildon-time-selector.c (_custom_print_func): ditto,
2097 * hildon-touch-selector-entry.c
2098 (hildon_touch_selector_entry_print_func): ditto.
2100 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2102 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2104 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2106 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2108 * src/hildon-pannable-area.c,
2109 (hildon_pannable_area_init),
2110 (hildon_pannable_area_button_press_cb),
2111 (hildon_pannable_area_motion_notify_cb): We have added code to
2112 handle the leave and enter events when using the motion events.
2114 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2116 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2118 * src/hildon-date-button.c (hildon_date_button_get_date)
2119 (hildon_date_button_set_date): Make sure that the button has a
2122 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2124 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2126 * src/hildon-pannable-area.c,
2127 (hildon_pannable_area_class_init),
2128 (hildon_pannable_area_calculate_velocity): Modify the use of the
2129 force and adapt the value.
2131 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2133 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2134 (hildon_app_menu_class_init): Hide the menu if it receives a
2135 delete-event, but don't destroy it
2137 Fixes: NB#104485 (Not able to address the call when application
2138 menu is opened at background)
2140 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2142 * src/hildon-app-menu.c
2143 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2144 Remove the "external-border" style property, let the menu take its
2145 natural size (or the one set by the window manager)
2146 (hildon_app_menu_repack_items):
2147 Don't reshow the menu, avoid flickers.
2149 Partially fixes NB#94957 (Smoothly opened application menu)
2151 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2156 * configure.ac: Bump version.
2157 * debian/changelog: Updates.
2159 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2161 * src/hildon-pannable-area.c,
2162 (hildon_pannable_area_motion_notify_cb): We control that the
2163 direction error margin is used just in case the movement is
2164 allowed in the other direction.
2166 Fixes: NB#105012 (buttons inside a pannable area not getting
2167 release event when dragging/releasing)
2169 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2171 * src/hildon-pannable-area.c,
2172 (hildon_pannable_area_class_init),
2173 (hildon_pannable_area_get_property),
2174 (hildon_pannable_area_set_property),
2175 (hildon_pannable_area_initial_effect),
2176 (hildon_pannable_axis_scroll),
2177 (hildon_pannable_area_button_release_cb): Reviewed the
2178 overshooting effect, now it has its own max
2179 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2180 speed when bouncing.
2182 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2187 * configure.ac: Bump version.
2188 * debian/changelog: Updates.
2190 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2192 * src/hildon-pannable-area.c,
2193 (hildon_pannable_area_class_init): Changed the max speed, now
2194 users can launch the widget very fast. Reduced the default force,
2195 that way it is easier to control the launch speed.
2197 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2199 * src/hildon-pannable-area.c,
2200 (hildon_pannable_area_button_release_cb): Removed this check
2201 because it causes problems when the device is overloaded.
2203 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2205 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2206 add a current_text field to store the text entered in the
2207 touch selector entry.
2208 (_clean_current_selection): clean up the current text as well.
2209 (_save_current_selection), (_restore_current_selection):
2210 Save/restore the text in the entry if the selector is a
2211 HildonTouchSelectorEntry.
2213 Fixes: NB#102541 (value entered in the touch selector entry is not
2214 shown when opened for second time)
2216 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2218 * doc/hildon-sections.txt:
2219 * src/hildon-touch-selector-entry.c
2220 (+hildon_touch_selector_entry_get_entry):
2221 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2223 Fixes: NB#104815 (I need accessor to the entry inside
2224 HildonTouchSelectorEntry)
2226 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2228 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2229 (hildon_app_menu_class_init):
2230 New "filter-vertical-spacing" style property.
2232 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2234 * src/hildon-find-toolbar.c
2235 (hildon_find_toolbar_emit_close)
2236 (hildon_find_toolbar_emit_invalid_input)
2237 (hildon_find_toolbar_entry_activate):
2238 Use g_signal_emit() instead of g_signal_emit_by_name()
2240 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2242 Patch by Mox Soini (ext-mox.soini@nokia.com)
2244 * tests/TEST-CASES.txt
2245 * tests/check-hildon-banner.c
2246 * tests/check-hildon-note.c
2247 * src/hildon-banner.c
2248 * src/hildon-code-dialog.c
2249 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2250 * src/hildon-time-editor.c
2251 * examples/hildon-lookup-example.c (main):
2252 Replace obsolete icon names with new ones.
2254 * src/hildon-find-toolbar-private.h:
2255 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2256 (-hildon_find_toolbar_emit_search):
2257 Remove find button and change icon of close button.
2259 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2261 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2263 * src/hildon-time-button.c (hildon_time_button_new_step):
2264 Use the "touch-selector" property to set the selector directly
2265 when creating the object.
2267 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2269 Added a new example application that allows tuning the pannable
2270 area and replaced defines with properties in order to simplify the
2271 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2272 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2273 PROP_DIRECTION_ERROR_MARGIN.
2275 * examples/hildon-pannable-area-tuning-example.c: New example
2277 * src/hildon-pannable-area.c,
2278 (hildon_pannable_area_class_init),
2279 (hildon_pannable_area_init),
2280 (hildon_pannable_area_get_property),
2281 (hildon_pannable_area_set_property),
2282 (hildon_pannable_area_launch_fade_timeout),
2283 (hildon_pannable_area_adjust_value_changed),
2284 (hildon_pannable_axis_scroll),
2285 (hildon_pannable_area_motion_notify_cb),
2286 (hildon_pannable_area_scroll_cb),
2287 (hildon_pannable_area_button_release_cb): We have converted some
2288 of the defines that control the widget to properties to simplify
2291 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2293 * src/hildon-app-menu.c (hildon_app_menu_map)
2294 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2295 so it's closed if a new window appears.
2297 Fixes: NB#104485 (Not able to address the call when application
2298 menu is opened at background)
2300 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2302 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2303 missing 'break' statement in in 'case' construct to avoid
2306 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2308 * src/hildon-touch-selector-entry.c
2309 (hildon_touch_selector_entry_get_property),
2310 (hildon_touch_selector_entry_set_property): Add missing 'break'
2311 statements in in 'case' constructs to avoid incorrect warnings.
2313 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2315 * src/hildon-time-editor.c
2316 (hildon_time_editor_get_time_separators): Do not crash if
2317 the first label is NULL.
2319 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2321 * src/hildon-date-selector.c (_month_days): Check for month to be
2322 strictly less than 12, since otherwise we may overrun the array.
2324 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2326 * src/hildon-date-button.c (+hildon_date_button_new_full)
2327 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2328 (hildon_date_button_init): Set the date selector using a
2329 construction property, to make it happen after HildonButton's
2330 "value" property is set.
2332 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2333 current date by default)
2335 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2337 * doc/hildon-sections.txt
2338 * src/hildon-program.c
2339 * src/hildon-stackable-window.c
2340 * src/hildon-window.c:
2341 Documentation updates
2343 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2345 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2346 (hildon_window_stack_new, +hildon_window_stack_set_property)
2347 (+hildon_window_stack_get_property)
2348 (hildon_window_stack_class_init)
2349 (+hildon_window_stack_set_window_group)
2350 (+hildon_window_stack_get_window_group):
2351 Make the window group a construction property.
2353 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2355 * doc/hildon-sections.txt
2356 * src/hildon-stackable-window-private.h
2357 * src/hildon-stackable-window.h
2358 * src/hildon-stackable-window.c
2359 (-hildon_stackable_window_set_app_menu)
2360 (-hildon_stackable_window_get_app_menu)
2361 (-hildon_stackable_window_toggle_menu)
2362 (-hildon_stackable_window_finalize)
2363 (hildon_stackable_window_class_init)
2364 (hildon_stackable_window_init)
2365 * src/hildon-window-private.h
2366 * src/hildon-window.h
2367 * src/hildon-window.c (hildon_window_init)
2368 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2369 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2370 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2371 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2372 Moved all HildonAppMenu code to HildonWindow. The menu does not
2373 require a HildonStackableWindow anymore.
2375 * src/hildon-app-menu.c
2376 * src/hildon-program.c
2377 * examples/hildon-app-menu-example.c (main):
2378 Update examples and documentation to reflect HildonAppMenu
2381 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2383 * src/hildon-remote-texture.c
2384 * src/hildon-animation-actor.c:
2385 Don't include unused private headers.
2387 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2389 * src/hildon-program-private.h
2390 * src/hildon-program.c
2391 (hildon_program_set_common_menu)
2392 (hildon_program_get_common_menu)
2393 (hildon_program_set_common_app_menu)
2394 (hildon_program_get_common_app_menu):
2395 Change common menu pointers from GtkWidget* to GtkMenu* and
2396 HildonAppMenu* to avoid unnecessary casts.
2398 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2400 * src/hildon-window.c (hildon_window_set_main_menu):
2401 Removed incorrect 'Since:' tag
2403 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2405 * src/hildon-pannable-area.c,
2406 (hildon_pannable_area_calculate_velocity): We use now the
2407 RATIO_TOLERANCE here to check the distance, fixed typo in the
2409 (hildon_pannable_area_motion_notify_cb): We have to set the type
2410 and time even if we are not sending the motion.
2412 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2414 * doc/hildon-sections.txt
2415 * src/hildon-app-menu.h
2416 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2417 (+hildon_app_menu_get_filters): New methods to get the contents of
2420 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2423 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2425 * src/hildon-app-menu.c (hildon_app_menu_popup):
2428 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2430 * src/hildon-window.h
2431 * src/hildon-window.c (+hildon_window_get_main_menu)
2432 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2433 and deprecated hildon_window_get_menu().
2435 * src/hildon-stackable-window.h
2436 * src/hildon-stackable-window.c
2437 (+hildon_stackable_window_set_app_menu)
2438 (+hildon_stackable_window_get_app_menu)
2439 (hildon_stackable_window_set_main_menu): Created
2440 hildon_stackable_window_{get,set}_app_menu() and deprecated
2441 hildon_stackable_window_set_main_menu().
2443 * doc/hildon-sections.txt
2444 * examples/hildon-app-menu-example.c (main)
2445 * src/hildon-app-menu.c
2446 * src/hildon-program.c:
2447 Updated examples and documentation.
2449 Fixes: NB#103758 (No way to obtain a menu from a
2450 HildonStackableWindow)
2452 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2457 * configure.ac: Bump version.
2458 * debian/changelog: Updates.
2460 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2462 * examples/hildon-remote-texture-example.c: Include
2463 hildon-remote-texture.h explicitely.
2464 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2465 applications not defining _XOPEN_SOURCE which don't require this header.
2467 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2469 * doc/hildon-sections.txt
2470 * src/hildon-app-menu.h
2471 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2472 New function to pop up a HildonAppMenu
2474 * src/hildon-stackable-window.c
2475 (hildon_stackable_window_toggle_menu):
2476 Use hildon_app_menu_popup() to show the menu.
2478 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2480 * src/hildon-app-menu.c (hildon_app_menu_show)
2481 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2482 menu if there's another window between it and its parent window.
2484 Fixes: NB#100468 (Application menu window is launched even when a
2485 new secondary-window/dialog is pending to be shown/realized)
2487 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2489 * src/hildon-window-stack.c (hildon_window_stack_push)
2490 (hildon_window_stack_pop_and_push):
2491 Don't forget to push/pop the first window.
2492 Reverse the window list before calling _push_list()
2494 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2496 * src/hildon-picker-button.h
2497 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2498 Remove "value_changed" slot to avoid ABI breakage
2500 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2502 * src/hildon-pannable-area.c,
2503 (hildon_pannable_area_realize),
2504 (hildon_pannable_area_unrealize),
2505 (hildon_pannable_draw_vscroll),
2506 (hildon_pannable_draw_hscroll): Changed the method to handle the
2507 GC used to draw the transparent scrollbar, this way we avoid
2508 creating the GC all the time when drawing the scrollbars.
2510 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2512 * src/hildon-pannable-area.c,
2513 (hildon_pannable_area_init),
2514 (hildon_pannable_area_remove): Removed some unnecessary casts.
2515 (hildon_pannable_area_dispose): Disconnected some signals before
2516 releasing the adjustments.
2518 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2520 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2521 Make sure that all widgets contained in the toolbar are shown.
2523 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2525 * doc/hildon-sections.txt
2526 * src/hildon-picker-button.h
2527 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2528 (_selection_changed, hildon_picker_button_on_dialog_response)
2529 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2530 New hildon_picker_button_value_changed() method.
2533 * src/hildon-picker-button-private.h
2534 * src/hildon-picker-button.c (hildon_picker_button_init)
2535 (+hildon_picker_button_disable_value_changed): Add protected
2536 function for disabling the "value-changed" signal.
2538 * src/hildon-date-button.c (hildon_date_button_set_date):
2539 Don't emit "value-changed" for each one of the three columns.
2541 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2542 before actual change of values)
2544 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2546 * src/hildon-pannable-area.c,
2547 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2548 for the treeview overshooting.
2550 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2552 * src/hildon-banner.c (+hildon_banner_bind_style):
2553 Renamed from hildon_banner_bind_label_style(), now naming the
2554 banner itself as well.
2555 (hildon_banner_show_information),
2556 (hildon_banner_show_information_with_markup),
2557 (hildon_banner_show_animation), (hildon_banner_show_progress):
2558 Name the widgets and labels, based on their type.
2560 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2563 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2565 * src/hildon-note.c (hildon_note_set_property): call
2566 hildon_note_rename() on HildonNote:note-type set.
2567 (hildon_note_rename): Name the note and its label, based on the
2568 HildonNote:note-type property.
2570 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2573 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2575 * src/hildon-pannable-area.c,
2576 (hildon_pannable_area_class_init),
2577 (hildon_pannable_area_motion_notify_cb): Reviewed the default
2578 panning parameters, increased SPS and deceleration factor. Added
2579 also a margin to control fake directions.
2581 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2583 Patch by Sven Herzberg (sven@imendio.com)
2585 * configure.ac: Add missing AM_PROG_CC_C_0
2586 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2588 See NB#101420 (Update unit tests and fix make check)
2590 2009-02-23 Alejandro G. Castro <alex@igalia.com>
2592 This patch was applied before but reverted because it caused
2593 problems, we have changed the main condition and tested the
2594 regressions we detected before and they work ok. We have done a
2595 complete review of the topmost algorithm in order to get a more
2598 * src/hildon-pannable-area.c,
2599 (hildon_pannable_area_get_topmost): Added a new parameter to
2600 filter the the windows that do not include those events.
2601 (hildon_pannable_area_button_press_cb),
2602 (hildon_pannable_area_button_release_cb),
2603 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2604 topmost function, we have added the new parameter.
2606 Fixes: NB#97458 (Pannable area prevents propagation of button
2609 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2611 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
2612 if all columns in the selector have an item selected.
2613 (_on_dialog_response): Stop "response" signal emission if there is
2614 any selector column without selected items.
2616 Fixes: NB#101889 (Picker dialog should not close when nothing is
2617 selected in multiple selection list)
2619 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2621 * src/hildon-font-selection-dialog.c
2622 (hildon_font_selection_dialog_class_init),
2623 (hildon_font_selection_dialog_init): Remove the preview
2624 button and dialog, since previewing with default theming is likely
2625 to be overcomplicated. The :preview property has now no effect.
2626 Update documentation blurbs to inform about this.
2628 Fixes: NB#92297 (Preview content is not clearly visible for
2629 default colour text)
2631 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2633 Reviewed the geometry that handles the children size and
2634 scrollbar, now it tries a size and reviews the results depending
2635 on the scrollbars visibility.
2637 * src/hildon-pannable-area.c,
2638 (hildon_pannable_area_realize): Fixed a typo.
2639 (hildon_pannable_area_child_allocate_calculate): Added this
2640 function to calculate the child allocation.
2641 (hildon_pannable_area_size_allocate): Reviewed the allocation
2643 (hildon_pannable_area_check_scrollbars),
2644 (hildon_pannable_area_refresh): Refactored refresh function, this
2645 way we can call the code handling the scrollbars without causing a
2646 size_request, it is interesting in the allocate.
2647 (hildon_pannable_area_init): Replace the callbacks of the
2648 value_changed and changed signals to propertly deal with the
2650 (hildon_pannable_area_grab_notify),
2651 (hildon_pannable_area_initial_effect),
2652 (hildon_pannable_area_launch_fade_timeout),
2653 (hildon_pannable_area_adjust_changed),
2654 (hildon_pannable_area_adjust_value_changed),
2655 (hildon_pannable_area_redraw),
2656 (hildon_pannable_area_button_press_cb),
2657 (hildon_pannable_area_button_release_cb),
2658 (hildon_pannable_area_scroll_cb),
2659 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
2660 code and use the new functions adjust_changed and
2661 adjust_value_changed.
2663 Fixes: NB#101603 (Focus is not even for the text entry boxes in
2664 Contact editor dialog)
2666 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
2671 * configure.ac: Bump version.
2672 * debian/changelog: Updates.
2674 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2676 * src/hildon-pannable-area.c,
2677 (hildon_pannable_area_get_topmost),
2678 (hildon_pannable_area_button_press_cb),
2679 (hildon_pannable_area_button_release_cb),
2680 (hildon_pannable_get_child_widget_at): Reverted the patch for the
2681 topmost function adding the event mask. We have to try a
2682 differente approach because it is still causing problems (NB#9745,
2685 2009-02-19 Alberto Garcia <agarcia@igalia.com>
2687 * src/hildon-banner.c:
2688 Update the maximum width of timed banners.
2689 (force_to_wrap_truncated): Enforce the maximum text width if the
2692 Fixes: NB#102413 (The text margins (wrapping) in information
2693 banner should be HILDON_MARGIN_TRIPLE)
2695 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2697 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
2699 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
2700 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
2701 bound when calculating the scroll indicator position.
2703 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
2704 treat ->lower correctly)
2706 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2708 * src/hildon-caption.c (hildon_caption_class_init): Remove the
2709 expose event handling, since it is not necessary to draw the focus
2712 Fixes: NB#102467 (Do not show highlight on the text in
2715 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2717 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
2718 full height of the toolbar for the button and the label.
2720 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2722 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
2723 padding before the label and after the button.
2725 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2727 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
2729 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2730 Add a GtkVSeparator between the button and the back arrow.
2731 Let the button have automatic size.
2732 Set a name to the widget for theming handling.
2734 Fixes: NB#101793 (Make edit toolbar the same height as window
2735 title bar (use title area theming))
2737 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2739 * src/hildon-helper.c (attach_new_color_element): Fix memory
2742 Fixes: NB#102262 (memory leak in hildon_button_set_style())
2744 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2746 * examples/hildon-button-example.c (common_buttons_window): Don't
2749 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2751 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2752 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
2754 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2756 * src/hildon-gtk.c: Check that the window is realized.
2758 Fixes: NB#102225 (Crash setting the progress indicator to a non
2761 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2763 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
2764 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
2765 instead of modifying the one in the widget style.
2767 Fixes: NB#101043 (Second row of all the command button are
2768 displayed in transparent mode.)
2770 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2772 * src/hildon-date-button.c
2773 * src/hildon-time-button.c: Add gettext macros
2775 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
2777 * src/hildon-date-button.c (hildon_date_button_new):
2778 * src/hildon-time-button.c (hildon_time_button_new_step):
2779 Use new logical strings to set the button default title.
2781 Fixes: NB#99915 (Date and Time options are not localised in Date
2784 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2786 * src/hildon-pannable-area.c
2787 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
2788 the PANNING_THRESHOLD.
2790 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2792 * src/hildon-pannable-area.c,
2793 (hildon_pannable_area_class_init): Increased the maximum speed.
2794 (hildon_pannable_area_get_property),
2795 (hildon_pannable_area_set_property),
2796 (hildon_pannable_area_timeout): Added a new low friction mode, it
2797 allows the user avoid friction when launching the widget fast
2798 enough. It is interesting to traverse long lists.
2800 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2802 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
2803 (+hildon_stackable_window_delete_event): Ignore delete events if
2804 the window is not the topmost one.
2806 Fixes: NB#101698 (Back button long press and delete-event handling)
2808 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2810 * src/hildon-pannable-area.c,
2811 (hildon_pannable_area_motion_notify_cb): Removed the use of the
2812 gtk-dnd-drag-threshold, it was too big. We have defined our own
2813 dnd define and set a smaller value: PANNIG_THRESHOLD.
2815 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2817 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
2818 user-defined icons, use always the default one.
2820 Fixes: NB#101916 (Do not allow custom icons on animation banner)
2822 2009-02-13 Alejandro G. Castro <alex@igalia.com>
2824 This patch was applied before but reverted because it caused
2825 problems, we have changed the main condition and tested the
2826 regressions we detected before and they work ok.
2828 * src/hildon-pannable-area.c,
2829 (hildon_pannable_area_get_topmost): Added a new parameter to
2830 filter the the windows that do not include those events. Added
2831 also a condition when finding the window to filter windows that do
2832 not ask for those events.
2833 (hildon_pannable_area_button_press_cb),
2834 (hildon_pannable_area_button_release_cb),
2835 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2836 topmost function, we have added the new parameter.
2838 Fixes: NB#97458 (Pannable area prevents propagation of button
2841 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2843 * tests/check-hildon-color-button.c (START_TEST): do not leak
2846 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2848 * src/hildon-font-selection-dialog.c
2849 (hildon_font_selection_dialog_get_preview_text): Return NULL
2850 instead of FALSE on the g_return_val_if_fail().
2852 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2854 * src/hildon-time-selector.c (hildon_time_selector_set_time):
2855 * src/hildon-date-selector.c
2856 (hildon_date_selector_select_current_date):
2857 Do not compare unsigned integers to be greater than or equal 0,
2858 because it's always TRUE.
2860 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2862 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
2863 (hildon_date_selector_constructor): Do not select the current
2864 date until we are handle the "changed" signal, to avoid having bogus
2865 elements in the days model.
2867 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2869 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
2870 for num_days, since _month_days() can return a negative value.
2872 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2874 * src/hildon-caption.c (hildon_caption_size_allocate):
2875 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
2876 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
2878 Initialize allocation variables to 0, to avoid eventually using
2879 unitialized variables.
2881 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2883 * src/hildon-bread-crumb-trail.c
2884 (hildon_bread_crumb_trail_size_allocate):
2885 * src/hildon-calendar.c (hildon_calendar_set_background):
2886 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
2887 * src/hildon-range-editor.c (hildon_range_editor_get_range):
2888 * src/hildon-seekbar.c (hildon_seekbar_init):
2889 * src/hildon-time-editor.c (hildon_time_editor_get_time):
2890 * src/hildon-time-selector.c (hildon_time_selector_finalize):
2891 * src/hildon-touch-selector-entry.c
2892 (hildon_touch_selector_get_text_from_model):
2893 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
2894 * src/hildon-window.c (hildon_window_finalize):
2896 Remove many unused variables.
2898 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2900 * src/hildon-seekbar.c: (hildon_seekbar_init),
2901 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
2903 Remove unnecessary g_assert() calls.
2905 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2907 * src/hildon-caption.c: (hildon_caption_expose),
2908 (hildon_caption_set_property), (hildon_caption_init),
2909 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
2910 (hildon_caption_size_request), (hildon_caption_size_allocate),
2911 (hildon_caption_forall), (hildon_caption_set_separator),
2912 (hildon_caption_activate), (hildon_caption_set_child_expand),
2913 (hildon_caption_set_label_text),
2914 (hildon_caption_get_label_alignment):
2916 Remove unnecessary g_assert() calls.
2918 2009-02-12 Alberto Garcia <agarcia@igalia.com>
2920 * src/hildon-banner.c
2921 (hildon_banner_map, hildon_banner_init): Make banner temporary
2922 before mapping it to avoid closing other temporary windows, but
2923 make it non-temporary afterwards to avoid being closed by other
2924 non-temporary windows.
2925 (-hildon_banner_client_event, hildon_banner_init):
2926 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
2928 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
2931 2009-02-11 Alberto Garcia <agarcia@igalia.com>
2933 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
2936 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2938 * src/hildon-remote-texture.c
2939 * src/hildon-remote-texture.h
2940 * src/hildon-remote-texture-private.h
2941 * examples/hildon-remote-texture-example.c:
2942 Updates/fixes to remote-texture and its example.
2944 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
2946 Patch by Mox Soini (ext-mox.soini@nokia.com)
2948 * src/hildon-code-dialog.c: Update logical id.
2949 * src/hildon-set-password-dialog.c: Update logical id.
2951 Fixes: NB#100646 (Logical strings is shown for ok in set
2952 password,Password needed dialogs)
2954 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2957 * src/hildon-remote-texture.c
2958 * src/hildon-remote-texture.h
2959 * src/hildon-remote-texture-private.h
2961 Added remote texture widget (for Clutter shared memory textures)
2963 * examples/hildon-remote-texture-example.c
2964 * examples/Makefile.am
2965 Added example file for remote texture usage
2967 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
2969 * configure.ac: post release version bump.
2970 * debian/changelog: version bump.
2972 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
2977 * configure.ac: Bump version.
2978 * debian/changelog: Updates.
2980 2009-02-06 Alberto Garcia <agarcia@igalia.com>
2982 * src/hildon-date-selector.c (hildon_date_selector_init)
2983 (hildon_date_selector_constructor): Don't connect to the "changed"
2984 signal until the selector is completely constructed.
2986 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2988 * src/hildon-touch-selector.c: (_create_new_column),
2989 (hildon_touch_selector_append_column),
2990 (hildon_touch_selector_set_column_selection_mode),
2991 (hildon_touch_selector_set_active),
2992 (hildon_touch_selector_select_iter):
2993 Emit the HildonTouchSelector::changed signal every time selection
2994 is changed in any of the methods above. This behavior was already
2995 documented but not fully functional.
2997 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
2998 selection is programmatically changed)
3000 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3002 * doc/hildon-sections.txt: Remove obsolete icon
3003 sizes from here as well.
3005 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3007 * examples/hildon-stackable-window-example.c (add_window): Remove
3010 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3012 * src/hildon-app-menu.c
3013 (hildon_app_menu_show): Check whether the parent window of a menu
3014 is topmost before popping it up.
3016 Fixes: NB#100468 (Application menu window is launched even when a
3017 new secondary-window/dialog is pending to be shown/realized.)
3019 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3021 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3024 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3026 Patch by Mox Soini (ext-mox.soini@nokia.com)
3028 * src/hildon-banner.c: (hildon_banner_show_animation):
3029 use stylus size instead of obsolete note size.
3030 * src/hildon-defines.h: Update icon sizes.
3032 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3034 * src/hildon-touch-selector-entry.c:
3035 (hildon_touch_selector_entry_init): Disable unsupported
3037 (hildon_touch_selector_entry_get_text_column): Emit a warning
3038 if an unsupported input modes is used and explicitile state
3039 these modes in the documentation.
3041 Fixes: NB#99802 (Hildon touch selector entry not working properly
3042 for some of the input modes)
3044 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3046 * src/hildon-pannable-area.c,
3047 (hildon_pannable_area_init): Added the changed signal handlers of
3050 Fixes: NB#100320 (HildonPannableArea does not listen to
3051 GtkAdjustment "change" signals)
3053 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3055 * doc/hildon-sections.txt
3056 * src/hildon-window-private.h
3057 * src/hildon-window.h
3058 * src/hildon-window.c (hildon_window_init)
3059 (hildon_window_realize, hildon_window_unrealize)
3060 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3061 (hildon_window_size_request, hildon_window_size_allocate)
3062 (hildon_window_forall, hildon_window_show_all)
3063 (hildon_window_destroy, +paint_edit_toolbar)
3064 (+hildon_window_set_edit_toolbar):
3065 New hildon_window_set_edit_toolbar() method, to add a
3066 HildonEditToolbar to a window without having to pack it manually.
3068 Reorganize hildon_window_size_allocate()
3070 * src/hildon-edit-toolbar.c: Update documentation.
3072 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3073 example to use the new API.
3075 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3077 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3079 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3080 Remove from stack before calling parent's hide.
3082 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3084 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3085 window is removed from the middle of the stack, update the
3086 transiency of the previous one.
3088 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3091 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3093 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3094 block/unblock the signal handler if it's not actually being used.
3095 Fixes some critical warnings.
3097 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3099 Based on a patch by Iván Gómez (igomez@igalia.com)
3101 * src/hildon-banner.c
3105 * src/hildon-pannable-area.c
3106 * src/hildon-picker-dialog.c
3107 * src/hildon-wizard-dialog.h
3108 * src/hildon-wizard-dialog.c: Documentation updates.
3110 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3111 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3113 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3115 * configure.ac: post release version bump.
3116 * debian/changelog: version bump.
3118 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3123 * configure.ac: Bump version.
3124 * debian/changelog: Updates.
3126 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3128 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3129 a stock icon nor change the relief of the back arrow.
3131 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3132 graphics from theme)
3134 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3136 * src/hildon-button.c (hildon_button_set_alignment): Use
3137 priv->alignment if the button has no child yet.
3139 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3141 * src/hildon-button.c: (hildon_button_init): Set the
3142 button style during initialization to give it the proper
3145 Fixes: NB#99713 (HildonButton value label color is wrong)
3147 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3149 * src/hildon-touch-selector.c: Document
3150 hildon_touch_selector_center_on_selected()
3152 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3154 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3155 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3156 all menu items, but not the menu itself.
3157 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3158 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3159 items after adding them to the menu so keyboard accelerators work.
3160 (hildon_app_menu_show): Don't show the menu if it contains items
3161 but none of them are visible.
3163 * examples/hildon-app-menu-example.c (create_menu): Use
3164 gtk_widget_show_all() to show all menu items.
3166 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3168 * src/hildon-picker-dialog.c:
3169 (-_update_title_on_selector_changed_cb),
3170 (-_dialog_update_title): Removed.
3171 (_select_on_selector_changed_cb), (_on_dialog_response),
3172 (on_selector_columns_changed): Do not update the dialog title.
3173 (setup_interaction_mode): Do not connect to
3174 HildonTouchSelector::changed signal if there's a "done" button, as
3175 the dialog title doesn't need to be updated.
3177 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3180 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3182 Patch by Kristian Rietveld (kris@imendio.com)
3184 * src/hildon-touch-selector.c: (_create_new_column): Use new
3185 GtkTreeView::hildon-row-tapped signal to react to user interactions
3186 instead of ::changed.
3188 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3189 with some dynamic tree model)
3191 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3193 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3194 (+screen_size_changed, +label_size_request)
3195 (hildon_note_class_init): Make the Hildon information note have a
3196 minimum height, and make its text hvae a maximum width.
3198 Fixes: NB#98614 (Hildon information note (background) should have
3199 minimum height and maximum text width)
3201 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3203 * src/hildon-banner.h
3204 * src/hildon-banner.c (hildon_banner_show_information)
3205 (hildon_banner_show_informationf)
3206 (hildon_banner_show_information_with_markup): Update documentation
3207 to reflect that the icon_name parameter is not used anymore.
3208 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3209 Remove all code from these functions and mark them as deprecated.
3210 (hildon_banner_show_progress): Mark as deprecated.
3212 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3214 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3216 * src/hildon-pannable-area.c,
3217 (hildon_pannable_area_class_init),
3218 (tranparency_color),
3219 (hildon_pannable_draw_vscroll),
3220 (hildon_pannable_draw_hscroll),
3221 (hildon_pannable_area_expose_event): Added a new way to render the
3222 scrollbars of the pannable area avoiding using cairo at all. This
3223 way we improve the performance of the pannable area rendering. The
3224 cairo rendering procedure is still in the code, we can control
3225 which one to use changing the value of the define
3226 USE_CAIRO_SCROLLBARS.
3228 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3230 * configure.ac: post release version bump.
3231 * debian/changelog: version bump.
3233 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3238 * configure.ac: Bump version.
3239 * debian/changelog: Updates.
3241 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3243 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3244 banners instead of destroying them when they receive a button
3247 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3249 Reverted commit 34028, it was causing regressions, probably the
3250 topmost condition is not correct, we have to check it in more
3251 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3252 propagation of button press events)
3254 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3256 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3257 that the selection is not empty before attempting to retrieve the
3258 current ampm selection.
3260 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3262 * src/hildon-picker-button.c:
3263 (hildon_picker_button_on_dialog_response): Directly update the
3264 button contents when required instead of calling _selection_changed.
3266 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3268 * src/hildon-program.c (hildon_program_update_top_most): Update
3269 'is-topmost' property also when wm_hints is not set.
3271 Fixes: NB#98383 (is-topmost signal is not emitted when task
3272 switcher is clicked.)
3274 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3276 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3280 * src/hildon-animation-actor.c,
3281 * src/hildon-animation-actor.h: Added the animation actor class,
3282 this widget represents an animation actor for WM-assisted
3283 animation effects in the Hildon framework.
3285 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3287 * src/hildon-window-stack-private.h
3288 * src/hildon-window-stack.c
3289 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3290 Avoid calling gtk_widget_show() again indirectly from
3291 hildon_stackable_window_show()
3293 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3295 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3298 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3300 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3301 (hildon_time_selector_init): Move the construction of the hours and
3302 ampm columns to the constructor to preserve the order the columns
3305 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3307 * src/hildon-picker-dialog.c:
3308 (hildon_picker_dialog_class_init): Connect a realize method.
3309 (+hildon_picker_dialog_realize): Setup the interaction mode here
3311 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3312 yet, do it during the realize instead.
3313 (_on_dialog_response):
3314 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3315 if the widget is not realized, to avoid the dialog response before it
3318 Avoid premature responses in the HildonPickerDialog that can cause it
3319 to be hidden before it's even shown.
3321 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3323 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3324 (on_selector_columns_changed), (requires_done_button),
3325 (+prepare_action_area), (setup_interaction_mode),
3326 (_hildon_picker_dialog_set_selector):
3328 Split the interaction mode setup into preparation of the
3329 action area (prepare_action_area()) and the connection of
3330 the signals in setup_interaction_mode() and update the code to
3333 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3335 * src/hildon-pannable-area.c,
3336 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3337 per second to 15, we will check if this is ok regarding
3340 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3342 * src/hildon-pannable-area.c,
3343 (hildon_pannable_axis_scroll): Avoid resize if we already have
3344 reached overshoot_max.
3346 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3348 * src/hildon-pannable-area.c,
3349 (hildon_pannable_area_init),
3350 (hildon_pannable_area_realize),
3351 (hildon_pannable_area_size_allocate),
3352 (hildon_pannable_area_map),
3353 (hildon_pannable_area_unmap),
3354 (hildon_pannable_draw_vscroll),
3355 (hildon_pannable_draw_hscroll),
3356 (hildon_pannable_area_expose_event),
3357 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3358 pannable are to avoid the expose events go to the window and
3359 redraw the window. We save this way that part of the stack and the
3360 paint_boxes. We had to change the positions of the elements when
3363 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3365 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3366 * src/hildon-color-chooser-dialog.c:
3367 (hildon_color_chooser_dialog_init):
3368 * src/hildon-font-selection-dialog.c:
3369 (hildon_font_selection_dialog_init),
3370 (hildon_font_selection_dialog_show_preview):
3371 * src/hildon-get-password-dialog.c:
3372 * src/hildon-login-dialog.c:
3373 * src/hildon-set-password-dialog.c:
3374 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3375 * src/hildon-time-picker.c: (hildon_time_picker_init):
3377 Remove obsolete logical string IDs and update to the appropriate ones.
3379 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3381 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3383 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3384 that happens if the window hasn't been realized yet.
3386 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3387 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3389 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3391 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3392 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3395 Fixes: NB#98537 (Device hangs in account settings dialog)
3397 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3399 * configure.ac: post release version bump.
3400 * debian/changelog: version bump
3402 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3407 * configure.ac: Bump version.
3408 * debian/changelog: Updates.
3410 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3412 Added a new function to the HildonTimeButton widget that allows to
3413 change the step of the minutes in the selector associated with the
3414 button: hildon_time_button_new_step
3416 * src/hildon-time-button.c,
3417 (hildon_time_button_init),
3418 (hildon_time_button_new),
3419 (hildon_time_button_new_step):
3420 * src/hildon-time-button.h: Added the new function and refactored
3422 * examples/hildon-time-button-example.c,
3423 (main): We have replaced the function without parameters with the
3424 function with the steps set to 5
3426 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3428 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3430 * src/hildon-time-selector.c,
3431 (hildon_time_selector_class_init),
3432 (hildon_time_selector_constructor),
3433 (hildon_time_selector_get_property),
3434 (hildon_time_selector_set_property),
3435 (_create_minutes_model),
3436 (hildon_time_selector_new_step),
3437 (hildon_time_selector_set_time),
3438 * src/hildon-time-selector.h: Added a new property to the
3439 HildonTimeSelector (minutes-step), we use that property to control
3440 the steps between the minutes in the list of the selector. We have
3441 added a new function to the API to create a widget changing the
3442 step: hildon_time_selector_new_step.
3444 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3446 * src/hildon-time-selector.c,
3447 (hildon_time_selector_class_init),
3448 (hildon_time_selector_constructor),
3449 (hildon_time_selector_init): Overrided the construct function when
3450 creating the time selector object. We have moved the minutes model
3451 handling code from the init to the new construction function:
3452 hildon_time_selector_constructor.
3454 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3456 * examples/hildon-date-button-example.c: (main): Use the new
3457 hildon_date_button_new_with_year_range() method in the example.
3458 * src/hildon-date-button.c:
3459 (+hildon_date_button_new_with_year_range): New public method
3460 to conveniently create a HildonDateButton with a custom year range
3461 in its HildonDateSelector.
3462 * src/hildon-date-button.h: Add the new public method definition.
3464 Fixes: NB#97908 (Not possible to change the year range in
3465 HildonDateSelector/HildonDateButton)
3467 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3469 * src/hildon-date-selector.c:
3470 (+hildon_date_selector_set_property),
3471 (+hildon_date_selector_get_property),
3472 (hildon_date_selector_class_init): Install new properties "min-year"
3473 and "max-year" to define boundaries for the year column.
3474 (_create_year_model): Use the boundary properties to populate the model.
3475 (+hildon_date_selector_new_with_year_range): New public method to
3476 create a HildonDateSelector with a user defined year range.
3477 (hildon_date_selector_select_current_date): Use the new boundaries to
3478 calculate the iterator of current year.
3479 * src/hildon-date-selector.h: Add the new public method definition.
3481 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3483 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3484 Install a constructor method.
3485 (+hildon_date_selector_construct_ui): construct the widget.
3486 (+hildon_date_selector_constructor): new constructor.
3487 (+hildon_date_selector_init): move out widget construction code to
3488 the new constructor.
3490 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3492 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3493 that there's actually a month or year selected before obtaining them.
3494 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3495 of the HildonTouchSelector::changed signal, as it was emitted on every
3496 single item selection.
3498 Fix some warnings and possible crashers due to the selection restoring.
3500 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3502 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3503 the signal handlers only after creating the dialog instead of on every
3506 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3508 * src/hildon-button.c (hildon_button_init)
3509 * src/hildon-check-button.c (hildon_check_button_init)
3510 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3511 focus when clicked by default.
3513 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3515 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3518 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3520 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3521 Alejandro G. Castro (alex@igalia.com)
3523 * src/hildon-picker-dialog.c:
3524 (hildon_picker_dialog_class_init): install new "center-on-show"
3526 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3527 (hildon_picker_dialog_set_property): add setter code for the new
3529 (hildon_picker_dialog_get_property): add getter code for the new
3531 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3532 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3535 Fixes: NB#92849 (Selected item is not always visible when
3536 HildonTouchSelector is shown)
3538 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3540 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3541 Alejandro G. Castro (alex@igalia.com)
3543 * src/hildon-touch-selector.c:
3544 (_create_new_column): Do not connect to the "realize" signal of the
3546 (hildon_touch_selector_append_column): center on the selected items
3547 when a new column is appended.
3548 (hildon_touch_selector_select_iter): Factor out the code to select a
3549 column to hildon_touch_selector_scroll_to().
3550 (+search_nearest_element): Method to retrieve the nearest selected
3551 element to the visible area of the pannable area in a column.
3552 (+on_realize_cb): scroll to the initially selected item.
3553 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3554 the pannable area is realized, otherwise delay this until it is.
3555 (+_hildon_touch_selector_center_on_selected_items): Centers on the
3556 selected items of a given column.
3557 (+hildon_touch_selector_center_on_selected): Public method to center
3558 all columns on the nearest selected item.
3559 * src/hildon-touch-selector.h: Add definition for
3560 hildon_touch_selector_center_on_selected().
3562 Implement public API to ensure visibility of all selected items in
3563 a HildonTouchSelector.
3565 2009-01-16 Alejandro G. Castro <alex@igalia.com>
3567 Fixed a problem in the fading when calling the scroll_to API, and
3568 improve scrollbar fading handling.
3570 * src/hildon-pannable-area.c,
3571 (hildon_pannable_area_grab_notify): avoid the timeout when the
3573 (hildon_pannable_area_button_press_cb),
3574 (hildon_pannable_area_motion_notify_cb): Code style changes.
3575 (hildon_pannable_area_button_release_cb): Review the conditions
3576 when releasing the mouse button to avoid unrequired fading
3578 (hildon_pannable_area_scroll_to): Do not calculate and set the
3579 velocity if the scroll is not required.
3581 2009-01-15 Alberto Garcia <agarcia@igalia.com>
3583 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3584 Don't check whether the new selector is NULL: it cannot be.
3585 Hold a reference to the selector while doing the replacement.
3587 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3589 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3590 unnecessary size_request in a removed widget.
3592 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3594 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3595 an unnecessary reference tracking that was leaking.
3597 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3599 Added delayed motion notify event handling, this way we can
3600 discard redrawing if more than 25 events arrive per second.
3602 * src/hildon-pannable-area.c,
3603 (hildon_pannable_area_init): Initialized the new private atributes
3604 controlling this timeout
3605 (hildon_pannable_area_dispose): Remove the timeout that controls
3606 the motion notify events.
3607 (hildon_pannable_area_scroll): Added a condition to control the
3608 use of the acceleration.
3609 (hildon_pannable_area_motion_event_scroll_timeout),
3610 (hildon_pannable_area_motion_event_scroll): Added this two
3611 functions, they handle the motion notify events inside the
3613 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
3614 to the scroll method with the new function.
3615 (hildon_pannable_area_button_release_cb): We have to remove the
3616 timeout handler and move to the last position if the last motion
3617 events were not handled.
3619 Fixes: NB#97028 (Pannable area updates on every motion event)
3621 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3623 * src/hildon-pannable-area.c,
3624 (hildon_pannable_area_get_topmost): Added a new parameter to
3625 filter the the windows that do not include those events. Added
3626 also a condition when finding the window to filter windows that do
3627 not ask for those events.
3628 (hildon_pannable_area_button_press_cb),
3629 (hildon_pannable_area_button_release_cb),
3630 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3631 topmost function, we have added the new parameter.
3633 Fixes: NB#97458 (Pannable area prevents propagation of button
3636 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3638 * src/hildon-pannable-area.c,
3639 (hildon_pannable_area_initial_effect): Added controls before
3640 launching the timeout and the idle functions.
3641 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
3642 of the method, in some situations it can return with TRUE and 0 in
3644 (hildon_pannable_area_button_press_cb): We do not need to set
3645 DELAY for fading out here.
3647 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
3649 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3651 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
3652 post-cleaning if the selection is not NULL.
3654 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3656 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
3657 all items before restoring the selection.
3659 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3661 * src/hildon-touch-selector.c:
3662 (+hildon_touch_selector_unselect_all):
3663 * src/hildon-touch-selector.h: New API to unselect all items in a
3664 column of the touch selector.
3666 2009-01-14 Alejandro G. Castro <alex@igalia.com>
3668 * src/hildon-pannable-area.c,
3669 (hildon_pannable_area_redraw): Added a call to the refresh
3670 function inside the redraw because apparently in some cases the
3671 change in the adjustment does not imply a size allocate.
3673 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
3674 despite the view not being scrollable)
3676 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3678 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
3679 leak. Check for NULL before attempting to set the window title.
3681 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3683 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
3684 whether to show or not the 'Done' button each time the dialog is
3685 shown, as it depends on the HildonTouchSelector selection mode.
3687 Fixes: NB#96226 (In multiple selection mode Done button is shown
3688 sometimes in listpicker)
3690 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3692 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3693 for the number of columns in the HildonTouchSelector more than once.
3695 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3697 * src/hildon-touch-selector.c: Minor documentation fixes.
3699 * src/hildon-picker-dialog.c (+_dialog_update_title)
3700 (_select_on_selector_changed_cb)
3701 (_update_title_on_selector_changed_cb)
3702 (on_selector_columns_changed): Update dialog title when there's no
3703 'Done' button and also when the number of columns in the selector
3707 * src/hildon-picker-button.c (hildon_picker_button_finalize)
3708 (+_selection_changed, hildon_picker_button_on_dialog_response)
3709 (hildon_picker_button_selector_selection_changed)
3710 (+hildon_picker_button_selector_columns_changed)
3711 (hildon_picker_button_set_selector): Update button value and emit
3712 'value-changed' when the number of columns in the selector
3716 Fixes: NB#96225 (Dialog titles are not shown according to the
3717 values selected in the list picker)
3719 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3721 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
3722 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
3723 New "arrow-width" and "arrow-height" style properties to set the
3724 size of the arrow button.
3725 Set name of arrow button ("hildon-edit-toolbar-arrow").
3727 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3728 graphics from theme)
3730 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3732 * src/hildon-picker-button.c:
3733 (hildon_picker_button_selector_selection_changed): Use
3734 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
3735 the dialog is present.
3737 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
3738 the selection is accepted in the dialog)
3740 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3742 * src/hildon-color-chooser.h
3743 * src/hildon-color-chooser-dialog.h:
3744 Added G_BEGIN_DECLS and G_END_DECLS
3746 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3748 (_clean_current_selection): plug a leak in the list.
3750 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3752 * src/hildon-picker-dialog.c:
3753 (+free_path_list): Method to free a GList of GtkTreePaths.
3754 (_clean_current_selection), (_save_current_selection),
3755 (_restore_current_selection): Save the current selection in
3756 as a list of lists, to support multiple selection properly.
3758 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3760 patch by Claudio Saavedra (csaavedra@igalia.com)
3762 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
3763 Store the press position.
3764 (+hildon_text_view_button_release_event): If the release position is
3765 close enough to the press position, move the cursor here. Otherwise,
3767 (hildon_text_view_class_init): Override GtkTextView press, release, and
3768 motion event handlers, disabling this way text selection through
3769 pointer interaction, and allowing the container widget to handle the
3772 Fixes: NB#95828 (HildonTextView functionality)
3774 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3776 Based on a patch by Iván Gómez (igomez@igalia.com)
3778 * src/hildon-button.[ch]
3779 * src/hildon-calendar.c
3780 * src/hildon-check-button.c
3781 * src/hildon-date-editor.c
3782 * src/hildon-date-selector.c
3783 * src/hildon-picker-button.c
3784 * src/hildon-time-editor.c
3785 * src/hildon-time-selector.c
3786 * src/hildon-touch-selector.[ch]:
3787 Documentation updates
3789 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3791 * src/hildon-pannable-area.c,
3792 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
3793 threshold, it was required due to X events handling.
3795 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3797 * src/hildon-pannable-area.c,
3798 (hildon_pannable_area_grab_notify),
3799 (hildon_pannable_area_initial_effect),
3800 (hildon_pannable_area_button_press_cb),
3801 (hildon_pannable_area_button_release_cb),
3802 (hildon_pannable_area_scroll_cb),
3803 (hildon_pannable_area_scroll_to): Review the timeout management of
3804 the scrollbar, the frecuency was incorrectly set.
3806 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
3808 * src/hildon-picker-button.c:
3809 (+hildon_picker_button_on_dialog_response),
3810 (hildon_picker_button_clicked): Present the dialog instead of
3811 running it with gtk_dialog_run().
3813 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
3816 2009-01-07 Alberto Garcia <agarcia@igalia.com>
3818 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3819 (hildon_app_menu_finalize): When a window is hidden it doesn't
3820 emit notify::is-topmost, so make sure than the menu also
3821 disappears in that case.
3822 (parent_window_topmost_notify): Renamed from parent_window_hidden
3824 Fixes: NB#94460 (stackable window's menu is not closed when its
3827 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3829 * src/hildon-touch-selector-entry.c:
3830 (+hildon_touch_selector_entry_set_input_mode),
3831 (+hildon_touch_selector_entry_get_input_mode):
3832 * src/hildon-touch-selector-entry.h: New methods to access the input
3833 mode in the selector's entry.
3835 Fixes: NB#93410 (API required for setting IM mode in
3836 HildonTouchSelectorEntry)
3838 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3840 * configure.ac: post release version bump.
3841 * debian/changelog: version bump
3843 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3848 * configure.ac: Bump version.
3849 * debian/changelog: Updates.
3851 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
3853 * src/hildon-touch-selector.c:
3854 (_hildon_touch_selector_has_multiple_selection): No need
3855 to initialize the variables here.
3857 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3859 * src/hildon-note-private.h
3860 * src/hildon-note.c (event_box_press_event, hildon_note_init)
3861 (hildon_note_finalize, hildon_note_rebuild): Close information
3862 notes when they receive a button press.
3864 Fixes: NB#89890 (Information notes does not get disappeared after
3867 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
3869 * src/hildon-wizard-dialog.c: (create_title): Remove translation
3870 mark from the wizard title, as it's not really necessary. Also,
3871 do not display the page title if not set.
3873 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3875 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3876 (parent_window_hidden): Use the window's "is-topmost" property to
3877 detect when to hide the menu.
3879 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3881 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3882 (hildon_app_menu_finalize): If the parent window of the menu is
3883 hidden, hide the menu too.
3885 Fixes: NB#94460 (stackable window's menu is not closed when its
3888 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3891 * debian/libhildon1-examples.install
3893 * examples/Makefile.am:
3894 Use dh_install to install all examples.
3895 Use DEB_SRCDIR instead of defining SOURCE_DIR
3897 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3899 * configure.ac: post release version bump.
3900 * debian/changelog: version bump
3902 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3907 * configure.ac: bump version
3908 * debian/changelog: updates
3909 * debian/control: bump gtk+ dependency
3911 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3913 patch by Christian Dywan (christian@imendio.com)
3915 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
3916 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
3918 2008-12-15 Alberto Garcia <agarcia@igalia.com>
3920 * src/hildon-check-button.c (hildon_check_button_init)
3921 (hildon_check_button_class_init, hildon_check_button_style_set)
3922 (hildon_check_button_apply_style):
3923 New "checkbox-size" style property.
3925 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
3926 larger / configurable size)
3928 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3930 * configure.ac: post release version bump.
3931 * debian/changelog: version bump
3933 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3938 * configure.ac: bump version
3939 * debian/changelog: updates
3941 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3943 * doc/hildon-sections.txt
3944 * src/hildon-pannable-area.c
3945 * src/hildon-program.c
3946 * src/hildon-time-editor.c
3947 * src/hildon-touch-selector-entry.c:
3949 More documentation updates.
3951 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3953 * doc/hildon-sections.txt
3954 * src/hildon-caption.c
3955 * src/hildon-code-dialog.c
3956 * src/hildon-color-button.c
3957 * src/hildon-controlbar.c
3958 * src/hildon-date-editor.c
3959 * src/hildon-date-selector.c
3960 * src/hildon-edit-toolbar.c
3961 * src/hildon-find-toolbar.c
3962 * src/hildon-font-selection-dialog.c
3964 * src/hildon-program.c
3965 * src/hildon-range-editor.c
3966 * src/hildon-seekbar.c
3967 * src/hildon-time-editor.c
3968 * src/hildon-time-selector.c
3969 * src/hildon-volumebar-range.c
3970 * src/hildon-volumebar.c
3971 * src/hildon-vvolumebar.c
3972 * src/hildon-weekday-picker.c
3973 * src/hildon-window.c
3974 * src/hildon-wizard-dialog.c:
3976 Lots of documentation fixes.
3978 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3980 Patch contributed by Iván Gómez (igomez@igalia.com)
3982 * src/hildon-check-button.c:
3983 * src/hildon-date-button.c:
3984 * src/hildon-date-selector.c:
3985 * src/hildon-dialog.c:
3986 * src/hildon-edit-toolbar.c:
3987 * src/hildon-entry.c:
3988 * src/hildon-picker-button.c:
3989 * src/hildon-program.c:
3990 * src/hildon-text-view.c:
3991 * src/hildon-time-button.c:
3992 * src/hildon-touch-selector-entry.c:
3993 * src/hildon-window-stack.c:
3995 Add more "since" tags to the new API.
3997 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3999 * doc/hildon-sections.txt: Add below method.
4000 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
4001 version for the hildonized scale.
4002 * src/hildon-gtk.h: Add the definition.
4004 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4006 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4008 * doc/hildon-sections.txt: Add missing entries for new methods.
4010 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4012 Added API to pannable are in order to get its adjustments. We
4013 added two properties to manage the values we had in the private
4016 * src/hildon-pannable-area.c:
4017 (hildon_pannable_area_class_init): Added hadjustment and
4018 vadjustment properties in order to expose horizontal and vertical
4020 (hildon_pannable_area_get_property),
4021 (hildon_pannable_area_set_property): Added code to handle the new
4023 (hildon_pannable_area_get_hadjustment),
4024 (hildon_pannable_area_get_vadjustment): API functions to get the
4026 * src/hildon-pannable-area.h:
4027 (hildon_pannable_area_get_hadjustment),
4028 (hildon_pannable_area_get_vadjustment): API functions to get the
4031 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4033 Fixed some leaks, after valgrinding.
4035 * src/hildon-touch-selector.c:
4036 (_default_print_func): Fixed a leak.
4037 (hildon_touch_selector_append_column): Fixed a leak.
4038 * src/hildon-date-button.c:
4039 (hildon_date_button_init): Fixed a leak.
4040 * src/hildon-date-selector.c
4041 (hildon_date_selector_finalize): Fixed a leak.
4043 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4045 Based on a patch by Christian Dywan (christian@imendio.com)
4047 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4049 * src/hildon-gtk.h: Add definition.
4051 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4053 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4055 * src/hildon-picker-button.c: (hildon_picker_button_init),
4056 (hildon_picker_button_new): Set the HildonButton::style property
4057 in the init method, to propagate the value to the derived classes.
4059 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4061 * src/hildon-button.c: (hildon_button_class_init): Do not make
4062 the "style" property a construct property.
4064 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4066 * src/hildon-wizard-dialog.h
4067 * src/hildon-wizard-dialog.c
4068 (hildon_wizard_dialog_set_forward_page_func)
4069 * src/hildon-pannable-area.h
4070 * src/hildon-pannable-area.c
4071 (hildon_pannable_area_set_size_request_policy):
4072 Documentation fixes.
4074 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4076 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4078 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4080 * doc/hildon-sections.txt: Added sections file.
4082 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4085 * src/*.[ch]: Updates.
4087 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4089 * examples/hildon-progress-indicator-example.c: new file
4090 * examples/Makefile.am: include the new example program
4092 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4094 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4096 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4098 * configure.ac: post release version bump
4099 * debian/changelog: version bump
4101 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4106 * configure.ac: bump version
4107 * debian/changelog: updates
4108 * debian/control: bump gtk+ dependency
4110 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4112 * src/hildon-dialog.c: Mark as deprecated.
4113 * src/hildon-dialog.h: Mark as deprecated.
4114 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4115 from HildonDialog and still work, even if
4116 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4117 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4119 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4120 maemo changes) instead)
4122 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4124 * src/hildon-pannable_area.h:
4125 * src/hildon-pannable_area.c:
4126 (hildon_pannable_area_class_init),
4127 (hildon_pannable_area_set_property),
4128 (hildon_pannable_area_get_property),
4129 (hildon_pannable_area_size_request),
4130 (hildon_pannable_area_get_size_request_policy),
4131 (hildon_pannable_area_set_size_request_policy): Added new API
4132 allowing applications to control the request policy. Now they can
4133 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4134 children allocation (HILDON_MOVEMENT_CHILDREN).
4136 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4140 (hildon_gtk_tree_view_set_ui_mode)
4141 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4142 mode of treeviews and iconviews.
4144 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4146 * src/hildon-touch-selector-entry.c:
4147 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4148 of a GtkEntry to get proper theming.
4150 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4151 widget, not GtkEntry)
4153 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4155 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4156 no HildonWizardDialogPageFunc.
4158 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4160 Patch contributed by Iván Gómez (igomez@igalia.com)
4162 * src/hildon-app-menu.c:
4163 * src/hildon-button.c:
4164 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4165 * src/hildon-stackable-window.c:
4166 * src/hildon-time-selector.c:
4167 * src/hildon-touch-selector.c:
4168 * src/hildon-window.c:
4170 Add more "since" tags to the new API in hildon 2.2.
4172 2008-12-05 Tim Janik <timj@imendio.com>
4174 Patch contributed by Christian Dywan (christian@imendio.com)
4176 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4177 HildonSizeType, which are supplied by Gtk+ now.
4179 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4181 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4182 (with maemo changes) instead)
4184 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4186 Patch contributed by Iván Gómez (igomez@igalia.com)
4188 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4191 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4193 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4194 (some_page_func), (main): Update the example to use a
4195 HildonWizardDialogPageFunc function.
4197 * src/hildon-wizard-dialog-private.h: Add private data for
4198 the HildonWizardDialogPageFunc function usage.
4200 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4201 (destroy), (hildon_wizard_dialog_init), (response),
4202 (hildon_wizard_dialog_set_forward_page_func):
4203 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4204 that applications can use to stop a HildonWizardDialog to jump to
4207 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4210 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4212 * src/hildon-program.h
4213 * src/hildon-program-private.h
4214 * src/hildon-program.c (hildon_program_init)
4215 (hildon_program_set_common_app_menu)
4216 (hildon_program_get_common_app_menu):
4217 New API for setting a common HildonAppMenu for all
4218 HildonStackableWindows registered with the HildonProgram.
4220 * src/hildon-stackable-window.c
4221 (hildon_stackable_window_toggle_menu):
4222 Use the common HildonAppMenu if a window doesn't have a specific
4225 * src/hildon-app-menu-private.h
4226 * src/hildon-app-menu.c
4227 (hildon_app_menu_get_parent_window):
4228 Function to obtain the window a HildonAppMenu is attached to.
4229 (hildon_app_menu_set_parent_window):
4230 Hide the menu if the parent window is set to NULL.
4232 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4234 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4235 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4236 search widget to popup.
4238 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4240 * configure.ac: post release version bump
4241 * debian/changelog: version bump
4243 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4248 * configure.ac: bump version
4249 * debian/changelog: updates
4251 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4253 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4255 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4256 (hildon_window_stack_window_realized)
4257 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4258 Set the leader GdkWindow when a window is stacked and realized,
4259 unset it when it's unstacked.
4260 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4262 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4264 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4266 * src/hildon-stackable-window.h
4267 * src/hildon-window-stack.h:
4268 Protect definition of HildonWindowStack using the preprocessor.
4270 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4272 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4273 Fix warning if all menu items are hidden.
4275 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4277 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4279 * src/hildon-controlbar.c:
4280 * src/hildon-hvolumebar.c:
4281 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4282 Multiple scale size defines updates.
4284 Fixes: NB#94322 (Scale Updates)
4286 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4288 * examples/hildon-app-menu-example.c (create_menu)
4289 Show items after adding them to the menu, as in the future the
4290 menu will no longer call gtk_widget_show() on the added items.
4292 * src/hildon-app-menu.c:
4293 Update example as explained above.
4295 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4297 * src/hildon-app-menu.c
4298 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4299 Make sure that all menu items have finger height.
4301 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4303 * src/hildon-picker-dialog.c:
4304 (_on_dialog_response), (_save_current_selection),
4305 (_restore_current_selection), (_clean_current_selection),
4306 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4307 Defined new functions in order to save the current internal selector
4308 selection previous open the dialog, in case that the use cancel the
4309 interaction, so the widget restores the previous selection.
4311 Fixes: NB#92032 (In calendar application, date values in 'new event'
4314 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4316 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4318 * src/hildon-button.c: Add a reference to the button examples in
4319 hildon-button-example.c
4321 * examples/hildon-button-example.c: Added examples of the most
4322 common button layouts.
4324 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4326 * src/hildon-app-menu.c (hildon_app_menu_show)
4327 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4329 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4331 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4333 * src/hildon-picker-dialog.c:
4334 (hildon_picker_dialog_init): Initialize the signal id for
4335 HildonTouchSelector::columns-changed.
4336 (+on_selector_columns_changed): Set up the interaction mode everytime a
4337 column is added or removed from the HildonTouchSelector.
4338 (_hildon_picker_dialog_set_selector): Connect to
4339 HildonTouchSelector::columns-changed and keep track of it.
4341 Make sure to update the interaction mode of the dialog everytime a
4342 column is added or removed in the HildonTouchSelector.
4344 Fixes: NB#93228 (Done button is not shown always in listpicker)
4346 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4348 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4349 a new ::columns-changed signal.
4350 (hildon_touch_selector_append_column): Emit ::columns-changed.
4351 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4353 Add a ::columns-changed signal, emitted when the number of columns in a
4354 HildonTouchSelector changes.
4356 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4358 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4359 (_hildon_picker_dialog_set_selector): Factor out the code
4360 to set up the dialog interaction mode.
4362 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4364 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4365 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4366 to signal_changed_id.
4368 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4370 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4373 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4375 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4376 Updated the logical ids related to ampm format, as now it is required to
4377 show it correctly localized even on languages with no default
4378 abbreviations for am or pm
4379 (_check_am_pm_format): check correctly the 24h format gconf property
4381 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4383 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4385 * src/hildon-button.c: Documentation updates.
4387 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4389 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4390 * src/hildon-caption.c: (hildon_caption_class_init):
4391 * src/hildon-color-button.c: (hildon_color_button_class_init):
4392 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4393 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4394 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4395 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4397 Remove deprecated GTK+ marshalers and replace them with the ones
4398 provided by GLib, for those available, add a marshaler for
4399 BOOLEAN:VOID, which is not available in GLib, and use it.
4401 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4403 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4404 the text from the previous column if there is no
4405 HildonTouchSelectorColumn::text-property set.
4407 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4409 * src/hildon-button.h
4410 * src/hildon-button.c (hildon_button_set_property)
4411 (hildon_button_get_property, hildon_button_class_init)
4412 (hildon_button_set_style, hildon_button_get_style):
4413 New "style" property to change the visual appearance of the
4416 * src/hildon-picker-button.c (hildon_picker_button_new):
4417 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4419 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4420 HildonButton look like PickerButton)
4422 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4424 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4425 column while building the default string.
4427 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4429 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4430 scroll indicator by default.
4432 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4434 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4436 * src/hildon-main.c: Fix the documentation for hildon_init()
4438 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4440 * doc/hildon-docs.sgml
4444 * src/hildon-window-stack-private.h
4445 * src/hildon-window-stack.h
4446 * src/hildon-window-stack.c:
4447 New HildonWindowStack object, that adds support for multiple
4448 stacks of windows per process.
4450 * src/hildon-stackable-window-private.h
4451 * src/hildon-stackable-window.h
4452 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4453 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4454 (hildon_stackable_window_show, hildon_stackable_window_hide)
4455 (hildon_stackable_window_class_init)
4456 (hildon_stackable_window_init):
4457 Use HildonWindowStack for stack management.
4459 * src/hildon-program.c (hildon_program_pop_window_stack)
4460 (hildon_program_peek_window_stack)
4461 (hildon_program_go_to_root_window):
4462 Add a fallback implementation to the deprecated functions using
4465 * examples/hildon-stackable-window-example.c:
4466 Use the new HildonWindowStack API.
4468 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4470 * src/hildon-stackable-window-private.h
4471 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4472 (hildon_stackable_window_hide, hildon_stackable_window_init):
4473 Remove all window stack management.
4475 * src/hildon-program-private.h
4476 * src/hildon-program.h
4477 * src/hildon-program.c (hildon_program_init)
4478 (hildon_program_pop_window_stack)
4479 (hildon_program_peek_window_stack)
4480 (hildon_program_go_to_root_window):
4481 Remove all window stack management and mark functions as
4484 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4486 * src/hildon-app-menu.c (hildon_app_menu_realize):
4487 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4489 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4491 * configure.ac: post release version bump
4492 * debian/changelog: version bump
4494 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4499 * configure.ac: bump version
4500 * debian/changelog: updates
4502 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4504 Based on initial code by Christian Dywan (christian@imendio.com)
4506 * doc/hildon-docs.sgml: Add section for hildon-main.
4507 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4508 * src/Makefile.am: Add new hildon-main.[ch]
4509 * src/hildon-defines.h: Update the icon sizes.
4510 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4511 new library initialization files and register icon sizes.
4512 * src/hildon-main.h: New declarations.
4513 * src/hildon.h: Include hildon-main.h
4515 Add new initialization functions to the library. These methods
4516 will register the hildon specific icon sizes and can be used in the
4517 future for other hildon specific bits.
4519 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4521 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4523 * src/hildon-window.c: (hildon_window_realize),
4524 (hildon_window_notify), (-hildon_window_update_title): Do not set
4525 the application name in the window title.
4527 Fixes: NB#89754 (Applications shouldn't display their names in the
4530 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4532 * src/hildon-note-private.h:
4533 * src/hildon-note.c: (hildon_note_set_property),
4534 (hildon_note_get_property), (hildon_note_class_init),
4535 (hildon_note_init), (hildon_note_finalize),
4536 (hildon_note_new_confirmation_with_icon_name),
4537 (hildon_note_new_information_with_icon_name):
4539 No need to mark as deprecated the actual code. Revert
4540 to avoid missing symbols in widgets using deprecated API.
4542 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4544 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4546 * src/hildon-volumebar.h
4547 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4548 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4550 * src/hildon-helper.h
4551 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4552 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4554 * examples/Makefile.am:
4555 Deprecate hildon-insensitive-example
4557 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4559 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4561 * examples/hildon-pannable-area-buttons-scroll-example.c:
4562 Make all buttons finger height
4564 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
4566 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4568 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4569 update the day model only if it is really required, and to avoid the
4570 full-reconstruction aproach. Now it only add or remove the required days.
4572 The purpose of this is avoid superfluous HildonTouchSelector::changed
4575 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4576 with strange parameters)
4578 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
4580 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4582 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4583 the WINDOW_TYPE property.
4585 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4587 2008-11-19 Alberto Garcia <agarcia@igalia.com>
4590 Fix dependency to allow parallel compilation with make -jX
4592 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
4594 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
4595 color frame and some minor tweaks to make it more consistent with
4598 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4599 highlighted but not visible)
4601 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4603 * examples/Makefile.am: Fixed typo in the Makefile.am.
4605 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4607 Reviewed the use of MAEMO_GTK define, now we add the define in the
4608 compilation line, and we also add it to the pc file.
4610 * configure.ac: Added MAEMO_GTK define to the compilation command
4611 and removed it from the config.h.
4613 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
4614 do not have to take care about this define if the library was
4618 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
4620 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4622 * examples/Makefile.am,
4623 * examples/hildon-pannable-area-buttons-scroll-example.c,
4624 * examples/hildon-pannable-area-gesture-signals-example.c,
4625 * examples/hildon-pannable-area-scroll-jump-example.c,
4626 * examples/hildon-pannable-area-tree-view-example.c:
4627 Renamed the pannable area examples, now they have more meaningful
4630 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
4632 * src/hildon-touch-selector.c:
4633 (hildon_touch_selector_set_column_selection_mode): Used of
4634 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
4635 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
4636 to avoid re-seting the same selection mode.
4638 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
4639 breaks HildonPickerDialog)
4641 2008-11-13 Alejandro G. Castro <alex@igalia.com>
4643 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
4644 conditional in the Makefile.am
4646 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
4648 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
4649 Remove unused methods.
4651 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4653 * src/hildon-button.c (hildon_button_init):
4654 Make button images center-aligned by default
4656 2008-11-12 Alejandro G. Castro <alex@igalia.com>
4659 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
4660 activated, we have to think about how to deal with both defines
4661 MAEMO_GTK and MAEMO_CHANGES.
4663 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4665 * examples/hildon-app-menu-example.c (create_menu): Make all
4666 buttons finger size.
4668 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4670 Fixed the compilation without maemo gtk adding ifdefs with
4671 MAEMO_GTK define to the code, we have to check this version more
4674 * examples/Makefile.am: Added control to avoid some examples that
4675 just make sense with maemo gtk.
4678 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
4679 hildon modes with the define.
4681 * examples/hildon-edit-toolbar-example.c,
4682 (create_icon_view): Create the icon view without hildon-gtk
4683 helpers if we are not using maemo gtk.
4685 * src/hildon-touch-selector.c,
4686 (_create_new_column): Create the treeview without hildon-gtk
4687 helpers if we are not using maemo gtk.
4689 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4691 * src/hildon-pnnable-area.c,
4692 (hildon_pannable_area_dispose),
4693 (hildon_pannable_area_button_press_cb),
4694 (hildon_pannable_area_child_mapped),
4695 (hildon_pannable_area_add),
4696 (hildon_pannable_area_remove): Added code to control the position
4697 of the event_window when adding and removing children from the
4698 pannable. We have to raise the event window when the child is
4701 Fixes: NB#89811 (Not able to select first image thumbnail in multi
4702 selection mode using custom widget inside pannable)
4704 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4706 * configure.ac: post release version bump
4707 * debian/changelog: version bump
4709 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4714 * configure.ac: bump version
4715 * debian/changelog: updates
4717 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
4719 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
4720 search mode, in order to avoid lose the focus on the treeview when
4721 a hw key (like enter) is pressed.
4723 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
4724 in HildonDateSelector dialog)
4726 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
4728 * debian/rules: Added --enable-maintainer-mode
4729 * Makefile.am: Added ACLOCAL_AMFLAGS
4731 This allows to properly regenerate the Makefiles if you modify the
4732 configure.ac or any Makefile.am.
4734 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4736 * examples/hildon-app-menu-example.c: (main): Do not set RC style
4737 properties, not needed at all.
4739 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4741 * src/hildon-note-private.h: Add strings for the icon and stock_icon
4743 * src/hildon-note.c: (hildon_note_set_property),
4744 (hildon_note_get_property), (hildon_note_class_init),
4745 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
4746 (hildon_note_new_confirmation_add_buttons): Remove icons.
4747 (hildon_note_new_confirmation_with_icon_name): Deprecate.
4748 (hildon_note_new_information_with_icon_name): Deprecate.
4749 (hildon_note_new_confirmation): Act directly, without calling
4750 the deprecated constructor.
4751 (hildon_note_new_information): Act directly, without calling
4752 the deprecated constructor.
4753 * src/hildon-note.h: Mark deprecate methods as such.
4754 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
4755 not run tests on the deprecated methods if built with deprecation
4758 Fixes: NB#91688 (Never show icons in information notes/confirmation
4761 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4763 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
4764 (hildon_app_menu_key_press): Remove leftover usage of the
4765 private structure in HildonAppMenu struct.
4766 * src/hildon-app-menu.h: Remove leftover private structure
4767 from the HildonAppMenu struct.
4769 Fixes a crasher when using the HildonAppMenu.
4771 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4773 * src/hildon-picker-dialog.c: Use appropriate logical id
4774 for the default "Done" text.
4776 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4778 * configure.ac: post release version bump
4779 * debian/changelog: version bump
4781 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
4783 Modified the way to scroll to the current selection just when the touch
4784 selector is shown on the screen, avoiding a g_idle. Added too a property
4785 to configure this behaviour. See hildon_pannable_area_jump_to_child
4786 documentation for more information.
4788 * src/hildon-touch-selector.c
4789 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
4790 Added 'initial-scroll' property
4791 (hildon_touch_selector_set_property): Added
4792 (hildon_touch_selector_map): Removed as not required anymore
4793 (_hildon_touch_selector_on_selected_items): Modified in order to manage
4794 only a concrete column, instead of iterate along all the columns
4796 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4801 * configure.ac: bump version
4802 * debian/changelog: updates
4804 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4806 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
4807 compilation time warnings.
4809 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4811 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4812 the default value for HildonPannableArea::mov-mode to
4813 HILDON_PANNABLE_AREA_MODE_VERT.
4815 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
4817 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4819 Reverting following commit:
4821 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4823 * src/hildon-app-menu-private.h
4824 * src/hildon-app-menu.[ch]
4825 * src/hildon-button.[ch]
4826 * src/hildon-check-button.[ch]
4827 * src/hildon-entry.[ch]
4828 * src/hildon-pannable-area.[ch]
4829 * src/hildon-text-view.[ch]:
4830 Added private field to the object's structure.
4832 because it causes an ABI breakage. We will need to introduce these
4833 changes later at some point. See NB#91636 for an extensive
4834 explanation and status.
4836 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4838 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4840 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4841 remove special cases that are no longer necessary.
4843 Fixes: NB#91016 (Change toolbar sizes, simplification)
4845 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4847 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4848 is shown in the cancel note.
4850 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4852 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
4853 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
4854 (hildon_seekbar_init): Remove steppers, remove expose event.
4855 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
4857 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
4859 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
4861 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
4862 label font to "SmallSystemFont" for vertically arranged buttons.
4864 Fixes: NB#90662 (HildonButton "value" and "detail" text is
4867 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4869 * src/hildon-check-button.c
4870 (hildon_check_button_set_active, hildon_check_button_clicked):
4871 Don't access private parts directly, use getters instead.
4873 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4875 * src/hildon-check-button.c (hildon_check_button_new):
4876 Align the contents of the check button to the left.
4878 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4880 * src/hildon-pannable-area.c,
4881 (hildon_pannable_area_scroll_to),
4882 (hildon_pannable_area_jump_to),
4883 (hildon_pannable_area_scroll_to_child),
4884 (hildon_pannable_area_jump_to_child): Replace the mapped
4885 precondition of these functions with the realized, it is the
4886 correct state of the widget in this case. Changed the
4887 documentation according to this modification.
4889 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4891 Added a new EXTRA_CFLAGS option to add the deprecated define to
4892 the compilation command. This way we can avoid using the define in
4893 the documentation compilation.
4895 * configure.ac: Defined EXTRA_CFLAGS.
4897 * examples/Makefile.am:
4899 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
4901 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
4903 * src/hildon-picker-dialog.c:
4904 Defined a utility macro with the desired touch selector height
4905 Removed currently unused separator, and title_label variables from
4907 (hildon_picker_dialog_init): Removed code related to the creation
4908 of unused private variables title_label and separator.
4909 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
4910 to ensure correct visualization of the touch selector inside the dialog.
4911 * src/hildon-touch-selector.c
4912 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
4913 ensure a concrete height of the widget.
4915 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4918 * tests/Makefile.am:
4920 Remove spurious whitespaces.
4922 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4924 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
4925 compilation warning after the cancel button removal.
4927 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4929 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
4931 * configure.ac: Added an AM_CONDITIONAL in order to use in the
4932 Makefile.am, that way we can choose not to compile some examples
4933 and tests of the deprecated widgets.
4935 * examples/Makefile.am: Divided the sources in deprecated and
4938 * src/Makefile.am: Added undef statement of the deprecated
4939 symbol to the enums file generation process.
4941 * src/hildon-color-chooser-dialog.c
4942 * src/hildon-color-chooser-dialog.h
4943 * src/hildon-color-button.c
4944 * src/hildon-color-button.h
4945 * src/hildon-color-chooser.c
4946 * src/hildon-color-chooser.h
4947 * src/hildon-controlbar.c
4948 * src/hildon-controlbar.h
4949 * src/hildon-date-editor.c
4950 * src/hildon-date-editor.h
4951 * src/hildon-hvolumebar.c
4952 * src/hildon-hvolumebar.h
4953 * src/hildon-private.c
4954 * src/hildon-private.h
4955 * src/hildon-range-editor.c
4956 * src/hildon-range-editor.h
4957 * src/hildon-seekbar.c
4958 * src/hildon-seekbar.h
4959 * src/hildon-time-editor.c
4960 * src/hildon-time-editor.h
4961 * src/hildon-time-picker.c
4962 * src/hildon-time-picker.h
4963 * src/hildon-volumebar.c
4964 * src/hildon-volumebar.h
4965 * src/hildon-vvolumebar.c
4966 * src/hildon-vvolumebar.h
4967 * src/hildon-bread-crumb-trail.h
4968 * src/hildon-bread-crumb-trail.c
4969 * src/hildon-calendar-popup.c
4970 * src/hildon-calendar-popup.h
4971 * src/hildon-weekday-picker.c:
4972 * src/hildon-weekday-picker.h:
4973 * src/hildon-bread-crumb-widget.c:
4974 * src/hildon-bread-crumb-widget.h:
4975 * src/hildon-bread-crumb.c:
4976 * src/hildon-bread-crumb.h:
4977 * src/hildon-calendar.c:
4978 * src/hildon-calendar.h:
4979 * src/hildon-caption.c:
4980 * src/hildon-code-dialog.c:
4981 * src/hildon-code-dialog.h:
4982 * src/hildon-font-selection-dialog.c:
4983 * src/hildon-font-selection-dialog.h:
4984 * src/hildon-get-password-dialog.c:
4985 * src/hildon-get-password-dialog.h:
4986 * src/hildon-login-dialog.c:
4987 * src/hildon-login-dialog.h:
4988 * src/hildon-number-editor.c:
4989 * src/hildon-number-editor.h:
4990 * src/hildon-set-password-dialog.c:
4991 * src/hildon-set-password-dialog.h:
4992 * src/hildon-sort-dialog.c:
4993 * src/hildon-sort-dialog.h: This is the list of deprecated
4996 * src/hildon-touch-selector.c:
4997 * src/hildon-window.c: Added undef statement to avoid compilation
5000 * tests/Makefile.am: Divided the sources in deprecated and
5003 * tests/check_test.c,
5004 (configure_tests): Marked the deprecated code that was adding
5005 suites with deprecated tests.
5007 Fixes: NB#91135 (Deprecate legacy hildon widgets)
5009 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5011 * src/hildon-touch-selector.c: (_default_print_func): Do not
5012 duplicate a string returned by gtk_tree_model_get(), it is already
5015 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5018 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5020 * src/hildon-pannable-area.c
5021 (hildon_pannable_area_add_with_viewport): Reviewed the complete
5022 method, it had problems when adding a widget with viewport the
5023 second time. Now checks if it already has a viewport and uses it.
5025 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5028 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5030 * src/hildon-pannable-area.c,
5031 (hildon_pannable_area_scroll_to),
5032 (hildon_pannable_area_jump_to),
5033 (hildon_pannable_area_scroll_to_child),
5034 (hildon_pannable_area_jump_to_child): Added a precondition to the
5035 scroll and jump to functions: the widget must be mapped before we
5036 can safely call these functions. We have also added documentation
5037 to the functions to explain how to use them in this situation.
5040 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5042 Reviewed the threading handling of the pannable widget, we have
5043 used the gdk_threads_add_timeout function instead of the usual
5044 glib handlers. This avoids some problems with the threads.
5046 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5047 (hildon_pannable_area_initial_effect),
5048 (hildon_pannable_area_scroll_indicator_fade),
5049 (hildon_pannable_area_button_press_cb),
5050 (hildon_pannable_area_timeout),
5051 (hildon_pannable_area_motion_notify_cb),
5052 (hildon_pannable_area_button_release_cb),
5053 (hildon_pannable_area_scroll_cb),
5054 (hildon_pannable_area_scroll_to): Removed the
5055 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5056 gdk_threads_add_timeout.
5058 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5060 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5065 * configure.ac: bump version
5066 * debian/changelog: updates
5068 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5070 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5071 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5072 * src/hildon-color-chooser-dialog.c:
5073 (hildon_color_chooser_dialog_init):
5074 * src/hildon-font-selection-dialog.c:
5075 (hildon_font_selection_dialog_init):
5076 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5078 Remove all cancel/close-like dialogs, as these are not going to be
5081 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5083 * src/hildon-note.c: (hildon_note_rebuild),
5084 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5087 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5089 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5091 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5092 sure all buttons are shown, even the Cancel/Close-like ones.
5094 Fixes: NB#90861 (Custom Confirmation dialogs should be
5095 protected from cancel button removal)
5097 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5099 * debian/control: Change libhildon1-examples dependency from libhildon1
5101 * debian/libhildon1-examples.install
5103 * Makefile.am: Modified the final install directory for the examples on
5104 package libhildon1-examples
5105 * Makefile.static: Update clean target in order to remove all the binary
5108 Changes suggested by Claudio after review new libhildon1-examples package
5110 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5112 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5113 * src/hildon-touch-selector.c: Ditto.
5115 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5117 * debian/control: Added new package libhildon1-examples, in order to pack
5118 the current hildon examples as documentation
5119 * debian/rules: Not to compress .c files, modify some includes on the
5120 examples (as normally are compiled locally, but when installed it will
5121 require to include the installed libhildon1 library), and rename
5123 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5124 install all the example files on the new example package
5125 * examples/Makefile.static: Added static makefile that can be used to
5126 compile the examples, once installed the new example package
5127 * examples: Most of the examples were modified in order to grant that
5128 all use only '#include "hildon.h"', in order to be easy to prepare
5129 it on the example package
5131 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5134 * debian/libhildon1-dev.install
5135 * debian/libhildon1-doc.install:
5136 Move all gtk-doc files to a separate libhildon1-doc package.
5138 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5140 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5142 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5144 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5146 * debian/rules: Fixed a error in order to avoid unnecessary calls
5147 to autogen.sh on package building
5149 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5151 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5153 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5155 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5158 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5160 * src/hildon-picker-button.c
5161 (hildon_picker_button_finalize):
5162 Free priv->done_button_text
5164 * src/hildon-time-button.c
5165 (hildon_time_button_set_time)
5166 * src/hildon-picker-button.c
5167 (hildon_picker_button_clicked)
5168 (hildon_picker_button_selector_selection_changed)
5169 (hildon_picker_button_set_selector)
5170 * src/hildon-date-button.c
5171 (hildon_date_button_set_date):
5172 Free strings returned by hildon_touch_selector_get_current_text()
5174 * src/hildon-button.c (hildon_button_construct_child):
5175 Fix leaks in priv->image and priv->label_box
5177 Fixes: NB#90535 (Memory leak in picker button)
5179 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5181 * src/hildon-button.c: (hildon_button_get_property): Do not access
5182 private elements directly, use getters instead.
5184 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5186 * src/hildon-app-menu-private.h
5187 * src/hildon-app-menu.c
5188 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5189 Store the menu's parent window.
5191 * src/hildon-stackable-window.c
5192 (hildon_stackable_window_toggle_menu)
5193 (hildon_stackable_window_finalize):
5194 Set the menu's parent window when the menu is shown, unset it when
5197 * src/hildon-app-menu.c
5198 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5199 (hildon_app_menu_class_init):
5200 Send unhandled keyboard accelerators to the parent window.
5202 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5204 * src/hildon-stackable-window.c
5205 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5207 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5209 * configure.ac: post release version bump
5211 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5214 * configure.ac: Bump version
5215 * debian/changelog: Updates
5216 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5219 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5221 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5224 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5225 GtkMenu with Hildon style.
5227 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5229 * src/hildon-picker-button.c:
5230 (hildon_picker_button_set_done_button_text): Set the dialog's
5231 done button text here as well.
5233 Fixes: NB#90232 (Picker button does not set the label on done button
5234 for the second time)
5236 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5238 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5241 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5243 * src/hildon-app-menu.c (hildon_app_menu_insert)
5244 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5245 the HildonAppMenu to be activatable using keyboard accelerators
5246 when the menu is not being shown.
5248 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5250 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5252 * src/hildon-stackable-window.c
5253 (hildon_stackable_window_show):
5254 Don't hide old windows automatically when new windows are shown:
5255 this is now a task for the window manager.
5256 (hildon_stackable_window_class_init)
5257 (hildon_stackable_window_hide):
5258 Remove windows from the stack everytime they're hidden.
5259 (hildon_stackable_window_realize):
5260 Don't change the _NET_WM_WINDOW_TYPE property. Use
5261 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5262 it as a stackable window.
5264 * src/hildon-program.c
5265 (hildon_program_pop_window_stack):
5266 Just hide the window to remove it from the stack.
5267 (hildon_program_go_to_root_window):
5268 Don't call gtk_widget_show(), this is now a task for the window
5271 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5273 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5275 * src/hildon-button.c
5276 (hildon_button_construct_child):
5277 Don't pack anything in the button until text or image are
5278 set. This allows adding a custom child after creating the button
5279 with hildon_button_new().
5280 (hildon_button_finalize, hildon_button_class_init)
5281 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5282 alignment and the label box even when they're not packed in the
5285 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5287 * src/hildon-touch-selector.h:
5288 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5289 currently the type definition was using GTK_TYPE_VBOX
5290 * src/hildon-touch-selector.c:
5291 Added some implementation notes in order to clarify that any other widget
5292 added without the column related API will not be included on the
5293 selection logic, and how the widget is freed, as some people ask about
5295 (hildon_touch_selector_remove): Reimplemented in order to free properly
5296 the column related data when you remove the private hbox.
5297 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5298 to get a proper HildonTouchSelectorColumn documentation
5300 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5302 * src/hildon-touch-selector-entry.c:
5303 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5304 text in the GtkEntry and there is no item selected. Fixes a
5307 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5309 * src/hildon-app-menu-private.h
5310 * src/hildon-app-menu.[ch]
5311 * src/hildon-button.[ch]
5312 * src/hildon-check-button.[ch]
5313 * src/hildon-entry.[ch]
5314 * src/hildon-pannable-area.[ch]
5315 * src/hildon-text-view.[ch]:
5316 Added private field to the object's structure.
5318 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5320 * configure.ac: post-release version bump
5322 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5326 * configure.ac: pre-release version bump
5328 * debian/changelog: updates.
5330 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5332 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5333 Disconnect the handler for HildonTouchSelector::changed.
5335 (hildon_picker_button_selector_selection_changed): Update the button
5336 value if the selection change was not triggered by the
5339 (hildon_picker_button_set_selector): connect to
5340 HildonTouchSelector::changed.
5342 Fixes: NB#89650 (Picker button is not updated, when selection in
5343 selector has changed)
5345 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5347 * src/hildon-picker-dialog.c
5348 (hildon_picker_dialog_realize): Removed as not required
5349 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5350 * src/hildon-picker-button.c
5351 (_current_selector_empty): New function, checks if the selector is empty
5352 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5353 if the current selector is empty, in order to avoid to show the dialog
5354 close the dialog in this case (and shows a g_warning).
5356 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5358 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5360 * src/hildon-pannable-area.c,
5361 (hildon_pannable_area_scroll): Added clause to stop movement when
5362 the child of pannable is smaller than one page.
5363 (hildon_pannable_area_scroll_to): Added conditions to avoid
5364 starting the scrolling movement if the child is smaller than one
5365 page, the complete child is in the screen, we do not have to move.
5367 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5369 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5371 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5372 this is managed automatically by the widget when the size of the
5375 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5377 * src/hildon-picker-button.c
5378 (hildon_picker_button_set_done_button_text): Make a copy of the
5379 text, and free the previous value.
5381 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5383 * src/hildon-touch-selector-entry.c:
5384 (hildon_touch_selector_entry_print_func): Return the selected row's
5385 text if the entry is empty.
5387 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5390 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5392 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5394 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5397 * src/hildon-check-button.h
5398 * src/hildon-check-button.c
5399 * examples/hildon-check-button-example.c:
5400 HildonCheckButton is now a new widget. 'toggled' signal added.
5402 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5404 * src/hildon-program-private.h
5405 * src/hildon-program.c (hildon_program_init)
5406 (hildon_program_finalize): Removed unused variables group_leader
5407 and name from HildonProgramPrivate.
5409 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5411 * src/hildon-check-button.c (hildon_check_button_set_active)
5412 (hildon_check_button_get_active, hildon_check_button_new): Use
5413 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5415 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5417 * src/hildon-touch-selector.h
5418 (hildon_touch_selector_set_column_attributes): added deprecation
5419 guard HILDON_DISABLE_DEPRECATED
5420 * src/hildon-time-selector.c
5421 (hildon_time_selector_set_time)
5422 (hildon_time_selector_get_time): Fixed a typo on documentation
5423 * src/hildon-touch-selector.c: update HildonTouchSelector and
5424 HildonTouchSelectorColumn documentation
5425 * src/hildon-touch-selector-entry.c: update "text-column" property
5427 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5428 to be added to the general documentation.
5430 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5432 * examples/hildon-pannable-area-example-4.c,
5434 * examples/hildon-pannable-area-example.c,
5435 (main): Modified the code in order to use the container add, with
5436 viewport treeviews could have problems if they are really big.
5438 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5440 * src/hildon-weekday-picker.c,
5441 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5442 the agreement regarding deprecation in the library.
5444 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5446 * examples/hildon-picker-button-multicolumn-example.c:
5447 (main): Use custom "done" button text.
5449 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5450 (hildon_picker_button_set_property),
5451 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5452 (hildon_picker_button_init),
5453 (+hildon_picker_button_get_done_button_text),
5454 (+hildon_picker_button_set_done_button_text): New methods to customize
5455 the "done" button label in the launched HildonPickerDialog. Also,
5458 * src/hildon-picker-button.h: add the public API.
5460 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5462 * src/hildon-date-selector.h:
5463 * src/hildon-picker-dialog.h:
5464 * src/hildon-time-selector.h:
5465 * src/hildon-touch-selector-column.h:
5466 * src/hildon-touch-selector.h:
5468 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5469 declarations. Fixes gtk-doc warnings.
5471 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5473 * src/hildon-picker-dialog.h
5474 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5475 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5477 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5478 long text is set as label for done button)
5480 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5482 * src/hildon-dialog.c (hildon_dialog_add_button):
5483 Set fixed width to all buttons in the HildonDialog.
5485 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5487 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5489 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5490 Set widget name using class name plus "-finger" or "-thumb".
5492 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5494 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5495 'clicked' when the state of the button is manually changed.
5497 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5499 * src/hildon-app-menu.c (hildon_app_menu_realize)
5500 (hildon_app_menu_unrealize, hildon_app_menu_init)
5501 (hildon_app_menu_class_init, item_visibility_changed):
5502 Change the menu layout when the size of the screen changes.
5503 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5504 Show warning only when changing the number of colums using the
5507 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5509 * debian/compat: Set to 5
5510 * debian/control: Update dependencies.
5511 * debian/libhildon1-dbg.install: Remove.
5512 * debian/libhildon1-dev.install: Update according to cdbs paths.
5513 * debian/libhildon1.install: Update according to cdbs paths.
5514 * debian/rules: Switch to cdbs.
5516 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5518 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5519 'item' variable renamed to 'filter'
5521 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5523 * src/hildon-app-menu.c (hildon_app_menu_insert)
5524 (hildon_app_menu_add_filter, remove_item_from_list)
5525 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5526 Don't leak hidden items when the menu is destroyed.
5528 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5530 * src/hildon-app-menu.c (hildon_app_menu_insert)
5531 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5532 (hildon_app_menu_set_columns, item_visibility_changed)
5533 (filter_visibility_changed, hildon_app_menu_repack_filters)
5534 (hildon_app_menu_repack_items):
5535 Repack items and filters separately.
5537 Don't repack all items, change only the ones that are needed to
5540 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5542 * src/Makefile.am: added hildon-touch-selector-column.h
5544 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5546 * src/hildon-touch-selector.c: added the property "text-column" to the
5547 class HildonTouchSelectorColumn, and related get/set functions
5548 (_default_printf_func): updated to use "text-column" property
5549 * src/hildon-touch-selector-entry.c: mark as deprecated the property
5550 "text-column" in his documentation, as this is now included on
5551 HildonTouchSelectorColumn. The get/set_property can still be used,
5552 working as a wrapper to the concrete column "text-column" property
5553 (_text_column_modified): callback added in order to handle the signal
5554 "notify::text-column" of the concrete HildonTouchSelectorColumn
5555 (hildon_touch_selector_entry_get_text_column)
5556 (hildon_touch_selector_entry_set_text_column): Added documentation, and
5557 modified in order to use the HildonTouchSelectorColumn "text-column"
5559 * src/hildon-time-selector.c:
5560 * src/hildon-date-selector.c:
5561 * examples/hildon-touch-selector-example.c
5562 * examples/hildon-touch-selector-multi-cells-example.c
5563 * examples/hildon-picker-button-multicolumn-example.c
5564 Set the right value to "text-column" property on the creation of a new
5565 column using hildon_touch_selector_append_column()
5567 Fixes: NB#88644 (Hardcoded first column of the model as text column)
5569 2008-09-30 Alberto Garcia <agarcia@igalia.com>
5571 * src/hildon-app-menu.c
5572 (hildon_app_menu_construct_child, hildon_app_menu_init): When
5573 updating the layout of the menu, don't create all widgets again,
5574 just repack the items in their new places.
5576 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
5578 * src/hildon-time-selector.c
5579 (hildon_time_selector_get_time)
5580 (hildon_time_selector_set_time)
5581 Added documentation of these public methods
5583 * src/hildon-date-button.h
5584 * src/hildon-touch-selector-column.h
5585 * src/hildon-time-button.h
5586 * src/hildon-picker-dialog.h
5587 * src/hildon-time-selector.h
5588 * src/hildon-picker-button.h
5589 * src/hildon-touch-selector.h
5590 * src/hildon-time-picker.h
5591 * src/hildon-date-selector.h
5592 * src/hildon-touch-selector-entry.h
5593 Modified in order to use hildon-widgets code style
5595 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5597 Added deprecated support to the compilation process using
5598 HILDON_DISABLE_DEPRECATED
5600 * configure.ac: Added the --disable-deprecated to the configure
5603 * src/hildon-weekday-picker.c:
5604 * src/hildon-weekday-picker.h: Deprecated widget, example of how
5605 to use the deprecated support. We will update the other deprecated
5606 widgets status in a new patch.
5608 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5610 * configure.ac: Fixed typo with fatal warnings support, the
5611 variable name was not correct
5613 2008-09-29 Alberto Garcia <agarcia@igalia.com>
5615 * src/hildon-app-menu.c
5616 * src/hildon-program.c: Update documentation.
5618 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5620 * configure.ac: Post-release version bump.
5622 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5627 * configure.ac: Pre-release version bump.
5628 * debian/changelog: Updates.
5630 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5632 * NEWS: Update news for previous releases.
5634 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5636 * examples/hildon-touch-selector-multi-cells-example.c:
5637 (create_selector): Update the example to use
5638 hildon_touch_selector_append_column() with a NULL renderer and set
5639 the renderers later.
5640 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
5641 passed a NULL renderer. This is documented behavior now.
5643 Allow passing a NULL renderer to hildon_touch_selector_append_column().
5644 This must be used if the developer wants full control on the layout of
5645 the renderers to be added to the column.
5647 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5649 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5651 * src/hildon-touch-selector.c: Documentation fixes.
5653 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5655 * src/hildon-wizard-dialog-private.h: Remove image and box.
5656 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
5657 (hildon_wizard_dialog_set_property), (response): Completely remove
5658 image/icon support, and the containers required for the layout.
5660 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
5662 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5664 * src/hildon-app-menu.c: Updated documentation.
5666 * src/hildon-stackable-window.c
5667 (hildon_stackable_window_set_main_menu): Unref the old menu after
5668 ref'ing the new one.
5670 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5672 * src/hildon-stackable-window.c
5673 (hildon_stackable_window_set_main_menu): Unref the previous menu
5674 instead of destroying it.
5676 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
5677 floating reference and set has_user_ref_count to FALSE to make
5678 HildonAppMenu act like a normal ref-counted widget and not a
5681 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
5684 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
5686 * src/hildon-touch-selector-column.h: new file
5687 * src/hildon-touch-selector.h
5688 * src/hildon-touch-selector.c
5689 Implemented GtkCellLayout interface, in order to allow to configure
5690 the cell layout on each individual selector column
5691 (hildon_touch_selector_set_column_attributes): marked as deprecated
5692 * examples/hildon-touch-selector-multi-cells-example.c
5693 Example of how to use the GtkCellLayout interface on the selector
5695 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5697 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5699 * src/hildon-app-menu.h
5700 * src/hildon-app-menu.c
5701 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
5702 (hildon_app_menu_append, hildon_app_menu_prepend):
5703 New methods to prepend, insert and move items in the menu.
5705 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5707 * src/hildon-wizard-dialog.c:
5709 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
5711 (create_title): Update logical IDs and related code.
5712 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
5714 * src/hildon-wizard-dialog.h: Note that
5715 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
5716 point, as it is not used anymore.
5718 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
5720 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5722 * src/hildon-note.c:
5723 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
5724 shown. Do not display an icon in confirmation notes nor information
5726 (hildon_note_set_button_text): Update logical ID for cancel button.
5728 Fixes: NB#88850 (Update HildonNote button strings + signals)
5730 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5732 * src/hildon-stackable-window.c
5733 (hildon_stackable_window_set_main_menu): Fix compilation warning.
5735 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5737 * src/hildon-app-menu-private.h
5738 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
5739 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
5740 (hildon_app_menu_init, hildon_app_menu_class_init): Added
5741 temporary property 'columns' to change the number of columns.
5743 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5745 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
5747 * examples/hildon-note-example.c: (on_information_clicked),
5748 (on_confirmation_clicked), (on_progress_clicked), (main): Add
5749 debugging information.
5750 * src/hildon-note-private.h: Remove close_if_pressed_outside,
5752 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
5753 (hildon_note_rebuild): Remove special handling of tapping outside/inside
5754 in order to close: this will be handled by the WM from now on.
5756 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
5758 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5760 * src/hildon-app-menu-private.h
5761 * src/hildon-app-menu.c
5762 (hildon_app_menu_append, hildon_app_menu_add_filter)
5763 (button_visibility_changed, hildon_app_menu_apply_style)
5764 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
5765 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
5766 layout everytime a button (item or filter) is shown or hidden.
5768 * src/hildon-stackable-window.c
5769 (hildon_stackable_window_set_main_menu): Destroy the old menu when
5772 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
5774 * src/hildon-touch-selector.c:
5775 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
5776 that the treeview inside the touch selector is in fremantle hildon mode
5777 * examples/hildon-date-button-example.c
5778 * examples/hildon-picker-button-multicolumn-example.c
5779 * examples/hildon-touch-selector-entry-example.c
5780 * examples/hildon-touch-selector-example.c
5781 * examples/hildon-time-button-example.c
5782 * examples/hildon-picker-button-example.c:
5783 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
5785 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
5787 * examples/hildon-text-view-example.c: (main): Remove the
5788 gtkrc bits, now handled by the theme.
5790 2008-09-22 Alberto Garcia <agarcia@igalia.com>
5792 * src/hildon-picker-button.c (hildon_picker_button_set_active):
5795 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5797 * po/Makefile.am: Install properly the mo files.
5798 * po/en_GB.po: Update translation, to ease testing purposes.
5800 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5802 * examples/hildon-picker-button-example.c: (main): Select an item
5803 in the selector before setting it to the button.
5805 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5807 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
5808 Update button's value if the selector has an item active.
5810 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
5811 'value' with the selector)
5813 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5815 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
5816 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
5817 (hildon_picker_button_class_init): Plug the finalize method.
5818 (hildon_picker_button_set_selector): If there's a previously set
5819 selector, unref'it before setting a new one.
5821 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
5822 HildonTouchSelector)
5824 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
5826 * src/hildon-touch-selector-entry.c:
5827 (hildon_touch_selector_entry_changed): Check if there is no text
5828 selected before setting the entry text.
5831 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5833 * src/hildon-touch-selector.h
5834 * src/hildon-touch-selector.c
5835 (hildon_touch_selector_get_active)
5836 (hildon_touch_selector_set_active): New methods to set/get the
5837 index of the selected item.
5839 * src/hildon-picker-button.h
5840 * src/hildon-picker-button.c
5841 (hildon_picker_button_get_active)
5842 (hildon_picker_button_set_active): New methods to set/get the
5843 index of the selected item.
5845 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5847 * configure.ac: post-release version bump.
5849 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5853 * configure.ac: Pre-release version bump.
5854 * debian/changelog: Updates.
5855 * debian/control: Add myself as maintainer and depend on l10n
5858 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5860 * src/hildon-window.c
5861 (hildon_window_set_main_menu)
5862 * src/hildon-stackable-window.c
5863 (hildon_stackable_window_set_main_menu):
5864 Updated documentation.
5866 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5868 * src/hildon-date-selector.c (hildon_date_selector_finalize):
5869 Don't free selector->priv manually.
5872 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5875 (hildon_gtk_window_set_progress_indicator):
5876 * src/hildon-gtk.h: Added the new API
5877 hildon_gtk_window_set_progress_indicator, it changes the state of
5878 the window progress hint.
5880 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5882 * src/hildon-button.c
5883 * src/hildon-stackable-window.c: Minor documentation updates.
5885 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5887 * src/hildon-stackable-window.c: Updated documentation.
5889 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
5891 * src/hildon-defines.h: Update margins definitions
5892 to the Fremantle sizes.
5895 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5897 * src/hildon-touch-selector.c,
5898 (_hildon_touch_selector_set_model): Cleaning the code after
5899 review, removed g_print and #if 0 from the code.
5901 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5903 * src/hildon-edit-toolbar.c: Update documentation.
5905 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5907 * src/hildon-check-button.h
5908 * src/hildon-check-button.c
5909 (hildon_check_button_set_label, hildon_check_button_get_label)
5910 * examples/hildon-check-button-example.c
5911 (button_clicked_cb):
5912 Removed deprecated methods.
5914 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5916 * src/hildon-text-view.c:
5917 Add sample code to the documentation.
5919 * src/hildon-entry.h
5920 * src/hildon-text-view.h:
5921 Minor cosmetic changes.
5923 * src/hildon-entry.c:
5924 Add sample code to the documentation.
5925 (hildon_entry_init, hildon_entry_refresh_contents):
5926 Don't allow NULL values in the placeholder.
5928 2008-09-10 Alberto Garcia <agarcia@igalia.com>
5930 * doc/hildon-docs.sgml
5932 * examples/Makefile.am
5933 * examples/hildon-text-view-example.c
5935 * src/hildon-text-view.c
5936 * src/hildon-text-view.h
5938 New HildonTextView widget, with example.
5940 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5942 * po/POTFILES.in: Add missing files with translatable strings.
5943 Partially fixes NB#88287.
5945 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5947 * examples/hildon-pannable-area-example-2.c: (main): No need to
5948 set the cellrenderer height inside hildon touch lists, the theme does
5951 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5953 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
5954 they are integrated in the theme.
5956 2008-09-09 Alberto Garcia <agarcia@igalia.com>
5958 * examples/hildon-entry-example.c: Update the example adding
5959 widgets to modify the text and the placeholder of the HildonEntry.
5961 * src/hildon-entry.c: Show the placeholder everytime the widget
5962 is empty and loses the focus.
5964 2008-09-09 Alejandro G. Castro <alex@igalia.com>
5966 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
5968 * src/hildon-pannable-area.c,
5969 (hildon_pannable_area_size_request): Fixed bug in height
5970 requisition, avoid increasing size and add border twice.
5972 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5974 * configure.ac: postrelease version bump.
5976 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5980 * configure.ac: Prerelease version bump.
5981 * debian/changelog: update.
5982 * debian/rules: make -dbg package contain useful debugging symbols.
5984 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5986 * src/hildon-dialog.h
5987 * src/hildon-dialog.c
5988 (hildon_dialog_add_button, hildon_dialog_add_buttons):
5989 New methods to add buttons with finger size.
5990 (hildon_dialog_new_with_buttons):
5991 Create buttons with finger size.
5993 * examples/hildon-dialog-example.c (main): Use HildonDialog
5994 methods to add buttons.
5996 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5998 * src/hildon-entry.c: Updated HildonButton documentation.
6000 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6002 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
6003 button value label with (FALSE, FALSE) to prevent NB#88126 from
6006 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6008 * examples/hildon-pannable-area-example.c,
6009 (main): Removed examples panning a vbox inside a pannable
6010 area. Check bug NB#87965
6012 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6014 Patch contributed by Kris Rietveld (kris@imendio.com)
6016 * src/hildon-pannable-area.c,
6017 (hildon_pannable_area_get_topmost): replaced the get_geometry with
6018 get_size and get_position, this saves an X server roundtrip.
6020 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6022 * doc/hildon-docs.sgml
6024 * examples/Makefile.am
6025 * examples/hildon-entry-example.c
6027 * src/hildon-entry.c
6028 * src/hildon-entry.h
6030 New HildonEntry widget, with example.
6032 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6034 * src/hildon-button.c (hildon_button_construct_child): Pack the
6035 image with expand == fill == FALSE. This is a workaround for a bug
6038 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
6040 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6041 labels for the text column, to make it more look more dynamic.
6043 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6045 * src/hildon-time-selector.c
6046 Define gettext auxiliar macro N_
6047 (_create_minutes_model)
6048 (_create_hours_model)
6049 (_create_ampm_model): use of strftime in order to fill the model
6050 * src/hildon-date-selector.c
6051 (hildon_date_selector_finalize):
6052 (_locales_init): remove the logic related to get the name of the months
6053 using nl_langinfo, as it is not required anymore
6055 (_create_year_model)
6056 (_create_month_model)
6057 (_update_day_model): use of strftime in order to fill the model properly
6060 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6062 * src/hildon-button.h
6063 * src/hildon-button.c (hildon_button_get_image): New method to
6066 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6068 * src/hildon-touch-selector.c:
6069 (hildon_touch_selector_remove_column): Remove from the correct parent
6070 and also remove the list element and free it.
6073 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6075 * src/hildon-time-selector.c
6076 (_create_hours_model): change the range on 12h ampm format in order to use
6077 a 12-11 range instead of previous 01-12 range
6078 (hildon_time_selector_set_time): change the way to select the current time
6079 on 12h ampm format, due the change on the range
6080 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6083 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6085 * src/hildon-touch-selector.c
6086 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6087 in order to allow use this function on multiple row selection mode if
6088 the column is different that the first one
6091 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6093 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6094 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6096 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6098 * src/hildon-date-selector.h: clean some comments, now on the .c
6099 * src/hildon-date-selector.c
6100 (hildon_date_selector_select_month): first implementation
6101 (hildon_date_selector_select_day): added documentation, reimplemented
6102 using hildon_date_selector_select_current_date to avoid repeat code
6105 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6107 Reviewed interaction logic based on device experiences, refactored
6110 * src/hildon-pannable-area.c,
6111 (hildon_pannable_area_class_init): Updated default vmax speed.
6112 (hildon_pannable_area_calculate_velocity): Added this function, it
6113 avoids duplicate valocity calculation. Adjusted calculation to
6114 avoid problems with zero dist events.
6116 (hildon_pannable_area_motion_notify_cb): Now we use the
6117 calculate_velocity function.
6119 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6121 * src/hildon-date-selector.c
6122 (hildon_date_selector_select_current_date): fix the day range check
6123 as it failed using the last day of the current month
6126 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6128 * src/hildon-touch-selector.c
6129 (hildon_touch_selector_get_num_columns): added a parameter validation
6132 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6134 * examples/Makefile.am
6135 * examples/hildon-edit-toolbar-example.c: Example of the
6136 HildonEditToolbar widget.
6138 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6140 * configure.ac: postrelease version bump.
6142 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6146 * configure.ac: prerelease version bump.
6147 * debian/changelog: update.
6149 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6151 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6152 renderer to display stock icons in the touch list. Also, set the sizes
6153 to the recommended in the style guide.
6155 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6156 * src/hildon-touch-selector.h
6157 (hildon_touch_selector_set_active_iter): renamed, now is
6158 hildon_touch_selector_select_iter
6159 (hildon_touch_selector_get_active_iter): renamed, now is
6160 hildon_touch_selector_get_selected
6161 (hildon_touch_selector_unselect_iter): added
6162 * src/hildon-touch-selector.c
6163 Update after API modification (methods renamed)
6164 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6165 order to avoid problems selecting multiple elements on the column
6166 (hildon_touch_selector_unselect_iter): added the implementation
6167 * src/hildon-time-selector.c
6168 * src/hildon-date-selector.c
6169 * src/hildon-touch-selector-entry.c
6170 Update methods calls after hildon-touch-selector.h API modification (methods
6173 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6175 * src/hildon-stackable-window.c
6176 (hildon_stackable_window_finalize): Call the parent class's finalize.
6178 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6180 * examples/hildon-touch-selector-example.c: (create_selector): Use
6181 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6184 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6186 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6187 set a cell background color, to respect theming.
6189 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6191 * doc/hildon-docs.sgml
6194 * src/hildon-edit-toolbar.c
6195 * src/hildon-edit-toolbar.h
6196 * src/hildon.h: New HildonEditToolbar widget.
6198 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6200 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6203 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6204 * src/hildon-touch-selector.c
6205 (_create_new_column): use g_object_set instead of two g_object_set_property
6207 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6208 * src/hildon-touch-selector.c
6209 (_create_new_column): use of hildon_gtk_tree_view_new to create
6210 the treeview, instead of use directly g_object_new
6211 (_create_new_column): update the property name "vindicator-mode" for the
6212 new one "vscrollbar-policy"
6213 * examples/hildon-date-button-example.c
6214 * examples/hildon-picker-button-multicolumn-example.c
6215 * examples/hildon-touch-selector-entry-example.c
6216 * examples/hildon-touch-selector-example.c
6217 * examples/hildon-time-button-example.c
6218 * examples/hildon-picker-button-example.c
6219 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6220 to all the treeviews inside a pannable area.
6222 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6224 * src/hildon-button.h
6225 * src/hildon-button.c (hildon_button_init)
6226 (hildon_button_set_arrangement, hildon_button_set_alignment)
6227 (hildon_button_set_title_alignment)
6228 (hildon_button_set_value_alignment)
6229 (hildon_button_set_image_alignment)
6230 (hildon_button_construct_child): New methods to set the alignment
6231 of the individual components of the button (title, value,
6232 image). Also, new method to alter the xscale and yscale properties
6233 of the GtkAlignment inside the button, so more complex layouts can
6236 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6238 * src/hildon-button.c (hildon_button_style_set)
6239 (hildon_button_class_init, hildon_button_set_arrangement)
6240 (hildon_button_construct_child): Apply style properties
6241 correctly. Use the 'image-spacing' style property too.
6243 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6245 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6246 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6249 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6251 * src/hildon-pannable-area.c,
6252 (hildon_pannable_area_size_request): Fixed problem with
6253 pannable-area size_request.
6255 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6257 Added management for the grab-focus to a child widget, like a
6258 range, we need to fade out the scrollbar when releasing.
6260 * src/hildon-pannable-area.c,
6261 (hildon_pannable_area_init): Connected the grab-focus signal to
6263 (hildon_pannable_area_grab_notify): Added this function in order
6264 to manage the situation when the grab-focus ends. We have to
6265 fade-out the scrollbar.
6267 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6269 * src/hildon-app-menu.c: Minor documentation update.
6271 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6273 * src/hildon-app-menu.c
6274 * examples/hildon-app-menu-example.c (create_menu): Update
6275 examples and documentation to explain how to connect callbacks.
6277 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6279 * examples/hildon-button-example.c
6280 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6281 hildon_stackable_window_new instead of gtk_window_new
6283 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6285 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6286 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6287 (hildon_pannable_area_set_property),
6288 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6289 (hildon_pannable_area_unrealize),
6290 (hildon_pannable_area_size_request),
6291 (hildon_pannable_area_size_allocate),
6292 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6293 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6294 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6295 (hildon_pannable_area_initial_effect),
6296 (hildon_pannable_area_redraw),
6297 (hildon_pannable_area_scroll_indicator_fade),
6298 (hildon_pannable_area_expose_event),
6299 (hildon_pannable_area_get_topmost), (synth_crossing),
6300 (hildon_pannable_area_button_press_cb),
6301 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6302 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6303 (hildon_pannable_area_motion_notify_cb),
6304 (hildon_pannable_area_button_release_cb),
6305 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6306 (hildon_pannable_area_remove),
6307 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6308 chage the code layout to a more GtkWidget like. Review the use of
6311 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6313 * examples/hildon-pannable-area-example-4.c,
6314 (main): Modified the name of the hindicator_mode to
6317 * src/hildon-pannable-area.c,
6318 (hildon_pannable_area_class_init),
6319 (hildon_pannable_area_motion_notify_cb),
6320 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6321 we have reduced the amount of signals and managed reviewed its
6322 rationale. Changed the default decelerate value.
6324 (hildon_pannable_area_add),
6325 (hildon_pannable_area_redraw): Refactored functions.
6327 (hildon_pannable_area_init),
6328 (hildon_pannable_area_get_property),
6329 (hildon_pannable_area_set_property):
6330 (hildon_pannable_draw_vscroll),
6331 (hildon_pannable_draw_hscroll),
6332 (hildon_pannable_area_initial_effect),
6333 (hildon_pannable_area_expose_event),
6334 (hildon_pannable_area_scroll),
6335 (hildon_pannable_area_button_press_cb),
6336 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6337 and vindicator_mode with hscrollbar_policy and
6338 vscrollbar_policy. Replaced hscroll and vscroll with
6339 hscroll_visible and vscroll_visible.
6341 (hildon_pannable_area_refresh): Refactor the function, remove
6342 variables and check the calls to this function, added resize
6343 conditions in case the children change their layout.
6345 (hildon_pannable_area_size_request): Added more detailed
6346 size_request calculation.
6349 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6351 * src/hildon-color-chooser.c
6352 (init_borders): use the correct gtk_border_free instead of g_free, to
6353 avoid a crash when this widget is used (ie: the three color selection
6356 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6358 * src/hildon-check-button.c,
6359 (hildon_check_button_set_active): Fixed problem when setting the
6360 active value, the widget was not redrawn.
6362 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6364 * src/hildon-pannable-area.c,
6365 (hildon_pannable_area_refresh),
6366 (hildon_pannable_area_scroll),
6367 (hildon_pannable_area_motion_notify_cb): Small code style change.
6369 (hildon_pannable_area_class_init): Default initial_hint set to
6370 FALSE, it is not in the specs.
6372 (hildon_pannable_area_initial_effect),
6373 (hildon_pannable_area_expose_event),
6374 (hildon_pannable_area_map),
6375 (hildon_pannable_area_init): Moved the launching point of the
6376 initial effect, it was in map but the sizes where not correct in
6377 that method so we do not know if we have the reproduce it. Now it
6378 is placed in the expose_event method and uses a variable to
6379 reproduce it just once.
6381 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6383 * src/hildon-pannable-area.c,
6384 (hildon_pannable_draw_vscroll),
6385 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6386 position allowed for the scrollbars.
6388 (hildon_pannable_area_size_allocate): Small style change.
6390 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6392 * src/hildon-pannable-area.c,
6393 (hildon_pannable_area_scroll_indicator_fade),
6394 (hildon_pannable_area_button_press_cb),
6395 (hildon_pannable_area_button_release_cb),
6396 (hildon_pannable_area_scroll_cb),
6397 (hildon_pannable_area_expose_event),
6398 (hildon_pannable_area_init): Added the define parameter
6399 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6400 and refactor the fade variable.
6402 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6404 * src/hildon-pannable-area.c,
6405 (hildon_pannable_area_redraw),
6406 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6407 lines, we were reimplemeting the redraw code.
6409 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6411 * src/hildon-pannable-area.c,
6412 (hildon_pannable_area_scroll_cb),
6413 (hildon_pannable_area_realize),
6414 (hildon_pannable_area_class_init): Added scroll_event management
6415 for pannable area, now we can scroll the usual desktop method.
6417 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6418 initialization of the parameters should depend on idle_id.
6420 (hildon_pannable_area_init),
6421 (hildon_pannable_area_map): Small code style modifications
6423 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6425 * src/hildon-pannable-area.c
6426 (hildon_pannable_area_button_press_cb),
6427 (hildon_pannable_area_motion_notify_cb),
6428 (hildon_pannable_area_button_release_cb),
6429 (hildon_pannable_area_size_allocate),
6430 (hildon_pannable_area_scroll_to): Improved the timeouts
6431 management, we avoid creating them each time.
6433 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6435 * src/hildon-pannable-area.c:
6436 (hildon_pannable_area_refresh),
6437 (hildon_pannable_area_motion_notify_cb),
6438 (hildon_pannable_area_class_init):
6439 * src/hildon-pannable-area.h:
6440 * src/hildon-touch-selector.c
6441 (_create_new_column):
6442 * examples/hildon-pannable-area-example-4.c:
6443 (horizontal_movement),
6444 (vertical_movement),
6446 Replaced the names of enums in the HildonPannableArea:
6447 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6448 HILDON_MOVEMENT_MODE_*
6449 - HILDON_PANNABLE_AREA_MOV_* ->
6451 - Removed HildonPannableAreaIndicatorMode, now we
6454 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6456 * examples/hildon-pannable-area-touch-grid-example.c
6457 * examples/hildon-pannable-area-touch-list-example.c: Fix
6458 compilation warnings.
6460 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6462 * src/hildon-gtk.c (hildon_gtk_button_new)
6463 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6464 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6465 images overriding the value of the "gtk-button-images" setting.
6467 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6469 * src/hildon-check-button.c (hildon_check_button_new):
6470 Instead of using a custom container, display the label and the
6471 checkbox using the standard GtkButton API.
6473 * examples/hildon-check-button-example.c (main): Don't use
6474 hildon_check_button_set_label() anymore
6476 * src/hildon-check-button.h
6477 * src/hildon-check-button.c
6478 (hildon_check_button_set_label, hildon_check_button_get_label):
6479 Set as deprecated, now we're using gtk_button_{get,set}_label()
6481 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6483 * src/hildon-pannable-area.c,
6484 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6485 GtkTreeview first line we detected it after the inclusion of the
6486 GtkWindowImpl in gtk+. We now check if the window is visible, not
6487 just if the pointer is over the window.
6488 (hildon_pannable_axis_scroll),
6489 (hildon_pannable_area_expose_event): Small style changes.
6491 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6493 * src/hildon-button.c: Update documentation.
6495 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6497 * examples/hildon-button-example.c: Add a switch to show images in
6500 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6502 * doc/hildon-docs.sgml: Some docs reorganization.
6504 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6506 * examples/hildon-pannable-area-touch-list-example.c
6508 * examples/hildon-pannable-area-touch-grid-example.c
6509 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6510 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6511 Fix memory leak when setting the tree model.
6513 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6517 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6519 * doc/hildon.types: Remove duplicated hildon_window_get_type
6520 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6521 documentation comment.
6523 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6525 * doc/Makefile.am: Complete list of private headers.
6527 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6529 * doc/hildon-docs.sgml
6530 * src/hildon-app-menu.c
6531 * src/hildon-bread-crumb.c
6532 * src/hildon-button.c
6534 * src/hildon-program.c
6535 * src/hildon-stackable-window.c
6536 * src/hildon-window.c: Lots of documentation updates.
6538 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6540 * debian/control: Depend on Gtk 2:2.12.9-0osso3
6542 * configure.ac: Require Gtk+ 2.12.9 at least
6544 2008-08-12 Alejandro G. Castro <alex@igalia.com>
6546 * src/hildon-pannable-area.c
6547 (hildon_pannable_area_scroll_indicator_fade),
6548 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6549 to protect the return of this timeout callbacks, avoiding deadlocks.
6551 2008-08-12 Christian Dywan <christian@imendio.com>
6554 * src/hildon-*.h: Ensure a consistent include order,
6555 include <gtk/gtk.h> instead of particular files and
6556 only include the topmost header in the gtk stack. See NB #39857
6558 2008-08-12 Christian Dywan <christian@imendio.com>
6560 * src/hildon-picker-dialog.c
6561 * src/hildon-touch-selector.c: Fix warnings about unused and
6562 uninitialized variables.
6564 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6566 * examples/Makefile.am
6567 * examples/hildon-check-button-example.c: Example of the hildon
6570 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6572 * src/hildon-window.h
6573 * src/hildon-window.c (hildon_window_class_init)
6574 (hildon_window_unset_program): Don't make
6575 hildon_window_unset_program a virtual function anymore.
6577 * src/hildon-stackable-window.c: Update documentation
6579 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6582 * doc/hildon-docs.sgml
6583 * doc/visual_index.xml
6584 * src/hildon-defines.c
6586 * src/hildon-helper.c
6587 * src/hildon-range-editor.c: Lots of documentation fixes.
6589 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6591 * examples/hildon-picker-button-multicolumn-example.c
6592 (create_touch_selector): Fix compilation warning.
6594 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6596 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
6597 (hildon_pannable_area_button_release_cb)
6598 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6600 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6602 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
6605 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6607 * src/hildon-bread-crumb-trail.h
6608 * src/hildon-date-editor.c
6609 * src/hildon-date-selector.c
6610 * src/hildon-pannable-area.c
6611 * src/hildon-picker-dialog.c
6612 * src/hildon-time-selector.c
6613 * src/hildon-touch-selector-entry.c
6614 * src/hildon-touch-selector.c
6615 * src/hildon-touch-selector.h: Misc documentation fixes
6617 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6619 * examples/hildon-date-editor-example.c (main): Updated date
6622 * examples/hildon-note-example.c (on_confirmation_clicked):
6623 Updated confirmation note example.
6625 * src/hildon-date-editor.c
6626 * src/hildon-note.c: Updated sample programs in documentation.
6629 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6631 * src/hildon-date-button.h:
6632 * src/hildon-picker-button.h:
6633 * src/hildon-time-button.c:
6634 * src/hildon-time-button.h:
6636 Some declarations changes to allow gtk-doc to document the widgets
6639 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6641 * src/hildon-date-button.c: Document the widget.
6642 * src/hildon-time-button.c: Document the widget.
6644 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6646 * src/hildon-picker-button.c: Document the widget.
6647 * src/hildon-touch-selector-entry.c: Document the widget.
6649 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6651 * doc/hildon-docs.sgml
6654 * src/hildon-check-button.h
6655 * src/hildon-check-button.c: New functions to create the Hildon
6659 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
6661 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6663 * src/hildon-button.h
6664 * src/hildon-button.c
6665 (hildon_button_add_title_size_group)
6666 (hildon_button_add_value_size_group)
6667 (hildon_button_add_image_size_group)
6668 (hildon_button_add_size_groups): New functions to set size groups
6669 for the button labels and image.
6670 (hildon_button_new_full): Removed
6672 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
6674 * src/hildon-time-selector.c
6675 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
6676 in order to avoid a crash if gconf is not available
6678 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6680 * src/hildon-button.c (hildon_button_set_arrangement)
6681 (hildon_button_construct_child): Don't construct the button child
6682 before setting the arrangement.
6684 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6686 * src/hildon-program-private.h
6687 * src/hildon-program.c
6688 * src/hildon-program.h
6689 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
6690 (hildon_program_peek_window_stack)
6691 (hildon_program_pop_window_stack)
6692 (hildon_program_go_to_root_window): HildonProgram now has a
6693 separate list for stackable windows. Functions are provided to
6694 manage that list with a stack-like API.
6696 * src/hildon-stackable-window.c: Stackable window management is
6697 now much simpler with the new HildonProgram API. Windows no
6698 longer need to be manually added to the program, they're
6699 automatically pushed to the top of the stack when shown.
6701 * examples/hildon-stackable-window-example.c: Updated example to
6702 reflect the API changes.
6704 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6706 * src/hildon-touch-selector.c: Comment out unimplemented
6707 hildon_touch_selector_insert_column() to avoid a compile warning.
6709 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6711 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6712 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
6713 (hildon_touch_selector_set_column_selection_mode),
6714 (_hildon_touch_selector_set_model),
6715 (hildon_touch_selector_set_model):
6717 Complete review of HildonTouchSelector documentation.
6719 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6721 * doc/hildon-docs.sgml
6725 * src/hildon-gtk.c: Convenience functions for standard Gtk
6726 widgets, used to easily perform frequent operations.
6728 * src/hildon-button-helpers.h
6729 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
6731 * src/hildon-helper.h
6732 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
6733 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
6735 * src/hildon-button.h
6736 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
6738 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6740 * src/hildon-button.c (hildon_button_init)
6741 (hildon_button_set_arrangement, hildon_button_construct_child):
6742 Pack the image and the labels inside the same GtkAlignment so
6743 gtk_button_set_alignment() can be used
6745 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6747 * src/hildon-button.h
6748 * src/hildon-button.c
6749 (hildon_button_init, hildon_button_set_image)
6750 (hildon_button_set_image_position)
6751 (hildon_button_construct_child): New functions to add an image to
6754 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6756 * src/hildon-date-button.c
6757 * src/hildon-picker-button.c
6758 * src/hildon-time-button.c
6759 * src/hildon-button.c:
6760 (hildon_button_class_init): "size-flags" renamed to "size"
6761 (hildon_button_set_title): Hide the title label if set to NULL.
6763 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6765 HildonButtonFlags split into HildonButtonArrangement (to set the
6766 button layout) and HildonSizeType (which can be used for any
6769 * src/hildon-button.h
6770 * src/hildon-button.c
6771 (hildon_button_class_init)
6772 (hildon_button_set_arrangement)
6773 (hildon_button_set_property): New "size-flags"
6774 property. "arrangement-flags" renamed to "arrangement".
6775 (hildon_button_new, hildon_button_new_with_text)
6776 (hildon_button_new_full): Constructors updated to reflect type changes.
6778 * src/hildon-helper.h
6779 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
6780 to set the size of a widget.
6784 * src/hildon-button-helpers.c
6785 * src/hildon-button-helpers.h: New hildon-button-helpers module.
6787 * src/hildon-date-button.c
6788 * src/hildon-date-button.h
6789 * src/hildon-picker-button.c
6790 * src/hildon-picker-button.h
6791 * src/hildon-time-button.c
6792 * src/hildon-time-button.h: Updated widgets to reflect
6793 HildonButton API changes.
6795 * examples/hildon-button-example.c
6796 * examples/hildon-date-button-example.c
6797 * examples/hildon-picker-button-example.c
6798 * examples/hildon-picker-button-multicolumn-example.c
6799 * examples/hildon-time-button-example.c
6800 * examples/hildon-touch-selector-entry-example.c
6801 * examples/hildon-touch-selector-example.c: Updated examples to
6802 reflect HildonButton API changes.
6804 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6806 * doc/hildon-docs.sgml:
6808 * examples/Makefile.am:
6809 * examples/hildon-touch-selector-entry-example.c:
6811 * src/hildon-touch-selector-entry.c:
6812 * src/hildon-touch-selector-entry.h:
6815 Moved HildonTouchSelectorEntry from sandbox. Added its
6816 documentation and examples.
6818 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6820 * src/hildon-touch-selector.h:
6821 * examples/hildon-picker-button-multicolumn-example.c:
6822 (hildon_touch_selector_append_text_column): Add a gboolean
6823 parameter to determine if text must be centered in the column.
6825 * src/hildon-date-selector.c: (hildon_date_selector_init):
6826 * src/hildon-time-selector.c: (hildon_time_selector_init):
6827 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
6828 (create_touch_selector): Update widgets and example to reflect
6831 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6833 * src/hildon-touch-selector.c:
6834 (hildon_touch_selector_set_active_iter): Set also the cursor in
6837 2008-08-06 Alberto Garcia <agarcia@igalia.com>
6839 * doc/hildon-docs.sgml
6842 * src/hildon-toggle-button.c
6843 * src/hildon-toggle-button.h
6844 * src/hildon.h: Removed HildonToggleButton widget, a derived
6845 class is not necessary for this.
6847 2008-08-06 Alejandro G. Castro <alex@igalia.com>
6849 * src/hildon-pannable-area.c,
6850 (hildon_pannable_area_realize),
6851 (hildon_pannable_area_size_allocate): Code refactoring, add tests
6854 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
6856 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
6857 "done" button the default widget for the dialog.
6859 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6861 * src/hildon-touch-selector.c:
6862 (hildon_touch_selector_class_init),
6863 (hildon_touch_selector_get_property),
6864 (_hildon_touch_selector_set_model),
6865 (_hildon_touch_selector_has_multiple_selection),
6866 (hildon_touch_selector_has_multiple_selection):
6867 Add a "has-multiple-selection" property with a virtual
6868 has_multiple_selection() method to allow derived classes to
6869 override the default value for it. See the method and property
6870 documentation for details.
6872 * src/hildon-touch-selector.h: Add the new API.
6874 * src/hildon-picker-dialog.c: (requires_done_button): Call
6875 hildon_touch_selector_has_multiple_selection() instead of
6876 determining the need for a button itself.
6878 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6880 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6881 (_hildon_touch_selector_set_model),
6882 (hildon_touch_selector_set_model): Move working code to
6883 _hildon_touch_selector_set_mode(). Call the class method instead.
6885 * src/hildon-touch-selector.h: Add (*set_model) to
6886 HildonTouchSelectorClass.
6888 Make hildon_touch_selector_set_model() a virtual method, so that
6889 derived classes can extend it and do fancy stuff with the model.
6891 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6893 * configure.ac: Set back the tarname in AC_INIT to hildon.
6895 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6899 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
6900 instead of libesd (NB#86876). Volume handling is still an open issue.
6902 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
6905 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6907 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
6908 (hildon_touch_selector_append_column): Make the widget a GtkVBox
6909 derived class to ease placement of an entry widget in
6910 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
6911 end, where the selector columns are packed now.
6913 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6915 * src/hildon-picker-button.c: Removed the simple _text() API.
6916 * src/hildon-picker-button.h: Likewise.
6918 * src/hildon-touch-selector.h:
6919 * src/hildon-touch-selector.c:
6920 (hildon_touch_selector_new_text),
6921 (hildon_touch_selector_append_text),
6922 (hildon_touch_selector_prepend_text),
6923 (hildon_touch_selector_insert_text):
6925 Moved the simple _text() API from HildonPickerButton to
6926 HildonTouchPicker, to provide better escalability and not to tie
6927 that API to HildonPickerButton.
6929 * examples/hildon-picker-button-example.c: (main): Example updated.
6931 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6933 * src/hildon-button.c: Updated documentation.
6935 * examples/hildon-button-example.c: Add the posibility to create
6936 the buttons using horizontal layout for title and value.
6938 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6940 * src/hildon-app-menu-private.h
6941 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
6942 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
6943 GtkSizeGroup for the filters, use the 'homogeneous' property of
6946 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6948 * examples/hildon-button-example.c: Updated example.
6950 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
6952 * doc/hildon-docs.sgml:
6955 Update documentation.
6957 * examples/Makefile.am: Update renamed examples.
6959 * examples/hildon-picker-button-multicolumn-example.c:
6960 (create_touch_selector), (main): Update after the rename.
6962 * examples/hildon-touch-picker-example.c: Removed.
6963 * examples/hildon-touch-selector-example.c: (value_changed),
6964 (create_selector), (get_visible_content), (main): Renamed from
6965 hildon-touch-picker-example.c
6967 * src/Makefile.am: Updated renamed files.
6969 * src/hildon-date-button.c: (hildon_date_button_init),
6970 (hildon_date_button_get_date), (hildon_date_button_set_date):
6971 * src/hildon-date-selector.c: (hildon_date_selector_init),
6972 (_custom_print_func), (_update_day_model),
6973 (_manage_selector_change_cb),
6974 (hildon_date_selector_select_current_date),
6975 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
6976 * src/hildon-date-selector.h:
6977 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6978 (hildon_picker_button_set_property),
6979 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6980 (hildon_picker_button_init), (hildon_picker_button_new_text),
6981 (hildon_picker_button_append_text),
6982 (hildon_picker_button_prepend_text),
6983 (hildon_picker_button_insert_text),
6984 (hildon_picker_button_set_selector),
6985 (hildon_picker_button_get_selector):
6986 * src/hildon-picker-button.h:
6987 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
6988 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
6989 (_update_title_on_selector_changed_cb), (requires_done_button),
6990 (_hildon_picker_dialog_set_selector),
6991 (hildon_picker_dialog_set_selector),
6992 (hildon_picker_dialog_get_selector):
6993 * src/hildon-picker-dialog.h:
6994 * src/hildon-time-button.c: (hildon_time_button_init),
6995 (hildon_time_button_get_time), (hildon_time_button_set_time):
6996 * src/hildon-time-selector.c: (hildon_time_selector_init),
6997 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
6998 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
6999 * src/hildon-time-selector.h:
7002 Massive code updates after the rename.
7004 * src/hildon-touch-picker.c: Removed.
7005 * src/hildon-touch-picker.h: Removed.
7007 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7008 (hildon_touch_selector_init), (hildon_touch_selector_map),
7009 (hildon_touch_selector_remove), (_default_print_func),
7010 (_selection_changed_cb), (_create_new_column),
7011 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
7012 (hildon_touch_selector_append_text_column),
7013 (hildon_touch_selector_remove_column),
7014 (hildon_touch_selector_set_column_attributes),
7015 (hildon_touch_selector_insert_column),
7016 (hildon_touch_selector_get_num_columns),
7017 (hildon_touch_selector_get_column_selection_mode),
7018 (hildon_touch_selector_set_column_selection_mode),
7019 (hildon_touch_selector_set_print_func),
7020 (hildon_touch_selector_get_print_func),
7021 (hildon_touch_selector_get_active_iter),
7022 (hildon_touch_selector_set_active_iter),
7023 (hildon_touch_selector_get_selected_rows),
7024 (hildon_touch_selector_get_model),
7025 (hildon_touch_selector_set_model),
7026 (hildon_touch_selector_get_current_text),
7027 (_hildon_touch_selector_center_on_selected_items):
7028 * src/hildon-touch-selector.h: Renamed from
7029 hildon-touch-picker.[ch]
7031 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7032 references, code examples, and related documentation.
7034 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7036 * doc/hildon-docs.sgml
7039 * src/hildon-toggle-button.c
7040 * src/hildon-toggle-button.h
7041 * src/hildon.h: New HildonToggleButton widget.
7043 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7045 * src/hildon-button.c: Add API documentation.
7046 (hildon_button_set_size_groups): Check input parameters
7048 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7050 * src/hildon-pannable-area.c
7051 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7052 effect after reaching the movement thredshold. This way we start
7053 using the distance after passing the thredshold.
7055 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7057 * src/hildon-button.c: (hildon_button_set_property): Use the
7058 appropriate g_value_get_flags() method.
7060 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7062 * doc/hildon-docs.sgml:
7065 Add the touch pickers, picker dialogs, and picker button widgets
7066 to the documentation.
7068 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7070 * src/hildon-button.c: (hildon_button_set_property),
7071 (hildon_button_class_init): Make "arrangement-flags" a proper
7072 G_TYPE_FLAGS derived property.
7074 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7076 * examples/Makefile.am: Add below examples.
7077 * examples/hildon-date-button-example.c:
7078 * examples/hildon-picker-button-example.c:
7079 * examples/hildon-picker-button-multicolumn-example.c:
7080 * examples/hildon-time-button-example.c:
7081 * examples/hildon-touch-picker-example.c:
7083 Add examples for the recently added touch pickers,
7084 picker dialogs, and picker button widgets.
7086 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7088 * src/hildon-button.c: Add some API documentation
7090 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7092 * src/hildon-button.h
7093 * src/hildon-button.c
7095 (hildon_button_new_with_text): New constructor to create a button
7096 with no text at all.
7097 (hildon_button_init, hildon_button_set_arrangement)
7098 (hildon_button_set_title, hildon_button_set_value)
7099 (hildon_button_set_text)
7100 (hildon_button_construct_child): Hide the value when it's not used
7101 so the rest of the text is properly aligned.
7102 Allow creating buttons with arbitrary widgets inside (not just
7103 title/value labels).
7105 * examples/hildon-button-example.c (vertical_buttons_window)
7106 (horizontal_buttons_window): Update example to use new API.
7108 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7110 * src/Makefile.am: Added HildonTimeButton.
7111 * src/hildon-time-button.c: Added missing LGPL header.
7112 * src/hildon-time-button.h: Added missing LGPL header.
7113 * src/hildon.h: Add hildon-time-button.h
7115 Copied HildonTimeButton from sandbox to trunk. Future work on this
7116 widget must take place in trunk.
7118 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7120 * src/Makefile.am: Added HildonDateButton.
7121 * src/hildon-date-button.c: Update includes.
7122 * src/hildon.h: Add hildon-date-button.h
7124 Copied HildonDateButton from sandbox to trunk. Future work on this
7125 widget must take place in trunk.
7127 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7129 * src/Makefile.am: Added HildonPickerButton.
7130 * src/hildon-picker-button.h: Update includes.
7131 * src/hildon.h: Add hildon-picker-button.h
7133 Copied HildonPickerButton from sandbox to trunk. Future work on
7134 this widget must take place in trunk.
7136 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7138 * src/Makefile.am: Added HildonPickerDialog.
7139 * src/hildon-picker-dialog.c: Update includes.
7140 * src/hildon.h: Add hildon-picker-dialog.h
7142 Copied HildonPickerDialog from sandbox to trunk. Future work
7143 on this widget must take place in trunk.
7145 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7147 * src/Makefile.am: Added HildonTimeSelector.
7148 * src/hildon.h: Add hildon-time-selector.h
7150 Copied HildonTimeSelector widget from sandbox to trunk. Future
7151 work on this widget must happen in trunk.
7153 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7155 * src/Makefile.am: Added HildonDateSelector.
7156 * src/hildon.h: Add hildon-date-selector.h
7158 Copied HildonDateSelector widget from sandbox to trunk. Future
7159 work on this widget must happen in trunk.
7161 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7163 * src/Makefile.am: Added HildonTouchPicker.
7164 * src/hildon-touch-picker.c: Update includes.
7165 * src/hildon.h: Add hildon-touch-picker.h
7167 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7168 on this widget must happen in trunk.
7170 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7172 * src/hildon-pannable-area.c:
7173 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7175 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7177 * examples/hildon-app-menu-example.c (main): Let the window
7180 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7182 * src/hildon-pannable-area.c
7183 (hildon_pannable_area_class_init): Set the min value of the
7184 overshoot properties to zero, which points out that not
7185 overshooting allowed.
7187 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7189 Modified the procedure to get the widget at a point inside the
7190 pannable area when using the movement type signals. Now the user
7191 has to call a function to get the child, that way we just
7192 calculate the child in case the user really want to use it and not
7195 * src/hildon-marshalers.list: Modified the marshallers, now we do
7196 not have the widget as a parameter.
7198 * src/hildon-pannable-area.c
7199 (hildon_pannable_area_motion_notify_cb),
7200 (hildon_pannable_area_class_init),
7201 (hildon_pannable_get_child_widget_at): Removed the widget
7202 parameter from the signal callback. We have also refactored the
7203 emission of the signals.
7205 * src/hildon-pannable-area.h: Added a new method to the API to
7206 calculate a widget at a point inside the pannable area,
7207 hildon_pannable_get_child_widget_at.
7209 * examples/hildon-pannable-area-example-4.c
7210 (horizontal_movement): Modified the example to use the new API,
7211 added condition to control which widget is under the event. This
7212 way we can avoid scrolling laterally over other widgets.
7214 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7216 * src/hildon-pannable-area.c
7217 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7218 modes, we stop getting the pointer events due to returning the
7219 callback without properly calling the get pointer again. Fixed
7220 also an error using the hscroll and vscroll.
7222 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7224 * src/hildon-app-menu-private.h
7225 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7226 (hildon_app_menu_button_release, hildon_app_menu_init)
7227 (hildon_app_menu_class_init): Don't hide the menu on button
7228 release if the user didn't press outside first.
7230 * src/hildon-window.h
7231 * src/hildon-window.c (hildon_window_toggle_menu)
7232 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7233 hildon_window_toggle_menu a virtual function for the stackable
7234 window to override it.
7236 * src/hildon-stackable-window.h
7237 * src/hildon-stackable-window-private.h
7238 * src/hildon-stackable-window.c
7239 (hildon_stackable_window_realize)
7240 (hildon_stackable_window_finalize)
7241 (hildon_stackable_window_class_init)
7242 (hildon_stackable_window_init)
7243 (hildon_stackable_window_set_main_menu): New function to set the
7244 app menu of a HildonStackableWindow.
7246 * examples/hildon-app-menu-example.c: Remove the button to show
7247 the app menu, now it'll be shown when clicking on the title bar
7250 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7252 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7253 set the widget name if the arrangement flags do not specify
7256 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7258 * src/hildon-button.c: (hildon_button_set_property),
7259 (hildon_button_class_init), (hildon_button_new_full),
7260 (hildon_button_set_arrangement): Added "arrangement-flags"
7263 Make the HildonButtonFlags a construction-only property, to allow
7264 subclasses to set them properly.
7266 2008-07-21 Tim Janik <timj@imendio.com>
7268 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7269 insertion position after backspace, so additional digits are appended,
7272 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7274 * src/hildon-pannable-area.c,
7275 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7276 TODO list, it was complete and removed the g_debug and g_print
7279 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7281 Added the movement modes to the hildon-pannable-area, with this
7282 modes the developers can control in which directions the widget
7283 can scroll. They can also connect to signals in order to do
7284 something when that happens, allowing applications scroll. There
7285 is an example uploaded showing how to use it.
7287 * examples/Makefile.am:
7288 * examples/hildon-pannable-area-example-4.c: Added this example of
7289 an application using the modes.
7291 * src/hildon-marshalers.list: Added a new marshaller for the new
7294 * src/hildon-pannable-area.h: Added new enumerations and flags in
7295 order to control the movement modes and the new signals to warn
7296 about the movements in the area.
7298 * src/hildon-pannable-area.c:
7299 (hildon_pannable_axis_scroll),
7300 (hildon_pannable_area_scroll),
7301 (hildon_pannable_area_motion_notify_cb),
7302 (hildon_pannable_area_get_property),
7303 (hildon_pannable_area_set_property),
7304 (hildon_pannable_area_map),
7305 (hildon_pannable_area_class_init),
7306 (hildon_pannable_area_init),
7307 (hildon_pannable_area_jump_to): Added the modes to control the
7308 movement in the widget. We have added properties to control it,
7309 signals to warn about the movements and refactored some code.
7311 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7313 Changes required in order to allow vfast_factor set to zero to
7316 * src/hildon-pannable-area.c:
7317 (hildon_pannable_area_button_press_cb): Changed the condition, it
7318 is required for not allowing click when vfast_factor is zero.
7319 (hildon_pannable_area_timeout): Initialized velocity variables
7320 when we stop moving, it was less than 1 but not zero and we need
7321 to check zero in some situations.
7322 (hildon_pannable_area_class_init): Changed the default value of
7323 the speed factor, now the button_press is just sent in case the
7324 speed is 2 per cent of the max speed.
7325 (hildon_pannable_area_init): Initialization with 0.
7327 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7329 * src/hildon-pannable-area.c,
7330 (hildon_pannable_area_get_topmost): replaced
7331 gdk_window_get_children with gdk_window_peek_children, this way we
7332 do not have to free the list because it is not a copy.
7334 (hildon_pannable_axis_scroll),
7335 (hildon_pannable_area_scroll),
7336 (hildon_pannable_area_timeout),
7337 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7338 two parameters that were only used inside the
7339 hildon_pannable_area_scroll function.
7341 * examples/hildon-pannable-area-example.c,
7342 (get_sawtooth_label): Fixed small memory leak.
7344 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7346 More checks for the case where the overshoot is bigger than the
7349 * src/hildon-pannable-area.c:
7350 (hildon_pannable_draw_vscroll),
7351 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7352 to draw the slider of the scrollbar under the other scrollbar.
7353 (hildon_pannable_area_expose_event): added new checks to control
7354 the drawing of the overshooting area rectangle, in case it is too
7355 big for the area of the widget.
7356 (hildon_pannable_area_size_allocate): add more checks to avoid
7357 setting a position to the child widget outside the area.
7359 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7361 * src/hildon-pannable-area.c
7362 (hildon_pannable_area_size_allocate): Added conditions to control
7363 when overshooting is bigger than the allocated space for the
7364 children, this avoids negative allocations.
7366 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7368 * doc/hildon-docs.sgml
7370 * examples/Makefile.am
7371 * examples/hildon-button-example.c
7373 * src/hildon-button.c
7374 * src/hildon-button.h
7375 * src/hildon.h: Initial version of the new HildonButton widget,
7378 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7380 * src/hildon-pannable-area.c:
7381 (hildon_pannable_area_button_press_cb),
7382 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7383 (hildon_pannable_area_motion_notify_cb),
7384 (hildon_pannable_area_button_release_cb),
7385 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7386 (hildon_pannable_area_jump_to_child):
7388 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7390 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7392 * examples/Makefile.am
7393 * examples/hildon-pannable-area-touch-grid-example.c
7394 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7395 the Hildon Touch List and Hildon Touch Grid using the
7396 HildonPannableArea widget.
7398 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7400 * src/hildon-pannable-area.c,
7401 (hildon_pannable_area_button_press_cb),
7402 (hildon_pannable_area_refresh),
7403 (hildon_pannable_area_scroll),
7404 (hildon_pannable_area_motion_notify_cb),
7405 (hildon_pannable_area_button_release_cb),
7406 (hildon_pannable_area_expose_event),
7407 (hildon_pannable_area_add),
7408 (hildon_pannable_area_remove),
7409 (hildon_pannable_area_realize),
7410 (hildon_pannable_area_size_allocate),
7411 (hildon_pannable_area_class_init),
7412 (hildon_pannable_area_init),
7413 (hildon_pannable_area_scroll_to_child),
7414 (hildon_pannable_area_jump_to_child): Fixed the problem of
7415 removing the child from the GtkBin, we have rearranged the widget
7416 hierarchy, now there is no GtkAlignment which was not doing
7417 anything interesting but breaking some of the assumptions of
7418 GtkContainer. Now developers if they want to add a GtkAlignment
7419 they could, but it is not inside the area.
7421 We had to review the whole allocation/expose process, now it is
7422 improved and we save at least three signals which would be saving
7423 some time when rendering the widget. The allocation of the
7424 scrollbars is now made in the allocate method as usual.
7426 We have also added some conditions in order to control when there
7427 is no child of the pannable area. Maybe we will need more work
7430 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7432 * src/hildon-pannable-area.c,
7433 (hildon_pannable_area_dispose): Released the fade-out timeout when
7434 disposing the widget.
7436 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7438 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7439 zero, we are going to use that property in order to deactivate the
7441 (hildon_pannable_axis_scroll),
7442 (hildon_pannable_area_size_allocate): Added conditions to control
7443 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7444 call, now it is called in all situations and we can remove calls
7445 in the allocate method.
7446 (hildon_pannable_area_map): Control the situation when
7447 overshoot_max is zero, we do not need the timeout.
7448 (hildon_pannable_area_class_init): Added documentation in order to
7449 point out that setting zero to overshoot_max means deactivate
7452 NOTE: removed trailing whitespaces from my previous comments of
7455 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7457 * src/hildon-pannable-area.c
7458 (hildon_pannable_area_get_property),
7459 (hildon_pannable_area_set_property),
7460 (hildon_pannable_area_map),
7461 (hildon_pannable_area_class_init),
7462 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7463 to cause the widget give a hint about its panning abilities upon
7466 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7468 * src/hildon-pannable-area.c: Several documentation improvements.
7470 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7472 * src/hildon-program.c
7473 * src/hildon-stackable-window.c: Update documentation.
7475 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7477 * src/hildon-stackable-window.c (get_previous_window_if_last):
7478 Renamed get_last_window()
7479 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7480 (hildon_stackable_window_unset_program):
7482 (get_previous_window_if_last):
7483 Detect if the window hasn't been added to a HildonProgram.
7485 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7487 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7489 * src/hildon-pannable-area.c
7490 (hildon_pannable_area_button_press_cb),
7491 (hildon_pannable_axis_scroll),
7492 (hildon_pannable_area_scroll),
7493 (hildon_pannable_area_timeout),
7494 (hildon_pannable_calculate_vel_factor),
7495 (hildon_pannable_area_get_property),
7496 (hildon_pannable_area_set_property),
7497 (hildon_pannable_area_class_init),
7498 (hildon_pannable_area_init),
7499 (hildon_pannable_area_scroll_to),
7500 (hildon_pannable_area_jump_to),
7501 (hildon_pannable_area_scroll_to_child),
7502 (hildon_pannable_area_jump_to_child):
7503 * src/hildon-pannable-area.h: Added the new API functions:
7504 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7505 hildon_pannable_area_scroll_to_child,
7506 hildon_pannable_area_jump_to_child
7509 * examples/Makefile.am
7510 * examples/hildon-pannable-area-example-2.c
7511 * examples/hildon-pannable-area-example-3.c: Added these two new
7512 examples in order to test and show how the new APIs work.
7514 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7516 * examples/hildon-stackable-window-example.c (new_window):
7517 * src/Makefile.am (noinst_HEADERS):
7518 * src/hildon-program.c (hildon_program_go_to_root_window):
7519 * src/hildon-program.h:
7520 * src/hildon-stackable-window-private.h:
7521 * src/hildon-stackable-window.c:
7522 * src/hildon-stackable-window.h:
7523 Create hildon-stackable-window-private.h
7524 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7526 * examples/hildon-app-menu-example.c (create_menu):
7527 * examples/hildon-hvolumebar-insensitive-example.c (main):
7528 * examples/hildon-hvolumebar-timer-example.c (on_idle):
7529 * examples/hildon-toolbar-seekbar-example.c (main):
7530 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7531 * src/hildon-banner.c (hildon_banner_set_property):
7532 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7533 Fix compilation warnings
7535 * src/hildon-window.c:
7538 2008-06-24 Alberto Garcia <agarcia@igalia.com>
7540 * src/hildon-stackable-window.c
7541 (hildon_stackable_window_unset_program):
7542 Calculate correctly whether to show the previous window if the
7543 last one is removed from the stack.
7544 (hildon_stackable_window_go_to_root_window):
7545 Send delete events starting from the topmost window.
7546 Stop if one of the windows is not destroyed.
7548 (hildon_stackable_window_delete_event)
7549 (hildon_stackable_window_class_init):
7550 Ignore the delete event if the window is not the topmost one.
7552 2008-06-24 Alejandro G. Castro <alex@igalia.com>
7554 * src/hildon-pannable-area.c
7555 (hildon_pannable_area_expose_event): Fixed a problem when
7556 selecting the background color of the scrollbars.
7558 2008-06-23 Alberto Garcia <agarcia@igalia.com>
7560 * examples/hildon-stackable-window-example.c
7561 * src/hildon-stackable-window.c
7562 * src/hildon-stackable-window.h
7563 hildon_stackable_window_go_home() renamed to
7564 hildon_stackable_window_go_to_root_window()
7565 Send delete events to windows rather than closing them with
7566 gtk_widget_destroy()
7568 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7570 * src/hildon-pannable-area.c
7571 (hildon_pannable_area_button_release_cb): Fix overshooting in
7574 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7576 * src/hildon-pannable-area.c
7577 (hildon_pannable_area_init): Initially show the scroll indicators.
7578 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7580 Add initial effect showing the widget is pannable.
7582 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7584 * src/hildon-pannable-area.c
7585 (hildon_pannable_area_class_init)
7586 (hildon_pannable_area_set_property)
7587 (hildon_pannable_area_get_property)
7588 (hildon_pannable_area_button_press_cb):
7589 New 'velocity_fast_factor' property to decide which velocity is
7592 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7594 * src/hildon-pannable-area.c
7595 (hildon_pannable_draw_hscroll)
7596 (hildon_pannable_draw_vscroll):
7597 Use float variables to calculate the size of the scrollbars to
7598 avoid error propagation and resizing during scrolling.
7600 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7602 * src/hildon-pannable-area.c
7603 (hildon_pannable_draw_vscroll)
7604 (hildon_pannable_draw_hscroll):
7605 Define a minimum size for the scroll bars
7607 * src/hildon-stackable-window.c
7608 (hildon_stackable_window_go_home): Fix compilation warning
7609 (get_last_window): Minor optimizations
7610 (hildon_stackable_window_class_init): Fix initialization of
7613 2008-06-18 Alberto Garcia <agarcia@igalia.com>
7615 * src/hildon-stackable-window.c: Fixed typos in doc
7617 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
7619 * src/hildon-pannable-area.c
7620 (hildon_pannable_area_scroll):
7621 Calculate here whether we need to scroll instead of using the booleans
7622 that tell us whether to /draw/ the scrolling bars.
7624 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
7626 * src/hildon-app-menu.h
7628 * src/hildon-app-menu.c
7629 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
7630 multiple filter groups related code and API. Now we support only
7632 * examples/hildon-app-menu-example.c:
7634 Update to reflect API changes.
7636 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
7638 * src/hildon-stackable-window.c
7639 (hildon_stackable_window_class_init):
7640 Add hildon_stackable_window_realize.
7641 (hildon_stackable_window_realize):
7642 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
7643 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
7644 to apply theming and behavior specific to HildonStackableWindow
7647 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7649 * src/hildon-note.c (hildon_note_button_release):
7650 Close information notes also when tapping on them
7652 2008-06-12 Alejandro G. Castro <alex@igalia.com>
7654 Added BOUNCE_STEPS define to control the overshoot effect. Removed
7655 ELASTICITY, refactor and review, fix some issues with drawing
7658 * src/hildon-pannable-area.c:
7659 (hildon_pannable_area_button_press_cb): removed the conditions to
7660 avoid clicks when overshooting. It is not required
7662 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
7663 define. Refatored and reviewed the code, now we do not need to
7664 manage velocity in motion_notify.
7666 (hildon_pannable_area_motion_notify_cb): We have moved the code
7667 that controls the area_scroll to the axis_scroll function and get
7668 rid of duplicated code.
7670 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
7672 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
7674 (hildon_pannable_draw_vscroll),
7675 (hildon_pannable_draw_hscroll): Fixed the problems with the
7676 scrollbar drawing, now we do not use two surfaces, it is easier
7677 and saves resources.
7679 (hildon_pannable_area_get_property): Style modification.
7681 (hildon_pannable_area_class_init): Changed some default values.
7683 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
7685 * src/hildon-stackable-window.c: Fix some typos in the
7688 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7690 * src/hildon-dialog.c:
7691 Change indentation style
7694 (hildon_note_button_release):
7695 Use root coordinates to check if the release event happened
7698 * src/hildon-app-menu.c
7699 (hildon_app_menu_button_release):
7700 Remove unnecessary check
7702 * examples/hildon-app-menu-example.c
7704 Add cast to fix warning
7706 * src/hildon-app-menu.c
7707 (hildon_app_menu_class_init):
7708 New inner-border style property.
7709 Set all default spacings to 16
7710 (hildon_app_menu_init):
7711 Use vertical-spacing to set the space between filter buttons and
7712 regular menu buttons.
7713 Set the default container border using the inner-border value.
7715 * examples/hildon-app-menu-example.c
7717 Don't set the menu border explicitly, now we have the inner-border
7718 style property for that.
7720 2008-06-11 Alberto Garcia <agarcia@igalia.com>
7722 * src/hildon-app-menu.c (hildon_app_menu_init):
7723 Make the window modal
7725 * src/hildon-note.c (hildon_note_map)
7726 * src/hildon-app-menu.c (hildon_app_menu_map):
7727 Destroy the grab window if we're unable to grab the pointer
7729 * src/hildon-app-menu-private.h
7730 * src/hildon-app-menu.c
7731 (hildon_app_menu_init, hildon_app_menu_finalize)
7732 (hildon_app_menu_map, hildon_app_menu_unmap)
7733 (hildon_app_menu_button_release)
7734 (grab_transfer_window_get):
7735 Bring back the grab window
7736 (hildon_app_menu_realize):
7737 Decorate the window, set WM hint for Matchbox
7739 * src/hildon-note.c (hildon_note_realize):
7740 * src/hildon-banner.c (hildon_banner_realize):
7741 Add WM hints for Matchbox
7743 2008-06-10 Alberto Garcia <agarcia@igalia.com>
7745 * src/hildon-app-menu-private.h
7746 * src/hildon-app-menu.c
7747 (hildon_app_menu_init, hildon_app_menu_finalize)
7748 (hildon_app_menu_map, hildon_app_menu_unmap)
7749 (hildon_app_menu_button_release):
7750 Remove the grab window, it's not needed anymore
7752 * src/hildon-program.c
7753 Fixed typo in documentation
7755 * src/hildon-app-menu.h
7756 * src/hildon-app-menu.c
7757 * examples/hildon-app-menu-example.c
7758 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
7760 2008-06-09 Alberto Garcia <agarcia@igalia.com>
7763 Added new transfer_window and close_if_pressed_outside private
7765 (hildon_note_rebuild):
7766 Don't add a cancel button to the information note. It will be
7767 closed when tapping outside
7768 Remove the comment about the OK button in the documentation
7769 (hildon_note_realize):
7770 Set the notification type hint
7771 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
7772 Grab/ungrab pointer and keyboard if the note has to be closed when
7774 (hildon_note_button_release):
7775 Close the note when tapping outside (if applicable)
7777 * src/hildon-app-menu.c
7778 Grab/ungrab pointer and keyboard on map/unmap
7779 (hildon_app_menu_button_release, hildon_app_menu_class_init):
7780 Close the menu on button release, not button press
7782 * src/hildon-banner.c
7783 (hildon_banner_set_property)
7784 (hildon_banner_check_position):
7785 Make the banner use the full width of the screen
7786 (hildon_banner_show_information)
7787 (hildon_banner_show_information_with_markup):
7788 Don't display an icon by default
7790 2008-06-09 Alejandro G. Castro <alex@igalia.com>
7792 Added fading scrollbars and adapted all the overshooting code to
7793 horizontal scrolling. We have also fixed bugs with overshooting
7794 and current fading implementation.
7796 * src/hildon-pannable-area.c
7797 (hildon_pannable_area_scroll_indicator_fade): Time out function
7798 used to change the transparency of the scrollbars.
7800 (hildon_pannable_area_button_press_cb): Added horizontal overshot
7801 control and fixed a problem with fading, we now remove the fade
7802 timeout before adding a new one.
7804 (hildon_pannable_axis_scroll):
7805 (hildon_pannable_area_scroll):
7806 (hildon_pannable_area_timeout): Added this functions so we can use
7807 the scroll code both for vertical and horizontal.
7809 (hildon_pannable_area_motion_notify_cb):
7810 (hildon_pannable_area_button_release_cb): Added the horizontal
7811 scrolling control, fixed a problem with the overshooting timeout.
7813 (rgb_from_gdkcolor): Added this function, it is used in the cairo
7814 painting of the scrolls.
7816 (hildon_pannable_draw_vscroll):
7817 (hildon_pannable_draw_hscroll):
7818 (hildon_pannable_area_expose_event):
7819 Draw both scrollbars and rectangles in the overshooting area.
7821 (hildon_pannable_area_get_property):
7822 (hildon_pannable_area_set_property):
7823 Modified the overshoot property to overshoot_max
7825 (hildon_pannable_area_map):
7826 Replaced the comments symbols.
7828 (hildon_pannable_area_size_allocate):
7829 (hildon_pannable_area_class_init):
7830 (hildon_pannable_area_init): Added horizontal scroll, fading
7831 effect properties, fixed a problem when overshooting in the bottom
7834 * examples/hildon-pannable-area-example.c:
7835 (get_sawtooth_label): Now we use smaller sawtooths, the effect
7836 looks better in the example.
7838 2008-06-03 Alberto Garcia <agarcia@igalia.com>
7840 * src/hildon-window.c
7841 * src/hildon-window.h
7842 (hildon_window_class_init)
7843 (hildon_window_unset_program)
7844 (hildon_window_unset_program_real):
7845 Make unset_program a virtual function
7847 * src/hildon-stackable-window.c
7848 * src/hildon-stackable-window.h
7849 Added hildon_stackable_window_go_home()
7851 * examples/Makefile.am
7852 * examples/hildon-stackable-window-example.c
7853 HildonStackableWindow example
7855 2008-06-03 Alejandro G. Castro <alex@igalia.com>
7857 * hildon-pannable-area.c: Added the overshoot property and removed
7858 the OVERSHOOT define. Fixed an indent style error.
7859 (hildon_pannable_area_motion_notify_cb):
7860 (hildon_pannable_area_get_property):
7861 (hildon_pannable_area_set_property): Add overshoot property.
7863 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
7866 (hildon_pannable_area_class_init): Installed the new property.
7868 * hildon-pannable-area-example.c: Added a sawtooth function, this
7869 way it is easier to check the movement in the pannable.
7870 (get_sawtooth_label): Added this function.
7871 (main): Now we get the labels from the new get_sawtooth_label
7874 2008-05-26 Alberto Garcia <agarcia@igalia.com>
7876 * src/hildon-app-menu.h
7877 * src/hildon-app-menu.c
7878 Renamed API variables for consistency
7880 (hildon_app_menu_popup): Use also the default window size to
7881 decide where to place the menu
7883 (hildon_app_menu_init, hildon_app_menu_class_init): New
7884 external-border style property
7886 2008-05-26 Michael Natterer <mitch@imendio.com>
7888 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
7889 widget_class->tap_and_hold_setup signal slot doesn't exist any
7890 longer, stop overriding it.
7892 (hildon_time_editor_init): g_signal_connect() to the
7893 tap-and-hold-setup signal instead.
7895 (hildon_time_editor_entry_keypress): add cast to fix warning.
7897 2008-05-23 Alberto Garcia <agarcia@igalia.com>
7899 * doc/hildon-docs.sgml
7901 * examples/Makefile.am
7902 * examples/hildon-app-menu-example.c
7904 * src/hildon-app-menu-private.h
7905 * src/hildon-app-menu.c
7906 * src/hildon-app-menu.h
7908 New HildonAppMenu widget
7910 2008-05-21 Alejandro G. Castro <alex@igalia.com>
7912 Rearranged the inheritance of the pannable area, now it inherits
7913 from GtkBin. This will allow us to control the event_window and
7914 the allocation process of the widget, required for some effects.
7916 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
7917 GtkBin structures. * src/hildon-pannable-area.c: Added the
7918 event_window variable.
7919 (hildon_pannable_area_button_press_cb):
7920 (hildon_pannable_area_button_release_cb):
7921 (hildon_pannable_area_motion_notify_cb):
7922 Changed the signature of the method, now we override the event
7923 callback instead of connecting to the signal.
7925 (hildon_pannable_area_realize):
7926 (hildon_pannable_area_unrealize):
7927 (hildon_pannable_area_map):
7928 (hildon_pannable_area_unmap):
7929 (hildon_pannable_area_size_allocate):
7930 Added functions to control the widget construction. We add a
7931 INPUT_ONLY window and we put it over the widgets inside the
7932 container, this event_window handles the events.
7934 (hildon_pannable_area_class_init):
7935 Replaced the signal connections with overrides of the event
7938 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7940 Bouncing effect added when touching the borders, you can change
7941 the elasticity of the border changing the ELASTICITY define.
7943 * src/hildon-pannable-area.c: Added ELASTICITY define.
7944 (hildon_pannable_area_timeout): Added inverse velocity when
7945 touching the border of the child widget, that causes a bounce.
7947 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7949 Improved performance, we now do not go to the X server in order to
7950 get the list of window children. Apparently the effect is the
7951 same, we have to be careful and check if this breaks something in
7954 * src/hildon-pannable-area.c:
7955 (get_ordered_children): Removed this function.
7956 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
7957 the children windows function with gdk_window_get_children.
7959 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7961 * src/hildon-pannable-area.c:
7962 (hildon_pannable_area_dispose): Fixed a crash when closing the
7963 window and kinetics is activated.
7965 2008-05-19 Alberto Garcia <agarcia@igalia.com>
7967 * src/hildon-pannable-area.h
7968 * src/hildon-pannable-area.c
7969 Changed indentation style to meet the one used in Hildon
7971 2008-05-19 Alejandro G. Castro <alex@igalia.com>
7973 Reviewed the interaction of the AUTO mode, now we use the time
7974 attribute of the events and calculate the velocity in the motion,
7975 doing a gimp like calculation. The velocity is calculated in each
7976 motion event using the last velocity and the current one, the
7977 SMOOTH_FACTOR controls the percentage of the new velocity we use.
7979 * src/hildon-pannable-area.c: Replaced the time based algorithm
7981 (hildon_pannable_area_motion_notify_cb): now we do not launch the
7982 timeout for the AUTO mode when we are still moving the cursor. We
7983 added also the velocity calculation in this function.
7984 (hildon_pannable_area_button_release_cb): launch the timeout in
7985 case we are in AUTO mode. There are still some constants here that
7986 come from the old implementation that should be reviewed and
7989 2008-05-15 Alberto Garcia <agarcia@igalia.com>
7991 * doc/hildon-docs.sgml
7994 * src/hildon-stackable-window.c
7995 * src/hildon-stackable-window.h
7997 New HildonStackableWindow widget
7999 * examples/hildon-dialog-example.c
8000 * examples/hildon-pannable-area-example.c
8003 2008-05-14 Alberto Garcia <agarcia@igalia.com>
8005 * src/hildon-dialog.c
8006 (hildon_dialog_new_with_buttons): New constructor.
8008 * examples/hildon-dialog-example.c
8009 (main): Update the example to use the new
8010 hildon_dialog_new_with_buttons().
8012 * examples/hildon-pannable-area-example.c
8013 (main): Update example.
8015 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8017 * doc/hildon-docs.sgml
8019 Added HildonPannableArea to the documentation.
8021 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8023 * doc/visual_index.xml
8024 Fix reference to HildonLoginDialog in documentation
8026 * doc/hildon-docs.sgml
8028 * examples/Makefile.am
8029 * examples/hildon-dialog-example.c
8031 * src/hildon-dialog.c
8032 * src/hildon-dialog.h
8034 New HildonDialog widget.
8036 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8038 * src/hildon-pannable-area.c
8039 Merge latest changes (r4318, r4342) from libmokoui trunk
8041 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8043 * examples/Makefile.am
8044 * examples/hildon-pannable-area-example.c
8046 * src/hildon-pannable-area.c
8047 * src/hildon-pannable-area.h
8049 New HildonPannableArea widget.
8051 2008-04-15 18:05:19 <timj@imendio.com>
8053 * src/hildon-banner.c: revert the recent change, that introduced
8054 gtk_window_present() calls. this reopens:
8055 Bug 78481 - [freetest] information banners are hidden under browser menu
8056 But resolves another variant of:
8057 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8059 2008-04-15 13:21:13 <timj@imendio.com>
8061 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8062 recreated its layout, spotted by Kris. this fixes all remaining
8063 artefacts and stability issues with the banner code. in particular:
8064 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8066 2008-04-14 16:52:59 <timj@imendio.com>
8068 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8069 operating on unrealized widgets, fixes:
8070 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8072 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8074 2008-04-09 Kristian Rietveld <kris@imendio.com>
8076 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8077 makes banner disappear.
8078 Fixes: NB#79182: info banner flickering with certain message lengts.
8080 * src/hildon-banner.c (hildon_banner_constructor),
8081 (hildon_banner_init), (hildon_banner_set_text),
8082 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8083 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8084 FALSE, reset size requests of label and banner,
8085 (force_to_wrap_truncated): when the text is too wide, always enforce
8086 the maximum possible width instead of recalculating it from the
8087 layout; enforce the maximum banner height of 3 lines,
8088 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8089 nicer wrapping and no truncated chars if space gets tight.
8091 * src/hildon-banner-private.h: add has_been_wrapped and
8092 has_been_truncated fields.
8094 2008-04-07 Sven Herzberg <sven@imendio.com>
8096 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8097 local values in hildon_date_editor_size_allocate
8099 * src/hildon-date-editor.c: moved the real allocation code into the
8102 2008-04-07 Sven Herzberg <sven@imendio.com>
8104 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8105 local values in hildon_date_editor_size_allocate
8107 * src/hildon-date-editor.c: merged the two if() branches together
8109 2008-04-07 Sven Herzberg <sven@imendio.com>
8111 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8112 local values in hildon_date_editor_size_allocate
8114 * src/hildon-date-editor.c: changed the arguments of the if()
8117 2008-04-07 Sven Herzberg <sven@imendio.com>
8119 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8120 local values in hildon_date_editor_size_allocate
8122 * src/hildon-date-editor.c: split the calculation of the allocation
8123 from the real allocation
8125 2008-03-27 Michael Natterer <mitch@imendio.com>
8127 Fixes: NB#81696: The passcode is not overwritten even after
8130 * src/hildon-code-dialog.c
8131 (hildon_code_dialog_button_clicked)
8132 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8133 because that doesn't overwrite selected text. Instead, emit the
8134 "commit" signal on the entry's im_context so the entry's normal
8135 insert logic is triggered. Set the cursor to the end of the entry
8136 after each insert operation so that we *only* insert in the middle
8137 of the text if something was selected.
8139 2008-03-27 Michael Natterer <mitch@imendio.com>
8141 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8142 selector cannot be opened
8144 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8145 when the popup color selector is created. Please connect to this
8146 signal in order to set the dialog's help ID.
8148 2008-03-25 Sven Herzberg <sven@imendio.com>
8150 Fixes: MB#1212: Hide info banners (infoprints) on click
8152 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8153 extracted the close event simulation into an extra function
8154 (hildon_banner_button_press_event): simulate a close event and destroy
8155 the widget if the event wasn't handled
8156 (hildon_banner_class_init): added the button_press_event handler
8157 (hildon_banner_init): added button-press events to the widget
8159 2008-03-25 Sven Herzberg <sven@imendio.com>
8161 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8162 Patch from: Mohammad Anwari <mdamt@maemo.org>
8164 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8165 instead of the right in RTL mode
8166 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8167 breadcrumb button list in RTL mode
8168 * src/hildon-caption.c: mirror the appearance of the caption widget in
8170 * src/hildon-date-editor.c: mirror appearance of the date editor in
8172 * src/hildon-time-editor.c: mirror appearance of the time editor in
8174 * src/hildon-window.c: fix the position of the popup in RTL mode
8176 2008-03-25 Sven Herzberg <sven@imendio.com>
8178 Amendment to the fix of NB#22072. Fix compilation.
8180 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8182 2008-03-19 Sven Herzberg <sven@imendio.com>
8184 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8187 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8188 timeout id properly when the timeout will disappear this leaves no
8189 artifacts around in the destroy(); there will only be the timeout
8190 created by hildon_banner_ensure_timeout() and adding a new timeout
8191 will also work if the timeout gets removed because the timeout_handler
8194 2008-03-19 Michael Natterer <mitch@imendio.com>
8196 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8198 * src/hildon-volumebar.c
8199 * src/hildon-vvolumebar.c
8200 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8201 the widget becomes focussable at all.
8203 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8204 set the focus to wither the mute button or the volumebar.
8206 Remove own "can-focus" property and instead listen to
8207 notify::can-focus in order to update the widget's state.
8209 Implement GtkWidget::focus() and make sure we can also *leave* the
8210 widget, not only enter it, depending on volumebar orientation and
8211 requested focus direction.
8213 Clean up set_mute() to cooperate nicely with all the above.
8215 2008-03-04 Michael Natterer <mitch@imendio.com>
8217 Fixes: NB#78481: information banners are hidden under browser menu
8219 * src/hildon-banner.c: call gtk_window_present() on the banners so
8220 they are risen if they are already visible.
8222 2008-03-03 Sven Herzberg <sven@imendio.com>
8224 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8226 * examples/hildon-window-menu-example.c: (main): extended the window
8227 menu example to serve as a testcase for automatically added
8228 accelerator groups, too
8229 * src/hildon-window.c: (hildon_window_add_accel_group),
8230 (hildon_window_set_menu): added patch by Tommi Komulainen
8232 2008-03-03 Sven Herzberg <sven@imendio.com>
8234 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8236 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8237 knowledge about the border allocators used within GTK+
8239 2008-02-26 Sven Herzberg <sven@imendio.com>
8241 Fixes: MB#2981: Build with asserts broken
8243 * src/hildon-date-editor.c,
8244 * src/hildon-number-editor.c,
8245 * src/hildon-time-editor.c,
8246 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8247 the proper GType instance check
8249 2008-02-25 Sven Herzberg <sven@imendio.com>
8251 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8253 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8254 * examples/hildon-window-menu-example.c: (main): explicitly show
8256 * src/hildon-window.c:
8257 (hildon_window_set_main_menu): moved most of the code from set_menu()
8258 to this place; skipped the call to gtk_widget_show_all(); also didn't
8259 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8260 (hildon_window_set_menu): removed most of the code, just keep the
8261 questionable gtk_widget_show_all()
8262 * src/hildon-window.h: added the new function and deprecate the old
8265 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8271 * debian/changelog: Updating.
8273 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8276 * pkgconfig/Makefile.am:
8277 * pkgconfig/hildon.pc.in:
8280 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8281 use newly created API_MAJOR_VERSION.
8283 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8289 * debian/changelog: Updating.
8291 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8293 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8295 Add outer_border style property, we use it but don't define it (!).
8299 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8301 * examples/hildon-bread-crumb-trail-example.c (main):
8305 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8307 Fix logic for the bread crumb trail node removal.
8311 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8317 * debian/changelog: Updating.
8319 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8321 Patch by Alejandro to get/set passwords dialogs accesibility.
8323 * hildon-1/src/hildon-get-password-dialog.c:
8324 * hildon-1/src/hildon-set-password-dialog.c:
8325 Set atk_set_name to the passwd entries in order to allow
8326 accessibility by name on this entries.
8328 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8333 * debian/control: Updating gtk dep.
8335 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8337 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8338 USE_MAEMO_GTK is enabled.
8340 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8342 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8343 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8345 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8351 * debian/changelog: Updating.
8353 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8355 * examples/Makefile.am:
8356 * examples/hildon-logical-color-example.c:
8357 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8358 applied + adding a test case. Fixes: NB#71660.
8360 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8362 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8363 to be visible, fixes warning on map for windows without toolbars.
8365 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8367 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8368 2.11.0, add a check for that besides the MAEMO_GTK check.
8370 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8376 * debian/changelog: Updating.
8378 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8380 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8381 visibility. Fixes: NB#70842 and MB#615.
8383 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8385 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8386 set the separator as no-show-all so it doesn't unintentionally appear when
8387 someone does a show_all.
8389 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8391 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8392 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8393 toplevel item. Fixes: NB#62031
8395 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8397 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8398 fix the name of the function in the docs.
8400 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8406 * debian/changelog: Updating.
8408 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8410 * examples/hildon-banner-long-example.c: Adding a test-case for long
8413 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8415 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8417 * src/hildon-color-chooser-dialog.c:
8418 * src/hildon-color-chooser.c:
8419 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8420 memory leaks in font selector and color selector. Fixes: NB#70499 and
8423 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8425 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8427 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8429 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8430 little bit bigger. Fixes: #NB63694.
8432 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8438 * debian/changelog: Updating.
8440 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8443 * doc/hildon-docs.sgml:
8444 * doc/images/bread-crumb-trail.png:
8445 * doc/images/calendar-popup.png:
8446 * doc/images/caption.png:
8447 * doc/images/code-dialog.png:
8448 * doc/images/color-button.png:
8449 * doc/images/color-chooser-dialog.png:
8450 * doc/images/color-chooser.png:
8451 * doc/images/controlbar.png:
8452 * doc/images/date-editor.png:
8453 * doc/images/font-selection-dialog.png:
8454 * doc/images/get-password-dialog.png:
8455 * doc/images/hvolumebar.png:
8456 * doc/images/login-dialog.png:
8457 * doc/images/note.png:
8458 * doc/images/number-editor.png:
8459 * doc/images/range-editor.png:
8460 * doc/images/seekbar.png:
8461 * doc/images/set-password-dialog.png:
8462 * doc/images/sort-dialog.png:
8463 * doc/images/time-editor.png:
8464 * doc/images/time-picker.png:
8465 * doc/images/vvolumebar.png:
8466 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8467 Adding the bread-crumb-trial and helpers to the documentation.
8469 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8471 * examples/hildon-find-toolbar-example.c:
8472 * src/hildon-find-toolbar.c:
8473 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8474 actually continue firing the other handlers if connected. Adding a new
8476 hildon_find_toolbar_get_last_index that gets the index of the most
8477 recently added (last) item. Fixes: NB#52301.
8479 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8481 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8482 behaviour. Fixes: NB#68610.
8484 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8486 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8489 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8491 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8492 when realizing the banner. Should make the infonbanner effect a bit more
8495 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8497 * src/hildon-volumebar.c:
8498 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8499 hildon_volumebar_set_range_insensitive_message and
8500 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8502 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8504 * src/hildon-window.c: Fixing the border freeing on destroy.
8506 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8508 * src/hildon-code-dialog-private.h:
8509 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8510 kw keyboard support in HildonCodeDialog.
8512 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8518 * debian/changelog: Updating.
8520 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8522 * src/hildon-date-editor.c:
8523 * src/hildon-number-editor.c:
8524 * src/hildon-private.c:
8525 * src/hildon-private.h:
8526 * src/hildon-time-editor.c:
8527 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8528 handling in subclassed composite widgets. Fixes: NB#66628.
8530 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8532 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8533 from destroy_ callback as it introduces problems in async dbus signal
8534 handlers. Fixes NB#66673.
8536 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8538 * examples/hildon-hvolumebar-example.c:
8539 * src/hildon-volumebar.c: Improving the focus handling in the
8540 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8541 set_property accessor so that "mute" property can be actually set. I'm
8542 scared that nobody noticed it's totally broken.
8544 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8546 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8549 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8551 * src/hildon-calendar.c:
8552 * src/hildon-number-editor.c:
8553 * src/hildon-time-picker.c: Changing the timeout repeat so that it
8554 matches the spec of 6 chars per second. Fixes: NB#60489.
8556 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8558 * src/hildon-helper.c: Really fixing NB#58352. Looks like
8559 gtk_style_lookup_color sometime returns FALSE even though color was
8560 found and values were filled properly. Weird. Removing the warning for the
8563 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8565 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8566 expand vertically. Adding some extra space to the find toolbar buttons to
8567 make them thumbable. Fixes NB#66060.
8569 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8571 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8572 popup with "Ok" and "Cancel". Fixes NB#59299.
8574 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8576 * src/hildon-calendar.c: Process all window updates before executing next
8577 timeout. Fixes: NB#54146.
8579 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8585 * debian/changelog: Updating.
8587 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8589 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8590 the client event and ignore it, since we use the delete event to close
8593 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8595 * src/hildon-helper.c: Remove the bogus warning about color not being
8596 found. Fixes NB#58352.
8598 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8600 * examples/Makefile.am:
8601 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8602 HildonSeekbar widget inside a toolbar.
8604 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8606 * src/hildon-banner.c (hildon_banner_init): mark the banners as
8607 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8608 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8609 don't want to be closed by non-temporary windows on map.
8611 Also use G_DEFINE_TYPE instead of manually typed code.
8613 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8620 * debian/rules: Updating.
8622 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8624 * examples/Makefile.am:
8625 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8626 bug NB#61128. Strangely it works.
8628 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8630 * src/hildon-date-editor.c: When the date editor entry has been changed
8631 but the numbers of characters < max, turn off the skip validation flag.
8632 Prevents a situation when we enter first a valid year and later re-write
8633 it with an invalid one. Fixes NB#60154.
8635 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8637 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
8638 code dialog. Fixes NB#64355.
8640 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8642 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
8643 switching the page. Fixes NB#49374.
8645 * examples/Makefile.am:
8646 * examples/hildon-wizard-dialog-example.c: Adding an example for
8647 HildonWizardDialog that shows how to handle manual sensitivity setting on
8650 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8654 * src/hildon-version.h.in:
8655 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
8657 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8659 * src/hildon-volumebar.c: Updating the docs.
8661 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8667 * debian/changelog: Updating.
8669 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8671 * src/hildon-find-toolbar.c:
8672 * src/hildon-find-toolbar.h: Adding a few new functions to control the
8673 selected item: hildon_find_toolbar_set_active,
8674 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
8675 hildon_find_toolbar_get_active_iter . They correspond to respective
8676 GtkComboBox functions.
8678 * examples/Makefile.am:
8679 * examples/hildon-find-toolbar-example.c: Adding the example to test the
8682 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8684 * examples/Makefile.am:
8685 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
8688 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
8689 when font size > 32 and we pack a focusable widget inside. Actually using
8690 the default response would work too, but since we don't show default
8691 response state in any way (no theming) it would not be visible to the
8692 user. Fixes NB#63430.
8694 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8696 * src/hildon-date-editor.c: Adding the missing variable setter in the
8697 set_property handler. Fixes NB#54182.
8699 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8701 * src/hildon-window.h: Changing the long key press time from 1500ms to
8702 800ms as requested in NB#63700. I have a bad feeling about this, let's
8703 see... Fixes NB#63700.
8705 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
8707 * src/hildon-time-picker.c (hildon_time_picker_class_init,
8708 hildon_time_picker_map, hildon_time_picker_realize,
8709 hildon_time_picker_style_set): Split the contents of map to more
8710 appropriate functions; set window decorations on realize and update
8711 arrows' size requisitions on style-set. Avoids unnecessary resizing.
8713 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
8718 * debian/changelog: Updating.
8720 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
8722 * src/Makefile.am: fixed installation of the header files
8724 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8730 * debian/changelog: Updating.
8732 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8734 * configure.ac: Removing some remaining of --enable-xan.
8736 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
8738 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
8739 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
8741 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
8742 2.10.12-osso6 because the move-focus signal needs to be available in
8745 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8747 * examples/Makefile.am:
8748 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
8749 that makes a HildonVolumebar insensitive before mapping it. Seems to work
8750 fine. Prolly NB#61128 is fixed now.
8752 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8754 * src/hildon-volumebar.c:
8755 * src/hildon-volumebar.h: Adding the
8756 hildon_volumebar_set_range_insensitive_message and
8757 hildon_volumebar_set_range_insensitive_messagef functions to set
8758 insensitive message on the slider of the volumebar. Fixes NB#61129.
8760 * examples/Makefile.am:
8761 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
8762 test the new insensitive messsage functionality on HildonVolumebar.
8764 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
8766 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
8769 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
8771 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
8772 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
8773 button on after clearing the trail.
8775 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8777 * src/hildon-code-dialog.c: Removing the separator from the dialog.
8779 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8781 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
8782 by splitting the installed headers in generated and non-generated groups. Use
8783 only the non-generated headers to create the hildon-enum-types.h file.
8785 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
8787 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8789 * src/hildon-window.c: Hide the window before performing the destroy.
8790 Should make the app closing a little tiny bit more snappy.
8792 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8794 * src/hildon-seekbar.c: add gtkrange.h header
8795 * src/hildon-caption.c: remove unused variable
8797 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
8799 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
8802 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8808 * debian/changelog: Updating.
8810 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
8812 * src/hildon-window.c (hildon_window_window_state_event,
8813 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
8814 escape timeout on focus-out-event rather than notify::is-topmost; the
8815 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
8817 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8819 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
8820 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
8822 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8824 * src/hildon-window: actually, you need to use the macro always, there's
8825 no private pointer in the instance structure. We should have cleaned this up
8826 when we had the chance...
8828 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8830 * src/hildon-window.c: do not get the private date from HildonWindow before
8831 it passes the g_return_if_fail check. Once it's passed the test, there's no
8832 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
8833 if you are only going to access the data once. Whitespace cleanups.
8835 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
8837 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8838 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8840 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8846 * debian/changelog: Updating.
8848 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8850 * src/hildon-window.c: When destroying the window, remove (if exists) the
8851 escape timeout handler. Fixes #NB59276.
8853 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8855 * src/hildon-banner.c: When realizing the widget, set the window
8856 transiency. Setting the transiency in the gobject constructor is not
8857 good, as the widget is not realized at that point. Fixes: #NB56624.
8859 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8861 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
8862 Add padding for future expansions.
8864 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8866 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
8867 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
8868 will fake an activation on the previous to the last item of the trail, so
8869 the effect can be overrided by the developer as usual.
8870 Also change the callback for the back button to do the same thing, so its
8871 effect can be overrided too. Fixes: NB#58982
8873 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8875 * src/hildon-caption.c: Implementing the proper focus grabbing in the
8876 HildonCaption. Fixes NB#52379.
8878 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8880 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
8881 the internal state of the trail after the user has had the chance of executing
8882 his handler for the signal. Specifically, it may happen that the activated button
8883 is removed and the user still lets the default handler run. This would segfault
8886 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8888 * src/hildon-font-selection-dialog.c: When the font is really big, add the
8889 scrollbar to the preview dialog. Fixes NB#54147.
8891 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8893 * src/hildon-date-editor.c: Changing the default max year to 2037. The
8894 max/min year properties can be altered, so the client can modify it
8895 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
8897 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8899 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
8900 hildonlike by default. Fixing a problem with disappearing arrows when
8901 scrolling through months and years. Fixes NB#54127.
8903 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8905 * examples/hildon-date-editor-example.c: Adding error callback to the date
8908 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8914 * configure.ac: Updating.
8916 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8918 * configure.ac: Adding a special '--enable-xan' configure option that
8919 turns off the -Werror compilation setting. Usefull for development.
8921 * src/hildon-calendar.c:
8922 * src/hildon-number-editor.c:
8923 * src/hildon-time-picker.c: Adding the 5* multiplier to
8926 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
8928 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
8929 instead of g_object_ref + gtk_object_sink.
8931 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8937 * debian/changelog: Updating.
8939 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8941 * src/hildon-color-chooser-dialog.c:
8942 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
8943 straight from Tommi labs.
8945 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8947 * examples/hildon-finger-example.c: Correcting the header file path.
8949 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
8950 the changed signal. Fixes a small memory leak.
8952 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8956 * src/hildon-banner.c: Importing several usefull fixes from the
8957 ubuntu-mobile branch.
8959 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8961 * examples/Makefile.am:
8962 * examples/hildon-finger-example.c: Adding a finger-checking code
8965 * src/hildon-font-selection-dialog.c: Do not allocate the color
8966 structure using the g_new. Fixes NB#54061.
8968 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8970 * src/hildon-helper.c: Correcting tabs in file.
8972 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
8974 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
8975 control the visibility of the children.
8977 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
8979 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8985 * debian/changelog: Updating.
8987 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8989 * src/hildon-bread-crumb-trail.c:
8990 (hildon_bread_crumb_trail_size_allocate):
8992 Make the back button always a square.
8994 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8996 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
8997 from the .c file as it's a private file.
8999 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9001 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
9002 uses slightly bigger height.
9004 * src/hildon-font-selection-dialog.c: Adding some checks before
9005 freeing memory in the font selection dialog.
9007 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9009 * src/hildon-font-selection-dialog.c: Adding a small check when
9012 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9013 buttons sensitivity on page switching.
9015 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
9017 * src/hildon-bread-crumb-trail.c: make the add method handle all the
9018 internal details of adding a bread crumb to the trail.
9020 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9026 * debian/changelog: Updating.
9028 * src/hildon-bread-crumb-trail.h:
9029 * src/hildon-bread-crumb.h: Changing the API guard to
9030 HILDON_ENABLE_UNSTABLE_API.
9032 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9040 * src/hildon-helper.h: Updating.
9042 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9050 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9054 * src/hildon-helper.h: Small fix to make the package actually compile.
9056 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9058 * src/hildon-bread-crumb-trail.h:
9059 * src/hildon-bread-crumb.h:
9061 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9062 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9064 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9066 * examples/hildon-bread-crumb-trail-example.c:
9068 * src/hildon-bread-crumb-trail.c:
9069 * src/hildon-bread-crumb-trail.h:
9070 * src/hildon-bread-crumb.c:
9071 * src/hildon-bread-crumb.h:
9072 * src/hildon-marshalers.list:
9073 * src/hildon-bread-crumb-widget.c:
9074 * src/hildon-bread-crumb-widget.h:
9076 Slight change in the widget design. The bread crumb trail API is
9077 unchanged, but HildonBreadCrumb is now an interface. A *private*
9078 implementation, hildon-bread-crumb-widget, is provided and used
9079 internally by the trail for the push_text/push_icon functions.
9081 The generic push API is still available, so anyone can implement
9082 and use its own bread crumb widget.
9084 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9086 * debian/rules: Fixing the shlibs.
9088 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9090 * src/hildon-banner.c: Fixing a problem with timed banners having
9091 their parrent destroyed before they are.
9093 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9095 * src/hildon-bread-crumb.c:
9096 * src/hildon-bread-crumb.h:
9098 Make the get_natural_size function a vfunc.
9100 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9102 * src/hildon-bread-crumb.c:
9103 * src/hildon-bread-crumb-trail.c:
9107 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9114 * debian/changelog: Updating for release.
9116 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9118 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9119 don't leak the pango layout.
9121 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9124 * examples/hildon-bread-crumb-trail-example.c:
9128 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9130 * debian/changelog: Removing the bug-fixed entries that were actually
9131 resolved as WONTFIX.
9133 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9136 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9138 * src/hildon-bread-crumb-trail.c:
9139 * src/hildon-bread-crumb-trail.h:
9140 * src/hildon-bread-crumb.c:
9141 * src/hildon-bread-crumb.h:
9145 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9147 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9148 until it's passed the type check.
9150 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9152 * examples/hildon-bread-crumb-trail-example.c
9156 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9158 * examples/Makefile.am
9159 * examples/hildon-bread-crumb-trail-example.c
9161 * src/hildon-bread-crumb-trail.c
9162 * src/hildon-bread-crumb-trail.h
9163 * src/hildon-bread-crumb.c
9164 * src/hildon-bread-crumb.h
9166 New HildonBreadCrumbTrail widget.
9168 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9170 * src/hildon-range-editor.c (hildon_range_editor_init),
9171 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9172 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9173 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9174 hildon_time_editor_class_init, hildon_time_editor_init),
9175 src/hildon-get-password-dialog.c (invalid_input,
9176 hildon_get_password_set_property, hildon_get_password_get_property,
9177 create_contents, hildon_get_password_dialog_set_max_characters),
9178 src/hildon-set-password-dialog.c (create_contents),
9179 src/hildon-date-editor.c (hildon_date_editor_init),
9180 src/hildon-login-dialog.c (hildon_login_dialog_init),
9181 src/hildon-number-editor.c (hildon_number_editor_init),
9182 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9183 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9184 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9185 configure option and adding the respective checks in the code.
9186 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9187 hildon_calendar_drag_data_received): fixed some build warnings.
9189 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9191 * debian/changelog: A 1.0.0 release notes.