1 2009-06-29 Adam Endrodi <adam.endrodi@blumsoft.eu>
3 * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
6 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
8 * tests/check-hildon-banner.c
11 Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
12 were testing deprecated functions.
13 * examples/hildon-banner-example.c: typo on button3 type, that causes
14 a fail compiling with --with-examples but without --disable-deprecated
16 Missed commit in order to fix compilation using '--enable-fatal' and
17 '--disable-deprecated' (see previous commit)
19 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
21 * examples/hildon-banner-example.c: Protect deprecated hildon-banner
22 functions with #ifndef HILDON_DISABLE_DEPRECATED
23 * examples/hildon-find-toolbar.c: Protect deprecated
24 HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
25 * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
26 in favor of HILDON_ICON_PIXEL_SIZE_FINGER
27 * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
29 * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
30 to allow proper compilation of deprecated functions defined on the header
32 Fixed compilation using '--enable-fatal' and '--disable-deprecated'
34 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
36 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
37 Cache the panning indicator color.,
38 (hildon_pannable_area_style_set): Query the color on style changes.
39 (hildon_pannable_draw_vscroll),
40 (hildon_pannable_draw_hscroll),
41 (hildon_pannable_area_expose_event): Use the cached panning indicator
42 color instead of looking it up on every expose and more.
44 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
46 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
47 (hildon_pannable_draw_hscroll),
48 (hildon_pannable_area_expose_event): Fix the panning indicator color,
49 so that it's "SecondaryTextColor", as desired.
51 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
53 * hildon/hildon-picker-dialog.c:
54 (selection_completed): take into account HILDON_UI_MODE_NORMAL
55 * hildon/hildon-touch-selector.c
56 (hildon_touch_selector_init): Initialize hildon-ui-mode
57 (hildon_touch_selector_row_activated): new callback for the
58 "row-activated" signal, in order to save the last activated
59 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
60 if the current hildon-ui-mode is coherent with the touch selector
61 (hildon_touch_selector_class_init)
62 (hildon_touch_selector_get_property)
63 (hildon_touch_selector_set_property)
64 Added "hildon-ui-mode" property
65 (disconnect_model_handlers): renamed to clean_column
66 (hildon_touch_selector_remove): use clean_column function
67 (_create_new_column): use the hildon-ui-mode to create the treeview, and
68 only select the first element on HILDON_UI_MODE_EDIT
69 (hildon_touch_selector_column_init): Initialize last_activate
70 (hildon_touch_selector_append_column): check that the touch selector
71 is coherent with the current hildon-ui-mode
72 (hildon_touch_selector_get_hildon_ui_mode)
73 (hildon_touch_selector_set_hildon_ui_mode)
74 Added a getter/setter for the hildon-ui-mode property
75 (hildon_touch_selector_get_last_activated_row): Added this method in
76 order to get the last activated row.
77 * examples/hildon-touch-selector-normal-mode-example.c
78 New example, that shows how to use the HildonTouchSelector in
81 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
82 Kristian Rietveld <kris@lanedo.com> advices
84 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
86 * hildon/hildon-time-selector.c: (update_format_policy): Do
87 not call update_format_dependant_columns() if not necessary.
88 (update_format_dependant_columns): Remove unnecessary check for
89 the number of columns.
91 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
93 * hildon/hildon-note.c (+hildon_note_constructor),
94 (hildon_note_class_init), (+hildon_note_set_padding),
95 (hildon_note_rebuild): Install a constructor where to set the
96 padding properties in the note, so that it actually works fine.
97 Use hildon_note_set_padding() for this, and also to set it during
100 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
102 * configure.ac: Bump GTK+ requirement to 2.14.3.
103 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
104 when using maemo-gtk to define proper margins for the notes.
106 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
107 with the dialog edge)
109 2009-06-24 Alberto Garcia <agarcia@igalia.com>
111 * hildon/hildon-banner.c
112 (hildon_banner_class_init):
114 (+hildon_banner_size_request):
115 Request always the full width of the screen.
116 (hildon_banner_realize)
117 (-hildon_banner_check_position, hildon_banner_map):
118 hildon_banner_check_position() is not needed in Hildon 2.2.
119 (-hildon_banner_reset_wrap_state)
120 (hildon_banner_constructor, hildon_banner_init):
121 Remove unnecessary calls to hildon_banner_reset_wrap_state()
122 (+banner_do_set_text)
123 (force_to_wrap_truncated):
124 Remove has_been_wrapped and has_been_truncated attributes.
125 (+reshow_banner, hildon_banner_real_show_information)
126 (hildon_banner_show_information_with_markup)
127 (hildon_banner_show_animation, hildon_banner_show_progress)
128 (hildon_banner_set_text, hildon_banner_set_markup):
129 Refactor code. Shrink banner vertically to use the minimum space
130 necessary everytime the text of the label is updated.
131 (screen_size_changed):
132 Call force_to_wrap_truncated() when the size of the screen
135 Fixes: NB#120500 (only device memory connect mmc in use info
136 banner is left aligned)
138 Fixes: NB#120613 (Size of HildonBanner varies depending on
139 previously opened banners)
141 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
143 * hildon/hildon-color-chooser.c
144 (hildon_color_chooser_pointer_motion): Take the widget allocation
147 Fixes: NB#124385 (Unable to select exact point in color mixing box
148 in color palette dialog)
150 2009-06-23 Alejandro G. Castro <alex@igalia.com>
152 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
153 (hildon_pannable_area_dispose)
154 (hildon_pannable_area_button_press_cb)
155 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
156 (hildon_pannable_area_button_release_cb)
157 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
158 New 'panning-started' and 'panning-finished' signals.
160 Fixes: NB#121732 (New feature request: Signal to pannable area
161 that informs when panning is stopped.)
163 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
165 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
166 instead of hardcoded colon.
168 Fixes: NB#124090 (New calendar wizard title is not using
169 ecdg_ti_caption_separator)
171 2009-06-22 David King <davidk@openismus.com>
173 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
174 constants and functions, as well as correct many typos throughout the
177 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
180 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
182 * configure.ac: postrelease version bump.
183 * debian/changelog: post release version bump
185 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
190 * configure.ac: Bump version.
191 * debian/changelog: Updates.
193 2009-06-18 Alberto Garcia <agarcia@igalia.com>
195 * hildon/hildon-window-stack.c
196 (hildon_window_stack_pop_and_push_list):
197 Prevent windows from having the same stack index
199 2009-06-18 Alberto Garcia <agarcia@igalia.com>
201 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
202 Use the index of the previous window rather than the stack length
203 to calculate the new index.
207 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
209 * hildon/hildon-date-selector.c
210 (hildon_date_selector_select_current_date)
211 (hildon_date_selector_get_date)
212 (hildon_date_selector_select_day):
213 Update the documentation: uses always the range (1-31), as it is obvious
214 that the final one will depend on the month and the year, but globally
215 the range is this, in a similar GtkCalendar approach
216 (hildon_date_selector_get_date):
217 Update the documentation: add NULL as a valid value for the day, month
220 Fix some details, after talk with David King on bug MB#4698
222 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
224 * hildon/hildon-touch-selector-entry.c
225 * hildon/hildon-touch-selector.c
226 Update the documentation of the "text-column" property
228 2009-06-18 David King <davidk@openismus.com>
230 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
231 several typos and errors throughout the documentation.
233 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
236 2009-06-18 Alberto Garcia <agarcia@igalia.com>
238 * hildon/hildon-note.c (hildon_note_realize):
239 Make HildonNote support portrait mode.
241 Fixes: NB#123448 (HildonNote is not portrait-friendly)
243 2009-06-17 Alberto Garcia <agarcia@igalia.com>
245 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
246 Document this function
248 2009-06-17 David King <davidk@openismus.com>
250 * hildon/hildon-date-selector.c
251 (hildon_date_selector_select_current_date)
252 (hildon_date_selector_get_date): Update documentation regarding days,
253 as the day of the month is dependent on both the month and the year.
254 (hildon_date_selector_get_date): Fix documentation of output arguments.
256 Fixes: MB#4698 (DateSelector documentation has bad output argument
257 description, and the day depends on both the month and the year)
259 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
261 * hildon/hildon-caption.c: Other documentation fixes to
264 2009-06-17 David King <davidk@openismus.com>
266 * hildon/hildon-caption.c: Minor documentation updates for
267 HildonCaption. Fixes MB#4697.
269 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
271 * doc/hildon-docs.sgml: Add hildon-version section.
272 * doc/hildon-sections.txt:
273 * hildon/hildon-version.h.in: Document versioning macros and
276 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
278 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
279 from HildonPickerDialog section.
281 2009-06-16 Alberto Garcia <agarcia@igalia.com>
283 * hildon/hildon-banner.c (hildon_banner_bind_style)
284 (screen_size_changed, hildon_banner_init)
285 (hildon_banner_real_show_information)
286 (hildon_banner_show_information_with_markup)
287 (hildon_banner_show_animation, hildon_banner_show_progress):
288 Set a different widget name to banners in portrait mode, for them
289 to be themed correctly.
291 2009-06-16 Alberto Garcia <agarcia@igalia.com>
293 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
294 Set a different widget name to notes in portrait mode, for them to
297 Partially fixes: NB#118401 (HildonNote causes unnecessary
300 2009-06-16 Alberto Garcia <agarcia@igalia.com>
302 * hildon/hildon-note.c (hildon_note_class_init)
303 (+hildon_note_size_request, screen_size_changed):
304 Always request the full width of the screen.
306 Fixes: NB#118375 (unnecessary rescaling of images)
308 2009-06-16 Alejandro G. Castro <alex@igalia.com>
310 * hildon/hildon-pannable-area.c,
311 (hildon_pannable_area_init),
312 (hildon_pannable_area_realize): Replaced old code adding flags in
313 the object init, now we add it with the other flags in the realize
316 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
318 * hildon/hildon-note.c: (hildon_note_class_init): Several
319 documentation improvements to the HildonNote widget.
321 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
323 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
325 Fixes: MB#4556 (HildonNoteType is undocumented)
327 2009-06-15 Alberto Garcia <agarcia@igalia.com>
329 * hildon/hildon-picker-button.c:
330 Explain how HildonPickerButton sets the title of its dialog
332 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
333 the title of its dialog)
335 2009-06-15 Alberto Garcia <agarcia@igalia.com>
337 * hildon/hildon-check-button.c:
338 Documentation updates
340 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
343 2009-06-15 Alberto Garcia <agarcia@igalia.com>
346 * hildon/hildon-edit-toolbar-private.h
347 * hildon/hildon-edit-toolbar.c
348 (+hildon_edit_toolbar_set_progress_indicator)
349 (hildon_edit_toolbar_init): Add progress indicator to the
352 * hildon/hildon-gtk.c
353 (hildon_gtk_window_set_progress_indicator):
354 If the window contains a HildonEditToolbar, enable the progress
357 * hildon/hildon-private.h
358 * hildon/hildon-private.c
359 (+hildon_private_create_animation)
360 * hildon/hildon-banner.c
361 (-hildon_banner_create_animation):
362 Moved to hildon-private.c
364 Fixes: NB#102373 (Progress indicator also for the Edit mode
367 2009-06-15 Alberto Garcia <agarcia@igalia.com>
369 * hildon/hildon-app-menu-private.h
370 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
371 (hildon_app_menu_add_filter, +menu_item_button_event)
372 (hildon_app_menu_button_release, hildon_app_menu_init):
373 Make sure that buttons receive 'button-release-event' in spite of
374 the grab held by HildonAppMenu
376 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
378 2009-06-15 Alberto Garcia <agarcia@igalia.com>
380 * hildon/hildon-app-menu.c
381 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
382 New style property to set the size of the group of filter buttons.
384 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
386 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
391 * configure.ac: Bump version.
392 * debian/changelog: Updates.
394 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
396 * hildon/hildon-main.c: Minor documentation fixes.
398 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
400 * doc/hildon-sections.txt:
401 * hildon/hildon-defines.h: Document the defines, organize them,
402 and mark deprecations as such.
404 Fixes: MB#4463 (Hildon size #defines are undocumented)
406 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
408 * hildon/hildon-animation-actor.c:
409 * hildon/hildon-app-menu.c:
410 * hildon/hildon-button.c:
411 * hildon/hildon-date-editor.c:
412 * hildon/hildon-dialog.c:
413 * hildon/hildon-edit-toolbar.c:
414 * hildon/hildon-entry.c:
415 * hildon/hildon-program.c:
416 * hildon/hildon-remote-texture.c:
417 * hildon/hildon-stackable-window.c:
418 * hildon/hildon-text-view.c:
419 * hildon/hildon-touch-selector.c:
420 * hildon/hildon-window-stack.c:
421 * hildon/hildon-window.c:
423 Remove redundant "represents" wording from most of the documentation.
425 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
427 2009-06-12 Alberto Garcia <agarcia@igalia.com>
432 * hildon/hildon-banner-private.h
433 * hildon/hildon-banner.c:
434 Move HildonBannerPrivate to hildon-banner.c and remove
435 hildon-banner-private.h
436 Use a bit field to store private booleans.
438 2009-06-12 Alberto Garcia <agarcia@igalia.com>
440 * hildon/hildon-app-menu.c (hildon_app_menu_map):
441 Don't install a new idle function if there's already one
446 2009-06-11 Alberto Garcia <agarcia@igalia.com>
448 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
449 (+legacy_menu_realized, +legacy_menu_unmapped)
450 (+set_legacy_menu_type):
451 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
452 they can be identified by the window manager.
454 Fixes: NB#101437 (Invoking CSM on the left side of page area is
455 displayed in wrong location)
457 Fixes: MB#4563 (Popup menu won't locate at the left side of the
460 2009-06-11 Alberto Garcia <agarcia@igalia.com>
462 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
464 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
467 2009-06-11 Alberto Garcia <agarcia@igalia.com>
469 * hildon/hildon-code-dialog.c
470 * hildon/hildon-date-editor.c
471 * hildon/hildon-number-editor.c
472 * hildon/hildon-seekbar.c
473 * hildon/hildon-stackable-window.c
474 * hildon/hildon-window.c:
475 Misc documentation updates
477 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
479 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
480 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
482 Fixes: NB#117931 (Theming issues in accounts dialogs)
484 2009-06-09 Alejandro G. Castro <alex@igalia.com>
486 * hildon/hildon-pannable-area.c,
487 (hildon_pannable_area_button_release_cb): Changed the coordinates
488 of the original release in case we want to discard the release,
489 some widgets in Fremantle do not handle the leave-notify.
491 2009-06-09 Alejandro G. Castro <alex@igalia.com>
493 * hildon/hildon-pannable-area.c,
494 (hildon_pannable_area_button_release_cb): Reviewed the logic of
495 the release using the last refactored functions and avoiding the
496 movement if an element was selected.
498 2009-06-09 Alejandro G. Castro <alex@igalia.com>
500 * hildon/hildon-pannable-area.c,
501 (hildon_pannable_area_check_move),
502 (hildon_pannable_area_handle_move),
503 (hildon_pannable_area_motion_notify_cb): Refactored the
504 motion_notify method using a couple of new functions.
506 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
508 * hildon/hildon-date-selector.c:
509 (hildon_date_selector_construct_ui):
510 * hildon/hildon-time-selector.c:
511 (hildon_time_selector_constructor):
512 * hildon/hildon-touch-selector-entry.c:
513 (hildon_touch_selector_entry_set_text_column),
514 (hildon_touch_selector_entry_get_text_column):
515 * hildon/hildon-touch-selector.c: (_default_print_func),
516 (hildon_touch_selector_new_text): Use
517 hildon_touch_selector_set/get_text_column() instead of
518 setting/getting the "text-column" property.
520 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
522 * doc/hildon-sections.txt: Add the new public methods below.
524 * examples/hildon-picker-button-multicolumn-example.c:
525 (create_touch_selector):
526 * examples/hildon-touch-selector-example.c: (create_selector):
527 * examples/hildon-touch-selector-multi-cells-example.c:
529 Use hildon_touch_selector_column_set_text_column()
531 * hildon/hildon-touch-selector-column.h:
532 * hildon/hildon-touch-selector.c:
533 (hildon_touch_selector_column_set_text_column),
534 (hildon_touch_selector_column_get_text_column):
535 Make hildon_touch_selector_column_set/get_column() public, use
536 them in the inline example, document them, and reference to them
539 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
541 * hildon/hildon-time-selector.c: Fix the docs for
542 hildon_time_selector_new_step().
544 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
546 * hildon/hildon-touch-selector.c: Improve the documentation for
547 hildon_touch_selector_append_column().
549 Fixes MB#4641 (Documentation:
550 hildon_touch_selector_append_column() ref-counting)
552 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
554 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
555 Comment out test 5, since the hildon_controlbar_set_range() range
556 check is broken and fixing it would have side effects. Also,
557 this finally fixes make distcheck.
559 Fixes: NB#101420 (Update unit tests and fix make distcheck)
561 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
563 * tests/TEST-CASES.txt: Remove other bogus test.
564 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
565 Remove bogus test that was setting/retrieving a valid value.
567 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
569 * tests/TEST-CASES.txt: Remove bogus tests.
570 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
571 Remove three bogus tests that were actually setting valid colors.
573 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
575 * configure.ac: post release version bump
576 * debian/changelog: post release version bump
578 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
583 * configure.ac: Bump version.
584 * debian/changelog: Updates.
586 2009-06-08 Christian Dywan <christian@lanedo.com>
590 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
591 Correct errors in hildon_format_file-size_for_display and use
592 translations from the hildon-fm package instead of osso-filemanager.
594 2009-06-08 Alejandro G. Castro <alex@igalia.com>
596 * hildon/hildon-pannable-area.c,
597 (hildon_pannable_area_init): Initialized new values to handle the
599 (hildon_pannable_area_adjust_value_changed): Check if the values
600 changed before even call the redraw function.
601 (hildon_pannable_area_size_allocate),
602 (hildon_pannable_axis_scroll),
603 (hildon_pannable_area_scroll),
604 (hildon_pannable_area_jump_to): Improved the diagonal movement
607 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
610 2009-06-08 Alberto Garcia <agarcia@igalia.com>
612 * examples/hildon-banner-example.c:
613 Several style updates
614 (on_animation_clicked, on_animation_idle)
615 (on_progress_clicked, on_progress_idle):
616 Add additional reference for the cases when the parent window is
619 2009-06-08 Alberto Garcia <agarcia@igalia.com>
621 * doc/hildon-sections.txt
622 * hildon/hildon-pannable-area.c
623 * hildon/hildon-banner.h
624 * hildon/hildon-banner.c: Documentation updates.
626 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
629 2009-06-05 Alejandro G. Castro <alex@igalia.com>
631 * hildon/hildon-calendar-popup.h:
632 * hildon/hildon-caption.h:
633 * hildon/hildon-code-dialog.h:
634 * hildon/hildon-controlbar.h:
635 * hildon/hildon-date-editor.h:
636 * hildon/hildon-dialog.h:
637 * hildon/hildon-get-password-dialog.h:
638 * hildon/hildon-hvolumebar.h:
639 * hildon/hildon-login-dialog.h:
640 * hildon/hildon-note.h:
641 * hildon/hildon-number-editor.h:
642 * hildon/hildon-range-editor.h:
643 * hildon/hildon-seekbar.h:
644 * hildon/hildon-set-password-dialog.h:
645 * hildon/hildon-sort-dialog.h:
646 * hildon/hildon-time-editor.h:
647 * hildon/hildon-time-picker.h:
648 * hildon/hildon-volumebar-range.h:
649 * hildon/hildon-volumebar.h:
650 * hildon/hildon-vvolumebar.h:
651 * hildon/hildon-weekday-picker.h:
652 * hildon/hildon-window.h:
653 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
654 macros with the current replacements
656 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
658 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
660 * hildon/hildon-color-button.c (hildon_color_button_init): Use
661 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
662 itself, to make it fit better with Fremantle style.
664 Fixes: NB#109878 (height and width of focus on color icon is not
665 consistent with other item in the application tool bar)
667 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
669 * hildon/hildon-touch-selector.c:
670 (hildon_touch_selector_optimal_size_request): use the current requisition
671 as the base, in order to include any possible extra widget, like the
672 hildon entry on HildonTouchSelectorEntry
674 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
676 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
678 * configure.ac: post release version bump
679 * debian/changelog: post release version bump
681 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
686 * configure.ac: Bump version.
687 * debian/changelog: Updates.
689 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
691 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
693 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
694 to ensure the banner contents are centered, instead of relying on
695 the expand and fill properties in GtkHBox.
696 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
698 Fixes: NB#108265 (Animation banner not properly centered)
700 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
702 * hildon/hildon-pannable-area.c
703 (hildon_pannable_area_initial_effect): Remove the initial_effect
704 management, check initial_hint
705 (hildon_pannable_are_expose_event): Remove the initial_hint management,
706 set initial_effect to FALSE
707 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
708 by launching the fade_timeout if the scrollbars state has changed and are
710 * examples/hildon-pannable-area-initial-hint-example.c
711 Modified to allow to remove rows too. Add and remove rows one by one.
713 2009-05-28 Alberto Garcia <agarcia@igalia.com>
715 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
716 Don't close the menu if there's an animation actor below it.
718 Fixes: NB#117927 (Application menu not usable with animation
721 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
723 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
724 "focus-on-click" from the dialog button, to avoid stealing the
725 focus from the entry.
727 Fixes: NB#118903 (Account setup wizard: Text in Search field
728 should be focused when "Region" touch list picker is reopened
731 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
733 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
734 (prepare_action_area): Completely hide the dialog separator.
736 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
738 * hildon/hildon-touch-selector-entry.c
739 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
740 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
741 now that the entry is exposed.
743 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
745 * hildon/hildon-touch-selector-entry.c
746 (hildon_touch_selector_entry_init): Change the entry's size
747 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
749 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
751 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
752 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
753 avoid unnecessary scaling.
755 2009-05-27 Alberto Garcia <agarcia@igalia.com>
757 * hildon/hildon-app-menu.c (hildon_app_menu_map):
758 Create grab transfer window before calling parent's map function.
760 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
761 "crushed" button(s) in the top left corner)
763 2009-05-26 Alberto Garcia <agarcia@igalia.com>
765 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
766 Check if the window is already realized when pushing it.
768 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
770 * configure.ac: post release version bump
771 * debian/changelog: post release version bump
773 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
778 * configure.ac: Bump version.
779 * debian/changelog: Updates.
781 2009-05-25 Alberto Garcia <agarcia@igalia.com>
783 * hildon/hildon-app-menu.c: Doc updates.
785 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
787 * hildon/hildon-banner.c: Remove leftover macro.
789 2009-05-25 Alejandro G. Castro <alex@igalia.com>
791 * hildon/hildon-pannable-area.c,
792 (hildon_pannable_area_scroll_indicator_fade),
793 (hildon_pannable_area_button_release_cb): Reviewed vmin
794 conditions, it could cause problems in the fadeout procedure.
796 2009-05-25 Alejandro G. Castro <alex@igalia.com>
798 * hildon/hildon-pannable-area.c
799 (hildon_pannable_area_button_release_cb): Added a threshold to
800 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
802 2009-05-25 Alejandro G. Castro <alex@igalia.com>
804 * hildon/hildon-pannable-area.c,
805 (hildon_pannable_area_set_property): Added code to sync the gtk
806 dnd threshold with the panning threshold.
808 2009-05-25 Alejandro G. Castro <alex@igalia.com>
810 * hildon/hildon-pannable-area.c,
811 (hildon_pannable_area_class_init): Changed some of the default
812 values, now it should be less responsive and more accurate.
814 2009-05-25 Alejandro G. Castro <alex@igalia.com>
816 * hildon/hildon-pannable-area.c,
817 (hildon_pannable_area_init),
818 (hildon_pannable_area_scroll_indicator_fade),
819 (hildon_pannable_area_button_press_cb),
820 (hildon_pannable_axis_scroll),
821 (hildon_pannable_area_timeout),
822 (hildon_pannable_area_motion_notify_cb),
823 (hildon_pannable_area_button_release_cb): Changed the name of the
824 clicked attribute to button_pressed, it is more clear about its use.
826 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
828 * src/hildon-pannable-area.c
829 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
831 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
832 vertical scrollbar visibility, and use the data on private section instead,
833 remove the initial_hint check
834 (hildon_pannable_area_expose_event): add the initial_hint check here
836 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
838 * src/hildon-pannable-area.c
839 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
840 if the fadeout effect was used
841 (hildon_pannable_area_expose_event): check if it is required to
842 manage the initial effect on the begining of the function. Previously
843 it was made at the end, but this doesn't ensure that the scrollbars
844 will be painted on the first show. Do not set to FALSE initial_effect,
845 to ensure that the initial hint is showed the first time the pannable
847 * examples/Makefile.am
848 * examples/hildon-pannable-area-initial-hint-example.c:
849 New example, to show that the initial-hint is showed when the widget
852 Fixes: NB#116607 (Pannable area should always have scrollbar visible
853 initially if the application can be scrolled)
855 2009-05-25 Alberto Garcia <agarcia@igalia.com>
857 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
858 Resize table before adding new items to make sure that
859 gtk_table_resize() is called just once.
861 2009-05-25 Alberto Garcia <agarcia@igalia.com>
863 * hildon/hildon-app-menu-private.h
864 * hildon/hildon-app-menu.c (item_visibility_changed)
865 (filter_visibility_changed, hildon_app_menu_show_all)
866 (hildon_app_menu_hide_all, hildon_app_menu_init):
867 Rearrange items just once when gtk_widget_show_all()/hide_all()
870 2009-05-25 Alberto Garcia <agarcia@igalia.com>
872 * hildon/hildon-app-menu.c
873 (hildon_app_menu_insert, hildon_app_menu_add_filter):
874 Don't call gtk_widget_show() on added items.
876 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
877 automatically when they're added)
879 2009-05-20 Alberto Garcia <agarcia@igalia.com>
881 * hildon/hildon-banner.c
882 (hildon_banner_realize, +hildon_banner_unrealize)
883 (+screen_size_changed, hildon_banner_class_init):
884 Redisplay the banner if the screen is rotated.
886 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
887 on transition from landscape to portrait)
889 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
891 * hildon/hildon-banner.[ch]:
892 (hildon_banner_show_information_override_dnd): remove icon_name from the
893 method definition as it is ignored.
894 * examples/hildon-banner-dnd-example.c: updated with the change on
897 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
899 * hildon/hildon-banner-private.h: new require_override_dnd and
900 overrides_dnd variables
901 * hildon/hildon-banner.h:
902 (hildon_banner_show_information_override_dnd): new method, that shows
903 the information but sets the override flag, in order to show important
905 * hildon/hildon-banner.c
906 (hildon_banner_show_information_override_dnd): new method
907 (hildon_banner_set_override_flag): new utility function
908 (hildon_banner_real_show_information): new utility function, in order to
909 generalize the current hildon_banner_show_information_override_dnd and
910 hildon_banner_show_information_override_dnd
911 * examples/Makefile.am
912 * examples/hildon-banner-dnd-example.c: New example that show how to
913 use the new hildon_banner_show_information_override_dnd
915 Fixes: NB#114874 (There is no possibility to show hildon banners with
918 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
920 * hildon/hildon-pannable-area.c: Add a comment explaining the math
921 behind hildon_pannable_calculate_vel_factor().
923 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
925 * hildon/hildon-pannable-area.c
926 (hildon_pannable_calculate_vel_factor): Correct the sum of the
927 deceleration factors.
929 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
931 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
932 Reduce the default value for 'scroll_time' to 1 second, since the
933 current initial scrolling takes too much time.
935 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
937 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
938 calculate velocity factor during initialization, since the properties
941 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
943 * hildon/hildon-pannable-area.c
944 (hildon_pannable_area_set_property): Calculate the velocity factor
945 after setting the deceleration property and not after.
947 2009-05-20 Alberto Garcia <agarcia@igalia.com>
949 * hildon/hildon-entry.c
950 (hildon_entry_class_init, +set_property, hildon_entry_new)
951 * hildon/hildon-check-button.c
952 (hildon_check_button_class_init)
953 (+set_property, hildon_check_button_new):
954 Make the theme size a property.
956 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
957 others) do too much in the _new function)
959 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
961 * configure.ac: post release version bump
962 * debian/changelog: post release version bump
964 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
969 * configure.ac: Bump version.
970 * debian/changelog: Updates.
972 2009-05-15 Alberto Garcia <agarcia@igalia.com>
974 * hildon/hildon-gtk.h
975 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
976 New API function to take a screenshot of a window
978 Fixes: NB#106374 (Need API to take a loading screenshot)
980 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
982 * hildon/hildon-time-selector.c
983 (update_format_policy): prevent to use hours and minutes unitialized
985 2009-05-15 Alberto Garcia <agarcia@igalia.com>
987 * hildon/hildon-window.c (hildon_window_size_request):
988 Always request the full size of the screen (minus the title bar if
989 not in fullscreen mode).
991 Fixes: NB#107486 (HildonWindow should size itself properly)
993 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
995 * hildon/hildon-note-private.h: Add idle_handler to the private data.
996 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
997 (on_show_cb), (sound_handling): Disconnect the idle handler for
998 the sound when the note is finalized to avoid possible crashes.
1000 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1003 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
1005 * src/hildon-animation-actor.c,
1006 * src/hildon-remote-texture.c:
1007 Added proper object cleanup to remove signal handler and object
1008 references as HildonAnimationActor and HildonRemoteTexture
1009 objects get destroyed.
1011 Fixes: NB#116682 (Destroying parented animation actors when
1012 parent in unmapped leads to crash)
1014 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1016 Based on a patch by Christian Dywan (christian@imendio.com)
1018 * doc/hildon-sections.txt:
1019 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1020 * hildon/hildon-helper.h: New file size formatting method.
1022 * debian/control: Depend on osso-filemanager l10n package for
1023 proper localization strings.
1025 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1027 * tests/Makefile.am: Include top_srcdir to make possible to build
1028 tests in a different builddir.
1029 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1030 on a different builddir.
1032 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1034 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1035 (hildon_touch_selector_remove): Disconnect model's signal handler
1038 Fixes: NB#116289 (Hildon home crashes while adding task
1041 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1043 * hildon/hildon-button.c
1044 (hildon_button_set_title, hildon_button_set_value):
1045 Hide labels containing an empty string.
1047 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1049 * configure.ac: post release version bump
1050 * debian/changelog: post release version bump
1052 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1057 * configure.ac: Bump version.
1058 * debian/changelog: Updates.
1060 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1062 * hildon/hildon-note-private.h: Removed sound_signal_handler
1063 * hildon/hildon-note.c
1064 (on_show_cb): new callback on note "show" event, this simply adds
1065 a idle, with the function sound_handling
1066 (sound_handling): removed the sound_signal_handler management
1067 (hildon_note_init): connect note "show" event to on_show_cb
1068 (hildon_note_realize): remove the connection to "expose-event"
1070 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1071 device?' confirmation note)
1073 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1075 * hildon/hildon-note.c
1076 (hildon_note_new_information_with_icon_name)
1077 (hildon_note_new_confirmation_with_icon_name):
1078 Terminate the list of parameters in g_object_set() calls
1080 Fixes: NB#115166 (Formatting memory card is not taking place)
1082 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1084 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1085 "dialog-information" role for the sound being played.
1087 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1089 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1090 Don't make the menu a modal window, it causes strange interactions
1091 with the pointer grab and it's not really needed.
1093 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1095 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1097 * hildon/hildon-touch-selector.[ch]
1098 (hildon_touch_selector_optimal_size_request): function added to get a
1099 optimal size request from the touch selector, when you want a dialog to
1100 show as much of the selector
1101 * hildon/hildon-picker-dialog.c:
1102 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1103 (hildon_app_menu_class_init):
1104 New "max-height-landscape" and "max-height-portrait" style properties
1105 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1106 (hildon_picker_dialog_get_max_height): returns the maximum height using
1107 the style properties defined and checking the current portrait/landscape
1109 (_hildon_picker_dialog_set_selector): removed the set_size_request
1111 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1113 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1115 * hildon/hildon-bread-crumb-trail.c:
1116 * hildon/hildon-bread-crumb.c:
1117 * hildon/hildon-seekbar.c:
1118 Add reference to replacements for these deprecated widgets.
1120 Fixes: MB#4461 (Documentation: All deprecations should mention
1123 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1125 * examples/hildon-remote-texture-example.c
1127 Change the include to the hildon-remote-texture in order to compile
1128 properly the examples on the installed libhildon1-examples package
1130 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1132 * tests/Makefile.am: Add check for HildonPickerButton.
1133 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1134 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1135 checks for the HildonPickerButton.
1136 * tests/check_test.c (configure_tests): Add the test suite.
1137 * tests/test_suites.h: likewise.
1139 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1141 * hildon/hildon-touch-selector.c
1142 (+on_row_changed): Emit HildonTouchSelector:changed when the
1143 contents of a selected row change.
1144 (_create_new_column), (_hildon_touch_selector_set_model): connect
1145 to GtkTreeModel:row-changed on a newly set model.
1147 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1149 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1151 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1153 * hildon/hildon-banner.c (hildon_banner_destroy)
1154 (hildon_banner_show_progress, hildon_banner_set_fraction):
1155 Remove the progress bar from HildonBanner and use a progress
1158 Fixes: NB#113761 (Update progress banner to use progress
1161 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1163 * hildon/hildon-banner.c:
1164 Calculate size of the banner label using the actual screen width
1165 rather than using a fixed value.
1167 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1170 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1172 * hildon/hildon-pannable-area.c,
1173 (hildon_pannable_area_class_init): Fixed signals documentation
1176 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1178 * configure.ac: post release version bump
1179 * debian/changelog: post release version bump
1181 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1186 * configure.ac: Bump version.
1187 * debian/changelog: Updates.
1189 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1191 * hildon/hildon-edit-toolbar.c
1192 (hildon_edit_toolbar_init):
1193 Don't let buttons in HildonEditToolbar receive focus.
1195 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1196 typing on an HW arrows key)
1198 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1200 * doc/Makefile.am: Fix build.
1202 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1204 * doc/Makefile.am: Do not redefine content_files.
1206 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1214 Renamed src/ to hildon/
1219 Include <hildon/hildon.h> directly in all examples.
1221 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1223 * src/hildon-sort-dialog.c
1224 (hildon_sort_dialog_add_sort_key_with_sorting)
1228 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1230 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1231 make distcheck passes.
1233 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1235 * Makefile.am: Enable gtk-doc during distcheck.
1237 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1239 * Makefile.am: Do not distribute the debian/ directory.
1241 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1243 * doc/Makefile.am: Add the extra SGML files to content_files,
1244 so that they are distributed properly.
1246 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1248 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1251 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1253 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1254 (hildon_note_new_information_with_icon_name): Set the "icon" property
1255 to preserve soundness.
1257 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1259 * src/hildon-font-selection-dialog.c
1260 (hildon_font_selection_dialog_set_property): Fail when the "family"
1261 property is set to NULL.
1263 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1265 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1268 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1270 * src/hildon-time-selector.h:
1271 Added HildonTimeSelectorFormatPolicy
1272 * src/hildon-time-selector.c:
1273 Added PROP_TIME_FORMAT_POLICY
1274 (_check_ampm_format): renamed to check_automatic_ampm_format
1275 (update_format_policy), (update_format_dependant_columns): new functions
1276 (hildon_time_selector_class_init)
1277 (hildon_time_selector_contructor)
1278 (hildon_time_selector_init)
1279 (hildon_time_selector_get_property)
1280 (hildon_time_selector_set_property)
1281 (hildon_time_selector_get_time)
1282 (hildon_time_selector_set_time)
1283 * src/hildon-touch-selector.h: new file
1284 * src/hildon-touch-selector.c
1285 (hildon_touch_selector_emit_changed)
1286 (hildon_touch_selector_block_changed)
1287 (hildon_touch_selector_unblock_changed)
1288 Added functions to allow to block the emission of the "changed" signal
1289 * src/hildon-picker-dialog.c
1290 (hildon_picker_dialog_show): call the parent show before the custom code
1291 * examples/hildon-time-button-example.c
1292 Modified, so now you can configure the time format using the new property
1294 Added a new property "time-format-policy" that allow to choose the time
1295 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1296 case it uses gconf in order to check if the time selector must use
1299 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1302 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1304 * src/hildon-note.c (hildon_note_init):
1305 Label in HildonNote must be left aligned, not centered. This
1306 reverts the last commit in HildonNote.
1308 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1309 is connectivity dialog)
1311 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1316 * doc/hildon-sections.txt:
1317 Added hildon_gtk_window_set_do_not_disturb()
1319 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1321 * src/hildon-note.c (hildon_note_init): Center label.
1323 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1326 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1331 * configure.ac: Bump version.
1332 * debian/changelog: Updates.
1334 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1336 * src/hildon-note-private.h: Add button-width to the private data.
1337 * src/hildon-note.c (+resize_button),
1338 (+hildon_note_orientation_update): methods to repack widgets on orientation
1340 (screen_size_changed): Call above method for confirmation notes.
1341 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1342 (hildon_note_rebuild): Store the original width request from buttons.
1344 Fixes: NB#109635 (Confirmation notes do not support portrait)
1346 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1348 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1349 when it is a progress note.
1351 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1353 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1354 in the note, since there are no horizontally arranged contents.
1356 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1358 * src/hildon-gtk.c (+set_flag): new generic method to
1359 set/delay a flag setting in a window.
1360 (hildon_gtk_window_set_progress_indicator):
1361 (hildon_gtk_window_set_do_not_disturb),
1362 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1363 avoid code redundance.
1365 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1367 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1369 * src/hildon-gtk.c (set_clear_window_flag),
1370 (do_set_progress_indicator), (do_set_do_not_disturb),
1371 (do_set_portrait_flags),
1372 (hildon_gtk_window_set_progress_indicator),
1373 (hildon_gtk_window_set_do_not_disturb),
1374 (hildon_gtk_window_set_portrait_flags):
1375 Allow setting dnd-flag, progress indicator, and portrait flags
1376 when the window is not realized.
1378 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1380 * src/hildon-pannable-area.c,
1381 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1382 the size request policy function and defines.
1384 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1386 * doc/hildon-sections.txt: Add the new API.
1387 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1388 method to set the portrait flags.
1389 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1391 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1393 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1395 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1396 to allow using this method with other flags.
1397 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1398 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1400 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1402 * src/hildon-touch-selector.c
1403 (hildon_touch_selector_append_text_column):
1404 Make the cell renderer use the smallest width possible.
1406 Fixes: NB#108470 (Selected items in multiple selection are either
1407 having a tick that is cut or not visible at all.)
1409 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1411 * src/hildon-touch-selector.c
1412 (hildon_touch_selector_append_text_column):
1415 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1417 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1418 Use g_strdup_printf() instead of a fixed size buffer.
1420 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1422 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1423 Close banners when a HildonAppMenu is popped up.
1425 Fixes: NB#111027 (Title menu closed immediately if activated when
1426 "Invalid e-mail address" banner is shown)
1428 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1433 * configure.ac: Bump version.
1434 * debian/changelog: Updates.
1436 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1438 * src/hildon-banner.c (hildon_banner_realize):
1439 Mark HildonBanner as supporting portrait mode.
1440 Use GDK to set window properties insetad of direct Xlib calls.
1442 Fixes: NB#111830 (HildonBanner should be marked as supporting
1445 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1447 * src/hildon-note.c (hildon_note_rebuild):
1448 Hide action area in information notes. Prevents text from being
1449 slightly aligned to the left.
1451 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1454 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1456 Patch by Mox Soini (ext-mox.soini@nokia.com)
1458 * src/hildon-banner.c (hildon_banner_create_animation):
1459 Use stylus-sized icons in animation banner.
1461 Fixes: NB#111206 (stylus sized icon for animation banner)
1463 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1467 (+hildon_gtk_window_set_do_not_disturb):
1468 New API to set the do-not-disturb flag.
1470 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1472 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1474 * examples/hildon-progress-indicator-example.c: Fix example
1476 * src/hildon-gtk.c (set_clear_window_flag)
1477 (hildon_gtk_window_set_progress_indicator):
1478 Create a generic function for setting flags to a window.
1479 Use GDK instead of direct Xlib calls.
1481 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1483 * src/hildon-button.c (hildon_button_set_arrangement):
1484 Due to NB#88126, if one of the labels is too long it will be
1485 painted outside the button. The 'value' label is more likely to be
1486 the longest one, so we change its packing options in order to
1487 truncate it if necessary. As a side effect, the 'title' label will
1488 no longer be truncated.
1490 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1492 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1497 * configure.ac: Bump version.
1498 * debian/changelog: Updates.
1500 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1502 Deprecation of the hildon_pannable_area_set_size_request_policy
1503 API, the only policy properly supported in gtk+ nowadays is the
1506 * src/hildon-pannable-area.c,
1507 (hildon_pannable_area_size_request): Added a workaround for the
1508 size_request to avoid the problems of huge pixmaps in case someone
1509 is still using the function.
1510 * src/hildon-pannable-area.h: Deprecated the enum with the
1513 Fixes: NB#110244 (Problems with the
1514 hildon_pannable_area_set_size_request_policy API)
1516 2009-04-08 Alejandro G. Castro <alex@igalia.com>
1518 * src/hildon-pannable-area.c,
1519 (hildon_pannable_area_init),
1520 (hildon_pannable_area_size_request),
1521 (hildon_pannable_area_style_set),
1522 (hildon_pannable_draw_vscroll),
1523 (hildon_pannable_draw_hscroll),
1524 (hildon_pannable_area_check_scrollbars): Replaced area_width with
1525 indicator_width to clarify the use of the attribute.
1527 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
1532 * configure.ac: Bump version.
1533 * debian/changelog: Updates.
1535 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
1537 * src/hildon-picker-dialog.c
1538 * src/hildon-touch-selector.c
1539 Reverting the change that tried to avoid the hardcoded height on
1540 the picker dialog, as causes problems on the hildon-touch-selector
1543 Fixes: NB#110029 (selectors not scrolling to selected value)
1545 2009-04-07 Alberto Garcia <agarcia@igalia.com>
1547 * src/hildon-touch-selector.c: Fix typos
1549 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1551 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1552 Use the event coordinates instead of gdk_window_get_pointer(). Also,
1553 request more motions after using it.
1555 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1557 * src/hildon-calendar.c (hildon_calendar_expose),
1558 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1559 Remove unused variables.
1561 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1563 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1564 variable assignment.
1566 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1568 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1569 Check the return value of gtk_tree_selection_get_selected()
1572 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1574 * src/hildon-animation-actor.c
1575 * src/hildon-button.c
1577 * src/hildon-pannable-area.c
1578 * src/hildon-picker-button.c
1579 * src/hildon-program.c
1580 * src/hildon-remote-texture.c
1581 * src/hildon-text-view.c
1582 * src/hildon-touch-selector.c
1583 * src/hildon-window-stack.c
1584 * src/hildon-window.c:
1585 Add missing 'Since: 2.2' tags.
1587 * doc/hildon-sections.txt:
1588 Add some missing symbols.
1590 * doc/hildon-docs.sgml:
1591 New 'Other' section for HildonAnimationActor and
1594 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1596 Patch by Iván Gómez (igomez@igalia.com)
1599 * doc/compiling.sgml
1600 * doc/hildon-docs.sgml
1601 * doc/hildon-sections.txt
1602 * doc/migration.sgml
1603 * doc/resources.sgml
1605 New chapters on using the Hildon library.
1606 Updated the general structure of the reference manual.
1607 Other minor documentation fixes.
1609 * src/hildon-calendar-popup.c
1610 * src/hildon-calendar.c
1611 * src/hildon-controlbar.c
1612 * src/hildon-date-editor.c
1613 * src/hildon-dialog.c
1614 * src/hildon-hvolumebar.c
1615 * src/hildon-number-editor.c
1616 * src/hildon-range-editor.c
1617 * src/hildon-sort-dialog.c
1618 * src/hildon-time-editor.c
1619 * src/hildon-time-picker.c
1620 * src/hildon-volumebar-range.c
1621 * src/hildon-volumebar.c
1622 * src/hildon-vvolumebar.c
1623 * src/hildon-weekday-picker.c:
1624 Add deprecation notes
1626 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1627 Document 'horizontal-movement' and 'vertical-movement' signals.
1629 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
1634 * configure.ac: Bump version.
1635 * debian/changelog: Updates.
1637 2009-04-06 Alejandro G. Castro <alex@igalia.com>
1639 * src/hildon-pannable-area.c,
1640 (hildon_pannable_area_class_init): increased the minimum velocity.
1641 (hildon_pannable_area_button_release_cb): Updated the
1642 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
1643 setup. Review the code to control that last event.
1645 Fixes: NB#109790 (Releasing finger in pannable area easily causes
1648 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
1650 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1652 * src/hildon-get-password-dialog.c
1653 (hildon_get_password_set_property),
1654 (hildon_get_password_get_property), (create_contents):
1655 * src/hildon-login-dialog-private.h:
1656 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
1657 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
1658 (hildon_login_dialog_get_password):
1659 * src/hildon-set-password-dialog-private.h:
1660 * src/hildon-set-password-dialog.c
1661 (hildon_set_password_set_property),
1662 (hildon_set_password_get_property), (create_contents),
1663 (hildon_set_password_response_change),
1664 (hildon_set_password_response_set), (hildon_checkbox_toggled):
1666 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
1667 instead and look more Fremantle style.
1669 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
1671 2009-04-03 Alberto Garcia <agarcia@igalia.com>
1673 * doc/hildon-sections.txt
1674 * src/hildon-window-stack.h
1675 * src/hildon-window-stack.c
1676 (+hildon_window_stack_get_windows):
1677 New API to obtain the list of windows on a stack.
1679 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1681 * src/hildon-app-menu.c (hildon_app_menu_popup)
1682 (hildon_app_menu_class_init, -hildon_app_menu_show):
1683 Remove hildon_app_menu_show() and move all its checks to
1684 hildon_app_menu_popup()
1686 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
1688 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
1689 (_hildon_picker_dialog_set_selector): removed call to
1690 gtk_widget_set_size_request
1691 * src/hildon-touch-selector.c
1692 (_create_new_column): change the pannable size request policy
1694 Avoid to use a hardcoded height for the hildon picker dialog. In order
1695 to get that, we needed to change the hildon pannable size request
1697 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1699 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1701 * src/hildon-window.c (hildon_window_map): Check for vbox to be
1702 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
1705 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1707 * debian/control: Depend on osso-system-lock localization package.
1708 * src/hildon-code-dialog.c: Obtain the secu_application_title
1709 translation from osso-system-lock.
1710 * src/hildon-get-password-dialog.c (create_contents): Do not mark
1711 for translation the atk related strings, that's not necessary.
1712 * src/hildon-set-password-dialog.c (create_contents): Ditto.
1713 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
1714 cancel button, it is not required.
1716 2009-04-02 Alejandro G. Castro <alex@igalia.com>
1718 * src/hildon-pannable-area.c,
1719 (hildon_pannable_area_class_init): Modified the default value of
1720 the overshooting max speed, we have reduced it.
1722 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1724 * doc/hildon-sections.txt
1725 * src/hildon-window-private.h
1726 * src/hildon-window.h
1727 * src/hildon-window.c (hildon_window_class_init)
1728 (hildon_window_init, hildon_window_finalize)
1729 (hildon_window_realize, hildon_window_get_property)
1730 (hildon_window_set_property, hildon_window_update_markup)
1731 (hildon_window_get_markup, hildon_window_set_markup):
1732 New "markup" property and hildon_window_{get,set}_markup() methods.
1734 * examples/hildon-stackable-window-example.c (new_window):
1735 Update example to use hildon_window_set_markup()
1737 Fixes: NB#106375 (Need API to retitle a window with a title
1740 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1742 * src/hildon-pannable-area.c,
1743 (hildon_pannable_area_class_init): Changed the default value of
1744 the initial_hint to TRUE.
1745 (hildon_pannable_area_initial_effect): Changed the initial effect,
1746 not the effect is just the fade-out of the scrollbars.
1748 Fixes: NB#107775 (No scrollbars can be seen when several items are
1749 available in a dialog)
1751 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1753 * src/hildon-program.c (hildon_program_update_top_most):
1756 Fixes: NB#109179 (Memory leak in Hildon program)
1758 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1760 * src/hildon-banner.c (-get_current_app_window):
1761 Remove unused function.
1763 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1765 * src/hildon-pannable-area.c: Modified the documentation of the
1766 get adjustments functions to explain the problem of using the
1767 adjustment directly.
1768 (hildon_pannable_area_class_init): Improved the explanation about
1771 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1773 * src/hildon-app-menu-private.h
1774 * src/hildon-app-menu.c
1775 (hildon_app_menu_class_init):
1776 Bring back the 'external-border' style property
1777 (hildon_app_menu_class_init, hildon_app_menu_init)
1778 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
1779 Set a fixed width-request for the menu, independent of the number
1782 Fixes: NB#94957 (Smoothly opened application menu)
1784 2009-03-30 Alberto Garcia <agarcia@igalia.com>
1786 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
1788 * src/hildon-banner.c
1789 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
1791 Make sure that the banner is correctly placed the first time it's
1793 (hildon_banner_check_position, -check_fullscreen_state):
1794 Show the banner in the same place no matter if the window is in
1795 fullscreen mode or not.
1797 Fixes: NB#107386 (Odd stacking behaviour for information banners)
1799 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1801 * src/hildon-touch-selector.c (_default_print_func): reorder
1802 concatenation for clarity.
1804 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1806 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
1807 for multicolumn selectors.
1809 Fixes: NB#109099 (Memory leak in Hildon touch selector)
1811 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
1816 * configure.ac: Bump version.
1817 * debian/changelog: Updates.
1819 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
1821 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
1824 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1826 * configure.ac: removed libcangerra-gtk dependency
1827 * debian/control: removed libcanberra-gtk dependency
1828 * src/Makefile.am: removed libcanberra gtk related flags
1829 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1830 context, and manage a global canberra context instead
1832 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1834 2009-03-26 Alberto Garcia <agarcia@igalia.com>
1836 Patch by Daniel Borgmann (danielb@openismus.com)
1838 * src/hildon-edit-toolbar.c:
1839 Adjust the left padding.
1840 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
1841 Paint background of the edit toolbar.
1843 Fixes: NB#107897 (Patch to make editmodetoolbar background
1844 themeable and adjust margin)
1846 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1848 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1850 * src/hildon-program.c (hildon_program_update_top_most):
1851 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
1853 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
1854 change when the user tasks in/out of an application)
1856 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1858 * configure.ac: added libcangerra-gtk dependency
1859 * debian/control: added libcanberra-gtk dependency
1860 * src/Makefile.am: added libcanberra gtk related flags
1861 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
1864 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1866 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1868 * src/hildon-program.c (hildon_program_remove_window)
1869 (hildon_program_add_window): Add checks for the window
1870 parameter. Don't decrease the window counter if the window is not
1873 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1875 * src/hildon-pannable-area.c,
1876 (hildon_pannable_area_realize): Fixed position of the event_window
1877 in the realize method.
1879 2009-03-24 Alberto Garcia <agarcia@igalia.com>
1881 * src/hildon-app-menu-private.h
1882 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
1883 (hildon_app_menu_map, hildon_app_menu_hide_idle)
1884 (hildon_app_menu_key_press, hildon_app_menu_init)
1885 (hildon_app_menu_finalize):
1886 Make sure that all idle functions are removed when the widget is
1889 Fixes: NB#107583 (Hildon app menu crashes in various applications)
1891 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1896 * configure.ac: Bump version.
1897 * debian/changelog: Updates.
1899 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1901 * src/hildon-entry.c
1902 (+hildon_entry_show_placeholder),
1903 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
1904 that replace hildon_entry_update_contents().
1905 (hildon_entry_set_text),
1906 (hildon_entry_set_placeholder),
1907 (hildon_entry_focus_in_event),
1908 (hildon_entry_focus_out_event): Determine when it is needed
1909 either to show or hide the placeholder and call the above methods.
1911 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
1912 when the placeholder text is already set)
1914 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1916 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
1917 simple GdkPixbufAnim using the new icons for the banner.
1918 (hildon_banner_show_animation): Use the above mentioned method to
1919 create the animation widget.
1921 Fixes: NB#103564 (Make hildon animation banner use individual
1922 image files as the animation)
1924 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1926 * src/hildon-pannable-area.c,
1927 (hildon_pannable_leave_notify_event): Check if the child is NULL
1928 to avoid sending the leave.
1930 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1932 * src/hildon-pannable-area.c,
1933 (hildon_pannable_area_class_init),
1934 (hildon_pannable_leave_notify_event): Added a handler of the
1935 leave-notify-signal to consider when no motion notify before
1938 Fixes: NB#107494 (Items stay selected when clicking and moving
1939 away when inside pannable area)
1941 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
1946 * configure.ac: Bump version.
1947 * debian/changelog: Updates.
1949 2009-03-19 Alejandro G. Castro <alex@igalia.com>
1951 Patch by Alberto Garcia (agarcia@igalia.com)
1953 * src/hildon-date-button.c,
1954 (hildon_date_button_class_init),
1955 (hildon_date_button_init): Removed the construct property handling
1956 and created a default selector in the init method.
1957 * src/hildon-picker-button.c,
1958 (hildon_picker_button_class_init): Removed the construct flag of the
1961 2009-03-18 Alberto Garcia <agarcia@igalia.com>
1963 * src/hildon-main.c (hildon_init):
1964 Don't allow hildon_init() to be called more than once.
1966 Fixes: NB#106607 (hildon_init should issue error message upon
1969 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
1971 * examples/hildon-pannable-area-touch-list-example.c
1972 * examples/hildon-pannagle-area-touch-grid-example.c
1973 * examples/hildon-edit-toolbar-example.c
1974 * examples/hildon-touch-selector-multi-cells-example.c
1975 Removed the call to gtk_rc_parse_string, as it is not required since
1978 2009-03-17 Alejandro G. Castro <alex@igalia.com>
1980 * src/hildon-pannable-area.c,
1981 (hildon_pannable_area_class_init): Modified the default panning
1982 threshold of the widget to 6px.
1984 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
1985 than the threshold value ) within the button is not sending the
1988 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1990 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
1991 for the treeview in the new column. This way, the touch list will never
1994 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
1995 be selected manually for the HW keys to work)
1997 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1999 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2000 comparison instead of using strcmp(). Fixes a compiler warning as well.
2002 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2004 * doc/hildon-docs.sgml: Do not set the library version in the
2005 document title, use the releaseinfo tag for that purpose instead.
2007 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2009 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2010 Do not jump to the first item if the text in the entry is removed.
2012 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2017 * configure.ac: Bump version.
2018 * debian/changelog: Updates.
2020 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2022 * src/hildon-entry.c (hildon_entry_refresh_contents):
2023 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2024 Use "ReversedSecondaryTextColor" for the placeholder text.
2026 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2028 * src/hildon-text-view.c: Fix compilation warning.
2030 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2032 * src/hildon-button.c (hildon_button_class_init): Don't make
2033 "title" and "value" construction properties, to prevent them from
2034 overwriting labels set from derived classes.
2036 * src/hildon-picker-button.c
2037 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2038 (hildon_picker_button_class_init): Make touch-selector a
2039 construction property.
2041 * src/hildon-date-button.c (hildon_date_button_class_init)
2042 (+hildon_date_button_constructed): Add a default date selector if
2045 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2047 * src/hildon-touch-selector.c: Small documentation fixes.
2049 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2051 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2053 * src/hildon-entry.c (hildon_entry_refresh_contents),
2054 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2055 widget name, set the logical color directly instead and a boolean
2056 showing_placeholder instead.
2057 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2058 use the widget name here either.
2060 Fixes: NB#105678 (HildonTextView should use logical colours
2061 instead of setting widget name)
2063 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2065 Patch by Daniel Elster (danielk@openismus.com)
2067 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2068 Add user_data parameter.
2069 (hildon_touch_selector_set_print_func_full): New function akin
2070 hildon_touch_selector_set_print_func() but with support for user
2071 data and a destroy callback.
2072 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2073 to clean up the print function user data.
2074 (hildon_touch_selector_class_init): Install dispose function.
2075 (HildonTouchSelectorPrivate::print_user_data),
2076 (HildonTouchSelectorPrivate::print_destroy_func): New private
2078 (hildon_touch_selector_init): Initialize new private members.
2079 (hildon_touch_selector_get_current_text): Pass along user data
2080 to the print function.
2081 (_default_print_func): Add dummy user_data to parameter list.
2082 * hildon-date-selector.c (_custom_print_func): ditto,
2083 * hildon-time-selector.c (_custom_print_func): ditto,
2084 * hildon-touch-selector-entry.c
2085 (hildon_touch_selector_entry_print_func): ditto.
2087 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2089 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2091 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2093 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2095 * src/hildon-pannable-area.c,
2096 (hildon_pannable_area_init),
2097 (hildon_pannable_area_button_press_cb),
2098 (hildon_pannable_area_motion_notify_cb): We have added code to
2099 handle the leave and enter events when using the motion events.
2101 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2103 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2105 * src/hildon-date-button.c (hildon_date_button_get_date)
2106 (hildon_date_button_set_date): Make sure that the button has a
2109 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2111 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2113 * src/hildon-pannable-area.c,
2114 (hildon_pannable_area_class_init),
2115 (hildon_pannable_area_calculate_velocity): Modify the use of the
2116 force and adapt the value.
2118 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2120 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2121 (hildon_app_menu_class_init): Hide the menu if it receives a
2122 delete-event, but don't destroy it
2124 Fixes: NB#104485 (Not able to address the call when application
2125 menu is opened at background)
2127 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2129 * src/hildon-app-menu.c
2130 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2131 Remove the "external-border" style property, let the menu take its
2132 natural size (or the one set by the window manager)
2133 (hildon_app_menu_repack_items):
2134 Don't reshow the menu, avoid flickers.
2136 Partially fixes NB#94957 (Smoothly opened application menu)
2138 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2143 * configure.ac: Bump version.
2144 * debian/changelog: Updates.
2146 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2148 * src/hildon-pannable-area.c,
2149 (hildon_pannable_area_motion_notify_cb): We control that the
2150 direction error margin is used just in case the movement is
2151 allowed in the other direction.
2153 Fixes: NB#105012 (buttons inside a pannable area not getting
2154 release event when dragging/releasing)
2156 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2158 * src/hildon-pannable-area.c,
2159 (hildon_pannable_area_class_init),
2160 (hildon_pannable_area_get_property),
2161 (hildon_pannable_area_set_property),
2162 (hildon_pannable_area_initial_effect),
2163 (hildon_pannable_axis_scroll),
2164 (hildon_pannable_area_button_release_cb): Reviewed the
2165 overshooting effect, now it has its own max
2166 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2167 speed when bouncing.
2169 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2174 * configure.ac: Bump version.
2175 * debian/changelog: Updates.
2177 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2179 * src/hildon-pannable-area.c,
2180 (hildon_pannable_area_class_init): Changed the max speed, now
2181 users can launch the widget very fast. Reduced the default force,
2182 that way it is easier to control the launch speed.
2184 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2186 * src/hildon-pannable-area.c,
2187 (hildon_pannable_area_button_release_cb): Removed this check
2188 because it causes problems when the device is overloaded.
2190 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2192 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2193 add a current_text field to store the text entered in the
2194 touch selector entry.
2195 (_clean_current_selection): clean up the current text as well.
2196 (_save_current_selection), (_restore_current_selection):
2197 Save/restore the text in the entry if the selector is a
2198 HildonTouchSelectorEntry.
2200 Fixes: NB#102541 (value entered in the touch selector entry is not
2201 shown when opened for second time)
2203 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2205 * doc/hildon-sections.txt:
2206 * src/hildon-touch-selector-entry.c
2207 (+hildon_touch_selector_entry_get_entry):
2208 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2210 Fixes: NB#104815 (I need accessor to the entry inside
2211 HildonTouchSelectorEntry)
2213 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2215 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2216 (hildon_app_menu_class_init):
2217 New "filter-vertical-spacing" style property.
2219 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2221 * src/hildon-find-toolbar.c
2222 (hildon_find_toolbar_emit_close)
2223 (hildon_find_toolbar_emit_invalid_input)
2224 (hildon_find_toolbar_entry_activate):
2225 Use g_signal_emit() instead of g_signal_emit_by_name()
2227 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2229 Patch by Mox Soini (ext-mox.soini@nokia.com)
2231 * tests/TEST-CASES.txt
2232 * tests/check-hildon-banner.c
2233 * tests/check-hildon-note.c
2234 * src/hildon-banner.c
2235 * src/hildon-code-dialog.c
2236 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2237 * src/hildon-time-editor.c
2238 * examples/hildon-lookup-example.c (main):
2239 Replace obsolete icon names with new ones.
2241 * src/hildon-find-toolbar-private.h:
2242 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2243 (-hildon_find_toolbar_emit_search):
2244 Remove find button and change icon of close button.
2246 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2248 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2250 * src/hildon-time-button.c (hildon_time_button_new_step):
2251 Use the "touch-selector" property to set the selector directly
2252 when creating the object.
2254 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2256 Added a new example application that allows tuning the pannable
2257 area and replaced defines with properties in order to simplify the
2258 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2259 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2260 PROP_DIRECTION_ERROR_MARGIN.
2262 * examples/hildon-pannable-area-tuning-example.c: New example
2264 * src/hildon-pannable-area.c,
2265 (hildon_pannable_area_class_init),
2266 (hildon_pannable_area_init),
2267 (hildon_pannable_area_get_property),
2268 (hildon_pannable_area_set_property),
2269 (hildon_pannable_area_launch_fade_timeout),
2270 (hildon_pannable_area_adjust_value_changed),
2271 (hildon_pannable_axis_scroll),
2272 (hildon_pannable_area_motion_notify_cb),
2273 (hildon_pannable_area_scroll_cb),
2274 (hildon_pannable_area_button_release_cb): We have converted some
2275 of the defines that control the widget to properties to simplify
2278 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2280 * src/hildon-app-menu.c (hildon_app_menu_map)
2281 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2282 so it's closed if a new window appears.
2284 Fixes: NB#104485 (Not able to address the call when application
2285 menu is opened at background)
2287 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2289 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2290 missing 'break' statement in in 'case' construct to avoid
2293 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2295 * src/hildon-touch-selector-entry.c
2296 (hildon_touch_selector_entry_get_property),
2297 (hildon_touch_selector_entry_set_property): Add missing 'break'
2298 statements in in 'case' constructs to avoid incorrect warnings.
2300 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2302 * src/hildon-time-editor.c
2303 (hildon_time_editor_get_time_separators): Do not crash if
2304 the first label is NULL.
2306 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2308 * src/hildon-date-selector.c (_month_days): Check for month to be
2309 strictly less than 12, since otherwise we may overrun the array.
2311 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2313 * src/hildon-date-button.c (+hildon_date_button_new_full)
2314 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2315 (hildon_date_button_init): Set the date selector using a
2316 construction property, to make it happen after HildonButton's
2317 "value" property is set.
2319 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2320 current date by default)
2322 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2324 * doc/hildon-sections.txt
2325 * src/hildon-program.c
2326 * src/hildon-stackable-window.c
2327 * src/hildon-window.c:
2328 Documentation updates
2330 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2332 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2333 (hildon_window_stack_new, +hildon_window_stack_set_property)
2334 (+hildon_window_stack_get_property)
2335 (hildon_window_stack_class_init)
2336 (+hildon_window_stack_set_window_group)
2337 (+hildon_window_stack_get_window_group):
2338 Make the window group a construction property.
2340 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2342 * doc/hildon-sections.txt
2343 * src/hildon-stackable-window-private.h
2344 * src/hildon-stackable-window.h
2345 * src/hildon-stackable-window.c
2346 (-hildon_stackable_window_set_app_menu)
2347 (-hildon_stackable_window_get_app_menu)
2348 (-hildon_stackable_window_toggle_menu)
2349 (-hildon_stackable_window_finalize)
2350 (hildon_stackable_window_class_init)
2351 (hildon_stackable_window_init)
2352 * src/hildon-window-private.h
2353 * src/hildon-window.h
2354 * src/hildon-window.c (hildon_window_init)
2355 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2356 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2357 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2358 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2359 Moved all HildonAppMenu code to HildonWindow. The menu does not
2360 require a HildonStackableWindow anymore.
2362 * src/hildon-app-menu.c
2363 * src/hildon-program.c
2364 * examples/hildon-app-menu-example.c (main):
2365 Update examples and documentation to reflect HildonAppMenu
2368 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2370 * src/hildon-remote-texture.c
2371 * src/hildon-animation-actor.c:
2372 Don't include unused private headers.
2374 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2376 * src/hildon-program-private.h
2377 * src/hildon-program.c
2378 (hildon_program_set_common_menu)
2379 (hildon_program_get_common_menu)
2380 (hildon_program_set_common_app_menu)
2381 (hildon_program_get_common_app_menu):
2382 Change common menu pointers from GtkWidget* to GtkMenu* and
2383 HildonAppMenu* to avoid unnecessary casts.
2385 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2387 * src/hildon-window.c (hildon_window_set_main_menu):
2388 Removed incorrect 'Since:' tag
2390 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2392 * src/hildon-pannable-area.c,
2393 (hildon_pannable_area_calculate_velocity): We use now the
2394 RATIO_TOLERANCE here to check the distance, fixed typo in the
2396 (hildon_pannable_area_motion_notify_cb): We have to set the type
2397 and time even if we are not sending the motion.
2399 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2401 * doc/hildon-sections.txt
2402 * src/hildon-app-menu.h
2403 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2404 (+hildon_app_menu_get_filters): New methods to get the contents of
2407 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2410 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2412 * src/hildon-app-menu.c (hildon_app_menu_popup):
2415 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2417 * src/hildon-window.h
2418 * src/hildon-window.c (+hildon_window_get_main_menu)
2419 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2420 and deprecated hildon_window_get_menu().
2422 * src/hildon-stackable-window.h
2423 * src/hildon-stackable-window.c
2424 (+hildon_stackable_window_set_app_menu)
2425 (+hildon_stackable_window_get_app_menu)
2426 (hildon_stackable_window_set_main_menu): Created
2427 hildon_stackable_window_{get,set}_app_menu() and deprecated
2428 hildon_stackable_window_set_main_menu().
2430 * doc/hildon-sections.txt
2431 * examples/hildon-app-menu-example.c (main)
2432 * src/hildon-app-menu.c
2433 * src/hildon-program.c:
2434 Updated examples and documentation.
2436 Fixes: NB#103758 (No way to obtain a menu from a
2437 HildonStackableWindow)
2439 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2444 * configure.ac: Bump version.
2445 * debian/changelog: Updates.
2447 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2449 * examples/hildon-remote-texture-example.c: Include
2450 hildon-remote-texture.h explicitely.
2451 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2452 applications not defining _XOPEN_SOURCE which don't require this header.
2454 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2456 * doc/hildon-sections.txt
2457 * src/hildon-app-menu.h
2458 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2459 New function to pop up a HildonAppMenu
2461 * src/hildon-stackable-window.c
2462 (hildon_stackable_window_toggle_menu):
2463 Use hildon_app_menu_popup() to show the menu.
2465 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2467 * src/hildon-app-menu.c (hildon_app_menu_show)
2468 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2469 menu if there's another window between it and its parent window.
2471 Fixes: NB#100468 (Application menu window is launched even when a
2472 new secondary-window/dialog is pending to be shown/realized)
2474 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2476 * src/hildon-window-stack.c (hildon_window_stack_push)
2477 (hildon_window_stack_pop_and_push):
2478 Don't forget to push/pop the first window.
2479 Reverse the window list before calling _push_list()
2481 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2483 * src/hildon-picker-button.h
2484 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2485 Remove "value_changed" slot to avoid ABI breakage
2487 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2489 * src/hildon-pannable-area.c,
2490 (hildon_pannable_area_realize),
2491 (hildon_pannable_area_unrealize),
2492 (hildon_pannable_draw_vscroll),
2493 (hildon_pannable_draw_hscroll): Changed the method to handle the
2494 GC used to draw the transparent scrollbar, this way we avoid
2495 creating the GC all the time when drawing the scrollbars.
2497 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2499 * src/hildon-pannable-area.c,
2500 (hildon_pannable_area_init),
2501 (hildon_pannable_area_remove): Removed some unnecessary casts.
2502 (hildon_pannable_area_dispose): Disconnected some signals before
2503 releasing the adjustments.
2505 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2507 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2508 Make sure that all widgets contained in the toolbar are shown.
2510 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2512 * doc/hildon-sections.txt
2513 * src/hildon-picker-button.h
2514 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2515 (_selection_changed, hildon_picker_button_on_dialog_response)
2516 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2517 New hildon_picker_button_value_changed() method.
2520 * src/hildon-picker-button-private.h
2521 * src/hildon-picker-button.c (hildon_picker_button_init)
2522 (+hildon_picker_button_disable_value_changed): Add protected
2523 function for disabling the "value-changed" signal.
2525 * src/hildon-date-button.c (hildon_date_button_set_date):
2526 Don't emit "value-changed" for each one of the three columns.
2528 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2529 before actual change of values)
2531 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2533 * src/hildon-pannable-area.c,
2534 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2535 for the treeview overshooting.
2537 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2539 * src/hildon-banner.c (+hildon_banner_bind_style):
2540 Renamed from hildon_banner_bind_label_style(), now naming the
2541 banner itself as well.
2542 (hildon_banner_show_information),
2543 (hildon_banner_show_information_with_markup),
2544 (hildon_banner_show_animation), (hildon_banner_show_progress):
2545 Name the widgets and labels, based on their type.
2547 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2550 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2552 * src/hildon-note.c (hildon_note_set_property): call
2553 hildon_note_rename() on HildonNote:note-type set.
2554 (hildon_note_rename): Name the note and its label, based on the
2555 HildonNote:note-type property.
2557 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2560 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2562 * src/hildon-pannable-area.c,
2563 (hildon_pannable_area_class_init),
2564 (hildon_pannable_area_motion_notify_cb): Reviewed the default
2565 panning parameters, increased SPS and deceleration factor. Added
2566 also a margin to control fake directions.
2568 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2570 Patch by Sven Herzberg (sven@imendio.com)
2572 * configure.ac: Add missing AM_PROG_CC_C_0
2573 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2575 See NB#101420 (Update unit tests and fix make check)
2577 2009-02-23 Alejandro G. Castro <alex@igalia.com>
2579 This patch was applied before but reverted because it caused
2580 problems, we have changed the main condition and tested the
2581 regressions we detected before and they work ok. We have done a
2582 complete review of the topmost algorithm in order to get a more
2585 * src/hildon-pannable-area.c,
2586 (hildon_pannable_area_get_topmost): Added a new parameter to
2587 filter the the windows that do not include those events.
2588 (hildon_pannable_area_button_press_cb),
2589 (hildon_pannable_area_button_release_cb),
2590 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2591 topmost function, we have added the new parameter.
2593 Fixes: NB#97458 (Pannable area prevents propagation of button
2596 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2598 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
2599 if all columns in the selector have an item selected.
2600 (_on_dialog_response): Stop "response" signal emission if there is
2601 any selector column without selected items.
2603 Fixes: NB#101889 (Picker dialog should not close when nothing is
2604 selected in multiple selection list)
2606 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2608 * src/hildon-font-selection-dialog.c
2609 (hildon_font_selection_dialog_class_init),
2610 (hildon_font_selection_dialog_init): Remove the preview
2611 button and dialog, since previewing with default theming is likely
2612 to be overcomplicated. The :preview property has now no effect.
2613 Update documentation blurbs to inform about this.
2615 Fixes: NB#92297 (Preview content is not clearly visible for
2616 default colour text)
2618 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2620 Reviewed the geometry that handles the children size and
2621 scrollbar, now it tries a size and reviews the results depending
2622 on the scrollbars visibility.
2624 * src/hildon-pannable-area.c,
2625 (hildon_pannable_area_realize): Fixed a typo.
2626 (hildon_pannable_area_child_allocate_calculate): Added this
2627 function to calculate the child allocation.
2628 (hildon_pannable_area_size_allocate): Reviewed the allocation
2630 (hildon_pannable_area_check_scrollbars),
2631 (hildon_pannable_area_refresh): Refactored refresh function, this
2632 way we can call the code handling the scrollbars without causing a
2633 size_request, it is interesting in the allocate.
2634 (hildon_pannable_area_init): Replace the callbacks of the
2635 value_changed and changed signals to propertly deal with the
2637 (hildon_pannable_area_grab_notify),
2638 (hildon_pannable_area_initial_effect),
2639 (hildon_pannable_area_launch_fade_timeout),
2640 (hildon_pannable_area_adjust_changed),
2641 (hildon_pannable_area_adjust_value_changed),
2642 (hildon_pannable_area_redraw),
2643 (hildon_pannable_area_button_press_cb),
2644 (hildon_pannable_area_button_release_cb),
2645 (hildon_pannable_area_scroll_cb),
2646 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
2647 code and use the new functions adjust_changed and
2648 adjust_value_changed.
2650 Fixes: NB#101603 (Focus is not even for the text entry boxes in
2651 Contact editor dialog)
2653 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
2658 * configure.ac: Bump version.
2659 * debian/changelog: Updates.
2661 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2663 * src/hildon-pannable-area.c,
2664 (hildon_pannable_area_get_topmost),
2665 (hildon_pannable_area_button_press_cb),
2666 (hildon_pannable_area_button_release_cb),
2667 (hildon_pannable_get_child_widget_at): Reverted the patch for the
2668 topmost function adding the event mask. We have to try a
2669 differente approach because it is still causing problems (NB#9745,
2672 2009-02-19 Alberto Garcia <agarcia@igalia.com>
2674 * src/hildon-banner.c:
2675 Update the maximum width of timed banners.
2676 (force_to_wrap_truncated): Enforce the maximum text width if the
2679 Fixes: NB#102413 (The text margins (wrapping) in information
2680 banner should be HILDON_MARGIN_TRIPLE)
2682 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2684 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
2686 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
2687 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
2688 bound when calculating the scroll indicator position.
2690 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
2691 treat ->lower correctly)
2693 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2695 * src/hildon-caption.c (hildon_caption_class_init): Remove the
2696 expose event handling, since it is not necessary to draw the focus
2699 Fixes: NB#102467 (Do not show highlight on the text in
2702 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2704 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
2705 full height of the toolbar for the button and the label.
2707 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2709 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
2710 padding before the label and after the button.
2712 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2714 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
2716 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2717 Add a GtkVSeparator between the button and the back arrow.
2718 Let the button have automatic size.
2719 Set a name to the widget for theming handling.
2721 Fixes: NB#101793 (Make edit toolbar the same height as window
2722 title bar (use title area theming))
2724 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2726 * src/hildon-helper.c (attach_new_color_element): Fix memory
2729 Fixes: NB#102262 (memory leak in hildon_button_set_style())
2731 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2733 * examples/hildon-button-example.c (common_buttons_window): Don't
2736 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2738 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2739 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
2741 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2743 * src/hildon-gtk.c: Check that the window is realized.
2745 Fixes: NB#102225 (Crash setting the progress indicator to a non
2748 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2750 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
2751 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
2752 instead of modifying the one in the widget style.
2754 Fixes: NB#101043 (Second row of all the command button are
2755 displayed in transparent mode.)
2757 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2759 * src/hildon-date-button.c
2760 * src/hildon-time-button.c: Add gettext macros
2762 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
2764 * src/hildon-date-button.c (hildon_date_button_new):
2765 * src/hildon-time-button.c (hildon_time_button_new_step):
2766 Use new logical strings to set the button default title.
2768 Fixes: NB#99915 (Date and Time options are not localised in Date
2771 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2773 * src/hildon-pannable-area.c
2774 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
2775 the PANNING_THRESHOLD.
2777 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2779 * src/hildon-pannable-area.c,
2780 (hildon_pannable_area_class_init): Increased the maximum speed.
2781 (hildon_pannable_area_get_property),
2782 (hildon_pannable_area_set_property),
2783 (hildon_pannable_area_timeout): Added a new low friction mode, it
2784 allows the user avoid friction when launching the widget fast
2785 enough. It is interesting to traverse long lists.
2787 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2789 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
2790 (+hildon_stackable_window_delete_event): Ignore delete events if
2791 the window is not the topmost one.
2793 Fixes: NB#101698 (Back button long press and delete-event handling)
2795 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2797 * src/hildon-pannable-area.c,
2798 (hildon_pannable_area_motion_notify_cb): Removed the use of the
2799 gtk-dnd-drag-threshold, it was too big. We have defined our own
2800 dnd define and set a smaller value: PANNIG_THRESHOLD.
2802 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2804 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
2805 user-defined icons, use always the default one.
2807 Fixes: NB#101916 (Do not allow custom icons on animation banner)
2809 2009-02-13 Alejandro G. Castro <alex@igalia.com>
2811 This patch was applied before but reverted because it caused
2812 problems, we have changed the main condition and tested the
2813 regressions we detected before and they work ok.
2815 * src/hildon-pannable-area.c,
2816 (hildon_pannable_area_get_topmost): Added a new parameter to
2817 filter the the windows that do not include those events. Added
2818 also a condition when finding the window to filter windows that do
2819 not ask for those events.
2820 (hildon_pannable_area_button_press_cb),
2821 (hildon_pannable_area_button_release_cb),
2822 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2823 topmost function, we have added the new parameter.
2825 Fixes: NB#97458 (Pannable area prevents propagation of button
2828 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2830 * tests/check-hildon-color-button.c (START_TEST): do not leak
2833 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2835 * src/hildon-font-selection-dialog.c
2836 (hildon_font_selection_dialog_get_preview_text): Return NULL
2837 instead of FALSE on the g_return_val_if_fail().
2839 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2841 * src/hildon-time-selector.c (hildon_time_selector_set_time):
2842 * src/hildon-date-selector.c
2843 (hildon_date_selector_select_current_date):
2844 Do not compare unsigned integers to be greater than or equal 0,
2845 because it's always TRUE.
2847 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2849 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
2850 (hildon_date_selector_constructor): Do not select the current
2851 date until we are handle the "changed" signal, to avoid having bogus
2852 elements in the days model.
2854 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2856 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
2857 for num_days, since _month_days() can return a negative value.
2859 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2861 * src/hildon-caption.c (hildon_caption_size_allocate):
2862 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
2863 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
2865 Initialize allocation variables to 0, to avoid eventually using
2866 unitialized variables.
2868 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2870 * src/hildon-bread-crumb-trail.c
2871 (hildon_bread_crumb_trail_size_allocate):
2872 * src/hildon-calendar.c (hildon_calendar_set_background):
2873 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
2874 * src/hildon-range-editor.c (hildon_range_editor_get_range):
2875 * src/hildon-seekbar.c (hildon_seekbar_init):
2876 * src/hildon-time-editor.c (hildon_time_editor_get_time):
2877 * src/hildon-time-selector.c (hildon_time_selector_finalize):
2878 * src/hildon-touch-selector-entry.c
2879 (hildon_touch_selector_get_text_from_model):
2880 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
2881 * src/hildon-window.c (hildon_window_finalize):
2883 Remove many unused variables.
2885 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2887 * src/hildon-seekbar.c: (hildon_seekbar_init),
2888 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
2890 Remove unnecessary g_assert() calls.
2892 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2894 * src/hildon-caption.c: (hildon_caption_expose),
2895 (hildon_caption_set_property), (hildon_caption_init),
2896 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
2897 (hildon_caption_size_request), (hildon_caption_size_allocate),
2898 (hildon_caption_forall), (hildon_caption_set_separator),
2899 (hildon_caption_activate), (hildon_caption_set_child_expand),
2900 (hildon_caption_set_label_text),
2901 (hildon_caption_get_label_alignment):
2903 Remove unnecessary g_assert() calls.
2905 2009-02-12 Alberto Garcia <agarcia@igalia.com>
2907 * src/hildon-banner.c
2908 (hildon_banner_map, hildon_banner_init): Make banner temporary
2909 before mapping it to avoid closing other temporary windows, but
2910 make it non-temporary afterwards to avoid being closed by other
2911 non-temporary windows.
2912 (-hildon_banner_client_event, hildon_banner_init):
2913 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
2915 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
2918 2009-02-11 Alberto Garcia <agarcia@igalia.com>
2920 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
2923 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2925 * src/hildon-remote-texture.c
2926 * src/hildon-remote-texture.h
2927 * src/hildon-remote-texture-private.h
2928 * examples/hildon-remote-texture-example.c:
2929 Updates/fixes to remote-texture and its example.
2931 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
2933 Patch by Mox Soini (ext-mox.soini@nokia.com)
2935 * src/hildon-code-dialog.c: Update logical id.
2936 * src/hildon-set-password-dialog.c: Update logical id.
2938 Fixes: NB#100646 (Logical strings is shown for ok in set
2939 password,Password needed dialogs)
2941 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2944 * src/hildon-remote-texture.c
2945 * src/hildon-remote-texture.h
2946 * src/hildon-remote-texture-private.h
2948 Added remote texture widget (for Clutter shared memory textures)
2950 * examples/hildon-remote-texture-example.c
2951 * examples/Makefile.am
2952 Added example file for remote texture usage
2954 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
2956 * configure.ac: post release version bump.
2957 * debian/changelog: version bump.
2959 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
2964 * configure.ac: Bump version.
2965 * debian/changelog: Updates.
2967 2009-02-06 Alberto Garcia <agarcia@igalia.com>
2969 * src/hildon-date-selector.c (hildon_date_selector_init)
2970 (hildon_date_selector_constructor): Don't connect to the "changed"
2971 signal until the selector is completely constructed.
2973 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2975 * src/hildon-touch-selector.c: (_create_new_column),
2976 (hildon_touch_selector_append_column),
2977 (hildon_touch_selector_set_column_selection_mode),
2978 (hildon_touch_selector_set_active),
2979 (hildon_touch_selector_select_iter):
2980 Emit the HildonTouchSelector::changed signal every time selection
2981 is changed in any of the methods above. This behavior was already
2982 documented but not fully functional.
2984 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
2985 selection is programmatically changed)
2987 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2989 * doc/hildon-sections.txt: Remove obsolete icon
2990 sizes from here as well.
2992 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2994 * examples/hildon-stackable-window-example.c (add_window): Remove
2997 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2999 * src/hildon-app-menu.c
3000 (hildon_app_menu_show): Check whether the parent window of a menu
3001 is topmost before popping it up.
3003 Fixes: NB#100468 (Application menu window is launched even when a
3004 new secondary-window/dialog is pending to be shown/realized.)
3006 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3008 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3011 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3013 Patch by Mox Soini (ext-mox.soini@nokia.com)
3015 * src/hildon-banner.c: (hildon_banner_show_animation):
3016 use stylus size instead of obsolete note size.
3017 * src/hildon-defines.h: Update icon sizes.
3019 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3021 * src/hildon-touch-selector-entry.c:
3022 (hildon_touch_selector_entry_init): Disable unsupported
3024 (hildon_touch_selector_entry_get_text_column): Emit a warning
3025 if an unsupported input modes is used and explicitile state
3026 these modes in the documentation.
3028 Fixes: NB#99802 (Hildon touch selector entry not working properly
3029 for some of the input modes)
3031 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3033 * src/hildon-pannable-area.c,
3034 (hildon_pannable_area_init): Added the changed signal handlers of
3037 Fixes: NB#100320 (HildonPannableArea does not listen to
3038 GtkAdjustment "change" signals)
3040 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3042 * doc/hildon-sections.txt
3043 * src/hildon-window-private.h
3044 * src/hildon-window.h
3045 * src/hildon-window.c (hildon_window_init)
3046 (hildon_window_realize, hildon_window_unrealize)
3047 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3048 (hildon_window_size_request, hildon_window_size_allocate)
3049 (hildon_window_forall, hildon_window_show_all)
3050 (hildon_window_destroy, +paint_edit_toolbar)
3051 (+hildon_window_set_edit_toolbar):
3052 New hildon_window_set_edit_toolbar() method, to add a
3053 HildonEditToolbar to a window without having to pack it manually.
3055 Reorganize hildon_window_size_allocate()
3057 * src/hildon-edit-toolbar.c: Update documentation.
3059 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3060 example to use the new API.
3062 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3064 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3066 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3067 Remove from stack before calling parent's hide.
3069 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3071 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3072 window is removed from the middle of the stack, update the
3073 transiency of the previous one.
3075 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3078 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3080 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3081 block/unblock the signal handler if it's not actually being used.
3082 Fixes some critical warnings.
3084 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3086 Based on a patch by Iván Gómez (igomez@igalia.com)
3088 * src/hildon-banner.c
3092 * src/hildon-pannable-area.c
3093 * src/hildon-picker-dialog.c
3094 * src/hildon-wizard-dialog.h
3095 * src/hildon-wizard-dialog.c: Documentation updates.
3097 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3098 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3100 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3102 * configure.ac: post release version bump.
3103 * debian/changelog: version bump.
3105 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3110 * configure.ac: Bump version.
3111 * debian/changelog: Updates.
3113 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3115 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3116 a stock icon nor change the relief of the back arrow.
3118 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3119 graphics from theme)
3121 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3123 * src/hildon-button.c (hildon_button_set_alignment): Use
3124 priv->alignment if the button has no child yet.
3126 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3128 * src/hildon-button.c: (hildon_button_init): Set the
3129 button style during initialization to give it the proper
3132 Fixes: NB#99713 (HildonButton value label color is wrong)
3134 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3136 * src/hildon-touch-selector.c: Document
3137 hildon_touch_selector_center_on_selected()
3139 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3141 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3142 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3143 all menu items, but not the menu itself.
3144 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3145 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3146 items after adding them to the menu so keyboard accelerators work.
3147 (hildon_app_menu_show): Don't show the menu if it contains items
3148 but none of them are visible.
3150 * examples/hildon-app-menu-example.c (create_menu): Use
3151 gtk_widget_show_all() to show all menu items.
3153 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3155 * src/hildon-picker-dialog.c:
3156 (-_update_title_on_selector_changed_cb),
3157 (-_dialog_update_title): Removed.
3158 (_select_on_selector_changed_cb), (_on_dialog_response),
3159 (on_selector_columns_changed): Do not update the dialog title.
3160 (setup_interaction_mode): Do not connect to
3161 HildonTouchSelector::changed signal if there's a "done" button, as
3162 the dialog title doesn't need to be updated.
3164 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3167 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3169 Patch by Kristian Rietveld (kris@imendio.com)
3171 * src/hildon-touch-selector.c: (_create_new_column): Use new
3172 GtkTreeView::hildon-row-tapped signal to react to user interactions
3173 instead of ::changed.
3175 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3176 with some dynamic tree model)
3178 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3180 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3181 (+screen_size_changed, +label_size_request)
3182 (hildon_note_class_init): Make the Hildon information note have a
3183 minimum height, and make its text hvae a maximum width.
3185 Fixes: NB#98614 (Hildon information note (background) should have
3186 minimum height and maximum text width)
3188 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3190 * src/hildon-banner.h
3191 * src/hildon-banner.c (hildon_banner_show_information)
3192 (hildon_banner_show_informationf)
3193 (hildon_banner_show_information_with_markup): Update documentation
3194 to reflect that the icon_name parameter is not used anymore.
3195 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3196 Remove all code from these functions and mark them as deprecated.
3197 (hildon_banner_show_progress): Mark as deprecated.
3199 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3201 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3203 * src/hildon-pannable-area.c,
3204 (hildon_pannable_area_class_init),
3205 (tranparency_color),
3206 (hildon_pannable_draw_vscroll),
3207 (hildon_pannable_draw_hscroll),
3208 (hildon_pannable_area_expose_event): Added a new way to render the
3209 scrollbars of the pannable area avoiding using cairo at all. This
3210 way we improve the performance of the pannable area rendering. The
3211 cairo rendering procedure is still in the code, we can control
3212 which one to use changing the value of the define
3213 USE_CAIRO_SCROLLBARS.
3215 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3217 * configure.ac: post release version bump.
3218 * debian/changelog: version bump.
3220 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3225 * configure.ac: Bump version.
3226 * debian/changelog: Updates.
3228 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3230 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3231 banners instead of destroying them when they receive a button
3234 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3236 Reverted commit 34028, it was causing regressions, probably the
3237 topmost condition is not correct, we have to check it in more
3238 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3239 propagation of button press events)
3241 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3243 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3244 that the selection is not empty before attempting to retrieve the
3245 current ampm selection.
3247 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3249 * src/hildon-picker-button.c:
3250 (hildon_picker_button_on_dialog_response): Directly update the
3251 button contents when required instead of calling _selection_changed.
3253 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3255 * src/hildon-program.c (hildon_program_update_top_most): Update
3256 'is-topmost' property also when wm_hints is not set.
3258 Fixes: NB#98383 (is-topmost signal is not emitted when task
3259 switcher is clicked.)
3261 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3263 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3267 * src/hildon-animation-actor.c,
3268 * src/hildon-animation-actor.h: Added the animation actor class,
3269 this widget represents an animation actor for WM-assisted
3270 animation effects in the Hildon framework.
3272 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3274 * src/hildon-window-stack-private.h
3275 * src/hildon-window-stack.c
3276 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3277 Avoid calling gtk_widget_show() again indirectly from
3278 hildon_stackable_window_show()
3280 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3282 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3285 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3287 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3288 (hildon_time_selector_init): Move the construction of the hours and
3289 ampm columns to the constructor to preserve the order the columns
3292 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3294 * src/hildon-picker-dialog.c:
3295 (hildon_picker_dialog_class_init): Connect a realize method.
3296 (+hildon_picker_dialog_realize): Setup the interaction mode here
3298 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3299 yet, do it during the realize instead.
3300 (_on_dialog_response):
3301 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3302 if the widget is not realized, to avoid the dialog response before it
3305 Avoid premature responses in the HildonPickerDialog that can cause it
3306 to be hidden before it's even shown.
3308 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3310 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3311 (on_selector_columns_changed), (requires_done_button),
3312 (+prepare_action_area), (setup_interaction_mode),
3313 (_hildon_picker_dialog_set_selector):
3315 Split the interaction mode setup into preparation of the
3316 action area (prepare_action_area()) and the connection of
3317 the signals in setup_interaction_mode() and update the code to
3320 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3322 * src/hildon-pannable-area.c,
3323 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3324 per second to 15, we will check if this is ok regarding
3327 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3329 * src/hildon-pannable-area.c,
3330 (hildon_pannable_axis_scroll): Avoid resize if we already have
3331 reached overshoot_max.
3333 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3335 * src/hildon-pannable-area.c,
3336 (hildon_pannable_area_init),
3337 (hildon_pannable_area_realize),
3338 (hildon_pannable_area_size_allocate),
3339 (hildon_pannable_area_map),
3340 (hildon_pannable_area_unmap),
3341 (hildon_pannable_draw_vscroll),
3342 (hildon_pannable_draw_hscroll),
3343 (hildon_pannable_area_expose_event),
3344 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3345 pannable are to avoid the expose events go to the window and
3346 redraw the window. We save this way that part of the stack and the
3347 paint_boxes. We had to change the positions of the elements when
3350 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3352 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3353 * src/hildon-color-chooser-dialog.c:
3354 (hildon_color_chooser_dialog_init):
3355 * src/hildon-font-selection-dialog.c:
3356 (hildon_font_selection_dialog_init),
3357 (hildon_font_selection_dialog_show_preview):
3358 * src/hildon-get-password-dialog.c:
3359 * src/hildon-login-dialog.c:
3360 * src/hildon-set-password-dialog.c:
3361 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3362 * src/hildon-time-picker.c: (hildon_time_picker_init):
3364 Remove obsolete logical string IDs and update to the appropriate ones.
3366 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3368 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3370 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3371 that happens if the window hasn't been realized yet.
3373 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3374 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3376 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3378 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3379 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3382 Fixes: NB#98537 (Device hangs in account settings dialog)
3384 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3386 * configure.ac: post release version bump.
3387 * debian/changelog: version bump
3389 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3394 * configure.ac: Bump version.
3395 * debian/changelog: Updates.
3397 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3399 Added a new function to the HildonTimeButton widget that allows to
3400 change the step of the minutes in the selector associated with the
3401 button: hildon_time_button_new_step
3403 * src/hildon-time-button.c,
3404 (hildon_time_button_init),
3405 (hildon_time_button_new),
3406 (hildon_time_button_new_step):
3407 * src/hildon-time-button.h: Added the new function and refactored
3409 * examples/hildon-time-button-example.c,
3410 (main): We have replaced the function without parameters with the
3411 function with the steps set to 5
3413 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3415 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3417 * src/hildon-time-selector.c,
3418 (hildon_time_selector_class_init),
3419 (hildon_time_selector_constructor),
3420 (hildon_time_selector_get_property),
3421 (hildon_time_selector_set_property),
3422 (_create_minutes_model),
3423 (hildon_time_selector_new_step),
3424 (hildon_time_selector_set_time),
3425 * src/hildon-time-selector.h: Added a new property to the
3426 HildonTimeSelector (minutes-step), we use that property to control
3427 the steps between the minutes in the list of the selector. We have
3428 added a new function to the API to create a widget changing the
3429 step: hildon_time_selector_new_step.
3431 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3433 * src/hildon-time-selector.c,
3434 (hildon_time_selector_class_init),
3435 (hildon_time_selector_constructor),
3436 (hildon_time_selector_init): Overrided the construct function when
3437 creating the time selector object. We have moved the minutes model
3438 handling code from the init to the new construction function:
3439 hildon_time_selector_constructor.
3441 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3443 * examples/hildon-date-button-example.c: (main): Use the new
3444 hildon_date_button_new_with_year_range() method in the example.
3445 * src/hildon-date-button.c:
3446 (+hildon_date_button_new_with_year_range): New public method
3447 to conveniently create a HildonDateButton with a custom year range
3448 in its HildonDateSelector.
3449 * src/hildon-date-button.h: Add the new public method definition.
3451 Fixes: NB#97908 (Not possible to change the year range in
3452 HildonDateSelector/HildonDateButton)
3454 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3456 * src/hildon-date-selector.c:
3457 (+hildon_date_selector_set_property),
3458 (+hildon_date_selector_get_property),
3459 (hildon_date_selector_class_init): Install new properties "min-year"
3460 and "max-year" to define boundaries for the year column.
3461 (_create_year_model): Use the boundary properties to populate the model.
3462 (+hildon_date_selector_new_with_year_range): New public method to
3463 create a HildonDateSelector with a user defined year range.
3464 (hildon_date_selector_select_current_date): Use the new boundaries to
3465 calculate the iterator of current year.
3466 * src/hildon-date-selector.h: Add the new public method definition.
3468 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3470 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3471 Install a constructor method.
3472 (+hildon_date_selector_construct_ui): construct the widget.
3473 (+hildon_date_selector_constructor): new constructor.
3474 (+hildon_date_selector_init): move out widget construction code to
3475 the new constructor.
3477 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3479 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3480 that there's actually a month or year selected before obtaining them.
3481 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3482 of the HildonTouchSelector::changed signal, as it was emitted on every
3483 single item selection.
3485 Fix some warnings and possible crashers due to the selection restoring.
3487 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3489 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3490 the signal handlers only after creating the dialog instead of on every
3493 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3495 * src/hildon-button.c (hildon_button_init)
3496 * src/hildon-check-button.c (hildon_check_button_init)
3497 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3498 focus when clicked by default.
3500 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3502 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3505 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3507 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3508 Alejandro G. Castro (alex@igalia.com)
3510 * src/hildon-picker-dialog.c:
3511 (hildon_picker_dialog_class_init): install new "center-on-show"
3513 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3514 (hildon_picker_dialog_set_property): add setter code for the new
3516 (hildon_picker_dialog_get_property): add getter code for the new
3518 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3519 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3522 Fixes: NB#92849 (Selected item is not always visible when
3523 HildonTouchSelector is shown)
3525 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3527 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3528 Alejandro G. Castro (alex@igalia.com)
3530 * src/hildon-touch-selector.c:
3531 (_create_new_column): Do not connect to the "realize" signal of the
3533 (hildon_touch_selector_append_column): center on the selected items
3534 when a new column is appended.
3535 (hildon_touch_selector_select_iter): Factor out the code to select a
3536 column to hildon_touch_selector_scroll_to().
3537 (+search_nearest_element): Method to retrieve the nearest selected
3538 element to the visible area of the pannable area in a column.
3539 (+on_realize_cb): scroll to the initially selected item.
3540 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3541 the pannable area is realized, otherwise delay this until it is.
3542 (+_hildon_touch_selector_center_on_selected_items): Centers on the
3543 selected items of a given column.
3544 (+hildon_touch_selector_center_on_selected): Public method to center
3545 all columns on the nearest selected item.
3546 * src/hildon-touch-selector.h: Add definition for
3547 hildon_touch_selector_center_on_selected().
3549 Implement public API to ensure visibility of all selected items in
3550 a HildonTouchSelector.
3552 2009-01-16 Alejandro G. Castro <alex@igalia.com>
3554 Fixed a problem in the fading when calling the scroll_to API, and
3555 improve scrollbar fading handling.
3557 * src/hildon-pannable-area.c,
3558 (hildon_pannable_area_grab_notify): avoid the timeout when the
3560 (hildon_pannable_area_button_press_cb),
3561 (hildon_pannable_area_motion_notify_cb): Code style changes.
3562 (hildon_pannable_area_button_release_cb): Review the conditions
3563 when releasing the mouse button to avoid unrequired fading
3565 (hildon_pannable_area_scroll_to): Do not calculate and set the
3566 velocity if the scroll is not required.
3568 2009-01-15 Alberto Garcia <agarcia@igalia.com>
3570 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3571 Don't check whether the new selector is NULL: it cannot be.
3572 Hold a reference to the selector while doing the replacement.
3574 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3576 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3577 unnecessary size_request in a removed widget.
3579 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3581 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3582 an unnecessary reference tracking that was leaking.
3584 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3586 Added delayed motion notify event handling, this way we can
3587 discard redrawing if more than 25 events arrive per second.
3589 * src/hildon-pannable-area.c,
3590 (hildon_pannable_area_init): Initialized the new private atributes
3591 controlling this timeout
3592 (hildon_pannable_area_dispose): Remove the timeout that controls
3593 the motion notify events.
3594 (hildon_pannable_area_scroll): Added a condition to control the
3595 use of the acceleration.
3596 (hildon_pannable_area_motion_event_scroll_timeout),
3597 (hildon_pannable_area_motion_event_scroll): Added this two
3598 functions, they handle the motion notify events inside the
3600 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
3601 to the scroll method with the new function.
3602 (hildon_pannable_area_button_release_cb): We have to remove the
3603 timeout handler and move to the last position if the last motion
3604 events were not handled.
3606 Fixes: NB#97028 (Pannable area updates on every motion event)
3608 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3610 * src/hildon-pannable-area.c,
3611 (hildon_pannable_area_get_topmost): Added a new parameter to
3612 filter the the windows that do not include those events. Added
3613 also a condition when finding the window to filter windows that do
3614 not ask for those events.
3615 (hildon_pannable_area_button_press_cb),
3616 (hildon_pannable_area_button_release_cb),
3617 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3618 topmost function, we have added the new parameter.
3620 Fixes: NB#97458 (Pannable area prevents propagation of button
3623 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3625 * src/hildon-pannable-area.c,
3626 (hildon_pannable_area_initial_effect): Added controls before
3627 launching the timeout and the idle functions.
3628 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
3629 of the method, in some situations it can return with TRUE and 0 in
3631 (hildon_pannable_area_button_press_cb): We do not need to set
3632 DELAY for fading out here.
3634 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
3636 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3638 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
3639 post-cleaning if the selection is not NULL.
3641 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3643 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
3644 all items before restoring the selection.
3646 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3648 * src/hildon-touch-selector.c:
3649 (+hildon_touch_selector_unselect_all):
3650 * src/hildon-touch-selector.h: New API to unselect all items in a
3651 column of the touch selector.
3653 2009-01-14 Alejandro G. Castro <alex@igalia.com>
3655 * src/hildon-pannable-area.c,
3656 (hildon_pannable_area_redraw): Added a call to the refresh
3657 function inside the redraw because apparently in some cases the
3658 change in the adjustment does not imply a size allocate.
3660 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
3661 despite the view not being scrollable)
3663 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3665 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
3666 leak. Check for NULL before attempting to set the window title.
3668 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3670 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
3671 whether to show or not the 'Done' button each time the dialog is
3672 shown, as it depends on the HildonTouchSelector selection mode.
3674 Fixes: NB#96226 (In multiple selection mode Done button is shown
3675 sometimes in listpicker)
3677 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3679 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3680 for the number of columns in the HildonTouchSelector more than once.
3682 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3684 * src/hildon-touch-selector.c: Minor documentation fixes.
3686 * src/hildon-picker-dialog.c (+_dialog_update_title)
3687 (_select_on_selector_changed_cb)
3688 (_update_title_on_selector_changed_cb)
3689 (on_selector_columns_changed): Update dialog title when there's no
3690 'Done' button and also when the number of columns in the selector
3694 * src/hildon-picker-button.c (hildon_picker_button_finalize)
3695 (+_selection_changed, hildon_picker_button_on_dialog_response)
3696 (hildon_picker_button_selector_selection_changed)
3697 (+hildon_picker_button_selector_columns_changed)
3698 (hildon_picker_button_set_selector): Update button value and emit
3699 'value-changed' when the number of columns in the selector
3703 Fixes: NB#96225 (Dialog titles are not shown according to the
3704 values selected in the list picker)
3706 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3708 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
3709 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
3710 New "arrow-width" and "arrow-height" style properties to set the
3711 size of the arrow button.
3712 Set name of arrow button ("hildon-edit-toolbar-arrow").
3714 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3715 graphics from theme)
3717 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3719 * src/hildon-picker-button.c:
3720 (hildon_picker_button_selector_selection_changed): Use
3721 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
3722 the dialog is present.
3724 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
3725 the selection is accepted in the dialog)
3727 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3729 * src/hildon-color-chooser.h
3730 * src/hildon-color-chooser-dialog.h:
3731 Added G_BEGIN_DECLS and G_END_DECLS
3733 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3735 (_clean_current_selection): plug a leak in the list.
3737 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3739 * src/hildon-picker-dialog.c:
3740 (+free_path_list): Method to free a GList of GtkTreePaths.
3741 (_clean_current_selection), (_save_current_selection),
3742 (_restore_current_selection): Save the current selection in
3743 as a list of lists, to support multiple selection properly.
3745 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3747 patch by Claudio Saavedra (csaavedra@igalia.com)
3749 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
3750 Store the press position.
3751 (+hildon_text_view_button_release_event): If the release position is
3752 close enough to the press position, move the cursor here. Otherwise,
3754 (hildon_text_view_class_init): Override GtkTextView press, release, and
3755 motion event handlers, disabling this way text selection through
3756 pointer interaction, and allowing the container widget to handle the
3759 Fixes: NB#95828 (HildonTextView functionality)
3761 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3763 Based on a patch by Iván Gómez (igomez@igalia.com)
3765 * src/hildon-button.[ch]
3766 * src/hildon-calendar.c
3767 * src/hildon-check-button.c
3768 * src/hildon-date-editor.c
3769 * src/hildon-date-selector.c
3770 * src/hildon-picker-button.c
3771 * src/hildon-time-editor.c
3772 * src/hildon-time-selector.c
3773 * src/hildon-touch-selector.[ch]:
3774 Documentation updates
3776 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3778 * src/hildon-pannable-area.c,
3779 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
3780 threshold, it was required due to X events handling.
3782 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3784 * src/hildon-pannable-area.c,
3785 (hildon_pannable_area_grab_notify),
3786 (hildon_pannable_area_initial_effect),
3787 (hildon_pannable_area_button_press_cb),
3788 (hildon_pannable_area_button_release_cb),
3789 (hildon_pannable_area_scroll_cb),
3790 (hildon_pannable_area_scroll_to): Review the timeout management of
3791 the scrollbar, the frecuency was incorrectly set.
3793 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
3795 * src/hildon-picker-button.c:
3796 (+hildon_picker_button_on_dialog_response),
3797 (hildon_picker_button_clicked): Present the dialog instead of
3798 running it with gtk_dialog_run().
3800 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
3803 2009-01-07 Alberto Garcia <agarcia@igalia.com>
3805 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3806 (hildon_app_menu_finalize): When a window is hidden it doesn't
3807 emit notify::is-topmost, so make sure than the menu also
3808 disappears in that case.
3809 (parent_window_topmost_notify): Renamed from parent_window_hidden
3811 Fixes: NB#94460 (stackable window's menu is not closed when its
3814 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3816 * src/hildon-touch-selector-entry.c:
3817 (+hildon_touch_selector_entry_set_input_mode),
3818 (+hildon_touch_selector_entry_get_input_mode):
3819 * src/hildon-touch-selector-entry.h: New methods to access the input
3820 mode in the selector's entry.
3822 Fixes: NB#93410 (API required for setting IM mode in
3823 HildonTouchSelectorEntry)
3825 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3827 * configure.ac: post release version bump.
3828 * debian/changelog: version bump
3830 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3835 * configure.ac: Bump version.
3836 * debian/changelog: Updates.
3838 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
3840 * src/hildon-touch-selector.c:
3841 (_hildon_touch_selector_has_multiple_selection): No need
3842 to initialize the variables here.
3844 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3846 * src/hildon-note-private.h
3847 * src/hildon-note.c (event_box_press_event, hildon_note_init)
3848 (hildon_note_finalize, hildon_note_rebuild): Close information
3849 notes when they receive a button press.
3851 Fixes: NB#89890 (Information notes does not get disappeared after
3854 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
3856 * src/hildon-wizard-dialog.c: (create_title): Remove translation
3857 mark from the wizard title, as it's not really necessary. Also,
3858 do not display the page title if not set.
3860 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3862 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3863 (parent_window_hidden): Use the window's "is-topmost" property to
3864 detect when to hide the menu.
3866 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3868 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3869 (hildon_app_menu_finalize): If the parent window of the menu is
3870 hidden, hide the menu too.
3872 Fixes: NB#94460 (stackable window's menu is not closed when its
3875 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3878 * debian/libhildon1-examples.install
3880 * examples/Makefile.am:
3881 Use dh_install to install all examples.
3882 Use DEB_SRCDIR instead of defining SOURCE_DIR
3884 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3886 * configure.ac: post release version bump.
3887 * debian/changelog: version bump
3889 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3894 * configure.ac: bump version
3895 * debian/changelog: updates
3896 * debian/control: bump gtk+ dependency
3898 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3900 patch by Christian Dywan (christian@imendio.com)
3902 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
3903 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
3905 2008-12-15 Alberto Garcia <agarcia@igalia.com>
3907 * src/hildon-check-button.c (hildon_check_button_init)
3908 (hildon_check_button_class_init, hildon_check_button_style_set)
3909 (hildon_check_button_apply_style):
3910 New "checkbox-size" style property.
3912 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
3913 larger / configurable size)
3915 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3917 * configure.ac: post release version bump.
3918 * debian/changelog: version bump
3920 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3925 * configure.ac: bump version
3926 * debian/changelog: updates
3928 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3930 * doc/hildon-sections.txt
3931 * src/hildon-pannable-area.c
3932 * src/hildon-program.c
3933 * src/hildon-time-editor.c
3934 * src/hildon-touch-selector-entry.c:
3936 More documentation updates.
3938 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3940 * doc/hildon-sections.txt
3941 * src/hildon-caption.c
3942 * src/hildon-code-dialog.c
3943 * src/hildon-color-button.c
3944 * src/hildon-controlbar.c
3945 * src/hildon-date-editor.c
3946 * src/hildon-date-selector.c
3947 * src/hildon-edit-toolbar.c
3948 * src/hildon-find-toolbar.c
3949 * src/hildon-font-selection-dialog.c
3951 * src/hildon-program.c
3952 * src/hildon-range-editor.c
3953 * src/hildon-seekbar.c
3954 * src/hildon-time-editor.c
3955 * src/hildon-time-selector.c
3956 * src/hildon-volumebar-range.c
3957 * src/hildon-volumebar.c
3958 * src/hildon-vvolumebar.c
3959 * src/hildon-weekday-picker.c
3960 * src/hildon-window.c
3961 * src/hildon-wizard-dialog.c:
3963 Lots of documentation fixes.
3965 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3967 Patch contributed by Iván Gómez (igomez@igalia.com)
3969 * src/hildon-check-button.c:
3970 * src/hildon-date-button.c:
3971 * src/hildon-date-selector.c:
3972 * src/hildon-dialog.c:
3973 * src/hildon-edit-toolbar.c:
3974 * src/hildon-entry.c:
3975 * src/hildon-picker-button.c:
3976 * src/hildon-program.c:
3977 * src/hildon-text-view.c:
3978 * src/hildon-time-button.c:
3979 * src/hildon-touch-selector-entry.c:
3980 * src/hildon-window-stack.c:
3982 Add more "since" tags to the new API.
3984 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3986 * doc/hildon-sections.txt: Add below method.
3987 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
3988 version for the hildonized scale.
3989 * src/hildon-gtk.h: Add the definition.
3991 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3993 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3995 * doc/hildon-sections.txt: Add missing entries for new methods.
3997 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3999 Added API to pannable are in order to get its adjustments. We
4000 added two properties to manage the values we had in the private
4003 * src/hildon-pannable-area.c:
4004 (hildon_pannable_area_class_init): Added hadjustment and
4005 vadjustment properties in order to expose horizontal and vertical
4007 (hildon_pannable_area_get_property),
4008 (hildon_pannable_area_set_property): Added code to handle the new
4010 (hildon_pannable_area_get_hadjustment),
4011 (hildon_pannable_area_get_vadjustment): API functions to get the
4013 * src/hildon-pannable-area.h:
4014 (hildon_pannable_area_get_hadjustment),
4015 (hildon_pannable_area_get_vadjustment): API functions to get the
4018 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4020 Fixed some leaks, after valgrinding.
4022 * src/hildon-touch-selector.c:
4023 (_default_print_func): Fixed a leak.
4024 (hildon_touch_selector_append_column): Fixed a leak.
4025 * src/hildon-date-button.c:
4026 (hildon_date_button_init): Fixed a leak.
4027 * src/hildon-date-selector.c
4028 (hildon_date_selector_finalize): Fixed a leak.
4030 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4032 Based on a patch by Christian Dywan (christian@imendio.com)
4034 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4036 * src/hildon-gtk.h: Add definition.
4038 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4040 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4042 * src/hildon-picker-button.c: (hildon_picker_button_init),
4043 (hildon_picker_button_new): Set the HildonButton::style property
4044 in the init method, to propagate the value to the derived classes.
4046 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4048 * src/hildon-button.c: (hildon_button_class_init): Do not make
4049 the "style" property a construct property.
4051 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4053 * src/hildon-wizard-dialog.h
4054 * src/hildon-wizard-dialog.c
4055 (hildon_wizard_dialog_set_forward_page_func)
4056 * src/hildon-pannable-area.h
4057 * src/hildon-pannable-area.c
4058 (hildon_pannable_area_set_size_request_policy):
4059 Documentation fixes.
4061 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4063 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4065 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4067 * doc/hildon-sections.txt: Added sections file.
4069 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4072 * src/*.[ch]: Updates.
4074 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4076 * examples/hildon-progress-indicator-example.c: new file
4077 * examples/Makefile.am: include the new example program
4079 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4081 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4083 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4085 * configure.ac: post release version bump
4086 * debian/changelog: version bump
4088 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4093 * configure.ac: bump version
4094 * debian/changelog: updates
4095 * debian/control: bump gtk+ dependency
4097 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4099 * src/hildon-dialog.c: Mark as deprecated.
4100 * src/hildon-dialog.h: Mark as deprecated.
4101 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4102 from HildonDialog and still work, even if
4103 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4104 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4106 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4107 maemo changes) instead)
4109 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4111 * src/hildon-pannable_area.h:
4112 * src/hildon-pannable_area.c:
4113 (hildon_pannable_area_class_init),
4114 (hildon_pannable_area_set_property),
4115 (hildon_pannable_area_get_property),
4116 (hildon_pannable_area_size_request),
4117 (hildon_pannable_area_get_size_request_policy),
4118 (hildon_pannable_area_set_size_request_policy): Added new API
4119 allowing applications to control the request policy. Now they can
4120 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4121 children allocation (HILDON_MOVEMENT_CHILDREN).
4123 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4127 (hildon_gtk_tree_view_set_ui_mode)
4128 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4129 mode of treeviews and iconviews.
4131 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4133 * src/hildon-touch-selector-entry.c:
4134 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4135 of a GtkEntry to get proper theming.
4137 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4138 widget, not GtkEntry)
4140 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4142 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4143 no HildonWizardDialogPageFunc.
4145 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4147 Patch contributed by Iván Gómez (igomez@igalia.com)
4149 * src/hildon-app-menu.c:
4150 * src/hildon-button.c:
4151 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4152 * src/hildon-stackable-window.c:
4153 * src/hildon-time-selector.c:
4154 * src/hildon-touch-selector.c:
4155 * src/hildon-window.c:
4157 Add more "since" tags to the new API in hildon 2.2.
4159 2008-12-05 Tim Janik <timj@imendio.com>
4161 Patch contributed by Christian Dywan (christian@imendio.com)
4163 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4164 HildonSizeType, which are supplied by Gtk+ now.
4166 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4168 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4169 (with maemo changes) instead)
4171 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4173 Patch contributed by Iván Gómez (igomez@igalia.com)
4175 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4178 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4180 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4181 (some_page_func), (main): Update the example to use a
4182 HildonWizardDialogPageFunc function.
4184 * src/hildon-wizard-dialog-private.h: Add private data for
4185 the HildonWizardDialogPageFunc function usage.
4187 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4188 (destroy), (hildon_wizard_dialog_init), (response),
4189 (hildon_wizard_dialog_set_forward_page_func):
4190 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4191 that applications can use to stop a HildonWizardDialog to jump to
4194 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4197 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4199 * src/hildon-program.h
4200 * src/hildon-program-private.h
4201 * src/hildon-program.c (hildon_program_init)
4202 (hildon_program_set_common_app_menu)
4203 (hildon_program_get_common_app_menu):
4204 New API for setting a common HildonAppMenu for all
4205 HildonStackableWindows registered with the HildonProgram.
4207 * src/hildon-stackable-window.c
4208 (hildon_stackable_window_toggle_menu):
4209 Use the common HildonAppMenu if a window doesn't have a specific
4212 * src/hildon-app-menu-private.h
4213 * src/hildon-app-menu.c
4214 (hildon_app_menu_get_parent_window):
4215 Function to obtain the window a HildonAppMenu is attached to.
4216 (hildon_app_menu_set_parent_window):
4217 Hide the menu if the parent window is set to NULL.
4219 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4221 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4222 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4223 search widget to popup.
4225 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4227 * configure.ac: post release version bump
4228 * debian/changelog: version bump
4230 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4235 * configure.ac: bump version
4236 * debian/changelog: updates
4238 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4240 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4242 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4243 (hildon_window_stack_window_realized)
4244 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4245 Set the leader GdkWindow when a window is stacked and realized,
4246 unset it when it's unstacked.
4247 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4249 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4251 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4253 * src/hildon-stackable-window.h
4254 * src/hildon-window-stack.h:
4255 Protect definition of HildonWindowStack using the preprocessor.
4257 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4259 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4260 Fix warning if all menu items are hidden.
4262 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4264 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4266 * src/hildon-controlbar.c:
4267 * src/hildon-hvolumebar.c:
4268 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4269 Multiple scale size defines updates.
4271 Fixes: NB#94322 (Scale Updates)
4273 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4275 * examples/hildon-app-menu-example.c (create_menu)
4276 Show items after adding them to the menu, as in the future the
4277 menu will no longer call gtk_widget_show() on the added items.
4279 * src/hildon-app-menu.c:
4280 Update example as explained above.
4282 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4284 * src/hildon-app-menu.c
4285 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4286 Make sure that all menu items have finger height.
4288 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4290 * src/hildon-picker-dialog.c:
4291 (_on_dialog_response), (_save_current_selection),
4292 (_restore_current_selection), (_clean_current_selection),
4293 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4294 Defined new functions in order to save the current internal selector
4295 selection previous open the dialog, in case that the use cancel the
4296 interaction, so the widget restores the previous selection.
4298 Fixes: NB#92032 (In calendar application, date values in 'new event'
4301 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4303 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4305 * src/hildon-button.c: Add a reference to the button examples in
4306 hildon-button-example.c
4308 * examples/hildon-button-example.c: Added examples of the most
4309 common button layouts.
4311 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4313 * src/hildon-app-menu.c (hildon_app_menu_show)
4314 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4316 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4318 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4320 * src/hildon-picker-dialog.c:
4321 (hildon_picker_dialog_init): Initialize the signal id for
4322 HildonTouchSelector::columns-changed.
4323 (+on_selector_columns_changed): Set up the interaction mode everytime a
4324 column is added or removed from the HildonTouchSelector.
4325 (_hildon_picker_dialog_set_selector): Connect to
4326 HildonTouchSelector::columns-changed and keep track of it.
4328 Make sure to update the interaction mode of the dialog everytime a
4329 column is added or removed in the HildonTouchSelector.
4331 Fixes: NB#93228 (Done button is not shown always in listpicker)
4333 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4335 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4336 a new ::columns-changed signal.
4337 (hildon_touch_selector_append_column): Emit ::columns-changed.
4338 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4340 Add a ::columns-changed signal, emitted when the number of columns in a
4341 HildonTouchSelector changes.
4343 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4345 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4346 (_hildon_picker_dialog_set_selector): Factor out the code
4347 to set up the dialog interaction mode.
4349 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4351 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4352 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4353 to signal_changed_id.
4355 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4357 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4360 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4362 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4363 Updated the logical ids related to ampm format, as now it is required to
4364 show it correctly localized even on languages with no default
4365 abbreviations for am or pm
4366 (_check_am_pm_format): check correctly the 24h format gconf property
4368 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4370 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4372 * src/hildon-button.c: Documentation updates.
4374 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4376 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4377 * src/hildon-caption.c: (hildon_caption_class_init):
4378 * src/hildon-color-button.c: (hildon_color_button_class_init):
4379 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4380 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4381 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4382 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4384 Remove deprecated GTK+ marshalers and replace them with the ones
4385 provided by GLib, for those available, add a marshaler for
4386 BOOLEAN:VOID, which is not available in GLib, and use it.
4388 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4390 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4391 the text from the previous column if there is no
4392 HildonTouchSelectorColumn::text-property set.
4394 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4396 * src/hildon-button.h
4397 * src/hildon-button.c (hildon_button_set_property)
4398 (hildon_button_get_property, hildon_button_class_init)
4399 (hildon_button_set_style, hildon_button_get_style):
4400 New "style" property to change the visual appearance of the
4403 * src/hildon-picker-button.c (hildon_picker_button_new):
4404 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4406 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4407 HildonButton look like PickerButton)
4409 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4411 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4412 column while building the default string.
4414 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4416 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4417 scroll indicator by default.
4419 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4421 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4423 * src/hildon-main.c: Fix the documentation for hildon_init()
4425 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4427 * doc/hildon-docs.sgml
4431 * src/hildon-window-stack-private.h
4432 * src/hildon-window-stack.h
4433 * src/hildon-window-stack.c:
4434 New HildonWindowStack object, that adds support for multiple
4435 stacks of windows per process.
4437 * src/hildon-stackable-window-private.h
4438 * src/hildon-stackable-window.h
4439 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4440 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4441 (hildon_stackable_window_show, hildon_stackable_window_hide)
4442 (hildon_stackable_window_class_init)
4443 (hildon_stackable_window_init):
4444 Use HildonWindowStack for stack management.
4446 * src/hildon-program.c (hildon_program_pop_window_stack)
4447 (hildon_program_peek_window_stack)
4448 (hildon_program_go_to_root_window):
4449 Add a fallback implementation to the deprecated functions using
4452 * examples/hildon-stackable-window-example.c:
4453 Use the new HildonWindowStack API.
4455 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4457 * src/hildon-stackable-window-private.h
4458 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4459 (hildon_stackable_window_hide, hildon_stackable_window_init):
4460 Remove all window stack management.
4462 * src/hildon-program-private.h
4463 * src/hildon-program.h
4464 * src/hildon-program.c (hildon_program_init)
4465 (hildon_program_pop_window_stack)
4466 (hildon_program_peek_window_stack)
4467 (hildon_program_go_to_root_window):
4468 Remove all window stack management and mark functions as
4471 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4473 * src/hildon-app-menu.c (hildon_app_menu_realize):
4474 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4476 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4478 * configure.ac: post release version bump
4479 * debian/changelog: version bump
4481 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4486 * configure.ac: bump version
4487 * debian/changelog: updates
4489 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4491 Based on initial code by Christian Dywan (christian@imendio.com)
4493 * doc/hildon-docs.sgml: Add section for hildon-main.
4494 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4495 * src/Makefile.am: Add new hildon-main.[ch]
4496 * src/hildon-defines.h: Update the icon sizes.
4497 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4498 new library initialization files and register icon sizes.
4499 * src/hildon-main.h: New declarations.
4500 * src/hildon.h: Include hildon-main.h
4502 Add new initialization functions to the library. These methods
4503 will register the hildon specific icon sizes and can be used in the
4504 future for other hildon specific bits.
4506 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4508 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4510 * src/hildon-window.c: (hildon_window_realize),
4511 (hildon_window_notify), (-hildon_window_update_title): Do not set
4512 the application name in the window title.
4514 Fixes: NB#89754 (Applications shouldn't display their names in the
4517 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4519 * src/hildon-note-private.h:
4520 * src/hildon-note.c: (hildon_note_set_property),
4521 (hildon_note_get_property), (hildon_note_class_init),
4522 (hildon_note_init), (hildon_note_finalize),
4523 (hildon_note_new_confirmation_with_icon_name),
4524 (hildon_note_new_information_with_icon_name):
4526 No need to mark as deprecated the actual code. Revert
4527 to avoid missing symbols in widgets using deprecated API.
4529 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4531 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4533 * src/hildon-volumebar.h
4534 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4535 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4537 * src/hildon-helper.h
4538 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4539 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4541 * examples/Makefile.am:
4542 Deprecate hildon-insensitive-example
4544 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4546 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4548 * examples/hildon-pannable-area-buttons-scroll-example.c:
4549 Make all buttons finger height
4551 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
4553 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4555 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4556 update the day model only if it is really required, and to avoid the
4557 full-reconstruction aproach. Now it only add or remove the required days.
4559 The purpose of this is avoid superfluous HildonTouchSelector::changed
4562 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4563 with strange parameters)
4565 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
4567 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4569 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4570 the WINDOW_TYPE property.
4572 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4574 2008-11-19 Alberto Garcia <agarcia@igalia.com>
4577 Fix dependency to allow parallel compilation with make -jX
4579 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
4581 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
4582 color frame and some minor tweaks to make it more consistent with
4585 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4586 highlighted but not visible)
4588 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4590 * examples/Makefile.am: Fixed typo in the Makefile.am.
4592 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4594 Reviewed the use of MAEMO_GTK define, now we add the define in the
4595 compilation line, and we also add it to the pc file.
4597 * configure.ac: Added MAEMO_GTK define to the compilation command
4598 and removed it from the config.h.
4600 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
4601 do not have to take care about this define if the library was
4605 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
4607 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4609 * examples/Makefile.am,
4610 * examples/hildon-pannable-area-buttons-scroll-example.c,
4611 * examples/hildon-pannable-area-gesture-signals-example.c,
4612 * examples/hildon-pannable-area-scroll-jump-example.c,
4613 * examples/hildon-pannable-area-tree-view-example.c:
4614 Renamed the pannable area examples, now they have more meaningful
4617 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
4619 * src/hildon-touch-selector.c:
4620 (hildon_touch_selector_set_column_selection_mode): Used of
4621 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
4622 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
4623 to avoid re-seting the same selection mode.
4625 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
4626 breaks HildonPickerDialog)
4628 2008-11-13 Alejandro G. Castro <alex@igalia.com>
4630 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
4631 conditional in the Makefile.am
4633 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
4635 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
4636 Remove unused methods.
4638 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4640 * src/hildon-button.c (hildon_button_init):
4641 Make button images center-aligned by default
4643 2008-11-12 Alejandro G. Castro <alex@igalia.com>
4646 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
4647 activated, we have to think about how to deal with both defines
4648 MAEMO_GTK and MAEMO_CHANGES.
4650 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4652 * examples/hildon-app-menu-example.c (create_menu): Make all
4653 buttons finger size.
4655 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4657 Fixed the compilation without maemo gtk adding ifdefs with
4658 MAEMO_GTK define to the code, we have to check this version more
4661 * examples/Makefile.am: Added control to avoid some examples that
4662 just make sense with maemo gtk.
4665 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
4666 hildon modes with the define.
4668 * examples/hildon-edit-toolbar-example.c,
4669 (create_icon_view): Create the icon view without hildon-gtk
4670 helpers if we are not using maemo gtk.
4672 * src/hildon-touch-selector.c,
4673 (_create_new_column): Create the treeview without hildon-gtk
4674 helpers if we are not using maemo gtk.
4676 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4678 * src/hildon-pnnable-area.c,
4679 (hildon_pannable_area_dispose),
4680 (hildon_pannable_area_button_press_cb),
4681 (hildon_pannable_area_child_mapped),
4682 (hildon_pannable_area_add),
4683 (hildon_pannable_area_remove): Added code to control the position
4684 of the event_window when adding and removing children from the
4685 pannable. We have to raise the event window when the child is
4688 Fixes: NB#89811 (Not able to select first image thumbnail in multi
4689 selection mode using custom widget inside pannable)
4691 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4693 * configure.ac: post release version bump
4694 * debian/changelog: version bump
4696 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4701 * configure.ac: bump version
4702 * debian/changelog: updates
4704 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
4706 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
4707 search mode, in order to avoid lose the focus on the treeview when
4708 a hw key (like enter) is pressed.
4710 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
4711 in HildonDateSelector dialog)
4713 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
4715 * debian/rules: Added --enable-maintainer-mode
4716 * Makefile.am: Added ACLOCAL_AMFLAGS
4718 This allows to properly regenerate the Makefiles if you modify the
4719 configure.ac or any Makefile.am.
4721 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4723 * examples/hildon-app-menu-example.c: (main): Do not set RC style
4724 properties, not needed at all.
4726 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4728 * src/hildon-note-private.h: Add strings for the icon and stock_icon
4730 * src/hildon-note.c: (hildon_note_set_property),
4731 (hildon_note_get_property), (hildon_note_class_init),
4732 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
4733 (hildon_note_new_confirmation_add_buttons): Remove icons.
4734 (hildon_note_new_confirmation_with_icon_name): Deprecate.
4735 (hildon_note_new_information_with_icon_name): Deprecate.
4736 (hildon_note_new_confirmation): Act directly, without calling
4737 the deprecated constructor.
4738 (hildon_note_new_information): Act directly, without calling
4739 the deprecated constructor.
4740 * src/hildon-note.h: Mark deprecate methods as such.
4741 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
4742 not run tests on the deprecated methods if built with deprecation
4745 Fixes: NB#91688 (Never show icons in information notes/confirmation
4748 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4750 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
4751 (hildon_app_menu_key_press): Remove leftover usage of the
4752 private structure in HildonAppMenu struct.
4753 * src/hildon-app-menu.h: Remove leftover private structure
4754 from the HildonAppMenu struct.
4756 Fixes a crasher when using the HildonAppMenu.
4758 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4760 * src/hildon-picker-dialog.c: Use appropriate logical id
4761 for the default "Done" text.
4763 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4765 * configure.ac: post release version bump
4766 * debian/changelog: version bump
4768 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
4770 Modified the way to scroll to the current selection just when the touch
4771 selector is shown on the screen, avoiding a g_idle. Added too a property
4772 to configure this behaviour. See hildon_pannable_area_jump_to_child
4773 documentation for more information.
4775 * src/hildon-touch-selector.c
4776 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
4777 Added 'initial-scroll' property
4778 (hildon_touch_selector_set_property): Added
4779 (hildon_touch_selector_map): Removed as not required anymore
4780 (_hildon_touch_selector_on_selected_items): Modified in order to manage
4781 only a concrete column, instead of iterate along all the columns
4783 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4788 * configure.ac: bump version
4789 * debian/changelog: updates
4791 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4793 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
4794 compilation time warnings.
4796 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4798 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4799 the default value for HildonPannableArea::mov-mode to
4800 HILDON_PANNABLE_AREA_MODE_VERT.
4802 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
4804 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4806 Reverting following commit:
4808 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4810 * src/hildon-app-menu-private.h
4811 * src/hildon-app-menu.[ch]
4812 * src/hildon-button.[ch]
4813 * src/hildon-check-button.[ch]
4814 * src/hildon-entry.[ch]
4815 * src/hildon-pannable-area.[ch]
4816 * src/hildon-text-view.[ch]:
4817 Added private field to the object's structure.
4819 because it causes an ABI breakage. We will need to introduce these
4820 changes later at some point. See NB#91636 for an extensive
4821 explanation and status.
4823 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4825 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4827 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4828 remove special cases that are no longer necessary.
4830 Fixes: NB#91016 (Change toolbar sizes, simplification)
4832 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4834 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4835 is shown in the cancel note.
4837 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4839 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
4840 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
4841 (hildon_seekbar_init): Remove steppers, remove expose event.
4842 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
4844 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
4846 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
4848 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
4849 label font to "SmallSystemFont" for vertically arranged buttons.
4851 Fixes: NB#90662 (HildonButton "value" and "detail" text is
4854 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4856 * src/hildon-check-button.c
4857 (hildon_check_button_set_active, hildon_check_button_clicked):
4858 Don't access private parts directly, use getters instead.
4860 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4862 * src/hildon-check-button.c (hildon_check_button_new):
4863 Align the contents of the check button to the left.
4865 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4867 * src/hildon-pannable-area.c,
4868 (hildon_pannable_area_scroll_to),
4869 (hildon_pannable_area_jump_to),
4870 (hildon_pannable_area_scroll_to_child),
4871 (hildon_pannable_area_jump_to_child): Replace the mapped
4872 precondition of these functions with the realized, it is the
4873 correct state of the widget in this case. Changed the
4874 documentation according to this modification.
4876 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4878 Added a new EXTRA_CFLAGS option to add the deprecated define to
4879 the compilation command. This way we can avoid using the define in
4880 the documentation compilation.
4882 * configure.ac: Defined EXTRA_CFLAGS.
4884 * examples/Makefile.am:
4886 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
4888 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
4890 * src/hildon-picker-dialog.c:
4891 Defined a utility macro with the desired touch selector height
4892 Removed currently unused separator, and title_label variables from
4894 (hildon_picker_dialog_init): Removed code related to the creation
4895 of unused private variables title_label and separator.
4896 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
4897 to ensure correct visualization of the touch selector inside the dialog.
4898 * src/hildon-touch-selector.c
4899 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
4900 ensure a concrete height of the widget.
4902 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4905 * tests/Makefile.am:
4907 Remove spurious whitespaces.
4909 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4911 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
4912 compilation warning after the cancel button removal.
4914 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4916 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
4918 * configure.ac: Added an AM_CONDITIONAL in order to use in the
4919 Makefile.am, that way we can choose not to compile some examples
4920 and tests of the deprecated widgets.
4922 * examples/Makefile.am: Divided the sources in deprecated and
4925 * src/Makefile.am: Added undef statement of the deprecated
4926 symbol to the enums file generation process.
4928 * src/hildon-color-chooser-dialog.c
4929 * src/hildon-color-chooser-dialog.h
4930 * src/hildon-color-button.c
4931 * src/hildon-color-button.h
4932 * src/hildon-color-chooser.c
4933 * src/hildon-color-chooser.h
4934 * src/hildon-controlbar.c
4935 * src/hildon-controlbar.h
4936 * src/hildon-date-editor.c
4937 * src/hildon-date-editor.h
4938 * src/hildon-hvolumebar.c
4939 * src/hildon-hvolumebar.h
4940 * src/hildon-private.c
4941 * src/hildon-private.h
4942 * src/hildon-range-editor.c
4943 * src/hildon-range-editor.h
4944 * src/hildon-seekbar.c
4945 * src/hildon-seekbar.h
4946 * src/hildon-time-editor.c
4947 * src/hildon-time-editor.h
4948 * src/hildon-time-picker.c
4949 * src/hildon-time-picker.h
4950 * src/hildon-volumebar.c
4951 * src/hildon-volumebar.h
4952 * src/hildon-vvolumebar.c
4953 * src/hildon-vvolumebar.h
4954 * src/hildon-bread-crumb-trail.h
4955 * src/hildon-bread-crumb-trail.c
4956 * src/hildon-calendar-popup.c
4957 * src/hildon-calendar-popup.h
4958 * src/hildon-weekday-picker.c:
4959 * src/hildon-weekday-picker.h:
4960 * src/hildon-bread-crumb-widget.c:
4961 * src/hildon-bread-crumb-widget.h:
4962 * src/hildon-bread-crumb.c:
4963 * src/hildon-bread-crumb.h:
4964 * src/hildon-calendar.c:
4965 * src/hildon-calendar.h:
4966 * src/hildon-caption.c:
4967 * src/hildon-code-dialog.c:
4968 * src/hildon-code-dialog.h:
4969 * src/hildon-font-selection-dialog.c:
4970 * src/hildon-font-selection-dialog.h:
4971 * src/hildon-get-password-dialog.c:
4972 * src/hildon-get-password-dialog.h:
4973 * src/hildon-login-dialog.c:
4974 * src/hildon-login-dialog.h:
4975 * src/hildon-number-editor.c:
4976 * src/hildon-number-editor.h:
4977 * src/hildon-set-password-dialog.c:
4978 * src/hildon-set-password-dialog.h:
4979 * src/hildon-sort-dialog.c:
4980 * src/hildon-sort-dialog.h: This is the list of deprecated
4983 * src/hildon-touch-selector.c:
4984 * src/hildon-window.c: Added undef statement to avoid compilation
4987 * tests/Makefile.am: Divided the sources in deprecated and
4990 * tests/check_test.c,
4991 (configure_tests): Marked the deprecated code that was adding
4992 suites with deprecated tests.
4994 Fixes: NB#91135 (Deprecate legacy hildon widgets)
4996 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4998 * src/hildon-touch-selector.c: (_default_print_func): Do not
4999 duplicate a string returned by gtk_tree_model_get(), it is already
5002 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5005 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5007 * src/hildon-pannable-area.c
5008 (hildon_pannable_area_add_with_viewport): Reviewed the complete
5009 method, it had problems when adding a widget with viewport the
5010 second time. Now checks if it already has a viewport and uses it.
5012 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5015 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5017 * src/hildon-pannable-area.c,
5018 (hildon_pannable_area_scroll_to),
5019 (hildon_pannable_area_jump_to),
5020 (hildon_pannable_area_scroll_to_child),
5021 (hildon_pannable_area_jump_to_child): Added a precondition to the
5022 scroll and jump to functions: the widget must be mapped before we
5023 can safely call these functions. We have also added documentation
5024 to the functions to explain how to use them in this situation.
5027 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5029 Reviewed the threading handling of the pannable widget, we have
5030 used the gdk_threads_add_timeout function instead of the usual
5031 glib handlers. This avoids some problems with the threads.
5033 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5034 (hildon_pannable_area_initial_effect),
5035 (hildon_pannable_area_scroll_indicator_fade),
5036 (hildon_pannable_area_button_press_cb),
5037 (hildon_pannable_area_timeout),
5038 (hildon_pannable_area_motion_notify_cb),
5039 (hildon_pannable_area_button_release_cb),
5040 (hildon_pannable_area_scroll_cb),
5041 (hildon_pannable_area_scroll_to): Removed the
5042 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5043 gdk_threads_add_timeout.
5045 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5047 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5052 * configure.ac: bump version
5053 * debian/changelog: updates
5055 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5057 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5058 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5059 * src/hildon-color-chooser-dialog.c:
5060 (hildon_color_chooser_dialog_init):
5061 * src/hildon-font-selection-dialog.c:
5062 (hildon_font_selection_dialog_init):
5063 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5065 Remove all cancel/close-like dialogs, as these are not going to be
5068 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5070 * src/hildon-note.c: (hildon_note_rebuild),
5071 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5074 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5076 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5078 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5079 sure all buttons are shown, even the Cancel/Close-like ones.
5081 Fixes: NB#90861 (Custom Confirmation dialogs should be
5082 protected from cancel button removal)
5084 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5086 * debian/control: Change libhildon1-examples dependency from libhildon1
5088 * debian/libhildon1-examples.install
5090 * Makefile.am: Modified the final install directory for the examples on
5091 package libhildon1-examples
5092 * Makefile.static: Update clean target in order to remove all the binary
5095 Changes suggested by Claudio after review new libhildon1-examples package
5097 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5099 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5100 * src/hildon-touch-selector.c: Ditto.
5102 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5104 * debian/control: Added new package libhildon1-examples, in order to pack
5105 the current hildon examples as documentation
5106 * debian/rules: Not to compress .c files, modify some includes on the
5107 examples (as normally are compiled locally, but when installed it will
5108 require to include the installed libhildon1 library), and rename
5110 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5111 install all the example files on the new example package
5112 * examples/Makefile.static: Added static makefile that can be used to
5113 compile the examples, once installed the new example package
5114 * examples: Most of the examples were modified in order to grant that
5115 all use only '#include "hildon.h"', in order to be easy to prepare
5116 it on the example package
5118 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5121 * debian/libhildon1-dev.install
5122 * debian/libhildon1-doc.install:
5123 Move all gtk-doc files to a separate libhildon1-doc package.
5125 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5127 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5129 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5131 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5133 * debian/rules: Fixed a error in order to avoid unnecessary calls
5134 to autogen.sh on package building
5136 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5138 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5140 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5142 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5145 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5147 * src/hildon-picker-button.c
5148 (hildon_picker_button_finalize):
5149 Free priv->done_button_text
5151 * src/hildon-time-button.c
5152 (hildon_time_button_set_time)
5153 * src/hildon-picker-button.c
5154 (hildon_picker_button_clicked)
5155 (hildon_picker_button_selector_selection_changed)
5156 (hildon_picker_button_set_selector)
5157 * src/hildon-date-button.c
5158 (hildon_date_button_set_date):
5159 Free strings returned by hildon_touch_selector_get_current_text()
5161 * src/hildon-button.c (hildon_button_construct_child):
5162 Fix leaks in priv->image and priv->label_box
5164 Fixes: NB#90535 (Memory leak in picker button)
5166 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5168 * src/hildon-button.c: (hildon_button_get_property): Do not access
5169 private elements directly, use getters instead.
5171 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5173 * src/hildon-app-menu-private.h
5174 * src/hildon-app-menu.c
5175 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5176 Store the menu's parent window.
5178 * src/hildon-stackable-window.c
5179 (hildon_stackable_window_toggle_menu)
5180 (hildon_stackable_window_finalize):
5181 Set the menu's parent window when the menu is shown, unset it when
5184 * src/hildon-app-menu.c
5185 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5186 (hildon_app_menu_class_init):
5187 Send unhandled keyboard accelerators to the parent window.
5189 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5191 * src/hildon-stackable-window.c
5192 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5194 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5196 * configure.ac: post release version bump
5198 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5201 * configure.ac: Bump version
5202 * debian/changelog: Updates
5203 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5206 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5208 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5211 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5212 GtkMenu with Hildon style.
5214 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5216 * src/hildon-picker-button.c:
5217 (hildon_picker_button_set_done_button_text): Set the dialog's
5218 done button text here as well.
5220 Fixes: NB#90232 (Picker button does not set the label on done button
5221 for the second time)
5223 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5225 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5228 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5230 * src/hildon-app-menu.c (hildon_app_menu_insert)
5231 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5232 the HildonAppMenu to be activatable using keyboard accelerators
5233 when the menu is not being shown.
5235 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5237 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5239 * src/hildon-stackable-window.c
5240 (hildon_stackable_window_show):
5241 Don't hide old windows automatically when new windows are shown:
5242 this is now a task for the window manager.
5243 (hildon_stackable_window_class_init)
5244 (hildon_stackable_window_hide):
5245 Remove windows from the stack everytime they're hidden.
5246 (hildon_stackable_window_realize):
5247 Don't change the _NET_WM_WINDOW_TYPE property. Use
5248 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5249 it as a stackable window.
5251 * src/hildon-program.c
5252 (hildon_program_pop_window_stack):
5253 Just hide the window to remove it from the stack.
5254 (hildon_program_go_to_root_window):
5255 Don't call gtk_widget_show(), this is now a task for the window
5258 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5260 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5262 * src/hildon-button.c
5263 (hildon_button_construct_child):
5264 Don't pack anything in the button until text or image are
5265 set. This allows adding a custom child after creating the button
5266 with hildon_button_new().
5267 (hildon_button_finalize, hildon_button_class_init)
5268 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5269 alignment and the label box even when they're not packed in the
5272 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5274 * src/hildon-touch-selector.h:
5275 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5276 currently the type definition was using GTK_TYPE_VBOX
5277 * src/hildon-touch-selector.c:
5278 Added some implementation notes in order to clarify that any other widget
5279 added without the column related API will not be included on the
5280 selection logic, and how the widget is freed, as some people ask about
5282 (hildon_touch_selector_remove): Reimplemented in order to free properly
5283 the column related data when you remove the private hbox.
5284 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5285 to get a proper HildonTouchSelectorColumn documentation
5287 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5289 * src/hildon-touch-selector-entry.c:
5290 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5291 text in the GtkEntry and there is no item selected. Fixes a
5294 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5296 * src/hildon-app-menu-private.h
5297 * src/hildon-app-menu.[ch]
5298 * src/hildon-button.[ch]
5299 * src/hildon-check-button.[ch]
5300 * src/hildon-entry.[ch]
5301 * src/hildon-pannable-area.[ch]
5302 * src/hildon-text-view.[ch]:
5303 Added private field to the object's structure.
5305 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5307 * configure.ac: post-release version bump
5309 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5313 * configure.ac: pre-release version bump
5315 * debian/changelog: updates.
5317 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5319 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5320 Disconnect the handler for HildonTouchSelector::changed.
5322 (hildon_picker_button_selector_selection_changed): Update the button
5323 value if the selection change was not triggered by the
5326 (hildon_picker_button_set_selector): connect to
5327 HildonTouchSelector::changed.
5329 Fixes: NB#89650 (Picker button is not updated, when selection in
5330 selector has changed)
5332 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5334 * src/hildon-picker-dialog.c
5335 (hildon_picker_dialog_realize): Removed as not required
5336 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5337 * src/hildon-picker-button.c
5338 (_current_selector_empty): New function, checks if the selector is empty
5339 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5340 if the current selector is empty, in order to avoid to show the dialog
5341 close the dialog in this case (and shows a g_warning).
5343 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5345 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5347 * src/hildon-pannable-area.c,
5348 (hildon_pannable_area_scroll): Added clause to stop movement when
5349 the child of pannable is smaller than one page.
5350 (hildon_pannable_area_scroll_to): Added conditions to avoid
5351 starting the scrolling movement if the child is smaller than one
5352 page, the complete child is in the screen, we do not have to move.
5354 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5356 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5358 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5359 this is managed automatically by the widget when the size of the
5362 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5364 * src/hildon-picker-button.c
5365 (hildon_picker_button_set_done_button_text): Make a copy of the
5366 text, and free the previous value.
5368 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5370 * src/hildon-touch-selector-entry.c:
5371 (hildon_touch_selector_entry_print_func): Return the selected row's
5372 text if the entry is empty.
5374 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5377 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5379 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5381 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5384 * src/hildon-check-button.h
5385 * src/hildon-check-button.c
5386 * examples/hildon-check-button-example.c:
5387 HildonCheckButton is now a new widget. 'toggled' signal added.
5389 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5391 * src/hildon-program-private.h
5392 * src/hildon-program.c (hildon_program_init)
5393 (hildon_program_finalize): Removed unused variables group_leader
5394 and name from HildonProgramPrivate.
5396 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5398 * src/hildon-check-button.c (hildon_check_button_set_active)
5399 (hildon_check_button_get_active, hildon_check_button_new): Use
5400 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5402 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5404 * src/hildon-touch-selector.h
5405 (hildon_touch_selector_set_column_attributes): added deprecation
5406 guard HILDON_DISABLE_DEPRECATED
5407 * src/hildon-time-selector.c
5408 (hildon_time_selector_set_time)
5409 (hildon_time_selector_get_time): Fixed a typo on documentation
5410 * src/hildon-touch-selector.c: update HildonTouchSelector and
5411 HildonTouchSelectorColumn documentation
5412 * src/hildon-touch-selector-entry.c: update "text-column" property
5414 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5415 to be added to the general documentation.
5417 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5419 * examples/hildon-pannable-area-example-4.c,
5421 * examples/hildon-pannable-area-example.c,
5422 (main): Modified the code in order to use the container add, with
5423 viewport treeviews could have problems if they are really big.
5425 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5427 * src/hildon-weekday-picker.c,
5428 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5429 the agreement regarding deprecation in the library.
5431 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5433 * examples/hildon-picker-button-multicolumn-example.c:
5434 (main): Use custom "done" button text.
5436 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5437 (hildon_picker_button_set_property),
5438 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5439 (hildon_picker_button_init),
5440 (+hildon_picker_button_get_done_button_text),
5441 (+hildon_picker_button_set_done_button_text): New methods to customize
5442 the "done" button label in the launched HildonPickerDialog. Also,
5445 * src/hildon-picker-button.h: add the public API.
5447 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5449 * src/hildon-date-selector.h:
5450 * src/hildon-picker-dialog.h:
5451 * src/hildon-time-selector.h:
5452 * src/hildon-touch-selector-column.h:
5453 * src/hildon-touch-selector.h:
5455 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5456 declarations. Fixes gtk-doc warnings.
5458 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5460 * src/hildon-picker-dialog.h
5461 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5462 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5464 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5465 long text is set as label for done button)
5467 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5469 * src/hildon-dialog.c (hildon_dialog_add_button):
5470 Set fixed width to all buttons in the HildonDialog.
5472 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5474 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5476 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5477 Set widget name using class name plus "-finger" or "-thumb".
5479 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5481 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5482 'clicked' when the state of the button is manually changed.
5484 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5486 * src/hildon-app-menu.c (hildon_app_menu_realize)
5487 (hildon_app_menu_unrealize, hildon_app_menu_init)
5488 (hildon_app_menu_class_init, item_visibility_changed):
5489 Change the menu layout when the size of the screen changes.
5490 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5491 Show warning only when changing the number of colums using the
5494 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5496 * debian/compat: Set to 5
5497 * debian/control: Update dependencies.
5498 * debian/libhildon1-dbg.install: Remove.
5499 * debian/libhildon1-dev.install: Update according to cdbs paths.
5500 * debian/libhildon1.install: Update according to cdbs paths.
5501 * debian/rules: Switch to cdbs.
5503 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5505 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5506 'item' variable renamed to 'filter'
5508 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5510 * src/hildon-app-menu.c (hildon_app_menu_insert)
5511 (hildon_app_menu_add_filter, remove_item_from_list)
5512 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5513 Don't leak hidden items when the menu is destroyed.
5515 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5517 * src/hildon-app-menu.c (hildon_app_menu_insert)
5518 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5519 (hildon_app_menu_set_columns, item_visibility_changed)
5520 (filter_visibility_changed, hildon_app_menu_repack_filters)
5521 (hildon_app_menu_repack_items):
5522 Repack items and filters separately.
5524 Don't repack all items, change only the ones that are needed to
5527 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5529 * src/Makefile.am: added hildon-touch-selector-column.h
5531 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5533 * src/hildon-touch-selector.c: added the property "text-column" to the
5534 class HildonTouchSelectorColumn, and related get/set functions
5535 (_default_printf_func): updated to use "text-column" property
5536 * src/hildon-touch-selector-entry.c: mark as deprecated the property
5537 "text-column" in his documentation, as this is now included on
5538 HildonTouchSelectorColumn. The get/set_property can still be used,
5539 working as a wrapper to the concrete column "text-column" property
5540 (_text_column_modified): callback added in order to handle the signal
5541 "notify::text-column" of the concrete HildonTouchSelectorColumn
5542 (hildon_touch_selector_entry_get_text_column)
5543 (hildon_touch_selector_entry_set_text_column): Added documentation, and
5544 modified in order to use the HildonTouchSelectorColumn "text-column"
5546 * src/hildon-time-selector.c:
5547 * src/hildon-date-selector.c:
5548 * examples/hildon-touch-selector-example.c
5549 * examples/hildon-touch-selector-multi-cells-example.c
5550 * examples/hildon-picker-button-multicolumn-example.c
5551 Set the right value to "text-column" property on the creation of a new
5552 column using hildon_touch_selector_append_column()
5554 Fixes: NB#88644 (Hardcoded first column of the model as text column)
5556 2008-09-30 Alberto Garcia <agarcia@igalia.com>
5558 * src/hildon-app-menu.c
5559 (hildon_app_menu_construct_child, hildon_app_menu_init): When
5560 updating the layout of the menu, don't create all widgets again,
5561 just repack the items in their new places.
5563 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
5565 * src/hildon-time-selector.c
5566 (hildon_time_selector_get_time)
5567 (hildon_time_selector_set_time)
5568 Added documentation of these public methods
5570 * src/hildon-date-button.h
5571 * src/hildon-touch-selector-column.h
5572 * src/hildon-time-button.h
5573 * src/hildon-picker-dialog.h
5574 * src/hildon-time-selector.h
5575 * src/hildon-picker-button.h
5576 * src/hildon-touch-selector.h
5577 * src/hildon-time-picker.h
5578 * src/hildon-date-selector.h
5579 * src/hildon-touch-selector-entry.h
5580 Modified in order to use hildon-widgets code style
5582 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5584 Added deprecated support to the compilation process using
5585 HILDON_DISABLE_DEPRECATED
5587 * configure.ac: Added the --disable-deprecated to the configure
5590 * src/hildon-weekday-picker.c:
5591 * src/hildon-weekday-picker.h: Deprecated widget, example of how
5592 to use the deprecated support. We will update the other deprecated
5593 widgets status in a new patch.
5595 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5597 * configure.ac: Fixed typo with fatal warnings support, the
5598 variable name was not correct
5600 2008-09-29 Alberto Garcia <agarcia@igalia.com>
5602 * src/hildon-app-menu.c
5603 * src/hildon-program.c: Update documentation.
5605 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5607 * configure.ac: Post-release version bump.
5609 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5614 * configure.ac: Pre-release version bump.
5615 * debian/changelog: Updates.
5617 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5619 * NEWS: Update news for previous releases.
5621 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5623 * examples/hildon-touch-selector-multi-cells-example.c:
5624 (create_selector): Update the example to use
5625 hildon_touch_selector_append_column() with a NULL renderer and set
5626 the renderers later.
5627 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
5628 passed a NULL renderer. This is documented behavior now.
5630 Allow passing a NULL renderer to hildon_touch_selector_append_column().
5631 This must be used if the developer wants full control on the layout of
5632 the renderers to be added to the column.
5634 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5636 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5638 * src/hildon-touch-selector.c: Documentation fixes.
5640 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5642 * src/hildon-wizard-dialog-private.h: Remove image and box.
5643 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
5644 (hildon_wizard_dialog_set_property), (response): Completely remove
5645 image/icon support, and the containers required for the layout.
5647 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
5649 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5651 * src/hildon-app-menu.c: Updated documentation.
5653 * src/hildon-stackable-window.c
5654 (hildon_stackable_window_set_main_menu): Unref the old menu after
5655 ref'ing the new one.
5657 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5659 * src/hildon-stackable-window.c
5660 (hildon_stackable_window_set_main_menu): Unref the previous menu
5661 instead of destroying it.
5663 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
5664 floating reference and set has_user_ref_count to FALSE to make
5665 HildonAppMenu act like a normal ref-counted widget and not a
5668 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
5671 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
5673 * src/hildon-touch-selector-column.h: new file
5674 * src/hildon-touch-selector.h
5675 * src/hildon-touch-selector.c
5676 Implemented GtkCellLayout interface, in order to allow to configure
5677 the cell layout on each individual selector column
5678 (hildon_touch_selector_set_column_attributes): marked as deprecated
5679 * examples/hildon-touch-selector-multi-cells-example.c
5680 Example of how to use the GtkCellLayout interface on the selector
5682 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5684 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5686 * src/hildon-app-menu.h
5687 * src/hildon-app-menu.c
5688 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
5689 (hildon_app_menu_append, hildon_app_menu_prepend):
5690 New methods to prepend, insert and move items in the menu.
5692 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5694 * src/hildon-wizard-dialog.c:
5696 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
5698 (create_title): Update logical IDs and related code.
5699 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
5701 * src/hildon-wizard-dialog.h: Note that
5702 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
5703 point, as it is not used anymore.
5705 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
5707 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5709 * src/hildon-note.c:
5710 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
5711 shown. Do not display an icon in confirmation notes nor information
5713 (hildon_note_set_button_text): Update logical ID for cancel button.
5715 Fixes: NB#88850 (Update HildonNote button strings + signals)
5717 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5719 * src/hildon-stackable-window.c
5720 (hildon_stackable_window_set_main_menu): Fix compilation warning.
5722 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5724 * src/hildon-app-menu-private.h
5725 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
5726 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
5727 (hildon_app_menu_init, hildon_app_menu_class_init): Added
5728 temporary property 'columns' to change the number of columns.
5730 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5732 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
5734 * examples/hildon-note-example.c: (on_information_clicked),
5735 (on_confirmation_clicked), (on_progress_clicked), (main): Add
5736 debugging information.
5737 * src/hildon-note-private.h: Remove close_if_pressed_outside,
5739 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
5740 (hildon_note_rebuild): Remove special handling of tapping outside/inside
5741 in order to close: this will be handled by the WM from now on.
5743 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
5745 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5747 * src/hildon-app-menu-private.h
5748 * src/hildon-app-menu.c
5749 (hildon_app_menu_append, hildon_app_menu_add_filter)
5750 (button_visibility_changed, hildon_app_menu_apply_style)
5751 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
5752 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
5753 layout everytime a button (item or filter) is shown or hidden.
5755 * src/hildon-stackable-window.c
5756 (hildon_stackable_window_set_main_menu): Destroy the old menu when
5759 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
5761 * src/hildon-touch-selector.c:
5762 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
5763 that the treeview inside the touch selector is in fremantle hildon mode
5764 * examples/hildon-date-button-example.c
5765 * examples/hildon-picker-button-multicolumn-example.c
5766 * examples/hildon-touch-selector-entry-example.c
5767 * examples/hildon-touch-selector-example.c
5768 * examples/hildon-time-button-example.c
5769 * examples/hildon-picker-button-example.c:
5770 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
5772 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
5774 * examples/hildon-text-view-example.c: (main): Remove the
5775 gtkrc bits, now handled by the theme.
5777 2008-09-22 Alberto Garcia <agarcia@igalia.com>
5779 * src/hildon-picker-button.c (hildon_picker_button_set_active):
5782 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5784 * po/Makefile.am: Install properly the mo files.
5785 * po/en_GB.po: Update translation, to ease testing purposes.
5787 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5789 * examples/hildon-picker-button-example.c: (main): Select an item
5790 in the selector before setting it to the button.
5792 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5794 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
5795 Update button's value if the selector has an item active.
5797 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
5798 'value' with the selector)
5800 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5802 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
5803 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
5804 (hildon_picker_button_class_init): Plug the finalize method.
5805 (hildon_picker_button_set_selector): If there's a previously set
5806 selector, unref'it before setting a new one.
5808 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
5809 HildonTouchSelector)
5811 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
5813 * src/hildon-touch-selector-entry.c:
5814 (hildon_touch_selector_entry_changed): Check if there is no text
5815 selected before setting the entry text.
5818 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5820 * src/hildon-touch-selector.h
5821 * src/hildon-touch-selector.c
5822 (hildon_touch_selector_get_active)
5823 (hildon_touch_selector_set_active): New methods to set/get the
5824 index of the selected item.
5826 * src/hildon-picker-button.h
5827 * src/hildon-picker-button.c
5828 (hildon_picker_button_get_active)
5829 (hildon_picker_button_set_active): New methods to set/get the
5830 index of the selected item.
5832 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5834 * configure.ac: post-release version bump.
5836 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5840 * configure.ac: Pre-release version bump.
5841 * debian/changelog: Updates.
5842 * debian/control: Add myself as maintainer and depend on l10n
5845 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5847 * src/hildon-window.c
5848 (hildon_window_set_main_menu)
5849 * src/hildon-stackable-window.c
5850 (hildon_stackable_window_set_main_menu):
5851 Updated documentation.
5853 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5855 * src/hildon-date-selector.c (hildon_date_selector_finalize):
5856 Don't free selector->priv manually.
5859 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5862 (hildon_gtk_window_set_progress_indicator):
5863 * src/hildon-gtk.h: Added the new API
5864 hildon_gtk_window_set_progress_indicator, it changes the state of
5865 the window progress hint.
5867 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5869 * src/hildon-button.c
5870 * src/hildon-stackable-window.c: Minor documentation updates.
5872 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5874 * src/hildon-stackable-window.c: Updated documentation.
5876 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
5878 * src/hildon-defines.h: Update margins definitions
5879 to the Fremantle sizes.
5882 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5884 * src/hildon-touch-selector.c,
5885 (_hildon_touch_selector_set_model): Cleaning the code after
5886 review, removed g_print and #if 0 from the code.
5888 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5890 * src/hildon-edit-toolbar.c: Update documentation.
5892 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5894 * src/hildon-check-button.h
5895 * src/hildon-check-button.c
5896 (hildon_check_button_set_label, hildon_check_button_get_label)
5897 * examples/hildon-check-button-example.c
5898 (button_clicked_cb):
5899 Removed deprecated methods.
5901 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5903 * src/hildon-text-view.c:
5904 Add sample code to the documentation.
5906 * src/hildon-entry.h
5907 * src/hildon-text-view.h:
5908 Minor cosmetic changes.
5910 * src/hildon-entry.c:
5911 Add sample code to the documentation.
5912 (hildon_entry_init, hildon_entry_refresh_contents):
5913 Don't allow NULL values in the placeholder.
5915 2008-09-10 Alberto Garcia <agarcia@igalia.com>
5917 * doc/hildon-docs.sgml
5919 * examples/Makefile.am
5920 * examples/hildon-text-view-example.c
5922 * src/hildon-text-view.c
5923 * src/hildon-text-view.h
5925 New HildonTextView widget, with example.
5927 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5929 * po/POTFILES.in: Add missing files with translatable strings.
5930 Partially fixes NB#88287.
5932 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5934 * examples/hildon-pannable-area-example-2.c: (main): No need to
5935 set the cellrenderer height inside hildon touch lists, the theme does
5938 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5940 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
5941 they are integrated in the theme.
5943 2008-09-09 Alberto Garcia <agarcia@igalia.com>
5945 * examples/hildon-entry-example.c: Update the example adding
5946 widgets to modify the text and the placeholder of the HildonEntry.
5948 * src/hildon-entry.c: Show the placeholder everytime the widget
5949 is empty and loses the focus.
5951 2008-09-09 Alejandro G. Castro <alex@igalia.com>
5953 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
5955 * src/hildon-pannable-area.c,
5956 (hildon_pannable_area_size_request): Fixed bug in height
5957 requisition, avoid increasing size and add border twice.
5959 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5961 * configure.ac: postrelease version bump.
5963 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5967 * configure.ac: Prerelease version bump.
5968 * debian/changelog: update.
5969 * debian/rules: make -dbg package contain useful debugging symbols.
5971 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5973 * src/hildon-dialog.h
5974 * src/hildon-dialog.c
5975 (hildon_dialog_add_button, hildon_dialog_add_buttons):
5976 New methods to add buttons with finger size.
5977 (hildon_dialog_new_with_buttons):
5978 Create buttons with finger size.
5980 * examples/hildon-dialog-example.c (main): Use HildonDialog
5981 methods to add buttons.
5983 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5985 * src/hildon-entry.c: Updated HildonButton documentation.
5987 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5989 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
5990 button value label with (FALSE, FALSE) to prevent NB#88126 from
5993 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5995 * examples/hildon-pannable-area-example.c,
5996 (main): Removed examples panning a vbox inside a pannable
5997 area. Check bug NB#87965
5999 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6001 Patch contributed by Kris Rietveld (kris@imendio.com)
6003 * src/hildon-pannable-area.c,
6004 (hildon_pannable_area_get_topmost): replaced the get_geometry with
6005 get_size and get_position, this saves an X server roundtrip.
6007 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6009 * doc/hildon-docs.sgml
6011 * examples/Makefile.am
6012 * examples/hildon-entry-example.c
6014 * src/hildon-entry.c
6015 * src/hildon-entry.h
6017 New HildonEntry widget, with example.
6019 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6021 * src/hildon-button.c (hildon_button_construct_child): Pack the
6022 image with expand == fill == FALSE. This is a workaround for a bug
6025 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
6027 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6028 labels for the text column, to make it more look more dynamic.
6030 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6032 * src/hildon-time-selector.c
6033 Define gettext auxiliar macro N_
6034 (_create_minutes_model)
6035 (_create_hours_model)
6036 (_create_ampm_model): use of strftime in order to fill the model
6037 * src/hildon-date-selector.c
6038 (hildon_date_selector_finalize):
6039 (_locales_init): remove the logic related to get the name of the months
6040 using nl_langinfo, as it is not required anymore
6042 (_create_year_model)
6043 (_create_month_model)
6044 (_update_day_model): use of strftime in order to fill the model properly
6047 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6049 * src/hildon-button.h
6050 * src/hildon-button.c (hildon_button_get_image): New method to
6053 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6055 * src/hildon-touch-selector.c:
6056 (hildon_touch_selector_remove_column): Remove from the correct parent
6057 and also remove the list element and free it.
6060 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6062 * src/hildon-time-selector.c
6063 (_create_hours_model): change the range on 12h ampm format in order to use
6064 a 12-11 range instead of previous 01-12 range
6065 (hildon_time_selector_set_time): change the way to select the current time
6066 on 12h ampm format, due the change on the range
6067 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6070 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6072 * src/hildon-touch-selector.c
6073 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6074 in order to allow use this function on multiple row selection mode if
6075 the column is different that the first one
6078 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6080 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6081 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6083 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6085 * src/hildon-date-selector.h: clean some comments, now on the .c
6086 * src/hildon-date-selector.c
6087 (hildon_date_selector_select_month): first implementation
6088 (hildon_date_selector_select_day): added documentation, reimplemented
6089 using hildon_date_selector_select_current_date to avoid repeat code
6092 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6094 Reviewed interaction logic based on device experiences, refactored
6097 * src/hildon-pannable-area.c,
6098 (hildon_pannable_area_class_init): Updated default vmax speed.
6099 (hildon_pannable_area_calculate_velocity): Added this function, it
6100 avoids duplicate valocity calculation. Adjusted calculation to
6101 avoid problems with zero dist events.
6103 (hildon_pannable_area_motion_notify_cb): Now we use the
6104 calculate_velocity function.
6106 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6108 * src/hildon-date-selector.c
6109 (hildon_date_selector_select_current_date): fix the day range check
6110 as it failed using the last day of the current month
6113 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6115 * src/hildon-touch-selector.c
6116 (hildon_touch_selector_get_num_columns): added a parameter validation
6119 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6121 * examples/Makefile.am
6122 * examples/hildon-edit-toolbar-example.c: Example of the
6123 HildonEditToolbar widget.
6125 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6127 * configure.ac: postrelease version bump.
6129 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6133 * configure.ac: prerelease version bump.
6134 * debian/changelog: update.
6136 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6138 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6139 renderer to display stock icons in the touch list. Also, set the sizes
6140 to the recommended in the style guide.
6142 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6143 * src/hildon-touch-selector.h
6144 (hildon_touch_selector_set_active_iter): renamed, now is
6145 hildon_touch_selector_select_iter
6146 (hildon_touch_selector_get_active_iter): renamed, now is
6147 hildon_touch_selector_get_selected
6148 (hildon_touch_selector_unselect_iter): added
6149 * src/hildon-touch-selector.c
6150 Update after API modification (methods renamed)
6151 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6152 order to avoid problems selecting multiple elements on the column
6153 (hildon_touch_selector_unselect_iter): added the implementation
6154 * src/hildon-time-selector.c
6155 * src/hildon-date-selector.c
6156 * src/hildon-touch-selector-entry.c
6157 Update methods calls after hildon-touch-selector.h API modification (methods
6160 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6162 * src/hildon-stackable-window.c
6163 (hildon_stackable_window_finalize): Call the parent class's finalize.
6165 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6167 * examples/hildon-touch-selector-example.c: (create_selector): Use
6168 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6171 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6173 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6174 set a cell background color, to respect theming.
6176 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6178 * doc/hildon-docs.sgml
6181 * src/hildon-edit-toolbar.c
6182 * src/hildon-edit-toolbar.h
6183 * src/hildon.h: New HildonEditToolbar widget.
6185 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6187 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6190 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6191 * src/hildon-touch-selector.c
6192 (_create_new_column): use g_object_set instead of two g_object_set_property
6194 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6195 * src/hildon-touch-selector.c
6196 (_create_new_column): use of hildon_gtk_tree_view_new to create
6197 the treeview, instead of use directly g_object_new
6198 (_create_new_column): update the property name "vindicator-mode" for the
6199 new one "vscrollbar-policy"
6200 * examples/hildon-date-button-example.c
6201 * examples/hildon-picker-button-multicolumn-example.c
6202 * examples/hildon-touch-selector-entry-example.c
6203 * examples/hildon-touch-selector-example.c
6204 * examples/hildon-time-button-example.c
6205 * examples/hildon-picker-button-example.c
6206 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6207 to all the treeviews inside a pannable area.
6209 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6211 * src/hildon-button.h
6212 * src/hildon-button.c (hildon_button_init)
6213 (hildon_button_set_arrangement, hildon_button_set_alignment)
6214 (hildon_button_set_title_alignment)
6215 (hildon_button_set_value_alignment)
6216 (hildon_button_set_image_alignment)
6217 (hildon_button_construct_child): New methods to set the alignment
6218 of the individual components of the button (title, value,
6219 image). Also, new method to alter the xscale and yscale properties
6220 of the GtkAlignment inside the button, so more complex layouts can
6223 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6225 * src/hildon-button.c (hildon_button_style_set)
6226 (hildon_button_class_init, hildon_button_set_arrangement)
6227 (hildon_button_construct_child): Apply style properties
6228 correctly. Use the 'image-spacing' style property too.
6230 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6232 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6233 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6236 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6238 * src/hildon-pannable-area.c,
6239 (hildon_pannable_area_size_request): Fixed problem with
6240 pannable-area size_request.
6242 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6244 Added management for the grab-focus to a child widget, like a
6245 range, we need to fade out the scrollbar when releasing.
6247 * src/hildon-pannable-area.c,
6248 (hildon_pannable_area_init): Connected the grab-focus signal to
6250 (hildon_pannable_area_grab_notify): Added this function in order
6251 to manage the situation when the grab-focus ends. We have to
6252 fade-out the scrollbar.
6254 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6256 * src/hildon-app-menu.c: Minor documentation update.
6258 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6260 * src/hildon-app-menu.c
6261 * examples/hildon-app-menu-example.c (create_menu): Update
6262 examples and documentation to explain how to connect callbacks.
6264 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6266 * examples/hildon-button-example.c
6267 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6268 hildon_stackable_window_new instead of gtk_window_new
6270 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6272 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6273 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6274 (hildon_pannable_area_set_property),
6275 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6276 (hildon_pannable_area_unrealize),
6277 (hildon_pannable_area_size_request),
6278 (hildon_pannable_area_size_allocate),
6279 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6280 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6281 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6282 (hildon_pannable_area_initial_effect),
6283 (hildon_pannable_area_redraw),
6284 (hildon_pannable_area_scroll_indicator_fade),
6285 (hildon_pannable_area_expose_event),
6286 (hildon_pannable_area_get_topmost), (synth_crossing),
6287 (hildon_pannable_area_button_press_cb),
6288 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6289 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6290 (hildon_pannable_area_motion_notify_cb),
6291 (hildon_pannable_area_button_release_cb),
6292 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6293 (hildon_pannable_area_remove),
6294 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6295 chage the code layout to a more GtkWidget like. Review the use of
6298 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6300 * examples/hildon-pannable-area-example-4.c,
6301 (main): Modified the name of the hindicator_mode to
6304 * src/hildon-pannable-area.c,
6305 (hildon_pannable_area_class_init),
6306 (hildon_pannable_area_motion_notify_cb),
6307 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6308 we have reduced the amount of signals and managed reviewed its
6309 rationale. Changed the default decelerate value.
6311 (hildon_pannable_area_add),
6312 (hildon_pannable_area_redraw): Refactored functions.
6314 (hildon_pannable_area_init),
6315 (hildon_pannable_area_get_property),
6316 (hildon_pannable_area_set_property):
6317 (hildon_pannable_draw_vscroll),
6318 (hildon_pannable_draw_hscroll),
6319 (hildon_pannable_area_initial_effect),
6320 (hildon_pannable_area_expose_event),
6321 (hildon_pannable_area_scroll),
6322 (hildon_pannable_area_button_press_cb),
6323 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6324 and vindicator_mode with hscrollbar_policy and
6325 vscrollbar_policy. Replaced hscroll and vscroll with
6326 hscroll_visible and vscroll_visible.
6328 (hildon_pannable_area_refresh): Refactor the function, remove
6329 variables and check the calls to this function, added resize
6330 conditions in case the children change their layout.
6332 (hildon_pannable_area_size_request): Added more detailed
6333 size_request calculation.
6336 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6338 * src/hildon-color-chooser.c
6339 (init_borders): use the correct gtk_border_free instead of g_free, to
6340 avoid a crash when this widget is used (ie: the three color selection
6343 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6345 * src/hildon-check-button.c,
6346 (hildon_check_button_set_active): Fixed problem when setting the
6347 active value, the widget was not redrawn.
6349 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6351 * src/hildon-pannable-area.c,
6352 (hildon_pannable_area_refresh),
6353 (hildon_pannable_area_scroll),
6354 (hildon_pannable_area_motion_notify_cb): Small code style change.
6356 (hildon_pannable_area_class_init): Default initial_hint set to
6357 FALSE, it is not in the specs.
6359 (hildon_pannable_area_initial_effect),
6360 (hildon_pannable_area_expose_event),
6361 (hildon_pannable_area_map),
6362 (hildon_pannable_area_init): Moved the launching point of the
6363 initial effect, it was in map but the sizes where not correct in
6364 that method so we do not know if we have the reproduce it. Now it
6365 is placed in the expose_event method and uses a variable to
6366 reproduce it just once.
6368 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6370 * src/hildon-pannable-area.c,
6371 (hildon_pannable_draw_vscroll),
6372 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6373 position allowed for the scrollbars.
6375 (hildon_pannable_area_size_allocate): Small style change.
6377 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6379 * src/hildon-pannable-area.c,
6380 (hildon_pannable_area_scroll_indicator_fade),
6381 (hildon_pannable_area_button_press_cb),
6382 (hildon_pannable_area_button_release_cb),
6383 (hildon_pannable_area_scroll_cb),
6384 (hildon_pannable_area_expose_event),
6385 (hildon_pannable_area_init): Added the define parameter
6386 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6387 and refactor the fade variable.
6389 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6391 * src/hildon-pannable-area.c,
6392 (hildon_pannable_area_redraw),
6393 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6394 lines, we were reimplemeting the redraw code.
6396 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6398 * src/hildon-pannable-area.c,
6399 (hildon_pannable_area_scroll_cb),
6400 (hildon_pannable_area_realize),
6401 (hildon_pannable_area_class_init): Added scroll_event management
6402 for pannable area, now we can scroll the usual desktop method.
6404 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6405 initialization of the parameters should depend on idle_id.
6407 (hildon_pannable_area_init),
6408 (hildon_pannable_area_map): Small code style modifications
6410 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6412 * src/hildon-pannable-area.c
6413 (hildon_pannable_area_button_press_cb),
6414 (hildon_pannable_area_motion_notify_cb),
6415 (hildon_pannable_area_button_release_cb),
6416 (hildon_pannable_area_size_allocate),
6417 (hildon_pannable_area_scroll_to): Improved the timeouts
6418 management, we avoid creating them each time.
6420 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6422 * src/hildon-pannable-area.c:
6423 (hildon_pannable_area_refresh),
6424 (hildon_pannable_area_motion_notify_cb),
6425 (hildon_pannable_area_class_init):
6426 * src/hildon-pannable-area.h:
6427 * src/hildon-touch-selector.c
6428 (_create_new_column):
6429 * examples/hildon-pannable-area-example-4.c:
6430 (horizontal_movement),
6431 (vertical_movement),
6433 Replaced the names of enums in the HildonPannableArea:
6434 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6435 HILDON_MOVEMENT_MODE_*
6436 - HILDON_PANNABLE_AREA_MOV_* ->
6438 - Removed HildonPannableAreaIndicatorMode, now we
6441 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6443 * examples/hildon-pannable-area-touch-grid-example.c
6444 * examples/hildon-pannable-area-touch-list-example.c: Fix
6445 compilation warnings.
6447 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6449 * src/hildon-gtk.c (hildon_gtk_button_new)
6450 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6451 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6452 images overriding the value of the "gtk-button-images" setting.
6454 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6456 * src/hildon-check-button.c (hildon_check_button_new):
6457 Instead of using a custom container, display the label and the
6458 checkbox using the standard GtkButton API.
6460 * examples/hildon-check-button-example.c (main): Don't use
6461 hildon_check_button_set_label() anymore
6463 * src/hildon-check-button.h
6464 * src/hildon-check-button.c
6465 (hildon_check_button_set_label, hildon_check_button_get_label):
6466 Set as deprecated, now we're using gtk_button_{get,set}_label()
6468 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6470 * src/hildon-pannable-area.c,
6471 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6472 GtkTreeview first line we detected it after the inclusion of the
6473 GtkWindowImpl in gtk+. We now check if the window is visible, not
6474 just if the pointer is over the window.
6475 (hildon_pannable_axis_scroll),
6476 (hildon_pannable_area_expose_event): Small style changes.
6478 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6480 * src/hildon-button.c: Update documentation.
6482 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6484 * examples/hildon-button-example.c: Add a switch to show images in
6487 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6489 * doc/hildon-docs.sgml: Some docs reorganization.
6491 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6493 * examples/hildon-pannable-area-touch-list-example.c
6495 * examples/hildon-pannable-area-touch-grid-example.c
6496 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6497 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6498 Fix memory leak when setting the tree model.
6500 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6504 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6506 * doc/hildon.types: Remove duplicated hildon_window_get_type
6507 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6508 documentation comment.
6510 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6512 * doc/Makefile.am: Complete list of private headers.
6514 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6516 * doc/hildon-docs.sgml
6517 * src/hildon-app-menu.c
6518 * src/hildon-bread-crumb.c
6519 * src/hildon-button.c
6521 * src/hildon-program.c
6522 * src/hildon-stackable-window.c
6523 * src/hildon-window.c: Lots of documentation updates.
6525 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6527 * debian/control: Depend on Gtk 2:2.12.9-0osso3
6529 * configure.ac: Require Gtk+ 2.12.9 at least
6531 2008-08-12 Alejandro G. Castro <alex@igalia.com>
6533 * src/hildon-pannable-area.c
6534 (hildon_pannable_area_scroll_indicator_fade),
6535 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6536 to protect the return of this timeout callbacks, avoiding deadlocks.
6538 2008-08-12 Christian Dywan <christian@imendio.com>
6541 * src/hildon-*.h: Ensure a consistent include order,
6542 include <gtk/gtk.h> instead of particular files and
6543 only include the topmost header in the gtk stack. See NB #39857
6545 2008-08-12 Christian Dywan <christian@imendio.com>
6547 * src/hildon-picker-dialog.c
6548 * src/hildon-touch-selector.c: Fix warnings about unused and
6549 uninitialized variables.
6551 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6553 * examples/Makefile.am
6554 * examples/hildon-check-button-example.c: Example of the hildon
6557 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6559 * src/hildon-window.h
6560 * src/hildon-window.c (hildon_window_class_init)
6561 (hildon_window_unset_program): Don't make
6562 hildon_window_unset_program a virtual function anymore.
6564 * src/hildon-stackable-window.c: Update documentation
6566 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6569 * doc/hildon-docs.sgml
6570 * doc/visual_index.xml
6571 * src/hildon-defines.c
6573 * src/hildon-helper.c
6574 * src/hildon-range-editor.c: Lots of documentation fixes.
6576 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6578 * examples/hildon-picker-button-multicolumn-example.c
6579 (create_touch_selector): Fix compilation warning.
6581 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6583 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
6584 (hildon_pannable_area_button_release_cb)
6585 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6587 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6589 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
6592 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6594 * src/hildon-bread-crumb-trail.h
6595 * src/hildon-date-editor.c
6596 * src/hildon-date-selector.c
6597 * src/hildon-pannable-area.c
6598 * src/hildon-picker-dialog.c
6599 * src/hildon-time-selector.c
6600 * src/hildon-touch-selector-entry.c
6601 * src/hildon-touch-selector.c
6602 * src/hildon-touch-selector.h: Misc documentation fixes
6604 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6606 * examples/hildon-date-editor-example.c (main): Updated date
6609 * examples/hildon-note-example.c (on_confirmation_clicked):
6610 Updated confirmation note example.
6612 * src/hildon-date-editor.c
6613 * src/hildon-note.c: Updated sample programs in documentation.
6616 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6618 * src/hildon-date-button.h:
6619 * src/hildon-picker-button.h:
6620 * src/hildon-time-button.c:
6621 * src/hildon-time-button.h:
6623 Some declarations changes to allow gtk-doc to document the widgets
6626 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6628 * src/hildon-date-button.c: Document the widget.
6629 * src/hildon-time-button.c: Document the widget.
6631 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6633 * src/hildon-picker-button.c: Document the widget.
6634 * src/hildon-touch-selector-entry.c: Document the widget.
6636 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6638 * doc/hildon-docs.sgml
6641 * src/hildon-check-button.h
6642 * src/hildon-check-button.c: New functions to create the Hildon
6646 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
6648 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6650 * src/hildon-button.h
6651 * src/hildon-button.c
6652 (hildon_button_add_title_size_group)
6653 (hildon_button_add_value_size_group)
6654 (hildon_button_add_image_size_group)
6655 (hildon_button_add_size_groups): New functions to set size groups
6656 for the button labels and image.
6657 (hildon_button_new_full): Removed
6659 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
6661 * src/hildon-time-selector.c
6662 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
6663 in order to avoid a crash if gconf is not available
6665 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6667 * src/hildon-button.c (hildon_button_set_arrangement)
6668 (hildon_button_construct_child): Don't construct the button child
6669 before setting the arrangement.
6671 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6673 * src/hildon-program-private.h
6674 * src/hildon-program.c
6675 * src/hildon-program.h
6676 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
6677 (hildon_program_peek_window_stack)
6678 (hildon_program_pop_window_stack)
6679 (hildon_program_go_to_root_window): HildonProgram now has a
6680 separate list for stackable windows. Functions are provided to
6681 manage that list with a stack-like API.
6683 * src/hildon-stackable-window.c: Stackable window management is
6684 now much simpler with the new HildonProgram API. Windows no
6685 longer need to be manually added to the program, they're
6686 automatically pushed to the top of the stack when shown.
6688 * examples/hildon-stackable-window-example.c: Updated example to
6689 reflect the API changes.
6691 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6693 * src/hildon-touch-selector.c: Comment out unimplemented
6694 hildon_touch_selector_insert_column() to avoid a compile warning.
6696 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6698 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6699 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
6700 (hildon_touch_selector_set_column_selection_mode),
6701 (_hildon_touch_selector_set_model),
6702 (hildon_touch_selector_set_model):
6704 Complete review of HildonTouchSelector documentation.
6706 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6708 * doc/hildon-docs.sgml
6712 * src/hildon-gtk.c: Convenience functions for standard Gtk
6713 widgets, used to easily perform frequent operations.
6715 * src/hildon-button-helpers.h
6716 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
6718 * src/hildon-helper.h
6719 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
6720 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
6722 * src/hildon-button.h
6723 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
6725 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6727 * src/hildon-button.c (hildon_button_init)
6728 (hildon_button_set_arrangement, hildon_button_construct_child):
6729 Pack the image and the labels inside the same GtkAlignment so
6730 gtk_button_set_alignment() can be used
6732 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6734 * src/hildon-button.h
6735 * src/hildon-button.c
6736 (hildon_button_init, hildon_button_set_image)
6737 (hildon_button_set_image_position)
6738 (hildon_button_construct_child): New functions to add an image to
6741 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6743 * src/hildon-date-button.c
6744 * src/hildon-picker-button.c
6745 * src/hildon-time-button.c
6746 * src/hildon-button.c:
6747 (hildon_button_class_init): "size-flags" renamed to "size"
6748 (hildon_button_set_title): Hide the title label if set to NULL.
6750 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6752 HildonButtonFlags split into HildonButtonArrangement (to set the
6753 button layout) and HildonSizeType (which can be used for any
6756 * src/hildon-button.h
6757 * src/hildon-button.c
6758 (hildon_button_class_init)
6759 (hildon_button_set_arrangement)
6760 (hildon_button_set_property): New "size-flags"
6761 property. "arrangement-flags" renamed to "arrangement".
6762 (hildon_button_new, hildon_button_new_with_text)
6763 (hildon_button_new_full): Constructors updated to reflect type changes.
6765 * src/hildon-helper.h
6766 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
6767 to set the size of a widget.
6771 * src/hildon-button-helpers.c
6772 * src/hildon-button-helpers.h: New hildon-button-helpers module.
6774 * src/hildon-date-button.c
6775 * src/hildon-date-button.h
6776 * src/hildon-picker-button.c
6777 * src/hildon-picker-button.h
6778 * src/hildon-time-button.c
6779 * src/hildon-time-button.h: Updated widgets to reflect
6780 HildonButton API changes.
6782 * examples/hildon-button-example.c
6783 * examples/hildon-date-button-example.c
6784 * examples/hildon-picker-button-example.c
6785 * examples/hildon-picker-button-multicolumn-example.c
6786 * examples/hildon-time-button-example.c
6787 * examples/hildon-touch-selector-entry-example.c
6788 * examples/hildon-touch-selector-example.c: Updated examples to
6789 reflect HildonButton API changes.
6791 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6793 * doc/hildon-docs.sgml:
6795 * examples/Makefile.am:
6796 * examples/hildon-touch-selector-entry-example.c:
6798 * src/hildon-touch-selector-entry.c:
6799 * src/hildon-touch-selector-entry.h:
6802 Moved HildonTouchSelectorEntry from sandbox. Added its
6803 documentation and examples.
6805 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6807 * src/hildon-touch-selector.h:
6808 * examples/hildon-picker-button-multicolumn-example.c:
6809 (hildon_touch_selector_append_text_column): Add a gboolean
6810 parameter to determine if text must be centered in the column.
6812 * src/hildon-date-selector.c: (hildon_date_selector_init):
6813 * src/hildon-time-selector.c: (hildon_time_selector_init):
6814 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
6815 (create_touch_selector): Update widgets and example to reflect
6818 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6820 * src/hildon-touch-selector.c:
6821 (hildon_touch_selector_set_active_iter): Set also the cursor in
6824 2008-08-06 Alberto Garcia <agarcia@igalia.com>
6826 * doc/hildon-docs.sgml
6829 * src/hildon-toggle-button.c
6830 * src/hildon-toggle-button.h
6831 * src/hildon.h: Removed HildonToggleButton widget, a derived
6832 class is not necessary for this.
6834 2008-08-06 Alejandro G. Castro <alex@igalia.com>
6836 * src/hildon-pannable-area.c,
6837 (hildon_pannable_area_realize),
6838 (hildon_pannable_area_size_allocate): Code refactoring, add tests
6841 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
6843 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
6844 "done" button the default widget for the dialog.
6846 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6848 * src/hildon-touch-selector.c:
6849 (hildon_touch_selector_class_init),
6850 (hildon_touch_selector_get_property),
6851 (_hildon_touch_selector_set_model),
6852 (_hildon_touch_selector_has_multiple_selection),
6853 (hildon_touch_selector_has_multiple_selection):
6854 Add a "has-multiple-selection" property with a virtual
6855 has_multiple_selection() method to allow derived classes to
6856 override the default value for it. See the method and property
6857 documentation for details.
6859 * src/hildon-touch-selector.h: Add the new API.
6861 * src/hildon-picker-dialog.c: (requires_done_button): Call
6862 hildon_touch_selector_has_multiple_selection() instead of
6863 determining the need for a button itself.
6865 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6867 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6868 (_hildon_touch_selector_set_model),
6869 (hildon_touch_selector_set_model): Move working code to
6870 _hildon_touch_selector_set_mode(). Call the class method instead.
6872 * src/hildon-touch-selector.h: Add (*set_model) to
6873 HildonTouchSelectorClass.
6875 Make hildon_touch_selector_set_model() a virtual method, so that
6876 derived classes can extend it and do fancy stuff with the model.
6878 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6880 * configure.ac: Set back the tarname in AC_INIT to hildon.
6882 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6886 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
6887 instead of libesd (NB#86876). Volume handling is still an open issue.
6889 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
6892 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6894 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
6895 (hildon_touch_selector_append_column): Make the widget a GtkVBox
6896 derived class to ease placement of an entry widget in
6897 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
6898 end, where the selector columns are packed now.
6900 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6902 * src/hildon-picker-button.c: Removed the simple _text() API.
6903 * src/hildon-picker-button.h: Likewise.
6905 * src/hildon-touch-selector.h:
6906 * src/hildon-touch-selector.c:
6907 (hildon_touch_selector_new_text),
6908 (hildon_touch_selector_append_text),
6909 (hildon_touch_selector_prepend_text),
6910 (hildon_touch_selector_insert_text):
6912 Moved the simple _text() API from HildonPickerButton to
6913 HildonTouchPicker, to provide better escalability and not to tie
6914 that API to HildonPickerButton.
6916 * examples/hildon-picker-button-example.c: (main): Example updated.
6918 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6920 * src/hildon-button.c: Updated documentation.
6922 * examples/hildon-button-example.c: Add the posibility to create
6923 the buttons using horizontal layout for title and value.
6925 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6927 * src/hildon-app-menu-private.h
6928 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
6929 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
6930 GtkSizeGroup for the filters, use the 'homogeneous' property of
6933 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6935 * examples/hildon-button-example.c: Updated example.
6937 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
6939 * doc/hildon-docs.sgml:
6942 Update documentation.
6944 * examples/Makefile.am: Update renamed examples.
6946 * examples/hildon-picker-button-multicolumn-example.c:
6947 (create_touch_selector), (main): Update after the rename.
6949 * examples/hildon-touch-picker-example.c: Removed.
6950 * examples/hildon-touch-selector-example.c: (value_changed),
6951 (create_selector), (get_visible_content), (main): Renamed from
6952 hildon-touch-picker-example.c
6954 * src/Makefile.am: Updated renamed files.
6956 * src/hildon-date-button.c: (hildon_date_button_init),
6957 (hildon_date_button_get_date), (hildon_date_button_set_date):
6958 * src/hildon-date-selector.c: (hildon_date_selector_init),
6959 (_custom_print_func), (_update_day_model),
6960 (_manage_selector_change_cb),
6961 (hildon_date_selector_select_current_date),
6962 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
6963 * src/hildon-date-selector.h:
6964 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6965 (hildon_picker_button_set_property),
6966 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6967 (hildon_picker_button_init), (hildon_picker_button_new_text),
6968 (hildon_picker_button_append_text),
6969 (hildon_picker_button_prepend_text),
6970 (hildon_picker_button_insert_text),
6971 (hildon_picker_button_set_selector),
6972 (hildon_picker_button_get_selector):
6973 * src/hildon-picker-button.h:
6974 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
6975 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
6976 (_update_title_on_selector_changed_cb), (requires_done_button),
6977 (_hildon_picker_dialog_set_selector),
6978 (hildon_picker_dialog_set_selector),
6979 (hildon_picker_dialog_get_selector):
6980 * src/hildon-picker-dialog.h:
6981 * src/hildon-time-button.c: (hildon_time_button_init),
6982 (hildon_time_button_get_time), (hildon_time_button_set_time):
6983 * src/hildon-time-selector.c: (hildon_time_selector_init),
6984 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
6985 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
6986 * src/hildon-time-selector.h:
6989 Massive code updates after the rename.
6991 * src/hildon-touch-picker.c: Removed.
6992 * src/hildon-touch-picker.h: Removed.
6994 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6995 (hildon_touch_selector_init), (hildon_touch_selector_map),
6996 (hildon_touch_selector_remove), (_default_print_func),
6997 (_selection_changed_cb), (_create_new_column),
6998 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
6999 (hildon_touch_selector_append_text_column),
7000 (hildon_touch_selector_remove_column),
7001 (hildon_touch_selector_set_column_attributes),
7002 (hildon_touch_selector_insert_column),
7003 (hildon_touch_selector_get_num_columns),
7004 (hildon_touch_selector_get_column_selection_mode),
7005 (hildon_touch_selector_set_column_selection_mode),
7006 (hildon_touch_selector_set_print_func),
7007 (hildon_touch_selector_get_print_func),
7008 (hildon_touch_selector_get_active_iter),
7009 (hildon_touch_selector_set_active_iter),
7010 (hildon_touch_selector_get_selected_rows),
7011 (hildon_touch_selector_get_model),
7012 (hildon_touch_selector_set_model),
7013 (hildon_touch_selector_get_current_text),
7014 (_hildon_touch_selector_center_on_selected_items):
7015 * src/hildon-touch-selector.h: Renamed from
7016 hildon-touch-picker.[ch]
7018 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7019 references, code examples, and related documentation.
7021 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7023 * doc/hildon-docs.sgml
7026 * src/hildon-toggle-button.c
7027 * src/hildon-toggle-button.h
7028 * src/hildon.h: New HildonToggleButton widget.
7030 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7032 * src/hildon-button.c: Add API documentation.
7033 (hildon_button_set_size_groups): Check input parameters
7035 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7037 * src/hildon-pannable-area.c
7038 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7039 effect after reaching the movement thredshold. This way we start
7040 using the distance after passing the thredshold.
7042 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7044 * src/hildon-button.c: (hildon_button_set_property): Use the
7045 appropriate g_value_get_flags() method.
7047 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7049 * doc/hildon-docs.sgml:
7052 Add the touch pickers, picker dialogs, and picker button widgets
7053 to the documentation.
7055 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7057 * src/hildon-button.c: (hildon_button_set_property),
7058 (hildon_button_class_init): Make "arrangement-flags" a proper
7059 G_TYPE_FLAGS derived property.
7061 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7063 * examples/Makefile.am: Add below examples.
7064 * examples/hildon-date-button-example.c:
7065 * examples/hildon-picker-button-example.c:
7066 * examples/hildon-picker-button-multicolumn-example.c:
7067 * examples/hildon-time-button-example.c:
7068 * examples/hildon-touch-picker-example.c:
7070 Add examples for the recently added touch pickers,
7071 picker dialogs, and picker button widgets.
7073 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7075 * src/hildon-button.c: Add some API documentation
7077 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7079 * src/hildon-button.h
7080 * src/hildon-button.c
7082 (hildon_button_new_with_text): New constructor to create a button
7083 with no text at all.
7084 (hildon_button_init, hildon_button_set_arrangement)
7085 (hildon_button_set_title, hildon_button_set_value)
7086 (hildon_button_set_text)
7087 (hildon_button_construct_child): Hide the value when it's not used
7088 so the rest of the text is properly aligned.
7089 Allow creating buttons with arbitrary widgets inside (not just
7090 title/value labels).
7092 * examples/hildon-button-example.c (vertical_buttons_window)
7093 (horizontal_buttons_window): Update example to use new API.
7095 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7097 * src/Makefile.am: Added HildonTimeButton.
7098 * src/hildon-time-button.c: Added missing LGPL header.
7099 * src/hildon-time-button.h: Added missing LGPL header.
7100 * src/hildon.h: Add hildon-time-button.h
7102 Copied HildonTimeButton from sandbox to trunk. Future work on this
7103 widget must take place in trunk.
7105 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7107 * src/Makefile.am: Added HildonDateButton.
7108 * src/hildon-date-button.c: Update includes.
7109 * src/hildon.h: Add hildon-date-button.h
7111 Copied HildonDateButton from sandbox to trunk. Future work on this
7112 widget must take place in trunk.
7114 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7116 * src/Makefile.am: Added HildonPickerButton.
7117 * src/hildon-picker-button.h: Update includes.
7118 * src/hildon.h: Add hildon-picker-button.h
7120 Copied HildonPickerButton from sandbox to trunk. Future work on
7121 this widget must take place in trunk.
7123 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7125 * src/Makefile.am: Added HildonPickerDialog.
7126 * src/hildon-picker-dialog.c: Update includes.
7127 * src/hildon.h: Add hildon-picker-dialog.h
7129 Copied HildonPickerDialog from sandbox to trunk. Future work
7130 on this widget must take place in trunk.
7132 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7134 * src/Makefile.am: Added HildonTimeSelector.
7135 * src/hildon.h: Add hildon-time-selector.h
7137 Copied HildonTimeSelector widget from sandbox to trunk. Future
7138 work on this widget must happen in trunk.
7140 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7142 * src/Makefile.am: Added HildonDateSelector.
7143 * src/hildon.h: Add hildon-date-selector.h
7145 Copied HildonDateSelector widget from sandbox to trunk. Future
7146 work on this widget must happen in trunk.
7148 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7150 * src/Makefile.am: Added HildonTouchPicker.
7151 * src/hildon-touch-picker.c: Update includes.
7152 * src/hildon.h: Add hildon-touch-picker.h
7154 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7155 on this widget must happen in trunk.
7157 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7159 * src/hildon-pannable-area.c:
7160 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7162 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7164 * examples/hildon-app-menu-example.c (main): Let the window
7167 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7169 * src/hildon-pannable-area.c
7170 (hildon_pannable_area_class_init): Set the min value of the
7171 overshoot properties to zero, which points out that not
7172 overshooting allowed.
7174 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7176 Modified the procedure to get the widget at a point inside the
7177 pannable area when using the movement type signals. Now the user
7178 has to call a function to get the child, that way we just
7179 calculate the child in case the user really want to use it and not
7182 * src/hildon-marshalers.list: Modified the marshallers, now we do
7183 not have the widget as a parameter.
7185 * src/hildon-pannable-area.c
7186 (hildon_pannable_area_motion_notify_cb),
7187 (hildon_pannable_area_class_init),
7188 (hildon_pannable_get_child_widget_at): Removed the widget
7189 parameter from the signal callback. We have also refactored the
7190 emission of the signals.
7192 * src/hildon-pannable-area.h: Added a new method to the API to
7193 calculate a widget at a point inside the pannable area,
7194 hildon_pannable_get_child_widget_at.
7196 * examples/hildon-pannable-area-example-4.c
7197 (horizontal_movement): Modified the example to use the new API,
7198 added condition to control which widget is under the event. This
7199 way we can avoid scrolling laterally over other widgets.
7201 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7203 * src/hildon-pannable-area.c
7204 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7205 modes, we stop getting the pointer events due to returning the
7206 callback without properly calling the get pointer again. Fixed
7207 also an error using the hscroll and vscroll.
7209 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7211 * src/hildon-app-menu-private.h
7212 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7213 (hildon_app_menu_button_release, hildon_app_menu_init)
7214 (hildon_app_menu_class_init): Don't hide the menu on button
7215 release if the user didn't press outside first.
7217 * src/hildon-window.h
7218 * src/hildon-window.c (hildon_window_toggle_menu)
7219 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7220 hildon_window_toggle_menu a virtual function for the stackable
7221 window to override it.
7223 * src/hildon-stackable-window.h
7224 * src/hildon-stackable-window-private.h
7225 * src/hildon-stackable-window.c
7226 (hildon_stackable_window_realize)
7227 (hildon_stackable_window_finalize)
7228 (hildon_stackable_window_class_init)
7229 (hildon_stackable_window_init)
7230 (hildon_stackable_window_set_main_menu): New function to set the
7231 app menu of a HildonStackableWindow.
7233 * examples/hildon-app-menu-example.c: Remove the button to show
7234 the app menu, now it'll be shown when clicking on the title bar
7237 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7239 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7240 set the widget name if the arrangement flags do not specify
7243 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7245 * src/hildon-button.c: (hildon_button_set_property),
7246 (hildon_button_class_init), (hildon_button_new_full),
7247 (hildon_button_set_arrangement): Added "arrangement-flags"
7250 Make the HildonButtonFlags a construction-only property, to allow
7251 subclasses to set them properly.
7253 2008-07-21 Tim Janik <timj@imendio.com>
7255 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7256 insertion position after backspace, so additional digits are appended,
7259 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7261 * src/hildon-pannable-area.c,
7262 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7263 TODO list, it was complete and removed the g_debug and g_print
7266 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7268 Added the movement modes to the hildon-pannable-area, with this
7269 modes the developers can control in which directions the widget
7270 can scroll. They can also connect to signals in order to do
7271 something when that happens, allowing applications scroll. There
7272 is an example uploaded showing how to use it.
7274 * examples/Makefile.am:
7275 * examples/hildon-pannable-area-example-4.c: Added this example of
7276 an application using the modes.
7278 * src/hildon-marshalers.list: Added a new marshaller for the new
7281 * src/hildon-pannable-area.h: Added new enumerations and flags in
7282 order to control the movement modes and the new signals to warn
7283 about the movements in the area.
7285 * src/hildon-pannable-area.c:
7286 (hildon_pannable_axis_scroll),
7287 (hildon_pannable_area_scroll),
7288 (hildon_pannable_area_motion_notify_cb),
7289 (hildon_pannable_area_get_property),
7290 (hildon_pannable_area_set_property),
7291 (hildon_pannable_area_map),
7292 (hildon_pannable_area_class_init),
7293 (hildon_pannable_area_init),
7294 (hildon_pannable_area_jump_to): Added the modes to control the
7295 movement in the widget. We have added properties to control it,
7296 signals to warn about the movements and refactored some code.
7298 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7300 Changes required in order to allow vfast_factor set to zero to
7303 * src/hildon-pannable-area.c:
7304 (hildon_pannable_area_button_press_cb): Changed the condition, it
7305 is required for not allowing click when vfast_factor is zero.
7306 (hildon_pannable_area_timeout): Initialized velocity variables
7307 when we stop moving, it was less than 1 but not zero and we need
7308 to check zero in some situations.
7309 (hildon_pannable_area_class_init): Changed the default value of
7310 the speed factor, now the button_press is just sent in case the
7311 speed is 2 per cent of the max speed.
7312 (hildon_pannable_area_init): Initialization with 0.
7314 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7316 * src/hildon-pannable-area.c,
7317 (hildon_pannable_area_get_topmost): replaced
7318 gdk_window_get_children with gdk_window_peek_children, this way we
7319 do not have to free the list because it is not a copy.
7321 (hildon_pannable_axis_scroll),
7322 (hildon_pannable_area_scroll),
7323 (hildon_pannable_area_timeout),
7324 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7325 two parameters that were only used inside the
7326 hildon_pannable_area_scroll function.
7328 * examples/hildon-pannable-area-example.c,
7329 (get_sawtooth_label): Fixed small memory leak.
7331 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7333 More checks for the case where the overshoot is bigger than the
7336 * src/hildon-pannable-area.c:
7337 (hildon_pannable_draw_vscroll),
7338 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7339 to draw the slider of the scrollbar under the other scrollbar.
7340 (hildon_pannable_area_expose_event): added new checks to control
7341 the drawing of the overshooting area rectangle, in case it is too
7342 big for the area of the widget.
7343 (hildon_pannable_area_size_allocate): add more checks to avoid
7344 setting a position to the child widget outside the area.
7346 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7348 * src/hildon-pannable-area.c
7349 (hildon_pannable_area_size_allocate): Added conditions to control
7350 when overshooting is bigger than the allocated space for the
7351 children, this avoids negative allocations.
7353 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7355 * doc/hildon-docs.sgml
7357 * examples/Makefile.am
7358 * examples/hildon-button-example.c
7360 * src/hildon-button.c
7361 * src/hildon-button.h
7362 * src/hildon.h: Initial version of the new HildonButton widget,
7365 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7367 * src/hildon-pannable-area.c:
7368 (hildon_pannable_area_button_press_cb),
7369 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7370 (hildon_pannable_area_motion_notify_cb),
7371 (hildon_pannable_area_button_release_cb),
7372 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7373 (hildon_pannable_area_jump_to_child):
7375 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7377 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7379 * examples/Makefile.am
7380 * examples/hildon-pannable-area-touch-grid-example.c
7381 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7382 the Hildon Touch List and Hildon Touch Grid using the
7383 HildonPannableArea widget.
7385 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7387 * src/hildon-pannable-area.c,
7388 (hildon_pannable_area_button_press_cb),
7389 (hildon_pannable_area_refresh),
7390 (hildon_pannable_area_scroll),
7391 (hildon_pannable_area_motion_notify_cb),
7392 (hildon_pannable_area_button_release_cb),
7393 (hildon_pannable_area_expose_event),
7394 (hildon_pannable_area_add),
7395 (hildon_pannable_area_remove),
7396 (hildon_pannable_area_realize),
7397 (hildon_pannable_area_size_allocate),
7398 (hildon_pannable_area_class_init),
7399 (hildon_pannable_area_init),
7400 (hildon_pannable_area_scroll_to_child),
7401 (hildon_pannable_area_jump_to_child): Fixed the problem of
7402 removing the child from the GtkBin, we have rearranged the widget
7403 hierarchy, now there is no GtkAlignment which was not doing
7404 anything interesting but breaking some of the assumptions of
7405 GtkContainer. Now developers if they want to add a GtkAlignment
7406 they could, but it is not inside the area.
7408 We had to review the whole allocation/expose process, now it is
7409 improved and we save at least three signals which would be saving
7410 some time when rendering the widget. The allocation of the
7411 scrollbars is now made in the allocate method as usual.
7413 We have also added some conditions in order to control when there
7414 is no child of the pannable area. Maybe we will need more work
7417 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7419 * src/hildon-pannable-area.c,
7420 (hildon_pannable_area_dispose): Released the fade-out timeout when
7421 disposing the widget.
7423 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7425 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7426 zero, we are going to use that property in order to deactivate the
7428 (hildon_pannable_axis_scroll),
7429 (hildon_pannable_area_size_allocate): Added conditions to control
7430 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7431 call, now it is called in all situations and we can remove calls
7432 in the allocate method.
7433 (hildon_pannable_area_map): Control the situation when
7434 overshoot_max is zero, we do not need the timeout.
7435 (hildon_pannable_area_class_init): Added documentation in order to
7436 point out that setting zero to overshoot_max means deactivate
7439 NOTE: removed trailing whitespaces from my previous comments of
7442 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7444 * src/hildon-pannable-area.c
7445 (hildon_pannable_area_get_property),
7446 (hildon_pannable_area_set_property),
7447 (hildon_pannable_area_map),
7448 (hildon_pannable_area_class_init),
7449 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7450 to cause the widget give a hint about its panning abilities upon
7453 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7455 * src/hildon-pannable-area.c: Several documentation improvements.
7457 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7459 * src/hildon-program.c
7460 * src/hildon-stackable-window.c: Update documentation.
7462 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7464 * src/hildon-stackable-window.c (get_previous_window_if_last):
7465 Renamed get_last_window()
7466 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7467 (hildon_stackable_window_unset_program):
7469 (get_previous_window_if_last):
7470 Detect if the window hasn't been added to a HildonProgram.
7472 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7474 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7476 * src/hildon-pannable-area.c
7477 (hildon_pannable_area_button_press_cb),
7478 (hildon_pannable_axis_scroll),
7479 (hildon_pannable_area_scroll),
7480 (hildon_pannable_area_timeout),
7481 (hildon_pannable_calculate_vel_factor),
7482 (hildon_pannable_area_get_property),
7483 (hildon_pannable_area_set_property),
7484 (hildon_pannable_area_class_init),
7485 (hildon_pannable_area_init),
7486 (hildon_pannable_area_scroll_to),
7487 (hildon_pannable_area_jump_to),
7488 (hildon_pannable_area_scroll_to_child),
7489 (hildon_pannable_area_jump_to_child):
7490 * src/hildon-pannable-area.h: Added the new API functions:
7491 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7492 hildon_pannable_area_scroll_to_child,
7493 hildon_pannable_area_jump_to_child
7496 * examples/Makefile.am
7497 * examples/hildon-pannable-area-example-2.c
7498 * examples/hildon-pannable-area-example-3.c: Added these two new
7499 examples in order to test and show how the new APIs work.
7501 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7503 * examples/hildon-stackable-window-example.c (new_window):
7504 * src/Makefile.am (noinst_HEADERS):
7505 * src/hildon-program.c (hildon_program_go_to_root_window):
7506 * src/hildon-program.h:
7507 * src/hildon-stackable-window-private.h:
7508 * src/hildon-stackable-window.c:
7509 * src/hildon-stackable-window.h:
7510 Create hildon-stackable-window-private.h
7511 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7513 * examples/hildon-app-menu-example.c (create_menu):
7514 * examples/hildon-hvolumebar-insensitive-example.c (main):
7515 * examples/hildon-hvolumebar-timer-example.c (on_idle):
7516 * examples/hildon-toolbar-seekbar-example.c (main):
7517 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7518 * src/hildon-banner.c (hildon_banner_set_property):
7519 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7520 Fix compilation warnings
7522 * src/hildon-window.c:
7525 2008-06-24 Alberto Garcia <agarcia@igalia.com>
7527 * src/hildon-stackable-window.c
7528 (hildon_stackable_window_unset_program):
7529 Calculate correctly whether to show the previous window if the
7530 last one is removed from the stack.
7531 (hildon_stackable_window_go_to_root_window):
7532 Send delete events starting from the topmost window.
7533 Stop if one of the windows is not destroyed.
7535 (hildon_stackable_window_delete_event)
7536 (hildon_stackable_window_class_init):
7537 Ignore the delete event if the window is not the topmost one.
7539 2008-06-24 Alejandro G. Castro <alex@igalia.com>
7541 * src/hildon-pannable-area.c
7542 (hildon_pannable_area_expose_event): Fixed a problem when
7543 selecting the background color of the scrollbars.
7545 2008-06-23 Alberto Garcia <agarcia@igalia.com>
7547 * examples/hildon-stackable-window-example.c
7548 * src/hildon-stackable-window.c
7549 * src/hildon-stackable-window.h
7550 hildon_stackable_window_go_home() renamed to
7551 hildon_stackable_window_go_to_root_window()
7552 Send delete events to windows rather than closing them with
7553 gtk_widget_destroy()
7555 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7557 * src/hildon-pannable-area.c
7558 (hildon_pannable_area_button_release_cb): Fix overshooting in
7561 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7563 * src/hildon-pannable-area.c
7564 (hildon_pannable_area_init): Initially show the scroll indicators.
7565 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7567 Add initial effect showing the widget is pannable.
7569 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7571 * src/hildon-pannable-area.c
7572 (hildon_pannable_area_class_init)
7573 (hildon_pannable_area_set_property)
7574 (hildon_pannable_area_get_property)
7575 (hildon_pannable_area_button_press_cb):
7576 New 'velocity_fast_factor' property to decide which velocity is
7579 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7581 * src/hildon-pannable-area.c
7582 (hildon_pannable_draw_hscroll)
7583 (hildon_pannable_draw_vscroll):
7584 Use float variables to calculate the size of the scrollbars to
7585 avoid error propagation and resizing during scrolling.
7587 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7589 * src/hildon-pannable-area.c
7590 (hildon_pannable_draw_vscroll)
7591 (hildon_pannable_draw_hscroll):
7592 Define a minimum size for the scroll bars
7594 * src/hildon-stackable-window.c
7595 (hildon_stackable_window_go_home): Fix compilation warning
7596 (get_last_window): Minor optimizations
7597 (hildon_stackable_window_class_init): Fix initialization of
7600 2008-06-18 Alberto Garcia <agarcia@igalia.com>
7602 * src/hildon-stackable-window.c: Fixed typos in doc
7604 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
7606 * src/hildon-pannable-area.c
7607 (hildon_pannable_area_scroll):
7608 Calculate here whether we need to scroll instead of using the booleans
7609 that tell us whether to /draw/ the scrolling bars.
7611 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
7613 * src/hildon-app-menu.h
7615 * src/hildon-app-menu.c
7616 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
7617 multiple filter groups related code and API. Now we support only
7619 * examples/hildon-app-menu-example.c:
7621 Update to reflect API changes.
7623 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
7625 * src/hildon-stackable-window.c
7626 (hildon_stackable_window_class_init):
7627 Add hildon_stackable_window_realize.
7628 (hildon_stackable_window_realize):
7629 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
7630 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
7631 to apply theming and behavior specific to HildonStackableWindow
7634 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7636 * src/hildon-note.c (hildon_note_button_release):
7637 Close information notes also when tapping on them
7639 2008-06-12 Alejandro G. Castro <alex@igalia.com>
7641 Added BOUNCE_STEPS define to control the overshoot effect. Removed
7642 ELASTICITY, refactor and review, fix some issues with drawing
7645 * src/hildon-pannable-area.c:
7646 (hildon_pannable_area_button_press_cb): removed the conditions to
7647 avoid clicks when overshooting. It is not required
7649 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
7650 define. Refatored and reviewed the code, now we do not need to
7651 manage velocity in motion_notify.
7653 (hildon_pannable_area_motion_notify_cb): We have moved the code
7654 that controls the area_scroll to the axis_scroll function and get
7655 rid of duplicated code.
7657 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
7659 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
7661 (hildon_pannable_draw_vscroll),
7662 (hildon_pannable_draw_hscroll): Fixed the problems with the
7663 scrollbar drawing, now we do not use two surfaces, it is easier
7664 and saves resources.
7666 (hildon_pannable_area_get_property): Style modification.
7668 (hildon_pannable_area_class_init): Changed some default values.
7670 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
7672 * src/hildon-stackable-window.c: Fix some typos in the
7675 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7677 * src/hildon-dialog.c:
7678 Change indentation style
7681 (hildon_note_button_release):
7682 Use root coordinates to check if the release event happened
7685 * src/hildon-app-menu.c
7686 (hildon_app_menu_button_release):
7687 Remove unnecessary check
7689 * examples/hildon-app-menu-example.c
7691 Add cast to fix warning
7693 * src/hildon-app-menu.c
7694 (hildon_app_menu_class_init):
7695 New inner-border style property.
7696 Set all default spacings to 16
7697 (hildon_app_menu_init):
7698 Use vertical-spacing to set the space between filter buttons and
7699 regular menu buttons.
7700 Set the default container border using the inner-border value.
7702 * examples/hildon-app-menu-example.c
7704 Don't set the menu border explicitly, now we have the inner-border
7705 style property for that.
7707 2008-06-11 Alberto Garcia <agarcia@igalia.com>
7709 * src/hildon-app-menu.c (hildon_app_menu_init):
7710 Make the window modal
7712 * src/hildon-note.c (hildon_note_map)
7713 * src/hildon-app-menu.c (hildon_app_menu_map):
7714 Destroy the grab window if we're unable to grab the pointer
7716 * src/hildon-app-menu-private.h
7717 * src/hildon-app-menu.c
7718 (hildon_app_menu_init, hildon_app_menu_finalize)
7719 (hildon_app_menu_map, hildon_app_menu_unmap)
7720 (hildon_app_menu_button_release)
7721 (grab_transfer_window_get):
7722 Bring back the grab window
7723 (hildon_app_menu_realize):
7724 Decorate the window, set WM hint for Matchbox
7726 * src/hildon-note.c (hildon_note_realize):
7727 * src/hildon-banner.c (hildon_banner_realize):
7728 Add WM hints for Matchbox
7730 2008-06-10 Alberto Garcia <agarcia@igalia.com>
7732 * src/hildon-app-menu-private.h
7733 * src/hildon-app-menu.c
7734 (hildon_app_menu_init, hildon_app_menu_finalize)
7735 (hildon_app_menu_map, hildon_app_menu_unmap)
7736 (hildon_app_menu_button_release):
7737 Remove the grab window, it's not needed anymore
7739 * src/hildon-program.c
7740 Fixed typo in documentation
7742 * src/hildon-app-menu.h
7743 * src/hildon-app-menu.c
7744 * examples/hildon-app-menu-example.c
7745 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
7747 2008-06-09 Alberto Garcia <agarcia@igalia.com>
7750 Added new transfer_window and close_if_pressed_outside private
7752 (hildon_note_rebuild):
7753 Don't add a cancel button to the information note. It will be
7754 closed when tapping outside
7755 Remove the comment about the OK button in the documentation
7756 (hildon_note_realize):
7757 Set the notification type hint
7758 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
7759 Grab/ungrab pointer and keyboard if the note has to be closed when
7761 (hildon_note_button_release):
7762 Close the note when tapping outside (if applicable)
7764 * src/hildon-app-menu.c
7765 Grab/ungrab pointer and keyboard on map/unmap
7766 (hildon_app_menu_button_release, hildon_app_menu_class_init):
7767 Close the menu on button release, not button press
7769 * src/hildon-banner.c
7770 (hildon_banner_set_property)
7771 (hildon_banner_check_position):
7772 Make the banner use the full width of the screen
7773 (hildon_banner_show_information)
7774 (hildon_banner_show_information_with_markup):
7775 Don't display an icon by default
7777 2008-06-09 Alejandro G. Castro <alex@igalia.com>
7779 Added fading scrollbars and adapted all the overshooting code to
7780 horizontal scrolling. We have also fixed bugs with overshooting
7781 and current fading implementation.
7783 * src/hildon-pannable-area.c
7784 (hildon_pannable_area_scroll_indicator_fade): Time out function
7785 used to change the transparency of the scrollbars.
7787 (hildon_pannable_area_button_press_cb): Added horizontal overshot
7788 control and fixed a problem with fading, we now remove the fade
7789 timeout before adding a new one.
7791 (hildon_pannable_axis_scroll):
7792 (hildon_pannable_area_scroll):
7793 (hildon_pannable_area_timeout): Added this functions so we can use
7794 the scroll code both for vertical and horizontal.
7796 (hildon_pannable_area_motion_notify_cb):
7797 (hildon_pannable_area_button_release_cb): Added the horizontal
7798 scrolling control, fixed a problem with the overshooting timeout.
7800 (rgb_from_gdkcolor): Added this function, it is used in the cairo
7801 painting of the scrolls.
7803 (hildon_pannable_draw_vscroll):
7804 (hildon_pannable_draw_hscroll):
7805 (hildon_pannable_area_expose_event):
7806 Draw both scrollbars and rectangles in the overshooting area.
7808 (hildon_pannable_area_get_property):
7809 (hildon_pannable_area_set_property):
7810 Modified the overshoot property to overshoot_max
7812 (hildon_pannable_area_map):
7813 Replaced the comments symbols.
7815 (hildon_pannable_area_size_allocate):
7816 (hildon_pannable_area_class_init):
7817 (hildon_pannable_area_init): Added horizontal scroll, fading
7818 effect properties, fixed a problem when overshooting in the bottom
7821 * examples/hildon-pannable-area-example.c:
7822 (get_sawtooth_label): Now we use smaller sawtooths, the effect
7823 looks better in the example.
7825 2008-06-03 Alberto Garcia <agarcia@igalia.com>
7827 * src/hildon-window.c
7828 * src/hildon-window.h
7829 (hildon_window_class_init)
7830 (hildon_window_unset_program)
7831 (hildon_window_unset_program_real):
7832 Make unset_program a virtual function
7834 * src/hildon-stackable-window.c
7835 * src/hildon-stackable-window.h
7836 Added hildon_stackable_window_go_home()
7838 * examples/Makefile.am
7839 * examples/hildon-stackable-window-example.c
7840 HildonStackableWindow example
7842 2008-06-03 Alejandro G. Castro <alex@igalia.com>
7844 * hildon-pannable-area.c: Added the overshoot property and removed
7845 the OVERSHOOT define. Fixed an indent style error.
7846 (hildon_pannable_area_motion_notify_cb):
7847 (hildon_pannable_area_get_property):
7848 (hildon_pannable_area_set_property): Add overshoot property.
7850 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
7853 (hildon_pannable_area_class_init): Installed the new property.
7855 * hildon-pannable-area-example.c: Added a sawtooth function, this
7856 way it is easier to check the movement in the pannable.
7857 (get_sawtooth_label): Added this function.
7858 (main): Now we get the labels from the new get_sawtooth_label
7861 2008-05-26 Alberto Garcia <agarcia@igalia.com>
7863 * src/hildon-app-menu.h
7864 * src/hildon-app-menu.c
7865 Renamed API variables for consistency
7867 (hildon_app_menu_popup): Use also the default window size to
7868 decide where to place the menu
7870 (hildon_app_menu_init, hildon_app_menu_class_init): New
7871 external-border style property
7873 2008-05-26 Michael Natterer <mitch@imendio.com>
7875 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
7876 widget_class->tap_and_hold_setup signal slot doesn't exist any
7877 longer, stop overriding it.
7879 (hildon_time_editor_init): g_signal_connect() to the
7880 tap-and-hold-setup signal instead.
7882 (hildon_time_editor_entry_keypress): add cast to fix warning.
7884 2008-05-23 Alberto Garcia <agarcia@igalia.com>
7886 * doc/hildon-docs.sgml
7888 * examples/Makefile.am
7889 * examples/hildon-app-menu-example.c
7891 * src/hildon-app-menu-private.h
7892 * src/hildon-app-menu.c
7893 * src/hildon-app-menu.h
7895 New HildonAppMenu widget
7897 2008-05-21 Alejandro G. Castro <alex@igalia.com>
7899 Rearranged the inheritance of the pannable area, now it inherits
7900 from GtkBin. This will allow us to control the event_window and
7901 the allocation process of the widget, required for some effects.
7903 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
7904 GtkBin structures. * src/hildon-pannable-area.c: Added the
7905 event_window variable.
7906 (hildon_pannable_area_button_press_cb):
7907 (hildon_pannable_area_button_release_cb):
7908 (hildon_pannable_area_motion_notify_cb):
7909 Changed the signature of the method, now we override the event
7910 callback instead of connecting to the signal.
7912 (hildon_pannable_area_realize):
7913 (hildon_pannable_area_unrealize):
7914 (hildon_pannable_area_map):
7915 (hildon_pannable_area_unmap):
7916 (hildon_pannable_area_size_allocate):
7917 Added functions to control the widget construction. We add a
7918 INPUT_ONLY window and we put it over the widgets inside the
7919 container, this event_window handles the events.
7921 (hildon_pannable_area_class_init):
7922 Replaced the signal connections with overrides of the event
7925 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7927 Bouncing effect added when touching the borders, you can change
7928 the elasticity of the border changing the ELASTICITY define.
7930 * src/hildon-pannable-area.c: Added ELASTICITY define.
7931 (hildon_pannable_area_timeout): Added inverse velocity when
7932 touching the border of the child widget, that causes a bounce.
7934 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7936 Improved performance, we now do not go to the X server in order to
7937 get the list of window children. Apparently the effect is the
7938 same, we have to be careful and check if this breaks something in
7941 * src/hildon-pannable-area.c:
7942 (get_ordered_children): Removed this function.
7943 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
7944 the children windows function with gdk_window_get_children.
7946 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7948 * src/hildon-pannable-area.c:
7949 (hildon_pannable_area_dispose): Fixed a crash when closing the
7950 window and kinetics is activated.
7952 2008-05-19 Alberto Garcia <agarcia@igalia.com>
7954 * src/hildon-pannable-area.h
7955 * src/hildon-pannable-area.c
7956 Changed indentation style to meet the one used in Hildon
7958 2008-05-19 Alejandro G. Castro <alex@igalia.com>
7960 Reviewed the interaction of the AUTO mode, now we use the time
7961 attribute of the events and calculate the velocity in the motion,
7962 doing a gimp like calculation. The velocity is calculated in each
7963 motion event using the last velocity and the current one, the
7964 SMOOTH_FACTOR controls the percentage of the new velocity we use.
7966 * src/hildon-pannable-area.c: Replaced the time based algorithm
7968 (hildon_pannable_area_motion_notify_cb): now we do not launch the
7969 timeout for the AUTO mode when we are still moving the cursor. We
7970 added also the velocity calculation in this function.
7971 (hildon_pannable_area_button_release_cb): launch the timeout in
7972 case we are in AUTO mode. There are still some constants here that
7973 come from the old implementation that should be reviewed and
7976 2008-05-15 Alberto Garcia <agarcia@igalia.com>
7978 * doc/hildon-docs.sgml
7981 * src/hildon-stackable-window.c
7982 * src/hildon-stackable-window.h
7984 New HildonStackableWindow widget
7986 * examples/hildon-dialog-example.c
7987 * examples/hildon-pannable-area-example.c
7990 2008-05-14 Alberto Garcia <agarcia@igalia.com>
7992 * src/hildon-dialog.c
7993 (hildon_dialog_new_with_buttons): New constructor.
7995 * examples/hildon-dialog-example.c
7996 (main): Update the example to use the new
7997 hildon_dialog_new_with_buttons().
7999 * examples/hildon-pannable-area-example.c
8000 (main): Update example.
8002 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8004 * doc/hildon-docs.sgml
8006 Added HildonPannableArea to the documentation.
8008 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8010 * doc/visual_index.xml
8011 Fix reference to HildonLoginDialog in documentation
8013 * doc/hildon-docs.sgml
8015 * examples/Makefile.am
8016 * examples/hildon-dialog-example.c
8018 * src/hildon-dialog.c
8019 * src/hildon-dialog.h
8021 New HildonDialog widget.
8023 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8025 * src/hildon-pannable-area.c
8026 Merge latest changes (r4318, r4342) from libmokoui trunk
8028 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8030 * examples/Makefile.am
8031 * examples/hildon-pannable-area-example.c
8033 * src/hildon-pannable-area.c
8034 * src/hildon-pannable-area.h
8036 New HildonPannableArea widget.
8038 2008-04-15 18:05:19 <timj@imendio.com>
8040 * src/hildon-banner.c: revert the recent change, that introduced
8041 gtk_window_present() calls. this reopens:
8042 Bug 78481 - [freetest] information banners are hidden under browser menu
8043 But resolves another variant of:
8044 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8046 2008-04-15 13:21:13 <timj@imendio.com>
8048 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8049 recreated its layout, spotted by Kris. this fixes all remaining
8050 artefacts and stability issues with the banner code. in particular:
8051 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8053 2008-04-14 16:52:59 <timj@imendio.com>
8055 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8056 operating on unrealized widgets, fixes:
8057 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8059 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8061 2008-04-09 Kristian Rietveld <kris@imendio.com>
8063 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8064 makes banner disappear.
8065 Fixes: NB#79182: info banner flickering with certain message lengts.
8067 * src/hildon-banner.c (hildon_banner_constructor),
8068 (hildon_banner_init), (hildon_banner_set_text),
8069 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8070 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8071 FALSE, reset size requests of label and banner,
8072 (force_to_wrap_truncated): when the text is too wide, always enforce
8073 the maximum possible width instead of recalculating it from the
8074 layout; enforce the maximum banner height of 3 lines,
8075 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8076 nicer wrapping and no truncated chars if space gets tight.
8078 * src/hildon-banner-private.h: add has_been_wrapped and
8079 has_been_truncated fields.
8081 2008-04-07 Sven Herzberg <sven@imendio.com>
8083 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8084 local values in hildon_date_editor_size_allocate
8086 * src/hildon-date-editor.c: moved the real allocation code into the
8089 2008-04-07 Sven Herzberg <sven@imendio.com>
8091 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8092 local values in hildon_date_editor_size_allocate
8094 * src/hildon-date-editor.c: merged the two if() branches together
8096 2008-04-07 Sven Herzberg <sven@imendio.com>
8098 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8099 local values in hildon_date_editor_size_allocate
8101 * src/hildon-date-editor.c: changed the arguments of the if()
8104 2008-04-07 Sven Herzberg <sven@imendio.com>
8106 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8107 local values in hildon_date_editor_size_allocate
8109 * src/hildon-date-editor.c: split the calculation of the allocation
8110 from the real allocation
8112 2008-03-27 Michael Natterer <mitch@imendio.com>
8114 Fixes: NB#81696: The passcode is not overwritten even after
8117 * src/hildon-code-dialog.c
8118 (hildon_code_dialog_button_clicked)
8119 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8120 because that doesn't overwrite selected text. Instead, emit the
8121 "commit" signal on the entry's im_context so the entry's normal
8122 insert logic is triggered. Set the cursor to the end of the entry
8123 after each insert operation so that we *only* insert in the middle
8124 of the text if something was selected.
8126 2008-03-27 Michael Natterer <mitch@imendio.com>
8128 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8129 selector cannot be opened
8131 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8132 when the popup color selector is created. Please connect to this
8133 signal in order to set the dialog's help ID.
8135 2008-03-25 Sven Herzberg <sven@imendio.com>
8137 Fixes: MB#1212: Hide info banners (infoprints) on click
8139 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8140 extracted the close event simulation into an extra function
8141 (hildon_banner_button_press_event): simulate a close event and destroy
8142 the widget if the event wasn't handled
8143 (hildon_banner_class_init): added the button_press_event handler
8144 (hildon_banner_init): added button-press events to the widget
8146 2008-03-25 Sven Herzberg <sven@imendio.com>
8148 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8149 Patch from: Mohammad Anwari <mdamt@maemo.org>
8151 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8152 instead of the right in RTL mode
8153 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8154 breadcrumb button list in RTL mode
8155 * src/hildon-caption.c: mirror the appearance of the caption widget in
8157 * src/hildon-date-editor.c: mirror appearance of the date editor in
8159 * src/hildon-time-editor.c: mirror appearance of the time editor in
8161 * src/hildon-window.c: fix the position of the popup in RTL mode
8163 2008-03-25 Sven Herzberg <sven@imendio.com>
8165 Amendment to the fix of NB#22072. Fix compilation.
8167 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8169 2008-03-19 Sven Herzberg <sven@imendio.com>
8171 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8174 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8175 timeout id properly when the timeout will disappear this leaves no
8176 artifacts around in the destroy(); there will only be the timeout
8177 created by hildon_banner_ensure_timeout() and adding a new timeout
8178 will also work if the timeout gets removed because the timeout_handler
8181 2008-03-19 Michael Natterer <mitch@imendio.com>
8183 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8185 * src/hildon-volumebar.c
8186 * src/hildon-vvolumebar.c
8187 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8188 the widget becomes focussable at all.
8190 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8191 set the focus to wither the mute button or the volumebar.
8193 Remove own "can-focus" property and instead listen to
8194 notify::can-focus in order to update the widget's state.
8196 Implement GtkWidget::focus() and make sure we can also *leave* the
8197 widget, not only enter it, depending on volumebar orientation and
8198 requested focus direction.
8200 Clean up set_mute() to cooperate nicely with all the above.
8202 2008-03-04 Michael Natterer <mitch@imendio.com>
8204 Fixes: NB#78481: information banners are hidden under browser menu
8206 * src/hildon-banner.c: call gtk_window_present() on the banners so
8207 they are risen if they are already visible.
8209 2008-03-03 Sven Herzberg <sven@imendio.com>
8211 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8213 * examples/hildon-window-menu-example.c: (main): extended the window
8214 menu example to serve as a testcase for automatically added
8215 accelerator groups, too
8216 * src/hildon-window.c: (hildon_window_add_accel_group),
8217 (hildon_window_set_menu): added patch by Tommi Komulainen
8219 2008-03-03 Sven Herzberg <sven@imendio.com>
8221 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8223 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8224 knowledge about the border allocators used within GTK+
8226 2008-02-26 Sven Herzberg <sven@imendio.com>
8228 Fixes: MB#2981: Build with asserts broken
8230 * src/hildon-date-editor.c,
8231 * src/hildon-number-editor.c,
8232 * src/hildon-time-editor.c,
8233 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8234 the proper GType instance check
8236 2008-02-25 Sven Herzberg <sven@imendio.com>
8238 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8240 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8241 * examples/hildon-window-menu-example.c: (main): explicitly show
8243 * src/hildon-window.c:
8244 (hildon_window_set_main_menu): moved most of the code from set_menu()
8245 to this place; skipped the call to gtk_widget_show_all(); also didn't
8246 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8247 (hildon_window_set_menu): removed most of the code, just keep the
8248 questionable gtk_widget_show_all()
8249 * src/hildon-window.h: added the new function and deprecate the old
8252 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8258 * debian/changelog: Updating.
8260 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8263 * pkgconfig/Makefile.am:
8264 * pkgconfig/hildon.pc.in:
8267 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8268 use newly created API_MAJOR_VERSION.
8270 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8276 * debian/changelog: Updating.
8278 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8280 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8282 Add outer_border style property, we use it but don't define it (!).
8286 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8288 * examples/hildon-bread-crumb-trail-example.c (main):
8292 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8294 Fix logic for the bread crumb trail node removal.
8298 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8304 * debian/changelog: Updating.
8306 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8308 Patch by Alejandro to get/set passwords dialogs accesibility.
8310 * hildon-1/src/hildon-get-password-dialog.c:
8311 * hildon-1/src/hildon-set-password-dialog.c:
8312 Set atk_set_name to the passwd entries in order to allow
8313 accessibility by name on this entries.
8315 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8320 * debian/control: Updating gtk dep.
8322 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8324 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8325 USE_MAEMO_GTK is enabled.
8327 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8329 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8330 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8332 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8338 * debian/changelog: Updating.
8340 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8342 * examples/Makefile.am:
8343 * examples/hildon-logical-color-example.c:
8344 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8345 applied + adding a test case. Fixes: NB#71660.
8347 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8349 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8350 to be visible, fixes warning on map for windows without toolbars.
8352 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8354 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8355 2.11.0, add a check for that besides the MAEMO_GTK check.
8357 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8363 * debian/changelog: Updating.
8365 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8367 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8368 visibility. Fixes: NB#70842 and MB#615.
8370 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8372 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8373 set the separator as no-show-all so it doesn't unintentionally appear when
8374 someone does a show_all.
8376 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8378 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8379 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8380 toplevel item. Fixes: NB#62031
8382 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8384 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8385 fix the name of the function in the docs.
8387 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8393 * debian/changelog: Updating.
8395 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8397 * examples/hildon-banner-long-example.c: Adding a test-case for long
8400 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8402 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8404 * src/hildon-color-chooser-dialog.c:
8405 * src/hildon-color-chooser.c:
8406 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8407 memory leaks in font selector and color selector. Fixes: NB#70499 and
8410 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8412 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8414 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8416 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8417 little bit bigger. Fixes: #NB63694.
8419 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8425 * debian/changelog: Updating.
8427 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8430 * doc/hildon-docs.sgml:
8431 * doc/images/bread-crumb-trail.png:
8432 * doc/images/calendar-popup.png:
8433 * doc/images/caption.png:
8434 * doc/images/code-dialog.png:
8435 * doc/images/color-button.png:
8436 * doc/images/color-chooser-dialog.png:
8437 * doc/images/color-chooser.png:
8438 * doc/images/controlbar.png:
8439 * doc/images/date-editor.png:
8440 * doc/images/font-selection-dialog.png:
8441 * doc/images/get-password-dialog.png:
8442 * doc/images/hvolumebar.png:
8443 * doc/images/login-dialog.png:
8444 * doc/images/note.png:
8445 * doc/images/number-editor.png:
8446 * doc/images/range-editor.png:
8447 * doc/images/seekbar.png:
8448 * doc/images/set-password-dialog.png:
8449 * doc/images/sort-dialog.png:
8450 * doc/images/time-editor.png:
8451 * doc/images/time-picker.png:
8452 * doc/images/vvolumebar.png:
8453 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8454 Adding the bread-crumb-trial and helpers to the documentation.
8456 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8458 * examples/hildon-find-toolbar-example.c:
8459 * src/hildon-find-toolbar.c:
8460 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8461 actually continue firing the other handlers if connected. Adding a new
8463 hildon_find_toolbar_get_last_index that gets the index of the most
8464 recently added (last) item. Fixes: NB#52301.
8466 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8468 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8469 behaviour. Fixes: NB#68610.
8471 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8473 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8476 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8478 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8479 when realizing the banner. Should make the infonbanner effect a bit more
8482 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8484 * src/hildon-volumebar.c:
8485 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8486 hildon_volumebar_set_range_insensitive_message and
8487 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8489 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8491 * src/hildon-window.c: Fixing the border freeing on destroy.
8493 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8495 * src/hildon-code-dialog-private.h:
8496 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8497 kw keyboard support in HildonCodeDialog.
8499 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8505 * debian/changelog: Updating.
8507 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8509 * src/hildon-date-editor.c:
8510 * src/hildon-number-editor.c:
8511 * src/hildon-private.c:
8512 * src/hildon-private.h:
8513 * src/hildon-time-editor.c:
8514 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8515 handling in subclassed composite widgets. Fixes: NB#66628.
8517 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8519 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8520 from destroy_ callback as it introduces problems in async dbus signal
8521 handlers. Fixes NB#66673.
8523 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8525 * examples/hildon-hvolumebar-example.c:
8526 * src/hildon-volumebar.c: Improving the focus handling in the
8527 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8528 set_property accessor so that "mute" property can be actually set. I'm
8529 scared that nobody noticed it's totally broken.
8531 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8533 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8536 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8538 * src/hildon-calendar.c:
8539 * src/hildon-number-editor.c:
8540 * src/hildon-time-picker.c: Changing the timeout repeat so that it
8541 matches the spec of 6 chars per second. Fixes: NB#60489.
8543 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8545 * src/hildon-helper.c: Really fixing NB#58352. Looks like
8546 gtk_style_lookup_color sometime returns FALSE even though color was
8547 found and values were filled properly. Weird. Removing the warning for the
8550 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8552 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8553 expand vertically. Adding some extra space to the find toolbar buttons to
8554 make them thumbable. Fixes NB#66060.
8556 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8558 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8559 popup with "Ok" and "Cancel". Fixes NB#59299.
8561 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8563 * src/hildon-calendar.c: Process all window updates before executing next
8564 timeout. Fixes: NB#54146.
8566 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8572 * debian/changelog: Updating.
8574 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8576 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8577 the client event and ignore it, since we use the delete event to close
8580 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8582 * src/hildon-helper.c: Remove the bogus warning about color not being
8583 found. Fixes NB#58352.
8585 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8587 * examples/Makefile.am:
8588 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8589 HildonSeekbar widget inside a toolbar.
8591 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8593 * src/hildon-banner.c (hildon_banner_init): mark the banners as
8594 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8595 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8596 don't want to be closed by non-temporary windows on map.
8598 Also use G_DEFINE_TYPE instead of manually typed code.
8600 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8607 * debian/rules: Updating.
8609 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8611 * examples/Makefile.am:
8612 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8613 bug NB#61128. Strangely it works.
8615 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8617 * src/hildon-date-editor.c: When the date editor entry has been changed
8618 but the numbers of characters < max, turn off the skip validation flag.
8619 Prevents a situation when we enter first a valid year and later re-write
8620 it with an invalid one. Fixes NB#60154.
8622 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8624 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
8625 code dialog. Fixes NB#64355.
8627 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8629 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
8630 switching the page. Fixes NB#49374.
8632 * examples/Makefile.am:
8633 * examples/hildon-wizard-dialog-example.c: Adding an example for
8634 HildonWizardDialog that shows how to handle manual sensitivity setting on
8637 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8641 * src/hildon-version.h.in:
8642 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
8644 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8646 * src/hildon-volumebar.c: Updating the docs.
8648 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8654 * debian/changelog: Updating.
8656 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8658 * src/hildon-find-toolbar.c:
8659 * src/hildon-find-toolbar.h: Adding a few new functions to control the
8660 selected item: hildon_find_toolbar_set_active,
8661 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
8662 hildon_find_toolbar_get_active_iter . They correspond to respective
8663 GtkComboBox functions.
8665 * examples/Makefile.am:
8666 * examples/hildon-find-toolbar-example.c: Adding the example to test the
8669 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8671 * examples/Makefile.am:
8672 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
8675 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
8676 when font size > 32 and we pack a focusable widget inside. Actually using
8677 the default response would work too, but since we don't show default
8678 response state in any way (no theming) it would not be visible to the
8679 user. Fixes NB#63430.
8681 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8683 * src/hildon-date-editor.c: Adding the missing variable setter in the
8684 set_property handler. Fixes NB#54182.
8686 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8688 * src/hildon-window.h: Changing the long key press time from 1500ms to
8689 800ms as requested in NB#63700. I have a bad feeling about this, let's
8690 see... Fixes NB#63700.
8692 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
8694 * src/hildon-time-picker.c (hildon_time_picker_class_init,
8695 hildon_time_picker_map, hildon_time_picker_realize,
8696 hildon_time_picker_style_set): Split the contents of map to more
8697 appropriate functions; set window decorations on realize and update
8698 arrows' size requisitions on style-set. Avoids unnecessary resizing.
8700 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
8705 * debian/changelog: Updating.
8707 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
8709 * src/Makefile.am: fixed installation of the header files
8711 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8717 * debian/changelog: Updating.
8719 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8721 * configure.ac: Removing some remaining of --enable-xan.
8723 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
8725 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
8726 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
8728 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
8729 2.10.12-osso6 because the move-focus signal needs to be available in
8732 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8734 * examples/Makefile.am:
8735 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
8736 that makes a HildonVolumebar insensitive before mapping it. Seems to work
8737 fine. Prolly NB#61128 is fixed now.
8739 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8741 * src/hildon-volumebar.c:
8742 * src/hildon-volumebar.h: Adding the
8743 hildon_volumebar_set_range_insensitive_message and
8744 hildon_volumebar_set_range_insensitive_messagef functions to set
8745 insensitive message on the slider of the volumebar. Fixes NB#61129.
8747 * examples/Makefile.am:
8748 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
8749 test the new insensitive messsage functionality on HildonVolumebar.
8751 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
8753 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
8756 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
8758 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
8759 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
8760 button on after clearing the trail.
8762 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8764 * src/hildon-code-dialog.c: Removing the separator from the dialog.
8766 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8768 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
8769 by splitting the installed headers in generated and non-generated groups. Use
8770 only the non-generated headers to create the hildon-enum-types.h file.
8772 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
8774 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8776 * src/hildon-window.c: Hide the window before performing the destroy.
8777 Should make the app closing a little tiny bit more snappy.
8779 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8781 * src/hildon-seekbar.c: add gtkrange.h header
8782 * src/hildon-caption.c: remove unused variable
8784 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
8786 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
8789 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8795 * debian/changelog: Updating.
8797 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
8799 * src/hildon-window.c (hildon_window_window_state_event,
8800 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
8801 escape timeout on focus-out-event rather than notify::is-topmost; the
8802 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
8804 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8806 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
8807 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
8809 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8811 * src/hildon-window: actually, you need to use the macro always, there's
8812 no private pointer in the instance structure. We should have cleaned this up
8813 when we had the chance...
8815 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8817 * src/hildon-window.c: do not get the private date from HildonWindow before
8818 it passes the g_return_if_fail check. Once it's passed the test, there's no
8819 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
8820 if you are only going to access the data once. Whitespace cleanups.
8822 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
8824 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8825 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8827 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8833 * debian/changelog: Updating.
8835 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8837 * src/hildon-window.c: When destroying the window, remove (if exists) the
8838 escape timeout handler. Fixes #NB59276.
8840 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8842 * src/hildon-banner.c: When realizing the widget, set the window
8843 transiency. Setting the transiency in the gobject constructor is not
8844 good, as the widget is not realized at that point. Fixes: #NB56624.
8846 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8848 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
8849 Add padding for future expansions.
8851 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8853 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
8854 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
8855 will fake an activation on the previous to the last item of the trail, so
8856 the effect can be overrided by the developer as usual.
8857 Also change the callback for the back button to do the same thing, so its
8858 effect can be overrided too. Fixes: NB#58982
8860 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8862 * src/hildon-caption.c: Implementing the proper focus grabbing in the
8863 HildonCaption. Fixes NB#52379.
8865 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8867 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
8868 the internal state of the trail after the user has had the chance of executing
8869 his handler for the signal. Specifically, it may happen that the activated button
8870 is removed and the user still lets the default handler run. This would segfault
8873 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8875 * src/hildon-font-selection-dialog.c: When the font is really big, add the
8876 scrollbar to the preview dialog. Fixes NB#54147.
8878 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8880 * src/hildon-date-editor.c: Changing the default max year to 2037. The
8881 max/min year properties can be altered, so the client can modify it
8882 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
8884 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8886 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
8887 hildonlike by default. Fixing a problem with disappearing arrows when
8888 scrolling through months and years. Fixes NB#54127.
8890 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8892 * examples/hildon-date-editor-example.c: Adding error callback to the date
8895 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8901 * configure.ac: Updating.
8903 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8905 * configure.ac: Adding a special '--enable-xan' configure option that
8906 turns off the -Werror compilation setting. Usefull for development.
8908 * src/hildon-calendar.c:
8909 * src/hildon-number-editor.c:
8910 * src/hildon-time-picker.c: Adding the 5* multiplier to
8913 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
8915 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
8916 instead of g_object_ref + gtk_object_sink.
8918 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8924 * debian/changelog: Updating.
8926 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8928 * src/hildon-color-chooser-dialog.c:
8929 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
8930 straight from Tommi labs.
8932 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8934 * examples/hildon-finger-example.c: Correcting the header file path.
8936 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
8937 the changed signal. Fixes a small memory leak.
8939 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8943 * src/hildon-banner.c: Importing several usefull fixes from the
8944 ubuntu-mobile branch.
8946 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8948 * examples/Makefile.am:
8949 * examples/hildon-finger-example.c: Adding a finger-checking code
8952 * src/hildon-font-selection-dialog.c: Do not allocate the color
8953 structure using the g_new. Fixes NB#54061.
8955 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8957 * src/hildon-helper.c: Correcting tabs in file.
8959 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
8961 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
8962 control the visibility of the children.
8964 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
8966 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8972 * debian/changelog: Updating.
8974 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8976 * src/hildon-bread-crumb-trail.c:
8977 (hildon_bread_crumb_trail_size_allocate):
8979 Make the back button always a square.
8981 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8983 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
8984 from the .c file as it's a private file.
8986 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8988 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
8989 uses slightly bigger height.
8991 * src/hildon-font-selection-dialog.c: Adding some checks before
8992 freeing memory in the font selection dialog.
8994 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8996 * src/hildon-font-selection-dialog.c: Adding a small check when
8999 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9000 buttons sensitivity on page switching.
9002 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
9004 * src/hildon-bread-crumb-trail.c: make the add method handle all the
9005 internal details of adding a bread crumb to the trail.
9007 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9013 * debian/changelog: Updating.
9015 * src/hildon-bread-crumb-trail.h:
9016 * src/hildon-bread-crumb.h: Changing the API guard to
9017 HILDON_ENABLE_UNSTABLE_API.
9019 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9027 * src/hildon-helper.h: Updating.
9029 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9037 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9041 * src/hildon-helper.h: Small fix to make the package actually compile.
9043 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9045 * src/hildon-bread-crumb-trail.h:
9046 * src/hildon-bread-crumb.h:
9048 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9049 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9051 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9053 * examples/hildon-bread-crumb-trail-example.c:
9055 * src/hildon-bread-crumb-trail.c:
9056 * src/hildon-bread-crumb-trail.h:
9057 * src/hildon-bread-crumb.c:
9058 * src/hildon-bread-crumb.h:
9059 * src/hildon-marshalers.list:
9060 * src/hildon-bread-crumb-widget.c:
9061 * src/hildon-bread-crumb-widget.h:
9063 Slight change in the widget design. The bread crumb trail API is
9064 unchanged, but HildonBreadCrumb is now an interface. A *private*
9065 implementation, hildon-bread-crumb-widget, is provided and used
9066 internally by the trail for the push_text/push_icon functions.
9068 The generic push API is still available, so anyone can implement
9069 and use its own bread crumb widget.
9071 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9073 * debian/rules: Fixing the shlibs.
9075 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9077 * src/hildon-banner.c: Fixing a problem with timed banners having
9078 their parrent destroyed before they are.
9080 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9082 * src/hildon-bread-crumb.c:
9083 * src/hildon-bread-crumb.h:
9085 Make the get_natural_size function a vfunc.
9087 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9089 * src/hildon-bread-crumb.c:
9090 * src/hildon-bread-crumb-trail.c:
9094 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9101 * debian/changelog: Updating for release.
9103 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9105 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9106 don't leak the pango layout.
9108 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9111 * examples/hildon-bread-crumb-trail-example.c:
9115 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9117 * debian/changelog: Removing the bug-fixed entries that were actually
9118 resolved as WONTFIX.
9120 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9123 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9125 * src/hildon-bread-crumb-trail.c:
9126 * src/hildon-bread-crumb-trail.h:
9127 * src/hildon-bread-crumb.c:
9128 * src/hildon-bread-crumb.h:
9132 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9134 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9135 until it's passed the type check.
9137 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9139 * examples/hildon-bread-crumb-trail-example.c
9143 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9145 * examples/Makefile.am
9146 * examples/hildon-bread-crumb-trail-example.c
9148 * src/hildon-bread-crumb-trail.c
9149 * src/hildon-bread-crumb-trail.h
9150 * src/hildon-bread-crumb.c
9151 * src/hildon-bread-crumb.h
9153 New HildonBreadCrumbTrail widget.
9155 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9157 * src/hildon-range-editor.c (hildon_range_editor_init),
9158 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9159 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9160 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9161 hildon_time_editor_class_init, hildon_time_editor_init),
9162 src/hildon-get-password-dialog.c (invalid_input,
9163 hildon_get_password_set_property, hildon_get_password_get_property,
9164 create_contents, hildon_get_password_dialog_set_max_characters),
9165 src/hildon-set-password-dialog.c (create_contents),
9166 src/hildon-date-editor.c (hildon_date_editor_init),
9167 src/hildon-login-dialog.c (hildon_login_dialog_init),
9168 src/hildon-number-editor.c (hildon_number_editor_init),
9169 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9170 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9171 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9172 configure option and adding the respective checks in the code.
9173 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9174 hildon_calendar_drag_data_received): fixed some build warnings.
9176 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9178 * debian/changelog: A 1.0.0 release notes.