1 2009-07-01 Alberto Garcia <agarcia@igalia.com>
3 * hildon/hildon-banner.c (hildon_banner_map):
4 Set banner position after mapping.
6 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
8 * configure.ac: postrelease version bump.
9 * debian/changelog: post release version bump
11 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
16 * configure.ac: Bump version.
17 * debian/changelog: Updates.
19 2009-06-29 Adam Endrodi <adam.endrodi@blumsoft.eu>
21 * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
24 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
26 * tests/check-hildon-banner.c
29 Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
30 were testing deprecated functions.
31 * examples/hildon-banner-example.c: typo on button3 type, that causes
32 a fail compiling with --with-examples but without --disable-deprecated
34 Missed commit in order to fix compilation using '--enable-fatal' and
35 '--disable-deprecated' (see previous commit)
37 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
39 * examples/hildon-banner-example.c: Protect deprecated hildon-banner
40 functions with #ifndef HILDON_DISABLE_DEPRECATED
41 * examples/hildon-find-toolbar.c: Protect deprecated
42 HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
43 * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
44 in favor of HILDON_ICON_PIXEL_SIZE_FINGER
45 * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
47 * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
48 to allow proper compilation of deprecated functions defined on the header
50 Fixed compilation using '--enable-fatal' and '--disable-deprecated'
52 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
54 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
55 Cache the panning indicator color.,
56 (hildon_pannable_area_style_set): Query the color on style changes.
57 (hildon_pannable_draw_vscroll),
58 (hildon_pannable_draw_hscroll),
59 (hildon_pannable_area_expose_event): Use the cached panning indicator
60 color instead of looking it up on every expose and more.
62 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
64 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
65 (hildon_pannable_draw_hscroll),
66 (hildon_pannable_area_expose_event): Fix the panning indicator color,
67 so that it's "SecondaryTextColor", as desired.
69 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
71 * hildon/hildon-picker-dialog.c:
72 (selection_completed): take into account HILDON_UI_MODE_NORMAL
73 * hildon/hildon-touch-selector.c
74 (hildon_touch_selector_init): Initialize hildon-ui-mode
75 (hildon_touch_selector_row_activated): new callback for the
76 "row-activated" signal, in order to save the last activated
77 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
78 if the current hildon-ui-mode is coherent with the touch selector
79 (hildon_touch_selector_class_init)
80 (hildon_touch_selector_get_property)
81 (hildon_touch_selector_set_property)
82 Added "hildon-ui-mode" property
83 (disconnect_model_handlers): renamed to clean_column
84 (hildon_touch_selector_remove): use clean_column function
85 (_create_new_column): use the hildon-ui-mode to create the treeview, and
86 only select the first element on HILDON_UI_MODE_EDIT
87 (hildon_touch_selector_column_init): Initialize last_activate
88 (hildon_touch_selector_append_column): check that the touch selector
89 is coherent with the current hildon-ui-mode
90 (hildon_touch_selector_get_hildon_ui_mode)
91 (hildon_touch_selector_set_hildon_ui_mode)
92 Added a getter/setter for the hildon-ui-mode property
93 (hildon_touch_selector_get_last_activated_row): Added this method in
94 order to get the last activated row.
95 * examples/hildon-touch-selector-normal-mode-example.c
96 New example, that shows how to use the HildonTouchSelector in
99 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
100 Kristian Rietveld <kris@lanedo.com> advices
102 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
104 * hildon/hildon-time-selector.c: (update_format_policy): Do
105 not call update_format_dependant_columns() if not necessary.
106 (update_format_dependant_columns): Remove unnecessary check for
107 the number of columns.
109 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
111 * hildon/hildon-note.c (+hildon_note_constructor),
112 (hildon_note_class_init), (+hildon_note_set_padding),
113 (hildon_note_rebuild): Install a constructor where to set the
114 padding properties in the note, so that it actually works fine.
115 Use hildon_note_set_padding() for this, and also to set it during
118 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
120 * configure.ac: Bump GTK+ requirement to 2.14.3.
121 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
122 when using maemo-gtk to define proper margins for the notes.
124 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
125 with the dialog edge)
127 2009-06-24 Alberto Garcia <agarcia@igalia.com>
129 * hildon/hildon-banner.c
130 (hildon_banner_class_init):
132 (+hildon_banner_size_request):
133 Request always the full width of the screen.
134 (hildon_banner_realize)
135 (-hildon_banner_check_position, hildon_banner_map):
136 hildon_banner_check_position() is not needed in Hildon 2.2.
137 (-hildon_banner_reset_wrap_state)
138 (hildon_banner_constructor, hildon_banner_init):
139 Remove unnecessary calls to hildon_banner_reset_wrap_state()
140 (+banner_do_set_text)
141 (force_to_wrap_truncated):
142 Remove has_been_wrapped and has_been_truncated attributes.
143 (+reshow_banner, hildon_banner_real_show_information)
144 (hildon_banner_show_information_with_markup)
145 (hildon_banner_show_animation, hildon_banner_show_progress)
146 (hildon_banner_set_text, hildon_banner_set_markup):
147 Refactor code. Shrink banner vertically to use the minimum space
148 necessary everytime the text of the label is updated.
149 (screen_size_changed):
150 Call force_to_wrap_truncated() when the size of the screen
153 Fixes: NB#120500 (only device memory connect mmc in use info
154 banner is left aligned)
156 Fixes: NB#120613 (Size of HildonBanner varies depending on
157 previously opened banners)
159 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
161 * hildon/hildon-color-chooser.c
162 (hildon_color_chooser_pointer_motion): Take the widget allocation
165 Fixes: NB#124385 (Unable to select exact point in color mixing box
166 in color palette dialog)
168 2009-06-23 Alejandro G. Castro <alex@igalia.com>
170 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
171 (hildon_pannable_area_dispose)
172 (hildon_pannable_area_button_press_cb)
173 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
174 (hildon_pannable_area_button_release_cb)
175 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
176 New 'panning-started' and 'panning-finished' signals.
178 Fixes: NB#121732 (New feature request: Signal to pannable area
179 that informs when panning is stopped.)
181 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
183 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
184 instead of hardcoded colon.
186 Fixes: NB#124090 (New calendar wizard title is not using
187 ecdg_ti_caption_separator)
189 2009-06-22 David King <davidk@openismus.com>
191 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
192 constants and functions, as well as correct many typos throughout the
195 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
198 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
200 * configure.ac: postrelease version bump.
201 * debian/changelog: post release version bump
203 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
208 * configure.ac: Bump version.
209 * debian/changelog: Updates.
211 2009-06-18 Alberto Garcia <agarcia@igalia.com>
213 * hildon/hildon-window-stack.c
214 (hildon_window_stack_pop_and_push_list):
215 Prevent windows from having the same stack index
217 2009-06-18 Alberto Garcia <agarcia@igalia.com>
219 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
220 Use the index of the previous window rather than the stack length
221 to calculate the new index.
225 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
227 * hildon/hildon-date-selector.c
228 (hildon_date_selector_select_current_date)
229 (hildon_date_selector_get_date)
230 (hildon_date_selector_select_day):
231 Update the documentation: uses always the range (1-31), as it is obvious
232 that the final one will depend on the month and the year, but globally
233 the range is this, in a similar GtkCalendar approach
234 (hildon_date_selector_get_date):
235 Update the documentation: add NULL as a valid value for the day, month
238 Fix some details, after talk with David King on bug MB#4698
240 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
242 * hildon/hildon-touch-selector-entry.c
243 * hildon/hildon-touch-selector.c
244 Update the documentation of the "text-column" property
246 2009-06-18 David King <davidk@openismus.com>
248 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
249 several typos and errors throughout the documentation.
251 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
254 2009-06-18 Alberto Garcia <agarcia@igalia.com>
256 * hildon/hildon-note.c (hildon_note_realize):
257 Make HildonNote support portrait mode.
259 Fixes: NB#123448 (HildonNote is not portrait-friendly)
261 2009-06-17 Alberto Garcia <agarcia@igalia.com>
263 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
264 Document this function
266 2009-06-17 David King <davidk@openismus.com>
268 * hildon/hildon-date-selector.c
269 (hildon_date_selector_select_current_date)
270 (hildon_date_selector_get_date): Update documentation regarding days,
271 as the day of the month is dependent on both the month and the year.
272 (hildon_date_selector_get_date): Fix documentation of output arguments.
274 Fixes: MB#4698 (DateSelector documentation has bad output argument
275 description, and the day depends on both the month and the year)
277 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
279 * hildon/hildon-caption.c: Other documentation fixes to
282 2009-06-17 David King <davidk@openismus.com>
284 * hildon/hildon-caption.c: Minor documentation updates for
285 HildonCaption. Fixes MB#4697.
287 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
289 * doc/hildon-docs.sgml: Add hildon-version section.
290 * doc/hildon-sections.txt:
291 * hildon/hildon-version.h.in: Document versioning macros and
294 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
296 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
297 from HildonPickerDialog section.
299 2009-06-16 Alberto Garcia <agarcia@igalia.com>
301 * hildon/hildon-banner.c (hildon_banner_bind_style)
302 (screen_size_changed, hildon_banner_init)
303 (hildon_banner_real_show_information)
304 (hildon_banner_show_information_with_markup)
305 (hildon_banner_show_animation, hildon_banner_show_progress):
306 Set a different widget name to banners in portrait mode, for them
307 to be themed correctly.
309 2009-06-16 Alberto Garcia <agarcia@igalia.com>
311 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
312 Set a different widget name to notes in portrait mode, for them to
315 Partially fixes: NB#118401 (HildonNote causes unnecessary
318 2009-06-16 Alberto Garcia <agarcia@igalia.com>
320 * hildon/hildon-note.c (hildon_note_class_init)
321 (+hildon_note_size_request, screen_size_changed):
322 Always request the full width of the screen.
324 Fixes: NB#118375 (unnecessary rescaling of images)
326 2009-06-16 Alejandro G. Castro <alex@igalia.com>
328 * hildon/hildon-pannable-area.c,
329 (hildon_pannable_area_init),
330 (hildon_pannable_area_realize): Replaced old code adding flags in
331 the object init, now we add it with the other flags in the realize
334 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
336 * hildon/hildon-note.c: (hildon_note_class_init): Several
337 documentation improvements to the HildonNote widget.
339 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
341 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
343 Fixes: MB#4556 (HildonNoteType is undocumented)
345 2009-06-15 Alberto Garcia <agarcia@igalia.com>
347 * hildon/hildon-picker-button.c:
348 Explain how HildonPickerButton sets the title of its dialog
350 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
351 the title of its dialog)
353 2009-06-15 Alberto Garcia <agarcia@igalia.com>
355 * hildon/hildon-check-button.c:
356 Documentation updates
358 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
361 2009-06-15 Alberto Garcia <agarcia@igalia.com>
364 * hildon/hildon-edit-toolbar-private.h
365 * hildon/hildon-edit-toolbar.c
366 (+hildon_edit_toolbar_set_progress_indicator)
367 (hildon_edit_toolbar_init): Add progress indicator to the
370 * hildon/hildon-gtk.c
371 (hildon_gtk_window_set_progress_indicator):
372 If the window contains a HildonEditToolbar, enable the progress
375 * hildon/hildon-private.h
376 * hildon/hildon-private.c
377 (+hildon_private_create_animation)
378 * hildon/hildon-banner.c
379 (-hildon_banner_create_animation):
380 Moved to hildon-private.c
382 Fixes: NB#102373 (Progress indicator also for the Edit mode
385 2009-06-15 Alberto Garcia <agarcia@igalia.com>
387 * hildon/hildon-app-menu-private.h
388 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
389 (hildon_app_menu_add_filter, +menu_item_button_event)
390 (hildon_app_menu_button_release, hildon_app_menu_init):
391 Make sure that buttons receive 'button-release-event' in spite of
392 the grab held by HildonAppMenu
394 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
396 2009-06-15 Alberto Garcia <agarcia@igalia.com>
398 * hildon/hildon-app-menu.c
399 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
400 New style property to set the size of the group of filter buttons.
402 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
404 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
409 * configure.ac: Bump version.
410 * debian/changelog: Updates.
412 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
414 * hildon/hildon-main.c: Minor documentation fixes.
416 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
418 * doc/hildon-sections.txt:
419 * hildon/hildon-defines.h: Document the defines, organize them,
420 and mark deprecations as such.
422 Fixes: MB#4463 (Hildon size #defines are undocumented)
424 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
426 * hildon/hildon-animation-actor.c:
427 * hildon/hildon-app-menu.c:
428 * hildon/hildon-button.c:
429 * hildon/hildon-date-editor.c:
430 * hildon/hildon-dialog.c:
431 * hildon/hildon-edit-toolbar.c:
432 * hildon/hildon-entry.c:
433 * hildon/hildon-program.c:
434 * hildon/hildon-remote-texture.c:
435 * hildon/hildon-stackable-window.c:
436 * hildon/hildon-text-view.c:
437 * hildon/hildon-touch-selector.c:
438 * hildon/hildon-window-stack.c:
439 * hildon/hildon-window.c:
441 Remove redundant "represents" wording from most of the documentation.
443 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
445 2009-06-12 Alberto Garcia <agarcia@igalia.com>
450 * hildon/hildon-banner-private.h
451 * hildon/hildon-banner.c:
452 Move HildonBannerPrivate to hildon-banner.c and remove
453 hildon-banner-private.h
454 Use a bit field to store private booleans.
456 2009-06-12 Alberto Garcia <agarcia@igalia.com>
458 * hildon/hildon-app-menu.c (hildon_app_menu_map):
459 Don't install a new idle function if there's already one
464 2009-06-11 Alberto Garcia <agarcia@igalia.com>
466 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
467 (+legacy_menu_realized, +legacy_menu_unmapped)
468 (+set_legacy_menu_type):
469 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
470 they can be identified by the window manager.
472 Fixes: NB#101437 (Invoking CSM on the left side of page area is
473 displayed in wrong location)
475 Fixes: MB#4563 (Popup menu won't locate at the left side of the
478 2009-06-11 Alberto Garcia <agarcia@igalia.com>
480 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
482 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
485 2009-06-11 Alberto Garcia <agarcia@igalia.com>
487 * hildon/hildon-code-dialog.c
488 * hildon/hildon-date-editor.c
489 * hildon/hildon-number-editor.c
490 * hildon/hildon-seekbar.c
491 * hildon/hildon-stackable-window.c
492 * hildon/hildon-window.c:
493 Misc documentation updates
495 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
497 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
498 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
500 Fixes: NB#117931 (Theming issues in accounts dialogs)
502 2009-06-09 Alejandro G. Castro <alex@igalia.com>
504 * hildon/hildon-pannable-area.c,
505 (hildon_pannable_area_button_release_cb): Changed the coordinates
506 of the original release in case we want to discard the release,
507 some widgets in Fremantle do not handle the leave-notify.
509 2009-06-09 Alejandro G. Castro <alex@igalia.com>
511 * hildon/hildon-pannable-area.c,
512 (hildon_pannable_area_button_release_cb): Reviewed the logic of
513 the release using the last refactored functions and avoiding the
514 movement if an element was selected.
516 2009-06-09 Alejandro G. Castro <alex@igalia.com>
518 * hildon/hildon-pannable-area.c,
519 (hildon_pannable_area_check_move),
520 (hildon_pannable_area_handle_move),
521 (hildon_pannable_area_motion_notify_cb): Refactored the
522 motion_notify method using a couple of new functions.
524 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
526 * hildon/hildon-date-selector.c:
527 (hildon_date_selector_construct_ui):
528 * hildon/hildon-time-selector.c:
529 (hildon_time_selector_constructor):
530 * hildon/hildon-touch-selector-entry.c:
531 (hildon_touch_selector_entry_set_text_column),
532 (hildon_touch_selector_entry_get_text_column):
533 * hildon/hildon-touch-selector.c: (_default_print_func),
534 (hildon_touch_selector_new_text): Use
535 hildon_touch_selector_set/get_text_column() instead of
536 setting/getting the "text-column" property.
538 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
540 * doc/hildon-sections.txt: Add the new public methods below.
542 * examples/hildon-picker-button-multicolumn-example.c:
543 (create_touch_selector):
544 * examples/hildon-touch-selector-example.c: (create_selector):
545 * examples/hildon-touch-selector-multi-cells-example.c:
547 Use hildon_touch_selector_column_set_text_column()
549 * hildon/hildon-touch-selector-column.h:
550 * hildon/hildon-touch-selector.c:
551 (hildon_touch_selector_column_set_text_column),
552 (hildon_touch_selector_column_get_text_column):
553 Make hildon_touch_selector_column_set/get_column() public, use
554 them in the inline example, document them, and reference to them
557 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
559 * hildon/hildon-time-selector.c: Fix the docs for
560 hildon_time_selector_new_step().
562 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
564 * hildon/hildon-touch-selector.c: Improve the documentation for
565 hildon_touch_selector_append_column().
567 Fixes MB#4641 (Documentation:
568 hildon_touch_selector_append_column() ref-counting)
570 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
572 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
573 Comment out test 5, since the hildon_controlbar_set_range() range
574 check is broken and fixing it would have side effects. Also,
575 this finally fixes make distcheck.
577 Fixes: NB#101420 (Update unit tests and fix make distcheck)
579 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
581 * tests/TEST-CASES.txt: Remove other bogus test.
582 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
583 Remove bogus test that was setting/retrieving a valid value.
585 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
587 * tests/TEST-CASES.txt: Remove bogus tests.
588 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
589 Remove three bogus tests that were actually setting valid colors.
591 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
593 * configure.ac: post release version bump
594 * debian/changelog: post release version bump
596 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
601 * configure.ac: Bump version.
602 * debian/changelog: Updates.
604 2009-06-08 Christian Dywan <christian@lanedo.com>
608 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
609 Correct errors in hildon_format_file-size_for_display and use
610 translations from the hildon-fm package instead of osso-filemanager.
612 2009-06-08 Alejandro G. Castro <alex@igalia.com>
614 * hildon/hildon-pannable-area.c,
615 (hildon_pannable_area_init): Initialized new values to handle the
617 (hildon_pannable_area_adjust_value_changed): Check if the values
618 changed before even call the redraw function.
619 (hildon_pannable_area_size_allocate),
620 (hildon_pannable_axis_scroll),
621 (hildon_pannable_area_scroll),
622 (hildon_pannable_area_jump_to): Improved the diagonal movement
625 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
628 2009-06-08 Alberto Garcia <agarcia@igalia.com>
630 * examples/hildon-banner-example.c:
631 Several style updates
632 (on_animation_clicked, on_animation_idle)
633 (on_progress_clicked, on_progress_idle):
634 Add additional reference for the cases when the parent window is
637 2009-06-08 Alberto Garcia <agarcia@igalia.com>
639 * doc/hildon-sections.txt
640 * hildon/hildon-pannable-area.c
641 * hildon/hildon-banner.h
642 * hildon/hildon-banner.c: Documentation updates.
644 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
647 2009-06-05 Alejandro G. Castro <alex@igalia.com>
649 * hildon/hildon-calendar-popup.h:
650 * hildon/hildon-caption.h:
651 * hildon/hildon-code-dialog.h:
652 * hildon/hildon-controlbar.h:
653 * hildon/hildon-date-editor.h:
654 * hildon/hildon-dialog.h:
655 * hildon/hildon-get-password-dialog.h:
656 * hildon/hildon-hvolumebar.h:
657 * hildon/hildon-login-dialog.h:
658 * hildon/hildon-note.h:
659 * hildon/hildon-number-editor.h:
660 * hildon/hildon-range-editor.h:
661 * hildon/hildon-seekbar.h:
662 * hildon/hildon-set-password-dialog.h:
663 * hildon/hildon-sort-dialog.h:
664 * hildon/hildon-time-editor.h:
665 * hildon/hildon-time-picker.h:
666 * hildon/hildon-volumebar-range.h:
667 * hildon/hildon-volumebar.h:
668 * hildon/hildon-vvolumebar.h:
669 * hildon/hildon-weekday-picker.h:
670 * hildon/hildon-window.h:
671 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
672 macros with the current replacements
674 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
676 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
678 * hildon/hildon-color-button.c (hildon_color_button_init): Use
679 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
680 itself, to make it fit better with Fremantle style.
682 Fixes: NB#109878 (height and width of focus on color icon is not
683 consistent with other item in the application tool bar)
685 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
687 * hildon/hildon-touch-selector.c:
688 (hildon_touch_selector_optimal_size_request): use the current requisition
689 as the base, in order to include any possible extra widget, like the
690 hildon entry on HildonTouchSelectorEntry
692 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
694 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
696 * configure.ac: post release version bump
697 * debian/changelog: post release version bump
699 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
704 * configure.ac: Bump version.
705 * debian/changelog: Updates.
707 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
709 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
711 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
712 to ensure the banner contents are centered, instead of relying on
713 the expand and fill properties in GtkHBox.
714 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
716 Fixes: NB#108265 (Animation banner not properly centered)
718 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
720 * hildon/hildon-pannable-area.c
721 (hildon_pannable_area_initial_effect): Remove the initial_effect
722 management, check initial_hint
723 (hildon_pannable_are_expose_event): Remove the initial_hint management,
724 set initial_effect to FALSE
725 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
726 by launching the fade_timeout if the scrollbars state has changed and are
728 * examples/hildon-pannable-area-initial-hint-example.c
729 Modified to allow to remove rows too. Add and remove rows one by one.
731 2009-05-28 Alberto Garcia <agarcia@igalia.com>
733 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
734 Don't close the menu if there's an animation actor below it.
736 Fixes: NB#117927 (Application menu not usable with animation
739 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
741 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
742 "focus-on-click" from the dialog button, to avoid stealing the
743 focus from the entry.
745 Fixes: NB#118903 (Account setup wizard: Text in Search field
746 should be focused when "Region" touch list picker is reopened
749 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
751 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
752 (prepare_action_area): Completely hide the dialog separator.
754 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
756 * hildon/hildon-touch-selector-entry.c
757 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
758 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
759 now that the entry is exposed.
761 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
763 * hildon/hildon-touch-selector-entry.c
764 (hildon_touch_selector_entry_init): Change the entry's size
765 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
767 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
769 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
770 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
771 avoid unnecessary scaling.
773 2009-05-27 Alberto Garcia <agarcia@igalia.com>
775 * hildon/hildon-app-menu.c (hildon_app_menu_map):
776 Create grab transfer window before calling parent's map function.
778 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
779 "crushed" button(s) in the top left corner)
781 2009-05-26 Alberto Garcia <agarcia@igalia.com>
783 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
784 Check if the window is already realized when pushing it.
786 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
788 * configure.ac: post release version bump
789 * debian/changelog: post release version bump
791 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
796 * configure.ac: Bump version.
797 * debian/changelog: Updates.
799 2009-05-25 Alberto Garcia <agarcia@igalia.com>
801 * hildon/hildon-app-menu.c: Doc updates.
803 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
805 * hildon/hildon-banner.c: Remove leftover macro.
807 2009-05-25 Alejandro G. Castro <alex@igalia.com>
809 * hildon/hildon-pannable-area.c,
810 (hildon_pannable_area_scroll_indicator_fade),
811 (hildon_pannable_area_button_release_cb): Reviewed vmin
812 conditions, it could cause problems in the fadeout procedure.
814 2009-05-25 Alejandro G. Castro <alex@igalia.com>
816 * hildon/hildon-pannable-area.c
817 (hildon_pannable_area_button_release_cb): Added a threshold to
818 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
820 2009-05-25 Alejandro G. Castro <alex@igalia.com>
822 * hildon/hildon-pannable-area.c,
823 (hildon_pannable_area_set_property): Added code to sync the gtk
824 dnd threshold with the panning threshold.
826 2009-05-25 Alejandro G. Castro <alex@igalia.com>
828 * hildon/hildon-pannable-area.c,
829 (hildon_pannable_area_class_init): Changed some of the default
830 values, now it should be less responsive and more accurate.
832 2009-05-25 Alejandro G. Castro <alex@igalia.com>
834 * hildon/hildon-pannable-area.c,
835 (hildon_pannable_area_init),
836 (hildon_pannable_area_scroll_indicator_fade),
837 (hildon_pannable_area_button_press_cb),
838 (hildon_pannable_axis_scroll),
839 (hildon_pannable_area_timeout),
840 (hildon_pannable_area_motion_notify_cb),
841 (hildon_pannable_area_button_release_cb): Changed the name of the
842 clicked attribute to button_pressed, it is more clear about its use.
844 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
846 * src/hildon-pannable-area.c
847 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
849 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
850 vertical scrollbar visibility, and use the data on private section instead,
851 remove the initial_hint check
852 (hildon_pannable_area_expose_event): add the initial_hint check here
854 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
856 * src/hildon-pannable-area.c
857 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
858 if the fadeout effect was used
859 (hildon_pannable_area_expose_event): check if it is required to
860 manage the initial effect on the begining of the function. Previously
861 it was made at the end, but this doesn't ensure that the scrollbars
862 will be painted on the first show. Do not set to FALSE initial_effect,
863 to ensure that the initial hint is showed the first time the pannable
865 * examples/Makefile.am
866 * examples/hildon-pannable-area-initial-hint-example.c:
867 New example, to show that the initial-hint is showed when the widget
870 Fixes: NB#116607 (Pannable area should always have scrollbar visible
871 initially if the application can be scrolled)
873 2009-05-25 Alberto Garcia <agarcia@igalia.com>
875 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
876 Resize table before adding new items to make sure that
877 gtk_table_resize() is called just once.
879 2009-05-25 Alberto Garcia <agarcia@igalia.com>
881 * hildon/hildon-app-menu-private.h
882 * hildon/hildon-app-menu.c (item_visibility_changed)
883 (filter_visibility_changed, hildon_app_menu_show_all)
884 (hildon_app_menu_hide_all, hildon_app_menu_init):
885 Rearrange items just once when gtk_widget_show_all()/hide_all()
888 2009-05-25 Alberto Garcia <agarcia@igalia.com>
890 * hildon/hildon-app-menu.c
891 (hildon_app_menu_insert, hildon_app_menu_add_filter):
892 Don't call gtk_widget_show() on added items.
894 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
895 automatically when they're added)
897 2009-05-20 Alberto Garcia <agarcia@igalia.com>
899 * hildon/hildon-banner.c
900 (hildon_banner_realize, +hildon_banner_unrealize)
901 (+screen_size_changed, hildon_banner_class_init):
902 Redisplay the banner if the screen is rotated.
904 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
905 on transition from landscape to portrait)
907 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
909 * hildon/hildon-banner.[ch]:
910 (hildon_banner_show_information_override_dnd): remove icon_name from the
911 method definition as it is ignored.
912 * examples/hildon-banner-dnd-example.c: updated with the change on
915 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
917 * hildon/hildon-banner-private.h: new require_override_dnd and
918 overrides_dnd variables
919 * hildon/hildon-banner.h:
920 (hildon_banner_show_information_override_dnd): new method, that shows
921 the information but sets the override flag, in order to show important
923 * hildon/hildon-banner.c
924 (hildon_banner_show_information_override_dnd): new method
925 (hildon_banner_set_override_flag): new utility function
926 (hildon_banner_real_show_information): new utility function, in order to
927 generalize the current hildon_banner_show_information_override_dnd and
928 hildon_banner_show_information_override_dnd
929 * examples/Makefile.am
930 * examples/hildon-banner-dnd-example.c: New example that show how to
931 use the new hildon_banner_show_information_override_dnd
933 Fixes: NB#114874 (There is no possibility to show hildon banners with
936 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
938 * hildon/hildon-pannable-area.c: Add a comment explaining the math
939 behind hildon_pannable_calculate_vel_factor().
941 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
943 * hildon/hildon-pannable-area.c
944 (hildon_pannable_calculate_vel_factor): Correct the sum of the
945 deceleration factors.
947 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
949 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
950 Reduce the default value for 'scroll_time' to 1 second, since the
951 current initial scrolling takes too much time.
953 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
955 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
956 calculate velocity factor during initialization, since the properties
959 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
961 * hildon/hildon-pannable-area.c
962 (hildon_pannable_area_set_property): Calculate the velocity factor
963 after setting the deceleration property and not after.
965 2009-05-20 Alberto Garcia <agarcia@igalia.com>
967 * hildon/hildon-entry.c
968 (hildon_entry_class_init, +set_property, hildon_entry_new)
969 * hildon/hildon-check-button.c
970 (hildon_check_button_class_init)
971 (+set_property, hildon_check_button_new):
972 Make the theme size a property.
974 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
975 others) do too much in the _new function)
977 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
979 * configure.ac: post release version bump
980 * debian/changelog: post release version bump
982 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
987 * configure.ac: Bump version.
988 * debian/changelog: Updates.
990 2009-05-15 Alberto Garcia <agarcia@igalia.com>
992 * hildon/hildon-gtk.h
993 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
994 New API function to take a screenshot of a window
996 Fixes: NB#106374 (Need API to take a loading screenshot)
998 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
1000 * hildon/hildon-time-selector.c
1001 (update_format_policy): prevent to use hours and minutes unitialized
1003 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1005 * hildon/hildon-window.c (hildon_window_size_request):
1006 Always request the full size of the screen (minus the title bar if
1007 not in fullscreen mode).
1009 Fixes: NB#107486 (HildonWindow should size itself properly)
1011 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
1013 * hildon/hildon-note-private.h: Add idle_handler to the private data.
1014 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
1015 (on_show_cb), (sound_handling): Disconnect the idle handler for
1016 the sound when the note is finalized to avoid possible crashes.
1018 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1021 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
1023 * src/hildon-animation-actor.c,
1024 * src/hildon-remote-texture.c:
1025 Added proper object cleanup to remove signal handler and object
1026 references as HildonAnimationActor and HildonRemoteTexture
1027 objects get destroyed.
1029 Fixes: NB#116682 (Destroying parented animation actors when
1030 parent in unmapped leads to crash)
1032 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1034 Based on a patch by Christian Dywan (christian@imendio.com)
1036 * doc/hildon-sections.txt:
1037 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1038 * hildon/hildon-helper.h: New file size formatting method.
1040 * debian/control: Depend on osso-filemanager l10n package for
1041 proper localization strings.
1043 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1045 * tests/Makefile.am: Include top_srcdir to make possible to build
1046 tests in a different builddir.
1047 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1048 on a different builddir.
1050 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1052 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1053 (hildon_touch_selector_remove): Disconnect model's signal handler
1056 Fixes: NB#116289 (Hildon home crashes while adding task
1059 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1061 * hildon/hildon-button.c
1062 (hildon_button_set_title, hildon_button_set_value):
1063 Hide labels containing an empty string.
1065 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1067 * configure.ac: post release version bump
1068 * debian/changelog: post release version bump
1070 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1075 * configure.ac: Bump version.
1076 * debian/changelog: Updates.
1078 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1080 * hildon/hildon-note-private.h: Removed sound_signal_handler
1081 * hildon/hildon-note.c
1082 (on_show_cb): new callback on note "show" event, this simply adds
1083 a idle, with the function sound_handling
1084 (sound_handling): removed the sound_signal_handler management
1085 (hildon_note_init): connect note "show" event to on_show_cb
1086 (hildon_note_realize): remove the connection to "expose-event"
1088 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1089 device?' confirmation note)
1091 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1093 * hildon/hildon-note.c
1094 (hildon_note_new_information_with_icon_name)
1095 (hildon_note_new_confirmation_with_icon_name):
1096 Terminate the list of parameters in g_object_set() calls
1098 Fixes: NB#115166 (Formatting memory card is not taking place)
1100 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1102 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1103 "dialog-information" role for the sound being played.
1105 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1107 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1108 Don't make the menu a modal window, it causes strange interactions
1109 with the pointer grab and it's not really needed.
1111 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1113 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1115 * hildon/hildon-touch-selector.[ch]
1116 (hildon_touch_selector_optimal_size_request): function added to get a
1117 optimal size request from the touch selector, when you want a dialog to
1118 show as much of the selector
1119 * hildon/hildon-picker-dialog.c:
1120 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1121 (hildon_app_menu_class_init):
1122 New "max-height-landscape" and "max-height-portrait" style properties
1123 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1124 (hildon_picker_dialog_get_max_height): returns the maximum height using
1125 the style properties defined and checking the current portrait/landscape
1127 (_hildon_picker_dialog_set_selector): removed the set_size_request
1129 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1131 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1133 * hildon/hildon-bread-crumb-trail.c:
1134 * hildon/hildon-bread-crumb.c:
1135 * hildon/hildon-seekbar.c:
1136 Add reference to replacements for these deprecated widgets.
1138 Fixes: MB#4461 (Documentation: All deprecations should mention
1141 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1143 * examples/hildon-remote-texture-example.c
1145 Change the include to the hildon-remote-texture in order to compile
1146 properly the examples on the installed libhildon1-examples package
1148 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1150 * tests/Makefile.am: Add check for HildonPickerButton.
1151 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1152 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1153 checks for the HildonPickerButton.
1154 * tests/check_test.c (configure_tests): Add the test suite.
1155 * tests/test_suites.h: likewise.
1157 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1159 * hildon/hildon-touch-selector.c
1160 (+on_row_changed): Emit HildonTouchSelector:changed when the
1161 contents of a selected row change.
1162 (_create_new_column), (_hildon_touch_selector_set_model): connect
1163 to GtkTreeModel:row-changed on a newly set model.
1165 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1167 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1169 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1171 * hildon/hildon-banner.c (hildon_banner_destroy)
1172 (hildon_banner_show_progress, hildon_banner_set_fraction):
1173 Remove the progress bar from HildonBanner and use a progress
1176 Fixes: NB#113761 (Update progress banner to use progress
1179 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1181 * hildon/hildon-banner.c:
1182 Calculate size of the banner label using the actual screen width
1183 rather than using a fixed value.
1185 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1188 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1190 * hildon/hildon-pannable-area.c,
1191 (hildon_pannable_area_class_init): Fixed signals documentation
1194 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1196 * configure.ac: post release version bump
1197 * debian/changelog: post release version bump
1199 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1204 * configure.ac: Bump version.
1205 * debian/changelog: Updates.
1207 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1209 * hildon/hildon-edit-toolbar.c
1210 (hildon_edit_toolbar_init):
1211 Don't let buttons in HildonEditToolbar receive focus.
1213 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1214 typing on an HW arrows key)
1216 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1218 * doc/Makefile.am: Fix build.
1220 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1222 * doc/Makefile.am: Do not redefine content_files.
1224 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1232 Renamed src/ to hildon/
1237 Include <hildon/hildon.h> directly in all examples.
1239 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1241 * src/hildon-sort-dialog.c
1242 (hildon_sort_dialog_add_sort_key_with_sorting)
1246 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1248 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1249 make distcheck passes.
1251 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1253 * Makefile.am: Enable gtk-doc during distcheck.
1255 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1257 * Makefile.am: Do not distribute the debian/ directory.
1259 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1261 * doc/Makefile.am: Add the extra SGML files to content_files,
1262 so that they are distributed properly.
1264 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1266 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1269 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1271 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1272 (hildon_note_new_information_with_icon_name): Set the "icon" property
1273 to preserve soundness.
1275 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1277 * src/hildon-font-selection-dialog.c
1278 (hildon_font_selection_dialog_set_property): Fail when the "family"
1279 property is set to NULL.
1281 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1283 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1286 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1288 * src/hildon-time-selector.h:
1289 Added HildonTimeSelectorFormatPolicy
1290 * src/hildon-time-selector.c:
1291 Added PROP_TIME_FORMAT_POLICY
1292 (_check_ampm_format): renamed to check_automatic_ampm_format
1293 (update_format_policy), (update_format_dependant_columns): new functions
1294 (hildon_time_selector_class_init)
1295 (hildon_time_selector_contructor)
1296 (hildon_time_selector_init)
1297 (hildon_time_selector_get_property)
1298 (hildon_time_selector_set_property)
1299 (hildon_time_selector_get_time)
1300 (hildon_time_selector_set_time)
1301 * src/hildon-touch-selector.h: new file
1302 * src/hildon-touch-selector.c
1303 (hildon_touch_selector_emit_changed)
1304 (hildon_touch_selector_block_changed)
1305 (hildon_touch_selector_unblock_changed)
1306 Added functions to allow to block the emission of the "changed" signal
1307 * src/hildon-picker-dialog.c
1308 (hildon_picker_dialog_show): call the parent show before the custom code
1309 * examples/hildon-time-button-example.c
1310 Modified, so now you can configure the time format using the new property
1312 Added a new property "time-format-policy" that allow to choose the time
1313 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1314 case it uses gconf in order to check if the time selector must use
1317 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1320 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1322 * src/hildon-note.c (hildon_note_init):
1323 Label in HildonNote must be left aligned, not centered. This
1324 reverts the last commit in HildonNote.
1326 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1327 is connectivity dialog)
1329 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1334 * doc/hildon-sections.txt:
1335 Added hildon_gtk_window_set_do_not_disturb()
1337 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1339 * src/hildon-note.c (hildon_note_init): Center label.
1341 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1344 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1349 * configure.ac: Bump version.
1350 * debian/changelog: Updates.
1352 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1354 * src/hildon-note-private.h: Add button-width to the private data.
1355 * src/hildon-note.c (+resize_button),
1356 (+hildon_note_orientation_update): methods to repack widgets on orientation
1358 (screen_size_changed): Call above method for confirmation notes.
1359 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1360 (hildon_note_rebuild): Store the original width request from buttons.
1362 Fixes: NB#109635 (Confirmation notes do not support portrait)
1364 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1366 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1367 when it is a progress note.
1369 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1371 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1372 in the note, since there are no horizontally arranged contents.
1374 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1376 * src/hildon-gtk.c (+set_flag): new generic method to
1377 set/delay a flag setting in a window.
1378 (hildon_gtk_window_set_progress_indicator):
1379 (hildon_gtk_window_set_do_not_disturb),
1380 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1381 avoid code redundance.
1383 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1385 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1387 * src/hildon-gtk.c (set_clear_window_flag),
1388 (do_set_progress_indicator), (do_set_do_not_disturb),
1389 (do_set_portrait_flags),
1390 (hildon_gtk_window_set_progress_indicator),
1391 (hildon_gtk_window_set_do_not_disturb),
1392 (hildon_gtk_window_set_portrait_flags):
1393 Allow setting dnd-flag, progress indicator, and portrait flags
1394 when the window is not realized.
1396 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1398 * src/hildon-pannable-area.c,
1399 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1400 the size request policy function and defines.
1402 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1404 * doc/hildon-sections.txt: Add the new API.
1405 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1406 method to set the portrait flags.
1407 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1409 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1411 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1413 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1414 to allow using this method with other flags.
1415 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1416 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1418 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1420 * src/hildon-touch-selector.c
1421 (hildon_touch_selector_append_text_column):
1422 Make the cell renderer use the smallest width possible.
1424 Fixes: NB#108470 (Selected items in multiple selection are either
1425 having a tick that is cut or not visible at all.)
1427 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1429 * src/hildon-touch-selector.c
1430 (hildon_touch_selector_append_text_column):
1433 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1435 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1436 Use g_strdup_printf() instead of a fixed size buffer.
1438 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1440 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1441 Close banners when a HildonAppMenu is popped up.
1443 Fixes: NB#111027 (Title menu closed immediately if activated when
1444 "Invalid e-mail address" banner is shown)
1446 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1451 * configure.ac: Bump version.
1452 * debian/changelog: Updates.
1454 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1456 * src/hildon-banner.c (hildon_banner_realize):
1457 Mark HildonBanner as supporting portrait mode.
1458 Use GDK to set window properties insetad of direct Xlib calls.
1460 Fixes: NB#111830 (HildonBanner should be marked as supporting
1463 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1465 * src/hildon-note.c (hildon_note_rebuild):
1466 Hide action area in information notes. Prevents text from being
1467 slightly aligned to the left.
1469 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1472 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1474 Patch by Mox Soini (ext-mox.soini@nokia.com)
1476 * src/hildon-banner.c (hildon_banner_create_animation):
1477 Use stylus-sized icons in animation banner.
1479 Fixes: NB#111206 (stylus sized icon for animation banner)
1481 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1485 (+hildon_gtk_window_set_do_not_disturb):
1486 New API to set the do-not-disturb flag.
1488 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1490 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1492 * examples/hildon-progress-indicator-example.c: Fix example
1494 * src/hildon-gtk.c (set_clear_window_flag)
1495 (hildon_gtk_window_set_progress_indicator):
1496 Create a generic function for setting flags to a window.
1497 Use GDK instead of direct Xlib calls.
1499 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1501 * src/hildon-button.c (hildon_button_set_arrangement):
1502 Due to NB#88126, if one of the labels is too long it will be
1503 painted outside the button. The 'value' label is more likely to be
1504 the longest one, so we change its packing options in order to
1505 truncate it if necessary. As a side effect, the 'title' label will
1506 no longer be truncated.
1508 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1510 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1515 * configure.ac: Bump version.
1516 * debian/changelog: Updates.
1518 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1520 Deprecation of the hildon_pannable_area_set_size_request_policy
1521 API, the only policy properly supported in gtk+ nowadays is the
1524 * src/hildon-pannable-area.c,
1525 (hildon_pannable_area_size_request): Added a workaround for the
1526 size_request to avoid the problems of huge pixmaps in case someone
1527 is still using the function.
1528 * src/hildon-pannable-area.h: Deprecated the enum with the
1531 Fixes: NB#110244 (Problems with the
1532 hildon_pannable_area_set_size_request_policy API)
1534 2009-04-08 Alejandro G. Castro <alex@igalia.com>
1536 * src/hildon-pannable-area.c,
1537 (hildon_pannable_area_init),
1538 (hildon_pannable_area_size_request),
1539 (hildon_pannable_area_style_set),
1540 (hildon_pannable_draw_vscroll),
1541 (hildon_pannable_draw_hscroll),
1542 (hildon_pannable_area_check_scrollbars): Replaced area_width with
1543 indicator_width to clarify the use of the attribute.
1545 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
1550 * configure.ac: Bump version.
1551 * debian/changelog: Updates.
1553 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
1555 * src/hildon-picker-dialog.c
1556 * src/hildon-touch-selector.c
1557 Reverting the change that tried to avoid the hardcoded height on
1558 the picker dialog, as causes problems on the hildon-touch-selector
1561 Fixes: NB#110029 (selectors not scrolling to selected value)
1563 2009-04-07 Alberto Garcia <agarcia@igalia.com>
1565 * src/hildon-touch-selector.c: Fix typos
1567 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1569 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1570 Use the event coordinates instead of gdk_window_get_pointer(). Also,
1571 request more motions after using it.
1573 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1575 * src/hildon-calendar.c (hildon_calendar_expose),
1576 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1577 Remove unused variables.
1579 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1581 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1582 variable assignment.
1584 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1586 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1587 Check the return value of gtk_tree_selection_get_selected()
1590 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1592 * src/hildon-animation-actor.c
1593 * src/hildon-button.c
1595 * src/hildon-pannable-area.c
1596 * src/hildon-picker-button.c
1597 * src/hildon-program.c
1598 * src/hildon-remote-texture.c
1599 * src/hildon-text-view.c
1600 * src/hildon-touch-selector.c
1601 * src/hildon-window-stack.c
1602 * src/hildon-window.c:
1603 Add missing 'Since: 2.2' tags.
1605 * doc/hildon-sections.txt:
1606 Add some missing symbols.
1608 * doc/hildon-docs.sgml:
1609 New 'Other' section for HildonAnimationActor and
1612 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1614 Patch by Iván Gómez (igomez@igalia.com)
1617 * doc/compiling.sgml
1618 * doc/hildon-docs.sgml
1619 * doc/hildon-sections.txt
1620 * doc/migration.sgml
1621 * doc/resources.sgml
1623 New chapters on using the Hildon library.
1624 Updated the general structure of the reference manual.
1625 Other minor documentation fixes.
1627 * src/hildon-calendar-popup.c
1628 * src/hildon-calendar.c
1629 * src/hildon-controlbar.c
1630 * src/hildon-date-editor.c
1631 * src/hildon-dialog.c
1632 * src/hildon-hvolumebar.c
1633 * src/hildon-number-editor.c
1634 * src/hildon-range-editor.c
1635 * src/hildon-sort-dialog.c
1636 * src/hildon-time-editor.c
1637 * src/hildon-time-picker.c
1638 * src/hildon-volumebar-range.c
1639 * src/hildon-volumebar.c
1640 * src/hildon-vvolumebar.c
1641 * src/hildon-weekday-picker.c:
1642 Add deprecation notes
1644 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1645 Document 'horizontal-movement' and 'vertical-movement' signals.
1647 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
1652 * configure.ac: Bump version.
1653 * debian/changelog: Updates.
1655 2009-04-06 Alejandro G. Castro <alex@igalia.com>
1657 * src/hildon-pannable-area.c,
1658 (hildon_pannable_area_class_init): increased the minimum velocity.
1659 (hildon_pannable_area_button_release_cb): Updated the
1660 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
1661 setup. Review the code to control that last event.
1663 Fixes: NB#109790 (Releasing finger in pannable area easily causes
1666 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
1668 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1670 * src/hildon-get-password-dialog.c
1671 (hildon_get_password_set_property),
1672 (hildon_get_password_get_property), (create_contents):
1673 * src/hildon-login-dialog-private.h:
1674 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
1675 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
1676 (hildon_login_dialog_get_password):
1677 * src/hildon-set-password-dialog-private.h:
1678 * src/hildon-set-password-dialog.c
1679 (hildon_set_password_set_property),
1680 (hildon_set_password_get_property), (create_contents),
1681 (hildon_set_password_response_change),
1682 (hildon_set_password_response_set), (hildon_checkbox_toggled):
1684 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
1685 instead and look more Fremantle style.
1687 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
1689 2009-04-03 Alberto Garcia <agarcia@igalia.com>
1691 * doc/hildon-sections.txt
1692 * src/hildon-window-stack.h
1693 * src/hildon-window-stack.c
1694 (+hildon_window_stack_get_windows):
1695 New API to obtain the list of windows on a stack.
1697 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1699 * src/hildon-app-menu.c (hildon_app_menu_popup)
1700 (hildon_app_menu_class_init, -hildon_app_menu_show):
1701 Remove hildon_app_menu_show() and move all its checks to
1702 hildon_app_menu_popup()
1704 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
1706 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
1707 (_hildon_picker_dialog_set_selector): removed call to
1708 gtk_widget_set_size_request
1709 * src/hildon-touch-selector.c
1710 (_create_new_column): change the pannable size request policy
1712 Avoid to use a hardcoded height for the hildon picker dialog. In order
1713 to get that, we needed to change the hildon pannable size request
1715 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1717 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1719 * src/hildon-window.c (hildon_window_map): Check for vbox to be
1720 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
1723 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1725 * debian/control: Depend on osso-system-lock localization package.
1726 * src/hildon-code-dialog.c: Obtain the secu_application_title
1727 translation from osso-system-lock.
1728 * src/hildon-get-password-dialog.c (create_contents): Do not mark
1729 for translation the atk related strings, that's not necessary.
1730 * src/hildon-set-password-dialog.c (create_contents): Ditto.
1731 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
1732 cancel button, it is not required.
1734 2009-04-02 Alejandro G. Castro <alex@igalia.com>
1736 * src/hildon-pannable-area.c,
1737 (hildon_pannable_area_class_init): Modified the default value of
1738 the overshooting max speed, we have reduced it.
1740 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1742 * doc/hildon-sections.txt
1743 * src/hildon-window-private.h
1744 * src/hildon-window.h
1745 * src/hildon-window.c (hildon_window_class_init)
1746 (hildon_window_init, hildon_window_finalize)
1747 (hildon_window_realize, hildon_window_get_property)
1748 (hildon_window_set_property, hildon_window_update_markup)
1749 (hildon_window_get_markup, hildon_window_set_markup):
1750 New "markup" property and hildon_window_{get,set}_markup() methods.
1752 * examples/hildon-stackable-window-example.c (new_window):
1753 Update example to use hildon_window_set_markup()
1755 Fixes: NB#106375 (Need API to retitle a window with a title
1758 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1760 * src/hildon-pannable-area.c,
1761 (hildon_pannable_area_class_init): Changed the default value of
1762 the initial_hint to TRUE.
1763 (hildon_pannable_area_initial_effect): Changed the initial effect,
1764 not the effect is just the fade-out of the scrollbars.
1766 Fixes: NB#107775 (No scrollbars can be seen when several items are
1767 available in a dialog)
1769 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1771 * src/hildon-program.c (hildon_program_update_top_most):
1774 Fixes: NB#109179 (Memory leak in Hildon program)
1776 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1778 * src/hildon-banner.c (-get_current_app_window):
1779 Remove unused function.
1781 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1783 * src/hildon-pannable-area.c: Modified the documentation of the
1784 get adjustments functions to explain the problem of using the
1785 adjustment directly.
1786 (hildon_pannable_area_class_init): Improved the explanation about
1789 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1791 * src/hildon-app-menu-private.h
1792 * src/hildon-app-menu.c
1793 (hildon_app_menu_class_init):
1794 Bring back the 'external-border' style property
1795 (hildon_app_menu_class_init, hildon_app_menu_init)
1796 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
1797 Set a fixed width-request for the menu, independent of the number
1800 Fixes: NB#94957 (Smoothly opened application menu)
1802 2009-03-30 Alberto Garcia <agarcia@igalia.com>
1804 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
1806 * src/hildon-banner.c
1807 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
1809 Make sure that the banner is correctly placed the first time it's
1811 (hildon_banner_check_position, -check_fullscreen_state):
1812 Show the banner in the same place no matter if the window is in
1813 fullscreen mode or not.
1815 Fixes: NB#107386 (Odd stacking behaviour for information banners)
1817 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1819 * src/hildon-touch-selector.c (_default_print_func): reorder
1820 concatenation for clarity.
1822 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1824 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
1825 for multicolumn selectors.
1827 Fixes: NB#109099 (Memory leak in Hildon touch selector)
1829 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
1834 * configure.ac: Bump version.
1835 * debian/changelog: Updates.
1837 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
1839 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
1842 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1844 * configure.ac: removed libcangerra-gtk dependency
1845 * debian/control: removed libcanberra-gtk dependency
1846 * src/Makefile.am: removed libcanberra gtk related flags
1847 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1848 context, and manage a global canberra context instead
1850 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1852 2009-03-26 Alberto Garcia <agarcia@igalia.com>
1854 Patch by Daniel Borgmann (danielb@openismus.com)
1856 * src/hildon-edit-toolbar.c:
1857 Adjust the left padding.
1858 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
1859 Paint background of the edit toolbar.
1861 Fixes: NB#107897 (Patch to make editmodetoolbar background
1862 themeable and adjust margin)
1864 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1866 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1868 * src/hildon-program.c (hildon_program_update_top_most):
1869 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
1871 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
1872 change when the user tasks in/out of an application)
1874 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1876 * configure.ac: added libcangerra-gtk dependency
1877 * debian/control: added libcanberra-gtk dependency
1878 * src/Makefile.am: added libcanberra gtk related flags
1879 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
1882 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1884 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1886 * src/hildon-program.c (hildon_program_remove_window)
1887 (hildon_program_add_window): Add checks for the window
1888 parameter. Don't decrease the window counter if the window is not
1891 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1893 * src/hildon-pannable-area.c,
1894 (hildon_pannable_area_realize): Fixed position of the event_window
1895 in the realize method.
1897 2009-03-24 Alberto Garcia <agarcia@igalia.com>
1899 * src/hildon-app-menu-private.h
1900 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
1901 (hildon_app_menu_map, hildon_app_menu_hide_idle)
1902 (hildon_app_menu_key_press, hildon_app_menu_init)
1903 (hildon_app_menu_finalize):
1904 Make sure that all idle functions are removed when the widget is
1907 Fixes: NB#107583 (Hildon app menu crashes in various applications)
1909 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1914 * configure.ac: Bump version.
1915 * debian/changelog: Updates.
1917 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1919 * src/hildon-entry.c
1920 (+hildon_entry_show_placeholder),
1921 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
1922 that replace hildon_entry_update_contents().
1923 (hildon_entry_set_text),
1924 (hildon_entry_set_placeholder),
1925 (hildon_entry_focus_in_event),
1926 (hildon_entry_focus_out_event): Determine when it is needed
1927 either to show or hide the placeholder and call the above methods.
1929 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
1930 when the placeholder text is already set)
1932 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1934 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
1935 simple GdkPixbufAnim using the new icons for the banner.
1936 (hildon_banner_show_animation): Use the above mentioned method to
1937 create the animation widget.
1939 Fixes: NB#103564 (Make hildon animation banner use individual
1940 image files as the animation)
1942 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1944 * src/hildon-pannable-area.c,
1945 (hildon_pannable_leave_notify_event): Check if the child is NULL
1946 to avoid sending the leave.
1948 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1950 * src/hildon-pannable-area.c,
1951 (hildon_pannable_area_class_init),
1952 (hildon_pannable_leave_notify_event): Added a handler of the
1953 leave-notify-signal to consider when no motion notify before
1956 Fixes: NB#107494 (Items stay selected when clicking and moving
1957 away when inside pannable area)
1959 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
1964 * configure.ac: Bump version.
1965 * debian/changelog: Updates.
1967 2009-03-19 Alejandro G. Castro <alex@igalia.com>
1969 Patch by Alberto Garcia (agarcia@igalia.com)
1971 * src/hildon-date-button.c,
1972 (hildon_date_button_class_init),
1973 (hildon_date_button_init): Removed the construct property handling
1974 and created a default selector in the init method.
1975 * src/hildon-picker-button.c,
1976 (hildon_picker_button_class_init): Removed the construct flag of the
1979 2009-03-18 Alberto Garcia <agarcia@igalia.com>
1981 * src/hildon-main.c (hildon_init):
1982 Don't allow hildon_init() to be called more than once.
1984 Fixes: NB#106607 (hildon_init should issue error message upon
1987 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
1989 * examples/hildon-pannable-area-touch-list-example.c
1990 * examples/hildon-pannagle-area-touch-grid-example.c
1991 * examples/hildon-edit-toolbar-example.c
1992 * examples/hildon-touch-selector-multi-cells-example.c
1993 Removed the call to gtk_rc_parse_string, as it is not required since
1996 2009-03-17 Alejandro G. Castro <alex@igalia.com>
1998 * src/hildon-pannable-area.c,
1999 (hildon_pannable_area_class_init): Modified the default panning
2000 threshold of the widget to 6px.
2002 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
2003 than the threshold value ) within the button is not sending the
2006 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2008 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
2009 for the treeview in the new column. This way, the touch list will never
2012 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
2013 be selected manually for the HW keys to work)
2015 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2017 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2018 comparison instead of using strcmp(). Fixes a compiler warning as well.
2020 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2022 * doc/hildon-docs.sgml: Do not set the library version in the
2023 document title, use the releaseinfo tag for that purpose instead.
2025 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2027 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2028 Do not jump to the first item if the text in the entry is removed.
2030 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2035 * configure.ac: Bump version.
2036 * debian/changelog: Updates.
2038 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2040 * src/hildon-entry.c (hildon_entry_refresh_contents):
2041 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2042 Use "ReversedSecondaryTextColor" for the placeholder text.
2044 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2046 * src/hildon-text-view.c: Fix compilation warning.
2048 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2050 * src/hildon-button.c (hildon_button_class_init): Don't make
2051 "title" and "value" construction properties, to prevent them from
2052 overwriting labels set from derived classes.
2054 * src/hildon-picker-button.c
2055 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2056 (hildon_picker_button_class_init): Make touch-selector a
2057 construction property.
2059 * src/hildon-date-button.c (hildon_date_button_class_init)
2060 (+hildon_date_button_constructed): Add a default date selector if
2063 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2065 * src/hildon-touch-selector.c: Small documentation fixes.
2067 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2069 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2071 * src/hildon-entry.c (hildon_entry_refresh_contents),
2072 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2073 widget name, set the logical color directly instead and a boolean
2074 showing_placeholder instead.
2075 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2076 use the widget name here either.
2078 Fixes: NB#105678 (HildonTextView should use logical colours
2079 instead of setting widget name)
2081 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2083 Patch by Daniel Elster (danielk@openismus.com)
2085 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2086 Add user_data parameter.
2087 (hildon_touch_selector_set_print_func_full): New function akin
2088 hildon_touch_selector_set_print_func() but with support for user
2089 data and a destroy callback.
2090 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2091 to clean up the print function user data.
2092 (hildon_touch_selector_class_init): Install dispose function.
2093 (HildonTouchSelectorPrivate::print_user_data),
2094 (HildonTouchSelectorPrivate::print_destroy_func): New private
2096 (hildon_touch_selector_init): Initialize new private members.
2097 (hildon_touch_selector_get_current_text): Pass along user data
2098 to the print function.
2099 (_default_print_func): Add dummy user_data to parameter list.
2100 * hildon-date-selector.c (_custom_print_func): ditto,
2101 * hildon-time-selector.c (_custom_print_func): ditto,
2102 * hildon-touch-selector-entry.c
2103 (hildon_touch_selector_entry_print_func): ditto.
2105 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2107 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2109 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2111 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2113 * src/hildon-pannable-area.c,
2114 (hildon_pannable_area_init),
2115 (hildon_pannable_area_button_press_cb),
2116 (hildon_pannable_area_motion_notify_cb): We have added code to
2117 handle the leave and enter events when using the motion events.
2119 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2121 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2123 * src/hildon-date-button.c (hildon_date_button_get_date)
2124 (hildon_date_button_set_date): Make sure that the button has a
2127 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2129 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2131 * src/hildon-pannable-area.c,
2132 (hildon_pannable_area_class_init),
2133 (hildon_pannable_area_calculate_velocity): Modify the use of the
2134 force and adapt the value.
2136 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2138 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2139 (hildon_app_menu_class_init): Hide the menu if it receives a
2140 delete-event, but don't destroy it
2142 Fixes: NB#104485 (Not able to address the call when application
2143 menu is opened at background)
2145 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2147 * src/hildon-app-menu.c
2148 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2149 Remove the "external-border" style property, let the menu take its
2150 natural size (or the one set by the window manager)
2151 (hildon_app_menu_repack_items):
2152 Don't reshow the menu, avoid flickers.
2154 Partially fixes NB#94957 (Smoothly opened application menu)
2156 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2161 * configure.ac: Bump version.
2162 * debian/changelog: Updates.
2164 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2166 * src/hildon-pannable-area.c,
2167 (hildon_pannable_area_motion_notify_cb): We control that the
2168 direction error margin is used just in case the movement is
2169 allowed in the other direction.
2171 Fixes: NB#105012 (buttons inside a pannable area not getting
2172 release event when dragging/releasing)
2174 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2176 * src/hildon-pannable-area.c,
2177 (hildon_pannable_area_class_init),
2178 (hildon_pannable_area_get_property),
2179 (hildon_pannable_area_set_property),
2180 (hildon_pannable_area_initial_effect),
2181 (hildon_pannable_axis_scroll),
2182 (hildon_pannable_area_button_release_cb): Reviewed the
2183 overshooting effect, now it has its own max
2184 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2185 speed when bouncing.
2187 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2192 * configure.ac: Bump version.
2193 * debian/changelog: Updates.
2195 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2197 * src/hildon-pannable-area.c,
2198 (hildon_pannable_area_class_init): Changed the max speed, now
2199 users can launch the widget very fast. Reduced the default force,
2200 that way it is easier to control the launch speed.
2202 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2204 * src/hildon-pannable-area.c,
2205 (hildon_pannable_area_button_release_cb): Removed this check
2206 because it causes problems when the device is overloaded.
2208 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2210 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2211 add a current_text field to store the text entered in the
2212 touch selector entry.
2213 (_clean_current_selection): clean up the current text as well.
2214 (_save_current_selection), (_restore_current_selection):
2215 Save/restore the text in the entry if the selector is a
2216 HildonTouchSelectorEntry.
2218 Fixes: NB#102541 (value entered in the touch selector entry is not
2219 shown when opened for second time)
2221 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2223 * doc/hildon-sections.txt:
2224 * src/hildon-touch-selector-entry.c
2225 (+hildon_touch_selector_entry_get_entry):
2226 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2228 Fixes: NB#104815 (I need accessor to the entry inside
2229 HildonTouchSelectorEntry)
2231 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2233 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2234 (hildon_app_menu_class_init):
2235 New "filter-vertical-spacing" style property.
2237 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2239 * src/hildon-find-toolbar.c
2240 (hildon_find_toolbar_emit_close)
2241 (hildon_find_toolbar_emit_invalid_input)
2242 (hildon_find_toolbar_entry_activate):
2243 Use g_signal_emit() instead of g_signal_emit_by_name()
2245 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2247 Patch by Mox Soini (ext-mox.soini@nokia.com)
2249 * tests/TEST-CASES.txt
2250 * tests/check-hildon-banner.c
2251 * tests/check-hildon-note.c
2252 * src/hildon-banner.c
2253 * src/hildon-code-dialog.c
2254 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2255 * src/hildon-time-editor.c
2256 * examples/hildon-lookup-example.c (main):
2257 Replace obsolete icon names with new ones.
2259 * src/hildon-find-toolbar-private.h:
2260 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2261 (-hildon_find_toolbar_emit_search):
2262 Remove find button and change icon of close button.
2264 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2266 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2268 * src/hildon-time-button.c (hildon_time_button_new_step):
2269 Use the "touch-selector" property to set the selector directly
2270 when creating the object.
2272 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2274 Added a new example application that allows tuning the pannable
2275 area and replaced defines with properties in order to simplify the
2276 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2277 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2278 PROP_DIRECTION_ERROR_MARGIN.
2280 * examples/hildon-pannable-area-tuning-example.c: New example
2282 * src/hildon-pannable-area.c,
2283 (hildon_pannable_area_class_init),
2284 (hildon_pannable_area_init),
2285 (hildon_pannable_area_get_property),
2286 (hildon_pannable_area_set_property),
2287 (hildon_pannable_area_launch_fade_timeout),
2288 (hildon_pannable_area_adjust_value_changed),
2289 (hildon_pannable_axis_scroll),
2290 (hildon_pannable_area_motion_notify_cb),
2291 (hildon_pannable_area_scroll_cb),
2292 (hildon_pannable_area_button_release_cb): We have converted some
2293 of the defines that control the widget to properties to simplify
2296 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2298 * src/hildon-app-menu.c (hildon_app_menu_map)
2299 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2300 so it's closed if a new window appears.
2302 Fixes: NB#104485 (Not able to address the call when application
2303 menu is opened at background)
2305 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2307 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2308 missing 'break' statement in in 'case' construct to avoid
2311 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2313 * src/hildon-touch-selector-entry.c
2314 (hildon_touch_selector_entry_get_property),
2315 (hildon_touch_selector_entry_set_property): Add missing 'break'
2316 statements in in 'case' constructs to avoid incorrect warnings.
2318 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2320 * src/hildon-time-editor.c
2321 (hildon_time_editor_get_time_separators): Do not crash if
2322 the first label is NULL.
2324 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2326 * src/hildon-date-selector.c (_month_days): Check for month to be
2327 strictly less than 12, since otherwise we may overrun the array.
2329 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2331 * src/hildon-date-button.c (+hildon_date_button_new_full)
2332 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2333 (hildon_date_button_init): Set the date selector using a
2334 construction property, to make it happen after HildonButton's
2335 "value" property is set.
2337 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2338 current date by default)
2340 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2342 * doc/hildon-sections.txt
2343 * src/hildon-program.c
2344 * src/hildon-stackable-window.c
2345 * src/hildon-window.c:
2346 Documentation updates
2348 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2350 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2351 (hildon_window_stack_new, +hildon_window_stack_set_property)
2352 (+hildon_window_stack_get_property)
2353 (hildon_window_stack_class_init)
2354 (+hildon_window_stack_set_window_group)
2355 (+hildon_window_stack_get_window_group):
2356 Make the window group a construction property.
2358 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2360 * doc/hildon-sections.txt
2361 * src/hildon-stackable-window-private.h
2362 * src/hildon-stackable-window.h
2363 * src/hildon-stackable-window.c
2364 (-hildon_stackable_window_set_app_menu)
2365 (-hildon_stackable_window_get_app_menu)
2366 (-hildon_stackable_window_toggle_menu)
2367 (-hildon_stackable_window_finalize)
2368 (hildon_stackable_window_class_init)
2369 (hildon_stackable_window_init)
2370 * src/hildon-window-private.h
2371 * src/hildon-window.h
2372 * src/hildon-window.c (hildon_window_init)
2373 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2374 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2375 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2376 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2377 Moved all HildonAppMenu code to HildonWindow. The menu does not
2378 require a HildonStackableWindow anymore.
2380 * src/hildon-app-menu.c
2381 * src/hildon-program.c
2382 * examples/hildon-app-menu-example.c (main):
2383 Update examples and documentation to reflect HildonAppMenu
2386 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2388 * src/hildon-remote-texture.c
2389 * src/hildon-animation-actor.c:
2390 Don't include unused private headers.
2392 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2394 * src/hildon-program-private.h
2395 * src/hildon-program.c
2396 (hildon_program_set_common_menu)
2397 (hildon_program_get_common_menu)
2398 (hildon_program_set_common_app_menu)
2399 (hildon_program_get_common_app_menu):
2400 Change common menu pointers from GtkWidget* to GtkMenu* and
2401 HildonAppMenu* to avoid unnecessary casts.
2403 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2405 * src/hildon-window.c (hildon_window_set_main_menu):
2406 Removed incorrect 'Since:' tag
2408 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2410 * src/hildon-pannable-area.c,
2411 (hildon_pannable_area_calculate_velocity): We use now the
2412 RATIO_TOLERANCE here to check the distance, fixed typo in the
2414 (hildon_pannable_area_motion_notify_cb): We have to set the type
2415 and time even if we are not sending the motion.
2417 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2419 * doc/hildon-sections.txt
2420 * src/hildon-app-menu.h
2421 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2422 (+hildon_app_menu_get_filters): New methods to get the contents of
2425 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2428 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2430 * src/hildon-app-menu.c (hildon_app_menu_popup):
2433 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2435 * src/hildon-window.h
2436 * src/hildon-window.c (+hildon_window_get_main_menu)
2437 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2438 and deprecated hildon_window_get_menu().
2440 * src/hildon-stackable-window.h
2441 * src/hildon-stackable-window.c
2442 (+hildon_stackable_window_set_app_menu)
2443 (+hildon_stackable_window_get_app_menu)
2444 (hildon_stackable_window_set_main_menu): Created
2445 hildon_stackable_window_{get,set}_app_menu() and deprecated
2446 hildon_stackable_window_set_main_menu().
2448 * doc/hildon-sections.txt
2449 * examples/hildon-app-menu-example.c (main)
2450 * src/hildon-app-menu.c
2451 * src/hildon-program.c:
2452 Updated examples and documentation.
2454 Fixes: NB#103758 (No way to obtain a menu from a
2455 HildonStackableWindow)
2457 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2462 * configure.ac: Bump version.
2463 * debian/changelog: Updates.
2465 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2467 * examples/hildon-remote-texture-example.c: Include
2468 hildon-remote-texture.h explicitely.
2469 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2470 applications not defining _XOPEN_SOURCE which don't require this header.
2472 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2474 * doc/hildon-sections.txt
2475 * src/hildon-app-menu.h
2476 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2477 New function to pop up a HildonAppMenu
2479 * src/hildon-stackable-window.c
2480 (hildon_stackable_window_toggle_menu):
2481 Use hildon_app_menu_popup() to show the menu.
2483 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2485 * src/hildon-app-menu.c (hildon_app_menu_show)
2486 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2487 menu if there's another window between it and its parent window.
2489 Fixes: NB#100468 (Application menu window is launched even when a
2490 new secondary-window/dialog is pending to be shown/realized)
2492 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2494 * src/hildon-window-stack.c (hildon_window_stack_push)
2495 (hildon_window_stack_pop_and_push):
2496 Don't forget to push/pop the first window.
2497 Reverse the window list before calling _push_list()
2499 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2501 * src/hildon-picker-button.h
2502 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2503 Remove "value_changed" slot to avoid ABI breakage
2505 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2507 * src/hildon-pannable-area.c,
2508 (hildon_pannable_area_realize),
2509 (hildon_pannable_area_unrealize),
2510 (hildon_pannable_draw_vscroll),
2511 (hildon_pannable_draw_hscroll): Changed the method to handle the
2512 GC used to draw the transparent scrollbar, this way we avoid
2513 creating the GC all the time when drawing the scrollbars.
2515 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2517 * src/hildon-pannable-area.c,
2518 (hildon_pannable_area_init),
2519 (hildon_pannable_area_remove): Removed some unnecessary casts.
2520 (hildon_pannable_area_dispose): Disconnected some signals before
2521 releasing the adjustments.
2523 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2525 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2526 Make sure that all widgets contained in the toolbar are shown.
2528 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2530 * doc/hildon-sections.txt
2531 * src/hildon-picker-button.h
2532 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2533 (_selection_changed, hildon_picker_button_on_dialog_response)
2534 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2535 New hildon_picker_button_value_changed() method.
2538 * src/hildon-picker-button-private.h
2539 * src/hildon-picker-button.c (hildon_picker_button_init)
2540 (+hildon_picker_button_disable_value_changed): Add protected
2541 function for disabling the "value-changed" signal.
2543 * src/hildon-date-button.c (hildon_date_button_set_date):
2544 Don't emit "value-changed" for each one of the three columns.
2546 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2547 before actual change of values)
2549 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2551 * src/hildon-pannable-area.c,
2552 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2553 for the treeview overshooting.
2555 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2557 * src/hildon-banner.c (+hildon_banner_bind_style):
2558 Renamed from hildon_banner_bind_label_style(), now naming the
2559 banner itself as well.
2560 (hildon_banner_show_information),
2561 (hildon_banner_show_information_with_markup),
2562 (hildon_banner_show_animation), (hildon_banner_show_progress):
2563 Name the widgets and labels, based on their type.
2565 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2568 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2570 * src/hildon-note.c (hildon_note_set_property): call
2571 hildon_note_rename() on HildonNote:note-type set.
2572 (hildon_note_rename): Name the note and its label, based on the
2573 HildonNote:note-type property.
2575 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2578 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2580 * src/hildon-pannable-area.c,
2581 (hildon_pannable_area_class_init),
2582 (hildon_pannable_area_motion_notify_cb): Reviewed the default
2583 panning parameters, increased SPS and deceleration factor. Added
2584 also a margin to control fake directions.
2586 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2588 Patch by Sven Herzberg (sven@imendio.com)
2590 * configure.ac: Add missing AM_PROG_CC_C_0
2591 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2593 See NB#101420 (Update unit tests and fix make check)
2595 2009-02-23 Alejandro G. Castro <alex@igalia.com>
2597 This patch was applied before but reverted because it caused
2598 problems, we have changed the main condition and tested the
2599 regressions we detected before and they work ok. We have done a
2600 complete review of the topmost algorithm in order to get a more
2603 * src/hildon-pannable-area.c,
2604 (hildon_pannable_area_get_topmost): Added a new parameter to
2605 filter the the windows that do not include those events.
2606 (hildon_pannable_area_button_press_cb),
2607 (hildon_pannable_area_button_release_cb),
2608 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2609 topmost function, we have added the new parameter.
2611 Fixes: NB#97458 (Pannable area prevents propagation of button
2614 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2616 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
2617 if all columns in the selector have an item selected.
2618 (_on_dialog_response): Stop "response" signal emission if there is
2619 any selector column without selected items.
2621 Fixes: NB#101889 (Picker dialog should not close when nothing is
2622 selected in multiple selection list)
2624 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2626 * src/hildon-font-selection-dialog.c
2627 (hildon_font_selection_dialog_class_init),
2628 (hildon_font_selection_dialog_init): Remove the preview
2629 button and dialog, since previewing with default theming is likely
2630 to be overcomplicated. The :preview property has now no effect.
2631 Update documentation blurbs to inform about this.
2633 Fixes: NB#92297 (Preview content is not clearly visible for
2634 default colour text)
2636 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2638 Reviewed the geometry that handles the children size and
2639 scrollbar, now it tries a size and reviews the results depending
2640 on the scrollbars visibility.
2642 * src/hildon-pannable-area.c,
2643 (hildon_pannable_area_realize): Fixed a typo.
2644 (hildon_pannable_area_child_allocate_calculate): Added this
2645 function to calculate the child allocation.
2646 (hildon_pannable_area_size_allocate): Reviewed the allocation
2648 (hildon_pannable_area_check_scrollbars),
2649 (hildon_pannable_area_refresh): Refactored refresh function, this
2650 way we can call the code handling the scrollbars without causing a
2651 size_request, it is interesting in the allocate.
2652 (hildon_pannable_area_init): Replace the callbacks of the
2653 value_changed and changed signals to propertly deal with the
2655 (hildon_pannable_area_grab_notify),
2656 (hildon_pannable_area_initial_effect),
2657 (hildon_pannable_area_launch_fade_timeout),
2658 (hildon_pannable_area_adjust_changed),
2659 (hildon_pannable_area_adjust_value_changed),
2660 (hildon_pannable_area_redraw),
2661 (hildon_pannable_area_button_press_cb),
2662 (hildon_pannable_area_button_release_cb),
2663 (hildon_pannable_area_scroll_cb),
2664 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
2665 code and use the new functions adjust_changed and
2666 adjust_value_changed.
2668 Fixes: NB#101603 (Focus is not even for the text entry boxes in
2669 Contact editor dialog)
2671 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
2676 * configure.ac: Bump version.
2677 * debian/changelog: Updates.
2679 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2681 * src/hildon-pannable-area.c,
2682 (hildon_pannable_area_get_topmost),
2683 (hildon_pannable_area_button_press_cb),
2684 (hildon_pannable_area_button_release_cb),
2685 (hildon_pannable_get_child_widget_at): Reverted the patch for the
2686 topmost function adding the event mask. We have to try a
2687 differente approach because it is still causing problems (NB#9745,
2690 2009-02-19 Alberto Garcia <agarcia@igalia.com>
2692 * src/hildon-banner.c:
2693 Update the maximum width of timed banners.
2694 (force_to_wrap_truncated): Enforce the maximum text width if the
2697 Fixes: NB#102413 (The text margins (wrapping) in information
2698 banner should be HILDON_MARGIN_TRIPLE)
2700 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2702 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
2704 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
2705 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
2706 bound when calculating the scroll indicator position.
2708 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
2709 treat ->lower correctly)
2711 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2713 * src/hildon-caption.c (hildon_caption_class_init): Remove the
2714 expose event handling, since it is not necessary to draw the focus
2717 Fixes: NB#102467 (Do not show highlight on the text in
2720 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2722 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
2723 full height of the toolbar for the button and the label.
2725 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2727 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
2728 padding before the label and after the button.
2730 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2732 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
2734 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2735 Add a GtkVSeparator between the button and the back arrow.
2736 Let the button have automatic size.
2737 Set a name to the widget for theming handling.
2739 Fixes: NB#101793 (Make edit toolbar the same height as window
2740 title bar (use title area theming))
2742 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2744 * src/hildon-helper.c (attach_new_color_element): Fix memory
2747 Fixes: NB#102262 (memory leak in hildon_button_set_style())
2749 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2751 * examples/hildon-button-example.c (common_buttons_window): Don't
2754 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2756 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2757 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
2759 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2761 * src/hildon-gtk.c: Check that the window is realized.
2763 Fixes: NB#102225 (Crash setting the progress indicator to a non
2766 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2768 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
2769 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
2770 instead of modifying the one in the widget style.
2772 Fixes: NB#101043 (Second row of all the command button are
2773 displayed in transparent mode.)
2775 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2777 * src/hildon-date-button.c
2778 * src/hildon-time-button.c: Add gettext macros
2780 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
2782 * src/hildon-date-button.c (hildon_date_button_new):
2783 * src/hildon-time-button.c (hildon_time_button_new_step):
2784 Use new logical strings to set the button default title.
2786 Fixes: NB#99915 (Date and Time options are not localised in Date
2789 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2791 * src/hildon-pannable-area.c
2792 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
2793 the PANNING_THRESHOLD.
2795 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2797 * src/hildon-pannable-area.c,
2798 (hildon_pannable_area_class_init): Increased the maximum speed.
2799 (hildon_pannable_area_get_property),
2800 (hildon_pannable_area_set_property),
2801 (hildon_pannable_area_timeout): Added a new low friction mode, it
2802 allows the user avoid friction when launching the widget fast
2803 enough. It is interesting to traverse long lists.
2805 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2807 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
2808 (+hildon_stackable_window_delete_event): Ignore delete events if
2809 the window is not the topmost one.
2811 Fixes: NB#101698 (Back button long press and delete-event handling)
2813 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2815 * src/hildon-pannable-area.c,
2816 (hildon_pannable_area_motion_notify_cb): Removed the use of the
2817 gtk-dnd-drag-threshold, it was too big. We have defined our own
2818 dnd define and set a smaller value: PANNIG_THRESHOLD.
2820 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2822 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
2823 user-defined icons, use always the default one.
2825 Fixes: NB#101916 (Do not allow custom icons on animation banner)
2827 2009-02-13 Alejandro G. Castro <alex@igalia.com>
2829 This patch was applied before but reverted because it caused
2830 problems, we have changed the main condition and tested the
2831 regressions we detected before and they work ok.
2833 * src/hildon-pannable-area.c,
2834 (hildon_pannable_area_get_topmost): Added a new parameter to
2835 filter the the windows that do not include those events. Added
2836 also a condition when finding the window to filter windows that do
2837 not ask for those events.
2838 (hildon_pannable_area_button_press_cb),
2839 (hildon_pannable_area_button_release_cb),
2840 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2841 topmost function, we have added the new parameter.
2843 Fixes: NB#97458 (Pannable area prevents propagation of button
2846 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2848 * tests/check-hildon-color-button.c (START_TEST): do not leak
2851 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2853 * src/hildon-font-selection-dialog.c
2854 (hildon_font_selection_dialog_get_preview_text): Return NULL
2855 instead of FALSE on the g_return_val_if_fail().
2857 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2859 * src/hildon-time-selector.c (hildon_time_selector_set_time):
2860 * src/hildon-date-selector.c
2861 (hildon_date_selector_select_current_date):
2862 Do not compare unsigned integers to be greater than or equal 0,
2863 because it's always TRUE.
2865 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2867 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
2868 (hildon_date_selector_constructor): Do not select the current
2869 date until we are handle the "changed" signal, to avoid having bogus
2870 elements in the days model.
2872 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2874 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
2875 for num_days, since _month_days() can return a negative value.
2877 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2879 * src/hildon-caption.c (hildon_caption_size_allocate):
2880 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
2881 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
2883 Initialize allocation variables to 0, to avoid eventually using
2884 unitialized variables.
2886 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2888 * src/hildon-bread-crumb-trail.c
2889 (hildon_bread_crumb_trail_size_allocate):
2890 * src/hildon-calendar.c (hildon_calendar_set_background):
2891 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
2892 * src/hildon-range-editor.c (hildon_range_editor_get_range):
2893 * src/hildon-seekbar.c (hildon_seekbar_init):
2894 * src/hildon-time-editor.c (hildon_time_editor_get_time):
2895 * src/hildon-time-selector.c (hildon_time_selector_finalize):
2896 * src/hildon-touch-selector-entry.c
2897 (hildon_touch_selector_get_text_from_model):
2898 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
2899 * src/hildon-window.c (hildon_window_finalize):
2901 Remove many unused variables.
2903 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2905 * src/hildon-seekbar.c: (hildon_seekbar_init),
2906 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
2908 Remove unnecessary g_assert() calls.
2910 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2912 * src/hildon-caption.c: (hildon_caption_expose),
2913 (hildon_caption_set_property), (hildon_caption_init),
2914 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
2915 (hildon_caption_size_request), (hildon_caption_size_allocate),
2916 (hildon_caption_forall), (hildon_caption_set_separator),
2917 (hildon_caption_activate), (hildon_caption_set_child_expand),
2918 (hildon_caption_set_label_text),
2919 (hildon_caption_get_label_alignment):
2921 Remove unnecessary g_assert() calls.
2923 2009-02-12 Alberto Garcia <agarcia@igalia.com>
2925 * src/hildon-banner.c
2926 (hildon_banner_map, hildon_banner_init): Make banner temporary
2927 before mapping it to avoid closing other temporary windows, but
2928 make it non-temporary afterwards to avoid being closed by other
2929 non-temporary windows.
2930 (-hildon_banner_client_event, hildon_banner_init):
2931 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
2933 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
2936 2009-02-11 Alberto Garcia <agarcia@igalia.com>
2938 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
2941 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2943 * src/hildon-remote-texture.c
2944 * src/hildon-remote-texture.h
2945 * src/hildon-remote-texture-private.h
2946 * examples/hildon-remote-texture-example.c:
2947 Updates/fixes to remote-texture and its example.
2949 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
2951 Patch by Mox Soini (ext-mox.soini@nokia.com)
2953 * src/hildon-code-dialog.c: Update logical id.
2954 * src/hildon-set-password-dialog.c: Update logical id.
2956 Fixes: NB#100646 (Logical strings is shown for ok in set
2957 password,Password needed dialogs)
2959 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2962 * src/hildon-remote-texture.c
2963 * src/hildon-remote-texture.h
2964 * src/hildon-remote-texture-private.h
2966 Added remote texture widget (for Clutter shared memory textures)
2968 * examples/hildon-remote-texture-example.c
2969 * examples/Makefile.am
2970 Added example file for remote texture usage
2972 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
2974 * configure.ac: post release version bump.
2975 * debian/changelog: version bump.
2977 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
2982 * configure.ac: Bump version.
2983 * debian/changelog: Updates.
2985 2009-02-06 Alberto Garcia <agarcia@igalia.com>
2987 * src/hildon-date-selector.c (hildon_date_selector_init)
2988 (hildon_date_selector_constructor): Don't connect to the "changed"
2989 signal until the selector is completely constructed.
2991 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2993 * src/hildon-touch-selector.c: (_create_new_column),
2994 (hildon_touch_selector_append_column),
2995 (hildon_touch_selector_set_column_selection_mode),
2996 (hildon_touch_selector_set_active),
2997 (hildon_touch_selector_select_iter):
2998 Emit the HildonTouchSelector::changed signal every time selection
2999 is changed in any of the methods above. This behavior was already
3000 documented but not fully functional.
3002 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
3003 selection is programmatically changed)
3005 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3007 * doc/hildon-sections.txt: Remove obsolete icon
3008 sizes from here as well.
3010 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3012 * examples/hildon-stackable-window-example.c (add_window): Remove
3015 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3017 * src/hildon-app-menu.c
3018 (hildon_app_menu_show): Check whether the parent window of a menu
3019 is topmost before popping it up.
3021 Fixes: NB#100468 (Application menu window is launched even when a
3022 new secondary-window/dialog is pending to be shown/realized.)
3024 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3026 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3029 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3031 Patch by Mox Soini (ext-mox.soini@nokia.com)
3033 * src/hildon-banner.c: (hildon_banner_show_animation):
3034 use stylus size instead of obsolete note size.
3035 * src/hildon-defines.h: Update icon sizes.
3037 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3039 * src/hildon-touch-selector-entry.c:
3040 (hildon_touch_selector_entry_init): Disable unsupported
3042 (hildon_touch_selector_entry_get_text_column): Emit a warning
3043 if an unsupported input modes is used and explicitile state
3044 these modes in the documentation.
3046 Fixes: NB#99802 (Hildon touch selector entry not working properly
3047 for some of the input modes)
3049 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3051 * src/hildon-pannable-area.c,
3052 (hildon_pannable_area_init): Added the changed signal handlers of
3055 Fixes: NB#100320 (HildonPannableArea does not listen to
3056 GtkAdjustment "change" signals)
3058 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3060 * doc/hildon-sections.txt
3061 * src/hildon-window-private.h
3062 * src/hildon-window.h
3063 * src/hildon-window.c (hildon_window_init)
3064 (hildon_window_realize, hildon_window_unrealize)
3065 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3066 (hildon_window_size_request, hildon_window_size_allocate)
3067 (hildon_window_forall, hildon_window_show_all)
3068 (hildon_window_destroy, +paint_edit_toolbar)
3069 (+hildon_window_set_edit_toolbar):
3070 New hildon_window_set_edit_toolbar() method, to add a
3071 HildonEditToolbar to a window without having to pack it manually.
3073 Reorganize hildon_window_size_allocate()
3075 * src/hildon-edit-toolbar.c: Update documentation.
3077 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3078 example to use the new API.
3080 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3082 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3084 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3085 Remove from stack before calling parent's hide.
3087 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3089 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3090 window is removed from the middle of the stack, update the
3091 transiency of the previous one.
3093 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3096 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3098 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3099 block/unblock the signal handler if it's not actually being used.
3100 Fixes some critical warnings.
3102 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3104 Based on a patch by Iván Gómez (igomez@igalia.com)
3106 * src/hildon-banner.c
3110 * src/hildon-pannable-area.c
3111 * src/hildon-picker-dialog.c
3112 * src/hildon-wizard-dialog.h
3113 * src/hildon-wizard-dialog.c: Documentation updates.
3115 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3116 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3118 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3120 * configure.ac: post release version bump.
3121 * debian/changelog: version bump.
3123 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3128 * configure.ac: Bump version.
3129 * debian/changelog: Updates.
3131 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3133 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3134 a stock icon nor change the relief of the back arrow.
3136 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3137 graphics from theme)
3139 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3141 * src/hildon-button.c (hildon_button_set_alignment): Use
3142 priv->alignment if the button has no child yet.
3144 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3146 * src/hildon-button.c: (hildon_button_init): Set the
3147 button style during initialization to give it the proper
3150 Fixes: NB#99713 (HildonButton value label color is wrong)
3152 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3154 * src/hildon-touch-selector.c: Document
3155 hildon_touch_selector_center_on_selected()
3157 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3159 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3160 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3161 all menu items, but not the menu itself.
3162 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3163 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3164 items after adding them to the menu so keyboard accelerators work.
3165 (hildon_app_menu_show): Don't show the menu if it contains items
3166 but none of them are visible.
3168 * examples/hildon-app-menu-example.c (create_menu): Use
3169 gtk_widget_show_all() to show all menu items.
3171 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3173 * src/hildon-picker-dialog.c:
3174 (-_update_title_on_selector_changed_cb),
3175 (-_dialog_update_title): Removed.
3176 (_select_on_selector_changed_cb), (_on_dialog_response),
3177 (on_selector_columns_changed): Do not update the dialog title.
3178 (setup_interaction_mode): Do not connect to
3179 HildonTouchSelector::changed signal if there's a "done" button, as
3180 the dialog title doesn't need to be updated.
3182 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3185 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3187 Patch by Kristian Rietveld (kris@imendio.com)
3189 * src/hildon-touch-selector.c: (_create_new_column): Use new
3190 GtkTreeView::hildon-row-tapped signal to react to user interactions
3191 instead of ::changed.
3193 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3194 with some dynamic tree model)
3196 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3198 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3199 (+screen_size_changed, +label_size_request)
3200 (hildon_note_class_init): Make the Hildon information note have a
3201 minimum height, and make its text hvae a maximum width.
3203 Fixes: NB#98614 (Hildon information note (background) should have
3204 minimum height and maximum text width)
3206 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3208 * src/hildon-banner.h
3209 * src/hildon-banner.c (hildon_banner_show_information)
3210 (hildon_banner_show_informationf)
3211 (hildon_banner_show_information_with_markup): Update documentation
3212 to reflect that the icon_name parameter is not used anymore.
3213 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3214 Remove all code from these functions and mark them as deprecated.
3215 (hildon_banner_show_progress): Mark as deprecated.
3217 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3219 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3221 * src/hildon-pannable-area.c,
3222 (hildon_pannable_area_class_init),
3223 (tranparency_color),
3224 (hildon_pannable_draw_vscroll),
3225 (hildon_pannable_draw_hscroll),
3226 (hildon_pannable_area_expose_event): Added a new way to render the
3227 scrollbars of the pannable area avoiding using cairo at all. This
3228 way we improve the performance of the pannable area rendering. The
3229 cairo rendering procedure is still in the code, we can control
3230 which one to use changing the value of the define
3231 USE_CAIRO_SCROLLBARS.
3233 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3235 * configure.ac: post release version bump.
3236 * debian/changelog: version bump.
3238 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3243 * configure.ac: Bump version.
3244 * debian/changelog: Updates.
3246 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3248 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3249 banners instead of destroying them when they receive a button
3252 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3254 Reverted commit 34028, it was causing regressions, probably the
3255 topmost condition is not correct, we have to check it in more
3256 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3257 propagation of button press events)
3259 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3261 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3262 that the selection is not empty before attempting to retrieve the
3263 current ampm selection.
3265 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3267 * src/hildon-picker-button.c:
3268 (hildon_picker_button_on_dialog_response): Directly update the
3269 button contents when required instead of calling _selection_changed.
3271 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3273 * src/hildon-program.c (hildon_program_update_top_most): Update
3274 'is-topmost' property also when wm_hints is not set.
3276 Fixes: NB#98383 (is-topmost signal is not emitted when task
3277 switcher is clicked.)
3279 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3281 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3285 * src/hildon-animation-actor.c,
3286 * src/hildon-animation-actor.h: Added the animation actor class,
3287 this widget represents an animation actor for WM-assisted
3288 animation effects in the Hildon framework.
3290 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3292 * src/hildon-window-stack-private.h
3293 * src/hildon-window-stack.c
3294 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3295 Avoid calling gtk_widget_show() again indirectly from
3296 hildon_stackable_window_show()
3298 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3300 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3303 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3305 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3306 (hildon_time_selector_init): Move the construction of the hours and
3307 ampm columns to the constructor to preserve the order the columns
3310 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3312 * src/hildon-picker-dialog.c:
3313 (hildon_picker_dialog_class_init): Connect a realize method.
3314 (+hildon_picker_dialog_realize): Setup the interaction mode here
3316 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3317 yet, do it during the realize instead.
3318 (_on_dialog_response):
3319 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3320 if the widget is not realized, to avoid the dialog response before it
3323 Avoid premature responses in the HildonPickerDialog that can cause it
3324 to be hidden before it's even shown.
3326 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3328 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3329 (on_selector_columns_changed), (requires_done_button),
3330 (+prepare_action_area), (setup_interaction_mode),
3331 (_hildon_picker_dialog_set_selector):
3333 Split the interaction mode setup into preparation of the
3334 action area (prepare_action_area()) and the connection of
3335 the signals in setup_interaction_mode() and update the code to
3338 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3340 * src/hildon-pannable-area.c,
3341 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3342 per second to 15, we will check if this is ok regarding
3345 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3347 * src/hildon-pannable-area.c,
3348 (hildon_pannable_axis_scroll): Avoid resize if we already have
3349 reached overshoot_max.
3351 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3353 * src/hildon-pannable-area.c,
3354 (hildon_pannable_area_init),
3355 (hildon_pannable_area_realize),
3356 (hildon_pannable_area_size_allocate),
3357 (hildon_pannable_area_map),
3358 (hildon_pannable_area_unmap),
3359 (hildon_pannable_draw_vscroll),
3360 (hildon_pannable_draw_hscroll),
3361 (hildon_pannable_area_expose_event),
3362 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3363 pannable are to avoid the expose events go to the window and
3364 redraw the window. We save this way that part of the stack and the
3365 paint_boxes. We had to change the positions of the elements when
3368 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3370 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3371 * src/hildon-color-chooser-dialog.c:
3372 (hildon_color_chooser_dialog_init):
3373 * src/hildon-font-selection-dialog.c:
3374 (hildon_font_selection_dialog_init),
3375 (hildon_font_selection_dialog_show_preview):
3376 * src/hildon-get-password-dialog.c:
3377 * src/hildon-login-dialog.c:
3378 * src/hildon-set-password-dialog.c:
3379 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3380 * src/hildon-time-picker.c: (hildon_time_picker_init):
3382 Remove obsolete logical string IDs and update to the appropriate ones.
3384 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3386 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3388 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3389 that happens if the window hasn't been realized yet.
3391 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3392 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3394 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3396 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3397 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3400 Fixes: NB#98537 (Device hangs in account settings dialog)
3402 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3404 * configure.ac: post release version bump.
3405 * debian/changelog: version bump
3407 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3412 * configure.ac: Bump version.
3413 * debian/changelog: Updates.
3415 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3417 Added a new function to the HildonTimeButton widget that allows to
3418 change the step of the minutes in the selector associated with the
3419 button: hildon_time_button_new_step
3421 * src/hildon-time-button.c,
3422 (hildon_time_button_init),
3423 (hildon_time_button_new),
3424 (hildon_time_button_new_step):
3425 * src/hildon-time-button.h: Added the new function and refactored
3427 * examples/hildon-time-button-example.c,
3428 (main): We have replaced the function without parameters with the
3429 function with the steps set to 5
3431 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3433 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3435 * src/hildon-time-selector.c,
3436 (hildon_time_selector_class_init),
3437 (hildon_time_selector_constructor),
3438 (hildon_time_selector_get_property),
3439 (hildon_time_selector_set_property),
3440 (_create_minutes_model),
3441 (hildon_time_selector_new_step),
3442 (hildon_time_selector_set_time),
3443 * src/hildon-time-selector.h: Added a new property to the
3444 HildonTimeSelector (minutes-step), we use that property to control
3445 the steps between the minutes in the list of the selector. We have
3446 added a new function to the API to create a widget changing the
3447 step: hildon_time_selector_new_step.
3449 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3451 * src/hildon-time-selector.c,
3452 (hildon_time_selector_class_init),
3453 (hildon_time_selector_constructor),
3454 (hildon_time_selector_init): Overrided the construct function when
3455 creating the time selector object. We have moved the minutes model
3456 handling code from the init to the new construction function:
3457 hildon_time_selector_constructor.
3459 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3461 * examples/hildon-date-button-example.c: (main): Use the new
3462 hildon_date_button_new_with_year_range() method in the example.
3463 * src/hildon-date-button.c:
3464 (+hildon_date_button_new_with_year_range): New public method
3465 to conveniently create a HildonDateButton with a custom year range
3466 in its HildonDateSelector.
3467 * src/hildon-date-button.h: Add the new public method definition.
3469 Fixes: NB#97908 (Not possible to change the year range in
3470 HildonDateSelector/HildonDateButton)
3472 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3474 * src/hildon-date-selector.c:
3475 (+hildon_date_selector_set_property),
3476 (+hildon_date_selector_get_property),
3477 (hildon_date_selector_class_init): Install new properties "min-year"
3478 and "max-year" to define boundaries for the year column.
3479 (_create_year_model): Use the boundary properties to populate the model.
3480 (+hildon_date_selector_new_with_year_range): New public method to
3481 create a HildonDateSelector with a user defined year range.
3482 (hildon_date_selector_select_current_date): Use the new boundaries to
3483 calculate the iterator of current year.
3484 * src/hildon-date-selector.h: Add the new public method definition.
3486 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3488 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3489 Install a constructor method.
3490 (+hildon_date_selector_construct_ui): construct the widget.
3491 (+hildon_date_selector_constructor): new constructor.
3492 (+hildon_date_selector_init): move out widget construction code to
3493 the new constructor.
3495 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3497 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3498 that there's actually a month or year selected before obtaining them.
3499 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3500 of the HildonTouchSelector::changed signal, as it was emitted on every
3501 single item selection.
3503 Fix some warnings and possible crashers due to the selection restoring.
3505 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3507 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3508 the signal handlers only after creating the dialog instead of on every
3511 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3513 * src/hildon-button.c (hildon_button_init)
3514 * src/hildon-check-button.c (hildon_check_button_init)
3515 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3516 focus when clicked by default.
3518 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3520 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3523 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3525 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3526 Alejandro G. Castro (alex@igalia.com)
3528 * src/hildon-picker-dialog.c:
3529 (hildon_picker_dialog_class_init): install new "center-on-show"
3531 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3532 (hildon_picker_dialog_set_property): add setter code for the new
3534 (hildon_picker_dialog_get_property): add getter code for the new
3536 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3537 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3540 Fixes: NB#92849 (Selected item is not always visible when
3541 HildonTouchSelector is shown)
3543 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3545 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3546 Alejandro G. Castro (alex@igalia.com)
3548 * src/hildon-touch-selector.c:
3549 (_create_new_column): Do not connect to the "realize" signal of the
3551 (hildon_touch_selector_append_column): center on the selected items
3552 when a new column is appended.
3553 (hildon_touch_selector_select_iter): Factor out the code to select a
3554 column to hildon_touch_selector_scroll_to().
3555 (+search_nearest_element): Method to retrieve the nearest selected
3556 element to the visible area of the pannable area in a column.
3557 (+on_realize_cb): scroll to the initially selected item.
3558 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3559 the pannable area is realized, otherwise delay this until it is.
3560 (+_hildon_touch_selector_center_on_selected_items): Centers on the
3561 selected items of a given column.
3562 (+hildon_touch_selector_center_on_selected): Public method to center
3563 all columns on the nearest selected item.
3564 * src/hildon-touch-selector.h: Add definition for
3565 hildon_touch_selector_center_on_selected().
3567 Implement public API to ensure visibility of all selected items in
3568 a HildonTouchSelector.
3570 2009-01-16 Alejandro G. Castro <alex@igalia.com>
3572 Fixed a problem in the fading when calling the scroll_to API, and
3573 improve scrollbar fading handling.
3575 * src/hildon-pannable-area.c,
3576 (hildon_pannable_area_grab_notify): avoid the timeout when the
3578 (hildon_pannable_area_button_press_cb),
3579 (hildon_pannable_area_motion_notify_cb): Code style changes.
3580 (hildon_pannable_area_button_release_cb): Review the conditions
3581 when releasing the mouse button to avoid unrequired fading
3583 (hildon_pannable_area_scroll_to): Do not calculate and set the
3584 velocity if the scroll is not required.
3586 2009-01-15 Alberto Garcia <agarcia@igalia.com>
3588 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3589 Don't check whether the new selector is NULL: it cannot be.
3590 Hold a reference to the selector while doing the replacement.
3592 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3594 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3595 unnecessary size_request in a removed widget.
3597 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3599 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3600 an unnecessary reference tracking that was leaking.
3602 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3604 Added delayed motion notify event handling, this way we can
3605 discard redrawing if more than 25 events arrive per second.
3607 * src/hildon-pannable-area.c,
3608 (hildon_pannable_area_init): Initialized the new private atributes
3609 controlling this timeout
3610 (hildon_pannable_area_dispose): Remove the timeout that controls
3611 the motion notify events.
3612 (hildon_pannable_area_scroll): Added a condition to control the
3613 use of the acceleration.
3614 (hildon_pannable_area_motion_event_scroll_timeout),
3615 (hildon_pannable_area_motion_event_scroll): Added this two
3616 functions, they handle the motion notify events inside the
3618 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
3619 to the scroll method with the new function.
3620 (hildon_pannable_area_button_release_cb): We have to remove the
3621 timeout handler and move to the last position if the last motion
3622 events were not handled.
3624 Fixes: NB#97028 (Pannable area updates on every motion event)
3626 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3628 * src/hildon-pannable-area.c,
3629 (hildon_pannable_area_get_topmost): Added a new parameter to
3630 filter the the windows that do not include those events. Added
3631 also a condition when finding the window to filter windows that do
3632 not ask for those events.
3633 (hildon_pannable_area_button_press_cb),
3634 (hildon_pannable_area_button_release_cb),
3635 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3636 topmost function, we have added the new parameter.
3638 Fixes: NB#97458 (Pannable area prevents propagation of button
3641 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3643 * src/hildon-pannable-area.c,
3644 (hildon_pannable_area_initial_effect): Added controls before
3645 launching the timeout and the idle functions.
3646 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
3647 of the method, in some situations it can return with TRUE and 0 in
3649 (hildon_pannable_area_button_press_cb): We do not need to set
3650 DELAY for fading out here.
3652 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
3654 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3656 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
3657 post-cleaning if the selection is not NULL.
3659 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3661 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
3662 all items before restoring the selection.
3664 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3666 * src/hildon-touch-selector.c:
3667 (+hildon_touch_selector_unselect_all):
3668 * src/hildon-touch-selector.h: New API to unselect all items in a
3669 column of the touch selector.
3671 2009-01-14 Alejandro G. Castro <alex@igalia.com>
3673 * src/hildon-pannable-area.c,
3674 (hildon_pannable_area_redraw): Added a call to the refresh
3675 function inside the redraw because apparently in some cases the
3676 change in the adjustment does not imply a size allocate.
3678 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
3679 despite the view not being scrollable)
3681 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3683 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
3684 leak. Check for NULL before attempting to set the window title.
3686 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3688 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
3689 whether to show or not the 'Done' button each time the dialog is
3690 shown, as it depends on the HildonTouchSelector selection mode.
3692 Fixes: NB#96226 (In multiple selection mode Done button is shown
3693 sometimes in listpicker)
3695 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3697 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3698 for the number of columns in the HildonTouchSelector more than once.
3700 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3702 * src/hildon-touch-selector.c: Minor documentation fixes.
3704 * src/hildon-picker-dialog.c (+_dialog_update_title)
3705 (_select_on_selector_changed_cb)
3706 (_update_title_on_selector_changed_cb)
3707 (on_selector_columns_changed): Update dialog title when there's no
3708 'Done' button and also when the number of columns in the selector
3712 * src/hildon-picker-button.c (hildon_picker_button_finalize)
3713 (+_selection_changed, hildon_picker_button_on_dialog_response)
3714 (hildon_picker_button_selector_selection_changed)
3715 (+hildon_picker_button_selector_columns_changed)
3716 (hildon_picker_button_set_selector): Update button value and emit
3717 'value-changed' when the number of columns in the selector
3721 Fixes: NB#96225 (Dialog titles are not shown according to the
3722 values selected in the list picker)
3724 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3726 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
3727 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
3728 New "arrow-width" and "arrow-height" style properties to set the
3729 size of the arrow button.
3730 Set name of arrow button ("hildon-edit-toolbar-arrow").
3732 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3733 graphics from theme)
3735 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3737 * src/hildon-picker-button.c:
3738 (hildon_picker_button_selector_selection_changed): Use
3739 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
3740 the dialog is present.
3742 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
3743 the selection is accepted in the dialog)
3745 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3747 * src/hildon-color-chooser.h
3748 * src/hildon-color-chooser-dialog.h:
3749 Added G_BEGIN_DECLS and G_END_DECLS
3751 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3753 (_clean_current_selection): plug a leak in the list.
3755 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3757 * src/hildon-picker-dialog.c:
3758 (+free_path_list): Method to free a GList of GtkTreePaths.
3759 (_clean_current_selection), (_save_current_selection),
3760 (_restore_current_selection): Save the current selection in
3761 as a list of lists, to support multiple selection properly.
3763 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3765 patch by Claudio Saavedra (csaavedra@igalia.com)
3767 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
3768 Store the press position.
3769 (+hildon_text_view_button_release_event): If the release position is
3770 close enough to the press position, move the cursor here. Otherwise,
3772 (hildon_text_view_class_init): Override GtkTextView press, release, and
3773 motion event handlers, disabling this way text selection through
3774 pointer interaction, and allowing the container widget to handle the
3777 Fixes: NB#95828 (HildonTextView functionality)
3779 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3781 Based on a patch by Iván Gómez (igomez@igalia.com)
3783 * src/hildon-button.[ch]
3784 * src/hildon-calendar.c
3785 * src/hildon-check-button.c
3786 * src/hildon-date-editor.c
3787 * src/hildon-date-selector.c
3788 * src/hildon-picker-button.c
3789 * src/hildon-time-editor.c
3790 * src/hildon-time-selector.c
3791 * src/hildon-touch-selector.[ch]:
3792 Documentation updates
3794 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3796 * src/hildon-pannable-area.c,
3797 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
3798 threshold, it was required due to X events handling.
3800 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3802 * src/hildon-pannable-area.c,
3803 (hildon_pannable_area_grab_notify),
3804 (hildon_pannable_area_initial_effect),
3805 (hildon_pannable_area_button_press_cb),
3806 (hildon_pannable_area_button_release_cb),
3807 (hildon_pannable_area_scroll_cb),
3808 (hildon_pannable_area_scroll_to): Review the timeout management of
3809 the scrollbar, the frecuency was incorrectly set.
3811 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
3813 * src/hildon-picker-button.c:
3814 (+hildon_picker_button_on_dialog_response),
3815 (hildon_picker_button_clicked): Present the dialog instead of
3816 running it with gtk_dialog_run().
3818 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
3821 2009-01-07 Alberto Garcia <agarcia@igalia.com>
3823 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3824 (hildon_app_menu_finalize): When a window is hidden it doesn't
3825 emit notify::is-topmost, so make sure than the menu also
3826 disappears in that case.
3827 (parent_window_topmost_notify): Renamed from parent_window_hidden
3829 Fixes: NB#94460 (stackable window's menu is not closed when its
3832 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3834 * src/hildon-touch-selector-entry.c:
3835 (+hildon_touch_selector_entry_set_input_mode),
3836 (+hildon_touch_selector_entry_get_input_mode):
3837 * src/hildon-touch-selector-entry.h: New methods to access the input
3838 mode in the selector's entry.
3840 Fixes: NB#93410 (API required for setting IM mode in
3841 HildonTouchSelectorEntry)
3843 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3845 * configure.ac: post release version bump.
3846 * debian/changelog: version bump
3848 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3853 * configure.ac: Bump version.
3854 * debian/changelog: Updates.
3856 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
3858 * src/hildon-touch-selector.c:
3859 (_hildon_touch_selector_has_multiple_selection): No need
3860 to initialize the variables here.
3862 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3864 * src/hildon-note-private.h
3865 * src/hildon-note.c (event_box_press_event, hildon_note_init)
3866 (hildon_note_finalize, hildon_note_rebuild): Close information
3867 notes when they receive a button press.
3869 Fixes: NB#89890 (Information notes does not get disappeared after
3872 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
3874 * src/hildon-wizard-dialog.c: (create_title): Remove translation
3875 mark from the wizard title, as it's not really necessary. Also,
3876 do not display the page title if not set.
3878 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3880 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3881 (parent_window_hidden): Use the window's "is-topmost" property to
3882 detect when to hide the menu.
3884 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3886 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3887 (hildon_app_menu_finalize): If the parent window of the menu is
3888 hidden, hide the menu too.
3890 Fixes: NB#94460 (stackable window's menu is not closed when its
3893 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3896 * debian/libhildon1-examples.install
3898 * examples/Makefile.am:
3899 Use dh_install to install all examples.
3900 Use DEB_SRCDIR instead of defining SOURCE_DIR
3902 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3904 * configure.ac: post release version bump.
3905 * debian/changelog: version bump
3907 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3912 * configure.ac: bump version
3913 * debian/changelog: updates
3914 * debian/control: bump gtk+ dependency
3916 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3918 patch by Christian Dywan (christian@imendio.com)
3920 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
3921 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
3923 2008-12-15 Alberto Garcia <agarcia@igalia.com>
3925 * src/hildon-check-button.c (hildon_check_button_init)
3926 (hildon_check_button_class_init, hildon_check_button_style_set)
3927 (hildon_check_button_apply_style):
3928 New "checkbox-size" style property.
3930 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
3931 larger / configurable size)
3933 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3935 * configure.ac: post release version bump.
3936 * debian/changelog: version bump
3938 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3943 * configure.ac: bump version
3944 * debian/changelog: updates
3946 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3948 * doc/hildon-sections.txt
3949 * src/hildon-pannable-area.c
3950 * src/hildon-program.c
3951 * src/hildon-time-editor.c
3952 * src/hildon-touch-selector-entry.c:
3954 More documentation updates.
3956 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3958 * doc/hildon-sections.txt
3959 * src/hildon-caption.c
3960 * src/hildon-code-dialog.c
3961 * src/hildon-color-button.c
3962 * src/hildon-controlbar.c
3963 * src/hildon-date-editor.c
3964 * src/hildon-date-selector.c
3965 * src/hildon-edit-toolbar.c
3966 * src/hildon-find-toolbar.c
3967 * src/hildon-font-selection-dialog.c
3969 * src/hildon-program.c
3970 * src/hildon-range-editor.c
3971 * src/hildon-seekbar.c
3972 * src/hildon-time-editor.c
3973 * src/hildon-time-selector.c
3974 * src/hildon-volumebar-range.c
3975 * src/hildon-volumebar.c
3976 * src/hildon-vvolumebar.c
3977 * src/hildon-weekday-picker.c
3978 * src/hildon-window.c
3979 * src/hildon-wizard-dialog.c:
3981 Lots of documentation fixes.
3983 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3985 Patch contributed by Iván Gómez (igomez@igalia.com)
3987 * src/hildon-check-button.c:
3988 * src/hildon-date-button.c:
3989 * src/hildon-date-selector.c:
3990 * src/hildon-dialog.c:
3991 * src/hildon-edit-toolbar.c:
3992 * src/hildon-entry.c:
3993 * src/hildon-picker-button.c:
3994 * src/hildon-program.c:
3995 * src/hildon-text-view.c:
3996 * src/hildon-time-button.c:
3997 * src/hildon-touch-selector-entry.c:
3998 * src/hildon-window-stack.c:
4000 Add more "since" tags to the new API.
4002 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4004 * doc/hildon-sections.txt: Add below method.
4005 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
4006 version for the hildonized scale.
4007 * src/hildon-gtk.h: Add the definition.
4009 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4011 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4013 * doc/hildon-sections.txt: Add missing entries for new methods.
4015 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4017 Added API to pannable are in order to get its adjustments. We
4018 added two properties to manage the values we had in the private
4021 * src/hildon-pannable-area.c:
4022 (hildon_pannable_area_class_init): Added hadjustment and
4023 vadjustment properties in order to expose horizontal and vertical
4025 (hildon_pannable_area_get_property),
4026 (hildon_pannable_area_set_property): Added code to handle the new
4028 (hildon_pannable_area_get_hadjustment),
4029 (hildon_pannable_area_get_vadjustment): API functions to get the
4031 * src/hildon-pannable-area.h:
4032 (hildon_pannable_area_get_hadjustment),
4033 (hildon_pannable_area_get_vadjustment): API functions to get the
4036 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4038 Fixed some leaks, after valgrinding.
4040 * src/hildon-touch-selector.c:
4041 (_default_print_func): Fixed a leak.
4042 (hildon_touch_selector_append_column): Fixed a leak.
4043 * src/hildon-date-button.c:
4044 (hildon_date_button_init): Fixed a leak.
4045 * src/hildon-date-selector.c
4046 (hildon_date_selector_finalize): Fixed a leak.
4048 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4050 Based on a patch by Christian Dywan (christian@imendio.com)
4052 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4054 * src/hildon-gtk.h: Add definition.
4056 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4058 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4060 * src/hildon-picker-button.c: (hildon_picker_button_init),
4061 (hildon_picker_button_new): Set the HildonButton::style property
4062 in the init method, to propagate the value to the derived classes.
4064 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4066 * src/hildon-button.c: (hildon_button_class_init): Do not make
4067 the "style" property a construct property.
4069 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4071 * src/hildon-wizard-dialog.h
4072 * src/hildon-wizard-dialog.c
4073 (hildon_wizard_dialog_set_forward_page_func)
4074 * src/hildon-pannable-area.h
4075 * src/hildon-pannable-area.c
4076 (hildon_pannable_area_set_size_request_policy):
4077 Documentation fixes.
4079 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4081 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4083 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4085 * doc/hildon-sections.txt: Added sections file.
4087 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4090 * src/*.[ch]: Updates.
4092 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4094 * examples/hildon-progress-indicator-example.c: new file
4095 * examples/Makefile.am: include the new example program
4097 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4099 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4101 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4103 * configure.ac: post release version bump
4104 * debian/changelog: version bump
4106 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4111 * configure.ac: bump version
4112 * debian/changelog: updates
4113 * debian/control: bump gtk+ dependency
4115 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4117 * src/hildon-dialog.c: Mark as deprecated.
4118 * src/hildon-dialog.h: Mark as deprecated.
4119 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4120 from HildonDialog and still work, even if
4121 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4122 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4124 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4125 maemo changes) instead)
4127 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4129 * src/hildon-pannable_area.h:
4130 * src/hildon-pannable_area.c:
4131 (hildon_pannable_area_class_init),
4132 (hildon_pannable_area_set_property),
4133 (hildon_pannable_area_get_property),
4134 (hildon_pannable_area_size_request),
4135 (hildon_pannable_area_get_size_request_policy),
4136 (hildon_pannable_area_set_size_request_policy): Added new API
4137 allowing applications to control the request policy. Now they can
4138 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4139 children allocation (HILDON_MOVEMENT_CHILDREN).
4141 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4145 (hildon_gtk_tree_view_set_ui_mode)
4146 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4147 mode of treeviews and iconviews.
4149 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4151 * src/hildon-touch-selector-entry.c:
4152 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4153 of a GtkEntry to get proper theming.
4155 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4156 widget, not GtkEntry)
4158 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4160 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4161 no HildonWizardDialogPageFunc.
4163 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4165 Patch contributed by Iván Gómez (igomez@igalia.com)
4167 * src/hildon-app-menu.c:
4168 * src/hildon-button.c:
4169 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4170 * src/hildon-stackable-window.c:
4171 * src/hildon-time-selector.c:
4172 * src/hildon-touch-selector.c:
4173 * src/hildon-window.c:
4175 Add more "since" tags to the new API in hildon 2.2.
4177 2008-12-05 Tim Janik <timj@imendio.com>
4179 Patch contributed by Christian Dywan (christian@imendio.com)
4181 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4182 HildonSizeType, which are supplied by Gtk+ now.
4184 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4186 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4187 (with maemo changes) instead)
4189 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4191 Patch contributed by Iván Gómez (igomez@igalia.com)
4193 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4196 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4198 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4199 (some_page_func), (main): Update the example to use a
4200 HildonWizardDialogPageFunc function.
4202 * src/hildon-wizard-dialog-private.h: Add private data for
4203 the HildonWizardDialogPageFunc function usage.
4205 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4206 (destroy), (hildon_wizard_dialog_init), (response),
4207 (hildon_wizard_dialog_set_forward_page_func):
4208 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4209 that applications can use to stop a HildonWizardDialog to jump to
4212 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4215 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4217 * src/hildon-program.h
4218 * src/hildon-program-private.h
4219 * src/hildon-program.c (hildon_program_init)
4220 (hildon_program_set_common_app_menu)
4221 (hildon_program_get_common_app_menu):
4222 New API for setting a common HildonAppMenu for all
4223 HildonStackableWindows registered with the HildonProgram.
4225 * src/hildon-stackable-window.c
4226 (hildon_stackable_window_toggle_menu):
4227 Use the common HildonAppMenu if a window doesn't have a specific
4230 * src/hildon-app-menu-private.h
4231 * src/hildon-app-menu.c
4232 (hildon_app_menu_get_parent_window):
4233 Function to obtain the window a HildonAppMenu is attached to.
4234 (hildon_app_menu_set_parent_window):
4235 Hide the menu if the parent window is set to NULL.
4237 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4239 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4240 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4241 search widget to popup.
4243 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4245 * configure.ac: post release version bump
4246 * debian/changelog: version bump
4248 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4253 * configure.ac: bump version
4254 * debian/changelog: updates
4256 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4258 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4260 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4261 (hildon_window_stack_window_realized)
4262 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4263 Set the leader GdkWindow when a window is stacked and realized,
4264 unset it when it's unstacked.
4265 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4267 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4269 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4271 * src/hildon-stackable-window.h
4272 * src/hildon-window-stack.h:
4273 Protect definition of HildonWindowStack using the preprocessor.
4275 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4277 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4278 Fix warning if all menu items are hidden.
4280 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4282 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4284 * src/hildon-controlbar.c:
4285 * src/hildon-hvolumebar.c:
4286 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4287 Multiple scale size defines updates.
4289 Fixes: NB#94322 (Scale Updates)
4291 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4293 * examples/hildon-app-menu-example.c (create_menu)
4294 Show items after adding them to the menu, as in the future the
4295 menu will no longer call gtk_widget_show() on the added items.
4297 * src/hildon-app-menu.c:
4298 Update example as explained above.
4300 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4302 * src/hildon-app-menu.c
4303 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4304 Make sure that all menu items have finger height.
4306 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4308 * src/hildon-picker-dialog.c:
4309 (_on_dialog_response), (_save_current_selection),
4310 (_restore_current_selection), (_clean_current_selection),
4311 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4312 Defined new functions in order to save the current internal selector
4313 selection previous open the dialog, in case that the use cancel the
4314 interaction, so the widget restores the previous selection.
4316 Fixes: NB#92032 (In calendar application, date values in 'new event'
4319 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4321 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4323 * src/hildon-button.c: Add a reference to the button examples in
4324 hildon-button-example.c
4326 * examples/hildon-button-example.c: Added examples of the most
4327 common button layouts.
4329 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4331 * src/hildon-app-menu.c (hildon_app_menu_show)
4332 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4334 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4336 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4338 * src/hildon-picker-dialog.c:
4339 (hildon_picker_dialog_init): Initialize the signal id for
4340 HildonTouchSelector::columns-changed.
4341 (+on_selector_columns_changed): Set up the interaction mode everytime a
4342 column is added or removed from the HildonTouchSelector.
4343 (_hildon_picker_dialog_set_selector): Connect to
4344 HildonTouchSelector::columns-changed and keep track of it.
4346 Make sure to update the interaction mode of the dialog everytime a
4347 column is added or removed in the HildonTouchSelector.
4349 Fixes: NB#93228 (Done button is not shown always in listpicker)
4351 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4353 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4354 a new ::columns-changed signal.
4355 (hildon_touch_selector_append_column): Emit ::columns-changed.
4356 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4358 Add a ::columns-changed signal, emitted when the number of columns in a
4359 HildonTouchSelector changes.
4361 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4363 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4364 (_hildon_picker_dialog_set_selector): Factor out the code
4365 to set up the dialog interaction mode.
4367 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4369 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4370 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4371 to signal_changed_id.
4373 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4375 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4378 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4380 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4381 Updated the logical ids related to ampm format, as now it is required to
4382 show it correctly localized even on languages with no default
4383 abbreviations for am or pm
4384 (_check_am_pm_format): check correctly the 24h format gconf property
4386 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4388 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4390 * src/hildon-button.c: Documentation updates.
4392 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4394 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4395 * src/hildon-caption.c: (hildon_caption_class_init):
4396 * src/hildon-color-button.c: (hildon_color_button_class_init):
4397 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4398 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4399 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4400 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4402 Remove deprecated GTK+ marshalers and replace them with the ones
4403 provided by GLib, for those available, add a marshaler for
4404 BOOLEAN:VOID, which is not available in GLib, and use it.
4406 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4408 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4409 the text from the previous column if there is no
4410 HildonTouchSelectorColumn::text-property set.
4412 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4414 * src/hildon-button.h
4415 * src/hildon-button.c (hildon_button_set_property)
4416 (hildon_button_get_property, hildon_button_class_init)
4417 (hildon_button_set_style, hildon_button_get_style):
4418 New "style" property to change the visual appearance of the
4421 * src/hildon-picker-button.c (hildon_picker_button_new):
4422 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4424 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4425 HildonButton look like PickerButton)
4427 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4429 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4430 column while building the default string.
4432 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4434 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4435 scroll indicator by default.
4437 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4439 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4441 * src/hildon-main.c: Fix the documentation for hildon_init()
4443 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4445 * doc/hildon-docs.sgml
4449 * src/hildon-window-stack-private.h
4450 * src/hildon-window-stack.h
4451 * src/hildon-window-stack.c:
4452 New HildonWindowStack object, that adds support for multiple
4453 stacks of windows per process.
4455 * src/hildon-stackable-window-private.h
4456 * src/hildon-stackable-window.h
4457 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4458 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4459 (hildon_stackable_window_show, hildon_stackable_window_hide)
4460 (hildon_stackable_window_class_init)
4461 (hildon_stackable_window_init):
4462 Use HildonWindowStack for stack management.
4464 * src/hildon-program.c (hildon_program_pop_window_stack)
4465 (hildon_program_peek_window_stack)
4466 (hildon_program_go_to_root_window):
4467 Add a fallback implementation to the deprecated functions using
4470 * examples/hildon-stackable-window-example.c:
4471 Use the new HildonWindowStack API.
4473 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4475 * src/hildon-stackable-window-private.h
4476 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4477 (hildon_stackable_window_hide, hildon_stackable_window_init):
4478 Remove all window stack management.
4480 * src/hildon-program-private.h
4481 * src/hildon-program.h
4482 * src/hildon-program.c (hildon_program_init)
4483 (hildon_program_pop_window_stack)
4484 (hildon_program_peek_window_stack)
4485 (hildon_program_go_to_root_window):
4486 Remove all window stack management and mark functions as
4489 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4491 * src/hildon-app-menu.c (hildon_app_menu_realize):
4492 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4494 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4496 * configure.ac: post release version bump
4497 * debian/changelog: version bump
4499 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4504 * configure.ac: bump version
4505 * debian/changelog: updates
4507 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4509 Based on initial code by Christian Dywan (christian@imendio.com)
4511 * doc/hildon-docs.sgml: Add section for hildon-main.
4512 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4513 * src/Makefile.am: Add new hildon-main.[ch]
4514 * src/hildon-defines.h: Update the icon sizes.
4515 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4516 new library initialization files and register icon sizes.
4517 * src/hildon-main.h: New declarations.
4518 * src/hildon.h: Include hildon-main.h
4520 Add new initialization functions to the library. These methods
4521 will register the hildon specific icon sizes and can be used in the
4522 future for other hildon specific bits.
4524 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4526 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4528 * src/hildon-window.c: (hildon_window_realize),
4529 (hildon_window_notify), (-hildon_window_update_title): Do not set
4530 the application name in the window title.
4532 Fixes: NB#89754 (Applications shouldn't display their names in the
4535 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4537 * src/hildon-note-private.h:
4538 * src/hildon-note.c: (hildon_note_set_property),
4539 (hildon_note_get_property), (hildon_note_class_init),
4540 (hildon_note_init), (hildon_note_finalize),
4541 (hildon_note_new_confirmation_with_icon_name),
4542 (hildon_note_new_information_with_icon_name):
4544 No need to mark as deprecated the actual code. Revert
4545 to avoid missing symbols in widgets using deprecated API.
4547 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4549 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4551 * src/hildon-volumebar.h
4552 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4553 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4555 * src/hildon-helper.h
4556 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4557 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4559 * examples/Makefile.am:
4560 Deprecate hildon-insensitive-example
4562 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4564 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4566 * examples/hildon-pannable-area-buttons-scroll-example.c:
4567 Make all buttons finger height
4569 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
4571 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4573 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4574 update the day model only if it is really required, and to avoid the
4575 full-reconstruction aproach. Now it only add or remove the required days.
4577 The purpose of this is avoid superfluous HildonTouchSelector::changed
4580 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4581 with strange parameters)
4583 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
4585 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4587 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4588 the WINDOW_TYPE property.
4590 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4592 2008-11-19 Alberto Garcia <agarcia@igalia.com>
4595 Fix dependency to allow parallel compilation with make -jX
4597 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
4599 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
4600 color frame and some minor tweaks to make it more consistent with
4603 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4604 highlighted but not visible)
4606 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4608 * examples/Makefile.am: Fixed typo in the Makefile.am.
4610 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4612 Reviewed the use of MAEMO_GTK define, now we add the define in the
4613 compilation line, and we also add it to the pc file.
4615 * configure.ac: Added MAEMO_GTK define to the compilation command
4616 and removed it from the config.h.
4618 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
4619 do not have to take care about this define if the library was
4623 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
4625 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4627 * examples/Makefile.am,
4628 * examples/hildon-pannable-area-buttons-scroll-example.c,
4629 * examples/hildon-pannable-area-gesture-signals-example.c,
4630 * examples/hildon-pannable-area-scroll-jump-example.c,
4631 * examples/hildon-pannable-area-tree-view-example.c:
4632 Renamed the pannable area examples, now they have more meaningful
4635 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
4637 * src/hildon-touch-selector.c:
4638 (hildon_touch_selector_set_column_selection_mode): Used of
4639 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
4640 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
4641 to avoid re-seting the same selection mode.
4643 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
4644 breaks HildonPickerDialog)
4646 2008-11-13 Alejandro G. Castro <alex@igalia.com>
4648 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
4649 conditional in the Makefile.am
4651 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
4653 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
4654 Remove unused methods.
4656 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4658 * src/hildon-button.c (hildon_button_init):
4659 Make button images center-aligned by default
4661 2008-11-12 Alejandro G. Castro <alex@igalia.com>
4664 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
4665 activated, we have to think about how to deal with both defines
4666 MAEMO_GTK and MAEMO_CHANGES.
4668 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4670 * examples/hildon-app-menu-example.c (create_menu): Make all
4671 buttons finger size.
4673 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4675 Fixed the compilation without maemo gtk adding ifdefs with
4676 MAEMO_GTK define to the code, we have to check this version more
4679 * examples/Makefile.am: Added control to avoid some examples that
4680 just make sense with maemo gtk.
4683 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
4684 hildon modes with the define.
4686 * examples/hildon-edit-toolbar-example.c,
4687 (create_icon_view): Create the icon view without hildon-gtk
4688 helpers if we are not using maemo gtk.
4690 * src/hildon-touch-selector.c,
4691 (_create_new_column): Create the treeview without hildon-gtk
4692 helpers if we are not using maemo gtk.
4694 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4696 * src/hildon-pnnable-area.c,
4697 (hildon_pannable_area_dispose),
4698 (hildon_pannable_area_button_press_cb),
4699 (hildon_pannable_area_child_mapped),
4700 (hildon_pannable_area_add),
4701 (hildon_pannable_area_remove): Added code to control the position
4702 of the event_window when adding and removing children from the
4703 pannable. We have to raise the event window when the child is
4706 Fixes: NB#89811 (Not able to select first image thumbnail in multi
4707 selection mode using custom widget inside pannable)
4709 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4711 * configure.ac: post release version bump
4712 * debian/changelog: version bump
4714 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4719 * configure.ac: bump version
4720 * debian/changelog: updates
4722 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
4724 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
4725 search mode, in order to avoid lose the focus on the treeview when
4726 a hw key (like enter) is pressed.
4728 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
4729 in HildonDateSelector dialog)
4731 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
4733 * debian/rules: Added --enable-maintainer-mode
4734 * Makefile.am: Added ACLOCAL_AMFLAGS
4736 This allows to properly regenerate the Makefiles if you modify the
4737 configure.ac or any Makefile.am.
4739 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4741 * examples/hildon-app-menu-example.c: (main): Do not set RC style
4742 properties, not needed at all.
4744 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4746 * src/hildon-note-private.h: Add strings for the icon and stock_icon
4748 * src/hildon-note.c: (hildon_note_set_property),
4749 (hildon_note_get_property), (hildon_note_class_init),
4750 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
4751 (hildon_note_new_confirmation_add_buttons): Remove icons.
4752 (hildon_note_new_confirmation_with_icon_name): Deprecate.
4753 (hildon_note_new_information_with_icon_name): Deprecate.
4754 (hildon_note_new_confirmation): Act directly, without calling
4755 the deprecated constructor.
4756 (hildon_note_new_information): Act directly, without calling
4757 the deprecated constructor.
4758 * src/hildon-note.h: Mark deprecate methods as such.
4759 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
4760 not run tests on the deprecated methods if built with deprecation
4763 Fixes: NB#91688 (Never show icons in information notes/confirmation
4766 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4768 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
4769 (hildon_app_menu_key_press): Remove leftover usage of the
4770 private structure in HildonAppMenu struct.
4771 * src/hildon-app-menu.h: Remove leftover private structure
4772 from the HildonAppMenu struct.
4774 Fixes a crasher when using the HildonAppMenu.
4776 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4778 * src/hildon-picker-dialog.c: Use appropriate logical id
4779 for the default "Done" text.
4781 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4783 * configure.ac: post release version bump
4784 * debian/changelog: version bump
4786 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
4788 Modified the way to scroll to the current selection just when the touch
4789 selector is shown on the screen, avoiding a g_idle. Added too a property
4790 to configure this behaviour. See hildon_pannable_area_jump_to_child
4791 documentation for more information.
4793 * src/hildon-touch-selector.c
4794 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
4795 Added 'initial-scroll' property
4796 (hildon_touch_selector_set_property): Added
4797 (hildon_touch_selector_map): Removed as not required anymore
4798 (_hildon_touch_selector_on_selected_items): Modified in order to manage
4799 only a concrete column, instead of iterate along all the columns
4801 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4806 * configure.ac: bump version
4807 * debian/changelog: updates
4809 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4811 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
4812 compilation time warnings.
4814 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4816 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4817 the default value for HildonPannableArea::mov-mode to
4818 HILDON_PANNABLE_AREA_MODE_VERT.
4820 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
4822 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4824 Reverting following commit:
4826 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4828 * src/hildon-app-menu-private.h
4829 * src/hildon-app-menu.[ch]
4830 * src/hildon-button.[ch]
4831 * src/hildon-check-button.[ch]
4832 * src/hildon-entry.[ch]
4833 * src/hildon-pannable-area.[ch]
4834 * src/hildon-text-view.[ch]:
4835 Added private field to the object's structure.
4837 because it causes an ABI breakage. We will need to introduce these
4838 changes later at some point. See NB#91636 for an extensive
4839 explanation and status.
4841 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4843 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4845 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4846 remove special cases that are no longer necessary.
4848 Fixes: NB#91016 (Change toolbar sizes, simplification)
4850 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4852 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4853 is shown in the cancel note.
4855 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4857 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
4858 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
4859 (hildon_seekbar_init): Remove steppers, remove expose event.
4860 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
4862 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
4864 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
4866 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
4867 label font to "SmallSystemFont" for vertically arranged buttons.
4869 Fixes: NB#90662 (HildonButton "value" and "detail" text is
4872 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4874 * src/hildon-check-button.c
4875 (hildon_check_button_set_active, hildon_check_button_clicked):
4876 Don't access private parts directly, use getters instead.
4878 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4880 * src/hildon-check-button.c (hildon_check_button_new):
4881 Align the contents of the check button to the left.
4883 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4885 * src/hildon-pannable-area.c,
4886 (hildon_pannable_area_scroll_to),
4887 (hildon_pannable_area_jump_to),
4888 (hildon_pannable_area_scroll_to_child),
4889 (hildon_pannable_area_jump_to_child): Replace the mapped
4890 precondition of these functions with the realized, it is the
4891 correct state of the widget in this case. Changed the
4892 documentation according to this modification.
4894 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4896 Added a new EXTRA_CFLAGS option to add the deprecated define to
4897 the compilation command. This way we can avoid using the define in
4898 the documentation compilation.
4900 * configure.ac: Defined EXTRA_CFLAGS.
4902 * examples/Makefile.am:
4904 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
4906 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
4908 * src/hildon-picker-dialog.c:
4909 Defined a utility macro with the desired touch selector height
4910 Removed currently unused separator, and title_label variables from
4912 (hildon_picker_dialog_init): Removed code related to the creation
4913 of unused private variables title_label and separator.
4914 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
4915 to ensure correct visualization of the touch selector inside the dialog.
4916 * src/hildon-touch-selector.c
4917 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
4918 ensure a concrete height of the widget.
4920 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4923 * tests/Makefile.am:
4925 Remove spurious whitespaces.
4927 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4929 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
4930 compilation warning after the cancel button removal.
4932 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4934 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
4936 * configure.ac: Added an AM_CONDITIONAL in order to use in the
4937 Makefile.am, that way we can choose not to compile some examples
4938 and tests of the deprecated widgets.
4940 * examples/Makefile.am: Divided the sources in deprecated and
4943 * src/Makefile.am: Added undef statement of the deprecated
4944 symbol to the enums file generation process.
4946 * src/hildon-color-chooser-dialog.c
4947 * src/hildon-color-chooser-dialog.h
4948 * src/hildon-color-button.c
4949 * src/hildon-color-button.h
4950 * src/hildon-color-chooser.c
4951 * src/hildon-color-chooser.h
4952 * src/hildon-controlbar.c
4953 * src/hildon-controlbar.h
4954 * src/hildon-date-editor.c
4955 * src/hildon-date-editor.h
4956 * src/hildon-hvolumebar.c
4957 * src/hildon-hvolumebar.h
4958 * src/hildon-private.c
4959 * src/hildon-private.h
4960 * src/hildon-range-editor.c
4961 * src/hildon-range-editor.h
4962 * src/hildon-seekbar.c
4963 * src/hildon-seekbar.h
4964 * src/hildon-time-editor.c
4965 * src/hildon-time-editor.h
4966 * src/hildon-time-picker.c
4967 * src/hildon-time-picker.h
4968 * src/hildon-volumebar.c
4969 * src/hildon-volumebar.h
4970 * src/hildon-vvolumebar.c
4971 * src/hildon-vvolumebar.h
4972 * src/hildon-bread-crumb-trail.h
4973 * src/hildon-bread-crumb-trail.c
4974 * src/hildon-calendar-popup.c
4975 * src/hildon-calendar-popup.h
4976 * src/hildon-weekday-picker.c:
4977 * src/hildon-weekday-picker.h:
4978 * src/hildon-bread-crumb-widget.c:
4979 * src/hildon-bread-crumb-widget.h:
4980 * src/hildon-bread-crumb.c:
4981 * src/hildon-bread-crumb.h:
4982 * src/hildon-calendar.c:
4983 * src/hildon-calendar.h:
4984 * src/hildon-caption.c:
4985 * src/hildon-code-dialog.c:
4986 * src/hildon-code-dialog.h:
4987 * src/hildon-font-selection-dialog.c:
4988 * src/hildon-font-selection-dialog.h:
4989 * src/hildon-get-password-dialog.c:
4990 * src/hildon-get-password-dialog.h:
4991 * src/hildon-login-dialog.c:
4992 * src/hildon-login-dialog.h:
4993 * src/hildon-number-editor.c:
4994 * src/hildon-number-editor.h:
4995 * src/hildon-set-password-dialog.c:
4996 * src/hildon-set-password-dialog.h:
4997 * src/hildon-sort-dialog.c:
4998 * src/hildon-sort-dialog.h: This is the list of deprecated
5001 * src/hildon-touch-selector.c:
5002 * src/hildon-window.c: Added undef statement to avoid compilation
5005 * tests/Makefile.am: Divided the sources in deprecated and
5008 * tests/check_test.c,
5009 (configure_tests): Marked the deprecated code that was adding
5010 suites with deprecated tests.
5012 Fixes: NB#91135 (Deprecate legacy hildon widgets)
5014 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5016 * src/hildon-touch-selector.c: (_default_print_func): Do not
5017 duplicate a string returned by gtk_tree_model_get(), it is already
5020 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5023 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5025 * src/hildon-pannable-area.c
5026 (hildon_pannable_area_add_with_viewport): Reviewed the complete
5027 method, it had problems when adding a widget with viewport the
5028 second time. Now checks if it already has a viewport and uses it.
5030 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5033 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5035 * src/hildon-pannable-area.c,
5036 (hildon_pannable_area_scroll_to),
5037 (hildon_pannable_area_jump_to),
5038 (hildon_pannable_area_scroll_to_child),
5039 (hildon_pannable_area_jump_to_child): Added a precondition to the
5040 scroll and jump to functions: the widget must be mapped before we
5041 can safely call these functions. We have also added documentation
5042 to the functions to explain how to use them in this situation.
5045 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5047 Reviewed the threading handling of the pannable widget, we have
5048 used the gdk_threads_add_timeout function instead of the usual
5049 glib handlers. This avoids some problems with the threads.
5051 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5052 (hildon_pannable_area_initial_effect),
5053 (hildon_pannable_area_scroll_indicator_fade),
5054 (hildon_pannable_area_button_press_cb),
5055 (hildon_pannable_area_timeout),
5056 (hildon_pannable_area_motion_notify_cb),
5057 (hildon_pannable_area_button_release_cb),
5058 (hildon_pannable_area_scroll_cb),
5059 (hildon_pannable_area_scroll_to): Removed the
5060 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5061 gdk_threads_add_timeout.
5063 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5065 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5070 * configure.ac: bump version
5071 * debian/changelog: updates
5073 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5075 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5076 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5077 * src/hildon-color-chooser-dialog.c:
5078 (hildon_color_chooser_dialog_init):
5079 * src/hildon-font-selection-dialog.c:
5080 (hildon_font_selection_dialog_init):
5081 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5083 Remove all cancel/close-like dialogs, as these are not going to be
5086 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5088 * src/hildon-note.c: (hildon_note_rebuild),
5089 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5092 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5094 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5096 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5097 sure all buttons are shown, even the Cancel/Close-like ones.
5099 Fixes: NB#90861 (Custom Confirmation dialogs should be
5100 protected from cancel button removal)
5102 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5104 * debian/control: Change libhildon1-examples dependency from libhildon1
5106 * debian/libhildon1-examples.install
5108 * Makefile.am: Modified the final install directory for the examples on
5109 package libhildon1-examples
5110 * Makefile.static: Update clean target in order to remove all the binary
5113 Changes suggested by Claudio after review new libhildon1-examples package
5115 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5117 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5118 * src/hildon-touch-selector.c: Ditto.
5120 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5122 * debian/control: Added new package libhildon1-examples, in order to pack
5123 the current hildon examples as documentation
5124 * debian/rules: Not to compress .c files, modify some includes on the
5125 examples (as normally are compiled locally, but when installed it will
5126 require to include the installed libhildon1 library), and rename
5128 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5129 install all the example files on the new example package
5130 * examples/Makefile.static: Added static makefile that can be used to
5131 compile the examples, once installed the new example package
5132 * examples: Most of the examples were modified in order to grant that
5133 all use only '#include "hildon.h"', in order to be easy to prepare
5134 it on the example package
5136 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5139 * debian/libhildon1-dev.install
5140 * debian/libhildon1-doc.install:
5141 Move all gtk-doc files to a separate libhildon1-doc package.
5143 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5145 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5147 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5149 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5151 * debian/rules: Fixed a error in order to avoid unnecessary calls
5152 to autogen.sh on package building
5154 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5156 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5158 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5160 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5163 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5165 * src/hildon-picker-button.c
5166 (hildon_picker_button_finalize):
5167 Free priv->done_button_text
5169 * src/hildon-time-button.c
5170 (hildon_time_button_set_time)
5171 * src/hildon-picker-button.c
5172 (hildon_picker_button_clicked)
5173 (hildon_picker_button_selector_selection_changed)
5174 (hildon_picker_button_set_selector)
5175 * src/hildon-date-button.c
5176 (hildon_date_button_set_date):
5177 Free strings returned by hildon_touch_selector_get_current_text()
5179 * src/hildon-button.c (hildon_button_construct_child):
5180 Fix leaks in priv->image and priv->label_box
5182 Fixes: NB#90535 (Memory leak in picker button)
5184 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5186 * src/hildon-button.c: (hildon_button_get_property): Do not access
5187 private elements directly, use getters instead.
5189 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5191 * src/hildon-app-menu-private.h
5192 * src/hildon-app-menu.c
5193 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5194 Store the menu's parent window.
5196 * src/hildon-stackable-window.c
5197 (hildon_stackable_window_toggle_menu)
5198 (hildon_stackable_window_finalize):
5199 Set the menu's parent window when the menu is shown, unset it when
5202 * src/hildon-app-menu.c
5203 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5204 (hildon_app_menu_class_init):
5205 Send unhandled keyboard accelerators to the parent window.
5207 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5209 * src/hildon-stackable-window.c
5210 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5212 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5214 * configure.ac: post release version bump
5216 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5219 * configure.ac: Bump version
5220 * debian/changelog: Updates
5221 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5224 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5226 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5229 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5230 GtkMenu with Hildon style.
5232 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5234 * src/hildon-picker-button.c:
5235 (hildon_picker_button_set_done_button_text): Set the dialog's
5236 done button text here as well.
5238 Fixes: NB#90232 (Picker button does not set the label on done button
5239 for the second time)
5241 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5243 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5246 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5248 * src/hildon-app-menu.c (hildon_app_menu_insert)
5249 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5250 the HildonAppMenu to be activatable using keyboard accelerators
5251 when the menu is not being shown.
5253 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5255 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5257 * src/hildon-stackable-window.c
5258 (hildon_stackable_window_show):
5259 Don't hide old windows automatically when new windows are shown:
5260 this is now a task for the window manager.
5261 (hildon_stackable_window_class_init)
5262 (hildon_stackable_window_hide):
5263 Remove windows from the stack everytime they're hidden.
5264 (hildon_stackable_window_realize):
5265 Don't change the _NET_WM_WINDOW_TYPE property. Use
5266 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5267 it as a stackable window.
5269 * src/hildon-program.c
5270 (hildon_program_pop_window_stack):
5271 Just hide the window to remove it from the stack.
5272 (hildon_program_go_to_root_window):
5273 Don't call gtk_widget_show(), this is now a task for the window
5276 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5278 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5280 * src/hildon-button.c
5281 (hildon_button_construct_child):
5282 Don't pack anything in the button until text or image are
5283 set. This allows adding a custom child after creating the button
5284 with hildon_button_new().
5285 (hildon_button_finalize, hildon_button_class_init)
5286 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5287 alignment and the label box even when they're not packed in the
5290 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5292 * src/hildon-touch-selector.h:
5293 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5294 currently the type definition was using GTK_TYPE_VBOX
5295 * src/hildon-touch-selector.c:
5296 Added some implementation notes in order to clarify that any other widget
5297 added without the column related API will not be included on the
5298 selection logic, and how the widget is freed, as some people ask about
5300 (hildon_touch_selector_remove): Reimplemented in order to free properly
5301 the column related data when you remove the private hbox.
5302 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5303 to get a proper HildonTouchSelectorColumn documentation
5305 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5307 * src/hildon-touch-selector-entry.c:
5308 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5309 text in the GtkEntry and there is no item selected. Fixes a
5312 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5314 * src/hildon-app-menu-private.h
5315 * src/hildon-app-menu.[ch]
5316 * src/hildon-button.[ch]
5317 * src/hildon-check-button.[ch]
5318 * src/hildon-entry.[ch]
5319 * src/hildon-pannable-area.[ch]
5320 * src/hildon-text-view.[ch]:
5321 Added private field to the object's structure.
5323 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5325 * configure.ac: post-release version bump
5327 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5331 * configure.ac: pre-release version bump
5333 * debian/changelog: updates.
5335 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5337 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5338 Disconnect the handler for HildonTouchSelector::changed.
5340 (hildon_picker_button_selector_selection_changed): Update the button
5341 value if the selection change was not triggered by the
5344 (hildon_picker_button_set_selector): connect to
5345 HildonTouchSelector::changed.
5347 Fixes: NB#89650 (Picker button is not updated, when selection in
5348 selector has changed)
5350 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5352 * src/hildon-picker-dialog.c
5353 (hildon_picker_dialog_realize): Removed as not required
5354 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5355 * src/hildon-picker-button.c
5356 (_current_selector_empty): New function, checks if the selector is empty
5357 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5358 if the current selector is empty, in order to avoid to show the dialog
5359 close the dialog in this case (and shows a g_warning).
5361 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5363 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5365 * src/hildon-pannable-area.c,
5366 (hildon_pannable_area_scroll): Added clause to stop movement when
5367 the child of pannable is smaller than one page.
5368 (hildon_pannable_area_scroll_to): Added conditions to avoid
5369 starting the scrolling movement if the child is smaller than one
5370 page, the complete child is in the screen, we do not have to move.
5372 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5374 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5376 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5377 this is managed automatically by the widget when the size of the
5380 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5382 * src/hildon-picker-button.c
5383 (hildon_picker_button_set_done_button_text): Make a copy of the
5384 text, and free the previous value.
5386 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5388 * src/hildon-touch-selector-entry.c:
5389 (hildon_touch_selector_entry_print_func): Return the selected row's
5390 text if the entry is empty.
5392 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5395 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5397 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5399 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5402 * src/hildon-check-button.h
5403 * src/hildon-check-button.c
5404 * examples/hildon-check-button-example.c:
5405 HildonCheckButton is now a new widget. 'toggled' signal added.
5407 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5409 * src/hildon-program-private.h
5410 * src/hildon-program.c (hildon_program_init)
5411 (hildon_program_finalize): Removed unused variables group_leader
5412 and name from HildonProgramPrivate.
5414 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5416 * src/hildon-check-button.c (hildon_check_button_set_active)
5417 (hildon_check_button_get_active, hildon_check_button_new): Use
5418 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5420 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5422 * src/hildon-touch-selector.h
5423 (hildon_touch_selector_set_column_attributes): added deprecation
5424 guard HILDON_DISABLE_DEPRECATED
5425 * src/hildon-time-selector.c
5426 (hildon_time_selector_set_time)
5427 (hildon_time_selector_get_time): Fixed a typo on documentation
5428 * src/hildon-touch-selector.c: update HildonTouchSelector and
5429 HildonTouchSelectorColumn documentation
5430 * src/hildon-touch-selector-entry.c: update "text-column" property
5432 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5433 to be added to the general documentation.
5435 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5437 * examples/hildon-pannable-area-example-4.c,
5439 * examples/hildon-pannable-area-example.c,
5440 (main): Modified the code in order to use the container add, with
5441 viewport treeviews could have problems if they are really big.
5443 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5445 * src/hildon-weekday-picker.c,
5446 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5447 the agreement regarding deprecation in the library.
5449 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5451 * examples/hildon-picker-button-multicolumn-example.c:
5452 (main): Use custom "done" button text.
5454 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5455 (hildon_picker_button_set_property),
5456 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5457 (hildon_picker_button_init),
5458 (+hildon_picker_button_get_done_button_text),
5459 (+hildon_picker_button_set_done_button_text): New methods to customize
5460 the "done" button label in the launched HildonPickerDialog. Also,
5463 * src/hildon-picker-button.h: add the public API.
5465 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5467 * src/hildon-date-selector.h:
5468 * src/hildon-picker-dialog.h:
5469 * src/hildon-time-selector.h:
5470 * src/hildon-touch-selector-column.h:
5471 * src/hildon-touch-selector.h:
5473 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5474 declarations. Fixes gtk-doc warnings.
5476 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5478 * src/hildon-picker-dialog.h
5479 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5480 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5482 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5483 long text is set as label for done button)
5485 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5487 * src/hildon-dialog.c (hildon_dialog_add_button):
5488 Set fixed width to all buttons in the HildonDialog.
5490 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5492 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5494 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5495 Set widget name using class name plus "-finger" or "-thumb".
5497 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5499 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5500 'clicked' when the state of the button is manually changed.
5502 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5504 * src/hildon-app-menu.c (hildon_app_menu_realize)
5505 (hildon_app_menu_unrealize, hildon_app_menu_init)
5506 (hildon_app_menu_class_init, item_visibility_changed):
5507 Change the menu layout when the size of the screen changes.
5508 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5509 Show warning only when changing the number of colums using the
5512 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5514 * debian/compat: Set to 5
5515 * debian/control: Update dependencies.
5516 * debian/libhildon1-dbg.install: Remove.
5517 * debian/libhildon1-dev.install: Update according to cdbs paths.
5518 * debian/libhildon1.install: Update according to cdbs paths.
5519 * debian/rules: Switch to cdbs.
5521 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5523 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5524 'item' variable renamed to 'filter'
5526 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5528 * src/hildon-app-menu.c (hildon_app_menu_insert)
5529 (hildon_app_menu_add_filter, remove_item_from_list)
5530 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5531 Don't leak hidden items when the menu is destroyed.
5533 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5535 * src/hildon-app-menu.c (hildon_app_menu_insert)
5536 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5537 (hildon_app_menu_set_columns, item_visibility_changed)
5538 (filter_visibility_changed, hildon_app_menu_repack_filters)
5539 (hildon_app_menu_repack_items):
5540 Repack items and filters separately.
5542 Don't repack all items, change only the ones that are needed to
5545 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5547 * src/Makefile.am: added hildon-touch-selector-column.h
5549 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5551 * src/hildon-touch-selector.c: added the property "text-column" to the
5552 class HildonTouchSelectorColumn, and related get/set functions
5553 (_default_printf_func): updated to use "text-column" property
5554 * src/hildon-touch-selector-entry.c: mark as deprecated the property
5555 "text-column" in his documentation, as this is now included on
5556 HildonTouchSelectorColumn. The get/set_property can still be used,
5557 working as a wrapper to the concrete column "text-column" property
5558 (_text_column_modified): callback added in order to handle the signal
5559 "notify::text-column" of the concrete HildonTouchSelectorColumn
5560 (hildon_touch_selector_entry_get_text_column)
5561 (hildon_touch_selector_entry_set_text_column): Added documentation, and
5562 modified in order to use the HildonTouchSelectorColumn "text-column"
5564 * src/hildon-time-selector.c:
5565 * src/hildon-date-selector.c:
5566 * examples/hildon-touch-selector-example.c
5567 * examples/hildon-touch-selector-multi-cells-example.c
5568 * examples/hildon-picker-button-multicolumn-example.c
5569 Set the right value to "text-column" property on the creation of a new
5570 column using hildon_touch_selector_append_column()
5572 Fixes: NB#88644 (Hardcoded first column of the model as text column)
5574 2008-09-30 Alberto Garcia <agarcia@igalia.com>
5576 * src/hildon-app-menu.c
5577 (hildon_app_menu_construct_child, hildon_app_menu_init): When
5578 updating the layout of the menu, don't create all widgets again,
5579 just repack the items in their new places.
5581 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
5583 * src/hildon-time-selector.c
5584 (hildon_time_selector_get_time)
5585 (hildon_time_selector_set_time)
5586 Added documentation of these public methods
5588 * src/hildon-date-button.h
5589 * src/hildon-touch-selector-column.h
5590 * src/hildon-time-button.h
5591 * src/hildon-picker-dialog.h
5592 * src/hildon-time-selector.h
5593 * src/hildon-picker-button.h
5594 * src/hildon-touch-selector.h
5595 * src/hildon-time-picker.h
5596 * src/hildon-date-selector.h
5597 * src/hildon-touch-selector-entry.h
5598 Modified in order to use hildon-widgets code style
5600 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5602 Added deprecated support to the compilation process using
5603 HILDON_DISABLE_DEPRECATED
5605 * configure.ac: Added the --disable-deprecated to the configure
5608 * src/hildon-weekday-picker.c:
5609 * src/hildon-weekday-picker.h: Deprecated widget, example of how
5610 to use the deprecated support. We will update the other deprecated
5611 widgets status in a new patch.
5613 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5615 * configure.ac: Fixed typo with fatal warnings support, the
5616 variable name was not correct
5618 2008-09-29 Alberto Garcia <agarcia@igalia.com>
5620 * src/hildon-app-menu.c
5621 * src/hildon-program.c: Update documentation.
5623 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5625 * configure.ac: Post-release version bump.
5627 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5632 * configure.ac: Pre-release version bump.
5633 * debian/changelog: Updates.
5635 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5637 * NEWS: Update news for previous releases.
5639 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5641 * examples/hildon-touch-selector-multi-cells-example.c:
5642 (create_selector): Update the example to use
5643 hildon_touch_selector_append_column() with a NULL renderer and set
5644 the renderers later.
5645 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
5646 passed a NULL renderer. This is documented behavior now.
5648 Allow passing a NULL renderer to hildon_touch_selector_append_column().
5649 This must be used if the developer wants full control on the layout of
5650 the renderers to be added to the column.
5652 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5654 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5656 * src/hildon-touch-selector.c: Documentation fixes.
5658 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5660 * src/hildon-wizard-dialog-private.h: Remove image and box.
5661 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
5662 (hildon_wizard_dialog_set_property), (response): Completely remove
5663 image/icon support, and the containers required for the layout.
5665 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
5667 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5669 * src/hildon-app-menu.c: Updated documentation.
5671 * src/hildon-stackable-window.c
5672 (hildon_stackable_window_set_main_menu): Unref the old menu after
5673 ref'ing the new one.
5675 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5677 * src/hildon-stackable-window.c
5678 (hildon_stackable_window_set_main_menu): Unref the previous menu
5679 instead of destroying it.
5681 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
5682 floating reference and set has_user_ref_count to FALSE to make
5683 HildonAppMenu act like a normal ref-counted widget and not a
5686 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
5689 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
5691 * src/hildon-touch-selector-column.h: new file
5692 * src/hildon-touch-selector.h
5693 * src/hildon-touch-selector.c
5694 Implemented GtkCellLayout interface, in order to allow to configure
5695 the cell layout on each individual selector column
5696 (hildon_touch_selector_set_column_attributes): marked as deprecated
5697 * examples/hildon-touch-selector-multi-cells-example.c
5698 Example of how to use the GtkCellLayout interface on the selector
5700 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5702 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5704 * src/hildon-app-menu.h
5705 * src/hildon-app-menu.c
5706 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
5707 (hildon_app_menu_append, hildon_app_menu_prepend):
5708 New methods to prepend, insert and move items in the menu.
5710 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5712 * src/hildon-wizard-dialog.c:
5714 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
5716 (create_title): Update logical IDs and related code.
5717 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
5719 * src/hildon-wizard-dialog.h: Note that
5720 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
5721 point, as it is not used anymore.
5723 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
5725 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5727 * src/hildon-note.c:
5728 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
5729 shown. Do not display an icon in confirmation notes nor information
5731 (hildon_note_set_button_text): Update logical ID for cancel button.
5733 Fixes: NB#88850 (Update HildonNote button strings + signals)
5735 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5737 * src/hildon-stackable-window.c
5738 (hildon_stackable_window_set_main_menu): Fix compilation warning.
5740 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5742 * src/hildon-app-menu-private.h
5743 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
5744 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
5745 (hildon_app_menu_init, hildon_app_menu_class_init): Added
5746 temporary property 'columns' to change the number of columns.
5748 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5750 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
5752 * examples/hildon-note-example.c: (on_information_clicked),
5753 (on_confirmation_clicked), (on_progress_clicked), (main): Add
5754 debugging information.
5755 * src/hildon-note-private.h: Remove close_if_pressed_outside,
5757 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
5758 (hildon_note_rebuild): Remove special handling of tapping outside/inside
5759 in order to close: this will be handled by the WM from now on.
5761 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
5763 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5765 * src/hildon-app-menu-private.h
5766 * src/hildon-app-menu.c
5767 (hildon_app_menu_append, hildon_app_menu_add_filter)
5768 (button_visibility_changed, hildon_app_menu_apply_style)
5769 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
5770 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
5771 layout everytime a button (item or filter) is shown or hidden.
5773 * src/hildon-stackable-window.c
5774 (hildon_stackable_window_set_main_menu): Destroy the old menu when
5777 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
5779 * src/hildon-touch-selector.c:
5780 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
5781 that the treeview inside the touch selector is in fremantle hildon mode
5782 * examples/hildon-date-button-example.c
5783 * examples/hildon-picker-button-multicolumn-example.c
5784 * examples/hildon-touch-selector-entry-example.c
5785 * examples/hildon-touch-selector-example.c
5786 * examples/hildon-time-button-example.c
5787 * examples/hildon-picker-button-example.c:
5788 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
5790 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
5792 * examples/hildon-text-view-example.c: (main): Remove the
5793 gtkrc bits, now handled by the theme.
5795 2008-09-22 Alberto Garcia <agarcia@igalia.com>
5797 * src/hildon-picker-button.c (hildon_picker_button_set_active):
5800 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5802 * po/Makefile.am: Install properly the mo files.
5803 * po/en_GB.po: Update translation, to ease testing purposes.
5805 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5807 * examples/hildon-picker-button-example.c: (main): Select an item
5808 in the selector before setting it to the button.
5810 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5812 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
5813 Update button's value if the selector has an item active.
5815 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
5816 'value' with the selector)
5818 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5820 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
5821 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
5822 (hildon_picker_button_class_init): Plug the finalize method.
5823 (hildon_picker_button_set_selector): If there's a previously set
5824 selector, unref'it before setting a new one.
5826 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
5827 HildonTouchSelector)
5829 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
5831 * src/hildon-touch-selector-entry.c:
5832 (hildon_touch_selector_entry_changed): Check if there is no text
5833 selected before setting the entry text.
5836 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5838 * src/hildon-touch-selector.h
5839 * src/hildon-touch-selector.c
5840 (hildon_touch_selector_get_active)
5841 (hildon_touch_selector_set_active): New methods to set/get the
5842 index of the selected item.
5844 * src/hildon-picker-button.h
5845 * src/hildon-picker-button.c
5846 (hildon_picker_button_get_active)
5847 (hildon_picker_button_set_active): New methods to set/get the
5848 index of the selected item.
5850 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5852 * configure.ac: post-release version bump.
5854 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5858 * configure.ac: Pre-release version bump.
5859 * debian/changelog: Updates.
5860 * debian/control: Add myself as maintainer and depend on l10n
5863 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5865 * src/hildon-window.c
5866 (hildon_window_set_main_menu)
5867 * src/hildon-stackable-window.c
5868 (hildon_stackable_window_set_main_menu):
5869 Updated documentation.
5871 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5873 * src/hildon-date-selector.c (hildon_date_selector_finalize):
5874 Don't free selector->priv manually.
5877 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5880 (hildon_gtk_window_set_progress_indicator):
5881 * src/hildon-gtk.h: Added the new API
5882 hildon_gtk_window_set_progress_indicator, it changes the state of
5883 the window progress hint.
5885 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5887 * src/hildon-button.c
5888 * src/hildon-stackable-window.c: Minor documentation updates.
5890 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5892 * src/hildon-stackable-window.c: Updated documentation.
5894 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
5896 * src/hildon-defines.h: Update margins definitions
5897 to the Fremantle sizes.
5900 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5902 * src/hildon-touch-selector.c,
5903 (_hildon_touch_selector_set_model): Cleaning the code after
5904 review, removed g_print and #if 0 from the code.
5906 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5908 * src/hildon-edit-toolbar.c: Update documentation.
5910 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5912 * src/hildon-check-button.h
5913 * src/hildon-check-button.c
5914 (hildon_check_button_set_label, hildon_check_button_get_label)
5915 * examples/hildon-check-button-example.c
5916 (button_clicked_cb):
5917 Removed deprecated methods.
5919 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5921 * src/hildon-text-view.c:
5922 Add sample code to the documentation.
5924 * src/hildon-entry.h
5925 * src/hildon-text-view.h:
5926 Minor cosmetic changes.
5928 * src/hildon-entry.c:
5929 Add sample code to the documentation.
5930 (hildon_entry_init, hildon_entry_refresh_contents):
5931 Don't allow NULL values in the placeholder.
5933 2008-09-10 Alberto Garcia <agarcia@igalia.com>
5935 * doc/hildon-docs.sgml
5937 * examples/Makefile.am
5938 * examples/hildon-text-view-example.c
5940 * src/hildon-text-view.c
5941 * src/hildon-text-view.h
5943 New HildonTextView widget, with example.
5945 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5947 * po/POTFILES.in: Add missing files with translatable strings.
5948 Partially fixes NB#88287.
5950 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5952 * examples/hildon-pannable-area-example-2.c: (main): No need to
5953 set the cellrenderer height inside hildon touch lists, the theme does
5956 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5958 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
5959 they are integrated in the theme.
5961 2008-09-09 Alberto Garcia <agarcia@igalia.com>
5963 * examples/hildon-entry-example.c: Update the example adding
5964 widgets to modify the text and the placeholder of the HildonEntry.
5966 * src/hildon-entry.c: Show the placeholder everytime the widget
5967 is empty and loses the focus.
5969 2008-09-09 Alejandro G. Castro <alex@igalia.com>
5971 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
5973 * src/hildon-pannable-area.c,
5974 (hildon_pannable_area_size_request): Fixed bug in height
5975 requisition, avoid increasing size and add border twice.
5977 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5979 * configure.ac: postrelease version bump.
5981 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5985 * configure.ac: Prerelease version bump.
5986 * debian/changelog: update.
5987 * debian/rules: make -dbg package contain useful debugging symbols.
5989 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5991 * src/hildon-dialog.h
5992 * src/hildon-dialog.c
5993 (hildon_dialog_add_button, hildon_dialog_add_buttons):
5994 New methods to add buttons with finger size.
5995 (hildon_dialog_new_with_buttons):
5996 Create buttons with finger size.
5998 * examples/hildon-dialog-example.c (main): Use HildonDialog
5999 methods to add buttons.
6001 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6003 * src/hildon-entry.c: Updated HildonButton documentation.
6005 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6007 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
6008 button value label with (FALSE, FALSE) to prevent NB#88126 from
6011 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6013 * examples/hildon-pannable-area-example.c,
6014 (main): Removed examples panning a vbox inside a pannable
6015 area. Check bug NB#87965
6017 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6019 Patch contributed by Kris Rietveld (kris@imendio.com)
6021 * src/hildon-pannable-area.c,
6022 (hildon_pannable_area_get_topmost): replaced the get_geometry with
6023 get_size and get_position, this saves an X server roundtrip.
6025 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6027 * doc/hildon-docs.sgml
6029 * examples/Makefile.am
6030 * examples/hildon-entry-example.c
6032 * src/hildon-entry.c
6033 * src/hildon-entry.h
6035 New HildonEntry widget, with example.
6037 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6039 * src/hildon-button.c (hildon_button_construct_child): Pack the
6040 image with expand == fill == FALSE. This is a workaround for a bug
6043 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
6045 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6046 labels for the text column, to make it more look more dynamic.
6048 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6050 * src/hildon-time-selector.c
6051 Define gettext auxiliar macro N_
6052 (_create_minutes_model)
6053 (_create_hours_model)
6054 (_create_ampm_model): use of strftime in order to fill the model
6055 * src/hildon-date-selector.c
6056 (hildon_date_selector_finalize):
6057 (_locales_init): remove the logic related to get the name of the months
6058 using nl_langinfo, as it is not required anymore
6060 (_create_year_model)
6061 (_create_month_model)
6062 (_update_day_model): use of strftime in order to fill the model properly
6065 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6067 * src/hildon-button.h
6068 * src/hildon-button.c (hildon_button_get_image): New method to
6071 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6073 * src/hildon-touch-selector.c:
6074 (hildon_touch_selector_remove_column): Remove from the correct parent
6075 and also remove the list element and free it.
6078 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6080 * src/hildon-time-selector.c
6081 (_create_hours_model): change the range on 12h ampm format in order to use
6082 a 12-11 range instead of previous 01-12 range
6083 (hildon_time_selector_set_time): change the way to select the current time
6084 on 12h ampm format, due the change on the range
6085 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6088 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6090 * src/hildon-touch-selector.c
6091 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6092 in order to allow use this function on multiple row selection mode if
6093 the column is different that the first one
6096 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6098 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6099 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6101 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6103 * src/hildon-date-selector.h: clean some comments, now on the .c
6104 * src/hildon-date-selector.c
6105 (hildon_date_selector_select_month): first implementation
6106 (hildon_date_selector_select_day): added documentation, reimplemented
6107 using hildon_date_selector_select_current_date to avoid repeat code
6110 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6112 Reviewed interaction logic based on device experiences, refactored
6115 * src/hildon-pannable-area.c,
6116 (hildon_pannable_area_class_init): Updated default vmax speed.
6117 (hildon_pannable_area_calculate_velocity): Added this function, it
6118 avoids duplicate valocity calculation. Adjusted calculation to
6119 avoid problems with zero dist events.
6121 (hildon_pannable_area_motion_notify_cb): Now we use the
6122 calculate_velocity function.
6124 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6126 * src/hildon-date-selector.c
6127 (hildon_date_selector_select_current_date): fix the day range check
6128 as it failed using the last day of the current month
6131 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6133 * src/hildon-touch-selector.c
6134 (hildon_touch_selector_get_num_columns): added a parameter validation
6137 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6139 * examples/Makefile.am
6140 * examples/hildon-edit-toolbar-example.c: Example of the
6141 HildonEditToolbar widget.
6143 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6145 * configure.ac: postrelease version bump.
6147 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6151 * configure.ac: prerelease version bump.
6152 * debian/changelog: update.
6154 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6156 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6157 renderer to display stock icons in the touch list. Also, set the sizes
6158 to the recommended in the style guide.
6160 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6161 * src/hildon-touch-selector.h
6162 (hildon_touch_selector_set_active_iter): renamed, now is
6163 hildon_touch_selector_select_iter
6164 (hildon_touch_selector_get_active_iter): renamed, now is
6165 hildon_touch_selector_get_selected
6166 (hildon_touch_selector_unselect_iter): added
6167 * src/hildon-touch-selector.c
6168 Update after API modification (methods renamed)
6169 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6170 order to avoid problems selecting multiple elements on the column
6171 (hildon_touch_selector_unselect_iter): added the implementation
6172 * src/hildon-time-selector.c
6173 * src/hildon-date-selector.c
6174 * src/hildon-touch-selector-entry.c
6175 Update methods calls after hildon-touch-selector.h API modification (methods
6178 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6180 * src/hildon-stackable-window.c
6181 (hildon_stackable_window_finalize): Call the parent class's finalize.
6183 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6185 * examples/hildon-touch-selector-example.c: (create_selector): Use
6186 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6189 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6191 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6192 set a cell background color, to respect theming.
6194 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6196 * doc/hildon-docs.sgml
6199 * src/hildon-edit-toolbar.c
6200 * src/hildon-edit-toolbar.h
6201 * src/hildon.h: New HildonEditToolbar widget.
6203 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6205 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6208 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6209 * src/hildon-touch-selector.c
6210 (_create_new_column): use g_object_set instead of two g_object_set_property
6212 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6213 * src/hildon-touch-selector.c
6214 (_create_new_column): use of hildon_gtk_tree_view_new to create
6215 the treeview, instead of use directly g_object_new
6216 (_create_new_column): update the property name "vindicator-mode" for the
6217 new one "vscrollbar-policy"
6218 * examples/hildon-date-button-example.c
6219 * examples/hildon-picker-button-multicolumn-example.c
6220 * examples/hildon-touch-selector-entry-example.c
6221 * examples/hildon-touch-selector-example.c
6222 * examples/hildon-time-button-example.c
6223 * examples/hildon-picker-button-example.c
6224 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6225 to all the treeviews inside a pannable area.
6227 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6229 * src/hildon-button.h
6230 * src/hildon-button.c (hildon_button_init)
6231 (hildon_button_set_arrangement, hildon_button_set_alignment)
6232 (hildon_button_set_title_alignment)
6233 (hildon_button_set_value_alignment)
6234 (hildon_button_set_image_alignment)
6235 (hildon_button_construct_child): New methods to set the alignment
6236 of the individual components of the button (title, value,
6237 image). Also, new method to alter the xscale and yscale properties
6238 of the GtkAlignment inside the button, so more complex layouts can
6241 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6243 * src/hildon-button.c (hildon_button_style_set)
6244 (hildon_button_class_init, hildon_button_set_arrangement)
6245 (hildon_button_construct_child): Apply style properties
6246 correctly. Use the 'image-spacing' style property too.
6248 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6250 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6251 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6254 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6256 * src/hildon-pannable-area.c,
6257 (hildon_pannable_area_size_request): Fixed problem with
6258 pannable-area size_request.
6260 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6262 Added management for the grab-focus to a child widget, like a
6263 range, we need to fade out the scrollbar when releasing.
6265 * src/hildon-pannable-area.c,
6266 (hildon_pannable_area_init): Connected the grab-focus signal to
6268 (hildon_pannable_area_grab_notify): Added this function in order
6269 to manage the situation when the grab-focus ends. We have to
6270 fade-out the scrollbar.
6272 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6274 * src/hildon-app-menu.c: Minor documentation update.
6276 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6278 * src/hildon-app-menu.c
6279 * examples/hildon-app-menu-example.c (create_menu): Update
6280 examples and documentation to explain how to connect callbacks.
6282 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6284 * examples/hildon-button-example.c
6285 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6286 hildon_stackable_window_new instead of gtk_window_new
6288 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6290 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6291 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6292 (hildon_pannable_area_set_property),
6293 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6294 (hildon_pannable_area_unrealize),
6295 (hildon_pannable_area_size_request),
6296 (hildon_pannable_area_size_allocate),
6297 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6298 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6299 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6300 (hildon_pannable_area_initial_effect),
6301 (hildon_pannable_area_redraw),
6302 (hildon_pannable_area_scroll_indicator_fade),
6303 (hildon_pannable_area_expose_event),
6304 (hildon_pannable_area_get_topmost), (synth_crossing),
6305 (hildon_pannable_area_button_press_cb),
6306 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6307 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6308 (hildon_pannable_area_motion_notify_cb),
6309 (hildon_pannable_area_button_release_cb),
6310 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6311 (hildon_pannable_area_remove),
6312 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6313 chage the code layout to a more GtkWidget like. Review the use of
6316 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6318 * examples/hildon-pannable-area-example-4.c,
6319 (main): Modified the name of the hindicator_mode to
6322 * src/hildon-pannable-area.c,
6323 (hildon_pannable_area_class_init),
6324 (hildon_pannable_area_motion_notify_cb),
6325 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6326 we have reduced the amount of signals and managed reviewed its
6327 rationale. Changed the default decelerate value.
6329 (hildon_pannable_area_add),
6330 (hildon_pannable_area_redraw): Refactored functions.
6332 (hildon_pannable_area_init),
6333 (hildon_pannable_area_get_property),
6334 (hildon_pannable_area_set_property):
6335 (hildon_pannable_draw_vscroll),
6336 (hildon_pannable_draw_hscroll),
6337 (hildon_pannable_area_initial_effect),
6338 (hildon_pannable_area_expose_event),
6339 (hildon_pannable_area_scroll),
6340 (hildon_pannable_area_button_press_cb),
6341 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6342 and vindicator_mode with hscrollbar_policy and
6343 vscrollbar_policy. Replaced hscroll and vscroll with
6344 hscroll_visible and vscroll_visible.
6346 (hildon_pannable_area_refresh): Refactor the function, remove
6347 variables and check the calls to this function, added resize
6348 conditions in case the children change their layout.
6350 (hildon_pannable_area_size_request): Added more detailed
6351 size_request calculation.
6354 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6356 * src/hildon-color-chooser.c
6357 (init_borders): use the correct gtk_border_free instead of g_free, to
6358 avoid a crash when this widget is used (ie: the three color selection
6361 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6363 * src/hildon-check-button.c,
6364 (hildon_check_button_set_active): Fixed problem when setting the
6365 active value, the widget was not redrawn.
6367 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6369 * src/hildon-pannable-area.c,
6370 (hildon_pannable_area_refresh),
6371 (hildon_pannable_area_scroll),
6372 (hildon_pannable_area_motion_notify_cb): Small code style change.
6374 (hildon_pannable_area_class_init): Default initial_hint set to
6375 FALSE, it is not in the specs.
6377 (hildon_pannable_area_initial_effect),
6378 (hildon_pannable_area_expose_event),
6379 (hildon_pannable_area_map),
6380 (hildon_pannable_area_init): Moved the launching point of the
6381 initial effect, it was in map but the sizes where not correct in
6382 that method so we do not know if we have the reproduce it. Now it
6383 is placed in the expose_event method and uses a variable to
6384 reproduce it just once.
6386 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6388 * src/hildon-pannable-area.c,
6389 (hildon_pannable_draw_vscroll),
6390 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6391 position allowed for the scrollbars.
6393 (hildon_pannable_area_size_allocate): Small style change.
6395 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6397 * src/hildon-pannable-area.c,
6398 (hildon_pannable_area_scroll_indicator_fade),
6399 (hildon_pannable_area_button_press_cb),
6400 (hildon_pannable_area_button_release_cb),
6401 (hildon_pannable_area_scroll_cb),
6402 (hildon_pannable_area_expose_event),
6403 (hildon_pannable_area_init): Added the define parameter
6404 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6405 and refactor the fade variable.
6407 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6409 * src/hildon-pannable-area.c,
6410 (hildon_pannable_area_redraw),
6411 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6412 lines, we were reimplemeting the redraw code.
6414 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6416 * src/hildon-pannable-area.c,
6417 (hildon_pannable_area_scroll_cb),
6418 (hildon_pannable_area_realize),
6419 (hildon_pannable_area_class_init): Added scroll_event management
6420 for pannable area, now we can scroll the usual desktop method.
6422 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6423 initialization of the parameters should depend on idle_id.
6425 (hildon_pannable_area_init),
6426 (hildon_pannable_area_map): Small code style modifications
6428 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6430 * src/hildon-pannable-area.c
6431 (hildon_pannable_area_button_press_cb),
6432 (hildon_pannable_area_motion_notify_cb),
6433 (hildon_pannable_area_button_release_cb),
6434 (hildon_pannable_area_size_allocate),
6435 (hildon_pannable_area_scroll_to): Improved the timeouts
6436 management, we avoid creating them each time.
6438 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6440 * src/hildon-pannable-area.c:
6441 (hildon_pannable_area_refresh),
6442 (hildon_pannable_area_motion_notify_cb),
6443 (hildon_pannable_area_class_init):
6444 * src/hildon-pannable-area.h:
6445 * src/hildon-touch-selector.c
6446 (_create_new_column):
6447 * examples/hildon-pannable-area-example-4.c:
6448 (horizontal_movement),
6449 (vertical_movement),
6451 Replaced the names of enums in the HildonPannableArea:
6452 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6453 HILDON_MOVEMENT_MODE_*
6454 - HILDON_PANNABLE_AREA_MOV_* ->
6456 - Removed HildonPannableAreaIndicatorMode, now we
6459 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6461 * examples/hildon-pannable-area-touch-grid-example.c
6462 * examples/hildon-pannable-area-touch-list-example.c: Fix
6463 compilation warnings.
6465 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6467 * src/hildon-gtk.c (hildon_gtk_button_new)
6468 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6469 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6470 images overriding the value of the "gtk-button-images" setting.
6472 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6474 * src/hildon-check-button.c (hildon_check_button_new):
6475 Instead of using a custom container, display the label and the
6476 checkbox using the standard GtkButton API.
6478 * examples/hildon-check-button-example.c (main): Don't use
6479 hildon_check_button_set_label() anymore
6481 * src/hildon-check-button.h
6482 * src/hildon-check-button.c
6483 (hildon_check_button_set_label, hildon_check_button_get_label):
6484 Set as deprecated, now we're using gtk_button_{get,set}_label()
6486 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6488 * src/hildon-pannable-area.c,
6489 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6490 GtkTreeview first line we detected it after the inclusion of the
6491 GtkWindowImpl in gtk+. We now check if the window is visible, not
6492 just if the pointer is over the window.
6493 (hildon_pannable_axis_scroll),
6494 (hildon_pannable_area_expose_event): Small style changes.
6496 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6498 * src/hildon-button.c: Update documentation.
6500 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6502 * examples/hildon-button-example.c: Add a switch to show images in
6505 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6507 * doc/hildon-docs.sgml: Some docs reorganization.
6509 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6511 * examples/hildon-pannable-area-touch-list-example.c
6513 * examples/hildon-pannable-area-touch-grid-example.c
6514 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6515 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6516 Fix memory leak when setting the tree model.
6518 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6522 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6524 * doc/hildon.types: Remove duplicated hildon_window_get_type
6525 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6526 documentation comment.
6528 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6530 * doc/Makefile.am: Complete list of private headers.
6532 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6534 * doc/hildon-docs.sgml
6535 * src/hildon-app-menu.c
6536 * src/hildon-bread-crumb.c
6537 * src/hildon-button.c
6539 * src/hildon-program.c
6540 * src/hildon-stackable-window.c
6541 * src/hildon-window.c: Lots of documentation updates.
6543 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6545 * debian/control: Depend on Gtk 2:2.12.9-0osso3
6547 * configure.ac: Require Gtk+ 2.12.9 at least
6549 2008-08-12 Alejandro G. Castro <alex@igalia.com>
6551 * src/hildon-pannable-area.c
6552 (hildon_pannable_area_scroll_indicator_fade),
6553 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6554 to protect the return of this timeout callbacks, avoiding deadlocks.
6556 2008-08-12 Christian Dywan <christian@imendio.com>
6559 * src/hildon-*.h: Ensure a consistent include order,
6560 include <gtk/gtk.h> instead of particular files and
6561 only include the topmost header in the gtk stack. See NB #39857
6563 2008-08-12 Christian Dywan <christian@imendio.com>
6565 * src/hildon-picker-dialog.c
6566 * src/hildon-touch-selector.c: Fix warnings about unused and
6567 uninitialized variables.
6569 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6571 * examples/Makefile.am
6572 * examples/hildon-check-button-example.c: Example of the hildon
6575 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6577 * src/hildon-window.h
6578 * src/hildon-window.c (hildon_window_class_init)
6579 (hildon_window_unset_program): Don't make
6580 hildon_window_unset_program a virtual function anymore.
6582 * src/hildon-stackable-window.c: Update documentation
6584 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6587 * doc/hildon-docs.sgml
6588 * doc/visual_index.xml
6589 * src/hildon-defines.c
6591 * src/hildon-helper.c
6592 * src/hildon-range-editor.c: Lots of documentation fixes.
6594 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6596 * examples/hildon-picker-button-multicolumn-example.c
6597 (create_touch_selector): Fix compilation warning.
6599 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6601 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
6602 (hildon_pannable_area_button_release_cb)
6603 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6605 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6607 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
6610 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6612 * src/hildon-bread-crumb-trail.h
6613 * src/hildon-date-editor.c
6614 * src/hildon-date-selector.c
6615 * src/hildon-pannable-area.c
6616 * src/hildon-picker-dialog.c
6617 * src/hildon-time-selector.c
6618 * src/hildon-touch-selector-entry.c
6619 * src/hildon-touch-selector.c
6620 * src/hildon-touch-selector.h: Misc documentation fixes
6622 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6624 * examples/hildon-date-editor-example.c (main): Updated date
6627 * examples/hildon-note-example.c (on_confirmation_clicked):
6628 Updated confirmation note example.
6630 * src/hildon-date-editor.c
6631 * src/hildon-note.c: Updated sample programs in documentation.
6634 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6636 * src/hildon-date-button.h:
6637 * src/hildon-picker-button.h:
6638 * src/hildon-time-button.c:
6639 * src/hildon-time-button.h:
6641 Some declarations changes to allow gtk-doc to document the widgets
6644 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6646 * src/hildon-date-button.c: Document the widget.
6647 * src/hildon-time-button.c: Document the widget.
6649 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6651 * src/hildon-picker-button.c: Document the widget.
6652 * src/hildon-touch-selector-entry.c: Document the widget.
6654 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6656 * doc/hildon-docs.sgml
6659 * src/hildon-check-button.h
6660 * src/hildon-check-button.c: New functions to create the Hildon
6664 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
6666 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6668 * src/hildon-button.h
6669 * src/hildon-button.c
6670 (hildon_button_add_title_size_group)
6671 (hildon_button_add_value_size_group)
6672 (hildon_button_add_image_size_group)
6673 (hildon_button_add_size_groups): New functions to set size groups
6674 for the button labels and image.
6675 (hildon_button_new_full): Removed
6677 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
6679 * src/hildon-time-selector.c
6680 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
6681 in order to avoid a crash if gconf is not available
6683 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6685 * src/hildon-button.c (hildon_button_set_arrangement)
6686 (hildon_button_construct_child): Don't construct the button child
6687 before setting the arrangement.
6689 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6691 * src/hildon-program-private.h
6692 * src/hildon-program.c
6693 * src/hildon-program.h
6694 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
6695 (hildon_program_peek_window_stack)
6696 (hildon_program_pop_window_stack)
6697 (hildon_program_go_to_root_window): HildonProgram now has a
6698 separate list for stackable windows. Functions are provided to
6699 manage that list with a stack-like API.
6701 * src/hildon-stackable-window.c: Stackable window management is
6702 now much simpler with the new HildonProgram API. Windows no
6703 longer need to be manually added to the program, they're
6704 automatically pushed to the top of the stack when shown.
6706 * examples/hildon-stackable-window-example.c: Updated example to
6707 reflect the API changes.
6709 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6711 * src/hildon-touch-selector.c: Comment out unimplemented
6712 hildon_touch_selector_insert_column() to avoid a compile warning.
6714 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6716 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6717 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
6718 (hildon_touch_selector_set_column_selection_mode),
6719 (_hildon_touch_selector_set_model),
6720 (hildon_touch_selector_set_model):
6722 Complete review of HildonTouchSelector documentation.
6724 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6726 * doc/hildon-docs.sgml
6730 * src/hildon-gtk.c: Convenience functions for standard Gtk
6731 widgets, used to easily perform frequent operations.
6733 * src/hildon-button-helpers.h
6734 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
6736 * src/hildon-helper.h
6737 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
6738 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
6740 * src/hildon-button.h
6741 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
6743 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6745 * src/hildon-button.c (hildon_button_init)
6746 (hildon_button_set_arrangement, hildon_button_construct_child):
6747 Pack the image and the labels inside the same GtkAlignment so
6748 gtk_button_set_alignment() can be used
6750 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6752 * src/hildon-button.h
6753 * src/hildon-button.c
6754 (hildon_button_init, hildon_button_set_image)
6755 (hildon_button_set_image_position)
6756 (hildon_button_construct_child): New functions to add an image to
6759 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6761 * src/hildon-date-button.c
6762 * src/hildon-picker-button.c
6763 * src/hildon-time-button.c
6764 * src/hildon-button.c:
6765 (hildon_button_class_init): "size-flags" renamed to "size"
6766 (hildon_button_set_title): Hide the title label if set to NULL.
6768 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6770 HildonButtonFlags split into HildonButtonArrangement (to set the
6771 button layout) and HildonSizeType (which can be used for any
6774 * src/hildon-button.h
6775 * src/hildon-button.c
6776 (hildon_button_class_init)
6777 (hildon_button_set_arrangement)
6778 (hildon_button_set_property): New "size-flags"
6779 property. "arrangement-flags" renamed to "arrangement".
6780 (hildon_button_new, hildon_button_new_with_text)
6781 (hildon_button_new_full): Constructors updated to reflect type changes.
6783 * src/hildon-helper.h
6784 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
6785 to set the size of a widget.
6789 * src/hildon-button-helpers.c
6790 * src/hildon-button-helpers.h: New hildon-button-helpers module.
6792 * src/hildon-date-button.c
6793 * src/hildon-date-button.h
6794 * src/hildon-picker-button.c
6795 * src/hildon-picker-button.h
6796 * src/hildon-time-button.c
6797 * src/hildon-time-button.h: Updated widgets to reflect
6798 HildonButton API changes.
6800 * examples/hildon-button-example.c
6801 * examples/hildon-date-button-example.c
6802 * examples/hildon-picker-button-example.c
6803 * examples/hildon-picker-button-multicolumn-example.c
6804 * examples/hildon-time-button-example.c
6805 * examples/hildon-touch-selector-entry-example.c
6806 * examples/hildon-touch-selector-example.c: Updated examples to
6807 reflect HildonButton API changes.
6809 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6811 * doc/hildon-docs.sgml:
6813 * examples/Makefile.am:
6814 * examples/hildon-touch-selector-entry-example.c:
6816 * src/hildon-touch-selector-entry.c:
6817 * src/hildon-touch-selector-entry.h:
6820 Moved HildonTouchSelectorEntry from sandbox. Added its
6821 documentation and examples.
6823 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6825 * src/hildon-touch-selector.h:
6826 * examples/hildon-picker-button-multicolumn-example.c:
6827 (hildon_touch_selector_append_text_column): Add a gboolean
6828 parameter to determine if text must be centered in the column.
6830 * src/hildon-date-selector.c: (hildon_date_selector_init):
6831 * src/hildon-time-selector.c: (hildon_time_selector_init):
6832 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
6833 (create_touch_selector): Update widgets and example to reflect
6836 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6838 * src/hildon-touch-selector.c:
6839 (hildon_touch_selector_set_active_iter): Set also the cursor in
6842 2008-08-06 Alberto Garcia <agarcia@igalia.com>
6844 * doc/hildon-docs.sgml
6847 * src/hildon-toggle-button.c
6848 * src/hildon-toggle-button.h
6849 * src/hildon.h: Removed HildonToggleButton widget, a derived
6850 class is not necessary for this.
6852 2008-08-06 Alejandro G. Castro <alex@igalia.com>
6854 * src/hildon-pannable-area.c,
6855 (hildon_pannable_area_realize),
6856 (hildon_pannable_area_size_allocate): Code refactoring, add tests
6859 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
6861 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
6862 "done" button the default widget for the dialog.
6864 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6866 * src/hildon-touch-selector.c:
6867 (hildon_touch_selector_class_init),
6868 (hildon_touch_selector_get_property),
6869 (_hildon_touch_selector_set_model),
6870 (_hildon_touch_selector_has_multiple_selection),
6871 (hildon_touch_selector_has_multiple_selection):
6872 Add a "has-multiple-selection" property with a virtual
6873 has_multiple_selection() method to allow derived classes to
6874 override the default value for it. See the method and property
6875 documentation for details.
6877 * src/hildon-touch-selector.h: Add the new API.
6879 * src/hildon-picker-dialog.c: (requires_done_button): Call
6880 hildon_touch_selector_has_multiple_selection() instead of
6881 determining the need for a button itself.
6883 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6885 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6886 (_hildon_touch_selector_set_model),
6887 (hildon_touch_selector_set_model): Move working code to
6888 _hildon_touch_selector_set_mode(). Call the class method instead.
6890 * src/hildon-touch-selector.h: Add (*set_model) to
6891 HildonTouchSelectorClass.
6893 Make hildon_touch_selector_set_model() a virtual method, so that
6894 derived classes can extend it and do fancy stuff with the model.
6896 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6898 * configure.ac: Set back the tarname in AC_INIT to hildon.
6900 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6904 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
6905 instead of libesd (NB#86876). Volume handling is still an open issue.
6907 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
6910 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6912 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
6913 (hildon_touch_selector_append_column): Make the widget a GtkVBox
6914 derived class to ease placement of an entry widget in
6915 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
6916 end, where the selector columns are packed now.
6918 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6920 * src/hildon-picker-button.c: Removed the simple _text() API.
6921 * src/hildon-picker-button.h: Likewise.
6923 * src/hildon-touch-selector.h:
6924 * src/hildon-touch-selector.c:
6925 (hildon_touch_selector_new_text),
6926 (hildon_touch_selector_append_text),
6927 (hildon_touch_selector_prepend_text),
6928 (hildon_touch_selector_insert_text):
6930 Moved the simple _text() API from HildonPickerButton to
6931 HildonTouchPicker, to provide better escalability and not to tie
6932 that API to HildonPickerButton.
6934 * examples/hildon-picker-button-example.c: (main): Example updated.
6936 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6938 * src/hildon-button.c: Updated documentation.
6940 * examples/hildon-button-example.c: Add the posibility to create
6941 the buttons using horizontal layout for title and value.
6943 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6945 * src/hildon-app-menu-private.h
6946 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
6947 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
6948 GtkSizeGroup for the filters, use the 'homogeneous' property of
6951 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6953 * examples/hildon-button-example.c: Updated example.
6955 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
6957 * doc/hildon-docs.sgml:
6960 Update documentation.
6962 * examples/Makefile.am: Update renamed examples.
6964 * examples/hildon-picker-button-multicolumn-example.c:
6965 (create_touch_selector), (main): Update after the rename.
6967 * examples/hildon-touch-picker-example.c: Removed.
6968 * examples/hildon-touch-selector-example.c: (value_changed),
6969 (create_selector), (get_visible_content), (main): Renamed from
6970 hildon-touch-picker-example.c
6972 * src/Makefile.am: Updated renamed files.
6974 * src/hildon-date-button.c: (hildon_date_button_init),
6975 (hildon_date_button_get_date), (hildon_date_button_set_date):
6976 * src/hildon-date-selector.c: (hildon_date_selector_init),
6977 (_custom_print_func), (_update_day_model),
6978 (_manage_selector_change_cb),
6979 (hildon_date_selector_select_current_date),
6980 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
6981 * src/hildon-date-selector.h:
6982 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6983 (hildon_picker_button_set_property),
6984 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6985 (hildon_picker_button_init), (hildon_picker_button_new_text),
6986 (hildon_picker_button_append_text),
6987 (hildon_picker_button_prepend_text),
6988 (hildon_picker_button_insert_text),
6989 (hildon_picker_button_set_selector),
6990 (hildon_picker_button_get_selector):
6991 * src/hildon-picker-button.h:
6992 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
6993 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
6994 (_update_title_on_selector_changed_cb), (requires_done_button),
6995 (_hildon_picker_dialog_set_selector),
6996 (hildon_picker_dialog_set_selector),
6997 (hildon_picker_dialog_get_selector):
6998 * src/hildon-picker-dialog.h:
6999 * src/hildon-time-button.c: (hildon_time_button_init),
7000 (hildon_time_button_get_time), (hildon_time_button_set_time):
7001 * src/hildon-time-selector.c: (hildon_time_selector_init),
7002 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
7003 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
7004 * src/hildon-time-selector.h:
7007 Massive code updates after the rename.
7009 * src/hildon-touch-picker.c: Removed.
7010 * src/hildon-touch-picker.h: Removed.
7012 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7013 (hildon_touch_selector_init), (hildon_touch_selector_map),
7014 (hildon_touch_selector_remove), (_default_print_func),
7015 (_selection_changed_cb), (_create_new_column),
7016 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
7017 (hildon_touch_selector_append_text_column),
7018 (hildon_touch_selector_remove_column),
7019 (hildon_touch_selector_set_column_attributes),
7020 (hildon_touch_selector_insert_column),
7021 (hildon_touch_selector_get_num_columns),
7022 (hildon_touch_selector_get_column_selection_mode),
7023 (hildon_touch_selector_set_column_selection_mode),
7024 (hildon_touch_selector_set_print_func),
7025 (hildon_touch_selector_get_print_func),
7026 (hildon_touch_selector_get_active_iter),
7027 (hildon_touch_selector_set_active_iter),
7028 (hildon_touch_selector_get_selected_rows),
7029 (hildon_touch_selector_get_model),
7030 (hildon_touch_selector_set_model),
7031 (hildon_touch_selector_get_current_text),
7032 (_hildon_touch_selector_center_on_selected_items):
7033 * src/hildon-touch-selector.h: Renamed from
7034 hildon-touch-picker.[ch]
7036 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7037 references, code examples, and related documentation.
7039 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7041 * doc/hildon-docs.sgml
7044 * src/hildon-toggle-button.c
7045 * src/hildon-toggle-button.h
7046 * src/hildon.h: New HildonToggleButton widget.
7048 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7050 * src/hildon-button.c: Add API documentation.
7051 (hildon_button_set_size_groups): Check input parameters
7053 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7055 * src/hildon-pannable-area.c
7056 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7057 effect after reaching the movement thredshold. This way we start
7058 using the distance after passing the thredshold.
7060 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7062 * src/hildon-button.c: (hildon_button_set_property): Use the
7063 appropriate g_value_get_flags() method.
7065 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7067 * doc/hildon-docs.sgml:
7070 Add the touch pickers, picker dialogs, and picker button widgets
7071 to the documentation.
7073 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7075 * src/hildon-button.c: (hildon_button_set_property),
7076 (hildon_button_class_init): Make "arrangement-flags" a proper
7077 G_TYPE_FLAGS derived property.
7079 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7081 * examples/Makefile.am: Add below examples.
7082 * examples/hildon-date-button-example.c:
7083 * examples/hildon-picker-button-example.c:
7084 * examples/hildon-picker-button-multicolumn-example.c:
7085 * examples/hildon-time-button-example.c:
7086 * examples/hildon-touch-picker-example.c:
7088 Add examples for the recently added touch pickers,
7089 picker dialogs, and picker button widgets.
7091 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7093 * src/hildon-button.c: Add some API documentation
7095 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7097 * src/hildon-button.h
7098 * src/hildon-button.c
7100 (hildon_button_new_with_text): New constructor to create a button
7101 with no text at all.
7102 (hildon_button_init, hildon_button_set_arrangement)
7103 (hildon_button_set_title, hildon_button_set_value)
7104 (hildon_button_set_text)
7105 (hildon_button_construct_child): Hide the value when it's not used
7106 so the rest of the text is properly aligned.
7107 Allow creating buttons with arbitrary widgets inside (not just
7108 title/value labels).
7110 * examples/hildon-button-example.c (vertical_buttons_window)
7111 (horizontal_buttons_window): Update example to use new API.
7113 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7115 * src/Makefile.am: Added HildonTimeButton.
7116 * src/hildon-time-button.c: Added missing LGPL header.
7117 * src/hildon-time-button.h: Added missing LGPL header.
7118 * src/hildon.h: Add hildon-time-button.h
7120 Copied HildonTimeButton from sandbox to trunk. Future work on this
7121 widget must take place in trunk.
7123 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7125 * src/Makefile.am: Added HildonDateButton.
7126 * src/hildon-date-button.c: Update includes.
7127 * src/hildon.h: Add hildon-date-button.h
7129 Copied HildonDateButton from sandbox to trunk. Future work on this
7130 widget must take place in trunk.
7132 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7134 * src/Makefile.am: Added HildonPickerButton.
7135 * src/hildon-picker-button.h: Update includes.
7136 * src/hildon.h: Add hildon-picker-button.h
7138 Copied HildonPickerButton from sandbox to trunk. Future work on
7139 this widget must take place in trunk.
7141 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7143 * src/Makefile.am: Added HildonPickerDialog.
7144 * src/hildon-picker-dialog.c: Update includes.
7145 * src/hildon.h: Add hildon-picker-dialog.h
7147 Copied HildonPickerDialog from sandbox to trunk. Future work
7148 on this widget must take place in trunk.
7150 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7152 * src/Makefile.am: Added HildonTimeSelector.
7153 * src/hildon.h: Add hildon-time-selector.h
7155 Copied HildonTimeSelector widget from sandbox to trunk. Future
7156 work on this widget must happen in trunk.
7158 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7160 * src/Makefile.am: Added HildonDateSelector.
7161 * src/hildon.h: Add hildon-date-selector.h
7163 Copied HildonDateSelector widget from sandbox to trunk. Future
7164 work on this widget must happen in trunk.
7166 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7168 * src/Makefile.am: Added HildonTouchPicker.
7169 * src/hildon-touch-picker.c: Update includes.
7170 * src/hildon.h: Add hildon-touch-picker.h
7172 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7173 on this widget must happen in trunk.
7175 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7177 * src/hildon-pannable-area.c:
7178 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7180 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7182 * examples/hildon-app-menu-example.c (main): Let the window
7185 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7187 * src/hildon-pannable-area.c
7188 (hildon_pannable_area_class_init): Set the min value of the
7189 overshoot properties to zero, which points out that not
7190 overshooting allowed.
7192 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7194 Modified the procedure to get the widget at a point inside the
7195 pannable area when using the movement type signals. Now the user
7196 has to call a function to get the child, that way we just
7197 calculate the child in case the user really want to use it and not
7200 * src/hildon-marshalers.list: Modified the marshallers, now we do
7201 not have the widget as a parameter.
7203 * src/hildon-pannable-area.c
7204 (hildon_pannable_area_motion_notify_cb),
7205 (hildon_pannable_area_class_init),
7206 (hildon_pannable_get_child_widget_at): Removed the widget
7207 parameter from the signal callback. We have also refactored the
7208 emission of the signals.
7210 * src/hildon-pannable-area.h: Added a new method to the API to
7211 calculate a widget at a point inside the pannable area,
7212 hildon_pannable_get_child_widget_at.
7214 * examples/hildon-pannable-area-example-4.c
7215 (horizontal_movement): Modified the example to use the new API,
7216 added condition to control which widget is under the event. This
7217 way we can avoid scrolling laterally over other widgets.
7219 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7221 * src/hildon-pannable-area.c
7222 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7223 modes, we stop getting the pointer events due to returning the
7224 callback without properly calling the get pointer again. Fixed
7225 also an error using the hscroll and vscroll.
7227 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7229 * src/hildon-app-menu-private.h
7230 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7231 (hildon_app_menu_button_release, hildon_app_menu_init)
7232 (hildon_app_menu_class_init): Don't hide the menu on button
7233 release if the user didn't press outside first.
7235 * src/hildon-window.h
7236 * src/hildon-window.c (hildon_window_toggle_menu)
7237 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7238 hildon_window_toggle_menu a virtual function for the stackable
7239 window to override it.
7241 * src/hildon-stackable-window.h
7242 * src/hildon-stackable-window-private.h
7243 * src/hildon-stackable-window.c
7244 (hildon_stackable_window_realize)
7245 (hildon_stackable_window_finalize)
7246 (hildon_stackable_window_class_init)
7247 (hildon_stackable_window_init)
7248 (hildon_stackable_window_set_main_menu): New function to set the
7249 app menu of a HildonStackableWindow.
7251 * examples/hildon-app-menu-example.c: Remove the button to show
7252 the app menu, now it'll be shown when clicking on the title bar
7255 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7257 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7258 set the widget name if the arrangement flags do not specify
7261 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7263 * src/hildon-button.c: (hildon_button_set_property),
7264 (hildon_button_class_init), (hildon_button_new_full),
7265 (hildon_button_set_arrangement): Added "arrangement-flags"
7268 Make the HildonButtonFlags a construction-only property, to allow
7269 subclasses to set them properly.
7271 2008-07-21 Tim Janik <timj@imendio.com>
7273 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7274 insertion position after backspace, so additional digits are appended,
7277 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7279 * src/hildon-pannable-area.c,
7280 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7281 TODO list, it was complete and removed the g_debug and g_print
7284 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7286 Added the movement modes to the hildon-pannable-area, with this
7287 modes the developers can control in which directions the widget
7288 can scroll. They can also connect to signals in order to do
7289 something when that happens, allowing applications scroll. There
7290 is an example uploaded showing how to use it.
7292 * examples/Makefile.am:
7293 * examples/hildon-pannable-area-example-4.c: Added this example of
7294 an application using the modes.
7296 * src/hildon-marshalers.list: Added a new marshaller for the new
7299 * src/hildon-pannable-area.h: Added new enumerations and flags in
7300 order to control the movement modes and the new signals to warn
7301 about the movements in the area.
7303 * src/hildon-pannable-area.c:
7304 (hildon_pannable_axis_scroll),
7305 (hildon_pannable_area_scroll),
7306 (hildon_pannable_area_motion_notify_cb),
7307 (hildon_pannable_area_get_property),
7308 (hildon_pannable_area_set_property),
7309 (hildon_pannable_area_map),
7310 (hildon_pannable_area_class_init),
7311 (hildon_pannable_area_init),
7312 (hildon_pannable_area_jump_to): Added the modes to control the
7313 movement in the widget. We have added properties to control it,
7314 signals to warn about the movements and refactored some code.
7316 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7318 Changes required in order to allow vfast_factor set to zero to
7321 * src/hildon-pannable-area.c:
7322 (hildon_pannable_area_button_press_cb): Changed the condition, it
7323 is required for not allowing click when vfast_factor is zero.
7324 (hildon_pannable_area_timeout): Initialized velocity variables
7325 when we stop moving, it was less than 1 but not zero and we need
7326 to check zero in some situations.
7327 (hildon_pannable_area_class_init): Changed the default value of
7328 the speed factor, now the button_press is just sent in case the
7329 speed is 2 per cent of the max speed.
7330 (hildon_pannable_area_init): Initialization with 0.
7332 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7334 * src/hildon-pannable-area.c,
7335 (hildon_pannable_area_get_topmost): replaced
7336 gdk_window_get_children with gdk_window_peek_children, this way we
7337 do not have to free the list because it is not a copy.
7339 (hildon_pannable_axis_scroll),
7340 (hildon_pannable_area_scroll),
7341 (hildon_pannable_area_timeout),
7342 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7343 two parameters that were only used inside the
7344 hildon_pannable_area_scroll function.
7346 * examples/hildon-pannable-area-example.c,
7347 (get_sawtooth_label): Fixed small memory leak.
7349 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7351 More checks for the case where the overshoot is bigger than the
7354 * src/hildon-pannable-area.c:
7355 (hildon_pannable_draw_vscroll),
7356 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7357 to draw the slider of the scrollbar under the other scrollbar.
7358 (hildon_pannable_area_expose_event): added new checks to control
7359 the drawing of the overshooting area rectangle, in case it is too
7360 big for the area of the widget.
7361 (hildon_pannable_area_size_allocate): add more checks to avoid
7362 setting a position to the child widget outside the area.
7364 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7366 * src/hildon-pannable-area.c
7367 (hildon_pannable_area_size_allocate): Added conditions to control
7368 when overshooting is bigger than the allocated space for the
7369 children, this avoids negative allocations.
7371 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7373 * doc/hildon-docs.sgml
7375 * examples/Makefile.am
7376 * examples/hildon-button-example.c
7378 * src/hildon-button.c
7379 * src/hildon-button.h
7380 * src/hildon.h: Initial version of the new HildonButton widget,
7383 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7385 * src/hildon-pannable-area.c:
7386 (hildon_pannable_area_button_press_cb),
7387 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7388 (hildon_pannable_area_motion_notify_cb),
7389 (hildon_pannable_area_button_release_cb),
7390 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7391 (hildon_pannable_area_jump_to_child):
7393 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7395 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7397 * examples/Makefile.am
7398 * examples/hildon-pannable-area-touch-grid-example.c
7399 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7400 the Hildon Touch List and Hildon Touch Grid using the
7401 HildonPannableArea widget.
7403 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7405 * src/hildon-pannable-area.c,
7406 (hildon_pannable_area_button_press_cb),
7407 (hildon_pannable_area_refresh),
7408 (hildon_pannable_area_scroll),
7409 (hildon_pannable_area_motion_notify_cb),
7410 (hildon_pannable_area_button_release_cb),
7411 (hildon_pannable_area_expose_event),
7412 (hildon_pannable_area_add),
7413 (hildon_pannable_area_remove),
7414 (hildon_pannable_area_realize),
7415 (hildon_pannable_area_size_allocate),
7416 (hildon_pannable_area_class_init),
7417 (hildon_pannable_area_init),
7418 (hildon_pannable_area_scroll_to_child),
7419 (hildon_pannable_area_jump_to_child): Fixed the problem of
7420 removing the child from the GtkBin, we have rearranged the widget
7421 hierarchy, now there is no GtkAlignment which was not doing
7422 anything interesting but breaking some of the assumptions of
7423 GtkContainer. Now developers if they want to add a GtkAlignment
7424 they could, but it is not inside the area.
7426 We had to review the whole allocation/expose process, now it is
7427 improved and we save at least three signals which would be saving
7428 some time when rendering the widget. The allocation of the
7429 scrollbars is now made in the allocate method as usual.
7431 We have also added some conditions in order to control when there
7432 is no child of the pannable area. Maybe we will need more work
7435 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7437 * src/hildon-pannable-area.c,
7438 (hildon_pannable_area_dispose): Released the fade-out timeout when
7439 disposing the widget.
7441 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7443 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7444 zero, we are going to use that property in order to deactivate the
7446 (hildon_pannable_axis_scroll),
7447 (hildon_pannable_area_size_allocate): Added conditions to control
7448 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7449 call, now it is called in all situations and we can remove calls
7450 in the allocate method.
7451 (hildon_pannable_area_map): Control the situation when
7452 overshoot_max is zero, we do not need the timeout.
7453 (hildon_pannable_area_class_init): Added documentation in order to
7454 point out that setting zero to overshoot_max means deactivate
7457 NOTE: removed trailing whitespaces from my previous comments of
7460 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7462 * src/hildon-pannable-area.c
7463 (hildon_pannable_area_get_property),
7464 (hildon_pannable_area_set_property),
7465 (hildon_pannable_area_map),
7466 (hildon_pannable_area_class_init),
7467 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7468 to cause the widget give a hint about its panning abilities upon
7471 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7473 * src/hildon-pannable-area.c: Several documentation improvements.
7475 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7477 * src/hildon-program.c
7478 * src/hildon-stackable-window.c: Update documentation.
7480 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7482 * src/hildon-stackable-window.c (get_previous_window_if_last):
7483 Renamed get_last_window()
7484 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7485 (hildon_stackable_window_unset_program):
7487 (get_previous_window_if_last):
7488 Detect if the window hasn't been added to a HildonProgram.
7490 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7492 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7494 * src/hildon-pannable-area.c
7495 (hildon_pannable_area_button_press_cb),
7496 (hildon_pannable_axis_scroll),
7497 (hildon_pannable_area_scroll),
7498 (hildon_pannable_area_timeout),
7499 (hildon_pannable_calculate_vel_factor),
7500 (hildon_pannable_area_get_property),
7501 (hildon_pannable_area_set_property),
7502 (hildon_pannable_area_class_init),
7503 (hildon_pannable_area_init),
7504 (hildon_pannable_area_scroll_to),
7505 (hildon_pannable_area_jump_to),
7506 (hildon_pannable_area_scroll_to_child),
7507 (hildon_pannable_area_jump_to_child):
7508 * src/hildon-pannable-area.h: Added the new API functions:
7509 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7510 hildon_pannable_area_scroll_to_child,
7511 hildon_pannable_area_jump_to_child
7514 * examples/Makefile.am
7515 * examples/hildon-pannable-area-example-2.c
7516 * examples/hildon-pannable-area-example-3.c: Added these two new
7517 examples in order to test and show how the new APIs work.
7519 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7521 * examples/hildon-stackable-window-example.c (new_window):
7522 * src/Makefile.am (noinst_HEADERS):
7523 * src/hildon-program.c (hildon_program_go_to_root_window):
7524 * src/hildon-program.h:
7525 * src/hildon-stackable-window-private.h:
7526 * src/hildon-stackable-window.c:
7527 * src/hildon-stackable-window.h:
7528 Create hildon-stackable-window-private.h
7529 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7531 * examples/hildon-app-menu-example.c (create_menu):
7532 * examples/hildon-hvolumebar-insensitive-example.c (main):
7533 * examples/hildon-hvolumebar-timer-example.c (on_idle):
7534 * examples/hildon-toolbar-seekbar-example.c (main):
7535 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7536 * src/hildon-banner.c (hildon_banner_set_property):
7537 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7538 Fix compilation warnings
7540 * src/hildon-window.c:
7543 2008-06-24 Alberto Garcia <agarcia@igalia.com>
7545 * src/hildon-stackable-window.c
7546 (hildon_stackable_window_unset_program):
7547 Calculate correctly whether to show the previous window if the
7548 last one is removed from the stack.
7549 (hildon_stackable_window_go_to_root_window):
7550 Send delete events starting from the topmost window.
7551 Stop if one of the windows is not destroyed.
7553 (hildon_stackable_window_delete_event)
7554 (hildon_stackable_window_class_init):
7555 Ignore the delete event if the window is not the topmost one.
7557 2008-06-24 Alejandro G. Castro <alex@igalia.com>
7559 * src/hildon-pannable-area.c
7560 (hildon_pannable_area_expose_event): Fixed a problem when
7561 selecting the background color of the scrollbars.
7563 2008-06-23 Alberto Garcia <agarcia@igalia.com>
7565 * examples/hildon-stackable-window-example.c
7566 * src/hildon-stackable-window.c
7567 * src/hildon-stackable-window.h
7568 hildon_stackable_window_go_home() renamed to
7569 hildon_stackable_window_go_to_root_window()
7570 Send delete events to windows rather than closing them with
7571 gtk_widget_destroy()
7573 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7575 * src/hildon-pannable-area.c
7576 (hildon_pannable_area_button_release_cb): Fix overshooting in
7579 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7581 * src/hildon-pannable-area.c
7582 (hildon_pannable_area_init): Initially show the scroll indicators.
7583 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7585 Add initial effect showing the widget is pannable.
7587 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7589 * src/hildon-pannable-area.c
7590 (hildon_pannable_area_class_init)
7591 (hildon_pannable_area_set_property)
7592 (hildon_pannable_area_get_property)
7593 (hildon_pannable_area_button_press_cb):
7594 New 'velocity_fast_factor' property to decide which velocity is
7597 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7599 * src/hildon-pannable-area.c
7600 (hildon_pannable_draw_hscroll)
7601 (hildon_pannable_draw_vscroll):
7602 Use float variables to calculate the size of the scrollbars to
7603 avoid error propagation and resizing during scrolling.
7605 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7607 * src/hildon-pannable-area.c
7608 (hildon_pannable_draw_vscroll)
7609 (hildon_pannable_draw_hscroll):
7610 Define a minimum size for the scroll bars
7612 * src/hildon-stackable-window.c
7613 (hildon_stackable_window_go_home): Fix compilation warning
7614 (get_last_window): Minor optimizations
7615 (hildon_stackable_window_class_init): Fix initialization of
7618 2008-06-18 Alberto Garcia <agarcia@igalia.com>
7620 * src/hildon-stackable-window.c: Fixed typos in doc
7622 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
7624 * src/hildon-pannable-area.c
7625 (hildon_pannable_area_scroll):
7626 Calculate here whether we need to scroll instead of using the booleans
7627 that tell us whether to /draw/ the scrolling bars.
7629 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
7631 * src/hildon-app-menu.h
7633 * src/hildon-app-menu.c
7634 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
7635 multiple filter groups related code and API. Now we support only
7637 * examples/hildon-app-menu-example.c:
7639 Update to reflect API changes.
7641 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
7643 * src/hildon-stackable-window.c
7644 (hildon_stackable_window_class_init):
7645 Add hildon_stackable_window_realize.
7646 (hildon_stackable_window_realize):
7647 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
7648 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
7649 to apply theming and behavior specific to HildonStackableWindow
7652 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7654 * src/hildon-note.c (hildon_note_button_release):
7655 Close information notes also when tapping on them
7657 2008-06-12 Alejandro G. Castro <alex@igalia.com>
7659 Added BOUNCE_STEPS define to control the overshoot effect. Removed
7660 ELASTICITY, refactor and review, fix some issues with drawing
7663 * src/hildon-pannable-area.c:
7664 (hildon_pannable_area_button_press_cb): removed the conditions to
7665 avoid clicks when overshooting. It is not required
7667 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
7668 define. Refatored and reviewed the code, now we do not need to
7669 manage velocity in motion_notify.
7671 (hildon_pannable_area_motion_notify_cb): We have moved the code
7672 that controls the area_scroll to the axis_scroll function and get
7673 rid of duplicated code.
7675 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
7677 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
7679 (hildon_pannable_draw_vscroll),
7680 (hildon_pannable_draw_hscroll): Fixed the problems with the
7681 scrollbar drawing, now we do not use two surfaces, it is easier
7682 and saves resources.
7684 (hildon_pannable_area_get_property): Style modification.
7686 (hildon_pannable_area_class_init): Changed some default values.
7688 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
7690 * src/hildon-stackable-window.c: Fix some typos in the
7693 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7695 * src/hildon-dialog.c:
7696 Change indentation style
7699 (hildon_note_button_release):
7700 Use root coordinates to check if the release event happened
7703 * src/hildon-app-menu.c
7704 (hildon_app_menu_button_release):
7705 Remove unnecessary check
7707 * examples/hildon-app-menu-example.c
7709 Add cast to fix warning
7711 * src/hildon-app-menu.c
7712 (hildon_app_menu_class_init):
7713 New inner-border style property.
7714 Set all default spacings to 16
7715 (hildon_app_menu_init):
7716 Use vertical-spacing to set the space between filter buttons and
7717 regular menu buttons.
7718 Set the default container border using the inner-border value.
7720 * examples/hildon-app-menu-example.c
7722 Don't set the menu border explicitly, now we have the inner-border
7723 style property for that.
7725 2008-06-11 Alberto Garcia <agarcia@igalia.com>
7727 * src/hildon-app-menu.c (hildon_app_menu_init):
7728 Make the window modal
7730 * src/hildon-note.c (hildon_note_map)
7731 * src/hildon-app-menu.c (hildon_app_menu_map):
7732 Destroy the grab window if we're unable to grab the pointer
7734 * src/hildon-app-menu-private.h
7735 * src/hildon-app-menu.c
7736 (hildon_app_menu_init, hildon_app_menu_finalize)
7737 (hildon_app_menu_map, hildon_app_menu_unmap)
7738 (hildon_app_menu_button_release)
7739 (grab_transfer_window_get):
7740 Bring back the grab window
7741 (hildon_app_menu_realize):
7742 Decorate the window, set WM hint for Matchbox
7744 * src/hildon-note.c (hildon_note_realize):
7745 * src/hildon-banner.c (hildon_banner_realize):
7746 Add WM hints for Matchbox
7748 2008-06-10 Alberto Garcia <agarcia@igalia.com>
7750 * src/hildon-app-menu-private.h
7751 * src/hildon-app-menu.c
7752 (hildon_app_menu_init, hildon_app_menu_finalize)
7753 (hildon_app_menu_map, hildon_app_menu_unmap)
7754 (hildon_app_menu_button_release):
7755 Remove the grab window, it's not needed anymore
7757 * src/hildon-program.c
7758 Fixed typo in documentation
7760 * src/hildon-app-menu.h
7761 * src/hildon-app-menu.c
7762 * examples/hildon-app-menu-example.c
7763 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
7765 2008-06-09 Alberto Garcia <agarcia@igalia.com>
7768 Added new transfer_window and close_if_pressed_outside private
7770 (hildon_note_rebuild):
7771 Don't add a cancel button to the information note. It will be
7772 closed when tapping outside
7773 Remove the comment about the OK button in the documentation
7774 (hildon_note_realize):
7775 Set the notification type hint
7776 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
7777 Grab/ungrab pointer and keyboard if the note has to be closed when
7779 (hildon_note_button_release):
7780 Close the note when tapping outside (if applicable)
7782 * src/hildon-app-menu.c
7783 Grab/ungrab pointer and keyboard on map/unmap
7784 (hildon_app_menu_button_release, hildon_app_menu_class_init):
7785 Close the menu on button release, not button press
7787 * src/hildon-banner.c
7788 (hildon_banner_set_property)
7789 (hildon_banner_check_position):
7790 Make the banner use the full width of the screen
7791 (hildon_banner_show_information)
7792 (hildon_banner_show_information_with_markup):
7793 Don't display an icon by default
7795 2008-06-09 Alejandro G. Castro <alex@igalia.com>
7797 Added fading scrollbars and adapted all the overshooting code to
7798 horizontal scrolling. We have also fixed bugs with overshooting
7799 and current fading implementation.
7801 * src/hildon-pannable-area.c
7802 (hildon_pannable_area_scroll_indicator_fade): Time out function
7803 used to change the transparency of the scrollbars.
7805 (hildon_pannable_area_button_press_cb): Added horizontal overshot
7806 control and fixed a problem with fading, we now remove the fade
7807 timeout before adding a new one.
7809 (hildon_pannable_axis_scroll):
7810 (hildon_pannable_area_scroll):
7811 (hildon_pannable_area_timeout): Added this functions so we can use
7812 the scroll code both for vertical and horizontal.
7814 (hildon_pannable_area_motion_notify_cb):
7815 (hildon_pannable_area_button_release_cb): Added the horizontal
7816 scrolling control, fixed a problem with the overshooting timeout.
7818 (rgb_from_gdkcolor): Added this function, it is used in the cairo
7819 painting of the scrolls.
7821 (hildon_pannable_draw_vscroll):
7822 (hildon_pannable_draw_hscroll):
7823 (hildon_pannable_area_expose_event):
7824 Draw both scrollbars and rectangles in the overshooting area.
7826 (hildon_pannable_area_get_property):
7827 (hildon_pannable_area_set_property):
7828 Modified the overshoot property to overshoot_max
7830 (hildon_pannable_area_map):
7831 Replaced the comments symbols.
7833 (hildon_pannable_area_size_allocate):
7834 (hildon_pannable_area_class_init):
7835 (hildon_pannable_area_init): Added horizontal scroll, fading
7836 effect properties, fixed a problem when overshooting in the bottom
7839 * examples/hildon-pannable-area-example.c:
7840 (get_sawtooth_label): Now we use smaller sawtooths, the effect
7841 looks better in the example.
7843 2008-06-03 Alberto Garcia <agarcia@igalia.com>
7845 * src/hildon-window.c
7846 * src/hildon-window.h
7847 (hildon_window_class_init)
7848 (hildon_window_unset_program)
7849 (hildon_window_unset_program_real):
7850 Make unset_program a virtual function
7852 * src/hildon-stackable-window.c
7853 * src/hildon-stackable-window.h
7854 Added hildon_stackable_window_go_home()
7856 * examples/Makefile.am
7857 * examples/hildon-stackable-window-example.c
7858 HildonStackableWindow example
7860 2008-06-03 Alejandro G. Castro <alex@igalia.com>
7862 * hildon-pannable-area.c: Added the overshoot property and removed
7863 the OVERSHOOT define. Fixed an indent style error.
7864 (hildon_pannable_area_motion_notify_cb):
7865 (hildon_pannable_area_get_property):
7866 (hildon_pannable_area_set_property): Add overshoot property.
7868 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
7871 (hildon_pannable_area_class_init): Installed the new property.
7873 * hildon-pannable-area-example.c: Added a sawtooth function, this
7874 way it is easier to check the movement in the pannable.
7875 (get_sawtooth_label): Added this function.
7876 (main): Now we get the labels from the new get_sawtooth_label
7879 2008-05-26 Alberto Garcia <agarcia@igalia.com>
7881 * src/hildon-app-menu.h
7882 * src/hildon-app-menu.c
7883 Renamed API variables for consistency
7885 (hildon_app_menu_popup): Use also the default window size to
7886 decide where to place the menu
7888 (hildon_app_menu_init, hildon_app_menu_class_init): New
7889 external-border style property
7891 2008-05-26 Michael Natterer <mitch@imendio.com>
7893 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
7894 widget_class->tap_and_hold_setup signal slot doesn't exist any
7895 longer, stop overriding it.
7897 (hildon_time_editor_init): g_signal_connect() to the
7898 tap-and-hold-setup signal instead.
7900 (hildon_time_editor_entry_keypress): add cast to fix warning.
7902 2008-05-23 Alberto Garcia <agarcia@igalia.com>
7904 * doc/hildon-docs.sgml
7906 * examples/Makefile.am
7907 * examples/hildon-app-menu-example.c
7909 * src/hildon-app-menu-private.h
7910 * src/hildon-app-menu.c
7911 * src/hildon-app-menu.h
7913 New HildonAppMenu widget
7915 2008-05-21 Alejandro G. Castro <alex@igalia.com>
7917 Rearranged the inheritance of the pannable area, now it inherits
7918 from GtkBin. This will allow us to control the event_window and
7919 the allocation process of the widget, required for some effects.
7921 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
7922 GtkBin structures. * src/hildon-pannable-area.c: Added the
7923 event_window variable.
7924 (hildon_pannable_area_button_press_cb):
7925 (hildon_pannable_area_button_release_cb):
7926 (hildon_pannable_area_motion_notify_cb):
7927 Changed the signature of the method, now we override the event
7928 callback instead of connecting to the signal.
7930 (hildon_pannable_area_realize):
7931 (hildon_pannable_area_unrealize):
7932 (hildon_pannable_area_map):
7933 (hildon_pannable_area_unmap):
7934 (hildon_pannable_area_size_allocate):
7935 Added functions to control the widget construction. We add a
7936 INPUT_ONLY window and we put it over the widgets inside the
7937 container, this event_window handles the events.
7939 (hildon_pannable_area_class_init):
7940 Replaced the signal connections with overrides of the event
7943 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7945 Bouncing effect added when touching the borders, you can change
7946 the elasticity of the border changing the ELASTICITY define.
7948 * src/hildon-pannable-area.c: Added ELASTICITY define.
7949 (hildon_pannable_area_timeout): Added inverse velocity when
7950 touching the border of the child widget, that causes a bounce.
7952 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7954 Improved performance, we now do not go to the X server in order to
7955 get the list of window children. Apparently the effect is the
7956 same, we have to be careful and check if this breaks something in
7959 * src/hildon-pannable-area.c:
7960 (get_ordered_children): Removed this function.
7961 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
7962 the children windows function with gdk_window_get_children.
7964 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7966 * src/hildon-pannable-area.c:
7967 (hildon_pannable_area_dispose): Fixed a crash when closing the
7968 window and kinetics is activated.
7970 2008-05-19 Alberto Garcia <agarcia@igalia.com>
7972 * src/hildon-pannable-area.h
7973 * src/hildon-pannable-area.c
7974 Changed indentation style to meet the one used in Hildon
7976 2008-05-19 Alejandro G. Castro <alex@igalia.com>
7978 Reviewed the interaction of the AUTO mode, now we use the time
7979 attribute of the events and calculate the velocity in the motion,
7980 doing a gimp like calculation. The velocity is calculated in each
7981 motion event using the last velocity and the current one, the
7982 SMOOTH_FACTOR controls the percentage of the new velocity we use.
7984 * src/hildon-pannable-area.c: Replaced the time based algorithm
7986 (hildon_pannable_area_motion_notify_cb): now we do not launch the
7987 timeout for the AUTO mode when we are still moving the cursor. We
7988 added also the velocity calculation in this function.
7989 (hildon_pannable_area_button_release_cb): launch the timeout in
7990 case we are in AUTO mode. There are still some constants here that
7991 come from the old implementation that should be reviewed and
7994 2008-05-15 Alberto Garcia <agarcia@igalia.com>
7996 * doc/hildon-docs.sgml
7999 * src/hildon-stackable-window.c
8000 * src/hildon-stackable-window.h
8002 New HildonStackableWindow widget
8004 * examples/hildon-dialog-example.c
8005 * examples/hildon-pannable-area-example.c
8008 2008-05-14 Alberto Garcia <agarcia@igalia.com>
8010 * src/hildon-dialog.c
8011 (hildon_dialog_new_with_buttons): New constructor.
8013 * examples/hildon-dialog-example.c
8014 (main): Update the example to use the new
8015 hildon_dialog_new_with_buttons().
8017 * examples/hildon-pannable-area-example.c
8018 (main): Update example.
8020 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8022 * doc/hildon-docs.sgml
8024 Added HildonPannableArea to the documentation.
8026 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8028 * doc/visual_index.xml
8029 Fix reference to HildonLoginDialog in documentation
8031 * doc/hildon-docs.sgml
8033 * examples/Makefile.am
8034 * examples/hildon-dialog-example.c
8036 * src/hildon-dialog.c
8037 * src/hildon-dialog.h
8039 New HildonDialog widget.
8041 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8043 * src/hildon-pannable-area.c
8044 Merge latest changes (r4318, r4342) from libmokoui trunk
8046 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8048 * examples/Makefile.am
8049 * examples/hildon-pannable-area-example.c
8051 * src/hildon-pannable-area.c
8052 * src/hildon-pannable-area.h
8054 New HildonPannableArea widget.
8056 2008-04-15 18:05:19 <timj@imendio.com>
8058 * src/hildon-banner.c: revert the recent change, that introduced
8059 gtk_window_present() calls. this reopens:
8060 Bug 78481 - [freetest] information banners are hidden under browser menu
8061 But resolves another variant of:
8062 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8064 2008-04-15 13:21:13 <timj@imendio.com>
8066 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8067 recreated its layout, spotted by Kris. this fixes all remaining
8068 artefacts and stability issues with the banner code. in particular:
8069 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8071 2008-04-14 16:52:59 <timj@imendio.com>
8073 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8074 operating on unrealized widgets, fixes:
8075 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8077 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8079 2008-04-09 Kristian Rietveld <kris@imendio.com>
8081 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8082 makes banner disappear.
8083 Fixes: NB#79182: info banner flickering with certain message lengts.
8085 * src/hildon-banner.c (hildon_banner_constructor),
8086 (hildon_banner_init), (hildon_banner_set_text),
8087 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8088 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8089 FALSE, reset size requests of label and banner,
8090 (force_to_wrap_truncated): when the text is too wide, always enforce
8091 the maximum possible width instead of recalculating it from the
8092 layout; enforce the maximum banner height of 3 lines,
8093 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8094 nicer wrapping and no truncated chars if space gets tight.
8096 * src/hildon-banner-private.h: add has_been_wrapped and
8097 has_been_truncated fields.
8099 2008-04-07 Sven Herzberg <sven@imendio.com>
8101 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8102 local values in hildon_date_editor_size_allocate
8104 * src/hildon-date-editor.c: moved the real allocation code into the
8107 2008-04-07 Sven Herzberg <sven@imendio.com>
8109 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8110 local values in hildon_date_editor_size_allocate
8112 * src/hildon-date-editor.c: merged the two if() branches together
8114 2008-04-07 Sven Herzberg <sven@imendio.com>
8116 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8117 local values in hildon_date_editor_size_allocate
8119 * src/hildon-date-editor.c: changed the arguments of the if()
8122 2008-04-07 Sven Herzberg <sven@imendio.com>
8124 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8125 local values in hildon_date_editor_size_allocate
8127 * src/hildon-date-editor.c: split the calculation of the allocation
8128 from the real allocation
8130 2008-03-27 Michael Natterer <mitch@imendio.com>
8132 Fixes: NB#81696: The passcode is not overwritten even after
8135 * src/hildon-code-dialog.c
8136 (hildon_code_dialog_button_clicked)
8137 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8138 because that doesn't overwrite selected text. Instead, emit the
8139 "commit" signal on the entry's im_context so the entry's normal
8140 insert logic is triggered. Set the cursor to the end of the entry
8141 after each insert operation so that we *only* insert in the middle
8142 of the text if something was selected.
8144 2008-03-27 Michael Natterer <mitch@imendio.com>
8146 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8147 selector cannot be opened
8149 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8150 when the popup color selector is created. Please connect to this
8151 signal in order to set the dialog's help ID.
8153 2008-03-25 Sven Herzberg <sven@imendio.com>
8155 Fixes: MB#1212: Hide info banners (infoprints) on click
8157 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8158 extracted the close event simulation into an extra function
8159 (hildon_banner_button_press_event): simulate a close event and destroy
8160 the widget if the event wasn't handled
8161 (hildon_banner_class_init): added the button_press_event handler
8162 (hildon_banner_init): added button-press events to the widget
8164 2008-03-25 Sven Herzberg <sven@imendio.com>
8166 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8167 Patch from: Mohammad Anwari <mdamt@maemo.org>
8169 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8170 instead of the right in RTL mode
8171 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8172 breadcrumb button list in RTL mode
8173 * src/hildon-caption.c: mirror the appearance of the caption widget in
8175 * src/hildon-date-editor.c: mirror appearance of the date editor in
8177 * src/hildon-time-editor.c: mirror appearance of the time editor in
8179 * src/hildon-window.c: fix the position of the popup in RTL mode
8181 2008-03-25 Sven Herzberg <sven@imendio.com>
8183 Amendment to the fix of NB#22072. Fix compilation.
8185 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8187 2008-03-19 Sven Herzberg <sven@imendio.com>
8189 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8192 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8193 timeout id properly when the timeout will disappear this leaves no
8194 artifacts around in the destroy(); there will only be the timeout
8195 created by hildon_banner_ensure_timeout() and adding a new timeout
8196 will also work if the timeout gets removed because the timeout_handler
8199 2008-03-19 Michael Natterer <mitch@imendio.com>
8201 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8203 * src/hildon-volumebar.c
8204 * src/hildon-vvolumebar.c
8205 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8206 the widget becomes focussable at all.
8208 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8209 set the focus to wither the mute button or the volumebar.
8211 Remove own "can-focus" property and instead listen to
8212 notify::can-focus in order to update the widget's state.
8214 Implement GtkWidget::focus() and make sure we can also *leave* the
8215 widget, not only enter it, depending on volumebar orientation and
8216 requested focus direction.
8218 Clean up set_mute() to cooperate nicely with all the above.
8220 2008-03-04 Michael Natterer <mitch@imendio.com>
8222 Fixes: NB#78481: information banners are hidden under browser menu
8224 * src/hildon-banner.c: call gtk_window_present() on the banners so
8225 they are risen if they are already visible.
8227 2008-03-03 Sven Herzberg <sven@imendio.com>
8229 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8231 * examples/hildon-window-menu-example.c: (main): extended the window
8232 menu example to serve as a testcase for automatically added
8233 accelerator groups, too
8234 * src/hildon-window.c: (hildon_window_add_accel_group),
8235 (hildon_window_set_menu): added patch by Tommi Komulainen
8237 2008-03-03 Sven Herzberg <sven@imendio.com>
8239 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8241 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8242 knowledge about the border allocators used within GTK+
8244 2008-02-26 Sven Herzberg <sven@imendio.com>
8246 Fixes: MB#2981: Build with asserts broken
8248 * src/hildon-date-editor.c,
8249 * src/hildon-number-editor.c,
8250 * src/hildon-time-editor.c,
8251 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8252 the proper GType instance check
8254 2008-02-25 Sven Herzberg <sven@imendio.com>
8256 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8258 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8259 * examples/hildon-window-menu-example.c: (main): explicitly show
8261 * src/hildon-window.c:
8262 (hildon_window_set_main_menu): moved most of the code from set_menu()
8263 to this place; skipped the call to gtk_widget_show_all(); also didn't
8264 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8265 (hildon_window_set_menu): removed most of the code, just keep the
8266 questionable gtk_widget_show_all()
8267 * src/hildon-window.h: added the new function and deprecate the old
8270 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8276 * debian/changelog: Updating.
8278 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8281 * pkgconfig/Makefile.am:
8282 * pkgconfig/hildon.pc.in:
8285 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8286 use newly created API_MAJOR_VERSION.
8288 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8294 * debian/changelog: Updating.
8296 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8298 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8300 Add outer_border style property, we use it but don't define it (!).
8304 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8306 * examples/hildon-bread-crumb-trail-example.c (main):
8310 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8312 Fix logic for the bread crumb trail node removal.
8316 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8322 * debian/changelog: Updating.
8324 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8326 Patch by Alejandro to get/set passwords dialogs accesibility.
8328 * hildon-1/src/hildon-get-password-dialog.c:
8329 * hildon-1/src/hildon-set-password-dialog.c:
8330 Set atk_set_name to the passwd entries in order to allow
8331 accessibility by name on this entries.
8333 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8338 * debian/control: Updating gtk dep.
8340 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8342 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8343 USE_MAEMO_GTK is enabled.
8345 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8347 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8348 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8350 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8356 * debian/changelog: Updating.
8358 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8360 * examples/Makefile.am:
8361 * examples/hildon-logical-color-example.c:
8362 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8363 applied + adding a test case. Fixes: NB#71660.
8365 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8367 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8368 to be visible, fixes warning on map for windows without toolbars.
8370 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8372 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8373 2.11.0, add a check for that besides the MAEMO_GTK check.
8375 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8381 * debian/changelog: Updating.
8383 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8385 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8386 visibility. Fixes: NB#70842 and MB#615.
8388 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8390 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8391 set the separator as no-show-all so it doesn't unintentionally appear when
8392 someone does a show_all.
8394 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8396 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8397 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8398 toplevel item. Fixes: NB#62031
8400 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8402 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8403 fix the name of the function in the docs.
8405 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8411 * debian/changelog: Updating.
8413 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8415 * examples/hildon-banner-long-example.c: Adding a test-case for long
8418 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8420 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8422 * src/hildon-color-chooser-dialog.c:
8423 * src/hildon-color-chooser.c:
8424 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8425 memory leaks in font selector and color selector. Fixes: NB#70499 and
8428 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8430 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8432 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8434 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8435 little bit bigger. Fixes: #NB63694.
8437 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8443 * debian/changelog: Updating.
8445 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8448 * doc/hildon-docs.sgml:
8449 * doc/images/bread-crumb-trail.png:
8450 * doc/images/calendar-popup.png:
8451 * doc/images/caption.png:
8452 * doc/images/code-dialog.png:
8453 * doc/images/color-button.png:
8454 * doc/images/color-chooser-dialog.png:
8455 * doc/images/color-chooser.png:
8456 * doc/images/controlbar.png:
8457 * doc/images/date-editor.png:
8458 * doc/images/font-selection-dialog.png:
8459 * doc/images/get-password-dialog.png:
8460 * doc/images/hvolumebar.png:
8461 * doc/images/login-dialog.png:
8462 * doc/images/note.png:
8463 * doc/images/number-editor.png:
8464 * doc/images/range-editor.png:
8465 * doc/images/seekbar.png:
8466 * doc/images/set-password-dialog.png:
8467 * doc/images/sort-dialog.png:
8468 * doc/images/time-editor.png:
8469 * doc/images/time-picker.png:
8470 * doc/images/vvolumebar.png:
8471 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8472 Adding the bread-crumb-trial and helpers to the documentation.
8474 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8476 * examples/hildon-find-toolbar-example.c:
8477 * src/hildon-find-toolbar.c:
8478 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8479 actually continue firing the other handlers if connected. Adding a new
8481 hildon_find_toolbar_get_last_index that gets the index of the most
8482 recently added (last) item. Fixes: NB#52301.
8484 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8486 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8487 behaviour. Fixes: NB#68610.
8489 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8491 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8494 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8496 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8497 when realizing the banner. Should make the infonbanner effect a bit more
8500 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8502 * src/hildon-volumebar.c:
8503 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8504 hildon_volumebar_set_range_insensitive_message and
8505 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8507 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8509 * src/hildon-window.c: Fixing the border freeing on destroy.
8511 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8513 * src/hildon-code-dialog-private.h:
8514 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8515 kw keyboard support in HildonCodeDialog.
8517 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8523 * debian/changelog: Updating.
8525 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8527 * src/hildon-date-editor.c:
8528 * src/hildon-number-editor.c:
8529 * src/hildon-private.c:
8530 * src/hildon-private.h:
8531 * src/hildon-time-editor.c:
8532 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8533 handling in subclassed composite widgets. Fixes: NB#66628.
8535 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8537 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8538 from destroy_ callback as it introduces problems in async dbus signal
8539 handlers. Fixes NB#66673.
8541 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8543 * examples/hildon-hvolumebar-example.c:
8544 * src/hildon-volumebar.c: Improving the focus handling in the
8545 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8546 set_property accessor so that "mute" property can be actually set. I'm
8547 scared that nobody noticed it's totally broken.
8549 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8551 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8554 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8556 * src/hildon-calendar.c:
8557 * src/hildon-number-editor.c:
8558 * src/hildon-time-picker.c: Changing the timeout repeat so that it
8559 matches the spec of 6 chars per second. Fixes: NB#60489.
8561 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8563 * src/hildon-helper.c: Really fixing NB#58352. Looks like
8564 gtk_style_lookup_color sometime returns FALSE even though color was
8565 found and values were filled properly. Weird. Removing the warning for the
8568 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8570 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8571 expand vertically. Adding some extra space to the find toolbar buttons to
8572 make them thumbable. Fixes NB#66060.
8574 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8576 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8577 popup with "Ok" and "Cancel". Fixes NB#59299.
8579 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8581 * src/hildon-calendar.c: Process all window updates before executing next
8582 timeout. Fixes: NB#54146.
8584 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8590 * debian/changelog: Updating.
8592 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8594 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8595 the client event and ignore it, since we use the delete event to close
8598 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8600 * src/hildon-helper.c: Remove the bogus warning about color not being
8601 found. Fixes NB#58352.
8603 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8605 * examples/Makefile.am:
8606 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8607 HildonSeekbar widget inside a toolbar.
8609 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8611 * src/hildon-banner.c (hildon_banner_init): mark the banners as
8612 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8613 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8614 don't want to be closed by non-temporary windows on map.
8616 Also use G_DEFINE_TYPE instead of manually typed code.
8618 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8625 * debian/rules: Updating.
8627 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8629 * examples/Makefile.am:
8630 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8631 bug NB#61128. Strangely it works.
8633 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8635 * src/hildon-date-editor.c: When the date editor entry has been changed
8636 but the numbers of characters < max, turn off the skip validation flag.
8637 Prevents a situation when we enter first a valid year and later re-write
8638 it with an invalid one. Fixes NB#60154.
8640 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8642 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
8643 code dialog. Fixes NB#64355.
8645 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8647 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
8648 switching the page. Fixes NB#49374.
8650 * examples/Makefile.am:
8651 * examples/hildon-wizard-dialog-example.c: Adding an example for
8652 HildonWizardDialog that shows how to handle manual sensitivity setting on
8655 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8659 * src/hildon-version.h.in:
8660 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
8662 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8664 * src/hildon-volumebar.c: Updating the docs.
8666 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8672 * debian/changelog: Updating.
8674 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8676 * src/hildon-find-toolbar.c:
8677 * src/hildon-find-toolbar.h: Adding a few new functions to control the
8678 selected item: hildon_find_toolbar_set_active,
8679 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
8680 hildon_find_toolbar_get_active_iter . They correspond to respective
8681 GtkComboBox functions.
8683 * examples/Makefile.am:
8684 * examples/hildon-find-toolbar-example.c: Adding the example to test the
8687 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8689 * examples/Makefile.am:
8690 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
8693 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
8694 when font size > 32 and we pack a focusable widget inside. Actually using
8695 the default response would work too, but since we don't show default
8696 response state in any way (no theming) it would not be visible to the
8697 user. Fixes NB#63430.
8699 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8701 * src/hildon-date-editor.c: Adding the missing variable setter in the
8702 set_property handler. Fixes NB#54182.
8704 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8706 * src/hildon-window.h: Changing the long key press time from 1500ms to
8707 800ms as requested in NB#63700. I have a bad feeling about this, let's
8708 see... Fixes NB#63700.
8710 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
8712 * src/hildon-time-picker.c (hildon_time_picker_class_init,
8713 hildon_time_picker_map, hildon_time_picker_realize,
8714 hildon_time_picker_style_set): Split the contents of map to more
8715 appropriate functions; set window decorations on realize and update
8716 arrows' size requisitions on style-set. Avoids unnecessary resizing.
8718 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
8723 * debian/changelog: Updating.
8725 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
8727 * src/Makefile.am: fixed installation of the header files
8729 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8735 * debian/changelog: Updating.
8737 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8739 * configure.ac: Removing some remaining of --enable-xan.
8741 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
8743 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
8744 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
8746 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
8747 2.10.12-osso6 because the move-focus signal needs to be available in
8750 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8752 * examples/Makefile.am:
8753 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
8754 that makes a HildonVolumebar insensitive before mapping it. Seems to work
8755 fine. Prolly NB#61128 is fixed now.
8757 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8759 * src/hildon-volumebar.c:
8760 * src/hildon-volumebar.h: Adding the
8761 hildon_volumebar_set_range_insensitive_message and
8762 hildon_volumebar_set_range_insensitive_messagef functions to set
8763 insensitive message on the slider of the volumebar. Fixes NB#61129.
8765 * examples/Makefile.am:
8766 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
8767 test the new insensitive messsage functionality on HildonVolumebar.
8769 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
8771 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
8774 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
8776 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
8777 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
8778 button on after clearing the trail.
8780 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8782 * src/hildon-code-dialog.c: Removing the separator from the dialog.
8784 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8786 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
8787 by splitting the installed headers in generated and non-generated groups. Use
8788 only the non-generated headers to create the hildon-enum-types.h file.
8790 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
8792 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8794 * src/hildon-window.c: Hide the window before performing the destroy.
8795 Should make the app closing a little tiny bit more snappy.
8797 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8799 * src/hildon-seekbar.c: add gtkrange.h header
8800 * src/hildon-caption.c: remove unused variable
8802 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
8804 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
8807 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8813 * debian/changelog: Updating.
8815 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
8817 * src/hildon-window.c (hildon_window_window_state_event,
8818 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
8819 escape timeout on focus-out-event rather than notify::is-topmost; the
8820 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
8822 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8824 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
8825 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
8827 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8829 * src/hildon-window: actually, you need to use the macro always, there's
8830 no private pointer in the instance structure. We should have cleaned this up
8831 when we had the chance...
8833 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8835 * src/hildon-window.c: do not get the private date from HildonWindow before
8836 it passes the g_return_if_fail check. Once it's passed the test, there's no
8837 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
8838 if you are only going to access the data once. Whitespace cleanups.
8840 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
8842 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8843 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8845 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8851 * debian/changelog: Updating.
8853 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8855 * src/hildon-window.c: When destroying the window, remove (if exists) the
8856 escape timeout handler. Fixes #NB59276.
8858 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8860 * src/hildon-banner.c: When realizing the widget, set the window
8861 transiency. Setting the transiency in the gobject constructor is not
8862 good, as the widget is not realized at that point. Fixes: #NB56624.
8864 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8866 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
8867 Add padding for future expansions.
8869 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8871 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
8872 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
8873 will fake an activation on the previous to the last item of the trail, so
8874 the effect can be overrided by the developer as usual.
8875 Also change the callback for the back button to do the same thing, so its
8876 effect can be overrided too. Fixes: NB#58982
8878 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8880 * src/hildon-caption.c: Implementing the proper focus grabbing in the
8881 HildonCaption. Fixes NB#52379.
8883 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8885 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
8886 the internal state of the trail after the user has had the chance of executing
8887 his handler for the signal. Specifically, it may happen that the activated button
8888 is removed and the user still lets the default handler run. This would segfault
8891 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8893 * src/hildon-font-selection-dialog.c: When the font is really big, add the
8894 scrollbar to the preview dialog. Fixes NB#54147.
8896 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8898 * src/hildon-date-editor.c: Changing the default max year to 2037. The
8899 max/min year properties can be altered, so the client can modify it
8900 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
8902 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8904 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
8905 hildonlike by default. Fixing a problem with disappearing arrows when
8906 scrolling through months and years. Fixes NB#54127.
8908 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8910 * examples/hildon-date-editor-example.c: Adding error callback to the date
8913 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8919 * configure.ac: Updating.
8921 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8923 * configure.ac: Adding a special '--enable-xan' configure option that
8924 turns off the -Werror compilation setting. Usefull for development.
8926 * src/hildon-calendar.c:
8927 * src/hildon-number-editor.c:
8928 * src/hildon-time-picker.c: Adding the 5* multiplier to
8931 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
8933 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
8934 instead of g_object_ref + gtk_object_sink.
8936 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8942 * debian/changelog: Updating.
8944 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8946 * src/hildon-color-chooser-dialog.c:
8947 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
8948 straight from Tommi labs.
8950 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8952 * examples/hildon-finger-example.c: Correcting the header file path.
8954 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
8955 the changed signal. Fixes a small memory leak.
8957 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8961 * src/hildon-banner.c: Importing several usefull fixes from the
8962 ubuntu-mobile branch.
8964 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8966 * examples/Makefile.am:
8967 * examples/hildon-finger-example.c: Adding a finger-checking code
8970 * src/hildon-font-selection-dialog.c: Do not allocate the color
8971 structure using the g_new. Fixes NB#54061.
8973 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8975 * src/hildon-helper.c: Correcting tabs in file.
8977 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
8979 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
8980 control the visibility of the children.
8982 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
8984 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8990 * debian/changelog: Updating.
8992 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8994 * src/hildon-bread-crumb-trail.c:
8995 (hildon_bread_crumb_trail_size_allocate):
8997 Make the back button always a square.
8999 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9001 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
9002 from the .c file as it's a private file.
9004 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9006 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
9007 uses slightly bigger height.
9009 * src/hildon-font-selection-dialog.c: Adding some checks before
9010 freeing memory in the font selection dialog.
9012 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9014 * src/hildon-font-selection-dialog.c: Adding a small check when
9017 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9018 buttons sensitivity on page switching.
9020 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
9022 * src/hildon-bread-crumb-trail.c: make the add method handle all the
9023 internal details of adding a bread crumb to the trail.
9025 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9031 * debian/changelog: Updating.
9033 * src/hildon-bread-crumb-trail.h:
9034 * src/hildon-bread-crumb.h: Changing the API guard to
9035 HILDON_ENABLE_UNSTABLE_API.
9037 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9045 * src/hildon-helper.h: Updating.
9047 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9055 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9059 * src/hildon-helper.h: Small fix to make the package actually compile.
9061 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9063 * src/hildon-bread-crumb-trail.h:
9064 * src/hildon-bread-crumb.h:
9066 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9067 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9069 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9071 * examples/hildon-bread-crumb-trail-example.c:
9073 * src/hildon-bread-crumb-trail.c:
9074 * src/hildon-bread-crumb-trail.h:
9075 * src/hildon-bread-crumb.c:
9076 * src/hildon-bread-crumb.h:
9077 * src/hildon-marshalers.list:
9078 * src/hildon-bread-crumb-widget.c:
9079 * src/hildon-bread-crumb-widget.h:
9081 Slight change in the widget design. The bread crumb trail API is
9082 unchanged, but HildonBreadCrumb is now an interface. A *private*
9083 implementation, hildon-bread-crumb-widget, is provided and used
9084 internally by the trail for the push_text/push_icon functions.
9086 The generic push API is still available, so anyone can implement
9087 and use its own bread crumb widget.
9089 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9091 * debian/rules: Fixing the shlibs.
9093 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9095 * src/hildon-banner.c: Fixing a problem with timed banners having
9096 their parrent destroyed before they are.
9098 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9100 * src/hildon-bread-crumb.c:
9101 * src/hildon-bread-crumb.h:
9103 Make the get_natural_size function a vfunc.
9105 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9107 * src/hildon-bread-crumb.c:
9108 * src/hildon-bread-crumb-trail.c:
9112 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9119 * debian/changelog: Updating for release.
9121 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9123 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9124 don't leak the pango layout.
9126 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9129 * examples/hildon-bread-crumb-trail-example.c:
9133 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9135 * debian/changelog: Removing the bug-fixed entries that were actually
9136 resolved as WONTFIX.
9138 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9141 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9143 * src/hildon-bread-crumb-trail.c:
9144 * src/hildon-bread-crumb-trail.h:
9145 * src/hildon-bread-crumb.c:
9146 * src/hildon-bread-crumb.h:
9150 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9152 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9153 until it's passed the type check.
9155 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9157 * examples/hildon-bread-crumb-trail-example.c
9161 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9163 * examples/Makefile.am
9164 * examples/hildon-bread-crumb-trail-example.c
9166 * src/hildon-bread-crumb-trail.c
9167 * src/hildon-bread-crumb-trail.h
9168 * src/hildon-bread-crumb.c
9169 * src/hildon-bread-crumb.h
9171 New HildonBreadCrumbTrail widget.
9173 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9175 * src/hildon-range-editor.c (hildon_range_editor_init),
9176 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9177 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9178 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9179 hildon_time_editor_class_init, hildon_time_editor_init),
9180 src/hildon-get-password-dialog.c (invalid_input,
9181 hildon_get_password_set_property, hildon_get_password_get_property,
9182 create_contents, hildon_get_password_dialog_set_max_characters),
9183 src/hildon-set-password-dialog.c (create_contents),
9184 src/hildon-date-editor.c (hildon_date_editor_init),
9185 src/hildon-login-dialog.c (hildon_login_dialog_init),
9186 src/hildon-number-editor.c (hildon_number_editor_init),
9187 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9188 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9189 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9190 configure option and adding the respective checks in the code.
9191 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9192 hildon_calendar_drag_data_received): fixed some build warnings.
9194 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9196 * debian/changelog: A 1.0.0 release notes.