1 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
3 * examples/hildon-banner-example.c: Protect deprecated hildon-banner
4 functions with #ifndef HILDON_DISABLE_DEPRECATED
5 * examples/hildon-find-toolbar.c: Protect deprecated
6 HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
7 * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
8 in favor of HILDON_ICON_PIXEL_SIZE_FINGER
9 * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
11 * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
12 to allow proper compilation of deprecated functions defined on the header
14 Fixed compilation using '--enable-fatal' and '--disable-deprecated'
16 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
18 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
19 Cache the panning indicator color.,
20 (hildon_pannable_area_style_set): Query the color on style changes.
21 (hildon_pannable_draw_vscroll),
22 (hildon_pannable_draw_hscroll),
23 (hildon_pannable_area_expose_event): Use the cached panning indicator
24 color instead of looking it up on every expose and more.
26 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
28 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
29 (hildon_pannable_draw_hscroll),
30 (hildon_pannable_area_expose_event): Fix the panning indicator color,
31 so that it's "SecondaryTextColor", as desired.
33 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
35 * hildon/hildon-picker-dialog.c:
36 (selection_completed): take into account HILDON_UI_MODE_NORMAL
37 * hildon/hildon-touch-selector.c
38 (hildon_touch_selector_init): Initialize hildon-ui-mode
39 (hildon_touch_selector_row_activated): new callback for the
40 "row-activated" signal, in order to save the last activated
41 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
42 if the current hildon-ui-mode is coherent with the touch selector
43 (hildon_touch_selector_class_init)
44 (hildon_touch_selector_get_property)
45 (hildon_touch_selector_set_property)
46 Added "hildon-ui-mode" property
47 (disconnect_model_handlers): renamed to clean_column
48 (hildon_touch_selector_remove): use clean_column function
49 (_create_new_column): use the hildon-ui-mode to create the treeview, and
50 only select the first element on HILDON_UI_MODE_EDIT
51 (hildon_touch_selector_column_init): Initialize last_activate
52 (hildon_touch_selector_append_column): check that the touch selector
53 is coherent with the current hildon-ui-mode
54 (hildon_touch_selector_get_hildon_ui_mode)
55 (hildon_touch_selector_set_hildon_ui_mode)
56 Added a getter/setter for the hildon-ui-mode property
57 (hildon_touch_selector_get_last_activated_row): Added this method in
58 order to get the last activated row.
59 * examples/hildon-touch-selector-normal-mode-example.c
60 New example, that shows how to use the HildonTouchSelector in
63 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
64 Kristian Rietveld <kris@lanedo.com> advices
66 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
68 * hildon/hildon-time-selector.c: (update_format_policy): Do
69 not call update_format_dependant_columns() if not necessary.
70 (update_format_dependant_columns): Remove unnecessary check for
71 the number of columns.
73 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
75 * hildon/hildon-note.c (+hildon_note_constructor),
76 (hildon_note_class_init), (+hildon_note_set_padding),
77 (hildon_note_rebuild): Install a constructor where to set the
78 padding properties in the note, so that it actually works fine.
79 Use hildon_note_set_padding() for this, and also to set it during
82 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
84 * configure.ac: Bump GTK+ requirement to 2.14.3.
85 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
86 when using maemo-gtk to define proper margins for the notes.
88 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
91 2009-06-24 Alberto Garcia <agarcia@igalia.com>
93 * hildon/hildon-banner.c
94 (hildon_banner_class_init):
96 (+hildon_banner_size_request):
97 Request always the full width of the screen.
98 (hildon_banner_realize)
99 (-hildon_banner_check_position, hildon_banner_map):
100 hildon_banner_check_position() is not needed in Hildon 2.2.
101 (-hildon_banner_reset_wrap_state)
102 (hildon_banner_constructor, hildon_banner_init):
103 Remove unnecessary calls to hildon_banner_reset_wrap_state()
104 (+banner_do_set_text)
105 (force_to_wrap_truncated):
106 Remove has_been_wrapped and has_been_truncated attributes.
107 (+reshow_banner, hildon_banner_real_show_information)
108 (hildon_banner_show_information_with_markup)
109 (hildon_banner_show_animation, hildon_banner_show_progress)
110 (hildon_banner_set_text, hildon_banner_set_markup):
111 Refactor code. Shrink banner vertically to use the minimum space
112 necessary everytime the text of the label is updated.
113 (screen_size_changed):
114 Call force_to_wrap_truncated() when the size of the screen
117 Fixes: NB#120500 (only device memory connect mmc in use info
118 banner is left aligned)
120 Fixes: NB#120613 (Size of HildonBanner varies depending on
121 previously opened banners)
123 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
125 * hildon/hildon-color-chooser.c
126 (hildon_color_chooser_pointer_motion): Take the widget allocation
129 Fixes: NB#124385 (Unable to select exact point in color mixing box
130 in color palette dialog)
132 2009-06-23 Alejandro G. Castro <alex@igalia.com>
134 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
135 (hildon_pannable_area_dispose)
136 (hildon_pannable_area_button_press_cb)
137 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
138 (hildon_pannable_area_button_release_cb)
139 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
140 New 'panning-started' and 'panning-finished' signals.
142 Fixes: NB#121732 (New feature request: Signal to pannable area
143 that informs when panning is stopped.)
145 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
147 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
148 instead of hardcoded colon.
150 Fixes: NB#124090 (New calendar wizard title is not using
151 ecdg_ti_caption_separator)
153 2009-06-22 David King <davidk@openismus.com>
155 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
156 constants and functions, as well as correct many typos throughout the
159 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
162 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
164 * configure.ac: postrelease version bump.
165 * debian/changelog: post release version bump
167 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
172 * configure.ac: Bump version.
173 * debian/changelog: Updates.
175 2009-06-18 Alberto Garcia <agarcia@igalia.com>
177 * hildon/hildon-window-stack.c
178 (hildon_window_stack_pop_and_push_list):
179 Prevent windows from having the same stack index
181 2009-06-18 Alberto Garcia <agarcia@igalia.com>
183 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
184 Use the index of the previous window rather than the stack length
185 to calculate the new index.
189 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
191 * hildon/hildon-date-selector.c
192 (hildon_date_selector_select_current_date)
193 (hildon_date_selector_get_date)
194 (hildon_date_selector_select_day):
195 Update the documentation: uses always the range (1-31), as it is obvious
196 that the final one will depend on the month and the year, but globally
197 the range is this, in a similar GtkCalendar approach
198 (hildon_date_selector_get_date):
199 Update the documentation: add NULL as a valid value for the day, month
202 Fix some details, after talk with David King on bug MB#4698
204 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
206 * hildon/hildon-touch-selector-entry.c
207 * hildon/hildon-touch-selector.c
208 Update the documentation of the "text-column" property
210 2009-06-18 David King <davidk@openismus.com>
212 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
213 several typos and errors throughout the documentation.
215 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
218 2009-06-18 Alberto Garcia <agarcia@igalia.com>
220 * hildon/hildon-note.c (hildon_note_realize):
221 Make HildonNote support portrait mode.
223 Fixes: NB#123448 (HildonNote is not portrait-friendly)
225 2009-06-17 Alberto Garcia <agarcia@igalia.com>
227 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
228 Document this function
230 2009-06-17 David King <davidk@openismus.com>
232 * hildon/hildon-date-selector.c
233 (hildon_date_selector_select_current_date)
234 (hildon_date_selector_get_date): Update documentation regarding days,
235 as the day of the month is dependent on both the month and the year.
236 (hildon_date_selector_get_date): Fix documentation of output arguments.
238 Fixes: MB#4698 (DateSelector documentation has bad output argument
239 description, and the day depends on both the month and the year)
241 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
243 * hildon/hildon-caption.c: Other documentation fixes to
246 2009-06-17 David King <davidk@openismus.com>
248 * hildon/hildon-caption.c: Minor documentation updates for
249 HildonCaption. Fixes MB#4697.
251 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
253 * doc/hildon-docs.sgml: Add hildon-version section.
254 * doc/hildon-sections.txt:
255 * hildon/hildon-version.h.in: Document versioning macros and
258 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
260 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
261 from HildonPickerDialog section.
263 2009-06-16 Alberto Garcia <agarcia@igalia.com>
265 * hildon/hildon-banner.c (hildon_banner_bind_style)
266 (screen_size_changed, hildon_banner_init)
267 (hildon_banner_real_show_information)
268 (hildon_banner_show_information_with_markup)
269 (hildon_banner_show_animation, hildon_banner_show_progress):
270 Set a different widget name to banners in portrait mode, for them
271 to be themed correctly.
273 2009-06-16 Alberto Garcia <agarcia@igalia.com>
275 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
276 Set a different widget name to notes in portrait mode, for them to
279 Partially fixes: NB#118401 (HildonNote causes unnecessary
282 2009-06-16 Alberto Garcia <agarcia@igalia.com>
284 * hildon/hildon-note.c (hildon_note_class_init)
285 (+hildon_note_size_request, screen_size_changed):
286 Always request the full width of the screen.
288 Fixes: NB#118375 (unnecessary rescaling of images)
290 2009-06-16 Alejandro G. Castro <alex@igalia.com>
292 * hildon/hildon-pannable-area.c,
293 (hildon_pannable_area_init),
294 (hildon_pannable_area_realize): Replaced old code adding flags in
295 the object init, now we add it with the other flags in the realize
298 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
300 * hildon/hildon-note.c: (hildon_note_class_init): Several
301 documentation improvements to the HildonNote widget.
303 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
305 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
307 Fixes: MB#4556 (HildonNoteType is undocumented)
309 2009-06-15 Alberto Garcia <agarcia@igalia.com>
311 * hildon/hildon-picker-button.c:
312 Explain how HildonPickerButton sets the title of its dialog
314 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
315 the title of its dialog)
317 2009-06-15 Alberto Garcia <agarcia@igalia.com>
319 * hildon/hildon-check-button.c:
320 Documentation updates
322 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
325 2009-06-15 Alberto Garcia <agarcia@igalia.com>
328 * hildon/hildon-edit-toolbar-private.h
329 * hildon/hildon-edit-toolbar.c
330 (+hildon_edit_toolbar_set_progress_indicator)
331 (hildon_edit_toolbar_init): Add progress indicator to the
334 * hildon/hildon-gtk.c
335 (hildon_gtk_window_set_progress_indicator):
336 If the window contains a HildonEditToolbar, enable the progress
339 * hildon/hildon-private.h
340 * hildon/hildon-private.c
341 (+hildon_private_create_animation)
342 * hildon/hildon-banner.c
343 (-hildon_banner_create_animation):
344 Moved to hildon-private.c
346 Fixes: NB#102373 (Progress indicator also for the Edit mode
349 2009-06-15 Alberto Garcia <agarcia@igalia.com>
351 * hildon/hildon-app-menu-private.h
352 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
353 (hildon_app_menu_add_filter, +menu_item_button_event)
354 (hildon_app_menu_button_release, hildon_app_menu_init):
355 Make sure that buttons receive 'button-release-event' in spite of
356 the grab held by HildonAppMenu
358 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
360 2009-06-15 Alberto Garcia <agarcia@igalia.com>
362 * hildon/hildon-app-menu.c
363 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
364 New style property to set the size of the group of filter buttons.
366 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
368 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
373 * configure.ac: Bump version.
374 * debian/changelog: Updates.
376 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
378 * hildon/hildon-main.c: Minor documentation fixes.
380 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
382 * doc/hildon-sections.txt:
383 * hildon/hildon-defines.h: Document the defines, organize them,
384 and mark deprecations as such.
386 Fixes: MB#4463 (Hildon size #defines are undocumented)
388 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
390 * hildon/hildon-animation-actor.c:
391 * hildon/hildon-app-menu.c:
392 * hildon/hildon-button.c:
393 * hildon/hildon-date-editor.c:
394 * hildon/hildon-dialog.c:
395 * hildon/hildon-edit-toolbar.c:
396 * hildon/hildon-entry.c:
397 * hildon/hildon-program.c:
398 * hildon/hildon-remote-texture.c:
399 * hildon/hildon-stackable-window.c:
400 * hildon/hildon-text-view.c:
401 * hildon/hildon-touch-selector.c:
402 * hildon/hildon-window-stack.c:
403 * hildon/hildon-window.c:
405 Remove redundant "represents" wording from most of the documentation.
407 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
409 2009-06-12 Alberto Garcia <agarcia@igalia.com>
414 * hildon/hildon-banner-private.h
415 * hildon/hildon-banner.c:
416 Move HildonBannerPrivate to hildon-banner.c and remove
417 hildon-banner-private.h
418 Use a bit field to store private booleans.
420 2009-06-12 Alberto Garcia <agarcia@igalia.com>
422 * hildon/hildon-app-menu.c (hildon_app_menu_map):
423 Don't install a new idle function if there's already one
428 2009-06-11 Alberto Garcia <agarcia@igalia.com>
430 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
431 (+legacy_menu_realized, +legacy_menu_unmapped)
432 (+set_legacy_menu_type):
433 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
434 they can be identified by the window manager.
436 Fixes: NB#101437 (Invoking CSM on the left side of page area is
437 displayed in wrong location)
439 Fixes: MB#4563 (Popup menu won't locate at the left side of the
442 2009-06-11 Alberto Garcia <agarcia@igalia.com>
444 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
446 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
449 2009-06-11 Alberto Garcia <agarcia@igalia.com>
451 * hildon/hildon-code-dialog.c
452 * hildon/hildon-date-editor.c
453 * hildon/hildon-number-editor.c
454 * hildon/hildon-seekbar.c
455 * hildon/hildon-stackable-window.c
456 * hildon/hildon-window.c:
457 Misc documentation updates
459 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
461 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
462 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
464 Fixes: NB#117931 (Theming issues in accounts dialogs)
466 2009-06-09 Alejandro G. Castro <alex@igalia.com>
468 * hildon/hildon-pannable-area.c,
469 (hildon_pannable_area_button_release_cb): Changed the coordinates
470 of the original release in case we want to discard the release,
471 some widgets in Fremantle do not handle the leave-notify.
473 2009-06-09 Alejandro G. Castro <alex@igalia.com>
475 * hildon/hildon-pannable-area.c,
476 (hildon_pannable_area_button_release_cb): Reviewed the logic of
477 the release using the last refactored functions and avoiding the
478 movement if an element was selected.
480 2009-06-09 Alejandro G. Castro <alex@igalia.com>
482 * hildon/hildon-pannable-area.c,
483 (hildon_pannable_area_check_move),
484 (hildon_pannable_area_handle_move),
485 (hildon_pannable_area_motion_notify_cb): Refactored the
486 motion_notify method using a couple of new functions.
488 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
490 * hildon/hildon-date-selector.c:
491 (hildon_date_selector_construct_ui):
492 * hildon/hildon-time-selector.c:
493 (hildon_time_selector_constructor):
494 * hildon/hildon-touch-selector-entry.c:
495 (hildon_touch_selector_entry_set_text_column),
496 (hildon_touch_selector_entry_get_text_column):
497 * hildon/hildon-touch-selector.c: (_default_print_func),
498 (hildon_touch_selector_new_text): Use
499 hildon_touch_selector_set/get_text_column() instead of
500 setting/getting the "text-column" property.
502 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
504 * doc/hildon-sections.txt: Add the new public methods below.
506 * examples/hildon-picker-button-multicolumn-example.c:
507 (create_touch_selector):
508 * examples/hildon-touch-selector-example.c: (create_selector):
509 * examples/hildon-touch-selector-multi-cells-example.c:
511 Use hildon_touch_selector_column_set_text_column()
513 * hildon/hildon-touch-selector-column.h:
514 * hildon/hildon-touch-selector.c:
515 (hildon_touch_selector_column_set_text_column),
516 (hildon_touch_selector_column_get_text_column):
517 Make hildon_touch_selector_column_set/get_column() public, use
518 them in the inline example, document them, and reference to them
521 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
523 * hildon/hildon-time-selector.c: Fix the docs for
524 hildon_time_selector_new_step().
526 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
528 * hildon/hildon-touch-selector.c: Improve the documentation for
529 hildon_touch_selector_append_column().
531 Fixes MB#4641 (Documentation:
532 hildon_touch_selector_append_column() ref-counting)
534 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
536 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
537 Comment out test 5, since the hildon_controlbar_set_range() range
538 check is broken and fixing it would have side effects. Also,
539 this finally fixes make distcheck.
541 Fixes: NB#101420 (Update unit tests and fix make distcheck)
543 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
545 * tests/TEST-CASES.txt: Remove other bogus test.
546 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
547 Remove bogus test that was setting/retrieving a valid value.
549 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
551 * tests/TEST-CASES.txt: Remove bogus tests.
552 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
553 Remove three bogus tests that were actually setting valid colors.
555 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
557 * configure.ac: post release version bump
558 * debian/changelog: post release version bump
560 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
565 * configure.ac: Bump version.
566 * debian/changelog: Updates.
568 2009-06-08 Christian Dywan <christian@lanedo.com>
572 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
573 Correct errors in hildon_format_file-size_for_display and use
574 translations from the hildon-fm package instead of osso-filemanager.
576 2009-06-08 Alejandro G. Castro <alex@igalia.com>
578 * hildon/hildon-pannable-area.c,
579 (hildon_pannable_area_init): Initialized new values to handle the
581 (hildon_pannable_area_adjust_value_changed): Check if the values
582 changed before even call the redraw function.
583 (hildon_pannable_area_size_allocate),
584 (hildon_pannable_axis_scroll),
585 (hildon_pannable_area_scroll),
586 (hildon_pannable_area_jump_to): Improved the diagonal movement
589 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
592 2009-06-08 Alberto Garcia <agarcia@igalia.com>
594 * examples/hildon-banner-example.c:
595 Several style updates
596 (on_animation_clicked, on_animation_idle)
597 (on_progress_clicked, on_progress_idle):
598 Add additional reference for the cases when the parent window is
601 2009-06-08 Alberto Garcia <agarcia@igalia.com>
603 * doc/hildon-sections.txt
604 * hildon/hildon-pannable-area.c
605 * hildon/hildon-banner.h
606 * hildon/hildon-banner.c: Documentation updates.
608 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
611 2009-06-05 Alejandro G. Castro <alex@igalia.com>
613 * hildon/hildon-calendar-popup.h:
614 * hildon/hildon-caption.h:
615 * hildon/hildon-code-dialog.h:
616 * hildon/hildon-controlbar.h:
617 * hildon/hildon-date-editor.h:
618 * hildon/hildon-dialog.h:
619 * hildon/hildon-get-password-dialog.h:
620 * hildon/hildon-hvolumebar.h:
621 * hildon/hildon-login-dialog.h:
622 * hildon/hildon-note.h:
623 * hildon/hildon-number-editor.h:
624 * hildon/hildon-range-editor.h:
625 * hildon/hildon-seekbar.h:
626 * hildon/hildon-set-password-dialog.h:
627 * hildon/hildon-sort-dialog.h:
628 * hildon/hildon-time-editor.h:
629 * hildon/hildon-time-picker.h:
630 * hildon/hildon-volumebar-range.h:
631 * hildon/hildon-volumebar.h:
632 * hildon/hildon-vvolumebar.h:
633 * hildon/hildon-weekday-picker.h:
634 * hildon/hildon-window.h:
635 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
636 macros with the current replacements
638 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
640 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
642 * hildon/hildon-color-button.c (hildon_color_button_init): Use
643 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
644 itself, to make it fit better with Fremantle style.
646 Fixes: NB#109878 (height and width of focus on color icon is not
647 consistent with other item in the application tool bar)
649 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
651 * hildon/hildon-touch-selector.c:
652 (hildon_touch_selector_optimal_size_request): use the current requisition
653 as the base, in order to include any possible extra widget, like the
654 hildon entry on HildonTouchSelectorEntry
656 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
658 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
660 * configure.ac: post release version bump
661 * debian/changelog: post release version bump
663 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
668 * configure.ac: Bump version.
669 * debian/changelog: Updates.
671 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
673 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
675 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
676 to ensure the banner contents are centered, instead of relying on
677 the expand and fill properties in GtkHBox.
678 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
680 Fixes: NB#108265 (Animation banner not properly centered)
682 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
684 * hildon/hildon-pannable-area.c
685 (hildon_pannable_area_initial_effect): Remove the initial_effect
686 management, check initial_hint
687 (hildon_pannable_are_expose_event): Remove the initial_hint management,
688 set initial_effect to FALSE
689 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
690 by launching the fade_timeout if the scrollbars state has changed and are
692 * examples/hildon-pannable-area-initial-hint-example.c
693 Modified to allow to remove rows too. Add and remove rows one by one.
695 2009-05-28 Alberto Garcia <agarcia@igalia.com>
697 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
698 Don't close the menu if there's an animation actor below it.
700 Fixes: NB#117927 (Application menu not usable with animation
703 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
705 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
706 "focus-on-click" from the dialog button, to avoid stealing the
707 focus from the entry.
709 Fixes: NB#118903 (Account setup wizard: Text in Search field
710 should be focused when "Region" touch list picker is reopened
713 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
715 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
716 (prepare_action_area): Completely hide the dialog separator.
718 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
720 * hildon/hildon-touch-selector-entry.c
721 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
722 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
723 now that the entry is exposed.
725 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
727 * hildon/hildon-touch-selector-entry.c
728 (hildon_touch_selector_entry_init): Change the entry's size
729 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
731 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
733 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
734 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
735 avoid unnecessary scaling.
737 2009-05-27 Alberto Garcia <agarcia@igalia.com>
739 * hildon/hildon-app-menu.c (hildon_app_menu_map):
740 Create grab transfer window before calling parent's map function.
742 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
743 "crushed" button(s) in the top left corner)
745 2009-05-26 Alberto Garcia <agarcia@igalia.com>
747 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
748 Check if the window is already realized when pushing it.
750 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
752 * configure.ac: post release version bump
753 * debian/changelog: post release version bump
755 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
760 * configure.ac: Bump version.
761 * debian/changelog: Updates.
763 2009-05-25 Alberto Garcia <agarcia@igalia.com>
765 * hildon/hildon-app-menu.c: Doc updates.
767 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
769 * hildon/hildon-banner.c: Remove leftover macro.
771 2009-05-25 Alejandro G. Castro <alex@igalia.com>
773 * hildon/hildon-pannable-area.c,
774 (hildon_pannable_area_scroll_indicator_fade),
775 (hildon_pannable_area_button_release_cb): Reviewed vmin
776 conditions, it could cause problems in the fadeout procedure.
778 2009-05-25 Alejandro G. Castro <alex@igalia.com>
780 * hildon/hildon-pannable-area.c
781 (hildon_pannable_area_button_release_cb): Added a threshold to
782 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
784 2009-05-25 Alejandro G. Castro <alex@igalia.com>
786 * hildon/hildon-pannable-area.c,
787 (hildon_pannable_area_set_property): Added code to sync the gtk
788 dnd threshold with the panning threshold.
790 2009-05-25 Alejandro G. Castro <alex@igalia.com>
792 * hildon/hildon-pannable-area.c,
793 (hildon_pannable_area_class_init): Changed some of the default
794 values, now it should be less responsive and more accurate.
796 2009-05-25 Alejandro G. Castro <alex@igalia.com>
798 * hildon/hildon-pannable-area.c,
799 (hildon_pannable_area_init),
800 (hildon_pannable_area_scroll_indicator_fade),
801 (hildon_pannable_area_button_press_cb),
802 (hildon_pannable_axis_scroll),
803 (hildon_pannable_area_timeout),
804 (hildon_pannable_area_motion_notify_cb),
805 (hildon_pannable_area_button_release_cb): Changed the name of the
806 clicked attribute to button_pressed, it is more clear about its use.
808 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
810 * src/hildon-pannable-area.c
811 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
813 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
814 vertical scrollbar visibility, and use the data on private section instead,
815 remove the initial_hint check
816 (hildon_pannable_area_expose_event): add the initial_hint check here
818 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
820 * src/hildon-pannable-area.c
821 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
822 if the fadeout effect was used
823 (hildon_pannable_area_expose_event): check if it is required to
824 manage the initial effect on the begining of the function. Previously
825 it was made at the end, but this doesn't ensure that the scrollbars
826 will be painted on the first show. Do not set to FALSE initial_effect,
827 to ensure that the initial hint is showed the first time the pannable
829 * examples/Makefile.am
830 * examples/hildon-pannable-area-initial-hint-example.c:
831 New example, to show that the initial-hint is showed when the widget
834 Fixes: NB#116607 (Pannable area should always have scrollbar visible
835 initially if the application can be scrolled)
837 2009-05-25 Alberto Garcia <agarcia@igalia.com>
839 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
840 Resize table before adding new items to make sure that
841 gtk_table_resize() is called just once.
843 2009-05-25 Alberto Garcia <agarcia@igalia.com>
845 * hildon/hildon-app-menu-private.h
846 * hildon/hildon-app-menu.c (item_visibility_changed)
847 (filter_visibility_changed, hildon_app_menu_show_all)
848 (hildon_app_menu_hide_all, hildon_app_menu_init):
849 Rearrange items just once when gtk_widget_show_all()/hide_all()
852 2009-05-25 Alberto Garcia <agarcia@igalia.com>
854 * hildon/hildon-app-menu.c
855 (hildon_app_menu_insert, hildon_app_menu_add_filter):
856 Don't call gtk_widget_show() on added items.
858 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
859 automatically when they're added)
861 2009-05-20 Alberto Garcia <agarcia@igalia.com>
863 * hildon/hildon-banner.c
864 (hildon_banner_realize, +hildon_banner_unrealize)
865 (+screen_size_changed, hildon_banner_class_init):
866 Redisplay the banner if the screen is rotated.
868 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
869 on transition from landscape to portrait)
871 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
873 * hildon/hildon-banner.[ch]:
874 (hildon_banner_show_information_override_dnd): remove icon_name from the
875 method definition as it is ignored.
876 * examples/hildon-banner-dnd-example.c: updated with the change on
879 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
881 * hildon/hildon-banner-private.h: new require_override_dnd and
882 overrides_dnd variables
883 * hildon/hildon-banner.h:
884 (hildon_banner_show_information_override_dnd): new method, that shows
885 the information but sets the override flag, in order to show important
887 * hildon/hildon-banner.c
888 (hildon_banner_show_information_override_dnd): new method
889 (hildon_banner_set_override_flag): new utility function
890 (hildon_banner_real_show_information): new utility function, in order to
891 generalize the current hildon_banner_show_information_override_dnd and
892 hildon_banner_show_information_override_dnd
893 * examples/Makefile.am
894 * examples/hildon-banner-dnd-example.c: New example that show how to
895 use the new hildon_banner_show_information_override_dnd
897 Fixes: NB#114874 (There is no possibility to show hildon banners with
900 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
902 * hildon/hildon-pannable-area.c: Add a comment explaining the math
903 behind hildon_pannable_calculate_vel_factor().
905 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
907 * hildon/hildon-pannable-area.c
908 (hildon_pannable_calculate_vel_factor): Correct the sum of the
909 deceleration factors.
911 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
913 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
914 Reduce the default value for 'scroll_time' to 1 second, since the
915 current initial scrolling takes too much time.
917 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
919 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
920 calculate velocity factor during initialization, since the properties
923 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
925 * hildon/hildon-pannable-area.c
926 (hildon_pannable_area_set_property): Calculate the velocity factor
927 after setting the deceleration property and not after.
929 2009-05-20 Alberto Garcia <agarcia@igalia.com>
931 * hildon/hildon-entry.c
932 (hildon_entry_class_init, +set_property, hildon_entry_new)
933 * hildon/hildon-check-button.c
934 (hildon_check_button_class_init)
935 (+set_property, hildon_check_button_new):
936 Make the theme size a property.
938 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
939 others) do too much in the _new function)
941 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
943 * configure.ac: post release version bump
944 * debian/changelog: post release version bump
946 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
951 * configure.ac: Bump version.
952 * debian/changelog: Updates.
954 2009-05-15 Alberto Garcia <agarcia@igalia.com>
956 * hildon/hildon-gtk.h
957 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
958 New API function to take a screenshot of a window
960 Fixes: NB#106374 (Need API to take a loading screenshot)
962 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
964 * hildon/hildon-time-selector.c
965 (update_format_policy): prevent to use hours and minutes unitialized
967 2009-05-15 Alberto Garcia <agarcia@igalia.com>
969 * hildon/hildon-window.c (hildon_window_size_request):
970 Always request the full size of the screen (minus the title bar if
971 not in fullscreen mode).
973 Fixes: NB#107486 (HildonWindow should size itself properly)
975 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
977 * hildon/hildon-note-private.h: Add idle_handler to the private data.
978 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
979 (on_show_cb), (sound_handling): Disconnect the idle handler for
980 the sound when the note is finalized to avoid possible crashes.
982 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
985 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
987 * src/hildon-animation-actor.c,
988 * src/hildon-remote-texture.c:
989 Added proper object cleanup to remove signal handler and object
990 references as HildonAnimationActor and HildonRemoteTexture
991 objects get destroyed.
993 Fixes: NB#116682 (Destroying parented animation actors when
994 parent in unmapped leads to crash)
996 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
998 Based on a patch by Christian Dywan (christian@imendio.com)
1000 * doc/hildon-sections.txt:
1001 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1002 * hildon/hildon-helper.h: New file size formatting method.
1004 * debian/control: Depend on osso-filemanager l10n package for
1005 proper localization strings.
1007 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1009 * tests/Makefile.am: Include top_srcdir to make possible to build
1010 tests in a different builddir.
1011 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1012 on a different builddir.
1014 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1016 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1017 (hildon_touch_selector_remove): Disconnect model's signal handler
1020 Fixes: NB#116289 (Hildon home crashes while adding task
1023 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1025 * hildon/hildon-button.c
1026 (hildon_button_set_title, hildon_button_set_value):
1027 Hide labels containing an empty string.
1029 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1031 * configure.ac: post release version bump
1032 * debian/changelog: post release version bump
1034 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1039 * configure.ac: Bump version.
1040 * debian/changelog: Updates.
1042 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1044 * hildon/hildon-note-private.h: Removed sound_signal_handler
1045 * hildon/hildon-note.c
1046 (on_show_cb): new callback on note "show" event, this simply adds
1047 a idle, with the function sound_handling
1048 (sound_handling): removed the sound_signal_handler management
1049 (hildon_note_init): connect note "show" event to on_show_cb
1050 (hildon_note_realize): remove the connection to "expose-event"
1052 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1053 device?' confirmation note)
1055 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1057 * hildon/hildon-note.c
1058 (hildon_note_new_information_with_icon_name)
1059 (hildon_note_new_confirmation_with_icon_name):
1060 Terminate the list of parameters in g_object_set() calls
1062 Fixes: NB#115166 (Formatting memory card is not taking place)
1064 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1066 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1067 "dialog-information" role for the sound being played.
1069 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1071 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1072 Don't make the menu a modal window, it causes strange interactions
1073 with the pointer grab and it's not really needed.
1075 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1077 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1079 * hildon/hildon-touch-selector.[ch]
1080 (hildon_touch_selector_optimal_size_request): function added to get a
1081 optimal size request from the touch selector, when you want a dialog to
1082 show as much of the selector
1083 * hildon/hildon-picker-dialog.c:
1084 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1085 (hildon_app_menu_class_init):
1086 New "max-height-landscape" and "max-height-portrait" style properties
1087 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1088 (hildon_picker_dialog_get_max_height): returns the maximum height using
1089 the style properties defined and checking the current portrait/landscape
1091 (_hildon_picker_dialog_set_selector): removed the set_size_request
1093 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1095 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1097 * hildon/hildon-bread-crumb-trail.c:
1098 * hildon/hildon-bread-crumb.c:
1099 * hildon/hildon-seekbar.c:
1100 Add reference to replacements for these deprecated widgets.
1102 Fixes: MB#4461 (Documentation: All deprecations should mention
1105 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1107 * examples/hildon-remote-texture-example.c
1109 Change the include to the hildon-remote-texture in order to compile
1110 properly the examples on the installed libhildon1-examples package
1112 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1114 * tests/Makefile.am: Add check for HildonPickerButton.
1115 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1116 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1117 checks for the HildonPickerButton.
1118 * tests/check_test.c (configure_tests): Add the test suite.
1119 * tests/test_suites.h: likewise.
1121 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1123 * hildon/hildon-touch-selector.c
1124 (+on_row_changed): Emit HildonTouchSelector:changed when the
1125 contents of a selected row change.
1126 (_create_new_column), (_hildon_touch_selector_set_model): connect
1127 to GtkTreeModel:row-changed on a newly set model.
1129 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1131 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1133 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1135 * hildon/hildon-banner.c (hildon_banner_destroy)
1136 (hildon_banner_show_progress, hildon_banner_set_fraction):
1137 Remove the progress bar from HildonBanner and use a progress
1140 Fixes: NB#113761 (Update progress banner to use progress
1143 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1145 * hildon/hildon-banner.c:
1146 Calculate size of the banner label using the actual screen width
1147 rather than using a fixed value.
1149 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1152 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1154 * hildon/hildon-pannable-area.c,
1155 (hildon_pannable_area_class_init): Fixed signals documentation
1158 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1160 * configure.ac: post release version bump
1161 * debian/changelog: post release version bump
1163 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1168 * configure.ac: Bump version.
1169 * debian/changelog: Updates.
1171 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1173 * hildon/hildon-edit-toolbar.c
1174 (hildon_edit_toolbar_init):
1175 Don't let buttons in HildonEditToolbar receive focus.
1177 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1178 typing on an HW arrows key)
1180 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1182 * doc/Makefile.am: Fix build.
1184 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1186 * doc/Makefile.am: Do not redefine content_files.
1188 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1196 Renamed src/ to hildon/
1201 Include <hildon/hildon.h> directly in all examples.
1203 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1205 * src/hildon-sort-dialog.c
1206 (hildon_sort_dialog_add_sort_key_with_sorting)
1210 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1212 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1213 make distcheck passes.
1215 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1217 * Makefile.am: Enable gtk-doc during distcheck.
1219 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1221 * Makefile.am: Do not distribute the debian/ directory.
1223 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1225 * doc/Makefile.am: Add the extra SGML files to content_files,
1226 so that they are distributed properly.
1228 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1230 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1233 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1235 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1236 (hildon_note_new_information_with_icon_name): Set the "icon" property
1237 to preserve soundness.
1239 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1241 * src/hildon-font-selection-dialog.c
1242 (hildon_font_selection_dialog_set_property): Fail when the "family"
1243 property is set to NULL.
1245 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1247 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1250 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1252 * src/hildon-time-selector.h:
1253 Added HildonTimeSelectorFormatPolicy
1254 * src/hildon-time-selector.c:
1255 Added PROP_TIME_FORMAT_POLICY
1256 (_check_ampm_format): renamed to check_automatic_ampm_format
1257 (update_format_policy), (update_format_dependant_columns): new functions
1258 (hildon_time_selector_class_init)
1259 (hildon_time_selector_contructor)
1260 (hildon_time_selector_init)
1261 (hildon_time_selector_get_property)
1262 (hildon_time_selector_set_property)
1263 (hildon_time_selector_get_time)
1264 (hildon_time_selector_set_time)
1265 * src/hildon-touch-selector.h: new file
1266 * src/hildon-touch-selector.c
1267 (hildon_touch_selector_emit_changed)
1268 (hildon_touch_selector_block_changed)
1269 (hildon_touch_selector_unblock_changed)
1270 Added functions to allow to block the emission of the "changed" signal
1271 * src/hildon-picker-dialog.c
1272 (hildon_picker_dialog_show): call the parent show before the custom code
1273 * examples/hildon-time-button-example.c
1274 Modified, so now you can configure the time format using the new property
1276 Added a new property "time-format-policy" that allow to choose the time
1277 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1278 case it uses gconf in order to check if the time selector must use
1281 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1284 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1286 * src/hildon-note.c (hildon_note_init):
1287 Label in HildonNote must be left aligned, not centered. This
1288 reverts the last commit in HildonNote.
1290 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1291 is connectivity dialog)
1293 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1298 * doc/hildon-sections.txt:
1299 Added hildon_gtk_window_set_do_not_disturb()
1301 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1303 * src/hildon-note.c (hildon_note_init): Center label.
1305 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1308 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1313 * configure.ac: Bump version.
1314 * debian/changelog: Updates.
1316 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1318 * src/hildon-note-private.h: Add button-width to the private data.
1319 * src/hildon-note.c (+resize_button),
1320 (+hildon_note_orientation_update): methods to repack widgets on orientation
1322 (screen_size_changed): Call above method for confirmation notes.
1323 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1324 (hildon_note_rebuild): Store the original width request from buttons.
1326 Fixes: NB#109635 (Confirmation notes do not support portrait)
1328 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1330 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1331 when it is a progress note.
1333 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1335 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1336 in the note, since there are no horizontally arranged contents.
1338 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1340 * src/hildon-gtk.c (+set_flag): new generic method to
1341 set/delay a flag setting in a window.
1342 (hildon_gtk_window_set_progress_indicator):
1343 (hildon_gtk_window_set_do_not_disturb),
1344 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1345 avoid code redundance.
1347 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1349 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1351 * src/hildon-gtk.c (set_clear_window_flag),
1352 (do_set_progress_indicator), (do_set_do_not_disturb),
1353 (do_set_portrait_flags),
1354 (hildon_gtk_window_set_progress_indicator),
1355 (hildon_gtk_window_set_do_not_disturb),
1356 (hildon_gtk_window_set_portrait_flags):
1357 Allow setting dnd-flag, progress indicator, and portrait flags
1358 when the window is not realized.
1360 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1362 * src/hildon-pannable-area.c,
1363 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1364 the size request policy function and defines.
1366 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1368 * doc/hildon-sections.txt: Add the new API.
1369 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1370 method to set the portrait flags.
1371 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1373 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1375 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1377 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1378 to allow using this method with other flags.
1379 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1380 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1382 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1384 * src/hildon-touch-selector.c
1385 (hildon_touch_selector_append_text_column):
1386 Make the cell renderer use the smallest width possible.
1388 Fixes: NB#108470 (Selected items in multiple selection are either
1389 having a tick that is cut or not visible at all.)
1391 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1393 * src/hildon-touch-selector.c
1394 (hildon_touch_selector_append_text_column):
1397 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1399 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1400 Use g_strdup_printf() instead of a fixed size buffer.
1402 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1404 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1405 Close banners when a HildonAppMenu is popped up.
1407 Fixes: NB#111027 (Title menu closed immediately if activated when
1408 "Invalid e-mail address" banner is shown)
1410 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1415 * configure.ac: Bump version.
1416 * debian/changelog: Updates.
1418 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1420 * src/hildon-banner.c (hildon_banner_realize):
1421 Mark HildonBanner as supporting portrait mode.
1422 Use GDK to set window properties insetad of direct Xlib calls.
1424 Fixes: NB#111830 (HildonBanner should be marked as supporting
1427 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1429 * src/hildon-note.c (hildon_note_rebuild):
1430 Hide action area in information notes. Prevents text from being
1431 slightly aligned to the left.
1433 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1436 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1438 Patch by Mox Soini (ext-mox.soini@nokia.com)
1440 * src/hildon-banner.c (hildon_banner_create_animation):
1441 Use stylus-sized icons in animation banner.
1443 Fixes: NB#111206 (stylus sized icon for animation banner)
1445 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1449 (+hildon_gtk_window_set_do_not_disturb):
1450 New API to set the do-not-disturb flag.
1452 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1454 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1456 * examples/hildon-progress-indicator-example.c: Fix example
1458 * src/hildon-gtk.c (set_clear_window_flag)
1459 (hildon_gtk_window_set_progress_indicator):
1460 Create a generic function for setting flags to a window.
1461 Use GDK instead of direct Xlib calls.
1463 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1465 * src/hildon-button.c (hildon_button_set_arrangement):
1466 Due to NB#88126, if one of the labels is too long it will be
1467 painted outside the button. The 'value' label is more likely to be
1468 the longest one, so we change its packing options in order to
1469 truncate it if necessary. As a side effect, the 'title' label will
1470 no longer be truncated.
1472 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1474 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1479 * configure.ac: Bump version.
1480 * debian/changelog: Updates.
1482 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1484 Deprecation of the hildon_pannable_area_set_size_request_policy
1485 API, the only policy properly supported in gtk+ nowadays is the
1488 * src/hildon-pannable-area.c,
1489 (hildon_pannable_area_size_request): Added a workaround for the
1490 size_request to avoid the problems of huge pixmaps in case someone
1491 is still using the function.
1492 * src/hildon-pannable-area.h: Deprecated the enum with the
1495 Fixes: NB#110244 (Problems with the
1496 hildon_pannable_area_set_size_request_policy API)
1498 2009-04-08 Alejandro G. Castro <alex@igalia.com>
1500 * src/hildon-pannable-area.c,
1501 (hildon_pannable_area_init),
1502 (hildon_pannable_area_size_request),
1503 (hildon_pannable_area_style_set),
1504 (hildon_pannable_draw_vscroll),
1505 (hildon_pannable_draw_hscroll),
1506 (hildon_pannable_area_check_scrollbars): Replaced area_width with
1507 indicator_width to clarify the use of the attribute.
1509 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
1514 * configure.ac: Bump version.
1515 * debian/changelog: Updates.
1517 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
1519 * src/hildon-picker-dialog.c
1520 * src/hildon-touch-selector.c
1521 Reverting the change that tried to avoid the hardcoded height on
1522 the picker dialog, as causes problems on the hildon-touch-selector
1525 Fixes: NB#110029 (selectors not scrolling to selected value)
1527 2009-04-07 Alberto Garcia <agarcia@igalia.com>
1529 * src/hildon-touch-selector.c: Fix typos
1531 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1533 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1534 Use the event coordinates instead of gdk_window_get_pointer(). Also,
1535 request more motions after using it.
1537 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1539 * src/hildon-calendar.c (hildon_calendar_expose),
1540 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1541 Remove unused variables.
1543 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1545 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1546 variable assignment.
1548 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1550 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1551 Check the return value of gtk_tree_selection_get_selected()
1554 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1556 * src/hildon-animation-actor.c
1557 * src/hildon-button.c
1559 * src/hildon-pannable-area.c
1560 * src/hildon-picker-button.c
1561 * src/hildon-program.c
1562 * src/hildon-remote-texture.c
1563 * src/hildon-text-view.c
1564 * src/hildon-touch-selector.c
1565 * src/hildon-window-stack.c
1566 * src/hildon-window.c:
1567 Add missing 'Since: 2.2' tags.
1569 * doc/hildon-sections.txt:
1570 Add some missing symbols.
1572 * doc/hildon-docs.sgml:
1573 New 'Other' section for HildonAnimationActor and
1576 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1578 Patch by Iván Gómez (igomez@igalia.com)
1581 * doc/compiling.sgml
1582 * doc/hildon-docs.sgml
1583 * doc/hildon-sections.txt
1584 * doc/migration.sgml
1585 * doc/resources.sgml
1587 New chapters on using the Hildon library.
1588 Updated the general structure of the reference manual.
1589 Other minor documentation fixes.
1591 * src/hildon-calendar-popup.c
1592 * src/hildon-calendar.c
1593 * src/hildon-controlbar.c
1594 * src/hildon-date-editor.c
1595 * src/hildon-dialog.c
1596 * src/hildon-hvolumebar.c
1597 * src/hildon-number-editor.c
1598 * src/hildon-range-editor.c
1599 * src/hildon-sort-dialog.c
1600 * src/hildon-time-editor.c
1601 * src/hildon-time-picker.c
1602 * src/hildon-volumebar-range.c
1603 * src/hildon-volumebar.c
1604 * src/hildon-vvolumebar.c
1605 * src/hildon-weekday-picker.c:
1606 Add deprecation notes
1608 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1609 Document 'horizontal-movement' and 'vertical-movement' signals.
1611 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
1616 * configure.ac: Bump version.
1617 * debian/changelog: Updates.
1619 2009-04-06 Alejandro G. Castro <alex@igalia.com>
1621 * src/hildon-pannable-area.c,
1622 (hildon_pannable_area_class_init): increased the minimum velocity.
1623 (hildon_pannable_area_button_release_cb): Updated the
1624 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
1625 setup. Review the code to control that last event.
1627 Fixes: NB#109790 (Releasing finger in pannable area easily causes
1630 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
1632 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1634 * src/hildon-get-password-dialog.c
1635 (hildon_get_password_set_property),
1636 (hildon_get_password_get_property), (create_contents):
1637 * src/hildon-login-dialog-private.h:
1638 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
1639 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
1640 (hildon_login_dialog_get_password):
1641 * src/hildon-set-password-dialog-private.h:
1642 * src/hildon-set-password-dialog.c
1643 (hildon_set_password_set_property),
1644 (hildon_set_password_get_property), (create_contents),
1645 (hildon_set_password_response_change),
1646 (hildon_set_password_response_set), (hildon_checkbox_toggled):
1648 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
1649 instead and look more Fremantle style.
1651 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
1653 2009-04-03 Alberto Garcia <agarcia@igalia.com>
1655 * doc/hildon-sections.txt
1656 * src/hildon-window-stack.h
1657 * src/hildon-window-stack.c
1658 (+hildon_window_stack_get_windows):
1659 New API to obtain the list of windows on a stack.
1661 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1663 * src/hildon-app-menu.c (hildon_app_menu_popup)
1664 (hildon_app_menu_class_init, -hildon_app_menu_show):
1665 Remove hildon_app_menu_show() and move all its checks to
1666 hildon_app_menu_popup()
1668 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
1670 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
1671 (_hildon_picker_dialog_set_selector): removed call to
1672 gtk_widget_set_size_request
1673 * src/hildon-touch-selector.c
1674 (_create_new_column): change the pannable size request policy
1676 Avoid to use a hardcoded height for the hildon picker dialog. In order
1677 to get that, we needed to change the hildon pannable size request
1679 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1681 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1683 * src/hildon-window.c (hildon_window_map): Check for vbox to be
1684 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
1687 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1689 * debian/control: Depend on osso-system-lock localization package.
1690 * src/hildon-code-dialog.c: Obtain the secu_application_title
1691 translation from osso-system-lock.
1692 * src/hildon-get-password-dialog.c (create_contents): Do not mark
1693 for translation the atk related strings, that's not necessary.
1694 * src/hildon-set-password-dialog.c (create_contents): Ditto.
1695 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
1696 cancel button, it is not required.
1698 2009-04-02 Alejandro G. Castro <alex@igalia.com>
1700 * src/hildon-pannable-area.c,
1701 (hildon_pannable_area_class_init): Modified the default value of
1702 the overshooting max speed, we have reduced it.
1704 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1706 * doc/hildon-sections.txt
1707 * src/hildon-window-private.h
1708 * src/hildon-window.h
1709 * src/hildon-window.c (hildon_window_class_init)
1710 (hildon_window_init, hildon_window_finalize)
1711 (hildon_window_realize, hildon_window_get_property)
1712 (hildon_window_set_property, hildon_window_update_markup)
1713 (hildon_window_get_markup, hildon_window_set_markup):
1714 New "markup" property and hildon_window_{get,set}_markup() methods.
1716 * examples/hildon-stackable-window-example.c (new_window):
1717 Update example to use hildon_window_set_markup()
1719 Fixes: NB#106375 (Need API to retitle a window with a title
1722 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1724 * src/hildon-pannable-area.c,
1725 (hildon_pannable_area_class_init): Changed the default value of
1726 the initial_hint to TRUE.
1727 (hildon_pannable_area_initial_effect): Changed the initial effect,
1728 not the effect is just the fade-out of the scrollbars.
1730 Fixes: NB#107775 (No scrollbars can be seen when several items are
1731 available in a dialog)
1733 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1735 * src/hildon-program.c (hildon_program_update_top_most):
1738 Fixes: NB#109179 (Memory leak in Hildon program)
1740 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1742 * src/hildon-banner.c (-get_current_app_window):
1743 Remove unused function.
1745 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1747 * src/hildon-pannable-area.c: Modified the documentation of the
1748 get adjustments functions to explain the problem of using the
1749 adjustment directly.
1750 (hildon_pannable_area_class_init): Improved the explanation about
1753 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1755 * src/hildon-app-menu-private.h
1756 * src/hildon-app-menu.c
1757 (hildon_app_menu_class_init):
1758 Bring back the 'external-border' style property
1759 (hildon_app_menu_class_init, hildon_app_menu_init)
1760 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
1761 Set a fixed width-request for the menu, independent of the number
1764 Fixes: NB#94957 (Smoothly opened application menu)
1766 2009-03-30 Alberto Garcia <agarcia@igalia.com>
1768 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
1770 * src/hildon-banner.c
1771 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
1773 Make sure that the banner is correctly placed the first time it's
1775 (hildon_banner_check_position, -check_fullscreen_state):
1776 Show the banner in the same place no matter if the window is in
1777 fullscreen mode or not.
1779 Fixes: NB#107386 (Odd stacking behaviour for information banners)
1781 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1783 * src/hildon-touch-selector.c (_default_print_func): reorder
1784 concatenation for clarity.
1786 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1788 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
1789 for multicolumn selectors.
1791 Fixes: NB#109099 (Memory leak in Hildon touch selector)
1793 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
1798 * configure.ac: Bump version.
1799 * debian/changelog: Updates.
1801 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
1803 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
1806 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1808 * configure.ac: removed libcangerra-gtk dependency
1809 * debian/control: removed libcanberra-gtk dependency
1810 * src/Makefile.am: removed libcanberra gtk related flags
1811 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1812 context, and manage a global canberra context instead
1814 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1816 2009-03-26 Alberto Garcia <agarcia@igalia.com>
1818 Patch by Daniel Borgmann (danielb@openismus.com)
1820 * src/hildon-edit-toolbar.c:
1821 Adjust the left padding.
1822 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
1823 Paint background of the edit toolbar.
1825 Fixes: NB#107897 (Patch to make editmodetoolbar background
1826 themeable and adjust margin)
1828 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1830 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1832 * src/hildon-program.c (hildon_program_update_top_most):
1833 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
1835 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
1836 change when the user tasks in/out of an application)
1838 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1840 * configure.ac: added libcangerra-gtk dependency
1841 * debian/control: added libcanberra-gtk dependency
1842 * src/Makefile.am: added libcanberra gtk related flags
1843 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
1846 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1848 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1850 * src/hildon-program.c (hildon_program_remove_window)
1851 (hildon_program_add_window): Add checks for the window
1852 parameter. Don't decrease the window counter if the window is not
1855 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1857 * src/hildon-pannable-area.c,
1858 (hildon_pannable_area_realize): Fixed position of the event_window
1859 in the realize method.
1861 2009-03-24 Alberto Garcia <agarcia@igalia.com>
1863 * src/hildon-app-menu-private.h
1864 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
1865 (hildon_app_menu_map, hildon_app_menu_hide_idle)
1866 (hildon_app_menu_key_press, hildon_app_menu_init)
1867 (hildon_app_menu_finalize):
1868 Make sure that all idle functions are removed when the widget is
1871 Fixes: NB#107583 (Hildon app menu crashes in various applications)
1873 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1878 * configure.ac: Bump version.
1879 * debian/changelog: Updates.
1881 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1883 * src/hildon-entry.c
1884 (+hildon_entry_show_placeholder),
1885 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
1886 that replace hildon_entry_update_contents().
1887 (hildon_entry_set_text),
1888 (hildon_entry_set_placeholder),
1889 (hildon_entry_focus_in_event),
1890 (hildon_entry_focus_out_event): Determine when it is needed
1891 either to show or hide the placeholder and call the above methods.
1893 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
1894 when the placeholder text is already set)
1896 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1898 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
1899 simple GdkPixbufAnim using the new icons for the banner.
1900 (hildon_banner_show_animation): Use the above mentioned method to
1901 create the animation widget.
1903 Fixes: NB#103564 (Make hildon animation banner use individual
1904 image files as the animation)
1906 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1908 * src/hildon-pannable-area.c,
1909 (hildon_pannable_leave_notify_event): Check if the child is NULL
1910 to avoid sending the leave.
1912 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1914 * src/hildon-pannable-area.c,
1915 (hildon_pannable_area_class_init),
1916 (hildon_pannable_leave_notify_event): Added a handler of the
1917 leave-notify-signal to consider when no motion notify before
1920 Fixes: NB#107494 (Items stay selected when clicking and moving
1921 away when inside pannable area)
1923 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
1928 * configure.ac: Bump version.
1929 * debian/changelog: Updates.
1931 2009-03-19 Alejandro G. Castro <alex@igalia.com>
1933 Patch by Alberto Garcia (agarcia@igalia.com)
1935 * src/hildon-date-button.c,
1936 (hildon_date_button_class_init),
1937 (hildon_date_button_init): Removed the construct property handling
1938 and created a default selector in the init method.
1939 * src/hildon-picker-button.c,
1940 (hildon_picker_button_class_init): Removed the construct flag of the
1943 2009-03-18 Alberto Garcia <agarcia@igalia.com>
1945 * src/hildon-main.c (hildon_init):
1946 Don't allow hildon_init() to be called more than once.
1948 Fixes: NB#106607 (hildon_init should issue error message upon
1951 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
1953 * examples/hildon-pannable-area-touch-list-example.c
1954 * examples/hildon-pannagle-area-touch-grid-example.c
1955 * examples/hildon-edit-toolbar-example.c
1956 * examples/hildon-touch-selector-multi-cells-example.c
1957 Removed the call to gtk_rc_parse_string, as it is not required since
1960 2009-03-17 Alejandro G. Castro <alex@igalia.com>
1962 * src/hildon-pannable-area.c,
1963 (hildon_pannable_area_class_init): Modified the default panning
1964 threshold of the widget to 6px.
1966 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
1967 than the threshold value ) within the button is not sending the
1970 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1972 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
1973 for the treeview in the new column. This way, the touch list will never
1976 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
1977 be selected manually for the HW keys to work)
1979 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1981 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
1982 comparison instead of using strcmp(). Fixes a compiler warning as well.
1984 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1986 * doc/hildon-docs.sgml: Do not set the library version in the
1987 document title, use the releaseinfo tag for that purpose instead.
1989 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1991 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
1992 Do not jump to the first item if the text in the entry is removed.
1994 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1999 * configure.ac: Bump version.
2000 * debian/changelog: Updates.
2002 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2004 * src/hildon-entry.c (hildon_entry_refresh_contents):
2005 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2006 Use "ReversedSecondaryTextColor" for the placeholder text.
2008 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2010 * src/hildon-text-view.c: Fix compilation warning.
2012 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2014 * src/hildon-button.c (hildon_button_class_init): Don't make
2015 "title" and "value" construction properties, to prevent them from
2016 overwriting labels set from derived classes.
2018 * src/hildon-picker-button.c
2019 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2020 (hildon_picker_button_class_init): Make touch-selector a
2021 construction property.
2023 * src/hildon-date-button.c (hildon_date_button_class_init)
2024 (+hildon_date_button_constructed): Add a default date selector if
2027 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2029 * src/hildon-touch-selector.c: Small documentation fixes.
2031 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2033 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2035 * src/hildon-entry.c (hildon_entry_refresh_contents),
2036 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2037 widget name, set the logical color directly instead and a boolean
2038 showing_placeholder instead.
2039 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2040 use the widget name here either.
2042 Fixes: NB#105678 (HildonTextView should use logical colours
2043 instead of setting widget name)
2045 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2047 Patch by Daniel Elster (danielk@openismus.com)
2049 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2050 Add user_data parameter.
2051 (hildon_touch_selector_set_print_func_full): New function akin
2052 hildon_touch_selector_set_print_func() but with support for user
2053 data and a destroy callback.
2054 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2055 to clean up the print function user data.
2056 (hildon_touch_selector_class_init): Install dispose function.
2057 (HildonTouchSelectorPrivate::print_user_data),
2058 (HildonTouchSelectorPrivate::print_destroy_func): New private
2060 (hildon_touch_selector_init): Initialize new private members.
2061 (hildon_touch_selector_get_current_text): Pass along user data
2062 to the print function.
2063 (_default_print_func): Add dummy user_data to parameter list.
2064 * hildon-date-selector.c (_custom_print_func): ditto,
2065 * hildon-time-selector.c (_custom_print_func): ditto,
2066 * hildon-touch-selector-entry.c
2067 (hildon_touch_selector_entry_print_func): ditto.
2069 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2071 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2073 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2075 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2077 * src/hildon-pannable-area.c,
2078 (hildon_pannable_area_init),
2079 (hildon_pannable_area_button_press_cb),
2080 (hildon_pannable_area_motion_notify_cb): We have added code to
2081 handle the leave and enter events when using the motion events.
2083 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2085 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2087 * src/hildon-date-button.c (hildon_date_button_get_date)
2088 (hildon_date_button_set_date): Make sure that the button has a
2091 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2093 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2095 * src/hildon-pannable-area.c,
2096 (hildon_pannable_area_class_init),
2097 (hildon_pannable_area_calculate_velocity): Modify the use of the
2098 force and adapt the value.
2100 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2102 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2103 (hildon_app_menu_class_init): Hide the menu if it receives a
2104 delete-event, but don't destroy it
2106 Fixes: NB#104485 (Not able to address the call when application
2107 menu is opened at background)
2109 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2111 * src/hildon-app-menu.c
2112 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2113 Remove the "external-border" style property, let the menu take its
2114 natural size (or the one set by the window manager)
2115 (hildon_app_menu_repack_items):
2116 Don't reshow the menu, avoid flickers.
2118 Partially fixes NB#94957 (Smoothly opened application menu)
2120 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2125 * configure.ac: Bump version.
2126 * debian/changelog: Updates.
2128 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2130 * src/hildon-pannable-area.c,
2131 (hildon_pannable_area_motion_notify_cb): We control that the
2132 direction error margin is used just in case the movement is
2133 allowed in the other direction.
2135 Fixes: NB#105012 (buttons inside a pannable area not getting
2136 release event when dragging/releasing)
2138 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2140 * src/hildon-pannable-area.c,
2141 (hildon_pannable_area_class_init),
2142 (hildon_pannable_area_get_property),
2143 (hildon_pannable_area_set_property),
2144 (hildon_pannable_area_initial_effect),
2145 (hildon_pannable_axis_scroll),
2146 (hildon_pannable_area_button_release_cb): Reviewed the
2147 overshooting effect, now it has its own max
2148 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2149 speed when bouncing.
2151 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2156 * configure.ac: Bump version.
2157 * debian/changelog: Updates.
2159 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2161 * src/hildon-pannable-area.c,
2162 (hildon_pannable_area_class_init): Changed the max speed, now
2163 users can launch the widget very fast. Reduced the default force,
2164 that way it is easier to control the launch speed.
2166 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2168 * src/hildon-pannable-area.c,
2169 (hildon_pannable_area_button_release_cb): Removed this check
2170 because it causes problems when the device is overloaded.
2172 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2174 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2175 add a current_text field to store the text entered in the
2176 touch selector entry.
2177 (_clean_current_selection): clean up the current text as well.
2178 (_save_current_selection), (_restore_current_selection):
2179 Save/restore the text in the entry if the selector is a
2180 HildonTouchSelectorEntry.
2182 Fixes: NB#102541 (value entered in the touch selector entry is not
2183 shown when opened for second time)
2185 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2187 * doc/hildon-sections.txt:
2188 * src/hildon-touch-selector-entry.c
2189 (+hildon_touch_selector_entry_get_entry):
2190 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2192 Fixes: NB#104815 (I need accessor to the entry inside
2193 HildonTouchSelectorEntry)
2195 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2197 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2198 (hildon_app_menu_class_init):
2199 New "filter-vertical-spacing" style property.
2201 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2203 * src/hildon-find-toolbar.c
2204 (hildon_find_toolbar_emit_close)
2205 (hildon_find_toolbar_emit_invalid_input)
2206 (hildon_find_toolbar_entry_activate):
2207 Use g_signal_emit() instead of g_signal_emit_by_name()
2209 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2211 Patch by Mox Soini (ext-mox.soini@nokia.com)
2213 * tests/TEST-CASES.txt
2214 * tests/check-hildon-banner.c
2215 * tests/check-hildon-note.c
2216 * src/hildon-banner.c
2217 * src/hildon-code-dialog.c
2218 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2219 * src/hildon-time-editor.c
2220 * examples/hildon-lookup-example.c (main):
2221 Replace obsolete icon names with new ones.
2223 * src/hildon-find-toolbar-private.h:
2224 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2225 (-hildon_find_toolbar_emit_search):
2226 Remove find button and change icon of close button.
2228 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2230 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2232 * src/hildon-time-button.c (hildon_time_button_new_step):
2233 Use the "touch-selector" property to set the selector directly
2234 when creating the object.
2236 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2238 Added a new example application that allows tuning the pannable
2239 area and replaced defines with properties in order to simplify the
2240 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2241 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2242 PROP_DIRECTION_ERROR_MARGIN.
2244 * examples/hildon-pannable-area-tuning-example.c: New example
2246 * src/hildon-pannable-area.c,
2247 (hildon_pannable_area_class_init),
2248 (hildon_pannable_area_init),
2249 (hildon_pannable_area_get_property),
2250 (hildon_pannable_area_set_property),
2251 (hildon_pannable_area_launch_fade_timeout),
2252 (hildon_pannable_area_adjust_value_changed),
2253 (hildon_pannable_axis_scroll),
2254 (hildon_pannable_area_motion_notify_cb),
2255 (hildon_pannable_area_scroll_cb),
2256 (hildon_pannable_area_button_release_cb): We have converted some
2257 of the defines that control the widget to properties to simplify
2260 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2262 * src/hildon-app-menu.c (hildon_app_menu_map)
2263 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2264 so it's closed if a new window appears.
2266 Fixes: NB#104485 (Not able to address the call when application
2267 menu is opened at background)
2269 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2271 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2272 missing 'break' statement in in 'case' construct to avoid
2275 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2277 * src/hildon-touch-selector-entry.c
2278 (hildon_touch_selector_entry_get_property),
2279 (hildon_touch_selector_entry_set_property): Add missing 'break'
2280 statements in in 'case' constructs to avoid incorrect warnings.
2282 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2284 * src/hildon-time-editor.c
2285 (hildon_time_editor_get_time_separators): Do not crash if
2286 the first label is NULL.
2288 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2290 * src/hildon-date-selector.c (_month_days): Check for month to be
2291 strictly less than 12, since otherwise we may overrun the array.
2293 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2295 * src/hildon-date-button.c (+hildon_date_button_new_full)
2296 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2297 (hildon_date_button_init): Set the date selector using a
2298 construction property, to make it happen after HildonButton's
2299 "value" property is set.
2301 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2302 current date by default)
2304 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2306 * doc/hildon-sections.txt
2307 * src/hildon-program.c
2308 * src/hildon-stackable-window.c
2309 * src/hildon-window.c:
2310 Documentation updates
2312 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2314 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2315 (hildon_window_stack_new, +hildon_window_stack_set_property)
2316 (+hildon_window_stack_get_property)
2317 (hildon_window_stack_class_init)
2318 (+hildon_window_stack_set_window_group)
2319 (+hildon_window_stack_get_window_group):
2320 Make the window group a construction property.
2322 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2324 * doc/hildon-sections.txt
2325 * src/hildon-stackable-window-private.h
2326 * src/hildon-stackable-window.h
2327 * src/hildon-stackable-window.c
2328 (-hildon_stackable_window_set_app_menu)
2329 (-hildon_stackable_window_get_app_menu)
2330 (-hildon_stackable_window_toggle_menu)
2331 (-hildon_stackable_window_finalize)
2332 (hildon_stackable_window_class_init)
2333 (hildon_stackable_window_init)
2334 * src/hildon-window-private.h
2335 * src/hildon-window.h
2336 * src/hildon-window.c (hildon_window_init)
2337 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2338 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2339 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2340 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2341 Moved all HildonAppMenu code to HildonWindow. The menu does not
2342 require a HildonStackableWindow anymore.
2344 * src/hildon-app-menu.c
2345 * src/hildon-program.c
2346 * examples/hildon-app-menu-example.c (main):
2347 Update examples and documentation to reflect HildonAppMenu
2350 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2352 * src/hildon-remote-texture.c
2353 * src/hildon-animation-actor.c:
2354 Don't include unused private headers.
2356 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2358 * src/hildon-program-private.h
2359 * src/hildon-program.c
2360 (hildon_program_set_common_menu)
2361 (hildon_program_get_common_menu)
2362 (hildon_program_set_common_app_menu)
2363 (hildon_program_get_common_app_menu):
2364 Change common menu pointers from GtkWidget* to GtkMenu* and
2365 HildonAppMenu* to avoid unnecessary casts.
2367 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2369 * src/hildon-window.c (hildon_window_set_main_menu):
2370 Removed incorrect 'Since:' tag
2372 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2374 * src/hildon-pannable-area.c,
2375 (hildon_pannable_area_calculate_velocity): We use now the
2376 RATIO_TOLERANCE here to check the distance, fixed typo in the
2378 (hildon_pannable_area_motion_notify_cb): We have to set the type
2379 and time even if we are not sending the motion.
2381 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2383 * doc/hildon-sections.txt
2384 * src/hildon-app-menu.h
2385 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2386 (+hildon_app_menu_get_filters): New methods to get the contents of
2389 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2392 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2394 * src/hildon-app-menu.c (hildon_app_menu_popup):
2397 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2399 * src/hildon-window.h
2400 * src/hildon-window.c (+hildon_window_get_main_menu)
2401 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2402 and deprecated hildon_window_get_menu().
2404 * src/hildon-stackable-window.h
2405 * src/hildon-stackable-window.c
2406 (+hildon_stackable_window_set_app_menu)
2407 (+hildon_stackable_window_get_app_menu)
2408 (hildon_stackable_window_set_main_menu): Created
2409 hildon_stackable_window_{get,set}_app_menu() and deprecated
2410 hildon_stackable_window_set_main_menu().
2412 * doc/hildon-sections.txt
2413 * examples/hildon-app-menu-example.c (main)
2414 * src/hildon-app-menu.c
2415 * src/hildon-program.c:
2416 Updated examples and documentation.
2418 Fixes: NB#103758 (No way to obtain a menu from a
2419 HildonStackableWindow)
2421 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2426 * configure.ac: Bump version.
2427 * debian/changelog: Updates.
2429 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2431 * examples/hildon-remote-texture-example.c: Include
2432 hildon-remote-texture.h explicitely.
2433 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2434 applications not defining _XOPEN_SOURCE which don't require this header.
2436 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2438 * doc/hildon-sections.txt
2439 * src/hildon-app-menu.h
2440 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2441 New function to pop up a HildonAppMenu
2443 * src/hildon-stackable-window.c
2444 (hildon_stackable_window_toggle_menu):
2445 Use hildon_app_menu_popup() to show the menu.
2447 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2449 * src/hildon-app-menu.c (hildon_app_menu_show)
2450 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2451 menu if there's another window between it and its parent window.
2453 Fixes: NB#100468 (Application menu window is launched even when a
2454 new secondary-window/dialog is pending to be shown/realized)
2456 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2458 * src/hildon-window-stack.c (hildon_window_stack_push)
2459 (hildon_window_stack_pop_and_push):
2460 Don't forget to push/pop the first window.
2461 Reverse the window list before calling _push_list()
2463 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2465 * src/hildon-picker-button.h
2466 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2467 Remove "value_changed" slot to avoid ABI breakage
2469 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2471 * src/hildon-pannable-area.c,
2472 (hildon_pannable_area_realize),
2473 (hildon_pannable_area_unrealize),
2474 (hildon_pannable_draw_vscroll),
2475 (hildon_pannable_draw_hscroll): Changed the method to handle the
2476 GC used to draw the transparent scrollbar, this way we avoid
2477 creating the GC all the time when drawing the scrollbars.
2479 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2481 * src/hildon-pannable-area.c,
2482 (hildon_pannable_area_init),
2483 (hildon_pannable_area_remove): Removed some unnecessary casts.
2484 (hildon_pannable_area_dispose): Disconnected some signals before
2485 releasing the adjustments.
2487 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2489 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2490 Make sure that all widgets contained in the toolbar are shown.
2492 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2494 * doc/hildon-sections.txt
2495 * src/hildon-picker-button.h
2496 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2497 (_selection_changed, hildon_picker_button_on_dialog_response)
2498 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2499 New hildon_picker_button_value_changed() method.
2502 * src/hildon-picker-button-private.h
2503 * src/hildon-picker-button.c (hildon_picker_button_init)
2504 (+hildon_picker_button_disable_value_changed): Add protected
2505 function for disabling the "value-changed" signal.
2507 * src/hildon-date-button.c (hildon_date_button_set_date):
2508 Don't emit "value-changed" for each one of the three columns.
2510 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2511 before actual change of values)
2513 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2515 * src/hildon-pannable-area.c,
2516 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2517 for the treeview overshooting.
2519 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2521 * src/hildon-banner.c (+hildon_banner_bind_style):
2522 Renamed from hildon_banner_bind_label_style(), now naming the
2523 banner itself as well.
2524 (hildon_banner_show_information),
2525 (hildon_banner_show_information_with_markup),
2526 (hildon_banner_show_animation), (hildon_banner_show_progress):
2527 Name the widgets and labels, based on their type.
2529 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2532 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2534 * src/hildon-note.c (hildon_note_set_property): call
2535 hildon_note_rename() on HildonNote:note-type set.
2536 (hildon_note_rename): Name the note and its label, based on the
2537 HildonNote:note-type property.
2539 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2542 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2544 * src/hildon-pannable-area.c,
2545 (hildon_pannable_area_class_init),
2546 (hildon_pannable_area_motion_notify_cb): Reviewed the default
2547 panning parameters, increased SPS and deceleration factor. Added
2548 also a margin to control fake directions.
2550 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2552 Patch by Sven Herzberg (sven@imendio.com)
2554 * configure.ac: Add missing AM_PROG_CC_C_0
2555 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2557 See NB#101420 (Update unit tests and fix make check)
2559 2009-02-23 Alejandro G. Castro <alex@igalia.com>
2561 This patch was applied before but reverted because it caused
2562 problems, we have changed the main condition and tested the
2563 regressions we detected before and they work ok. We have done a
2564 complete review of the topmost algorithm in order to get a more
2567 * src/hildon-pannable-area.c,
2568 (hildon_pannable_area_get_topmost): Added a new parameter to
2569 filter the the windows that do not include those events.
2570 (hildon_pannable_area_button_press_cb),
2571 (hildon_pannable_area_button_release_cb),
2572 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2573 topmost function, we have added the new parameter.
2575 Fixes: NB#97458 (Pannable area prevents propagation of button
2578 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2580 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
2581 if all columns in the selector have an item selected.
2582 (_on_dialog_response): Stop "response" signal emission if there is
2583 any selector column without selected items.
2585 Fixes: NB#101889 (Picker dialog should not close when nothing is
2586 selected in multiple selection list)
2588 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2590 * src/hildon-font-selection-dialog.c
2591 (hildon_font_selection_dialog_class_init),
2592 (hildon_font_selection_dialog_init): Remove the preview
2593 button and dialog, since previewing with default theming is likely
2594 to be overcomplicated. The :preview property has now no effect.
2595 Update documentation blurbs to inform about this.
2597 Fixes: NB#92297 (Preview content is not clearly visible for
2598 default colour text)
2600 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2602 Reviewed the geometry that handles the children size and
2603 scrollbar, now it tries a size and reviews the results depending
2604 on the scrollbars visibility.
2606 * src/hildon-pannable-area.c,
2607 (hildon_pannable_area_realize): Fixed a typo.
2608 (hildon_pannable_area_child_allocate_calculate): Added this
2609 function to calculate the child allocation.
2610 (hildon_pannable_area_size_allocate): Reviewed the allocation
2612 (hildon_pannable_area_check_scrollbars),
2613 (hildon_pannable_area_refresh): Refactored refresh function, this
2614 way we can call the code handling the scrollbars without causing a
2615 size_request, it is interesting in the allocate.
2616 (hildon_pannable_area_init): Replace the callbacks of the
2617 value_changed and changed signals to propertly deal with the
2619 (hildon_pannable_area_grab_notify),
2620 (hildon_pannable_area_initial_effect),
2621 (hildon_pannable_area_launch_fade_timeout),
2622 (hildon_pannable_area_adjust_changed),
2623 (hildon_pannable_area_adjust_value_changed),
2624 (hildon_pannable_area_redraw),
2625 (hildon_pannable_area_button_press_cb),
2626 (hildon_pannable_area_button_release_cb),
2627 (hildon_pannable_area_scroll_cb),
2628 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
2629 code and use the new functions adjust_changed and
2630 adjust_value_changed.
2632 Fixes: NB#101603 (Focus is not even for the text entry boxes in
2633 Contact editor dialog)
2635 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
2640 * configure.ac: Bump version.
2641 * debian/changelog: Updates.
2643 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2645 * src/hildon-pannable-area.c,
2646 (hildon_pannable_area_get_topmost),
2647 (hildon_pannable_area_button_press_cb),
2648 (hildon_pannable_area_button_release_cb),
2649 (hildon_pannable_get_child_widget_at): Reverted the patch for the
2650 topmost function adding the event mask. We have to try a
2651 differente approach because it is still causing problems (NB#9745,
2654 2009-02-19 Alberto Garcia <agarcia@igalia.com>
2656 * src/hildon-banner.c:
2657 Update the maximum width of timed banners.
2658 (force_to_wrap_truncated): Enforce the maximum text width if the
2661 Fixes: NB#102413 (The text margins (wrapping) in information
2662 banner should be HILDON_MARGIN_TRIPLE)
2664 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2666 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
2668 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
2669 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
2670 bound when calculating the scroll indicator position.
2672 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
2673 treat ->lower correctly)
2675 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2677 * src/hildon-caption.c (hildon_caption_class_init): Remove the
2678 expose event handling, since it is not necessary to draw the focus
2681 Fixes: NB#102467 (Do not show highlight on the text in
2684 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2686 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
2687 full height of the toolbar for the button and the label.
2689 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2691 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
2692 padding before the label and after the button.
2694 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2696 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
2698 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2699 Add a GtkVSeparator between the button and the back arrow.
2700 Let the button have automatic size.
2701 Set a name to the widget for theming handling.
2703 Fixes: NB#101793 (Make edit toolbar the same height as window
2704 title bar (use title area theming))
2706 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2708 * src/hildon-helper.c (attach_new_color_element): Fix memory
2711 Fixes: NB#102262 (memory leak in hildon_button_set_style())
2713 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2715 * examples/hildon-button-example.c (common_buttons_window): Don't
2718 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2720 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2721 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
2723 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2725 * src/hildon-gtk.c: Check that the window is realized.
2727 Fixes: NB#102225 (Crash setting the progress indicator to a non
2730 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2732 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
2733 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
2734 instead of modifying the one in the widget style.
2736 Fixes: NB#101043 (Second row of all the command button are
2737 displayed in transparent mode.)
2739 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2741 * src/hildon-date-button.c
2742 * src/hildon-time-button.c: Add gettext macros
2744 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
2746 * src/hildon-date-button.c (hildon_date_button_new):
2747 * src/hildon-time-button.c (hildon_time_button_new_step):
2748 Use new logical strings to set the button default title.
2750 Fixes: NB#99915 (Date and Time options are not localised in Date
2753 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2755 * src/hildon-pannable-area.c
2756 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
2757 the PANNING_THRESHOLD.
2759 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2761 * src/hildon-pannable-area.c,
2762 (hildon_pannable_area_class_init): Increased the maximum speed.
2763 (hildon_pannable_area_get_property),
2764 (hildon_pannable_area_set_property),
2765 (hildon_pannable_area_timeout): Added a new low friction mode, it
2766 allows the user avoid friction when launching the widget fast
2767 enough. It is interesting to traverse long lists.
2769 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2771 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
2772 (+hildon_stackable_window_delete_event): Ignore delete events if
2773 the window is not the topmost one.
2775 Fixes: NB#101698 (Back button long press and delete-event handling)
2777 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2779 * src/hildon-pannable-area.c,
2780 (hildon_pannable_area_motion_notify_cb): Removed the use of the
2781 gtk-dnd-drag-threshold, it was too big. We have defined our own
2782 dnd define and set a smaller value: PANNIG_THRESHOLD.
2784 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2786 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
2787 user-defined icons, use always the default one.
2789 Fixes: NB#101916 (Do not allow custom icons on animation banner)
2791 2009-02-13 Alejandro G. Castro <alex@igalia.com>
2793 This patch was applied before but reverted because it caused
2794 problems, we have changed the main condition and tested the
2795 regressions we detected before and they work ok.
2797 * src/hildon-pannable-area.c,
2798 (hildon_pannable_area_get_topmost): Added a new parameter to
2799 filter the the windows that do not include those events. Added
2800 also a condition when finding the window to filter windows that do
2801 not ask for those events.
2802 (hildon_pannable_area_button_press_cb),
2803 (hildon_pannable_area_button_release_cb),
2804 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2805 topmost function, we have added the new parameter.
2807 Fixes: NB#97458 (Pannable area prevents propagation of button
2810 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2812 * tests/check-hildon-color-button.c (START_TEST): do not leak
2815 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2817 * src/hildon-font-selection-dialog.c
2818 (hildon_font_selection_dialog_get_preview_text): Return NULL
2819 instead of FALSE on the g_return_val_if_fail().
2821 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2823 * src/hildon-time-selector.c (hildon_time_selector_set_time):
2824 * src/hildon-date-selector.c
2825 (hildon_date_selector_select_current_date):
2826 Do not compare unsigned integers to be greater than or equal 0,
2827 because it's always TRUE.
2829 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2831 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
2832 (hildon_date_selector_constructor): Do not select the current
2833 date until we are handle the "changed" signal, to avoid having bogus
2834 elements in the days model.
2836 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2838 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
2839 for num_days, since _month_days() can return a negative value.
2841 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2843 * src/hildon-caption.c (hildon_caption_size_allocate):
2844 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
2845 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
2847 Initialize allocation variables to 0, to avoid eventually using
2848 unitialized variables.
2850 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2852 * src/hildon-bread-crumb-trail.c
2853 (hildon_bread_crumb_trail_size_allocate):
2854 * src/hildon-calendar.c (hildon_calendar_set_background):
2855 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
2856 * src/hildon-range-editor.c (hildon_range_editor_get_range):
2857 * src/hildon-seekbar.c (hildon_seekbar_init):
2858 * src/hildon-time-editor.c (hildon_time_editor_get_time):
2859 * src/hildon-time-selector.c (hildon_time_selector_finalize):
2860 * src/hildon-touch-selector-entry.c
2861 (hildon_touch_selector_get_text_from_model):
2862 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
2863 * src/hildon-window.c (hildon_window_finalize):
2865 Remove many unused variables.
2867 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2869 * src/hildon-seekbar.c: (hildon_seekbar_init),
2870 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
2872 Remove unnecessary g_assert() calls.
2874 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2876 * src/hildon-caption.c: (hildon_caption_expose),
2877 (hildon_caption_set_property), (hildon_caption_init),
2878 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
2879 (hildon_caption_size_request), (hildon_caption_size_allocate),
2880 (hildon_caption_forall), (hildon_caption_set_separator),
2881 (hildon_caption_activate), (hildon_caption_set_child_expand),
2882 (hildon_caption_set_label_text),
2883 (hildon_caption_get_label_alignment):
2885 Remove unnecessary g_assert() calls.
2887 2009-02-12 Alberto Garcia <agarcia@igalia.com>
2889 * src/hildon-banner.c
2890 (hildon_banner_map, hildon_banner_init): Make banner temporary
2891 before mapping it to avoid closing other temporary windows, but
2892 make it non-temporary afterwards to avoid being closed by other
2893 non-temporary windows.
2894 (-hildon_banner_client_event, hildon_banner_init):
2895 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
2897 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
2900 2009-02-11 Alberto Garcia <agarcia@igalia.com>
2902 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
2905 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2907 * src/hildon-remote-texture.c
2908 * src/hildon-remote-texture.h
2909 * src/hildon-remote-texture-private.h
2910 * examples/hildon-remote-texture-example.c:
2911 Updates/fixes to remote-texture and its example.
2913 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
2915 Patch by Mox Soini (ext-mox.soini@nokia.com)
2917 * src/hildon-code-dialog.c: Update logical id.
2918 * src/hildon-set-password-dialog.c: Update logical id.
2920 Fixes: NB#100646 (Logical strings is shown for ok in set
2921 password,Password needed dialogs)
2923 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2926 * src/hildon-remote-texture.c
2927 * src/hildon-remote-texture.h
2928 * src/hildon-remote-texture-private.h
2930 Added remote texture widget (for Clutter shared memory textures)
2932 * examples/hildon-remote-texture-example.c
2933 * examples/Makefile.am
2934 Added example file for remote texture usage
2936 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
2938 * configure.ac: post release version bump.
2939 * debian/changelog: version bump.
2941 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
2946 * configure.ac: Bump version.
2947 * debian/changelog: Updates.
2949 2009-02-06 Alberto Garcia <agarcia@igalia.com>
2951 * src/hildon-date-selector.c (hildon_date_selector_init)
2952 (hildon_date_selector_constructor): Don't connect to the "changed"
2953 signal until the selector is completely constructed.
2955 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2957 * src/hildon-touch-selector.c: (_create_new_column),
2958 (hildon_touch_selector_append_column),
2959 (hildon_touch_selector_set_column_selection_mode),
2960 (hildon_touch_selector_set_active),
2961 (hildon_touch_selector_select_iter):
2962 Emit the HildonTouchSelector::changed signal every time selection
2963 is changed in any of the methods above. This behavior was already
2964 documented but not fully functional.
2966 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
2967 selection is programmatically changed)
2969 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2971 * doc/hildon-sections.txt: Remove obsolete icon
2972 sizes from here as well.
2974 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2976 * examples/hildon-stackable-window-example.c (add_window): Remove
2979 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2981 * src/hildon-app-menu.c
2982 (hildon_app_menu_show): Check whether the parent window of a menu
2983 is topmost before popping it up.
2985 Fixes: NB#100468 (Application menu window is launched even when a
2986 new secondary-window/dialog is pending to be shown/realized.)
2988 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2990 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
2993 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2995 Patch by Mox Soini (ext-mox.soini@nokia.com)
2997 * src/hildon-banner.c: (hildon_banner_show_animation):
2998 use stylus size instead of obsolete note size.
2999 * src/hildon-defines.h: Update icon sizes.
3001 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3003 * src/hildon-touch-selector-entry.c:
3004 (hildon_touch_selector_entry_init): Disable unsupported
3006 (hildon_touch_selector_entry_get_text_column): Emit a warning
3007 if an unsupported input modes is used and explicitile state
3008 these modes in the documentation.
3010 Fixes: NB#99802 (Hildon touch selector entry not working properly
3011 for some of the input modes)
3013 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3015 * src/hildon-pannable-area.c,
3016 (hildon_pannable_area_init): Added the changed signal handlers of
3019 Fixes: NB#100320 (HildonPannableArea does not listen to
3020 GtkAdjustment "change" signals)
3022 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3024 * doc/hildon-sections.txt
3025 * src/hildon-window-private.h
3026 * src/hildon-window.h
3027 * src/hildon-window.c (hildon_window_init)
3028 (hildon_window_realize, hildon_window_unrealize)
3029 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3030 (hildon_window_size_request, hildon_window_size_allocate)
3031 (hildon_window_forall, hildon_window_show_all)
3032 (hildon_window_destroy, +paint_edit_toolbar)
3033 (+hildon_window_set_edit_toolbar):
3034 New hildon_window_set_edit_toolbar() method, to add a
3035 HildonEditToolbar to a window without having to pack it manually.
3037 Reorganize hildon_window_size_allocate()
3039 * src/hildon-edit-toolbar.c: Update documentation.
3041 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3042 example to use the new API.
3044 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3046 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3048 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3049 Remove from stack before calling parent's hide.
3051 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3053 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3054 window is removed from the middle of the stack, update the
3055 transiency of the previous one.
3057 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3060 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3062 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3063 block/unblock the signal handler if it's not actually being used.
3064 Fixes some critical warnings.
3066 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3068 Based on a patch by Iván Gómez (igomez@igalia.com)
3070 * src/hildon-banner.c
3074 * src/hildon-pannable-area.c
3075 * src/hildon-picker-dialog.c
3076 * src/hildon-wizard-dialog.h
3077 * src/hildon-wizard-dialog.c: Documentation updates.
3079 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3080 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3082 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3084 * configure.ac: post release version bump.
3085 * debian/changelog: version bump.
3087 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3092 * configure.ac: Bump version.
3093 * debian/changelog: Updates.
3095 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3097 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3098 a stock icon nor change the relief of the back arrow.
3100 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3101 graphics from theme)
3103 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3105 * src/hildon-button.c (hildon_button_set_alignment): Use
3106 priv->alignment if the button has no child yet.
3108 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3110 * src/hildon-button.c: (hildon_button_init): Set the
3111 button style during initialization to give it the proper
3114 Fixes: NB#99713 (HildonButton value label color is wrong)
3116 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3118 * src/hildon-touch-selector.c: Document
3119 hildon_touch_selector_center_on_selected()
3121 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3123 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3124 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3125 all menu items, but not the menu itself.
3126 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3127 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3128 items after adding them to the menu so keyboard accelerators work.
3129 (hildon_app_menu_show): Don't show the menu if it contains items
3130 but none of them are visible.
3132 * examples/hildon-app-menu-example.c (create_menu): Use
3133 gtk_widget_show_all() to show all menu items.
3135 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3137 * src/hildon-picker-dialog.c:
3138 (-_update_title_on_selector_changed_cb),
3139 (-_dialog_update_title): Removed.
3140 (_select_on_selector_changed_cb), (_on_dialog_response),
3141 (on_selector_columns_changed): Do not update the dialog title.
3142 (setup_interaction_mode): Do not connect to
3143 HildonTouchSelector::changed signal if there's a "done" button, as
3144 the dialog title doesn't need to be updated.
3146 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3149 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3151 Patch by Kristian Rietveld (kris@imendio.com)
3153 * src/hildon-touch-selector.c: (_create_new_column): Use new
3154 GtkTreeView::hildon-row-tapped signal to react to user interactions
3155 instead of ::changed.
3157 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3158 with some dynamic tree model)
3160 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3162 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3163 (+screen_size_changed, +label_size_request)
3164 (hildon_note_class_init): Make the Hildon information note have a
3165 minimum height, and make its text hvae a maximum width.
3167 Fixes: NB#98614 (Hildon information note (background) should have
3168 minimum height and maximum text width)
3170 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3172 * src/hildon-banner.h
3173 * src/hildon-banner.c (hildon_banner_show_information)
3174 (hildon_banner_show_informationf)
3175 (hildon_banner_show_information_with_markup): Update documentation
3176 to reflect that the icon_name parameter is not used anymore.
3177 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3178 Remove all code from these functions and mark them as deprecated.
3179 (hildon_banner_show_progress): Mark as deprecated.
3181 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3183 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3185 * src/hildon-pannable-area.c,
3186 (hildon_pannable_area_class_init),
3187 (tranparency_color),
3188 (hildon_pannable_draw_vscroll),
3189 (hildon_pannable_draw_hscroll),
3190 (hildon_pannable_area_expose_event): Added a new way to render the
3191 scrollbars of the pannable area avoiding using cairo at all. This
3192 way we improve the performance of the pannable area rendering. The
3193 cairo rendering procedure is still in the code, we can control
3194 which one to use changing the value of the define
3195 USE_CAIRO_SCROLLBARS.
3197 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3199 * configure.ac: post release version bump.
3200 * debian/changelog: version bump.
3202 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3207 * configure.ac: Bump version.
3208 * debian/changelog: Updates.
3210 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3212 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3213 banners instead of destroying them when they receive a button
3216 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3218 Reverted commit 34028, it was causing regressions, probably the
3219 topmost condition is not correct, we have to check it in more
3220 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3221 propagation of button press events)
3223 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3225 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3226 that the selection is not empty before attempting to retrieve the
3227 current ampm selection.
3229 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3231 * src/hildon-picker-button.c:
3232 (hildon_picker_button_on_dialog_response): Directly update the
3233 button contents when required instead of calling _selection_changed.
3235 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3237 * src/hildon-program.c (hildon_program_update_top_most): Update
3238 'is-topmost' property also when wm_hints is not set.
3240 Fixes: NB#98383 (is-topmost signal is not emitted when task
3241 switcher is clicked.)
3243 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3245 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3249 * src/hildon-animation-actor.c,
3250 * src/hildon-animation-actor.h: Added the animation actor class,
3251 this widget represents an animation actor for WM-assisted
3252 animation effects in the Hildon framework.
3254 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3256 * src/hildon-window-stack-private.h
3257 * src/hildon-window-stack.c
3258 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3259 Avoid calling gtk_widget_show() again indirectly from
3260 hildon_stackable_window_show()
3262 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3264 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3267 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3269 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3270 (hildon_time_selector_init): Move the construction of the hours and
3271 ampm columns to the constructor to preserve the order the columns
3274 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3276 * src/hildon-picker-dialog.c:
3277 (hildon_picker_dialog_class_init): Connect a realize method.
3278 (+hildon_picker_dialog_realize): Setup the interaction mode here
3280 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3281 yet, do it during the realize instead.
3282 (_on_dialog_response):
3283 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3284 if the widget is not realized, to avoid the dialog response before it
3287 Avoid premature responses in the HildonPickerDialog that can cause it
3288 to be hidden before it's even shown.
3290 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3292 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3293 (on_selector_columns_changed), (requires_done_button),
3294 (+prepare_action_area), (setup_interaction_mode),
3295 (_hildon_picker_dialog_set_selector):
3297 Split the interaction mode setup into preparation of the
3298 action area (prepare_action_area()) and the connection of
3299 the signals in setup_interaction_mode() and update the code to
3302 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3304 * src/hildon-pannable-area.c,
3305 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3306 per second to 15, we will check if this is ok regarding
3309 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3311 * src/hildon-pannable-area.c,
3312 (hildon_pannable_axis_scroll): Avoid resize if we already have
3313 reached overshoot_max.
3315 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3317 * src/hildon-pannable-area.c,
3318 (hildon_pannable_area_init),
3319 (hildon_pannable_area_realize),
3320 (hildon_pannable_area_size_allocate),
3321 (hildon_pannable_area_map),
3322 (hildon_pannable_area_unmap),
3323 (hildon_pannable_draw_vscroll),
3324 (hildon_pannable_draw_hscroll),
3325 (hildon_pannable_area_expose_event),
3326 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3327 pannable are to avoid the expose events go to the window and
3328 redraw the window. We save this way that part of the stack and the
3329 paint_boxes. We had to change the positions of the elements when
3332 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3334 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3335 * src/hildon-color-chooser-dialog.c:
3336 (hildon_color_chooser_dialog_init):
3337 * src/hildon-font-selection-dialog.c:
3338 (hildon_font_selection_dialog_init),
3339 (hildon_font_selection_dialog_show_preview):
3340 * src/hildon-get-password-dialog.c:
3341 * src/hildon-login-dialog.c:
3342 * src/hildon-set-password-dialog.c:
3343 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3344 * src/hildon-time-picker.c: (hildon_time_picker_init):
3346 Remove obsolete logical string IDs and update to the appropriate ones.
3348 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3350 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3352 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3353 that happens if the window hasn't been realized yet.
3355 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3356 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3358 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3360 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3361 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3364 Fixes: NB#98537 (Device hangs in account settings dialog)
3366 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3368 * configure.ac: post release version bump.
3369 * debian/changelog: version bump
3371 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3376 * configure.ac: Bump version.
3377 * debian/changelog: Updates.
3379 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3381 Added a new function to the HildonTimeButton widget that allows to
3382 change the step of the minutes in the selector associated with the
3383 button: hildon_time_button_new_step
3385 * src/hildon-time-button.c,
3386 (hildon_time_button_init),
3387 (hildon_time_button_new),
3388 (hildon_time_button_new_step):
3389 * src/hildon-time-button.h: Added the new function and refactored
3391 * examples/hildon-time-button-example.c,
3392 (main): We have replaced the function without parameters with the
3393 function with the steps set to 5
3395 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3397 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3399 * src/hildon-time-selector.c,
3400 (hildon_time_selector_class_init),
3401 (hildon_time_selector_constructor),
3402 (hildon_time_selector_get_property),
3403 (hildon_time_selector_set_property),
3404 (_create_minutes_model),
3405 (hildon_time_selector_new_step),
3406 (hildon_time_selector_set_time),
3407 * src/hildon-time-selector.h: Added a new property to the
3408 HildonTimeSelector (minutes-step), we use that property to control
3409 the steps between the minutes in the list of the selector. We have
3410 added a new function to the API to create a widget changing the
3411 step: hildon_time_selector_new_step.
3413 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3415 * src/hildon-time-selector.c,
3416 (hildon_time_selector_class_init),
3417 (hildon_time_selector_constructor),
3418 (hildon_time_selector_init): Overrided the construct function when
3419 creating the time selector object. We have moved the minutes model
3420 handling code from the init to the new construction function:
3421 hildon_time_selector_constructor.
3423 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3425 * examples/hildon-date-button-example.c: (main): Use the new
3426 hildon_date_button_new_with_year_range() method in the example.
3427 * src/hildon-date-button.c:
3428 (+hildon_date_button_new_with_year_range): New public method
3429 to conveniently create a HildonDateButton with a custom year range
3430 in its HildonDateSelector.
3431 * src/hildon-date-button.h: Add the new public method definition.
3433 Fixes: NB#97908 (Not possible to change the year range in
3434 HildonDateSelector/HildonDateButton)
3436 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3438 * src/hildon-date-selector.c:
3439 (+hildon_date_selector_set_property),
3440 (+hildon_date_selector_get_property),
3441 (hildon_date_selector_class_init): Install new properties "min-year"
3442 and "max-year" to define boundaries for the year column.
3443 (_create_year_model): Use the boundary properties to populate the model.
3444 (+hildon_date_selector_new_with_year_range): New public method to
3445 create a HildonDateSelector with a user defined year range.
3446 (hildon_date_selector_select_current_date): Use the new boundaries to
3447 calculate the iterator of current year.
3448 * src/hildon-date-selector.h: Add the new public method definition.
3450 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3452 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3453 Install a constructor method.
3454 (+hildon_date_selector_construct_ui): construct the widget.
3455 (+hildon_date_selector_constructor): new constructor.
3456 (+hildon_date_selector_init): move out widget construction code to
3457 the new constructor.
3459 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3461 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3462 that there's actually a month or year selected before obtaining them.
3463 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3464 of the HildonTouchSelector::changed signal, as it was emitted on every
3465 single item selection.
3467 Fix some warnings and possible crashers due to the selection restoring.
3469 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3471 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3472 the signal handlers only after creating the dialog instead of on every
3475 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3477 * src/hildon-button.c (hildon_button_init)
3478 * src/hildon-check-button.c (hildon_check_button_init)
3479 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3480 focus when clicked by default.
3482 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3484 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3487 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3489 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3490 Alejandro G. Castro (alex@igalia.com)
3492 * src/hildon-picker-dialog.c:
3493 (hildon_picker_dialog_class_init): install new "center-on-show"
3495 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3496 (hildon_picker_dialog_set_property): add setter code for the new
3498 (hildon_picker_dialog_get_property): add getter code for the new
3500 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3501 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3504 Fixes: NB#92849 (Selected item is not always visible when
3505 HildonTouchSelector is shown)
3507 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3509 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3510 Alejandro G. Castro (alex@igalia.com)
3512 * src/hildon-touch-selector.c:
3513 (_create_new_column): Do not connect to the "realize" signal of the
3515 (hildon_touch_selector_append_column): center on the selected items
3516 when a new column is appended.
3517 (hildon_touch_selector_select_iter): Factor out the code to select a
3518 column to hildon_touch_selector_scroll_to().
3519 (+search_nearest_element): Method to retrieve the nearest selected
3520 element to the visible area of the pannable area in a column.
3521 (+on_realize_cb): scroll to the initially selected item.
3522 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3523 the pannable area is realized, otherwise delay this until it is.
3524 (+_hildon_touch_selector_center_on_selected_items): Centers on the
3525 selected items of a given column.
3526 (+hildon_touch_selector_center_on_selected): Public method to center
3527 all columns on the nearest selected item.
3528 * src/hildon-touch-selector.h: Add definition for
3529 hildon_touch_selector_center_on_selected().
3531 Implement public API to ensure visibility of all selected items in
3532 a HildonTouchSelector.
3534 2009-01-16 Alejandro G. Castro <alex@igalia.com>
3536 Fixed a problem in the fading when calling the scroll_to API, and
3537 improve scrollbar fading handling.
3539 * src/hildon-pannable-area.c,
3540 (hildon_pannable_area_grab_notify): avoid the timeout when the
3542 (hildon_pannable_area_button_press_cb),
3543 (hildon_pannable_area_motion_notify_cb): Code style changes.
3544 (hildon_pannable_area_button_release_cb): Review the conditions
3545 when releasing the mouse button to avoid unrequired fading
3547 (hildon_pannable_area_scroll_to): Do not calculate and set the
3548 velocity if the scroll is not required.
3550 2009-01-15 Alberto Garcia <agarcia@igalia.com>
3552 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3553 Don't check whether the new selector is NULL: it cannot be.
3554 Hold a reference to the selector while doing the replacement.
3556 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3558 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3559 unnecessary size_request in a removed widget.
3561 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3563 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3564 an unnecessary reference tracking that was leaking.
3566 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3568 Added delayed motion notify event handling, this way we can
3569 discard redrawing if more than 25 events arrive per second.
3571 * src/hildon-pannable-area.c,
3572 (hildon_pannable_area_init): Initialized the new private atributes
3573 controlling this timeout
3574 (hildon_pannable_area_dispose): Remove the timeout that controls
3575 the motion notify events.
3576 (hildon_pannable_area_scroll): Added a condition to control the
3577 use of the acceleration.
3578 (hildon_pannable_area_motion_event_scroll_timeout),
3579 (hildon_pannable_area_motion_event_scroll): Added this two
3580 functions, they handle the motion notify events inside the
3582 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
3583 to the scroll method with the new function.
3584 (hildon_pannable_area_button_release_cb): We have to remove the
3585 timeout handler and move to the last position if the last motion
3586 events were not handled.
3588 Fixes: NB#97028 (Pannable area updates on every motion event)
3590 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3592 * src/hildon-pannable-area.c,
3593 (hildon_pannable_area_get_topmost): Added a new parameter to
3594 filter the the windows that do not include those events. Added
3595 also a condition when finding the window to filter windows that do
3596 not ask for those events.
3597 (hildon_pannable_area_button_press_cb),
3598 (hildon_pannable_area_button_release_cb),
3599 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3600 topmost function, we have added the new parameter.
3602 Fixes: NB#97458 (Pannable area prevents propagation of button
3605 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3607 * src/hildon-pannable-area.c,
3608 (hildon_pannable_area_initial_effect): Added controls before
3609 launching the timeout and the idle functions.
3610 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
3611 of the method, in some situations it can return with TRUE and 0 in
3613 (hildon_pannable_area_button_press_cb): We do not need to set
3614 DELAY for fading out here.
3616 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
3618 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3620 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
3621 post-cleaning if the selection is not NULL.
3623 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3625 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
3626 all items before restoring the selection.
3628 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3630 * src/hildon-touch-selector.c:
3631 (+hildon_touch_selector_unselect_all):
3632 * src/hildon-touch-selector.h: New API to unselect all items in a
3633 column of the touch selector.
3635 2009-01-14 Alejandro G. Castro <alex@igalia.com>
3637 * src/hildon-pannable-area.c,
3638 (hildon_pannable_area_redraw): Added a call to the refresh
3639 function inside the redraw because apparently in some cases the
3640 change in the adjustment does not imply a size allocate.
3642 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
3643 despite the view not being scrollable)
3645 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3647 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
3648 leak. Check for NULL before attempting to set the window title.
3650 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3652 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
3653 whether to show or not the 'Done' button each time the dialog is
3654 shown, as it depends on the HildonTouchSelector selection mode.
3656 Fixes: NB#96226 (In multiple selection mode Done button is shown
3657 sometimes in listpicker)
3659 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3661 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3662 for the number of columns in the HildonTouchSelector more than once.
3664 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3666 * src/hildon-touch-selector.c: Minor documentation fixes.
3668 * src/hildon-picker-dialog.c (+_dialog_update_title)
3669 (_select_on_selector_changed_cb)
3670 (_update_title_on_selector_changed_cb)
3671 (on_selector_columns_changed): Update dialog title when there's no
3672 'Done' button and also when the number of columns in the selector
3676 * src/hildon-picker-button.c (hildon_picker_button_finalize)
3677 (+_selection_changed, hildon_picker_button_on_dialog_response)
3678 (hildon_picker_button_selector_selection_changed)
3679 (+hildon_picker_button_selector_columns_changed)
3680 (hildon_picker_button_set_selector): Update button value and emit
3681 'value-changed' when the number of columns in the selector
3685 Fixes: NB#96225 (Dialog titles are not shown according to the
3686 values selected in the list picker)
3688 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3690 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
3691 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
3692 New "arrow-width" and "arrow-height" style properties to set the
3693 size of the arrow button.
3694 Set name of arrow button ("hildon-edit-toolbar-arrow").
3696 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3697 graphics from theme)
3699 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3701 * src/hildon-picker-button.c:
3702 (hildon_picker_button_selector_selection_changed): Use
3703 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
3704 the dialog is present.
3706 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
3707 the selection is accepted in the dialog)
3709 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3711 * src/hildon-color-chooser.h
3712 * src/hildon-color-chooser-dialog.h:
3713 Added G_BEGIN_DECLS and G_END_DECLS
3715 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3717 (_clean_current_selection): plug a leak in the list.
3719 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3721 * src/hildon-picker-dialog.c:
3722 (+free_path_list): Method to free a GList of GtkTreePaths.
3723 (_clean_current_selection), (_save_current_selection),
3724 (_restore_current_selection): Save the current selection in
3725 as a list of lists, to support multiple selection properly.
3727 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3729 patch by Claudio Saavedra (csaavedra@igalia.com)
3731 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
3732 Store the press position.
3733 (+hildon_text_view_button_release_event): If the release position is
3734 close enough to the press position, move the cursor here. Otherwise,
3736 (hildon_text_view_class_init): Override GtkTextView press, release, and
3737 motion event handlers, disabling this way text selection through
3738 pointer interaction, and allowing the container widget to handle the
3741 Fixes: NB#95828 (HildonTextView functionality)
3743 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3745 Based on a patch by Iván Gómez (igomez@igalia.com)
3747 * src/hildon-button.[ch]
3748 * src/hildon-calendar.c
3749 * src/hildon-check-button.c
3750 * src/hildon-date-editor.c
3751 * src/hildon-date-selector.c
3752 * src/hildon-picker-button.c
3753 * src/hildon-time-editor.c
3754 * src/hildon-time-selector.c
3755 * src/hildon-touch-selector.[ch]:
3756 Documentation updates
3758 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3760 * src/hildon-pannable-area.c,
3761 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
3762 threshold, it was required due to X events handling.
3764 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3766 * src/hildon-pannable-area.c,
3767 (hildon_pannable_area_grab_notify),
3768 (hildon_pannable_area_initial_effect),
3769 (hildon_pannable_area_button_press_cb),
3770 (hildon_pannable_area_button_release_cb),
3771 (hildon_pannable_area_scroll_cb),
3772 (hildon_pannable_area_scroll_to): Review the timeout management of
3773 the scrollbar, the frecuency was incorrectly set.
3775 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
3777 * src/hildon-picker-button.c:
3778 (+hildon_picker_button_on_dialog_response),
3779 (hildon_picker_button_clicked): Present the dialog instead of
3780 running it with gtk_dialog_run().
3782 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
3785 2009-01-07 Alberto Garcia <agarcia@igalia.com>
3787 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3788 (hildon_app_menu_finalize): When a window is hidden it doesn't
3789 emit notify::is-topmost, so make sure than the menu also
3790 disappears in that case.
3791 (parent_window_topmost_notify): Renamed from parent_window_hidden
3793 Fixes: NB#94460 (stackable window's menu is not closed when its
3796 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3798 * src/hildon-touch-selector-entry.c:
3799 (+hildon_touch_selector_entry_set_input_mode),
3800 (+hildon_touch_selector_entry_get_input_mode):
3801 * src/hildon-touch-selector-entry.h: New methods to access the input
3802 mode in the selector's entry.
3804 Fixes: NB#93410 (API required for setting IM mode in
3805 HildonTouchSelectorEntry)
3807 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3809 * configure.ac: post release version bump.
3810 * debian/changelog: version bump
3812 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3817 * configure.ac: Bump version.
3818 * debian/changelog: Updates.
3820 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
3822 * src/hildon-touch-selector.c:
3823 (_hildon_touch_selector_has_multiple_selection): No need
3824 to initialize the variables here.
3826 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3828 * src/hildon-note-private.h
3829 * src/hildon-note.c (event_box_press_event, hildon_note_init)
3830 (hildon_note_finalize, hildon_note_rebuild): Close information
3831 notes when they receive a button press.
3833 Fixes: NB#89890 (Information notes does not get disappeared after
3836 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
3838 * src/hildon-wizard-dialog.c: (create_title): Remove translation
3839 mark from the wizard title, as it's not really necessary. Also,
3840 do not display the page title if not set.
3842 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3844 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3845 (parent_window_hidden): Use the window's "is-topmost" property to
3846 detect when to hide the menu.
3848 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3850 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3851 (hildon_app_menu_finalize): If the parent window of the menu is
3852 hidden, hide the menu too.
3854 Fixes: NB#94460 (stackable window's menu is not closed when its
3857 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3860 * debian/libhildon1-examples.install
3862 * examples/Makefile.am:
3863 Use dh_install to install all examples.
3864 Use DEB_SRCDIR instead of defining SOURCE_DIR
3866 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3868 * configure.ac: post release version bump.
3869 * debian/changelog: version bump
3871 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3876 * configure.ac: bump version
3877 * debian/changelog: updates
3878 * debian/control: bump gtk+ dependency
3880 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3882 patch by Christian Dywan (christian@imendio.com)
3884 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
3885 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
3887 2008-12-15 Alberto Garcia <agarcia@igalia.com>
3889 * src/hildon-check-button.c (hildon_check_button_init)
3890 (hildon_check_button_class_init, hildon_check_button_style_set)
3891 (hildon_check_button_apply_style):
3892 New "checkbox-size" style property.
3894 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
3895 larger / configurable size)
3897 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3899 * configure.ac: post release version bump.
3900 * debian/changelog: version bump
3902 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3907 * configure.ac: bump version
3908 * debian/changelog: updates
3910 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3912 * doc/hildon-sections.txt
3913 * src/hildon-pannable-area.c
3914 * src/hildon-program.c
3915 * src/hildon-time-editor.c
3916 * src/hildon-touch-selector-entry.c:
3918 More documentation updates.
3920 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3922 * doc/hildon-sections.txt
3923 * src/hildon-caption.c
3924 * src/hildon-code-dialog.c
3925 * src/hildon-color-button.c
3926 * src/hildon-controlbar.c
3927 * src/hildon-date-editor.c
3928 * src/hildon-date-selector.c
3929 * src/hildon-edit-toolbar.c
3930 * src/hildon-find-toolbar.c
3931 * src/hildon-font-selection-dialog.c
3933 * src/hildon-program.c
3934 * src/hildon-range-editor.c
3935 * src/hildon-seekbar.c
3936 * src/hildon-time-editor.c
3937 * src/hildon-time-selector.c
3938 * src/hildon-volumebar-range.c
3939 * src/hildon-volumebar.c
3940 * src/hildon-vvolumebar.c
3941 * src/hildon-weekday-picker.c
3942 * src/hildon-window.c
3943 * src/hildon-wizard-dialog.c:
3945 Lots of documentation fixes.
3947 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3949 Patch contributed by Iván Gómez (igomez@igalia.com)
3951 * src/hildon-check-button.c:
3952 * src/hildon-date-button.c:
3953 * src/hildon-date-selector.c:
3954 * src/hildon-dialog.c:
3955 * src/hildon-edit-toolbar.c:
3956 * src/hildon-entry.c:
3957 * src/hildon-picker-button.c:
3958 * src/hildon-program.c:
3959 * src/hildon-text-view.c:
3960 * src/hildon-time-button.c:
3961 * src/hildon-touch-selector-entry.c:
3962 * src/hildon-window-stack.c:
3964 Add more "since" tags to the new API.
3966 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3968 * doc/hildon-sections.txt: Add below method.
3969 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
3970 version for the hildonized scale.
3971 * src/hildon-gtk.h: Add the definition.
3973 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3975 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3977 * doc/hildon-sections.txt: Add missing entries for new methods.
3979 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3981 Added API to pannable are in order to get its adjustments. We
3982 added two properties to manage the values we had in the private
3985 * src/hildon-pannable-area.c:
3986 (hildon_pannable_area_class_init): Added hadjustment and
3987 vadjustment properties in order to expose horizontal and vertical
3989 (hildon_pannable_area_get_property),
3990 (hildon_pannable_area_set_property): Added code to handle the new
3992 (hildon_pannable_area_get_hadjustment),
3993 (hildon_pannable_area_get_vadjustment): API functions to get the
3995 * src/hildon-pannable-area.h:
3996 (hildon_pannable_area_get_hadjustment),
3997 (hildon_pannable_area_get_vadjustment): API functions to get the
4000 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4002 Fixed some leaks, after valgrinding.
4004 * src/hildon-touch-selector.c:
4005 (_default_print_func): Fixed a leak.
4006 (hildon_touch_selector_append_column): Fixed a leak.
4007 * src/hildon-date-button.c:
4008 (hildon_date_button_init): Fixed a leak.
4009 * src/hildon-date-selector.c
4010 (hildon_date_selector_finalize): Fixed a leak.
4012 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4014 Based on a patch by Christian Dywan (christian@imendio.com)
4016 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4018 * src/hildon-gtk.h: Add definition.
4020 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4022 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4024 * src/hildon-picker-button.c: (hildon_picker_button_init),
4025 (hildon_picker_button_new): Set the HildonButton::style property
4026 in the init method, to propagate the value to the derived classes.
4028 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4030 * src/hildon-button.c: (hildon_button_class_init): Do not make
4031 the "style" property a construct property.
4033 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4035 * src/hildon-wizard-dialog.h
4036 * src/hildon-wizard-dialog.c
4037 (hildon_wizard_dialog_set_forward_page_func)
4038 * src/hildon-pannable-area.h
4039 * src/hildon-pannable-area.c
4040 (hildon_pannable_area_set_size_request_policy):
4041 Documentation fixes.
4043 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4045 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4047 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4049 * doc/hildon-sections.txt: Added sections file.
4051 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4054 * src/*.[ch]: Updates.
4056 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4058 * examples/hildon-progress-indicator-example.c: new file
4059 * examples/Makefile.am: include the new example program
4061 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4063 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4065 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4067 * configure.ac: post release version bump
4068 * debian/changelog: version bump
4070 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4075 * configure.ac: bump version
4076 * debian/changelog: updates
4077 * debian/control: bump gtk+ dependency
4079 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4081 * src/hildon-dialog.c: Mark as deprecated.
4082 * src/hildon-dialog.h: Mark as deprecated.
4083 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4084 from HildonDialog and still work, even if
4085 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4086 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4088 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4089 maemo changes) instead)
4091 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4093 * src/hildon-pannable_area.h:
4094 * src/hildon-pannable_area.c:
4095 (hildon_pannable_area_class_init),
4096 (hildon_pannable_area_set_property),
4097 (hildon_pannable_area_get_property),
4098 (hildon_pannable_area_size_request),
4099 (hildon_pannable_area_get_size_request_policy),
4100 (hildon_pannable_area_set_size_request_policy): Added new API
4101 allowing applications to control the request policy. Now they can
4102 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4103 children allocation (HILDON_MOVEMENT_CHILDREN).
4105 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4109 (hildon_gtk_tree_view_set_ui_mode)
4110 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4111 mode of treeviews and iconviews.
4113 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4115 * src/hildon-touch-selector-entry.c:
4116 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4117 of a GtkEntry to get proper theming.
4119 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4120 widget, not GtkEntry)
4122 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4124 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4125 no HildonWizardDialogPageFunc.
4127 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4129 Patch contributed by Iván Gómez (igomez@igalia.com)
4131 * src/hildon-app-menu.c:
4132 * src/hildon-button.c:
4133 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4134 * src/hildon-stackable-window.c:
4135 * src/hildon-time-selector.c:
4136 * src/hildon-touch-selector.c:
4137 * src/hildon-window.c:
4139 Add more "since" tags to the new API in hildon 2.2.
4141 2008-12-05 Tim Janik <timj@imendio.com>
4143 Patch contributed by Christian Dywan (christian@imendio.com)
4145 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4146 HildonSizeType, which are supplied by Gtk+ now.
4148 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4150 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4151 (with maemo changes) instead)
4153 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4155 Patch contributed by Iván Gómez (igomez@igalia.com)
4157 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4160 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4162 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4163 (some_page_func), (main): Update the example to use a
4164 HildonWizardDialogPageFunc function.
4166 * src/hildon-wizard-dialog-private.h: Add private data for
4167 the HildonWizardDialogPageFunc function usage.
4169 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4170 (destroy), (hildon_wizard_dialog_init), (response),
4171 (hildon_wizard_dialog_set_forward_page_func):
4172 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4173 that applications can use to stop a HildonWizardDialog to jump to
4176 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4179 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4181 * src/hildon-program.h
4182 * src/hildon-program-private.h
4183 * src/hildon-program.c (hildon_program_init)
4184 (hildon_program_set_common_app_menu)
4185 (hildon_program_get_common_app_menu):
4186 New API for setting a common HildonAppMenu for all
4187 HildonStackableWindows registered with the HildonProgram.
4189 * src/hildon-stackable-window.c
4190 (hildon_stackable_window_toggle_menu):
4191 Use the common HildonAppMenu if a window doesn't have a specific
4194 * src/hildon-app-menu-private.h
4195 * src/hildon-app-menu.c
4196 (hildon_app_menu_get_parent_window):
4197 Function to obtain the window a HildonAppMenu is attached to.
4198 (hildon_app_menu_set_parent_window):
4199 Hide the menu if the parent window is set to NULL.
4201 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4203 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4204 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4205 search widget to popup.
4207 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4209 * configure.ac: post release version bump
4210 * debian/changelog: version bump
4212 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4217 * configure.ac: bump version
4218 * debian/changelog: updates
4220 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4222 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4224 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4225 (hildon_window_stack_window_realized)
4226 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4227 Set the leader GdkWindow when a window is stacked and realized,
4228 unset it when it's unstacked.
4229 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4231 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4233 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4235 * src/hildon-stackable-window.h
4236 * src/hildon-window-stack.h:
4237 Protect definition of HildonWindowStack using the preprocessor.
4239 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4241 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4242 Fix warning if all menu items are hidden.
4244 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4246 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4248 * src/hildon-controlbar.c:
4249 * src/hildon-hvolumebar.c:
4250 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4251 Multiple scale size defines updates.
4253 Fixes: NB#94322 (Scale Updates)
4255 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4257 * examples/hildon-app-menu-example.c (create_menu)
4258 Show items after adding them to the menu, as in the future the
4259 menu will no longer call gtk_widget_show() on the added items.
4261 * src/hildon-app-menu.c:
4262 Update example as explained above.
4264 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4266 * src/hildon-app-menu.c
4267 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4268 Make sure that all menu items have finger height.
4270 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4272 * src/hildon-picker-dialog.c:
4273 (_on_dialog_response), (_save_current_selection),
4274 (_restore_current_selection), (_clean_current_selection),
4275 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4276 Defined new functions in order to save the current internal selector
4277 selection previous open the dialog, in case that the use cancel the
4278 interaction, so the widget restores the previous selection.
4280 Fixes: NB#92032 (In calendar application, date values in 'new event'
4283 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4285 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4287 * src/hildon-button.c: Add a reference to the button examples in
4288 hildon-button-example.c
4290 * examples/hildon-button-example.c: Added examples of the most
4291 common button layouts.
4293 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4295 * src/hildon-app-menu.c (hildon_app_menu_show)
4296 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4298 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4300 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4302 * src/hildon-picker-dialog.c:
4303 (hildon_picker_dialog_init): Initialize the signal id for
4304 HildonTouchSelector::columns-changed.
4305 (+on_selector_columns_changed): Set up the interaction mode everytime a
4306 column is added or removed from the HildonTouchSelector.
4307 (_hildon_picker_dialog_set_selector): Connect to
4308 HildonTouchSelector::columns-changed and keep track of it.
4310 Make sure to update the interaction mode of the dialog everytime a
4311 column is added or removed in the HildonTouchSelector.
4313 Fixes: NB#93228 (Done button is not shown always in listpicker)
4315 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4317 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4318 a new ::columns-changed signal.
4319 (hildon_touch_selector_append_column): Emit ::columns-changed.
4320 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4322 Add a ::columns-changed signal, emitted when the number of columns in a
4323 HildonTouchSelector changes.
4325 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4327 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4328 (_hildon_picker_dialog_set_selector): Factor out the code
4329 to set up the dialog interaction mode.
4331 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4333 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4334 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4335 to signal_changed_id.
4337 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4339 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4342 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4344 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4345 Updated the logical ids related to ampm format, as now it is required to
4346 show it correctly localized even on languages with no default
4347 abbreviations for am or pm
4348 (_check_am_pm_format): check correctly the 24h format gconf property
4350 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4352 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4354 * src/hildon-button.c: Documentation updates.
4356 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4358 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4359 * src/hildon-caption.c: (hildon_caption_class_init):
4360 * src/hildon-color-button.c: (hildon_color_button_class_init):
4361 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4362 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4363 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4364 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4366 Remove deprecated GTK+ marshalers and replace them with the ones
4367 provided by GLib, for those available, add a marshaler for
4368 BOOLEAN:VOID, which is not available in GLib, and use it.
4370 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4372 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4373 the text from the previous column if there is no
4374 HildonTouchSelectorColumn::text-property set.
4376 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4378 * src/hildon-button.h
4379 * src/hildon-button.c (hildon_button_set_property)
4380 (hildon_button_get_property, hildon_button_class_init)
4381 (hildon_button_set_style, hildon_button_get_style):
4382 New "style" property to change the visual appearance of the
4385 * src/hildon-picker-button.c (hildon_picker_button_new):
4386 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4388 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4389 HildonButton look like PickerButton)
4391 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4393 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4394 column while building the default string.
4396 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4398 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4399 scroll indicator by default.
4401 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4403 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4405 * src/hildon-main.c: Fix the documentation for hildon_init()
4407 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4409 * doc/hildon-docs.sgml
4413 * src/hildon-window-stack-private.h
4414 * src/hildon-window-stack.h
4415 * src/hildon-window-stack.c:
4416 New HildonWindowStack object, that adds support for multiple
4417 stacks of windows per process.
4419 * src/hildon-stackable-window-private.h
4420 * src/hildon-stackable-window.h
4421 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4422 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4423 (hildon_stackable_window_show, hildon_stackable_window_hide)
4424 (hildon_stackable_window_class_init)
4425 (hildon_stackable_window_init):
4426 Use HildonWindowStack for stack management.
4428 * src/hildon-program.c (hildon_program_pop_window_stack)
4429 (hildon_program_peek_window_stack)
4430 (hildon_program_go_to_root_window):
4431 Add a fallback implementation to the deprecated functions using
4434 * examples/hildon-stackable-window-example.c:
4435 Use the new HildonWindowStack API.
4437 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4439 * src/hildon-stackable-window-private.h
4440 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4441 (hildon_stackable_window_hide, hildon_stackable_window_init):
4442 Remove all window stack management.
4444 * src/hildon-program-private.h
4445 * src/hildon-program.h
4446 * src/hildon-program.c (hildon_program_init)
4447 (hildon_program_pop_window_stack)
4448 (hildon_program_peek_window_stack)
4449 (hildon_program_go_to_root_window):
4450 Remove all window stack management and mark functions as
4453 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4455 * src/hildon-app-menu.c (hildon_app_menu_realize):
4456 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4458 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4460 * configure.ac: post release version bump
4461 * debian/changelog: version bump
4463 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4468 * configure.ac: bump version
4469 * debian/changelog: updates
4471 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4473 Based on initial code by Christian Dywan (christian@imendio.com)
4475 * doc/hildon-docs.sgml: Add section for hildon-main.
4476 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4477 * src/Makefile.am: Add new hildon-main.[ch]
4478 * src/hildon-defines.h: Update the icon sizes.
4479 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4480 new library initialization files and register icon sizes.
4481 * src/hildon-main.h: New declarations.
4482 * src/hildon.h: Include hildon-main.h
4484 Add new initialization functions to the library. These methods
4485 will register the hildon specific icon sizes and can be used in the
4486 future for other hildon specific bits.
4488 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4490 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4492 * src/hildon-window.c: (hildon_window_realize),
4493 (hildon_window_notify), (-hildon_window_update_title): Do not set
4494 the application name in the window title.
4496 Fixes: NB#89754 (Applications shouldn't display their names in the
4499 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4501 * src/hildon-note-private.h:
4502 * src/hildon-note.c: (hildon_note_set_property),
4503 (hildon_note_get_property), (hildon_note_class_init),
4504 (hildon_note_init), (hildon_note_finalize),
4505 (hildon_note_new_confirmation_with_icon_name),
4506 (hildon_note_new_information_with_icon_name):
4508 No need to mark as deprecated the actual code. Revert
4509 to avoid missing symbols in widgets using deprecated API.
4511 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4513 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4515 * src/hildon-volumebar.h
4516 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4517 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4519 * src/hildon-helper.h
4520 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4521 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4523 * examples/Makefile.am:
4524 Deprecate hildon-insensitive-example
4526 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4528 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4530 * examples/hildon-pannable-area-buttons-scroll-example.c:
4531 Make all buttons finger height
4533 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
4535 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4537 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4538 update the day model only if it is really required, and to avoid the
4539 full-reconstruction aproach. Now it only add or remove the required days.
4541 The purpose of this is avoid superfluous HildonTouchSelector::changed
4544 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4545 with strange parameters)
4547 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
4549 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4551 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4552 the WINDOW_TYPE property.
4554 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4556 2008-11-19 Alberto Garcia <agarcia@igalia.com>
4559 Fix dependency to allow parallel compilation with make -jX
4561 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
4563 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
4564 color frame and some minor tweaks to make it more consistent with
4567 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4568 highlighted but not visible)
4570 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4572 * examples/Makefile.am: Fixed typo in the Makefile.am.
4574 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4576 Reviewed the use of MAEMO_GTK define, now we add the define in the
4577 compilation line, and we also add it to the pc file.
4579 * configure.ac: Added MAEMO_GTK define to the compilation command
4580 and removed it from the config.h.
4582 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
4583 do not have to take care about this define if the library was
4587 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
4589 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4591 * examples/Makefile.am,
4592 * examples/hildon-pannable-area-buttons-scroll-example.c,
4593 * examples/hildon-pannable-area-gesture-signals-example.c,
4594 * examples/hildon-pannable-area-scroll-jump-example.c,
4595 * examples/hildon-pannable-area-tree-view-example.c:
4596 Renamed the pannable area examples, now they have more meaningful
4599 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
4601 * src/hildon-touch-selector.c:
4602 (hildon_touch_selector_set_column_selection_mode): Used of
4603 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
4604 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
4605 to avoid re-seting the same selection mode.
4607 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
4608 breaks HildonPickerDialog)
4610 2008-11-13 Alejandro G. Castro <alex@igalia.com>
4612 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
4613 conditional in the Makefile.am
4615 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
4617 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
4618 Remove unused methods.
4620 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4622 * src/hildon-button.c (hildon_button_init):
4623 Make button images center-aligned by default
4625 2008-11-12 Alejandro G. Castro <alex@igalia.com>
4628 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
4629 activated, we have to think about how to deal with both defines
4630 MAEMO_GTK and MAEMO_CHANGES.
4632 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4634 * examples/hildon-app-menu-example.c (create_menu): Make all
4635 buttons finger size.
4637 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4639 Fixed the compilation without maemo gtk adding ifdefs with
4640 MAEMO_GTK define to the code, we have to check this version more
4643 * examples/Makefile.am: Added control to avoid some examples that
4644 just make sense with maemo gtk.
4647 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
4648 hildon modes with the define.
4650 * examples/hildon-edit-toolbar-example.c,
4651 (create_icon_view): Create the icon view without hildon-gtk
4652 helpers if we are not using maemo gtk.
4654 * src/hildon-touch-selector.c,
4655 (_create_new_column): Create the treeview without hildon-gtk
4656 helpers if we are not using maemo gtk.
4658 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4660 * src/hildon-pnnable-area.c,
4661 (hildon_pannable_area_dispose),
4662 (hildon_pannable_area_button_press_cb),
4663 (hildon_pannable_area_child_mapped),
4664 (hildon_pannable_area_add),
4665 (hildon_pannable_area_remove): Added code to control the position
4666 of the event_window when adding and removing children from the
4667 pannable. We have to raise the event window when the child is
4670 Fixes: NB#89811 (Not able to select first image thumbnail in multi
4671 selection mode using custom widget inside pannable)
4673 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4675 * configure.ac: post release version bump
4676 * debian/changelog: version bump
4678 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4683 * configure.ac: bump version
4684 * debian/changelog: updates
4686 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
4688 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
4689 search mode, in order to avoid lose the focus on the treeview when
4690 a hw key (like enter) is pressed.
4692 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
4693 in HildonDateSelector dialog)
4695 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
4697 * debian/rules: Added --enable-maintainer-mode
4698 * Makefile.am: Added ACLOCAL_AMFLAGS
4700 This allows to properly regenerate the Makefiles if you modify the
4701 configure.ac or any Makefile.am.
4703 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4705 * examples/hildon-app-menu-example.c: (main): Do not set RC style
4706 properties, not needed at all.
4708 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4710 * src/hildon-note-private.h: Add strings for the icon and stock_icon
4712 * src/hildon-note.c: (hildon_note_set_property),
4713 (hildon_note_get_property), (hildon_note_class_init),
4714 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
4715 (hildon_note_new_confirmation_add_buttons): Remove icons.
4716 (hildon_note_new_confirmation_with_icon_name): Deprecate.
4717 (hildon_note_new_information_with_icon_name): Deprecate.
4718 (hildon_note_new_confirmation): Act directly, without calling
4719 the deprecated constructor.
4720 (hildon_note_new_information): Act directly, without calling
4721 the deprecated constructor.
4722 * src/hildon-note.h: Mark deprecate methods as such.
4723 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
4724 not run tests on the deprecated methods if built with deprecation
4727 Fixes: NB#91688 (Never show icons in information notes/confirmation
4730 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4732 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
4733 (hildon_app_menu_key_press): Remove leftover usage of the
4734 private structure in HildonAppMenu struct.
4735 * src/hildon-app-menu.h: Remove leftover private structure
4736 from the HildonAppMenu struct.
4738 Fixes a crasher when using the HildonAppMenu.
4740 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4742 * src/hildon-picker-dialog.c: Use appropriate logical id
4743 for the default "Done" text.
4745 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4747 * configure.ac: post release version bump
4748 * debian/changelog: version bump
4750 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
4752 Modified the way to scroll to the current selection just when the touch
4753 selector is shown on the screen, avoiding a g_idle. Added too a property
4754 to configure this behaviour. See hildon_pannable_area_jump_to_child
4755 documentation for more information.
4757 * src/hildon-touch-selector.c
4758 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
4759 Added 'initial-scroll' property
4760 (hildon_touch_selector_set_property): Added
4761 (hildon_touch_selector_map): Removed as not required anymore
4762 (_hildon_touch_selector_on_selected_items): Modified in order to manage
4763 only a concrete column, instead of iterate along all the columns
4765 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4770 * configure.ac: bump version
4771 * debian/changelog: updates
4773 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4775 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
4776 compilation time warnings.
4778 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4780 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4781 the default value for HildonPannableArea::mov-mode to
4782 HILDON_PANNABLE_AREA_MODE_VERT.
4784 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
4786 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4788 Reverting following commit:
4790 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4792 * src/hildon-app-menu-private.h
4793 * src/hildon-app-menu.[ch]
4794 * src/hildon-button.[ch]
4795 * src/hildon-check-button.[ch]
4796 * src/hildon-entry.[ch]
4797 * src/hildon-pannable-area.[ch]
4798 * src/hildon-text-view.[ch]:
4799 Added private field to the object's structure.
4801 because it causes an ABI breakage. We will need to introduce these
4802 changes later at some point. See NB#91636 for an extensive
4803 explanation and status.
4805 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4807 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4809 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4810 remove special cases that are no longer necessary.
4812 Fixes: NB#91016 (Change toolbar sizes, simplification)
4814 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4816 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4817 is shown in the cancel note.
4819 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4821 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
4822 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
4823 (hildon_seekbar_init): Remove steppers, remove expose event.
4824 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
4826 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
4828 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
4830 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
4831 label font to "SmallSystemFont" for vertically arranged buttons.
4833 Fixes: NB#90662 (HildonButton "value" and "detail" text is
4836 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4838 * src/hildon-check-button.c
4839 (hildon_check_button_set_active, hildon_check_button_clicked):
4840 Don't access private parts directly, use getters instead.
4842 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4844 * src/hildon-check-button.c (hildon_check_button_new):
4845 Align the contents of the check button to the left.
4847 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4849 * src/hildon-pannable-area.c,
4850 (hildon_pannable_area_scroll_to),
4851 (hildon_pannable_area_jump_to),
4852 (hildon_pannable_area_scroll_to_child),
4853 (hildon_pannable_area_jump_to_child): Replace the mapped
4854 precondition of these functions with the realized, it is the
4855 correct state of the widget in this case. Changed the
4856 documentation according to this modification.
4858 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4860 Added a new EXTRA_CFLAGS option to add the deprecated define to
4861 the compilation command. This way we can avoid using the define in
4862 the documentation compilation.
4864 * configure.ac: Defined EXTRA_CFLAGS.
4866 * examples/Makefile.am:
4868 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
4870 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
4872 * src/hildon-picker-dialog.c:
4873 Defined a utility macro with the desired touch selector height
4874 Removed currently unused separator, and title_label variables from
4876 (hildon_picker_dialog_init): Removed code related to the creation
4877 of unused private variables title_label and separator.
4878 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
4879 to ensure correct visualization of the touch selector inside the dialog.
4880 * src/hildon-touch-selector.c
4881 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
4882 ensure a concrete height of the widget.
4884 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4887 * tests/Makefile.am:
4889 Remove spurious whitespaces.
4891 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4893 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
4894 compilation warning after the cancel button removal.
4896 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4898 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
4900 * configure.ac: Added an AM_CONDITIONAL in order to use in the
4901 Makefile.am, that way we can choose not to compile some examples
4902 and tests of the deprecated widgets.
4904 * examples/Makefile.am: Divided the sources in deprecated and
4907 * src/Makefile.am: Added undef statement of the deprecated
4908 symbol to the enums file generation process.
4910 * src/hildon-color-chooser-dialog.c
4911 * src/hildon-color-chooser-dialog.h
4912 * src/hildon-color-button.c
4913 * src/hildon-color-button.h
4914 * src/hildon-color-chooser.c
4915 * src/hildon-color-chooser.h
4916 * src/hildon-controlbar.c
4917 * src/hildon-controlbar.h
4918 * src/hildon-date-editor.c
4919 * src/hildon-date-editor.h
4920 * src/hildon-hvolumebar.c
4921 * src/hildon-hvolumebar.h
4922 * src/hildon-private.c
4923 * src/hildon-private.h
4924 * src/hildon-range-editor.c
4925 * src/hildon-range-editor.h
4926 * src/hildon-seekbar.c
4927 * src/hildon-seekbar.h
4928 * src/hildon-time-editor.c
4929 * src/hildon-time-editor.h
4930 * src/hildon-time-picker.c
4931 * src/hildon-time-picker.h
4932 * src/hildon-volumebar.c
4933 * src/hildon-volumebar.h
4934 * src/hildon-vvolumebar.c
4935 * src/hildon-vvolumebar.h
4936 * src/hildon-bread-crumb-trail.h
4937 * src/hildon-bread-crumb-trail.c
4938 * src/hildon-calendar-popup.c
4939 * src/hildon-calendar-popup.h
4940 * src/hildon-weekday-picker.c:
4941 * src/hildon-weekday-picker.h:
4942 * src/hildon-bread-crumb-widget.c:
4943 * src/hildon-bread-crumb-widget.h:
4944 * src/hildon-bread-crumb.c:
4945 * src/hildon-bread-crumb.h:
4946 * src/hildon-calendar.c:
4947 * src/hildon-calendar.h:
4948 * src/hildon-caption.c:
4949 * src/hildon-code-dialog.c:
4950 * src/hildon-code-dialog.h:
4951 * src/hildon-font-selection-dialog.c:
4952 * src/hildon-font-selection-dialog.h:
4953 * src/hildon-get-password-dialog.c:
4954 * src/hildon-get-password-dialog.h:
4955 * src/hildon-login-dialog.c:
4956 * src/hildon-login-dialog.h:
4957 * src/hildon-number-editor.c:
4958 * src/hildon-number-editor.h:
4959 * src/hildon-set-password-dialog.c:
4960 * src/hildon-set-password-dialog.h:
4961 * src/hildon-sort-dialog.c:
4962 * src/hildon-sort-dialog.h: This is the list of deprecated
4965 * src/hildon-touch-selector.c:
4966 * src/hildon-window.c: Added undef statement to avoid compilation
4969 * tests/Makefile.am: Divided the sources in deprecated and
4972 * tests/check_test.c,
4973 (configure_tests): Marked the deprecated code that was adding
4974 suites with deprecated tests.
4976 Fixes: NB#91135 (Deprecate legacy hildon widgets)
4978 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4980 * src/hildon-touch-selector.c: (_default_print_func): Do not
4981 duplicate a string returned by gtk_tree_model_get(), it is already
4984 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
4987 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4989 * src/hildon-pannable-area.c
4990 (hildon_pannable_area_add_with_viewport): Reviewed the complete
4991 method, it had problems when adding a widget with viewport the
4992 second time. Now checks if it already has a viewport and uses it.
4994 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
4997 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4999 * src/hildon-pannable-area.c,
5000 (hildon_pannable_area_scroll_to),
5001 (hildon_pannable_area_jump_to),
5002 (hildon_pannable_area_scroll_to_child),
5003 (hildon_pannable_area_jump_to_child): Added a precondition to the
5004 scroll and jump to functions: the widget must be mapped before we
5005 can safely call these functions. We have also added documentation
5006 to the functions to explain how to use them in this situation.
5009 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5011 Reviewed the threading handling of the pannable widget, we have
5012 used the gdk_threads_add_timeout function instead of the usual
5013 glib handlers. This avoids some problems with the threads.
5015 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5016 (hildon_pannable_area_initial_effect),
5017 (hildon_pannable_area_scroll_indicator_fade),
5018 (hildon_pannable_area_button_press_cb),
5019 (hildon_pannable_area_timeout),
5020 (hildon_pannable_area_motion_notify_cb),
5021 (hildon_pannable_area_button_release_cb),
5022 (hildon_pannable_area_scroll_cb),
5023 (hildon_pannable_area_scroll_to): Removed the
5024 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5025 gdk_threads_add_timeout.
5027 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5029 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5034 * configure.ac: bump version
5035 * debian/changelog: updates
5037 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5039 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5040 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5041 * src/hildon-color-chooser-dialog.c:
5042 (hildon_color_chooser_dialog_init):
5043 * src/hildon-font-selection-dialog.c:
5044 (hildon_font_selection_dialog_init):
5045 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5047 Remove all cancel/close-like dialogs, as these are not going to be
5050 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5052 * src/hildon-note.c: (hildon_note_rebuild),
5053 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5056 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5058 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5060 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5061 sure all buttons are shown, even the Cancel/Close-like ones.
5063 Fixes: NB#90861 (Custom Confirmation dialogs should be
5064 protected from cancel button removal)
5066 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5068 * debian/control: Change libhildon1-examples dependency from libhildon1
5070 * debian/libhildon1-examples.install
5072 * Makefile.am: Modified the final install directory for the examples on
5073 package libhildon1-examples
5074 * Makefile.static: Update clean target in order to remove all the binary
5077 Changes suggested by Claudio after review new libhildon1-examples package
5079 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5081 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5082 * src/hildon-touch-selector.c: Ditto.
5084 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5086 * debian/control: Added new package libhildon1-examples, in order to pack
5087 the current hildon examples as documentation
5088 * debian/rules: Not to compress .c files, modify some includes on the
5089 examples (as normally are compiled locally, but when installed it will
5090 require to include the installed libhildon1 library), and rename
5092 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5093 install all the example files on the new example package
5094 * examples/Makefile.static: Added static makefile that can be used to
5095 compile the examples, once installed the new example package
5096 * examples: Most of the examples were modified in order to grant that
5097 all use only '#include "hildon.h"', in order to be easy to prepare
5098 it on the example package
5100 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5103 * debian/libhildon1-dev.install
5104 * debian/libhildon1-doc.install:
5105 Move all gtk-doc files to a separate libhildon1-doc package.
5107 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5109 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5111 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5113 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5115 * debian/rules: Fixed a error in order to avoid unnecessary calls
5116 to autogen.sh on package building
5118 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5120 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5122 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5124 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5127 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5129 * src/hildon-picker-button.c
5130 (hildon_picker_button_finalize):
5131 Free priv->done_button_text
5133 * src/hildon-time-button.c
5134 (hildon_time_button_set_time)
5135 * src/hildon-picker-button.c
5136 (hildon_picker_button_clicked)
5137 (hildon_picker_button_selector_selection_changed)
5138 (hildon_picker_button_set_selector)
5139 * src/hildon-date-button.c
5140 (hildon_date_button_set_date):
5141 Free strings returned by hildon_touch_selector_get_current_text()
5143 * src/hildon-button.c (hildon_button_construct_child):
5144 Fix leaks in priv->image and priv->label_box
5146 Fixes: NB#90535 (Memory leak in picker button)
5148 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5150 * src/hildon-button.c: (hildon_button_get_property): Do not access
5151 private elements directly, use getters instead.
5153 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5155 * src/hildon-app-menu-private.h
5156 * src/hildon-app-menu.c
5157 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5158 Store the menu's parent window.
5160 * src/hildon-stackable-window.c
5161 (hildon_stackable_window_toggle_menu)
5162 (hildon_stackable_window_finalize):
5163 Set the menu's parent window when the menu is shown, unset it when
5166 * src/hildon-app-menu.c
5167 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5168 (hildon_app_menu_class_init):
5169 Send unhandled keyboard accelerators to the parent window.
5171 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5173 * src/hildon-stackable-window.c
5174 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5176 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5178 * configure.ac: post release version bump
5180 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5183 * configure.ac: Bump version
5184 * debian/changelog: Updates
5185 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5188 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5190 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5193 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5194 GtkMenu with Hildon style.
5196 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5198 * src/hildon-picker-button.c:
5199 (hildon_picker_button_set_done_button_text): Set the dialog's
5200 done button text here as well.
5202 Fixes: NB#90232 (Picker button does not set the label on done button
5203 for the second time)
5205 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5207 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5210 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5212 * src/hildon-app-menu.c (hildon_app_menu_insert)
5213 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5214 the HildonAppMenu to be activatable using keyboard accelerators
5215 when the menu is not being shown.
5217 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5219 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5221 * src/hildon-stackable-window.c
5222 (hildon_stackable_window_show):
5223 Don't hide old windows automatically when new windows are shown:
5224 this is now a task for the window manager.
5225 (hildon_stackable_window_class_init)
5226 (hildon_stackable_window_hide):
5227 Remove windows from the stack everytime they're hidden.
5228 (hildon_stackable_window_realize):
5229 Don't change the _NET_WM_WINDOW_TYPE property. Use
5230 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5231 it as a stackable window.
5233 * src/hildon-program.c
5234 (hildon_program_pop_window_stack):
5235 Just hide the window to remove it from the stack.
5236 (hildon_program_go_to_root_window):
5237 Don't call gtk_widget_show(), this is now a task for the window
5240 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5242 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5244 * src/hildon-button.c
5245 (hildon_button_construct_child):
5246 Don't pack anything in the button until text or image are
5247 set. This allows adding a custom child after creating the button
5248 with hildon_button_new().
5249 (hildon_button_finalize, hildon_button_class_init)
5250 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5251 alignment and the label box even when they're not packed in the
5254 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5256 * src/hildon-touch-selector.h:
5257 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5258 currently the type definition was using GTK_TYPE_VBOX
5259 * src/hildon-touch-selector.c:
5260 Added some implementation notes in order to clarify that any other widget
5261 added without the column related API will not be included on the
5262 selection logic, and how the widget is freed, as some people ask about
5264 (hildon_touch_selector_remove): Reimplemented in order to free properly
5265 the column related data when you remove the private hbox.
5266 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5267 to get a proper HildonTouchSelectorColumn documentation
5269 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5271 * src/hildon-touch-selector-entry.c:
5272 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5273 text in the GtkEntry and there is no item selected. Fixes a
5276 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5278 * src/hildon-app-menu-private.h
5279 * src/hildon-app-menu.[ch]
5280 * src/hildon-button.[ch]
5281 * src/hildon-check-button.[ch]
5282 * src/hildon-entry.[ch]
5283 * src/hildon-pannable-area.[ch]
5284 * src/hildon-text-view.[ch]:
5285 Added private field to the object's structure.
5287 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5289 * configure.ac: post-release version bump
5291 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5295 * configure.ac: pre-release version bump
5297 * debian/changelog: updates.
5299 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5301 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5302 Disconnect the handler for HildonTouchSelector::changed.
5304 (hildon_picker_button_selector_selection_changed): Update the button
5305 value if the selection change was not triggered by the
5308 (hildon_picker_button_set_selector): connect to
5309 HildonTouchSelector::changed.
5311 Fixes: NB#89650 (Picker button is not updated, when selection in
5312 selector has changed)
5314 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5316 * src/hildon-picker-dialog.c
5317 (hildon_picker_dialog_realize): Removed as not required
5318 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5319 * src/hildon-picker-button.c
5320 (_current_selector_empty): New function, checks if the selector is empty
5321 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5322 if the current selector is empty, in order to avoid to show the dialog
5323 close the dialog in this case (and shows a g_warning).
5325 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5327 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5329 * src/hildon-pannable-area.c,
5330 (hildon_pannable_area_scroll): Added clause to stop movement when
5331 the child of pannable is smaller than one page.
5332 (hildon_pannable_area_scroll_to): Added conditions to avoid
5333 starting the scrolling movement if the child is smaller than one
5334 page, the complete child is in the screen, we do not have to move.
5336 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5338 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5340 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5341 this is managed automatically by the widget when the size of the
5344 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5346 * src/hildon-picker-button.c
5347 (hildon_picker_button_set_done_button_text): Make a copy of the
5348 text, and free the previous value.
5350 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5352 * src/hildon-touch-selector-entry.c:
5353 (hildon_touch_selector_entry_print_func): Return the selected row's
5354 text if the entry is empty.
5356 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5359 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5361 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5363 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5366 * src/hildon-check-button.h
5367 * src/hildon-check-button.c
5368 * examples/hildon-check-button-example.c:
5369 HildonCheckButton is now a new widget. 'toggled' signal added.
5371 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5373 * src/hildon-program-private.h
5374 * src/hildon-program.c (hildon_program_init)
5375 (hildon_program_finalize): Removed unused variables group_leader
5376 and name from HildonProgramPrivate.
5378 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5380 * src/hildon-check-button.c (hildon_check_button_set_active)
5381 (hildon_check_button_get_active, hildon_check_button_new): Use
5382 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5384 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5386 * src/hildon-touch-selector.h
5387 (hildon_touch_selector_set_column_attributes): added deprecation
5388 guard HILDON_DISABLE_DEPRECATED
5389 * src/hildon-time-selector.c
5390 (hildon_time_selector_set_time)
5391 (hildon_time_selector_get_time): Fixed a typo on documentation
5392 * src/hildon-touch-selector.c: update HildonTouchSelector and
5393 HildonTouchSelectorColumn documentation
5394 * src/hildon-touch-selector-entry.c: update "text-column" property
5396 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5397 to be added to the general documentation.
5399 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5401 * examples/hildon-pannable-area-example-4.c,
5403 * examples/hildon-pannable-area-example.c,
5404 (main): Modified the code in order to use the container add, with
5405 viewport treeviews could have problems if they are really big.
5407 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5409 * src/hildon-weekday-picker.c,
5410 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5411 the agreement regarding deprecation in the library.
5413 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5415 * examples/hildon-picker-button-multicolumn-example.c:
5416 (main): Use custom "done" button text.
5418 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5419 (hildon_picker_button_set_property),
5420 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5421 (hildon_picker_button_init),
5422 (+hildon_picker_button_get_done_button_text),
5423 (+hildon_picker_button_set_done_button_text): New methods to customize
5424 the "done" button label in the launched HildonPickerDialog. Also,
5427 * src/hildon-picker-button.h: add the public API.
5429 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5431 * src/hildon-date-selector.h:
5432 * src/hildon-picker-dialog.h:
5433 * src/hildon-time-selector.h:
5434 * src/hildon-touch-selector-column.h:
5435 * src/hildon-touch-selector.h:
5437 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5438 declarations. Fixes gtk-doc warnings.
5440 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5442 * src/hildon-picker-dialog.h
5443 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5444 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5446 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5447 long text is set as label for done button)
5449 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5451 * src/hildon-dialog.c (hildon_dialog_add_button):
5452 Set fixed width to all buttons in the HildonDialog.
5454 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5456 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5458 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5459 Set widget name using class name plus "-finger" or "-thumb".
5461 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5463 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5464 'clicked' when the state of the button is manually changed.
5466 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5468 * src/hildon-app-menu.c (hildon_app_menu_realize)
5469 (hildon_app_menu_unrealize, hildon_app_menu_init)
5470 (hildon_app_menu_class_init, item_visibility_changed):
5471 Change the menu layout when the size of the screen changes.
5472 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5473 Show warning only when changing the number of colums using the
5476 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5478 * debian/compat: Set to 5
5479 * debian/control: Update dependencies.
5480 * debian/libhildon1-dbg.install: Remove.
5481 * debian/libhildon1-dev.install: Update according to cdbs paths.
5482 * debian/libhildon1.install: Update according to cdbs paths.
5483 * debian/rules: Switch to cdbs.
5485 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5487 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5488 'item' variable renamed to 'filter'
5490 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5492 * src/hildon-app-menu.c (hildon_app_menu_insert)
5493 (hildon_app_menu_add_filter, remove_item_from_list)
5494 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5495 Don't leak hidden items when the menu is destroyed.
5497 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5499 * src/hildon-app-menu.c (hildon_app_menu_insert)
5500 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5501 (hildon_app_menu_set_columns, item_visibility_changed)
5502 (filter_visibility_changed, hildon_app_menu_repack_filters)
5503 (hildon_app_menu_repack_items):
5504 Repack items and filters separately.
5506 Don't repack all items, change only the ones that are needed to
5509 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5511 * src/Makefile.am: added hildon-touch-selector-column.h
5513 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5515 * src/hildon-touch-selector.c: added the property "text-column" to the
5516 class HildonTouchSelectorColumn, and related get/set functions
5517 (_default_printf_func): updated to use "text-column" property
5518 * src/hildon-touch-selector-entry.c: mark as deprecated the property
5519 "text-column" in his documentation, as this is now included on
5520 HildonTouchSelectorColumn. The get/set_property can still be used,
5521 working as a wrapper to the concrete column "text-column" property
5522 (_text_column_modified): callback added in order to handle the signal
5523 "notify::text-column" of the concrete HildonTouchSelectorColumn
5524 (hildon_touch_selector_entry_get_text_column)
5525 (hildon_touch_selector_entry_set_text_column): Added documentation, and
5526 modified in order to use the HildonTouchSelectorColumn "text-column"
5528 * src/hildon-time-selector.c:
5529 * src/hildon-date-selector.c:
5530 * examples/hildon-touch-selector-example.c
5531 * examples/hildon-touch-selector-multi-cells-example.c
5532 * examples/hildon-picker-button-multicolumn-example.c
5533 Set the right value to "text-column" property on the creation of a new
5534 column using hildon_touch_selector_append_column()
5536 Fixes: NB#88644 (Hardcoded first column of the model as text column)
5538 2008-09-30 Alberto Garcia <agarcia@igalia.com>
5540 * src/hildon-app-menu.c
5541 (hildon_app_menu_construct_child, hildon_app_menu_init): When
5542 updating the layout of the menu, don't create all widgets again,
5543 just repack the items in their new places.
5545 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
5547 * src/hildon-time-selector.c
5548 (hildon_time_selector_get_time)
5549 (hildon_time_selector_set_time)
5550 Added documentation of these public methods
5552 * src/hildon-date-button.h
5553 * src/hildon-touch-selector-column.h
5554 * src/hildon-time-button.h
5555 * src/hildon-picker-dialog.h
5556 * src/hildon-time-selector.h
5557 * src/hildon-picker-button.h
5558 * src/hildon-touch-selector.h
5559 * src/hildon-time-picker.h
5560 * src/hildon-date-selector.h
5561 * src/hildon-touch-selector-entry.h
5562 Modified in order to use hildon-widgets code style
5564 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5566 Added deprecated support to the compilation process using
5567 HILDON_DISABLE_DEPRECATED
5569 * configure.ac: Added the --disable-deprecated to the configure
5572 * src/hildon-weekday-picker.c:
5573 * src/hildon-weekday-picker.h: Deprecated widget, example of how
5574 to use the deprecated support. We will update the other deprecated
5575 widgets status in a new patch.
5577 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5579 * configure.ac: Fixed typo with fatal warnings support, the
5580 variable name was not correct
5582 2008-09-29 Alberto Garcia <agarcia@igalia.com>
5584 * src/hildon-app-menu.c
5585 * src/hildon-program.c: Update documentation.
5587 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5589 * configure.ac: Post-release version bump.
5591 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5596 * configure.ac: Pre-release version bump.
5597 * debian/changelog: Updates.
5599 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5601 * NEWS: Update news for previous releases.
5603 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5605 * examples/hildon-touch-selector-multi-cells-example.c:
5606 (create_selector): Update the example to use
5607 hildon_touch_selector_append_column() with a NULL renderer and set
5608 the renderers later.
5609 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
5610 passed a NULL renderer. This is documented behavior now.
5612 Allow passing a NULL renderer to hildon_touch_selector_append_column().
5613 This must be used if the developer wants full control on the layout of
5614 the renderers to be added to the column.
5616 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5618 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5620 * src/hildon-touch-selector.c: Documentation fixes.
5622 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5624 * src/hildon-wizard-dialog-private.h: Remove image and box.
5625 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
5626 (hildon_wizard_dialog_set_property), (response): Completely remove
5627 image/icon support, and the containers required for the layout.
5629 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
5631 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5633 * src/hildon-app-menu.c: Updated documentation.
5635 * src/hildon-stackable-window.c
5636 (hildon_stackable_window_set_main_menu): Unref the old menu after
5637 ref'ing the new one.
5639 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5641 * src/hildon-stackable-window.c
5642 (hildon_stackable_window_set_main_menu): Unref the previous menu
5643 instead of destroying it.
5645 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
5646 floating reference and set has_user_ref_count to FALSE to make
5647 HildonAppMenu act like a normal ref-counted widget and not a
5650 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
5653 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
5655 * src/hildon-touch-selector-column.h: new file
5656 * src/hildon-touch-selector.h
5657 * src/hildon-touch-selector.c
5658 Implemented GtkCellLayout interface, in order to allow to configure
5659 the cell layout on each individual selector column
5660 (hildon_touch_selector_set_column_attributes): marked as deprecated
5661 * examples/hildon-touch-selector-multi-cells-example.c
5662 Example of how to use the GtkCellLayout interface on the selector
5664 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5666 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5668 * src/hildon-app-menu.h
5669 * src/hildon-app-menu.c
5670 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
5671 (hildon_app_menu_append, hildon_app_menu_prepend):
5672 New methods to prepend, insert and move items in the menu.
5674 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5676 * src/hildon-wizard-dialog.c:
5678 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
5680 (create_title): Update logical IDs and related code.
5681 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
5683 * src/hildon-wizard-dialog.h: Note that
5684 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
5685 point, as it is not used anymore.
5687 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
5689 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5691 * src/hildon-note.c:
5692 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
5693 shown. Do not display an icon in confirmation notes nor information
5695 (hildon_note_set_button_text): Update logical ID for cancel button.
5697 Fixes: NB#88850 (Update HildonNote button strings + signals)
5699 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5701 * src/hildon-stackable-window.c
5702 (hildon_stackable_window_set_main_menu): Fix compilation warning.
5704 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5706 * src/hildon-app-menu-private.h
5707 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
5708 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
5709 (hildon_app_menu_init, hildon_app_menu_class_init): Added
5710 temporary property 'columns' to change the number of columns.
5712 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5714 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
5716 * examples/hildon-note-example.c: (on_information_clicked),
5717 (on_confirmation_clicked), (on_progress_clicked), (main): Add
5718 debugging information.
5719 * src/hildon-note-private.h: Remove close_if_pressed_outside,
5721 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
5722 (hildon_note_rebuild): Remove special handling of tapping outside/inside
5723 in order to close: this will be handled by the WM from now on.
5725 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
5727 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5729 * src/hildon-app-menu-private.h
5730 * src/hildon-app-menu.c
5731 (hildon_app_menu_append, hildon_app_menu_add_filter)
5732 (button_visibility_changed, hildon_app_menu_apply_style)
5733 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
5734 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
5735 layout everytime a button (item or filter) is shown or hidden.
5737 * src/hildon-stackable-window.c
5738 (hildon_stackable_window_set_main_menu): Destroy the old menu when
5741 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
5743 * src/hildon-touch-selector.c:
5744 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
5745 that the treeview inside the touch selector is in fremantle hildon mode
5746 * examples/hildon-date-button-example.c
5747 * examples/hildon-picker-button-multicolumn-example.c
5748 * examples/hildon-touch-selector-entry-example.c
5749 * examples/hildon-touch-selector-example.c
5750 * examples/hildon-time-button-example.c
5751 * examples/hildon-picker-button-example.c:
5752 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
5754 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
5756 * examples/hildon-text-view-example.c: (main): Remove the
5757 gtkrc bits, now handled by the theme.
5759 2008-09-22 Alberto Garcia <agarcia@igalia.com>
5761 * src/hildon-picker-button.c (hildon_picker_button_set_active):
5764 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5766 * po/Makefile.am: Install properly the mo files.
5767 * po/en_GB.po: Update translation, to ease testing purposes.
5769 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5771 * examples/hildon-picker-button-example.c: (main): Select an item
5772 in the selector before setting it to the button.
5774 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5776 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
5777 Update button's value if the selector has an item active.
5779 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
5780 'value' with the selector)
5782 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5784 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
5785 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
5786 (hildon_picker_button_class_init): Plug the finalize method.
5787 (hildon_picker_button_set_selector): If there's a previously set
5788 selector, unref'it before setting a new one.
5790 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
5791 HildonTouchSelector)
5793 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
5795 * src/hildon-touch-selector-entry.c:
5796 (hildon_touch_selector_entry_changed): Check if there is no text
5797 selected before setting the entry text.
5800 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5802 * src/hildon-touch-selector.h
5803 * src/hildon-touch-selector.c
5804 (hildon_touch_selector_get_active)
5805 (hildon_touch_selector_set_active): New methods to set/get the
5806 index of the selected item.
5808 * src/hildon-picker-button.h
5809 * src/hildon-picker-button.c
5810 (hildon_picker_button_get_active)
5811 (hildon_picker_button_set_active): New methods to set/get the
5812 index of the selected item.
5814 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5816 * configure.ac: post-release version bump.
5818 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5822 * configure.ac: Pre-release version bump.
5823 * debian/changelog: Updates.
5824 * debian/control: Add myself as maintainer and depend on l10n
5827 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5829 * src/hildon-window.c
5830 (hildon_window_set_main_menu)
5831 * src/hildon-stackable-window.c
5832 (hildon_stackable_window_set_main_menu):
5833 Updated documentation.
5835 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5837 * src/hildon-date-selector.c (hildon_date_selector_finalize):
5838 Don't free selector->priv manually.
5841 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5844 (hildon_gtk_window_set_progress_indicator):
5845 * src/hildon-gtk.h: Added the new API
5846 hildon_gtk_window_set_progress_indicator, it changes the state of
5847 the window progress hint.
5849 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5851 * src/hildon-button.c
5852 * src/hildon-stackable-window.c: Minor documentation updates.
5854 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5856 * src/hildon-stackable-window.c: Updated documentation.
5858 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
5860 * src/hildon-defines.h: Update margins definitions
5861 to the Fremantle sizes.
5864 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5866 * src/hildon-touch-selector.c,
5867 (_hildon_touch_selector_set_model): Cleaning the code after
5868 review, removed g_print and #if 0 from the code.
5870 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5872 * src/hildon-edit-toolbar.c: Update documentation.
5874 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5876 * src/hildon-check-button.h
5877 * src/hildon-check-button.c
5878 (hildon_check_button_set_label, hildon_check_button_get_label)
5879 * examples/hildon-check-button-example.c
5880 (button_clicked_cb):
5881 Removed deprecated methods.
5883 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5885 * src/hildon-text-view.c:
5886 Add sample code to the documentation.
5888 * src/hildon-entry.h
5889 * src/hildon-text-view.h:
5890 Minor cosmetic changes.
5892 * src/hildon-entry.c:
5893 Add sample code to the documentation.
5894 (hildon_entry_init, hildon_entry_refresh_contents):
5895 Don't allow NULL values in the placeholder.
5897 2008-09-10 Alberto Garcia <agarcia@igalia.com>
5899 * doc/hildon-docs.sgml
5901 * examples/Makefile.am
5902 * examples/hildon-text-view-example.c
5904 * src/hildon-text-view.c
5905 * src/hildon-text-view.h
5907 New HildonTextView widget, with example.
5909 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5911 * po/POTFILES.in: Add missing files with translatable strings.
5912 Partially fixes NB#88287.
5914 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5916 * examples/hildon-pannable-area-example-2.c: (main): No need to
5917 set the cellrenderer height inside hildon touch lists, the theme does
5920 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5922 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
5923 they are integrated in the theme.
5925 2008-09-09 Alberto Garcia <agarcia@igalia.com>
5927 * examples/hildon-entry-example.c: Update the example adding
5928 widgets to modify the text and the placeholder of the HildonEntry.
5930 * src/hildon-entry.c: Show the placeholder everytime the widget
5931 is empty and loses the focus.
5933 2008-09-09 Alejandro G. Castro <alex@igalia.com>
5935 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
5937 * src/hildon-pannable-area.c,
5938 (hildon_pannable_area_size_request): Fixed bug in height
5939 requisition, avoid increasing size and add border twice.
5941 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5943 * configure.ac: postrelease version bump.
5945 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5949 * configure.ac: Prerelease version bump.
5950 * debian/changelog: update.
5951 * debian/rules: make -dbg package contain useful debugging symbols.
5953 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5955 * src/hildon-dialog.h
5956 * src/hildon-dialog.c
5957 (hildon_dialog_add_button, hildon_dialog_add_buttons):
5958 New methods to add buttons with finger size.
5959 (hildon_dialog_new_with_buttons):
5960 Create buttons with finger size.
5962 * examples/hildon-dialog-example.c (main): Use HildonDialog
5963 methods to add buttons.
5965 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5967 * src/hildon-entry.c: Updated HildonButton documentation.
5969 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5971 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
5972 button value label with (FALSE, FALSE) to prevent NB#88126 from
5975 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5977 * examples/hildon-pannable-area-example.c,
5978 (main): Removed examples panning a vbox inside a pannable
5979 area. Check bug NB#87965
5981 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5983 Patch contributed by Kris Rietveld (kris@imendio.com)
5985 * src/hildon-pannable-area.c,
5986 (hildon_pannable_area_get_topmost): replaced the get_geometry with
5987 get_size and get_position, this saves an X server roundtrip.
5989 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5991 * doc/hildon-docs.sgml
5993 * examples/Makefile.am
5994 * examples/hildon-entry-example.c
5996 * src/hildon-entry.c
5997 * src/hildon-entry.h
5999 New HildonEntry widget, with example.
6001 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6003 * src/hildon-button.c (hildon_button_construct_child): Pack the
6004 image with expand == fill == FALSE. This is a workaround for a bug
6007 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
6009 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6010 labels for the text column, to make it more look more dynamic.
6012 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6014 * src/hildon-time-selector.c
6015 Define gettext auxiliar macro N_
6016 (_create_minutes_model)
6017 (_create_hours_model)
6018 (_create_ampm_model): use of strftime in order to fill the model
6019 * src/hildon-date-selector.c
6020 (hildon_date_selector_finalize):
6021 (_locales_init): remove the logic related to get the name of the months
6022 using nl_langinfo, as it is not required anymore
6024 (_create_year_model)
6025 (_create_month_model)
6026 (_update_day_model): use of strftime in order to fill the model properly
6029 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6031 * src/hildon-button.h
6032 * src/hildon-button.c (hildon_button_get_image): New method to
6035 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6037 * src/hildon-touch-selector.c:
6038 (hildon_touch_selector_remove_column): Remove from the correct parent
6039 and also remove the list element and free it.
6042 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6044 * src/hildon-time-selector.c
6045 (_create_hours_model): change the range on 12h ampm format in order to use
6046 a 12-11 range instead of previous 01-12 range
6047 (hildon_time_selector_set_time): change the way to select the current time
6048 on 12h ampm format, due the change on the range
6049 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6052 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6054 * src/hildon-touch-selector.c
6055 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6056 in order to allow use this function on multiple row selection mode if
6057 the column is different that the first one
6060 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6062 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6063 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6065 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6067 * src/hildon-date-selector.h: clean some comments, now on the .c
6068 * src/hildon-date-selector.c
6069 (hildon_date_selector_select_month): first implementation
6070 (hildon_date_selector_select_day): added documentation, reimplemented
6071 using hildon_date_selector_select_current_date to avoid repeat code
6074 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6076 Reviewed interaction logic based on device experiences, refactored
6079 * src/hildon-pannable-area.c,
6080 (hildon_pannable_area_class_init): Updated default vmax speed.
6081 (hildon_pannable_area_calculate_velocity): Added this function, it
6082 avoids duplicate valocity calculation. Adjusted calculation to
6083 avoid problems with zero dist events.
6085 (hildon_pannable_area_motion_notify_cb): Now we use the
6086 calculate_velocity function.
6088 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6090 * src/hildon-date-selector.c
6091 (hildon_date_selector_select_current_date): fix the day range check
6092 as it failed using the last day of the current month
6095 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6097 * src/hildon-touch-selector.c
6098 (hildon_touch_selector_get_num_columns): added a parameter validation
6101 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6103 * examples/Makefile.am
6104 * examples/hildon-edit-toolbar-example.c: Example of the
6105 HildonEditToolbar widget.
6107 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6109 * configure.ac: postrelease version bump.
6111 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6115 * configure.ac: prerelease version bump.
6116 * debian/changelog: update.
6118 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6120 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6121 renderer to display stock icons in the touch list. Also, set the sizes
6122 to the recommended in the style guide.
6124 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6125 * src/hildon-touch-selector.h
6126 (hildon_touch_selector_set_active_iter): renamed, now is
6127 hildon_touch_selector_select_iter
6128 (hildon_touch_selector_get_active_iter): renamed, now is
6129 hildon_touch_selector_get_selected
6130 (hildon_touch_selector_unselect_iter): added
6131 * src/hildon-touch-selector.c
6132 Update after API modification (methods renamed)
6133 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6134 order to avoid problems selecting multiple elements on the column
6135 (hildon_touch_selector_unselect_iter): added the implementation
6136 * src/hildon-time-selector.c
6137 * src/hildon-date-selector.c
6138 * src/hildon-touch-selector-entry.c
6139 Update methods calls after hildon-touch-selector.h API modification (methods
6142 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6144 * src/hildon-stackable-window.c
6145 (hildon_stackable_window_finalize): Call the parent class's finalize.
6147 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6149 * examples/hildon-touch-selector-example.c: (create_selector): Use
6150 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6153 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6155 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6156 set a cell background color, to respect theming.
6158 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6160 * doc/hildon-docs.sgml
6163 * src/hildon-edit-toolbar.c
6164 * src/hildon-edit-toolbar.h
6165 * src/hildon.h: New HildonEditToolbar widget.
6167 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6169 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6172 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6173 * src/hildon-touch-selector.c
6174 (_create_new_column): use g_object_set instead of two g_object_set_property
6176 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6177 * src/hildon-touch-selector.c
6178 (_create_new_column): use of hildon_gtk_tree_view_new to create
6179 the treeview, instead of use directly g_object_new
6180 (_create_new_column): update the property name "vindicator-mode" for the
6181 new one "vscrollbar-policy"
6182 * examples/hildon-date-button-example.c
6183 * examples/hildon-picker-button-multicolumn-example.c
6184 * examples/hildon-touch-selector-entry-example.c
6185 * examples/hildon-touch-selector-example.c
6186 * examples/hildon-time-button-example.c
6187 * examples/hildon-picker-button-example.c
6188 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6189 to all the treeviews inside a pannable area.
6191 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6193 * src/hildon-button.h
6194 * src/hildon-button.c (hildon_button_init)
6195 (hildon_button_set_arrangement, hildon_button_set_alignment)
6196 (hildon_button_set_title_alignment)
6197 (hildon_button_set_value_alignment)
6198 (hildon_button_set_image_alignment)
6199 (hildon_button_construct_child): New methods to set the alignment
6200 of the individual components of the button (title, value,
6201 image). Also, new method to alter the xscale and yscale properties
6202 of the GtkAlignment inside the button, so more complex layouts can
6205 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6207 * src/hildon-button.c (hildon_button_style_set)
6208 (hildon_button_class_init, hildon_button_set_arrangement)
6209 (hildon_button_construct_child): Apply style properties
6210 correctly. Use the 'image-spacing' style property too.
6212 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6214 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6215 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6218 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6220 * src/hildon-pannable-area.c,
6221 (hildon_pannable_area_size_request): Fixed problem with
6222 pannable-area size_request.
6224 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6226 Added management for the grab-focus to a child widget, like a
6227 range, we need to fade out the scrollbar when releasing.
6229 * src/hildon-pannable-area.c,
6230 (hildon_pannable_area_init): Connected the grab-focus signal to
6232 (hildon_pannable_area_grab_notify): Added this function in order
6233 to manage the situation when the grab-focus ends. We have to
6234 fade-out the scrollbar.
6236 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6238 * src/hildon-app-menu.c: Minor documentation update.
6240 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6242 * src/hildon-app-menu.c
6243 * examples/hildon-app-menu-example.c (create_menu): Update
6244 examples and documentation to explain how to connect callbacks.
6246 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6248 * examples/hildon-button-example.c
6249 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6250 hildon_stackable_window_new instead of gtk_window_new
6252 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6254 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6255 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6256 (hildon_pannable_area_set_property),
6257 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6258 (hildon_pannable_area_unrealize),
6259 (hildon_pannable_area_size_request),
6260 (hildon_pannable_area_size_allocate),
6261 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6262 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6263 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6264 (hildon_pannable_area_initial_effect),
6265 (hildon_pannable_area_redraw),
6266 (hildon_pannable_area_scroll_indicator_fade),
6267 (hildon_pannable_area_expose_event),
6268 (hildon_pannable_area_get_topmost), (synth_crossing),
6269 (hildon_pannable_area_button_press_cb),
6270 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6271 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6272 (hildon_pannable_area_motion_notify_cb),
6273 (hildon_pannable_area_button_release_cb),
6274 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6275 (hildon_pannable_area_remove),
6276 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6277 chage the code layout to a more GtkWidget like. Review the use of
6280 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6282 * examples/hildon-pannable-area-example-4.c,
6283 (main): Modified the name of the hindicator_mode to
6286 * src/hildon-pannable-area.c,
6287 (hildon_pannable_area_class_init),
6288 (hildon_pannable_area_motion_notify_cb),
6289 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6290 we have reduced the amount of signals and managed reviewed its
6291 rationale. Changed the default decelerate value.
6293 (hildon_pannable_area_add),
6294 (hildon_pannable_area_redraw): Refactored functions.
6296 (hildon_pannable_area_init),
6297 (hildon_pannable_area_get_property),
6298 (hildon_pannable_area_set_property):
6299 (hildon_pannable_draw_vscroll),
6300 (hildon_pannable_draw_hscroll),
6301 (hildon_pannable_area_initial_effect),
6302 (hildon_pannable_area_expose_event),
6303 (hildon_pannable_area_scroll),
6304 (hildon_pannable_area_button_press_cb),
6305 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6306 and vindicator_mode with hscrollbar_policy and
6307 vscrollbar_policy. Replaced hscroll and vscroll with
6308 hscroll_visible and vscroll_visible.
6310 (hildon_pannable_area_refresh): Refactor the function, remove
6311 variables and check the calls to this function, added resize
6312 conditions in case the children change their layout.
6314 (hildon_pannable_area_size_request): Added more detailed
6315 size_request calculation.
6318 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6320 * src/hildon-color-chooser.c
6321 (init_borders): use the correct gtk_border_free instead of g_free, to
6322 avoid a crash when this widget is used (ie: the three color selection
6325 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6327 * src/hildon-check-button.c,
6328 (hildon_check_button_set_active): Fixed problem when setting the
6329 active value, the widget was not redrawn.
6331 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6333 * src/hildon-pannable-area.c,
6334 (hildon_pannable_area_refresh),
6335 (hildon_pannable_area_scroll),
6336 (hildon_pannable_area_motion_notify_cb): Small code style change.
6338 (hildon_pannable_area_class_init): Default initial_hint set to
6339 FALSE, it is not in the specs.
6341 (hildon_pannable_area_initial_effect),
6342 (hildon_pannable_area_expose_event),
6343 (hildon_pannable_area_map),
6344 (hildon_pannable_area_init): Moved the launching point of the
6345 initial effect, it was in map but the sizes where not correct in
6346 that method so we do not know if we have the reproduce it. Now it
6347 is placed in the expose_event method and uses a variable to
6348 reproduce it just once.
6350 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6352 * src/hildon-pannable-area.c,
6353 (hildon_pannable_draw_vscroll),
6354 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6355 position allowed for the scrollbars.
6357 (hildon_pannable_area_size_allocate): Small style change.
6359 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6361 * src/hildon-pannable-area.c,
6362 (hildon_pannable_area_scroll_indicator_fade),
6363 (hildon_pannable_area_button_press_cb),
6364 (hildon_pannable_area_button_release_cb),
6365 (hildon_pannable_area_scroll_cb),
6366 (hildon_pannable_area_expose_event),
6367 (hildon_pannable_area_init): Added the define parameter
6368 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6369 and refactor the fade variable.
6371 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6373 * src/hildon-pannable-area.c,
6374 (hildon_pannable_area_redraw),
6375 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6376 lines, we were reimplemeting the redraw code.
6378 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6380 * src/hildon-pannable-area.c,
6381 (hildon_pannable_area_scroll_cb),
6382 (hildon_pannable_area_realize),
6383 (hildon_pannable_area_class_init): Added scroll_event management
6384 for pannable area, now we can scroll the usual desktop method.
6386 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6387 initialization of the parameters should depend on idle_id.
6389 (hildon_pannable_area_init),
6390 (hildon_pannable_area_map): Small code style modifications
6392 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6394 * src/hildon-pannable-area.c
6395 (hildon_pannable_area_button_press_cb),
6396 (hildon_pannable_area_motion_notify_cb),
6397 (hildon_pannable_area_button_release_cb),
6398 (hildon_pannable_area_size_allocate),
6399 (hildon_pannable_area_scroll_to): Improved the timeouts
6400 management, we avoid creating them each time.
6402 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6404 * src/hildon-pannable-area.c:
6405 (hildon_pannable_area_refresh),
6406 (hildon_pannable_area_motion_notify_cb),
6407 (hildon_pannable_area_class_init):
6408 * src/hildon-pannable-area.h:
6409 * src/hildon-touch-selector.c
6410 (_create_new_column):
6411 * examples/hildon-pannable-area-example-4.c:
6412 (horizontal_movement),
6413 (vertical_movement),
6415 Replaced the names of enums in the HildonPannableArea:
6416 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6417 HILDON_MOVEMENT_MODE_*
6418 - HILDON_PANNABLE_AREA_MOV_* ->
6420 - Removed HildonPannableAreaIndicatorMode, now we
6423 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6425 * examples/hildon-pannable-area-touch-grid-example.c
6426 * examples/hildon-pannable-area-touch-list-example.c: Fix
6427 compilation warnings.
6429 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6431 * src/hildon-gtk.c (hildon_gtk_button_new)
6432 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6433 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6434 images overriding the value of the "gtk-button-images" setting.
6436 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6438 * src/hildon-check-button.c (hildon_check_button_new):
6439 Instead of using a custom container, display the label and the
6440 checkbox using the standard GtkButton API.
6442 * examples/hildon-check-button-example.c (main): Don't use
6443 hildon_check_button_set_label() anymore
6445 * src/hildon-check-button.h
6446 * src/hildon-check-button.c
6447 (hildon_check_button_set_label, hildon_check_button_get_label):
6448 Set as deprecated, now we're using gtk_button_{get,set}_label()
6450 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6452 * src/hildon-pannable-area.c,
6453 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6454 GtkTreeview first line we detected it after the inclusion of the
6455 GtkWindowImpl in gtk+. We now check if the window is visible, not
6456 just if the pointer is over the window.
6457 (hildon_pannable_axis_scroll),
6458 (hildon_pannable_area_expose_event): Small style changes.
6460 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6462 * src/hildon-button.c: Update documentation.
6464 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6466 * examples/hildon-button-example.c: Add a switch to show images in
6469 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6471 * doc/hildon-docs.sgml: Some docs reorganization.
6473 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6475 * examples/hildon-pannable-area-touch-list-example.c
6477 * examples/hildon-pannable-area-touch-grid-example.c
6478 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6479 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6480 Fix memory leak when setting the tree model.
6482 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6486 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6488 * doc/hildon.types: Remove duplicated hildon_window_get_type
6489 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6490 documentation comment.
6492 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6494 * doc/Makefile.am: Complete list of private headers.
6496 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6498 * doc/hildon-docs.sgml
6499 * src/hildon-app-menu.c
6500 * src/hildon-bread-crumb.c
6501 * src/hildon-button.c
6503 * src/hildon-program.c
6504 * src/hildon-stackable-window.c
6505 * src/hildon-window.c: Lots of documentation updates.
6507 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6509 * debian/control: Depend on Gtk 2:2.12.9-0osso3
6511 * configure.ac: Require Gtk+ 2.12.9 at least
6513 2008-08-12 Alejandro G. Castro <alex@igalia.com>
6515 * src/hildon-pannable-area.c
6516 (hildon_pannable_area_scroll_indicator_fade),
6517 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6518 to protect the return of this timeout callbacks, avoiding deadlocks.
6520 2008-08-12 Christian Dywan <christian@imendio.com>
6523 * src/hildon-*.h: Ensure a consistent include order,
6524 include <gtk/gtk.h> instead of particular files and
6525 only include the topmost header in the gtk stack. See NB #39857
6527 2008-08-12 Christian Dywan <christian@imendio.com>
6529 * src/hildon-picker-dialog.c
6530 * src/hildon-touch-selector.c: Fix warnings about unused and
6531 uninitialized variables.
6533 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6535 * examples/Makefile.am
6536 * examples/hildon-check-button-example.c: Example of the hildon
6539 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6541 * src/hildon-window.h
6542 * src/hildon-window.c (hildon_window_class_init)
6543 (hildon_window_unset_program): Don't make
6544 hildon_window_unset_program a virtual function anymore.
6546 * src/hildon-stackable-window.c: Update documentation
6548 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6551 * doc/hildon-docs.sgml
6552 * doc/visual_index.xml
6553 * src/hildon-defines.c
6555 * src/hildon-helper.c
6556 * src/hildon-range-editor.c: Lots of documentation fixes.
6558 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6560 * examples/hildon-picker-button-multicolumn-example.c
6561 (create_touch_selector): Fix compilation warning.
6563 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6565 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
6566 (hildon_pannable_area_button_release_cb)
6567 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6569 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6571 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
6574 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6576 * src/hildon-bread-crumb-trail.h
6577 * src/hildon-date-editor.c
6578 * src/hildon-date-selector.c
6579 * src/hildon-pannable-area.c
6580 * src/hildon-picker-dialog.c
6581 * src/hildon-time-selector.c
6582 * src/hildon-touch-selector-entry.c
6583 * src/hildon-touch-selector.c
6584 * src/hildon-touch-selector.h: Misc documentation fixes
6586 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6588 * examples/hildon-date-editor-example.c (main): Updated date
6591 * examples/hildon-note-example.c (on_confirmation_clicked):
6592 Updated confirmation note example.
6594 * src/hildon-date-editor.c
6595 * src/hildon-note.c: Updated sample programs in documentation.
6598 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6600 * src/hildon-date-button.h:
6601 * src/hildon-picker-button.h:
6602 * src/hildon-time-button.c:
6603 * src/hildon-time-button.h:
6605 Some declarations changes to allow gtk-doc to document the widgets
6608 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6610 * src/hildon-date-button.c: Document the widget.
6611 * src/hildon-time-button.c: Document the widget.
6613 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6615 * src/hildon-picker-button.c: Document the widget.
6616 * src/hildon-touch-selector-entry.c: Document the widget.
6618 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6620 * doc/hildon-docs.sgml
6623 * src/hildon-check-button.h
6624 * src/hildon-check-button.c: New functions to create the Hildon
6628 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
6630 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6632 * src/hildon-button.h
6633 * src/hildon-button.c
6634 (hildon_button_add_title_size_group)
6635 (hildon_button_add_value_size_group)
6636 (hildon_button_add_image_size_group)
6637 (hildon_button_add_size_groups): New functions to set size groups
6638 for the button labels and image.
6639 (hildon_button_new_full): Removed
6641 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
6643 * src/hildon-time-selector.c
6644 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
6645 in order to avoid a crash if gconf is not available
6647 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6649 * src/hildon-button.c (hildon_button_set_arrangement)
6650 (hildon_button_construct_child): Don't construct the button child
6651 before setting the arrangement.
6653 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6655 * src/hildon-program-private.h
6656 * src/hildon-program.c
6657 * src/hildon-program.h
6658 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
6659 (hildon_program_peek_window_stack)
6660 (hildon_program_pop_window_stack)
6661 (hildon_program_go_to_root_window): HildonProgram now has a
6662 separate list for stackable windows. Functions are provided to
6663 manage that list with a stack-like API.
6665 * src/hildon-stackable-window.c: Stackable window management is
6666 now much simpler with the new HildonProgram API. Windows no
6667 longer need to be manually added to the program, they're
6668 automatically pushed to the top of the stack when shown.
6670 * examples/hildon-stackable-window-example.c: Updated example to
6671 reflect the API changes.
6673 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6675 * src/hildon-touch-selector.c: Comment out unimplemented
6676 hildon_touch_selector_insert_column() to avoid a compile warning.
6678 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6680 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6681 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
6682 (hildon_touch_selector_set_column_selection_mode),
6683 (_hildon_touch_selector_set_model),
6684 (hildon_touch_selector_set_model):
6686 Complete review of HildonTouchSelector documentation.
6688 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6690 * doc/hildon-docs.sgml
6694 * src/hildon-gtk.c: Convenience functions for standard Gtk
6695 widgets, used to easily perform frequent operations.
6697 * src/hildon-button-helpers.h
6698 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
6700 * src/hildon-helper.h
6701 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
6702 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
6704 * src/hildon-button.h
6705 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
6707 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6709 * src/hildon-button.c (hildon_button_init)
6710 (hildon_button_set_arrangement, hildon_button_construct_child):
6711 Pack the image and the labels inside the same GtkAlignment so
6712 gtk_button_set_alignment() can be used
6714 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6716 * src/hildon-button.h
6717 * src/hildon-button.c
6718 (hildon_button_init, hildon_button_set_image)
6719 (hildon_button_set_image_position)
6720 (hildon_button_construct_child): New functions to add an image to
6723 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6725 * src/hildon-date-button.c
6726 * src/hildon-picker-button.c
6727 * src/hildon-time-button.c
6728 * src/hildon-button.c:
6729 (hildon_button_class_init): "size-flags" renamed to "size"
6730 (hildon_button_set_title): Hide the title label if set to NULL.
6732 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6734 HildonButtonFlags split into HildonButtonArrangement (to set the
6735 button layout) and HildonSizeType (which can be used for any
6738 * src/hildon-button.h
6739 * src/hildon-button.c
6740 (hildon_button_class_init)
6741 (hildon_button_set_arrangement)
6742 (hildon_button_set_property): New "size-flags"
6743 property. "arrangement-flags" renamed to "arrangement".
6744 (hildon_button_new, hildon_button_new_with_text)
6745 (hildon_button_new_full): Constructors updated to reflect type changes.
6747 * src/hildon-helper.h
6748 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
6749 to set the size of a widget.
6753 * src/hildon-button-helpers.c
6754 * src/hildon-button-helpers.h: New hildon-button-helpers module.
6756 * src/hildon-date-button.c
6757 * src/hildon-date-button.h
6758 * src/hildon-picker-button.c
6759 * src/hildon-picker-button.h
6760 * src/hildon-time-button.c
6761 * src/hildon-time-button.h: Updated widgets to reflect
6762 HildonButton API changes.
6764 * examples/hildon-button-example.c
6765 * examples/hildon-date-button-example.c
6766 * examples/hildon-picker-button-example.c
6767 * examples/hildon-picker-button-multicolumn-example.c
6768 * examples/hildon-time-button-example.c
6769 * examples/hildon-touch-selector-entry-example.c
6770 * examples/hildon-touch-selector-example.c: Updated examples to
6771 reflect HildonButton API changes.
6773 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6775 * doc/hildon-docs.sgml:
6777 * examples/Makefile.am:
6778 * examples/hildon-touch-selector-entry-example.c:
6780 * src/hildon-touch-selector-entry.c:
6781 * src/hildon-touch-selector-entry.h:
6784 Moved HildonTouchSelectorEntry from sandbox. Added its
6785 documentation and examples.
6787 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6789 * src/hildon-touch-selector.h:
6790 * examples/hildon-picker-button-multicolumn-example.c:
6791 (hildon_touch_selector_append_text_column): Add a gboolean
6792 parameter to determine if text must be centered in the column.
6794 * src/hildon-date-selector.c: (hildon_date_selector_init):
6795 * src/hildon-time-selector.c: (hildon_time_selector_init):
6796 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
6797 (create_touch_selector): Update widgets and example to reflect
6800 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6802 * src/hildon-touch-selector.c:
6803 (hildon_touch_selector_set_active_iter): Set also the cursor in
6806 2008-08-06 Alberto Garcia <agarcia@igalia.com>
6808 * doc/hildon-docs.sgml
6811 * src/hildon-toggle-button.c
6812 * src/hildon-toggle-button.h
6813 * src/hildon.h: Removed HildonToggleButton widget, a derived
6814 class is not necessary for this.
6816 2008-08-06 Alejandro G. Castro <alex@igalia.com>
6818 * src/hildon-pannable-area.c,
6819 (hildon_pannable_area_realize),
6820 (hildon_pannable_area_size_allocate): Code refactoring, add tests
6823 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
6825 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
6826 "done" button the default widget for the dialog.
6828 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6830 * src/hildon-touch-selector.c:
6831 (hildon_touch_selector_class_init),
6832 (hildon_touch_selector_get_property),
6833 (_hildon_touch_selector_set_model),
6834 (_hildon_touch_selector_has_multiple_selection),
6835 (hildon_touch_selector_has_multiple_selection):
6836 Add a "has-multiple-selection" property with a virtual
6837 has_multiple_selection() method to allow derived classes to
6838 override the default value for it. See the method and property
6839 documentation for details.
6841 * src/hildon-touch-selector.h: Add the new API.
6843 * src/hildon-picker-dialog.c: (requires_done_button): Call
6844 hildon_touch_selector_has_multiple_selection() instead of
6845 determining the need for a button itself.
6847 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6849 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6850 (_hildon_touch_selector_set_model),
6851 (hildon_touch_selector_set_model): Move working code to
6852 _hildon_touch_selector_set_mode(). Call the class method instead.
6854 * src/hildon-touch-selector.h: Add (*set_model) to
6855 HildonTouchSelectorClass.
6857 Make hildon_touch_selector_set_model() a virtual method, so that
6858 derived classes can extend it and do fancy stuff with the model.
6860 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6862 * configure.ac: Set back the tarname in AC_INIT to hildon.
6864 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6868 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
6869 instead of libesd (NB#86876). Volume handling is still an open issue.
6871 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
6874 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6876 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
6877 (hildon_touch_selector_append_column): Make the widget a GtkVBox
6878 derived class to ease placement of an entry widget in
6879 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
6880 end, where the selector columns are packed now.
6882 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6884 * src/hildon-picker-button.c: Removed the simple _text() API.
6885 * src/hildon-picker-button.h: Likewise.
6887 * src/hildon-touch-selector.h:
6888 * src/hildon-touch-selector.c:
6889 (hildon_touch_selector_new_text),
6890 (hildon_touch_selector_append_text),
6891 (hildon_touch_selector_prepend_text),
6892 (hildon_touch_selector_insert_text):
6894 Moved the simple _text() API from HildonPickerButton to
6895 HildonTouchPicker, to provide better escalability and not to tie
6896 that API to HildonPickerButton.
6898 * examples/hildon-picker-button-example.c: (main): Example updated.
6900 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6902 * src/hildon-button.c: Updated documentation.
6904 * examples/hildon-button-example.c: Add the posibility to create
6905 the buttons using horizontal layout for title and value.
6907 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6909 * src/hildon-app-menu-private.h
6910 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
6911 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
6912 GtkSizeGroup for the filters, use the 'homogeneous' property of
6915 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6917 * examples/hildon-button-example.c: Updated example.
6919 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
6921 * doc/hildon-docs.sgml:
6924 Update documentation.
6926 * examples/Makefile.am: Update renamed examples.
6928 * examples/hildon-picker-button-multicolumn-example.c:
6929 (create_touch_selector), (main): Update after the rename.
6931 * examples/hildon-touch-picker-example.c: Removed.
6932 * examples/hildon-touch-selector-example.c: (value_changed),
6933 (create_selector), (get_visible_content), (main): Renamed from
6934 hildon-touch-picker-example.c
6936 * src/Makefile.am: Updated renamed files.
6938 * src/hildon-date-button.c: (hildon_date_button_init),
6939 (hildon_date_button_get_date), (hildon_date_button_set_date):
6940 * src/hildon-date-selector.c: (hildon_date_selector_init),
6941 (_custom_print_func), (_update_day_model),
6942 (_manage_selector_change_cb),
6943 (hildon_date_selector_select_current_date),
6944 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
6945 * src/hildon-date-selector.h:
6946 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6947 (hildon_picker_button_set_property),
6948 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6949 (hildon_picker_button_init), (hildon_picker_button_new_text),
6950 (hildon_picker_button_append_text),
6951 (hildon_picker_button_prepend_text),
6952 (hildon_picker_button_insert_text),
6953 (hildon_picker_button_set_selector),
6954 (hildon_picker_button_get_selector):
6955 * src/hildon-picker-button.h:
6956 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
6957 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
6958 (_update_title_on_selector_changed_cb), (requires_done_button),
6959 (_hildon_picker_dialog_set_selector),
6960 (hildon_picker_dialog_set_selector),
6961 (hildon_picker_dialog_get_selector):
6962 * src/hildon-picker-dialog.h:
6963 * src/hildon-time-button.c: (hildon_time_button_init),
6964 (hildon_time_button_get_time), (hildon_time_button_set_time):
6965 * src/hildon-time-selector.c: (hildon_time_selector_init),
6966 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
6967 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
6968 * src/hildon-time-selector.h:
6971 Massive code updates after the rename.
6973 * src/hildon-touch-picker.c: Removed.
6974 * src/hildon-touch-picker.h: Removed.
6976 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6977 (hildon_touch_selector_init), (hildon_touch_selector_map),
6978 (hildon_touch_selector_remove), (_default_print_func),
6979 (_selection_changed_cb), (_create_new_column),
6980 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
6981 (hildon_touch_selector_append_text_column),
6982 (hildon_touch_selector_remove_column),
6983 (hildon_touch_selector_set_column_attributes),
6984 (hildon_touch_selector_insert_column),
6985 (hildon_touch_selector_get_num_columns),
6986 (hildon_touch_selector_get_column_selection_mode),
6987 (hildon_touch_selector_set_column_selection_mode),
6988 (hildon_touch_selector_set_print_func),
6989 (hildon_touch_selector_get_print_func),
6990 (hildon_touch_selector_get_active_iter),
6991 (hildon_touch_selector_set_active_iter),
6992 (hildon_touch_selector_get_selected_rows),
6993 (hildon_touch_selector_get_model),
6994 (hildon_touch_selector_set_model),
6995 (hildon_touch_selector_get_current_text),
6996 (_hildon_touch_selector_center_on_selected_items):
6997 * src/hildon-touch-selector.h: Renamed from
6998 hildon-touch-picker.[ch]
7000 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7001 references, code examples, and related documentation.
7003 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7005 * doc/hildon-docs.sgml
7008 * src/hildon-toggle-button.c
7009 * src/hildon-toggle-button.h
7010 * src/hildon.h: New HildonToggleButton widget.
7012 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7014 * src/hildon-button.c: Add API documentation.
7015 (hildon_button_set_size_groups): Check input parameters
7017 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7019 * src/hildon-pannable-area.c
7020 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7021 effect after reaching the movement thredshold. This way we start
7022 using the distance after passing the thredshold.
7024 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7026 * src/hildon-button.c: (hildon_button_set_property): Use the
7027 appropriate g_value_get_flags() method.
7029 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7031 * doc/hildon-docs.sgml:
7034 Add the touch pickers, picker dialogs, and picker button widgets
7035 to the documentation.
7037 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7039 * src/hildon-button.c: (hildon_button_set_property),
7040 (hildon_button_class_init): Make "arrangement-flags" a proper
7041 G_TYPE_FLAGS derived property.
7043 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7045 * examples/Makefile.am: Add below examples.
7046 * examples/hildon-date-button-example.c:
7047 * examples/hildon-picker-button-example.c:
7048 * examples/hildon-picker-button-multicolumn-example.c:
7049 * examples/hildon-time-button-example.c:
7050 * examples/hildon-touch-picker-example.c:
7052 Add examples for the recently added touch pickers,
7053 picker dialogs, and picker button widgets.
7055 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7057 * src/hildon-button.c: Add some API documentation
7059 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7061 * src/hildon-button.h
7062 * src/hildon-button.c
7064 (hildon_button_new_with_text): New constructor to create a button
7065 with no text at all.
7066 (hildon_button_init, hildon_button_set_arrangement)
7067 (hildon_button_set_title, hildon_button_set_value)
7068 (hildon_button_set_text)
7069 (hildon_button_construct_child): Hide the value when it's not used
7070 so the rest of the text is properly aligned.
7071 Allow creating buttons with arbitrary widgets inside (not just
7072 title/value labels).
7074 * examples/hildon-button-example.c (vertical_buttons_window)
7075 (horizontal_buttons_window): Update example to use new API.
7077 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7079 * src/Makefile.am: Added HildonTimeButton.
7080 * src/hildon-time-button.c: Added missing LGPL header.
7081 * src/hildon-time-button.h: Added missing LGPL header.
7082 * src/hildon.h: Add hildon-time-button.h
7084 Copied HildonTimeButton from sandbox to trunk. Future work on this
7085 widget must take place in trunk.
7087 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7089 * src/Makefile.am: Added HildonDateButton.
7090 * src/hildon-date-button.c: Update includes.
7091 * src/hildon.h: Add hildon-date-button.h
7093 Copied HildonDateButton from sandbox to trunk. Future work on this
7094 widget must take place in trunk.
7096 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7098 * src/Makefile.am: Added HildonPickerButton.
7099 * src/hildon-picker-button.h: Update includes.
7100 * src/hildon.h: Add hildon-picker-button.h
7102 Copied HildonPickerButton from sandbox to trunk. Future work on
7103 this widget must take place in trunk.
7105 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7107 * src/Makefile.am: Added HildonPickerDialog.
7108 * src/hildon-picker-dialog.c: Update includes.
7109 * src/hildon.h: Add hildon-picker-dialog.h
7111 Copied HildonPickerDialog from sandbox to trunk. Future work
7112 on this widget must take place in trunk.
7114 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7116 * src/Makefile.am: Added HildonTimeSelector.
7117 * src/hildon.h: Add hildon-time-selector.h
7119 Copied HildonTimeSelector widget from sandbox to trunk. Future
7120 work on this widget must happen in trunk.
7122 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7124 * src/Makefile.am: Added HildonDateSelector.
7125 * src/hildon.h: Add hildon-date-selector.h
7127 Copied HildonDateSelector widget from sandbox to trunk. Future
7128 work on this widget must happen in trunk.
7130 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7132 * src/Makefile.am: Added HildonTouchPicker.
7133 * src/hildon-touch-picker.c: Update includes.
7134 * src/hildon.h: Add hildon-touch-picker.h
7136 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7137 on this widget must happen in trunk.
7139 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7141 * src/hildon-pannable-area.c:
7142 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7144 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7146 * examples/hildon-app-menu-example.c (main): Let the window
7149 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7151 * src/hildon-pannable-area.c
7152 (hildon_pannable_area_class_init): Set the min value of the
7153 overshoot properties to zero, which points out that not
7154 overshooting allowed.
7156 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7158 Modified the procedure to get the widget at a point inside the
7159 pannable area when using the movement type signals. Now the user
7160 has to call a function to get the child, that way we just
7161 calculate the child in case the user really want to use it and not
7164 * src/hildon-marshalers.list: Modified the marshallers, now we do
7165 not have the widget as a parameter.
7167 * src/hildon-pannable-area.c
7168 (hildon_pannable_area_motion_notify_cb),
7169 (hildon_pannable_area_class_init),
7170 (hildon_pannable_get_child_widget_at): Removed the widget
7171 parameter from the signal callback. We have also refactored the
7172 emission of the signals.
7174 * src/hildon-pannable-area.h: Added a new method to the API to
7175 calculate a widget at a point inside the pannable area,
7176 hildon_pannable_get_child_widget_at.
7178 * examples/hildon-pannable-area-example-4.c
7179 (horizontal_movement): Modified the example to use the new API,
7180 added condition to control which widget is under the event. This
7181 way we can avoid scrolling laterally over other widgets.
7183 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7185 * src/hildon-pannable-area.c
7186 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7187 modes, we stop getting the pointer events due to returning the
7188 callback without properly calling the get pointer again. Fixed
7189 also an error using the hscroll and vscroll.
7191 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7193 * src/hildon-app-menu-private.h
7194 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7195 (hildon_app_menu_button_release, hildon_app_menu_init)
7196 (hildon_app_menu_class_init): Don't hide the menu on button
7197 release if the user didn't press outside first.
7199 * src/hildon-window.h
7200 * src/hildon-window.c (hildon_window_toggle_menu)
7201 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7202 hildon_window_toggle_menu a virtual function for the stackable
7203 window to override it.
7205 * src/hildon-stackable-window.h
7206 * src/hildon-stackable-window-private.h
7207 * src/hildon-stackable-window.c
7208 (hildon_stackable_window_realize)
7209 (hildon_stackable_window_finalize)
7210 (hildon_stackable_window_class_init)
7211 (hildon_stackable_window_init)
7212 (hildon_stackable_window_set_main_menu): New function to set the
7213 app menu of a HildonStackableWindow.
7215 * examples/hildon-app-menu-example.c: Remove the button to show
7216 the app menu, now it'll be shown when clicking on the title bar
7219 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7221 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7222 set the widget name if the arrangement flags do not specify
7225 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7227 * src/hildon-button.c: (hildon_button_set_property),
7228 (hildon_button_class_init), (hildon_button_new_full),
7229 (hildon_button_set_arrangement): Added "arrangement-flags"
7232 Make the HildonButtonFlags a construction-only property, to allow
7233 subclasses to set them properly.
7235 2008-07-21 Tim Janik <timj@imendio.com>
7237 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7238 insertion position after backspace, so additional digits are appended,
7241 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7243 * src/hildon-pannable-area.c,
7244 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7245 TODO list, it was complete and removed the g_debug and g_print
7248 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7250 Added the movement modes to the hildon-pannable-area, with this
7251 modes the developers can control in which directions the widget
7252 can scroll. They can also connect to signals in order to do
7253 something when that happens, allowing applications scroll. There
7254 is an example uploaded showing how to use it.
7256 * examples/Makefile.am:
7257 * examples/hildon-pannable-area-example-4.c: Added this example of
7258 an application using the modes.
7260 * src/hildon-marshalers.list: Added a new marshaller for the new
7263 * src/hildon-pannable-area.h: Added new enumerations and flags in
7264 order to control the movement modes and the new signals to warn
7265 about the movements in the area.
7267 * src/hildon-pannable-area.c:
7268 (hildon_pannable_axis_scroll),
7269 (hildon_pannable_area_scroll),
7270 (hildon_pannable_area_motion_notify_cb),
7271 (hildon_pannable_area_get_property),
7272 (hildon_pannable_area_set_property),
7273 (hildon_pannable_area_map),
7274 (hildon_pannable_area_class_init),
7275 (hildon_pannable_area_init),
7276 (hildon_pannable_area_jump_to): Added the modes to control the
7277 movement in the widget. We have added properties to control it,
7278 signals to warn about the movements and refactored some code.
7280 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7282 Changes required in order to allow vfast_factor set to zero to
7285 * src/hildon-pannable-area.c:
7286 (hildon_pannable_area_button_press_cb): Changed the condition, it
7287 is required for not allowing click when vfast_factor is zero.
7288 (hildon_pannable_area_timeout): Initialized velocity variables
7289 when we stop moving, it was less than 1 but not zero and we need
7290 to check zero in some situations.
7291 (hildon_pannable_area_class_init): Changed the default value of
7292 the speed factor, now the button_press is just sent in case the
7293 speed is 2 per cent of the max speed.
7294 (hildon_pannable_area_init): Initialization with 0.
7296 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7298 * src/hildon-pannable-area.c,
7299 (hildon_pannable_area_get_topmost): replaced
7300 gdk_window_get_children with gdk_window_peek_children, this way we
7301 do not have to free the list because it is not a copy.
7303 (hildon_pannable_axis_scroll),
7304 (hildon_pannable_area_scroll),
7305 (hildon_pannable_area_timeout),
7306 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7307 two parameters that were only used inside the
7308 hildon_pannable_area_scroll function.
7310 * examples/hildon-pannable-area-example.c,
7311 (get_sawtooth_label): Fixed small memory leak.
7313 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7315 More checks for the case where the overshoot is bigger than the
7318 * src/hildon-pannable-area.c:
7319 (hildon_pannable_draw_vscroll),
7320 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7321 to draw the slider of the scrollbar under the other scrollbar.
7322 (hildon_pannable_area_expose_event): added new checks to control
7323 the drawing of the overshooting area rectangle, in case it is too
7324 big for the area of the widget.
7325 (hildon_pannable_area_size_allocate): add more checks to avoid
7326 setting a position to the child widget outside the area.
7328 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7330 * src/hildon-pannable-area.c
7331 (hildon_pannable_area_size_allocate): Added conditions to control
7332 when overshooting is bigger than the allocated space for the
7333 children, this avoids negative allocations.
7335 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7337 * doc/hildon-docs.sgml
7339 * examples/Makefile.am
7340 * examples/hildon-button-example.c
7342 * src/hildon-button.c
7343 * src/hildon-button.h
7344 * src/hildon.h: Initial version of the new HildonButton widget,
7347 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7349 * src/hildon-pannable-area.c:
7350 (hildon_pannable_area_button_press_cb),
7351 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7352 (hildon_pannable_area_motion_notify_cb),
7353 (hildon_pannable_area_button_release_cb),
7354 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7355 (hildon_pannable_area_jump_to_child):
7357 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7359 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7361 * examples/Makefile.am
7362 * examples/hildon-pannable-area-touch-grid-example.c
7363 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7364 the Hildon Touch List and Hildon Touch Grid using the
7365 HildonPannableArea widget.
7367 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7369 * src/hildon-pannable-area.c,
7370 (hildon_pannable_area_button_press_cb),
7371 (hildon_pannable_area_refresh),
7372 (hildon_pannable_area_scroll),
7373 (hildon_pannable_area_motion_notify_cb),
7374 (hildon_pannable_area_button_release_cb),
7375 (hildon_pannable_area_expose_event),
7376 (hildon_pannable_area_add),
7377 (hildon_pannable_area_remove),
7378 (hildon_pannable_area_realize),
7379 (hildon_pannable_area_size_allocate),
7380 (hildon_pannable_area_class_init),
7381 (hildon_pannable_area_init),
7382 (hildon_pannable_area_scroll_to_child),
7383 (hildon_pannable_area_jump_to_child): Fixed the problem of
7384 removing the child from the GtkBin, we have rearranged the widget
7385 hierarchy, now there is no GtkAlignment which was not doing
7386 anything interesting but breaking some of the assumptions of
7387 GtkContainer. Now developers if they want to add a GtkAlignment
7388 they could, but it is not inside the area.
7390 We had to review the whole allocation/expose process, now it is
7391 improved and we save at least three signals which would be saving
7392 some time when rendering the widget. The allocation of the
7393 scrollbars is now made in the allocate method as usual.
7395 We have also added some conditions in order to control when there
7396 is no child of the pannable area. Maybe we will need more work
7399 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7401 * src/hildon-pannable-area.c,
7402 (hildon_pannable_area_dispose): Released the fade-out timeout when
7403 disposing the widget.
7405 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7407 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7408 zero, we are going to use that property in order to deactivate the
7410 (hildon_pannable_axis_scroll),
7411 (hildon_pannable_area_size_allocate): Added conditions to control
7412 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7413 call, now it is called in all situations and we can remove calls
7414 in the allocate method.
7415 (hildon_pannable_area_map): Control the situation when
7416 overshoot_max is zero, we do not need the timeout.
7417 (hildon_pannable_area_class_init): Added documentation in order to
7418 point out that setting zero to overshoot_max means deactivate
7421 NOTE: removed trailing whitespaces from my previous comments of
7424 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7426 * src/hildon-pannable-area.c
7427 (hildon_pannable_area_get_property),
7428 (hildon_pannable_area_set_property),
7429 (hildon_pannable_area_map),
7430 (hildon_pannable_area_class_init),
7431 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7432 to cause the widget give a hint about its panning abilities upon
7435 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7437 * src/hildon-pannable-area.c: Several documentation improvements.
7439 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7441 * src/hildon-program.c
7442 * src/hildon-stackable-window.c: Update documentation.
7444 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7446 * src/hildon-stackable-window.c (get_previous_window_if_last):
7447 Renamed get_last_window()
7448 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7449 (hildon_stackable_window_unset_program):
7451 (get_previous_window_if_last):
7452 Detect if the window hasn't been added to a HildonProgram.
7454 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7456 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7458 * src/hildon-pannable-area.c
7459 (hildon_pannable_area_button_press_cb),
7460 (hildon_pannable_axis_scroll),
7461 (hildon_pannable_area_scroll),
7462 (hildon_pannable_area_timeout),
7463 (hildon_pannable_calculate_vel_factor),
7464 (hildon_pannable_area_get_property),
7465 (hildon_pannable_area_set_property),
7466 (hildon_pannable_area_class_init),
7467 (hildon_pannable_area_init),
7468 (hildon_pannable_area_scroll_to),
7469 (hildon_pannable_area_jump_to),
7470 (hildon_pannable_area_scroll_to_child),
7471 (hildon_pannable_area_jump_to_child):
7472 * src/hildon-pannable-area.h: Added the new API functions:
7473 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7474 hildon_pannable_area_scroll_to_child,
7475 hildon_pannable_area_jump_to_child
7478 * examples/Makefile.am
7479 * examples/hildon-pannable-area-example-2.c
7480 * examples/hildon-pannable-area-example-3.c: Added these two new
7481 examples in order to test and show how the new APIs work.
7483 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7485 * examples/hildon-stackable-window-example.c (new_window):
7486 * src/Makefile.am (noinst_HEADERS):
7487 * src/hildon-program.c (hildon_program_go_to_root_window):
7488 * src/hildon-program.h:
7489 * src/hildon-stackable-window-private.h:
7490 * src/hildon-stackable-window.c:
7491 * src/hildon-stackable-window.h:
7492 Create hildon-stackable-window-private.h
7493 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7495 * examples/hildon-app-menu-example.c (create_menu):
7496 * examples/hildon-hvolumebar-insensitive-example.c (main):
7497 * examples/hildon-hvolumebar-timer-example.c (on_idle):
7498 * examples/hildon-toolbar-seekbar-example.c (main):
7499 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7500 * src/hildon-banner.c (hildon_banner_set_property):
7501 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7502 Fix compilation warnings
7504 * src/hildon-window.c:
7507 2008-06-24 Alberto Garcia <agarcia@igalia.com>
7509 * src/hildon-stackable-window.c
7510 (hildon_stackable_window_unset_program):
7511 Calculate correctly whether to show the previous window if the
7512 last one is removed from the stack.
7513 (hildon_stackable_window_go_to_root_window):
7514 Send delete events starting from the topmost window.
7515 Stop if one of the windows is not destroyed.
7517 (hildon_stackable_window_delete_event)
7518 (hildon_stackable_window_class_init):
7519 Ignore the delete event if the window is not the topmost one.
7521 2008-06-24 Alejandro G. Castro <alex@igalia.com>
7523 * src/hildon-pannable-area.c
7524 (hildon_pannable_area_expose_event): Fixed a problem when
7525 selecting the background color of the scrollbars.
7527 2008-06-23 Alberto Garcia <agarcia@igalia.com>
7529 * examples/hildon-stackable-window-example.c
7530 * src/hildon-stackable-window.c
7531 * src/hildon-stackable-window.h
7532 hildon_stackable_window_go_home() renamed to
7533 hildon_stackable_window_go_to_root_window()
7534 Send delete events to windows rather than closing them with
7535 gtk_widget_destroy()
7537 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7539 * src/hildon-pannable-area.c
7540 (hildon_pannable_area_button_release_cb): Fix overshooting in
7543 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7545 * src/hildon-pannable-area.c
7546 (hildon_pannable_area_init): Initially show the scroll indicators.
7547 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7549 Add initial effect showing the widget is pannable.
7551 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7553 * src/hildon-pannable-area.c
7554 (hildon_pannable_area_class_init)
7555 (hildon_pannable_area_set_property)
7556 (hildon_pannable_area_get_property)
7557 (hildon_pannable_area_button_press_cb):
7558 New 'velocity_fast_factor' property to decide which velocity is
7561 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7563 * src/hildon-pannable-area.c
7564 (hildon_pannable_draw_hscroll)
7565 (hildon_pannable_draw_vscroll):
7566 Use float variables to calculate the size of the scrollbars to
7567 avoid error propagation and resizing during scrolling.
7569 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7571 * src/hildon-pannable-area.c
7572 (hildon_pannable_draw_vscroll)
7573 (hildon_pannable_draw_hscroll):
7574 Define a minimum size for the scroll bars
7576 * src/hildon-stackable-window.c
7577 (hildon_stackable_window_go_home): Fix compilation warning
7578 (get_last_window): Minor optimizations
7579 (hildon_stackable_window_class_init): Fix initialization of
7582 2008-06-18 Alberto Garcia <agarcia@igalia.com>
7584 * src/hildon-stackable-window.c: Fixed typos in doc
7586 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
7588 * src/hildon-pannable-area.c
7589 (hildon_pannable_area_scroll):
7590 Calculate here whether we need to scroll instead of using the booleans
7591 that tell us whether to /draw/ the scrolling bars.
7593 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
7595 * src/hildon-app-menu.h
7597 * src/hildon-app-menu.c
7598 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
7599 multiple filter groups related code and API. Now we support only
7601 * examples/hildon-app-menu-example.c:
7603 Update to reflect API changes.
7605 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
7607 * src/hildon-stackable-window.c
7608 (hildon_stackable_window_class_init):
7609 Add hildon_stackable_window_realize.
7610 (hildon_stackable_window_realize):
7611 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
7612 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
7613 to apply theming and behavior specific to HildonStackableWindow
7616 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7618 * src/hildon-note.c (hildon_note_button_release):
7619 Close information notes also when tapping on them
7621 2008-06-12 Alejandro G. Castro <alex@igalia.com>
7623 Added BOUNCE_STEPS define to control the overshoot effect. Removed
7624 ELASTICITY, refactor and review, fix some issues with drawing
7627 * src/hildon-pannable-area.c:
7628 (hildon_pannable_area_button_press_cb): removed the conditions to
7629 avoid clicks when overshooting. It is not required
7631 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
7632 define. Refatored and reviewed the code, now we do not need to
7633 manage velocity in motion_notify.
7635 (hildon_pannable_area_motion_notify_cb): We have moved the code
7636 that controls the area_scroll to the axis_scroll function and get
7637 rid of duplicated code.
7639 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
7641 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
7643 (hildon_pannable_draw_vscroll),
7644 (hildon_pannable_draw_hscroll): Fixed the problems with the
7645 scrollbar drawing, now we do not use two surfaces, it is easier
7646 and saves resources.
7648 (hildon_pannable_area_get_property): Style modification.
7650 (hildon_pannable_area_class_init): Changed some default values.
7652 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
7654 * src/hildon-stackable-window.c: Fix some typos in the
7657 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7659 * src/hildon-dialog.c:
7660 Change indentation style
7663 (hildon_note_button_release):
7664 Use root coordinates to check if the release event happened
7667 * src/hildon-app-menu.c
7668 (hildon_app_menu_button_release):
7669 Remove unnecessary check
7671 * examples/hildon-app-menu-example.c
7673 Add cast to fix warning
7675 * src/hildon-app-menu.c
7676 (hildon_app_menu_class_init):
7677 New inner-border style property.
7678 Set all default spacings to 16
7679 (hildon_app_menu_init):
7680 Use vertical-spacing to set the space between filter buttons and
7681 regular menu buttons.
7682 Set the default container border using the inner-border value.
7684 * examples/hildon-app-menu-example.c
7686 Don't set the menu border explicitly, now we have the inner-border
7687 style property for that.
7689 2008-06-11 Alberto Garcia <agarcia@igalia.com>
7691 * src/hildon-app-menu.c (hildon_app_menu_init):
7692 Make the window modal
7694 * src/hildon-note.c (hildon_note_map)
7695 * src/hildon-app-menu.c (hildon_app_menu_map):
7696 Destroy the grab window if we're unable to grab the pointer
7698 * src/hildon-app-menu-private.h
7699 * src/hildon-app-menu.c
7700 (hildon_app_menu_init, hildon_app_menu_finalize)
7701 (hildon_app_menu_map, hildon_app_menu_unmap)
7702 (hildon_app_menu_button_release)
7703 (grab_transfer_window_get):
7704 Bring back the grab window
7705 (hildon_app_menu_realize):
7706 Decorate the window, set WM hint for Matchbox
7708 * src/hildon-note.c (hildon_note_realize):
7709 * src/hildon-banner.c (hildon_banner_realize):
7710 Add WM hints for Matchbox
7712 2008-06-10 Alberto Garcia <agarcia@igalia.com>
7714 * src/hildon-app-menu-private.h
7715 * src/hildon-app-menu.c
7716 (hildon_app_menu_init, hildon_app_menu_finalize)
7717 (hildon_app_menu_map, hildon_app_menu_unmap)
7718 (hildon_app_menu_button_release):
7719 Remove the grab window, it's not needed anymore
7721 * src/hildon-program.c
7722 Fixed typo in documentation
7724 * src/hildon-app-menu.h
7725 * src/hildon-app-menu.c
7726 * examples/hildon-app-menu-example.c
7727 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
7729 2008-06-09 Alberto Garcia <agarcia@igalia.com>
7732 Added new transfer_window and close_if_pressed_outside private
7734 (hildon_note_rebuild):
7735 Don't add a cancel button to the information note. It will be
7736 closed when tapping outside
7737 Remove the comment about the OK button in the documentation
7738 (hildon_note_realize):
7739 Set the notification type hint
7740 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
7741 Grab/ungrab pointer and keyboard if the note has to be closed when
7743 (hildon_note_button_release):
7744 Close the note when tapping outside (if applicable)
7746 * src/hildon-app-menu.c
7747 Grab/ungrab pointer and keyboard on map/unmap
7748 (hildon_app_menu_button_release, hildon_app_menu_class_init):
7749 Close the menu on button release, not button press
7751 * src/hildon-banner.c
7752 (hildon_banner_set_property)
7753 (hildon_banner_check_position):
7754 Make the banner use the full width of the screen
7755 (hildon_banner_show_information)
7756 (hildon_banner_show_information_with_markup):
7757 Don't display an icon by default
7759 2008-06-09 Alejandro G. Castro <alex@igalia.com>
7761 Added fading scrollbars and adapted all the overshooting code to
7762 horizontal scrolling. We have also fixed bugs with overshooting
7763 and current fading implementation.
7765 * src/hildon-pannable-area.c
7766 (hildon_pannable_area_scroll_indicator_fade): Time out function
7767 used to change the transparency of the scrollbars.
7769 (hildon_pannable_area_button_press_cb): Added horizontal overshot
7770 control and fixed a problem with fading, we now remove the fade
7771 timeout before adding a new one.
7773 (hildon_pannable_axis_scroll):
7774 (hildon_pannable_area_scroll):
7775 (hildon_pannable_area_timeout): Added this functions so we can use
7776 the scroll code both for vertical and horizontal.
7778 (hildon_pannable_area_motion_notify_cb):
7779 (hildon_pannable_area_button_release_cb): Added the horizontal
7780 scrolling control, fixed a problem with the overshooting timeout.
7782 (rgb_from_gdkcolor): Added this function, it is used in the cairo
7783 painting of the scrolls.
7785 (hildon_pannable_draw_vscroll):
7786 (hildon_pannable_draw_hscroll):
7787 (hildon_pannable_area_expose_event):
7788 Draw both scrollbars and rectangles in the overshooting area.
7790 (hildon_pannable_area_get_property):
7791 (hildon_pannable_area_set_property):
7792 Modified the overshoot property to overshoot_max
7794 (hildon_pannable_area_map):
7795 Replaced the comments symbols.
7797 (hildon_pannable_area_size_allocate):
7798 (hildon_pannable_area_class_init):
7799 (hildon_pannable_area_init): Added horizontal scroll, fading
7800 effect properties, fixed a problem when overshooting in the bottom
7803 * examples/hildon-pannable-area-example.c:
7804 (get_sawtooth_label): Now we use smaller sawtooths, the effect
7805 looks better in the example.
7807 2008-06-03 Alberto Garcia <agarcia@igalia.com>
7809 * src/hildon-window.c
7810 * src/hildon-window.h
7811 (hildon_window_class_init)
7812 (hildon_window_unset_program)
7813 (hildon_window_unset_program_real):
7814 Make unset_program a virtual function
7816 * src/hildon-stackable-window.c
7817 * src/hildon-stackable-window.h
7818 Added hildon_stackable_window_go_home()
7820 * examples/Makefile.am
7821 * examples/hildon-stackable-window-example.c
7822 HildonStackableWindow example
7824 2008-06-03 Alejandro G. Castro <alex@igalia.com>
7826 * hildon-pannable-area.c: Added the overshoot property and removed
7827 the OVERSHOOT define. Fixed an indent style error.
7828 (hildon_pannable_area_motion_notify_cb):
7829 (hildon_pannable_area_get_property):
7830 (hildon_pannable_area_set_property): Add overshoot property.
7832 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
7835 (hildon_pannable_area_class_init): Installed the new property.
7837 * hildon-pannable-area-example.c: Added a sawtooth function, this
7838 way it is easier to check the movement in the pannable.
7839 (get_sawtooth_label): Added this function.
7840 (main): Now we get the labels from the new get_sawtooth_label
7843 2008-05-26 Alberto Garcia <agarcia@igalia.com>
7845 * src/hildon-app-menu.h
7846 * src/hildon-app-menu.c
7847 Renamed API variables for consistency
7849 (hildon_app_menu_popup): Use also the default window size to
7850 decide where to place the menu
7852 (hildon_app_menu_init, hildon_app_menu_class_init): New
7853 external-border style property
7855 2008-05-26 Michael Natterer <mitch@imendio.com>
7857 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
7858 widget_class->tap_and_hold_setup signal slot doesn't exist any
7859 longer, stop overriding it.
7861 (hildon_time_editor_init): g_signal_connect() to the
7862 tap-and-hold-setup signal instead.
7864 (hildon_time_editor_entry_keypress): add cast to fix warning.
7866 2008-05-23 Alberto Garcia <agarcia@igalia.com>
7868 * doc/hildon-docs.sgml
7870 * examples/Makefile.am
7871 * examples/hildon-app-menu-example.c
7873 * src/hildon-app-menu-private.h
7874 * src/hildon-app-menu.c
7875 * src/hildon-app-menu.h
7877 New HildonAppMenu widget
7879 2008-05-21 Alejandro G. Castro <alex@igalia.com>
7881 Rearranged the inheritance of the pannable area, now it inherits
7882 from GtkBin. This will allow us to control the event_window and
7883 the allocation process of the widget, required for some effects.
7885 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
7886 GtkBin structures. * src/hildon-pannable-area.c: Added the
7887 event_window variable.
7888 (hildon_pannable_area_button_press_cb):
7889 (hildon_pannable_area_button_release_cb):
7890 (hildon_pannable_area_motion_notify_cb):
7891 Changed the signature of the method, now we override the event
7892 callback instead of connecting to the signal.
7894 (hildon_pannable_area_realize):
7895 (hildon_pannable_area_unrealize):
7896 (hildon_pannable_area_map):
7897 (hildon_pannable_area_unmap):
7898 (hildon_pannable_area_size_allocate):
7899 Added functions to control the widget construction. We add a
7900 INPUT_ONLY window and we put it over the widgets inside the
7901 container, this event_window handles the events.
7903 (hildon_pannable_area_class_init):
7904 Replaced the signal connections with overrides of the event
7907 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7909 Bouncing effect added when touching the borders, you can change
7910 the elasticity of the border changing the ELASTICITY define.
7912 * src/hildon-pannable-area.c: Added ELASTICITY define.
7913 (hildon_pannable_area_timeout): Added inverse velocity when
7914 touching the border of the child widget, that causes a bounce.
7916 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7918 Improved performance, we now do not go to the X server in order to
7919 get the list of window children. Apparently the effect is the
7920 same, we have to be careful and check if this breaks something in
7923 * src/hildon-pannable-area.c:
7924 (get_ordered_children): Removed this function.
7925 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
7926 the children windows function with gdk_window_get_children.
7928 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7930 * src/hildon-pannable-area.c:
7931 (hildon_pannable_area_dispose): Fixed a crash when closing the
7932 window and kinetics is activated.
7934 2008-05-19 Alberto Garcia <agarcia@igalia.com>
7936 * src/hildon-pannable-area.h
7937 * src/hildon-pannable-area.c
7938 Changed indentation style to meet the one used in Hildon
7940 2008-05-19 Alejandro G. Castro <alex@igalia.com>
7942 Reviewed the interaction of the AUTO mode, now we use the time
7943 attribute of the events and calculate the velocity in the motion,
7944 doing a gimp like calculation. The velocity is calculated in each
7945 motion event using the last velocity and the current one, the
7946 SMOOTH_FACTOR controls the percentage of the new velocity we use.
7948 * src/hildon-pannable-area.c: Replaced the time based algorithm
7950 (hildon_pannable_area_motion_notify_cb): now we do not launch the
7951 timeout for the AUTO mode when we are still moving the cursor. We
7952 added also the velocity calculation in this function.
7953 (hildon_pannable_area_button_release_cb): launch the timeout in
7954 case we are in AUTO mode. There are still some constants here that
7955 come from the old implementation that should be reviewed and
7958 2008-05-15 Alberto Garcia <agarcia@igalia.com>
7960 * doc/hildon-docs.sgml
7963 * src/hildon-stackable-window.c
7964 * src/hildon-stackable-window.h
7966 New HildonStackableWindow widget
7968 * examples/hildon-dialog-example.c
7969 * examples/hildon-pannable-area-example.c
7972 2008-05-14 Alberto Garcia <agarcia@igalia.com>
7974 * src/hildon-dialog.c
7975 (hildon_dialog_new_with_buttons): New constructor.
7977 * examples/hildon-dialog-example.c
7978 (main): Update the example to use the new
7979 hildon_dialog_new_with_buttons().
7981 * examples/hildon-pannable-area-example.c
7982 (main): Update example.
7984 2008-05-13 Alberto Garcia <agarcia@igalia.com>
7986 * doc/hildon-docs.sgml
7988 Added HildonPannableArea to the documentation.
7990 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
7992 * doc/visual_index.xml
7993 Fix reference to HildonLoginDialog in documentation
7995 * doc/hildon-docs.sgml
7997 * examples/Makefile.am
7998 * examples/hildon-dialog-example.c
8000 * src/hildon-dialog.c
8001 * src/hildon-dialog.h
8003 New HildonDialog widget.
8005 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8007 * src/hildon-pannable-area.c
8008 Merge latest changes (r4318, r4342) from libmokoui trunk
8010 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8012 * examples/Makefile.am
8013 * examples/hildon-pannable-area-example.c
8015 * src/hildon-pannable-area.c
8016 * src/hildon-pannable-area.h
8018 New HildonPannableArea widget.
8020 2008-04-15 18:05:19 <timj@imendio.com>
8022 * src/hildon-banner.c: revert the recent change, that introduced
8023 gtk_window_present() calls. this reopens:
8024 Bug 78481 - [freetest] information banners are hidden under browser menu
8025 But resolves another variant of:
8026 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8028 2008-04-15 13:21:13 <timj@imendio.com>
8030 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8031 recreated its layout, spotted by Kris. this fixes all remaining
8032 artefacts and stability issues with the banner code. in particular:
8033 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8035 2008-04-14 16:52:59 <timj@imendio.com>
8037 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8038 operating on unrealized widgets, fixes:
8039 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8041 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8043 2008-04-09 Kristian Rietveld <kris@imendio.com>
8045 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8046 makes banner disappear.
8047 Fixes: NB#79182: info banner flickering with certain message lengts.
8049 * src/hildon-banner.c (hildon_banner_constructor),
8050 (hildon_banner_init), (hildon_banner_set_text),
8051 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8052 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8053 FALSE, reset size requests of label and banner,
8054 (force_to_wrap_truncated): when the text is too wide, always enforce
8055 the maximum possible width instead of recalculating it from the
8056 layout; enforce the maximum banner height of 3 lines,
8057 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8058 nicer wrapping and no truncated chars if space gets tight.
8060 * src/hildon-banner-private.h: add has_been_wrapped and
8061 has_been_truncated fields.
8063 2008-04-07 Sven Herzberg <sven@imendio.com>
8065 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8066 local values in hildon_date_editor_size_allocate
8068 * src/hildon-date-editor.c: moved the real allocation code into the
8071 2008-04-07 Sven Herzberg <sven@imendio.com>
8073 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8074 local values in hildon_date_editor_size_allocate
8076 * src/hildon-date-editor.c: merged the two if() branches together
8078 2008-04-07 Sven Herzberg <sven@imendio.com>
8080 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8081 local values in hildon_date_editor_size_allocate
8083 * src/hildon-date-editor.c: changed the arguments of the if()
8086 2008-04-07 Sven Herzberg <sven@imendio.com>
8088 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8089 local values in hildon_date_editor_size_allocate
8091 * src/hildon-date-editor.c: split the calculation of the allocation
8092 from the real allocation
8094 2008-03-27 Michael Natterer <mitch@imendio.com>
8096 Fixes: NB#81696: The passcode is not overwritten even after
8099 * src/hildon-code-dialog.c
8100 (hildon_code_dialog_button_clicked)
8101 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8102 because that doesn't overwrite selected text. Instead, emit the
8103 "commit" signal on the entry's im_context so the entry's normal
8104 insert logic is triggered. Set the cursor to the end of the entry
8105 after each insert operation so that we *only* insert in the middle
8106 of the text if something was selected.
8108 2008-03-27 Michael Natterer <mitch@imendio.com>
8110 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8111 selector cannot be opened
8113 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8114 when the popup color selector is created. Please connect to this
8115 signal in order to set the dialog's help ID.
8117 2008-03-25 Sven Herzberg <sven@imendio.com>
8119 Fixes: MB#1212: Hide info banners (infoprints) on click
8121 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8122 extracted the close event simulation into an extra function
8123 (hildon_banner_button_press_event): simulate a close event and destroy
8124 the widget if the event wasn't handled
8125 (hildon_banner_class_init): added the button_press_event handler
8126 (hildon_banner_init): added button-press events to the widget
8128 2008-03-25 Sven Herzberg <sven@imendio.com>
8130 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8131 Patch from: Mohammad Anwari <mdamt@maemo.org>
8133 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8134 instead of the right in RTL mode
8135 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8136 breadcrumb button list in RTL mode
8137 * src/hildon-caption.c: mirror the appearance of the caption widget in
8139 * src/hildon-date-editor.c: mirror appearance of the date editor in
8141 * src/hildon-time-editor.c: mirror appearance of the time editor in
8143 * src/hildon-window.c: fix the position of the popup in RTL mode
8145 2008-03-25 Sven Herzberg <sven@imendio.com>
8147 Amendment to the fix of NB#22072. Fix compilation.
8149 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8151 2008-03-19 Sven Herzberg <sven@imendio.com>
8153 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8156 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8157 timeout id properly when the timeout will disappear this leaves no
8158 artifacts around in the destroy(); there will only be the timeout
8159 created by hildon_banner_ensure_timeout() and adding a new timeout
8160 will also work if the timeout gets removed because the timeout_handler
8163 2008-03-19 Michael Natterer <mitch@imendio.com>
8165 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8167 * src/hildon-volumebar.c
8168 * src/hildon-vvolumebar.c
8169 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8170 the widget becomes focussable at all.
8172 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8173 set the focus to wither the mute button or the volumebar.
8175 Remove own "can-focus" property and instead listen to
8176 notify::can-focus in order to update the widget's state.
8178 Implement GtkWidget::focus() and make sure we can also *leave* the
8179 widget, not only enter it, depending on volumebar orientation and
8180 requested focus direction.
8182 Clean up set_mute() to cooperate nicely with all the above.
8184 2008-03-04 Michael Natterer <mitch@imendio.com>
8186 Fixes: NB#78481: information banners are hidden under browser menu
8188 * src/hildon-banner.c: call gtk_window_present() on the banners so
8189 they are risen if they are already visible.
8191 2008-03-03 Sven Herzberg <sven@imendio.com>
8193 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8195 * examples/hildon-window-menu-example.c: (main): extended the window
8196 menu example to serve as a testcase for automatically added
8197 accelerator groups, too
8198 * src/hildon-window.c: (hildon_window_add_accel_group),
8199 (hildon_window_set_menu): added patch by Tommi Komulainen
8201 2008-03-03 Sven Herzberg <sven@imendio.com>
8203 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8205 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8206 knowledge about the border allocators used within GTK+
8208 2008-02-26 Sven Herzberg <sven@imendio.com>
8210 Fixes: MB#2981: Build with asserts broken
8212 * src/hildon-date-editor.c,
8213 * src/hildon-number-editor.c,
8214 * src/hildon-time-editor.c,
8215 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8216 the proper GType instance check
8218 2008-02-25 Sven Herzberg <sven@imendio.com>
8220 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8222 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8223 * examples/hildon-window-menu-example.c: (main): explicitly show
8225 * src/hildon-window.c:
8226 (hildon_window_set_main_menu): moved most of the code from set_menu()
8227 to this place; skipped the call to gtk_widget_show_all(); also didn't
8228 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8229 (hildon_window_set_menu): removed most of the code, just keep the
8230 questionable gtk_widget_show_all()
8231 * src/hildon-window.h: added the new function and deprecate the old
8234 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8240 * debian/changelog: Updating.
8242 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8245 * pkgconfig/Makefile.am:
8246 * pkgconfig/hildon.pc.in:
8249 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8250 use newly created API_MAJOR_VERSION.
8252 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8258 * debian/changelog: Updating.
8260 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8262 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8264 Add outer_border style property, we use it but don't define it (!).
8268 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8270 * examples/hildon-bread-crumb-trail-example.c (main):
8274 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8276 Fix logic for the bread crumb trail node removal.
8280 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8286 * debian/changelog: Updating.
8288 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8290 Patch by Alejandro to get/set passwords dialogs accesibility.
8292 * hildon-1/src/hildon-get-password-dialog.c:
8293 * hildon-1/src/hildon-set-password-dialog.c:
8294 Set atk_set_name to the passwd entries in order to allow
8295 accessibility by name on this entries.
8297 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8302 * debian/control: Updating gtk dep.
8304 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8306 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8307 USE_MAEMO_GTK is enabled.
8309 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8311 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8312 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8314 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8320 * debian/changelog: Updating.
8322 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8324 * examples/Makefile.am:
8325 * examples/hildon-logical-color-example.c:
8326 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8327 applied + adding a test case. Fixes: NB#71660.
8329 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8331 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8332 to be visible, fixes warning on map for windows without toolbars.
8334 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8336 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8337 2.11.0, add a check for that besides the MAEMO_GTK check.
8339 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8345 * debian/changelog: Updating.
8347 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8349 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8350 visibility. Fixes: NB#70842 and MB#615.
8352 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8354 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8355 set the separator as no-show-all so it doesn't unintentionally appear when
8356 someone does a show_all.
8358 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8360 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8361 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8362 toplevel item. Fixes: NB#62031
8364 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8366 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8367 fix the name of the function in the docs.
8369 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8375 * debian/changelog: Updating.
8377 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8379 * examples/hildon-banner-long-example.c: Adding a test-case for long
8382 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8384 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8386 * src/hildon-color-chooser-dialog.c:
8387 * src/hildon-color-chooser.c:
8388 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8389 memory leaks in font selector and color selector. Fixes: NB#70499 and
8392 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8394 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8396 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8398 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8399 little bit bigger. Fixes: #NB63694.
8401 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8407 * debian/changelog: Updating.
8409 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8412 * doc/hildon-docs.sgml:
8413 * doc/images/bread-crumb-trail.png:
8414 * doc/images/calendar-popup.png:
8415 * doc/images/caption.png:
8416 * doc/images/code-dialog.png:
8417 * doc/images/color-button.png:
8418 * doc/images/color-chooser-dialog.png:
8419 * doc/images/color-chooser.png:
8420 * doc/images/controlbar.png:
8421 * doc/images/date-editor.png:
8422 * doc/images/font-selection-dialog.png:
8423 * doc/images/get-password-dialog.png:
8424 * doc/images/hvolumebar.png:
8425 * doc/images/login-dialog.png:
8426 * doc/images/note.png:
8427 * doc/images/number-editor.png:
8428 * doc/images/range-editor.png:
8429 * doc/images/seekbar.png:
8430 * doc/images/set-password-dialog.png:
8431 * doc/images/sort-dialog.png:
8432 * doc/images/time-editor.png:
8433 * doc/images/time-picker.png:
8434 * doc/images/vvolumebar.png:
8435 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8436 Adding the bread-crumb-trial and helpers to the documentation.
8438 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8440 * examples/hildon-find-toolbar-example.c:
8441 * src/hildon-find-toolbar.c:
8442 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8443 actually continue firing the other handlers if connected. Adding a new
8445 hildon_find_toolbar_get_last_index that gets the index of the most
8446 recently added (last) item. Fixes: NB#52301.
8448 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8450 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8451 behaviour. Fixes: NB#68610.
8453 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8455 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8458 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8460 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8461 when realizing the banner. Should make the infonbanner effect a bit more
8464 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8466 * src/hildon-volumebar.c:
8467 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8468 hildon_volumebar_set_range_insensitive_message and
8469 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8471 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8473 * src/hildon-window.c: Fixing the border freeing on destroy.
8475 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8477 * src/hildon-code-dialog-private.h:
8478 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8479 kw keyboard support in HildonCodeDialog.
8481 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8487 * debian/changelog: Updating.
8489 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8491 * src/hildon-date-editor.c:
8492 * src/hildon-number-editor.c:
8493 * src/hildon-private.c:
8494 * src/hildon-private.h:
8495 * src/hildon-time-editor.c:
8496 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8497 handling in subclassed composite widgets. Fixes: NB#66628.
8499 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8501 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8502 from destroy_ callback as it introduces problems in async dbus signal
8503 handlers. Fixes NB#66673.
8505 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8507 * examples/hildon-hvolumebar-example.c:
8508 * src/hildon-volumebar.c: Improving the focus handling in the
8509 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8510 set_property accessor so that "mute" property can be actually set. I'm
8511 scared that nobody noticed it's totally broken.
8513 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8515 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8518 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8520 * src/hildon-calendar.c:
8521 * src/hildon-number-editor.c:
8522 * src/hildon-time-picker.c: Changing the timeout repeat so that it
8523 matches the spec of 6 chars per second. Fixes: NB#60489.
8525 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8527 * src/hildon-helper.c: Really fixing NB#58352. Looks like
8528 gtk_style_lookup_color sometime returns FALSE even though color was
8529 found and values were filled properly. Weird. Removing the warning for the
8532 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8534 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8535 expand vertically. Adding some extra space to the find toolbar buttons to
8536 make them thumbable. Fixes NB#66060.
8538 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8540 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8541 popup with "Ok" and "Cancel". Fixes NB#59299.
8543 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8545 * src/hildon-calendar.c: Process all window updates before executing next
8546 timeout. Fixes: NB#54146.
8548 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8554 * debian/changelog: Updating.
8556 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8558 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8559 the client event and ignore it, since we use the delete event to close
8562 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8564 * src/hildon-helper.c: Remove the bogus warning about color not being
8565 found. Fixes NB#58352.
8567 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8569 * examples/Makefile.am:
8570 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8571 HildonSeekbar widget inside a toolbar.
8573 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8575 * src/hildon-banner.c (hildon_banner_init): mark the banners as
8576 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8577 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8578 don't want to be closed by non-temporary windows on map.
8580 Also use G_DEFINE_TYPE instead of manually typed code.
8582 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8589 * debian/rules: Updating.
8591 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8593 * examples/Makefile.am:
8594 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8595 bug NB#61128. Strangely it works.
8597 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8599 * src/hildon-date-editor.c: When the date editor entry has been changed
8600 but the numbers of characters < max, turn off the skip validation flag.
8601 Prevents a situation when we enter first a valid year and later re-write
8602 it with an invalid one. Fixes NB#60154.
8604 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8606 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
8607 code dialog. Fixes NB#64355.
8609 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8611 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
8612 switching the page. Fixes NB#49374.
8614 * examples/Makefile.am:
8615 * examples/hildon-wizard-dialog-example.c: Adding an example for
8616 HildonWizardDialog that shows how to handle manual sensitivity setting on
8619 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8623 * src/hildon-version.h.in:
8624 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
8626 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8628 * src/hildon-volumebar.c: Updating the docs.
8630 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8636 * debian/changelog: Updating.
8638 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8640 * src/hildon-find-toolbar.c:
8641 * src/hildon-find-toolbar.h: Adding a few new functions to control the
8642 selected item: hildon_find_toolbar_set_active,
8643 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
8644 hildon_find_toolbar_get_active_iter . They correspond to respective
8645 GtkComboBox functions.
8647 * examples/Makefile.am:
8648 * examples/hildon-find-toolbar-example.c: Adding the example to test the
8651 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8653 * examples/Makefile.am:
8654 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
8657 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
8658 when font size > 32 and we pack a focusable widget inside. Actually using
8659 the default response would work too, but since we don't show default
8660 response state in any way (no theming) it would not be visible to the
8661 user. Fixes NB#63430.
8663 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8665 * src/hildon-date-editor.c: Adding the missing variable setter in the
8666 set_property handler. Fixes NB#54182.
8668 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8670 * src/hildon-window.h: Changing the long key press time from 1500ms to
8671 800ms as requested in NB#63700. I have a bad feeling about this, let's
8672 see... Fixes NB#63700.
8674 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
8676 * src/hildon-time-picker.c (hildon_time_picker_class_init,
8677 hildon_time_picker_map, hildon_time_picker_realize,
8678 hildon_time_picker_style_set): Split the contents of map to more
8679 appropriate functions; set window decorations on realize and update
8680 arrows' size requisitions on style-set. Avoids unnecessary resizing.
8682 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
8687 * debian/changelog: Updating.
8689 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
8691 * src/Makefile.am: fixed installation of the header files
8693 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8699 * debian/changelog: Updating.
8701 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8703 * configure.ac: Removing some remaining of --enable-xan.
8705 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
8707 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
8708 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
8710 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
8711 2.10.12-osso6 because the move-focus signal needs to be available in
8714 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8716 * examples/Makefile.am:
8717 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
8718 that makes a HildonVolumebar insensitive before mapping it. Seems to work
8719 fine. Prolly NB#61128 is fixed now.
8721 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8723 * src/hildon-volumebar.c:
8724 * src/hildon-volumebar.h: Adding the
8725 hildon_volumebar_set_range_insensitive_message and
8726 hildon_volumebar_set_range_insensitive_messagef functions to set
8727 insensitive message on the slider of the volumebar. Fixes NB#61129.
8729 * examples/Makefile.am:
8730 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
8731 test the new insensitive messsage functionality on HildonVolumebar.
8733 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
8735 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
8738 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
8740 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
8741 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
8742 button on after clearing the trail.
8744 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8746 * src/hildon-code-dialog.c: Removing the separator from the dialog.
8748 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8750 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
8751 by splitting the installed headers in generated and non-generated groups. Use
8752 only the non-generated headers to create the hildon-enum-types.h file.
8754 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
8756 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8758 * src/hildon-window.c: Hide the window before performing the destroy.
8759 Should make the app closing a little tiny bit more snappy.
8761 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8763 * src/hildon-seekbar.c: add gtkrange.h header
8764 * src/hildon-caption.c: remove unused variable
8766 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
8768 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
8771 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8777 * debian/changelog: Updating.
8779 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
8781 * src/hildon-window.c (hildon_window_window_state_event,
8782 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
8783 escape timeout on focus-out-event rather than notify::is-topmost; the
8784 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
8786 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8788 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
8789 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
8791 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8793 * src/hildon-window: actually, you need to use the macro always, there's
8794 no private pointer in the instance structure. We should have cleaned this up
8795 when we had the chance...
8797 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8799 * src/hildon-window.c: do not get the private date from HildonWindow before
8800 it passes the g_return_if_fail check. Once it's passed the test, there's no
8801 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
8802 if you are only going to access the data once. Whitespace cleanups.
8804 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
8806 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8807 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8809 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8815 * debian/changelog: Updating.
8817 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8819 * src/hildon-window.c: When destroying the window, remove (if exists) the
8820 escape timeout handler. Fixes #NB59276.
8822 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8824 * src/hildon-banner.c: When realizing the widget, set the window
8825 transiency. Setting the transiency in the gobject constructor is not
8826 good, as the widget is not realized at that point. Fixes: #NB56624.
8828 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8830 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
8831 Add padding for future expansions.
8833 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8835 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
8836 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
8837 will fake an activation on the previous to the last item of the trail, so
8838 the effect can be overrided by the developer as usual.
8839 Also change the callback for the back button to do the same thing, so its
8840 effect can be overrided too. Fixes: NB#58982
8842 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8844 * src/hildon-caption.c: Implementing the proper focus grabbing in the
8845 HildonCaption. Fixes NB#52379.
8847 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8849 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
8850 the internal state of the trail after the user has had the chance of executing
8851 his handler for the signal. Specifically, it may happen that the activated button
8852 is removed and the user still lets the default handler run. This would segfault
8855 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8857 * src/hildon-font-selection-dialog.c: When the font is really big, add the
8858 scrollbar to the preview dialog. Fixes NB#54147.
8860 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8862 * src/hildon-date-editor.c: Changing the default max year to 2037. The
8863 max/min year properties can be altered, so the client can modify it
8864 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
8866 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8868 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
8869 hildonlike by default. Fixing a problem with disappearing arrows when
8870 scrolling through months and years. Fixes NB#54127.
8872 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8874 * examples/hildon-date-editor-example.c: Adding error callback to the date
8877 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8883 * configure.ac: Updating.
8885 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8887 * configure.ac: Adding a special '--enable-xan' configure option that
8888 turns off the -Werror compilation setting. Usefull for development.
8890 * src/hildon-calendar.c:
8891 * src/hildon-number-editor.c:
8892 * src/hildon-time-picker.c: Adding the 5* multiplier to
8895 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
8897 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
8898 instead of g_object_ref + gtk_object_sink.
8900 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8906 * debian/changelog: Updating.
8908 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8910 * src/hildon-color-chooser-dialog.c:
8911 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
8912 straight from Tommi labs.
8914 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8916 * examples/hildon-finger-example.c: Correcting the header file path.
8918 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
8919 the changed signal. Fixes a small memory leak.
8921 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8925 * src/hildon-banner.c: Importing several usefull fixes from the
8926 ubuntu-mobile branch.
8928 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8930 * examples/Makefile.am:
8931 * examples/hildon-finger-example.c: Adding a finger-checking code
8934 * src/hildon-font-selection-dialog.c: Do not allocate the color
8935 structure using the g_new. Fixes NB#54061.
8937 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8939 * src/hildon-helper.c: Correcting tabs in file.
8941 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
8943 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
8944 control the visibility of the children.
8946 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
8948 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8954 * debian/changelog: Updating.
8956 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8958 * src/hildon-bread-crumb-trail.c:
8959 (hildon_bread_crumb_trail_size_allocate):
8961 Make the back button always a square.
8963 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8965 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
8966 from the .c file as it's a private file.
8968 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8970 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
8971 uses slightly bigger height.
8973 * src/hildon-font-selection-dialog.c: Adding some checks before
8974 freeing memory in the font selection dialog.
8976 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8978 * src/hildon-font-selection-dialog.c: Adding a small check when
8981 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
8982 buttons sensitivity on page switching.
8984 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
8986 * src/hildon-bread-crumb-trail.c: make the add method handle all the
8987 internal details of adding a bread crumb to the trail.
8989 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8995 * debian/changelog: Updating.
8997 * src/hildon-bread-crumb-trail.h:
8998 * src/hildon-bread-crumb.h: Changing the API guard to
8999 HILDON_ENABLE_UNSTABLE_API.
9001 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9009 * src/hildon-helper.h: Updating.
9011 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9019 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9023 * src/hildon-helper.h: Small fix to make the package actually compile.
9025 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9027 * src/hildon-bread-crumb-trail.h:
9028 * src/hildon-bread-crumb.h:
9030 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9031 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9033 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9035 * examples/hildon-bread-crumb-trail-example.c:
9037 * src/hildon-bread-crumb-trail.c:
9038 * src/hildon-bread-crumb-trail.h:
9039 * src/hildon-bread-crumb.c:
9040 * src/hildon-bread-crumb.h:
9041 * src/hildon-marshalers.list:
9042 * src/hildon-bread-crumb-widget.c:
9043 * src/hildon-bread-crumb-widget.h:
9045 Slight change in the widget design. The bread crumb trail API is
9046 unchanged, but HildonBreadCrumb is now an interface. A *private*
9047 implementation, hildon-bread-crumb-widget, is provided and used
9048 internally by the trail for the push_text/push_icon functions.
9050 The generic push API is still available, so anyone can implement
9051 and use its own bread crumb widget.
9053 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9055 * debian/rules: Fixing the shlibs.
9057 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9059 * src/hildon-banner.c: Fixing a problem with timed banners having
9060 their parrent destroyed before they are.
9062 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9064 * src/hildon-bread-crumb.c:
9065 * src/hildon-bread-crumb.h:
9067 Make the get_natural_size function a vfunc.
9069 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9071 * src/hildon-bread-crumb.c:
9072 * src/hildon-bread-crumb-trail.c:
9076 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9083 * debian/changelog: Updating for release.
9085 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9087 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9088 don't leak the pango layout.
9090 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9093 * examples/hildon-bread-crumb-trail-example.c:
9097 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9099 * debian/changelog: Removing the bug-fixed entries that were actually
9100 resolved as WONTFIX.
9102 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9105 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9107 * src/hildon-bread-crumb-trail.c:
9108 * src/hildon-bread-crumb-trail.h:
9109 * src/hildon-bread-crumb.c:
9110 * src/hildon-bread-crumb.h:
9114 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9116 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9117 until it's passed the type check.
9119 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9121 * examples/hildon-bread-crumb-trail-example.c
9125 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9127 * examples/Makefile.am
9128 * examples/hildon-bread-crumb-trail-example.c
9130 * src/hildon-bread-crumb-trail.c
9131 * src/hildon-bread-crumb-trail.h
9132 * src/hildon-bread-crumb.c
9133 * src/hildon-bread-crumb.h
9135 New HildonBreadCrumbTrail widget.
9137 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9139 * src/hildon-range-editor.c (hildon_range_editor_init),
9140 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9141 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9142 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9143 hildon_time_editor_class_init, hildon_time_editor_init),
9144 src/hildon-get-password-dialog.c (invalid_input,
9145 hildon_get_password_set_property, hildon_get_password_get_property,
9146 create_contents, hildon_get_password_dialog_set_max_characters),
9147 src/hildon-set-password-dialog.c (create_contents),
9148 src/hildon-date-editor.c (hildon_date_editor_init),
9149 src/hildon-login-dialog.c (hildon_login_dialog_init),
9150 src/hildon-number-editor.c (hildon_number_editor_init),
9151 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9152 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9153 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9154 configure option and adding the respective checks in the code.
9155 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9156 hildon_calendar_drag_data_received): fixed some build warnings.
9158 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9160 * debian/changelog: A 1.0.0 release notes.