1 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
3 * configure.ac: post release version bump
4 * debian/changelog: post release version bump
6 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
11 * configure.ac: Bump version.
12 * debian/changelog: Updates.
14 2009-05-15 Alberto Garcia <agarcia@igalia.com>
17 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
18 New API function to take a screenshot of a window
20 Fixes: NB#106374 (Need API to take a loading screenshot)
22 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
24 * hildon/hildon-time-selector.c
25 (update_format_policy): prevent to use hours and minutes unitialized
27 2009-05-15 Alberto Garcia <agarcia@igalia.com>
29 * hildon/hildon-window.c (hildon_window_size_request):
30 Always request the full size of the screen (minus the title bar if
31 not in fullscreen mode).
33 Fixes: NB#107486 (HildonWindow should size itself properly)
35 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
37 * hildon/hildon-note-private.h: Add idle_handler to the private data.
38 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
39 (on_show_cb), (sound_handling): Disconnect the idle handler for
40 the sound when the note is finalized to avoid possible crashes.
42 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
45 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
47 * src/hildon-animation-actor.c,
48 * src/hildon-remote-texture.c:
49 Added proper object cleanup to remove signal handler and object
50 references as HildonAnimationActor and HildonRemoteTexture
51 objects get destroyed.
53 Fixes: NB#116682 (Destroying parented animation actors when
54 parent in unmapped leads to crash)
56 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
58 Based on a patch by Christian Dywan (christian@imendio.com)
60 * doc/hildon-sections.txt:
61 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
62 * hildon/hildon-helper.h: New file size formatting method.
64 * debian/control: Depend on osso-filemanager l10n package for
65 proper localization strings.
67 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
69 * tests/Makefile.am: Include top_srcdir to make possible to build
70 tests in a different builddir.
71 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
72 on a different builddir.
74 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
76 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
77 (hildon_touch_selector_remove): Disconnect model's signal handler
80 Fixes: NB#116289 (Hildon home crashes while adding task
83 2009-05-11 Alberto Garcia <agarcia@igalia.com>
85 * hildon/hildon-button.c
86 (hildon_button_set_title, hildon_button_set_value):
87 Hide labels containing an empty string.
89 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
91 * configure.ac: post release version bump
92 * debian/changelog: post release version bump
94 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
99 * configure.ac: Bump version.
100 * debian/changelog: Updates.
102 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
104 * hildon/hildon-note-private.h: Removed sound_signal_handler
105 * hildon/hildon-note.c
106 (on_show_cb): new callback on note "show" event, this simply adds
107 a idle, with the function sound_handling
108 (sound_handling): removed the sound_signal_handler management
109 (hildon_note_init): connect note "show" event to on_show_cb
110 (hildon_note_realize): remove the connection to "expose-event"
112 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
113 device?' confirmation note)
115 2009-05-08 Alberto Garcia <agarcia@igalia.com>
117 * hildon/hildon-note.c
118 (hildon_note_new_information_with_icon_name)
119 (hildon_note_new_confirmation_with_icon_name):
120 Terminate the list of parameters in g_object_set() calls
122 Fixes: NB#115166 (Formatting memory card is not taking place)
124 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
126 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
127 "dialog-information" role for the sound being played.
129 2009-05-06 Alberto Garcia <agarcia@igalia.com>
131 * hildon/hildon-app-menu.c (hildon_app_menu_init):
132 Don't make the menu a modal window, it causes strange interactions
133 with the pointer grab and it's not really needed.
135 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
137 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
139 * hildon/hildon-touch-selector.[ch]
140 (hildon_touch_selector_optimal_size_request): function added to get a
141 optimal size request from the touch selector, when you want a dialog to
142 show as much of the selector
143 * hildon/hildon-picker-dialog.c:
144 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
145 (hildon_app_menu_class_init):
146 New "max-height-landscape" and "max-height-portrait" style properties
147 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
148 (hildon_picker_dialog_get_max_height): returns the maximum height using
149 the style properties defined and checking the current portrait/landscape
151 (_hildon_picker_dialog_set_selector): removed the set_size_request
153 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
155 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
157 * hildon/hildon-bread-crumb-trail.c:
158 * hildon/hildon-bread-crumb.c:
159 * hildon/hildon-seekbar.c:
160 Add reference to replacements for these deprecated widgets.
162 Fixes: MB#4461 (Documentation: All deprecations should mention
165 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
167 * examples/hildon-remote-texture-example.c
169 Change the include to the hildon-remote-texture in order to compile
170 properly the examples on the installed libhildon1-examples package
172 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
174 * tests/Makefile.am: Add check for HildonPickerButton.
175 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
176 (START_TEST), (create_hildon_picker_button_suite): Add three simple
177 checks for the HildonPickerButton.
178 * tests/check_test.c (configure_tests): Add the test suite.
179 * tests/test_suites.h: likewise.
181 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
183 * hildon/hildon-touch-selector.c
184 (+on_row_changed): Emit HildonTouchSelector:changed when the
185 contents of a selected row change.
186 (_create_new_column), (_hildon_touch_selector_set_model): connect
187 to GtkTreeModel:row-changed on a newly set model.
189 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
191 2009-05-05 Alberto Garcia <agarcia@igalia.com>
193 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
195 * hildon/hildon-banner.c (hildon_banner_destroy)
196 (hildon_banner_show_progress, hildon_banner_set_fraction):
197 Remove the progress bar from HildonBanner and use a progress
200 Fixes: NB#113761 (Update progress banner to use progress
203 2009-05-04 Alberto Garcia <agarcia@igalia.com>
205 * hildon/hildon-banner.c:
206 Calculate size of the banner label using the actual screen width
207 rather than using a fixed value.
209 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
212 2009-05-04 Alejandro G. Castro <alex@igalia.com>
214 * hildon/hildon-pannable-area.c,
215 (hildon_pannable_area_class_init): Fixed signals documentation
218 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
220 * configure.ac: post release version bump
221 * debian/changelog: post release version bump
223 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
228 * configure.ac: Bump version.
229 * debian/changelog: Updates.
231 2009-05-01 Alberto Garcia <agarcia@igalia.com>
233 * hildon/hildon-edit-toolbar.c
234 (hildon_edit_toolbar_init):
235 Don't let buttons in HildonEditToolbar receive focus.
237 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
238 typing on an HW arrows key)
240 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
242 * doc/Makefile.am: Fix build.
244 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
246 * doc/Makefile.am: Do not redefine content_files.
248 2009-04-30 Alberto Garcia <agarcia@igalia.com>
256 Renamed src/ to hildon/
261 Include <hildon/hildon.h> directly in all examples.
263 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
265 * src/hildon-sort-dialog.c
266 (hildon_sort_dialog_add_sort_key_with_sorting)
270 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
272 * src/Makefile.am: Move generated sources to CLEANFILES, so that
273 make distcheck passes.
275 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
277 * Makefile.am: Enable gtk-doc during distcheck.
279 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
281 * Makefile.am: Do not distribute the debian/ directory.
283 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
285 * doc/Makefile.am: Add the extra SGML files to content_files,
286 so that they are distributed properly.
288 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
290 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
293 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
295 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
296 (hildon_note_new_information_with_icon_name): Set the "icon" property
297 to preserve soundness.
299 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
301 * src/hildon-font-selection-dialog.c
302 (hildon_font_selection_dialog_set_property): Fail when the "family"
303 property is set to NULL.
305 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
307 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
310 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
312 * src/hildon-time-selector.h:
313 Added HildonTimeSelectorFormatPolicy
314 * src/hildon-time-selector.c:
315 Added PROP_TIME_FORMAT_POLICY
316 (_check_ampm_format): renamed to check_automatic_ampm_format
317 (update_format_policy), (update_format_dependant_columns): new functions
318 (hildon_time_selector_class_init)
319 (hildon_time_selector_contructor)
320 (hildon_time_selector_init)
321 (hildon_time_selector_get_property)
322 (hildon_time_selector_set_property)
323 (hildon_time_selector_get_time)
324 (hildon_time_selector_set_time)
325 * src/hildon-touch-selector.h: new file
326 * src/hildon-touch-selector.c
327 (hildon_touch_selector_emit_changed)
328 (hildon_touch_selector_block_changed)
329 (hildon_touch_selector_unblock_changed)
330 Added functions to allow to block the emission of the "changed" signal
331 * src/hildon-picker-dialog.c
332 (hildon_picker_dialog_show): call the parent show before the custom code
333 * examples/hildon-time-button-example.c
334 Modified, so now you can configure the time format using the new property
336 Added a new property "time-format-policy" that allow to choose the time
337 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
338 case it uses gconf in order to check if the time selector must use
341 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
344 2009-04-28 Alberto Garcia <agarcia@igalia.com>
346 * src/hildon-note.c (hildon_note_init):
347 Label in HildonNote must be left aligned, not centered. This
348 reverts the last commit in HildonNote.
350 Fixes: NB#112933 (text is not left aligned in confirmation dialog
351 is connectivity dialog)
353 2009-04-27 Alberto Garcia <agarcia@igalia.com>
358 * doc/hildon-sections.txt:
359 Added hildon_gtk_window_set_do_not_disturb()
361 2009-04-27 Alberto Garcia <agarcia@igalia.com>
363 * src/hildon-note.c (hildon_note_init): Center label.
365 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
368 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
373 * configure.ac: Bump version.
374 * debian/changelog: Updates.
376 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
378 * src/hildon-note-private.h: Add button-width to the private data.
379 * src/hildon-note.c (+resize_button),
380 (+hildon_note_orientation_update): methods to repack widgets on orientation
382 (screen_size_changed): Call above method for confirmation notes.
383 (hildon_note_realize): Always connect to the "screen-size" changed signal.
384 (hildon_note_rebuild): Store the original width request from buttons.
386 Fixes: NB#109635 (Confirmation notes do not support portrait)
388 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
390 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
391 when it is a progress note.
393 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
395 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
396 in the note, since there are no horizontally arranged contents.
398 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
400 * src/hildon-gtk.c (+set_flag): new generic method to
401 set/delay a flag setting in a window.
402 (hildon_gtk_window_set_progress_indicator):
403 (hildon_gtk_window_set_do_not_disturb),
404 (hildon_gtk_window_set_portrait_flags): use set_flag() to
405 avoid code redundance.
407 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
409 Based on a patch by Alberto Garcia (agarcia@igalia.com)
411 * src/hildon-gtk.c (set_clear_window_flag),
412 (do_set_progress_indicator), (do_set_do_not_disturb),
413 (do_set_portrait_flags),
414 (hildon_gtk_window_set_progress_indicator),
415 (hildon_gtk_window_set_do_not_disturb),
416 (hildon_gtk_window_set_portrait_flags):
417 Allow setting dnd-flag, progress indicator, and portrait flags
418 when the window is not realized.
420 2009-04-24 Alejandro G. Castro <alex@igalia.com>
422 * src/hildon-pannable-area.c,
423 * src/hildon-pannable-area.h: Add the hildon deprecated define to
424 the size request policy function and defines.
426 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
428 * doc/hildon-sections.txt: Add the new API.
429 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
430 method to set the portrait flags.
431 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
433 Fixes: NB#112328 (Adding helpers for setting portrait properties)
435 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
437 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
438 to allow using this method with other flags.
439 (hildon_gtk_window_set_progress_indicator): Update accordingly.
440 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
442 2009-04-22 Alberto Garcia <agarcia@igalia.com>
444 * src/hildon-touch-selector.c
445 (hildon_touch_selector_append_text_column):
446 Make the cell renderer use the smallest width possible.
448 Fixes: NB#108470 (Selected items in multiple selection are either
449 having a tick that is cut or not visible at all.)
451 2009-04-22 Alberto Garcia <agarcia@igalia.com>
453 * src/hildon-touch-selector.c
454 (hildon_touch_selector_append_text_column):
457 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
459 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
460 Use g_strdup_printf() instead of a fixed size buffer.
462 2009-04-21 Alberto Garcia <agarcia@igalia.com>
464 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
465 Close banners when a HildonAppMenu is popped up.
467 Fixes: NB#111027 (Title menu closed immediately if activated when
468 "Invalid e-mail address" banner is shown)
470 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
475 * configure.ac: Bump version.
476 * debian/changelog: Updates.
478 2009-04-20 Alberto Garcia <agarcia@igalia.com>
480 * src/hildon-banner.c (hildon_banner_realize):
481 Mark HildonBanner as supporting portrait mode.
482 Use GDK to set window properties insetad of direct Xlib calls.
484 Fixes: NB#111830 (HildonBanner should be marked as supporting
487 2009-04-20 Alberto Garcia <agarcia@igalia.com>
489 * src/hildon-note.c (hildon_note_rebuild):
490 Hide action area in information notes. Prevents text from being
491 slightly aligned to the left.
493 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
496 2009-04-20 Alberto Garcia <agarcia@igalia.com>
498 Patch by Mox Soini (ext-mox.soini@nokia.com)
500 * src/hildon-banner.c (hildon_banner_create_animation):
501 Use stylus-sized icons in animation banner.
503 Fixes: NB#111206 (stylus sized icon for animation banner)
505 2009-04-20 Alberto Garcia <agarcia@igalia.com>
509 (+hildon_gtk_window_set_do_not_disturb):
510 New API to set the do-not-disturb flag.
512 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
514 2009-04-20 Alberto Garcia <agarcia@igalia.com>
516 * examples/hildon-progress-indicator-example.c: Fix example
518 * src/hildon-gtk.c (set_clear_window_flag)
519 (hildon_gtk_window_set_progress_indicator):
520 Create a generic function for setting flags to a window.
521 Use GDK instead of direct Xlib calls.
523 2009-04-14 Alberto Garcia <agarcia@igalia.com>
525 * src/hildon-button.c (hildon_button_set_arrangement):
526 Due to NB#88126, if one of the labels is too long it will be
527 painted outside the button. The 'value' label is more likely to be
528 the longest one, so we change its packing options in order to
529 truncate it if necessary. As a side effect, the 'title' label will
530 no longer be truncated.
532 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
534 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
539 * configure.ac: Bump version.
540 * debian/changelog: Updates.
542 2009-04-13 Alejandro G. Castro <alex@igalia.com>
544 Deprecation of the hildon_pannable_area_set_size_request_policy
545 API, the only policy properly supported in gtk+ nowadays is the
548 * src/hildon-pannable-area.c,
549 (hildon_pannable_area_size_request): Added a workaround for the
550 size_request to avoid the problems of huge pixmaps in case someone
551 is still using the function.
552 * src/hildon-pannable-area.h: Deprecated the enum with the
555 Fixes: NB#110244 (Problems with the
556 hildon_pannable_area_set_size_request_policy API)
558 2009-04-08 Alejandro G. Castro <alex@igalia.com>
560 * src/hildon-pannable-area.c,
561 (hildon_pannable_area_init),
562 (hildon_pannable_area_size_request),
563 (hildon_pannable_area_style_set),
564 (hildon_pannable_draw_vscroll),
565 (hildon_pannable_draw_hscroll),
566 (hildon_pannable_area_check_scrollbars): Replaced area_width with
567 indicator_width to clarify the use of the attribute.
569 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
574 * configure.ac: Bump version.
575 * debian/changelog: Updates.
577 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
579 * src/hildon-picker-dialog.c
580 * src/hildon-touch-selector.c
581 Reverting the change that tried to avoid the hardcoded height on
582 the picker dialog, as causes problems on the hildon-touch-selector
585 Fixes: NB#110029 (selectors not scrolling to selected value)
587 2009-04-07 Alberto Garcia <agarcia@igalia.com>
589 * src/hildon-touch-selector.c: Fix typos
591 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
593 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
594 Use the event coordinates instead of gdk_window_get_pointer(). Also,
595 request more motions after using it.
597 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
599 * src/hildon-calendar.c (hildon_calendar_expose),
600 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
601 Remove unused variables.
603 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
605 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
608 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
610 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
611 Check the return value of gtk_tree_selection_get_selected()
614 2009-04-06 Alberto Garcia <agarcia@igalia.com>
616 * src/hildon-animation-actor.c
617 * src/hildon-button.c
619 * src/hildon-pannable-area.c
620 * src/hildon-picker-button.c
621 * src/hildon-program.c
622 * src/hildon-remote-texture.c
623 * src/hildon-text-view.c
624 * src/hildon-touch-selector.c
625 * src/hildon-window-stack.c
626 * src/hildon-window.c:
627 Add missing 'Since: 2.2' tags.
629 * doc/hildon-sections.txt:
630 Add some missing symbols.
632 * doc/hildon-docs.sgml:
633 New 'Other' section for HildonAnimationActor and
636 2009-04-06 Alberto Garcia <agarcia@igalia.com>
638 Patch by Iván Gómez (igomez@igalia.com)
642 * doc/hildon-docs.sgml
643 * doc/hildon-sections.txt
647 New chapters on using the Hildon library.
648 Updated the general structure of the reference manual.
649 Other minor documentation fixes.
651 * src/hildon-calendar-popup.c
652 * src/hildon-calendar.c
653 * src/hildon-controlbar.c
654 * src/hildon-date-editor.c
655 * src/hildon-dialog.c
656 * src/hildon-hvolumebar.c
657 * src/hildon-number-editor.c
658 * src/hildon-range-editor.c
659 * src/hildon-sort-dialog.c
660 * src/hildon-time-editor.c
661 * src/hildon-time-picker.c
662 * src/hildon-volumebar-range.c
663 * src/hildon-volumebar.c
664 * src/hildon-vvolumebar.c
665 * src/hildon-weekday-picker.c:
666 Add deprecation notes
668 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
669 Document 'horizontal-movement' and 'vertical-movement' signals.
671 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
676 * configure.ac: Bump version.
677 * debian/changelog: Updates.
679 2009-04-06 Alejandro G. Castro <alex@igalia.com>
681 * src/hildon-pannable-area.c,
682 (hildon_pannable_area_class_init): increased the minimum velocity.
683 (hildon_pannable_area_button_release_cb): Updated the
684 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
685 setup. Review the code to control that last event.
687 Fixes: NB#109790 (Releasing finger in pannable area easily causes
690 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
692 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
694 * src/hildon-get-password-dialog.c
695 (hildon_get_password_set_property),
696 (hildon_get_password_get_property), (create_contents):
697 * src/hildon-login-dialog-private.h:
698 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
699 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
700 (hildon_login_dialog_get_password):
701 * src/hildon-set-password-dialog-private.h:
702 * src/hildon-set-password-dialog.c
703 (hildon_set_password_set_property),
704 (hildon_set_password_get_property), (create_contents),
705 (hildon_set_password_response_change),
706 (hildon_set_password_response_set), (hildon_checkbox_toggled):
708 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
709 instead and look more Fremantle style.
711 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
713 2009-04-03 Alberto Garcia <agarcia@igalia.com>
715 * doc/hildon-sections.txt
716 * src/hildon-window-stack.h
717 * src/hildon-window-stack.c
718 (+hildon_window_stack_get_windows):
719 New API to obtain the list of windows on a stack.
721 2009-04-02 Alberto Garcia <agarcia@igalia.com>
723 * src/hildon-app-menu.c (hildon_app_menu_popup)
724 (hildon_app_menu_class_init, -hildon_app_menu_show):
725 Remove hildon_app_menu_show() and move all its checks to
726 hildon_app_menu_popup()
728 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
730 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
731 (_hildon_picker_dialog_set_selector): removed call to
732 gtk_widget_set_size_request
733 * src/hildon-touch-selector.c
734 (_create_new_column): change the pannable size request policy
736 Avoid to use a hardcoded height for the hildon picker dialog. In order
737 to get that, we needed to change the hildon pannable size request
739 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
741 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
743 * src/hildon-window.c (hildon_window_map): Check for vbox to be
744 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
747 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
749 * debian/control: Depend on osso-system-lock localization package.
750 * src/hildon-code-dialog.c: Obtain the secu_application_title
751 translation from osso-system-lock.
752 * src/hildon-get-password-dialog.c (create_contents): Do not mark
753 for translation the atk related strings, that's not necessary.
754 * src/hildon-set-password-dialog.c (create_contents): Ditto.
755 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
756 cancel button, it is not required.
758 2009-04-02 Alejandro G. Castro <alex@igalia.com>
760 * src/hildon-pannable-area.c,
761 (hildon_pannable_area_class_init): Modified the default value of
762 the overshooting max speed, we have reduced it.
764 2009-04-02 Alberto Garcia <agarcia@igalia.com>
766 * doc/hildon-sections.txt
767 * src/hildon-window-private.h
768 * src/hildon-window.h
769 * src/hildon-window.c (hildon_window_class_init)
770 (hildon_window_init, hildon_window_finalize)
771 (hildon_window_realize, hildon_window_get_property)
772 (hildon_window_set_property, hildon_window_update_markup)
773 (hildon_window_get_markup, hildon_window_set_markup):
774 New "markup" property and hildon_window_{get,set}_markup() methods.
776 * examples/hildon-stackable-window-example.c (new_window):
777 Update example to use hildon_window_set_markup()
779 Fixes: NB#106375 (Need API to retitle a window with a title
782 2009-04-01 Alejandro G. Castro <alex@igalia.com>
784 * src/hildon-pannable-area.c,
785 (hildon_pannable_area_class_init): Changed the default value of
786 the initial_hint to TRUE.
787 (hildon_pannable_area_initial_effect): Changed the initial effect,
788 not the effect is just the fade-out of the scrollbars.
790 Fixes: NB#107775 (No scrollbars can be seen when several items are
791 available in a dialog)
793 2009-04-01 Alberto Garcia <agarcia@igalia.com>
795 * src/hildon-program.c (hildon_program_update_top_most):
798 Fixes: NB#109179 (Memory leak in Hildon program)
800 2009-04-01 Alberto Garcia <agarcia@igalia.com>
802 * src/hildon-banner.c (-get_current_app_window):
803 Remove unused function.
805 2009-04-01 Alejandro G. Castro <alex@igalia.com>
807 * src/hildon-pannable-area.c: Modified the documentation of the
808 get adjustments functions to explain the problem of using the
810 (hildon_pannable_area_class_init): Improved the explanation about
813 2009-04-01 Alberto Garcia <agarcia@igalia.com>
815 * src/hildon-app-menu-private.h
816 * src/hildon-app-menu.c
817 (hildon_app_menu_class_init):
818 Bring back the 'external-border' style property
819 (hildon_app_menu_class_init, hildon_app_menu_init)
820 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
821 Set a fixed width-request for the menu, independent of the number
824 Fixes: NB#94957 (Smoothly opened application menu)
826 2009-03-30 Alberto Garcia <agarcia@igalia.com>
828 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
830 * src/hildon-banner.c
831 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
833 Make sure that the banner is correctly placed the first time it's
835 (hildon_banner_check_position, -check_fullscreen_state):
836 Show the banner in the same place no matter if the window is in
837 fullscreen mode or not.
839 Fixes: NB#107386 (Odd stacking behaviour for information banners)
841 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
843 * src/hildon-touch-selector.c (_default_print_func): reorder
844 concatenation for clarity.
846 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
848 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
849 for multicolumn selectors.
851 Fixes: NB#109099 (Memory leak in Hildon touch selector)
853 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
858 * configure.ac: Bump version.
859 * debian/changelog: Updates.
861 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
863 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
866 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
868 * configure.ac: removed libcangerra-gtk dependency
869 * debian/control: removed libcanberra-gtk dependency
870 * src/Makefile.am: removed libcanberra gtk related flags
871 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
872 context, and manage a global canberra context instead
874 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
876 2009-03-26 Alberto Garcia <agarcia@igalia.com>
878 Patch by Daniel Borgmann (danielb@openismus.com)
880 * src/hildon-edit-toolbar.c:
881 Adjust the left padding.
882 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
883 Paint background of the edit toolbar.
885 Fixes: NB#107897 (Patch to make editmodetoolbar background
886 themeable and adjust margin)
888 2009-03-25 Alberto Garcia <agarcia@igalia.com>
890 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
892 * src/hildon-program.c (hildon_program_update_top_most):
893 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
895 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
896 change when the user tasks in/out of an application)
898 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
900 * configure.ac: added libcangerra-gtk dependency
901 * debian/control: added libcanberra-gtk dependency
902 * src/Makefile.am: added libcanberra gtk related flags
903 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
906 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
908 2009-03-25 Alberto Garcia <agarcia@igalia.com>
910 * src/hildon-program.c (hildon_program_remove_window)
911 (hildon_program_add_window): Add checks for the window
912 parameter. Don't decrease the window counter if the window is not
915 2009-03-24 Alejandro G. Castro <alex@igalia.com>
917 * src/hildon-pannable-area.c,
918 (hildon_pannable_area_realize): Fixed position of the event_window
919 in the realize method.
921 2009-03-24 Alberto Garcia <agarcia@igalia.com>
923 * src/hildon-app-menu-private.h
924 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
925 (hildon_app_menu_map, hildon_app_menu_hide_idle)
926 (hildon_app_menu_key_press, hildon_app_menu_init)
927 (hildon_app_menu_finalize):
928 Make sure that all idle functions are removed when the widget is
931 Fixes: NB#107583 (Hildon app menu crashes in various applications)
933 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
938 * configure.ac: Bump version.
939 * debian/changelog: Updates.
941 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
944 (+hildon_entry_show_placeholder),
945 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
946 that replace hildon_entry_update_contents().
947 (hildon_entry_set_text),
948 (hildon_entry_set_placeholder),
949 (hildon_entry_focus_in_event),
950 (hildon_entry_focus_out_event): Determine when it is needed
951 either to show or hide the placeholder and call the above methods.
953 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
954 when the placeholder text is already set)
956 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
958 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
959 simple GdkPixbufAnim using the new icons for the banner.
960 (hildon_banner_show_animation): Use the above mentioned method to
961 create the animation widget.
963 Fixes: NB#103564 (Make hildon animation banner use individual
964 image files as the animation)
966 2009-03-24 Alejandro G. Castro <alex@igalia.com>
968 * src/hildon-pannable-area.c,
969 (hildon_pannable_leave_notify_event): Check if the child is NULL
970 to avoid sending the leave.
972 2009-03-24 Alejandro G. Castro <alex@igalia.com>
974 * src/hildon-pannable-area.c,
975 (hildon_pannable_area_class_init),
976 (hildon_pannable_leave_notify_event): Added a handler of the
977 leave-notify-signal to consider when no motion notify before
980 Fixes: NB#107494 (Items stay selected when clicking and moving
981 away when inside pannable area)
983 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
988 * configure.ac: Bump version.
989 * debian/changelog: Updates.
991 2009-03-19 Alejandro G. Castro <alex@igalia.com>
993 Patch by Alberto Garcia (agarcia@igalia.com)
995 * src/hildon-date-button.c,
996 (hildon_date_button_class_init),
997 (hildon_date_button_init): Removed the construct property handling
998 and created a default selector in the init method.
999 * src/hildon-picker-button.c,
1000 (hildon_picker_button_class_init): Removed the construct flag of the
1003 2009-03-18 Alberto Garcia <agarcia@igalia.com>
1005 * src/hildon-main.c (hildon_init):
1006 Don't allow hildon_init() to be called more than once.
1008 Fixes: NB#106607 (hildon_init should issue error message upon
1011 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
1013 * examples/hildon-pannable-area-touch-list-example.c
1014 * examples/hildon-pannagle-area-touch-grid-example.c
1015 * examples/hildon-edit-toolbar-example.c
1016 * examples/hildon-touch-selector-multi-cells-example.c
1017 Removed the call to gtk_rc_parse_string, as it is not required since
1020 2009-03-17 Alejandro G. Castro <alex@igalia.com>
1022 * src/hildon-pannable-area.c,
1023 (hildon_pannable_area_class_init): Modified the default panning
1024 threshold of the widget to 6px.
1026 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
1027 than the threshold value ) within the button is not sending the
1030 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1032 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
1033 for the treeview in the new column. This way, the touch list will never
1036 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
1037 be selected manually for the HW keys to work)
1039 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1041 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
1042 comparison instead of using strcmp(). Fixes a compiler warning as well.
1044 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1046 * doc/hildon-docs.sgml: Do not set the library version in the
1047 document title, use the releaseinfo tag for that purpose instead.
1049 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1051 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
1052 Do not jump to the first item if the text in the entry is removed.
1054 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1059 * configure.ac: Bump version.
1060 * debian/changelog: Updates.
1062 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1064 * src/hildon-entry.c (hildon_entry_refresh_contents):
1065 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
1066 Use "ReversedSecondaryTextColor" for the placeholder text.
1068 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1070 * src/hildon-text-view.c: Fix compilation warning.
1072 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1074 * src/hildon-button.c (hildon_button_class_init): Don't make
1075 "title" and "value" construction properties, to prevent them from
1076 overwriting labels set from derived classes.
1078 * src/hildon-picker-button.c
1079 (hildon_picker_button_set_selector): Allow setting a NULL selector.
1080 (hildon_picker_button_class_init): Make touch-selector a
1081 construction property.
1083 * src/hildon-date-button.c (hildon_date_button_class_init)
1084 (+hildon_date_button_constructed): Add a default date selector if
1087 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1089 * src/hildon-touch-selector.c: Small documentation fixes.
1091 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1093 Based on a patch by Daniel Borgmann (danielb@openismus.com)
1095 * src/hildon-entry.c (hildon_entry_refresh_contents),
1096 (hildon_entry_get_text), (hildon_entry_init): Do not use the
1097 widget name, set the logical color directly instead and a boolean
1098 showing_placeholder instead.
1099 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
1100 use the widget name here either.
1102 Fixes: NB#105678 (HildonTextView should use logical colours
1103 instead of setting widget name)
1105 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1107 Patch by Daniel Elster (danielk@openismus.com)
1109 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
1110 Add user_data parameter.
1111 (hildon_touch_selector_set_print_func_full): New function akin
1112 hildon_touch_selector_set_print_func() but with support for user
1113 data and a destroy callback.
1114 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
1115 to clean up the print function user data.
1116 (hildon_touch_selector_class_init): Install dispose function.
1117 (HildonTouchSelectorPrivate::print_user_data),
1118 (HildonTouchSelectorPrivate::print_destroy_func): New private
1120 (hildon_touch_selector_init): Initialize new private members.
1121 (hildon_touch_selector_get_current_text): Pass along user data
1122 to the print function.
1123 (_default_print_func): Add dummy user_data to parameter list.
1124 * hildon-date-selector.c (_custom_print_func): ditto,
1125 * hildon-time-selector.c (_custom_print_func): ditto,
1126 * hildon-touch-selector-entry.c
1127 (hildon_touch_selector_entry_print_func): ditto.
1129 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
1131 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1133 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
1135 2009-03-12 Alejandro G. Castro <alex@igalia.com>
1137 * src/hildon-pannable-area.c,
1138 (hildon_pannable_area_init),
1139 (hildon_pannable_area_button_press_cb),
1140 (hildon_pannable_area_motion_notify_cb): We have added code to
1141 handle the leave and enter events when using the motion events.
1143 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
1145 2009-03-11 Alberto Garcia <agarcia@igalia.com>
1147 * src/hildon-date-button.c (hildon_date_button_get_date)
1148 (hildon_date_button_set_date): Make sure that the button has a
1151 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
1153 2009-03-11 Alejandro G. Castro <alex@igalia.com>
1155 * src/hildon-pannable-area.c,
1156 (hildon_pannable_area_class_init),
1157 (hildon_pannable_area_calculate_velocity): Modify the use of the
1158 force and adapt the value.
1160 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1162 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
1163 (hildon_app_menu_class_init): Hide the menu if it receives a
1164 delete-event, but don't destroy it
1166 Fixes: NB#104485 (Not able to address the call when application
1167 menu is opened at background)
1169 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1171 * src/hildon-app-menu.c
1172 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1173 Remove the "external-border" style property, let the menu take its
1174 natural size (or the one set by the window manager)
1175 (hildon_app_menu_repack_items):
1176 Don't reshow the menu, avoid flickers.
1178 Partially fixes NB#94957 (Smoothly opened application menu)
1180 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
1185 * configure.ac: Bump version.
1186 * debian/changelog: Updates.
1188 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1190 * src/hildon-pannable-area.c,
1191 (hildon_pannable_area_motion_notify_cb): We control that the
1192 direction error margin is used just in case the movement is
1193 allowed in the other direction.
1195 Fixes: NB#105012 (buttons inside a pannable area not getting
1196 release event when dragging/releasing)
1198 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1200 * src/hildon-pannable-area.c,
1201 (hildon_pannable_area_class_init),
1202 (hildon_pannable_area_get_property),
1203 (hildon_pannable_area_set_property),
1204 (hildon_pannable_area_initial_effect),
1205 (hildon_pannable_axis_scroll),
1206 (hildon_pannable_area_button_release_cb): Reviewed the
1207 overshooting effect, now it has its own max
1208 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
1209 speed when bouncing.
1211 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
1216 * configure.ac: Bump version.
1217 * debian/changelog: Updates.
1219 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1221 * src/hildon-pannable-area.c,
1222 (hildon_pannable_area_class_init): Changed the max speed, now
1223 users can launch the widget very fast. Reduced the default force,
1224 that way it is easier to control the launch speed.
1226 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1228 * src/hildon-pannable-area.c,
1229 (hildon_pannable_area_button_release_cb): Removed this check
1230 because it causes problems when the device is overloaded.
1232 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1234 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1235 add a current_text field to store the text entered in the
1236 touch selector entry.
1237 (_clean_current_selection): clean up the current text as well.
1238 (_save_current_selection), (_restore_current_selection):
1239 Save/restore the text in the entry if the selector is a
1240 HildonTouchSelectorEntry.
1242 Fixes: NB#102541 (value entered in the touch selector entry is not
1243 shown when opened for second time)
1245 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1247 * doc/hildon-sections.txt:
1248 * src/hildon-touch-selector-entry.c
1249 (+hildon_touch_selector_entry_get_entry):
1250 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
1252 Fixes: NB#104815 (I need accessor to the entry inside
1253 HildonTouchSelectorEntry)
1255 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1257 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
1258 (hildon_app_menu_class_init):
1259 New "filter-vertical-spacing" style property.
1261 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1263 * src/hildon-find-toolbar.c
1264 (hildon_find_toolbar_emit_close)
1265 (hildon_find_toolbar_emit_invalid_input)
1266 (hildon_find_toolbar_entry_activate):
1267 Use g_signal_emit() instead of g_signal_emit_by_name()
1269 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1271 Patch by Mox Soini (ext-mox.soini@nokia.com)
1273 * tests/TEST-CASES.txt
1274 * tests/check-hildon-banner.c
1275 * tests/check-hildon-note.c
1276 * src/hildon-banner.c
1277 * src/hildon-code-dialog.c
1278 * src/hildon-date-editor.c (real_set_calendar_icon_state)
1279 * src/hildon-time-editor.c
1280 * examples/hildon-lookup-example.c (main):
1281 Replace obsolete icon names with new ones.
1283 * src/hildon-find-toolbar-private.h:
1284 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
1285 (-hildon_find_toolbar_emit_search):
1286 Remove find button and change icon of close button.
1288 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
1290 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1292 * src/hildon-time-button.c (hildon_time_button_new_step):
1293 Use the "touch-selector" property to set the selector directly
1294 when creating the object.
1296 2009-03-05 Alejandro G. Castro <alex@igalia.com>
1298 Added a new example application that allows tuning the pannable
1299 area and replaced defines with properties in order to simplify the
1300 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
1301 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
1302 PROP_DIRECTION_ERROR_MARGIN.
1304 * examples/hildon-pannable-area-tuning-example.c: New example
1306 * src/hildon-pannable-area.c,
1307 (hildon_pannable_area_class_init),
1308 (hildon_pannable_area_init),
1309 (hildon_pannable_area_get_property),
1310 (hildon_pannable_area_set_property),
1311 (hildon_pannable_area_launch_fade_timeout),
1312 (hildon_pannable_area_adjust_value_changed),
1313 (hildon_pannable_axis_scroll),
1314 (hildon_pannable_area_motion_notify_cb),
1315 (hildon_pannable_area_scroll_cb),
1316 (hildon_pannable_area_button_release_cb): We have converted some
1317 of the defines that control the widget to properties to simplify
1320 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1322 * src/hildon-app-menu.c (hildon_app_menu_map)
1323 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
1324 so it's closed if a new window appears.
1326 Fixes: NB#104485 (Not able to address the call when application
1327 menu is opened at background)
1329 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1331 * src/hildon-color-button.c (hildon_color_button_get_property):Add
1332 missing 'break' statement in in 'case' construct to avoid
1335 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1337 * src/hildon-touch-selector-entry.c
1338 (hildon_touch_selector_entry_get_property),
1339 (hildon_touch_selector_entry_set_property): Add missing 'break'
1340 statements in in 'case' constructs to avoid incorrect warnings.
1342 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1344 * src/hildon-time-editor.c
1345 (hildon_time_editor_get_time_separators): Do not crash if
1346 the first label is NULL.
1348 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1350 * src/hildon-date-selector.c (_month_days): Check for month to be
1351 strictly less than 12, since otherwise we may overrun the array.
1353 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1355 * src/hildon-date-button.c (+hildon_date_button_new_full)
1356 (hildon_date_button_new, hildon_date_button_new_with_year_range)
1357 (hildon_date_button_init): Set the date selector using a
1358 construction property, to make it happen after HildonButton's
1359 "value" property is set.
1361 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
1362 current date by default)
1364 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1366 * doc/hildon-sections.txt
1367 * src/hildon-program.c
1368 * src/hildon-stackable-window.c
1369 * src/hildon-window.c:
1370 Documentation updates
1372 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1374 * src/hildon-window-stack.c (hildon_window_stack_get_default)
1375 (hildon_window_stack_new, +hildon_window_stack_set_property)
1376 (+hildon_window_stack_get_property)
1377 (hildon_window_stack_class_init)
1378 (+hildon_window_stack_set_window_group)
1379 (+hildon_window_stack_get_window_group):
1380 Make the window group a construction property.
1382 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1384 * doc/hildon-sections.txt
1385 * src/hildon-stackable-window-private.h
1386 * src/hildon-stackable-window.h
1387 * src/hildon-stackable-window.c
1388 (-hildon_stackable_window_set_app_menu)
1389 (-hildon_stackable_window_get_app_menu)
1390 (-hildon_stackable_window_toggle_menu)
1391 (-hildon_stackable_window_finalize)
1392 (hildon_stackable_window_class_init)
1393 (hildon_stackable_window_init)
1394 * src/hildon-window-private.h
1395 * src/hildon-window.h
1396 * src/hildon-window.c (hildon_window_init)
1397 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
1398 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
1399 (hildon_window_get_main_menu, hildon_window_set_main_menu)
1400 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
1401 Moved all HildonAppMenu code to HildonWindow. The menu does not
1402 require a HildonStackableWindow anymore.
1404 * src/hildon-app-menu.c
1405 * src/hildon-program.c
1406 * examples/hildon-app-menu-example.c (main):
1407 Update examples and documentation to reflect HildonAppMenu
1410 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1412 * src/hildon-remote-texture.c
1413 * src/hildon-animation-actor.c:
1414 Don't include unused private headers.
1416 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1418 * src/hildon-program-private.h
1419 * src/hildon-program.c
1420 (hildon_program_set_common_menu)
1421 (hildon_program_get_common_menu)
1422 (hildon_program_set_common_app_menu)
1423 (hildon_program_get_common_app_menu):
1424 Change common menu pointers from GtkWidget* to GtkMenu* and
1425 HildonAppMenu* to avoid unnecessary casts.
1427 2009-03-03 Alberto Garcia <agarcia@igalia.com>
1429 * src/hildon-window.c (hildon_window_set_main_menu):
1430 Removed incorrect 'Since:' tag
1432 2009-03-03 Alejandro G. Castro <alex@igalia.com>
1434 * src/hildon-pannable-area.c,
1435 (hildon_pannable_area_calculate_velocity): We use now the
1436 RATIO_TOLERANCE here to check the distance, fixed typo in the
1438 (hildon_pannable_area_motion_notify_cb): We have to set the type
1439 and time even if we are not sending the motion.
1441 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1443 * doc/hildon-sections.txt
1444 * src/hildon-app-menu.h
1445 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
1446 (+hildon_app_menu_get_filters): New methods to get the contents of
1449 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
1452 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1454 * src/hildon-app-menu.c (hildon_app_menu_popup):
1457 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1459 * src/hildon-window.h
1460 * src/hildon-window.c (+hildon_window_get_main_menu)
1461 (hildon_window_get_menu): Created hildon_window_get_main_menu()
1462 and deprecated hildon_window_get_menu().
1464 * src/hildon-stackable-window.h
1465 * src/hildon-stackable-window.c
1466 (+hildon_stackable_window_set_app_menu)
1467 (+hildon_stackable_window_get_app_menu)
1468 (hildon_stackable_window_set_main_menu): Created
1469 hildon_stackable_window_{get,set}_app_menu() and deprecated
1470 hildon_stackable_window_set_main_menu().
1472 * doc/hildon-sections.txt
1473 * examples/hildon-app-menu-example.c (main)
1474 * src/hildon-app-menu.c
1475 * src/hildon-program.c:
1476 Updated examples and documentation.
1478 Fixes: NB#103758 (No way to obtain a menu from a
1479 HildonStackableWindow)
1481 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1486 * configure.ac: Bump version.
1487 * debian/changelog: Updates.
1489 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1491 * examples/hildon-remote-texture-example.c: Include
1492 hildon-remote-texture.h explicitely.
1493 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
1494 applications not defining _XOPEN_SOURCE which don't require this header.
1496 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1498 * doc/hildon-sections.txt
1499 * src/hildon-app-menu.h
1500 * src/hildon-app-menu.c (+hildon_app_menu_popup):
1501 New function to pop up a HildonAppMenu
1503 * src/hildon-stackable-window.c
1504 (hildon_stackable_window_toggle_menu):
1505 Use hildon_app_menu_popup() to show the menu.
1507 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1509 * src/hildon-app-menu.c (hildon_app_menu_show)
1510 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
1511 menu if there's another window between it and its parent window.
1513 Fixes: NB#100468 (Application menu window is launched even when a
1514 new secondary-window/dialog is pending to be shown/realized)
1516 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1518 * src/hildon-window-stack.c (hildon_window_stack_push)
1519 (hildon_window_stack_pop_and_push):
1520 Don't forget to push/pop the first window.
1521 Reverse the window list before calling _push_list()
1523 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1525 * src/hildon-picker-button.h
1526 * src/hildon-picker-button.c (hildon_picker_button_class_init):
1527 Remove "value_changed" slot to avoid ABI breakage
1529 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1531 * src/hildon-pannable-area.c,
1532 (hildon_pannable_area_realize),
1533 (hildon_pannable_area_unrealize),
1534 (hildon_pannable_draw_vscroll),
1535 (hildon_pannable_draw_hscroll): Changed the method to handle the
1536 GC used to draw the transparent scrollbar, this way we avoid
1537 creating the GC all the time when drawing the scrollbars.
1539 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1541 * src/hildon-pannable-area.c,
1542 (hildon_pannable_area_init),
1543 (hildon_pannable_area_remove): Removed some unnecessary casts.
1544 (hildon_pannable_area_dispose): Disconnected some signals before
1545 releasing the adjustments.
1547 2009-02-26 Alberto Garcia <agarcia@igalia.com>
1549 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1550 Make sure that all widgets contained in the toolbar are shown.
1552 2009-02-25 Alberto Garcia <agarcia@igalia.com>
1554 * doc/hildon-sections.txt
1555 * src/hildon-picker-button.h
1556 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
1557 (_selection_changed, hildon_picker_button_on_dialog_response)
1558 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
1559 New hildon_picker_button_value_changed() method.
1562 * src/hildon-picker-button-private.h
1563 * src/hildon-picker-button.c (hildon_picker_button_init)
1564 (+hildon_picker_button_disable_value_changed): Add protected
1565 function for disabling the "value-changed" signal.
1567 * src/hildon-date-button.c (hildon_date_button_set_date):
1568 Don't emit "value-changed" for each one of the three columns.
1570 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
1571 before actual change of values)
1573 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1575 * src/hildon-pannable-area.c,
1576 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
1577 for the treeview overshooting.
1579 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1581 * src/hildon-banner.c (+hildon_banner_bind_style):
1582 Renamed from hildon_banner_bind_label_style(), now naming the
1583 banner itself as well.
1584 (hildon_banner_show_information),
1585 (hildon_banner_show_information_with_markup),
1586 (hildon_banner_show_animation), (hildon_banner_show_progress):
1587 Name the widgets and labels, based on their type.
1589 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1592 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1594 * src/hildon-note.c (hildon_note_set_property): call
1595 hildon_note_rename() on HildonNote:note-type set.
1596 (hildon_note_rename): Name the note and its label, based on the
1597 HildonNote:note-type property.
1599 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1602 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1604 * src/hildon-pannable-area.c,
1605 (hildon_pannable_area_class_init),
1606 (hildon_pannable_area_motion_notify_cb): Reviewed the default
1607 panning parameters, increased SPS and deceleration factor. Added
1608 also a margin to control fake directions.
1610 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1612 Patch by Sven Herzberg (sven@imendio.com)
1614 * configure.ac: Add missing AM_PROG_CC_C_0
1615 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
1617 See NB#101420 (Update unit tests and fix make check)
1619 2009-02-23 Alejandro G. Castro <alex@igalia.com>
1621 This patch was applied before but reverted because it caused
1622 problems, we have changed the main condition and tested the
1623 regressions we detected before and they work ok. We have done a
1624 complete review of the topmost algorithm in order to get a more
1627 * src/hildon-pannable-area.c,
1628 (hildon_pannable_area_get_topmost): Added a new parameter to
1629 filter the the windows that do not include those events.
1630 (hildon_pannable_area_button_press_cb),
1631 (hildon_pannable_area_button_release_cb),
1632 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1633 topmost function, we have added the new parameter.
1635 Fixes: NB#97458 (Pannable area prevents propagation of button
1638 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1640 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
1641 if all columns in the selector have an item selected.
1642 (_on_dialog_response): Stop "response" signal emission if there is
1643 any selector column without selected items.
1645 Fixes: NB#101889 (Picker dialog should not close when nothing is
1646 selected in multiple selection list)
1648 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1650 * src/hildon-font-selection-dialog.c
1651 (hildon_font_selection_dialog_class_init),
1652 (hildon_font_selection_dialog_init): Remove the preview
1653 button and dialog, since previewing with default theming is likely
1654 to be overcomplicated. The :preview property has now no effect.
1655 Update documentation blurbs to inform about this.
1657 Fixes: NB#92297 (Preview content is not clearly visible for
1658 default colour text)
1660 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1662 Reviewed the geometry that handles the children size and
1663 scrollbar, now it tries a size and reviews the results depending
1664 on the scrollbars visibility.
1666 * src/hildon-pannable-area.c,
1667 (hildon_pannable_area_realize): Fixed a typo.
1668 (hildon_pannable_area_child_allocate_calculate): Added this
1669 function to calculate the child allocation.
1670 (hildon_pannable_area_size_allocate): Reviewed the allocation
1672 (hildon_pannable_area_check_scrollbars),
1673 (hildon_pannable_area_refresh): Refactored refresh function, this
1674 way we can call the code handling the scrollbars without causing a
1675 size_request, it is interesting in the allocate.
1676 (hildon_pannable_area_init): Replace the callbacks of the
1677 value_changed and changed signals to propertly deal with the
1679 (hildon_pannable_area_grab_notify),
1680 (hildon_pannable_area_initial_effect),
1681 (hildon_pannable_area_launch_fade_timeout),
1682 (hildon_pannable_area_adjust_changed),
1683 (hildon_pannable_area_adjust_value_changed),
1684 (hildon_pannable_area_redraw),
1685 (hildon_pannable_area_button_press_cb),
1686 (hildon_pannable_area_button_release_cb),
1687 (hildon_pannable_area_scroll_cb),
1688 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
1689 code and use the new functions adjust_changed and
1690 adjust_value_changed.
1692 Fixes: NB#101603 (Focus is not even for the text entry boxes in
1693 Contact editor dialog)
1695 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
1700 * configure.ac: Bump version.
1701 * debian/changelog: Updates.
1703 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1705 * src/hildon-pannable-area.c,
1706 (hildon_pannable_area_get_topmost),
1707 (hildon_pannable_area_button_press_cb),
1708 (hildon_pannable_area_button_release_cb),
1709 (hildon_pannable_get_child_widget_at): Reverted the patch for the
1710 topmost function adding the event mask. We have to try a
1711 differente approach because it is still causing problems (NB#9745,
1714 2009-02-19 Alberto Garcia <agarcia@igalia.com>
1716 * src/hildon-banner.c:
1717 Update the maximum width of timed banners.
1718 (force_to_wrap_truncated): Enforce the maximum text width if the
1721 Fixes: NB#102413 (The text margins (wrapping) in information
1722 banner should be HILDON_MARGIN_TRIPLE)
1724 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1726 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
1728 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
1729 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
1730 bound when calculating the scroll indicator position.
1732 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
1733 treat ->lower correctly)
1735 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1737 * src/hildon-caption.c (hildon_caption_class_init): Remove the
1738 expose event handling, since it is not necessary to draw the focus
1741 Fixes: NB#102467 (Do not show highlight on the text in
1744 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1746 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
1747 full height of the toolbar for the button and the label.
1749 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1751 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
1752 padding before the label and after the button.
1754 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1756 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
1758 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1759 Add a GtkVSeparator between the button and the back arrow.
1760 Let the button have automatic size.
1761 Set a name to the widget for theming handling.
1763 Fixes: NB#101793 (Make edit toolbar the same height as window
1764 title bar (use title area theming))
1766 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1768 * src/hildon-helper.c (attach_new_color_element): Fix memory
1771 Fixes: NB#102262 (memory leak in hildon_button_set_style())
1773 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1775 * examples/hildon-button-example.c (common_buttons_window): Don't
1778 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1780 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1781 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
1783 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1785 * src/hildon-gtk.c: Check that the window is realized.
1787 Fixes: NB#102225 (Crash setting the progress indicator to a non
1790 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1792 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
1793 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
1794 instead of modifying the one in the widget style.
1796 Fixes: NB#101043 (Second row of all the command button are
1797 displayed in transparent mode.)
1799 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1801 * src/hildon-date-button.c
1802 * src/hildon-time-button.c: Add gettext macros
1804 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
1806 * src/hildon-date-button.c (hildon_date_button_new):
1807 * src/hildon-time-button.c (hildon_time_button_new_step):
1808 Use new logical strings to set the button default title.
1810 Fixes: NB#99915 (Date and Time options are not localised in Date
1813 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1815 * src/hildon-pannable-area.c
1816 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
1817 the PANNING_THRESHOLD.
1819 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1821 * src/hildon-pannable-area.c,
1822 (hildon_pannable_area_class_init): Increased the maximum speed.
1823 (hildon_pannable_area_get_property),
1824 (hildon_pannable_area_set_property),
1825 (hildon_pannable_area_timeout): Added a new low friction mode, it
1826 allows the user avoid friction when launching the widget fast
1827 enough. It is interesting to traverse long lists.
1829 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1831 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
1832 (+hildon_stackable_window_delete_event): Ignore delete events if
1833 the window is not the topmost one.
1835 Fixes: NB#101698 (Back button long press and delete-event handling)
1837 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1839 * src/hildon-pannable-area.c,
1840 (hildon_pannable_area_motion_notify_cb): Removed the use of the
1841 gtk-dnd-drag-threshold, it was too big. We have defined our own
1842 dnd define and set a smaller value: PANNIG_THRESHOLD.
1844 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1846 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
1847 user-defined icons, use always the default one.
1849 Fixes: NB#101916 (Do not allow custom icons on animation banner)
1851 2009-02-13 Alejandro G. Castro <alex@igalia.com>
1853 This patch was applied before but reverted because it caused
1854 problems, we have changed the main condition and tested the
1855 regressions we detected before and they work ok.
1857 * src/hildon-pannable-area.c,
1858 (hildon_pannable_area_get_topmost): Added a new parameter to
1859 filter the the windows that do not include those events. Added
1860 also a condition when finding the window to filter windows that do
1861 not ask for those events.
1862 (hildon_pannable_area_button_press_cb),
1863 (hildon_pannable_area_button_release_cb),
1864 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1865 topmost function, we have added the new parameter.
1867 Fixes: NB#97458 (Pannable area prevents propagation of button
1870 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1872 * tests/check-hildon-color-button.c (START_TEST): do not leak
1875 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1877 * src/hildon-font-selection-dialog.c
1878 (hildon_font_selection_dialog_get_preview_text): Return NULL
1879 instead of FALSE on the g_return_val_if_fail().
1881 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1883 * src/hildon-time-selector.c (hildon_time_selector_set_time):
1884 * src/hildon-date-selector.c
1885 (hildon_date_selector_select_current_date):
1886 Do not compare unsigned integers to be greater than or equal 0,
1887 because it's always TRUE.
1889 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1891 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
1892 (hildon_date_selector_constructor): Do not select the current
1893 date until we are handle the "changed" signal, to avoid having bogus
1894 elements in the days model.
1896 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1898 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
1899 for num_days, since _month_days() can return a negative value.
1901 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1903 * src/hildon-caption.c (hildon_caption_size_allocate):
1904 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
1905 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
1907 Initialize allocation variables to 0, to avoid eventually using
1908 unitialized variables.
1910 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1912 * src/hildon-bread-crumb-trail.c
1913 (hildon_bread_crumb_trail_size_allocate):
1914 * src/hildon-calendar.c (hildon_calendar_set_background):
1915 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
1916 * src/hildon-range-editor.c (hildon_range_editor_get_range):
1917 * src/hildon-seekbar.c (hildon_seekbar_init):
1918 * src/hildon-time-editor.c (hildon_time_editor_get_time):
1919 * src/hildon-time-selector.c (hildon_time_selector_finalize):
1920 * src/hildon-touch-selector-entry.c
1921 (hildon_touch_selector_get_text_from_model):
1922 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
1923 * src/hildon-window.c (hildon_window_finalize):
1925 Remove many unused variables.
1927 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1929 * src/hildon-seekbar.c: (hildon_seekbar_init),
1930 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
1932 Remove unnecessary g_assert() calls.
1934 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1936 * src/hildon-caption.c: (hildon_caption_expose),
1937 (hildon_caption_set_property), (hildon_caption_init),
1938 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
1939 (hildon_caption_size_request), (hildon_caption_size_allocate),
1940 (hildon_caption_forall), (hildon_caption_set_separator),
1941 (hildon_caption_activate), (hildon_caption_set_child_expand),
1942 (hildon_caption_set_label_text),
1943 (hildon_caption_get_label_alignment):
1945 Remove unnecessary g_assert() calls.
1947 2009-02-12 Alberto Garcia <agarcia@igalia.com>
1949 * src/hildon-banner.c
1950 (hildon_banner_map, hildon_banner_init): Make banner temporary
1951 before mapping it to avoid closing other temporary windows, but
1952 make it non-temporary afterwards to avoid being closed by other
1953 non-temporary windows.
1954 (-hildon_banner_client_event, hildon_banner_init):
1955 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
1957 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
1960 2009-02-11 Alberto Garcia <agarcia@igalia.com>
1962 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
1965 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1967 * src/hildon-remote-texture.c
1968 * src/hildon-remote-texture.h
1969 * src/hildon-remote-texture-private.h
1970 * examples/hildon-remote-texture-example.c:
1971 Updates/fixes to remote-texture and its example.
1973 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
1975 Patch by Mox Soini (ext-mox.soini@nokia.com)
1977 * src/hildon-code-dialog.c: Update logical id.
1978 * src/hildon-set-password-dialog.c: Update logical id.
1980 Fixes: NB#100646 (Logical strings is shown for ok in set
1981 password,Password needed dialogs)
1983 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1986 * src/hildon-remote-texture.c
1987 * src/hildon-remote-texture.h
1988 * src/hildon-remote-texture-private.h
1990 Added remote texture widget (for Clutter shared memory textures)
1992 * examples/hildon-remote-texture-example.c
1993 * examples/Makefile.am
1994 Added example file for remote texture usage
1996 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
1998 * configure.ac: post release version bump.
1999 * debian/changelog: version bump.
2001 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
2006 * configure.ac: Bump version.
2007 * debian/changelog: Updates.
2009 2009-02-06 Alberto Garcia <agarcia@igalia.com>
2011 * src/hildon-date-selector.c (hildon_date_selector_init)
2012 (hildon_date_selector_constructor): Don't connect to the "changed"
2013 signal until the selector is completely constructed.
2015 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2017 * src/hildon-touch-selector.c: (_create_new_column),
2018 (hildon_touch_selector_append_column),
2019 (hildon_touch_selector_set_column_selection_mode),
2020 (hildon_touch_selector_set_active),
2021 (hildon_touch_selector_select_iter):
2022 Emit the HildonTouchSelector::changed signal every time selection
2023 is changed in any of the methods above. This behavior was already
2024 documented but not fully functional.
2026 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
2027 selection is programmatically changed)
2029 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2031 * doc/hildon-sections.txt: Remove obsolete icon
2032 sizes from here as well.
2034 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2036 * examples/hildon-stackable-window-example.c (add_window): Remove
2039 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2041 * src/hildon-app-menu.c
2042 (hildon_app_menu_show): Check whether the parent window of a menu
2043 is topmost before popping it up.
2045 Fixes: NB#100468 (Application menu window is launched even when a
2046 new secondary-window/dialog is pending to be shown/realized.)
2048 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2050 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
2053 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2055 Patch by Mox Soini (ext-mox.soini@nokia.com)
2057 * src/hildon-banner.c: (hildon_banner_show_animation):
2058 use stylus size instead of obsolete note size.
2059 * src/hildon-defines.h: Update icon sizes.
2061 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2063 * src/hildon-touch-selector-entry.c:
2064 (hildon_touch_selector_entry_init): Disable unsupported
2066 (hildon_touch_selector_entry_get_text_column): Emit a warning
2067 if an unsupported input modes is used and explicitile state
2068 these modes in the documentation.
2070 Fixes: NB#99802 (Hildon touch selector entry not working properly
2071 for some of the input modes)
2073 2009-02-05 Alejandro G. Castro <alex@igalia.com>
2075 * src/hildon-pannable-area.c,
2076 (hildon_pannable_area_init): Added the changed signal handlers of
2079 Fixes: NB#100320 (HildonPannableArea does not listen to
2080 GtkAdjustment "change" signals)
2082 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2084 * doc/hildon-sections.txt
2085 * src/hildon-window-private.h
2086 * src/hildon-window.h
2087 * src/hildon-window.c (hildon_window_init)
2088 (hildon_window_realize, hildon_window_unrealize)
2089 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
2090 (hildon_window_size_request, hildon_window_size_allocate)
2091 (hildon_window_forall, hildon_window_show_all)
2092 (hildon_window_destroy, +paint_edit_toolbar)
2093 (+hildon_window_set_edit_toolbar):
2094 New hildon_window_set_edit_toolbar() method, to add a
2095 HildonEditToolbar to a window without having to pack it manually.
2097 Reorganize hildon_window_size_allocate()
2099 * src/hildon-edit-toolbar.c: Update documentation.
2101 * examples/hildon-edit-toolbar-example.c (edit_window): Update
2102 example to use the new API.
2104 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
2106 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2108 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
2109 Remove from stack before calling parent's hide.
2111 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2113 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
2114 window is removed from the middle of the stack, update the
2115 transiency of the previous one.
2117 Fixes: NB#100487 (HildonStackableWindow transiency becomes
2120 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2122 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
2123 block/unblock the signal handler if it's not actually being used.
2124 Fixes some critical warnings.
2126 2009-02-02 Alberto Garcia <agarcia@igalia.com>
2128 Based on a patch by Iván Gómez (igomez@igalia.com)
2130 * src/hildon-banner.c
2134 * src/hildon-pannable-area.c
2135 * src/hildon-picker-dialog.c
2136 * src/hildon-wizard-dialog.h
2137 * src/hildon-wizard-dialog.c: Documentation updates.
2139 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
2140 gtk_dialog_add_button() instead of hildon_dialog_add_button().
2142 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2144 * configure.ac: post release version bump.
2145 * debian/changelog: version bump.
2147 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2152 * configure.ac: Bump version.
2153 * debian/changelog: Updates.
2155 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2157 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
2158 a stock icon nor change the relief of the back arrow.
2160 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2161 graphics from theme)
2163 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2165 * src/hildon-button.c (hildon_button_set_alignment): Use
2166 priv->alignment if the button has no child yet.
2168 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
2170 * src/hildon-button.c: (hildon_button_init): Set the
2171 button style during initialization to give it the proper
2174 Fixes: NB#99713 (HildonButton value label color is wrong)
2176 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2178 * src/hildon-touch-selector.c: Document
2179 hildon_touch_selector_center_on_selected()
2181 2009-01-28 Alberto Garcia <agarcia@igalia.com>
2183 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
2184 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
2185 all menu items, but not the menu itself.
2186 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
2187 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
2188 items after adding them to the menu so keyboard accelerators work.
2189 (hildon_app_menu_show): Don't show the menu if it contains items
2190 but none of them are visible.
2192 * examples/hildon-app-menu-example.c (create_menu): Use
2193 gtk_widget_show_all() to show all menu items.
2195 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2197 * src/hildon-picker-dialog.c:
2198 (-_update_title_on_selector_changed_cb),
2199 (-_dialog_update_title): Removed.
2200 (_select_on_selector_changed_cb), (_on_dialog_response),
2201 (on_selector_columns_changed): Do not update the dialog title.
2202 (setup_interaction_mode): Do not connect to
2203 HildonTouchSelector::changed signal if there's a "done" button, as
2204 the dialog title doesn't need to be updated.
2206 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
2209 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
2211 Patch by Kristian Rietveld (kris@imendio.com)
2213 * src/hildon-touch-selector.c: (_create_new_column): Use new
2214 GtkTreeView::hildon-row-tapped signal to react to user interactions
2215 instead of ::changed.
2217 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
2218 with some dynamic tree model)
2220 2009-01-27 Alberto Garcia <agarcia@igalia.com>
2222 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
2223 (+screen_size_changed, +label_size_request)
2224 (hildon_note_class_init): Make the Hildon information note have a
2225 minimum height, and make its text hvae a maximum width.
2227 Fixes: NB#98614 (Hildon information note (background) should have
2228 minimum height and maximum text width)
2230 2009-01-26 Alberto Garcia <agarcia@igalia.com>
2232 * src/hildon-banner.h
2233 * src/hildon-banner.c (hildon_banner_show_information)
2234 (hildon_banner_show_informationf)
2235 (hildon_banner_show_information_with_markup): Update documentation
2236 to reflect that the icon_name parameter is not used anymore.
2237 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
2238 Remove all code from these functions and mark them as deprecated.
2239 (hildon_banner_show_progress): Mark as deprecated.
2241 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
2243 2009-01-26 Alejandro G. Castro <alex@igalia.com>
2245 * src/hildon-pannable-area.c,
2246 (hildon_pannable_area_class_init),
2247 (tranparency_color),
2248 (hildon_pannable_draw_vscroll),
2249 (hildon_pannable_draw_hscroll),
2250 (hildon_pannable_area_expose_event): Added a new way to render the
2251 scrollbars of the pannable area avoiding using cairo at all. This
2252 way we improve the performance of the pannable area rendering. The
2253 cairo rendering procedure is still in the code, we can control
2254 which one to use changing the value of the define
2255 USE_CAIRO_SCROLLBARS.
2257 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2259 * configure.ac: post release version bump.
2260 * debian/changelog: version bump.
2262 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2267 * configure.ac: Bump version.
2268 * debian/changelog: Updates.
2270 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2272 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
2273 banners instead of destroying them when they receive a button
2276 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2278 Reverted commit 34028, it was causing regressions, probably the
2279 topmost condition is not correct, we have to check it in more
2280 detail. We have reponed the bug: NB#97458 (Pannable area prevents
2281 propagation of button press events)
2283 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2285 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
2286 that the selection is not empty before attempting to retrieve the
2287 current ampm selection.
2289 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2291 * src/hildon-picker-button.c:
2292 (hildon_picker_button_on_dialog_response): Directly update the
2293 button contents when required instead of calling _selection_changed.
2295 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2297 * src/hildon-program.c (hildon_program_update_top_most): Update
2298 'is-topmost' property also when wm_hints is not set.
2300 Fixes: NB#98383 (is-topmost signal is not emitted when task
2301 switcher is clicked.)
2303 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2305 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
2309 * src/hildon-animation-actor.c,
2310 * src/hildon-animation-actor.h: Added the animation actor class,
2311 this widget represents an animation actor for WM-assisted
2312 animation effects in the Hildon framework.
2314 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2316 * src/hildon-window-stack-private.h
2317 * src/hildon-window-stack.c
2318 * src/hildon-stackable-window.c (hildon_stackable_window_show):
2319 Avoid calling gtk_widget_show() again indirectly from
2320 hildon_stackable_window_show()
2322 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2324 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
2327 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2329 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
2330 (hildon_time_selector_init): Move the construction of the hours and
2331 ampm columns to the constructor to preserve the order the columns
2334 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2336 * src/hildon-picker-dialog.c:
2337 (hildon_picker_dialog_class_init): Connect a realize method.
2338 (+hildon_picker_dialog_realize): Setup the interaction mode here
2340 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
2341 yet, do it during the realize instead.
2342 (_on_dialog_response):
2343 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
2344 if the widget is not realized, to avoid the dialog response before it
2347 Avoid premature responses in the HildonPickerDialog that can cause it
2348 to be hidden before it's even shown.
2350 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2352 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
2353 (on_selector_columns_changed), (requires_done_button),
2354 (+prepare_action_area), (setup_interaction_mode),
2355 (_hildon_picker_dialog_set_selector):
2357 Split the interaction mode setup into preparation of the
2358 action area (prepare_action_area()) and the connection of
2359 the signals in setup_interaction_mode() and update the code to
2362 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2364 * src/hildon-pannable-area.c,
2365 (hildon_pannable_area_class_init): Reduced the amount of scrolls
2366 per second to 15, we will check if this is ok regarding
2369 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2371 * src/hildon-pannable-area.c,
2372 (hildon_pannable_axis_scroll): Avoid resize if we already have
2373 reached overshoot_max.
2375 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2377 * src/hildon-pannable-area.c,
2378 (hildon_pannable_area_init),
2379 (hildon_pannable_area_realize),
2380 (hildon_pannable_area_size_allocate),
2381 (hildon_pannable_area_map),
2382 (hildon_pannable_area_unmap),
2383 (hildon_pannable_draw_vscroll),
2384 (hildon_pannable_draw_hscroll),
2385 (hildon_pannable_area_expose_event),
2386 (hildon_pannable_area_refresh): Added a new GdkWindow to the
2387 pannable are to avoid the expose events go to the window and
2388 redraw the window. We save this way that part of the stack and the
2389 paint_boxes. We had to change the positions of the elements when
2392 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
2394 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2395 * src/hildon-color-chooser-dialog.c:
2396 (hildon_color_chooser_dialog_init):
2397 * src/hildon-font-selection-dialog.c:
2398 (hildon_font_selection_dialog_init),
2399 (hildon_font_selection_dialog_show_preview):
2400 * src/hildon-get-password-dialog.c:
2401 * src/hildon-login-dialog.c:
2402 * src/hildon-set-password-dialog.c:
2403 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
2404 * src/hildon-time-picker.c: (hildon_time_picker_init):
2406 Remove obsolete logical string IDs and update to the appropriate ones.
2408 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
2410 2009-01-21 Alberto Garcia <agarcia@igalia.com>
2412 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
2413 that happens if the window hasn't been realized yet.
2415 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
2416 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
2418 2009-01-20 Alberto Garcia <agarcia@igalia.com>
2420 * src/hildon-app-menu.c (hildon_app_menu_class_init)
2421 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
2424 Fixes: NB#98537 (Device hangs in account settings dialog)
2426 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2428 * configure.ac: post release version bump.
2429 * debian/changelog: version bump
2431 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2436 * configure.ac: Bump version.
2437 * debian/changelog: Updates.
2439 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2441 Added a new function to the HildonTimeButton widget that allows to
2442 change the step of the minutes in the selector associated with the
2443 button: hildon_time_button_new_step
2445 * src/hildon-time-button.c,
2446 (hildon_time_button_init),
2447 (hildon_time_button_new),
2448 (hildon_time_button_new_step):
2449 * src/hildon-time-button.h: Added the new function and refactored
2451 * examples/hildon-time-button-example.c,
2452 (main): We have replaced the function without parameters with the
2453 function with the steps set to 5
2455 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
2457 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2459 * src/hildon-time-selector.c,
2460 (hildon_time_selector_class_init),
2461 (hildon_time_selector_constructor),
2462 (hildon_time_selector_get_property),
2463 (hildon_time_selector_set_property),
2464 (_create_minutes_model),
2465 (hildon_time_selector_new_step),
2466 (hildon_time_selector_set_time),
2467 * src/hildon-time-selector.h: Added a new property to the
2468 HildonTimeSelector (minutes-step), we use that property to control
2469 the steps between the minutes in the list of the selector. We have
2470 added a new function to the API to create a widget changing the
2471 step: hildon_time_selector_new_step.
2473 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2475 * src/hildon-time-selector.c,
2476 (hildon_time_selector_class_init),
2477 (hildon_time_selector_constructor),
2478 (hildon_time_selector_init): Overrided the construct function when
2479 creating the time selector object. We have moved the minutes model
2480 handling code from the init to the new construction function:
2481 hildon_time_selector_constructor.
2483 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2485 * examples/hildon-date-button-example.c: (main): Use the new
2486 hildon_date_button_new_with_year_range() method in the example.
2487 * src/hildon-date-button.c:
2488 (+hildon_date_button_new_with_year_range): New public method
2489 to conveniently create a HildonDateButton with a custom year range
2490 in its HildonDateSelector.
2491 * src/hildon-date-button.h: Add the new public method definition.
2493 Fixes: NB#97908 (Not possible to change the year range in
2494 HildonDateSelector/HildonDateButton)
2496 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2498 * src/hildon-date-selector.c:
2499 (+hildon_date_selector_set_property),
2500 (+hildon_date_selector_get_property),
2501 (hildon_date_selector_class_init): Install new properties "min-year"
2502 and "max-year" to define boundaries for the year column.
2503 (_create_year_model): Use the boundary properties to populate the model.
2504 (+hildon_date_selector_new_with_year_range): New public method to
2505 create a HildonDateSelector with a user defined year range.
2506 (hildon_date_selector_select_current_date): Use the new boundaries to
2507 calculate the iterator of current year.
2508 * src/hildon-date-selector.h: Add the new public method definition.
2510 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2512 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
2513 Install a constructor method.
2514 (+hildon_date_selector_construct_ui): construct the widget.
2515 (+hildon_date_selector_constructor): new constructor.
2516 (+hildon_date_selector_init): move out widget construction code to
2517 the new constructor.
2519 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2521 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
2522 that there's actually a month or year selected before obtaining them.
2523 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
2524 of the HildonTouchSelector::changed signal, as it was emitted on every
2525 single item selection.
2527 Fix some warnings and possible crashers due to the selection restoring.
2529 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2531 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
2532 the signal handlers only after creating the dialog instead of on every
2535 2009-01-19 Alberto Garcia <agarcia@igalia.com>
2537 * src/hildon-button.c (hildon_button_init)
2538 * src/hildon-check-button.c (hildon_check_button_init)
2539 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
2540 focus when clicked by default.
2542 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2544 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
2547 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2549 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2550 Alejandro G. Castro (alex@igalia.com)
2552 * src/hildon-picker-dialog.c:
2553 (hildon_picker_dialog_class_init): install new "center-on-show"
2555 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
2556 (hildon_picker_dialog_set_property): add setter code for the new
2558 (hildon_picker_dialog_get_property): add getter code for the new
2560 (hildon_picker_dialog_show): Ensure visibility of selected items in the
2561 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
2564 Fixes: NB#92849 (Selected item is not always visible when
2565 HildonTouchSelector is shown)
2567 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2569 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2570 Alejandro G. Castro (alex@igalia.com)
2572 * src/hildon-touch-selector.c:
2573 (_create_new_column): Do not connect to the "realize" signal of the
2575 (hildon_touch_selector_append_column): center on the selected items
2576 when a new column is appended.
2577 (hildon_touch_selector_select_iter): Factor out the code to select a
2578 column to hildon_touch_selector_scroll_to().
2579 (+search_nearest_element): Method to retrieve the nearest selected
2580 element to the visible area of the pannable area in a column.
2581 (+on_realize_cb): scroll to the initially selected item.
2582 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
2583 the pannable area is realized, otherwise delay this until it is.
2584 (+_hildon_touch_selector_center_on_selected_items): Centers on the
2585 selected items of a given column.
2586 (+hildon_touch_selector_center_on_selected): Public method to center
2587 all columns on the nearest selected item.
2588 * src/hildon-touch-selector.h: Add definition for
2589 hildon_touch_selector_center_on_selected().
2591 Implement public API to ensure visibility of all selected items in
2592 a HildonTouchSelector.
2594 2009-01-16 Alejandro G. Castro <alex@igalia.com>
2596 Fixed a problem in the fading when calling the scroll_to API, and
2597 improve scrollbar fading handling.
2599 * src/hildon-pannable-area.c,
2600 (hildon_pannable_area_grab_notify): avoid the timeout when the
2602 (hildon_pannable_area_button_press_cb),
2603 (hildon_pannable_area_motion_notify_cb): Code style changes.
2604 (hildon_pannable_area_button_release_cb): Review the conditions
2605 when releasing the mouse button to avoid unrequired fading
2607 (hildon_pannable_area_scroll_to): Do not calculate and set the
2608 velocity if the scroll is not required.
2610 2009-01-15 Alberto Garcia <agarcia@igalia.com>
2612 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
2613 Don't check whether the new selector is NULL: it cannot be.
2614 Hold a reference to the selector while doing the replacement.
2616 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2618 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2619 unnecessary size_request in a removed widget.
2621 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2623 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2624 an unnecessary reference tracking that was leaking.
2626 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2628 Added delayed motion notify event handling, this way we can
2629 discard redrawing if more than 25 events arrive per second.
2631 * src/hildon-pannable-area.c,
2632 (hildon_pannable_area_init): Initialized the new private atributes
2633 controlling this timeout
2634 (hildon_pannable_area_dispose): Remove the timeout that controls
2635 the motion notify events.
2636 (hildon_pannable_area_scroll): Added a condition to control the
2637 use of the acceleration.
2638 (hildon_pannable_area_motion_event_scroll_timeout),
2639 (hildon_pannable_area_motion_event_scroll): Added this two
2640 functions, they handle the motion notify events inside the
2642 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
2643 to the scroll method with the new function.
2644 (hildon_pannable_area_button_release_cb): We have to remove the
2645 timeout handler and move to the last position if the last motion
2646 events were not handled.
2648 Fixes: NB#97028 (Pannable area updates on every motion event)
2650 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2652 * src/hildon-pannable-area.c,
2653 (hildon_pannable_area_get_topmost): Added a new parameter to
2654 filter the the windows that do not include those events. Added
2655 also a condition when finding the window to filter windows that do
2656 not ask for those events.
2657 (hildon_pannable_area_button_press_cb),
2658 (hildon_pannable_area_button_release_cb),
2659 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2660 topmost function, we have added the new parameter.
2662 Fixes: NB#97458 (Pannable area prevents propagation of button
2665 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2667 * src/hildon-pannable-area.c,
2668 (hildon_pannable_area_initial_effect): Added controls before
2669 launching the timeout and the idle functions.
2670 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
2671 of the method, in some situations it can return with TRUE and 0 in
2673 (hildon_pannable_area_button_press_cb): We do not need to set
2674 DELAY for fading out here.
2676 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
2678 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2680 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
2681 post-cleaning if the selection is not NULL.
2683 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2685 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
2686 all items before restoring the selection.
2688 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2690 * src/hildon-touch-selector.c:
2691 (+hildon_touch_selector_unselect_all):
2692 * src/hildon-touch-selector.h: New API to unselect all items in a
2693 column of the touch selector.
2695 2009-01-14 Alejandro G. Castro <alex@igalia.com>
2697 * src/hildon-pannable-area.c,
2698 (hildon_pannable_area_redraw): Added a call to the refresh
2699 function inside the redraw because apparently in some cases the
2700 change in the adjustment does not imply a size allocate.
2702 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
2703 despite the view not being scrollable)
2705 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2707 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
2708 leak. Check for NULL before attempting to set the window title.
2710 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2712 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
2713 whether to show or not the 'Done' button each time the dialog is
2714 shown, as it depends on the HildonTouchSelector selection mode.
2716 Fixes: NB#96226 (In multiple selection mode Done button is shown
2717 sometimes in listpicker)
2719 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2721 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
2722 for the number of columns in the HildonTouchSelector more than once.
2724 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2726 * src/hildon-touch-selector.c: Minor documentation fixes.
2728 * src/hildon-picker-dialog.c (+_dialog_update_title)
2729 (_select_on_selector_changed_cb)
2730 (_update_title_on_selector_changed_cb)
2731 (on_selector_columns_changed): Update dialog title when there's no
2732 'Done' button and also when the number of columns in the selector
2736 * src/hildon-picker-button.c (hildon_picker_button_finalize)
2737 (+_selection_changed, hildon_picker_button_on_dialog_response)
2738 (hildon_picker_button_selector_selection_changed)
2739 (+hildon_picker_button_selector_columns_changed)
2740 (hildon_picker_button_set_selector): Update button value and emit
2741 'value-changed' when the number of columns in the selector
2745 Fixes: NB#96225 (Dialog titles are not shown according to the
2746 values selected in the list picker)
2748 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2750 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
2751 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
2752 New "arrow-width" and "arrow-height" style properties to set the
2753 size of the arrow button.
2754 Set name of arrow button ("hildon-edit-toolbar-arrow").
2756 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2757 graphics from theme)
2759 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2761 * src/hildon-picker-button.c:
2762 (hildon_picker_button_selector_selection_changed): Use
2763 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
2764 the dialog is present.
2766 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
2767 the selection is accepted in the dialog)
2769 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2771 * src/hildon-color-chooser.h
2772 * src/hildon-color-chooser-dialog.h:
2773 Added G_BEGIN_DECLS and G_END_DECLS
2775 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2777 (_clean_current_selection): plug a leak in the list.
2779 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2781 * src/hildon-picker-dialog.c:
2782 (+free_path_list): Method to free a GList of GtkTreePaths.
2783 (_clean_current_selection), (_save_current_selection),
2784 (_restore_current_selection): Save the current selection in
2785 as a list of lists, to support multiple selection properly.
2787 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2789 patch by Claudio Saavedra (csaavedra@igalia.com)
2791 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
2792 Store the press position.
2793 (+hildon_text_view_button_release_event): If the release position is
2794 close enough to the press position, move the cursor here. Otherwise,
2796 (hildon_text_view_class_init): Override GtkTextView press, release, and
2797 motion event handlers, disabling this way text selection through
2798 pointer interaction, and allowing the container widget to handle the
2801 Fixes: NB#95828 (HildonTextView functionality)
2803 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2805 Based on a patch by Iván Gómez (igomez@igalia.com)
2807 * src/hildon-button.[ch]
2808 * src/hildon-calendar.c
2809 * src/hildon-check-button.c
2810 * src/hildon-date-editor.c
2811 * src/hildon-date-selector.c
2812 * src/hildon-picker-button.c
2813 * src/hildon-time-editor.c
2814 * src/hildon-time-selector.c
2815 * src/hildon-touch-selector.[ch]:
2816 Documentation updates
2818 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2820 * src/hildon-pannable-area.c,
2821 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
2822 threshold, it was required due to X events handling.
2824 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2826 * src/hildon-pannable-area.c,
2827 (hildon_pannable_area_grab_notify),
2828 (hildon_pannable_area_initial_effect),
2829 (hildon_pannable_area_button_press_cb),
2830 (hildon_pannable_area_button_release_cb),
2831 (hildon_pannable_area_scroll_cb),
2832 (hildon_pannable_area_scroll_to): Review the timeout management of
2833 the scrollbar, the frecuency was incorrectly set.
2835 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
2837 * src/hildon-picker-button.c:
2838 (+hildon_picker_button_on_dialog_response),
2839 (hildon_picker_button_clicked): Present the dialog instead of
2840 running it with gtk_dialog_run().
2842 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
2845 2009-01-07 Alberto Garcia <agarcia@igalia.com>
2847 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2848 (hildon_app_menu_finalize): When a window is hidden it doesn't
2849 emit notify::is-topmost, so make sure than the menu also
2850 disappears in that case.
2851 (parent_window_topmost_notify): Renamed from parent_window_hidden
2853 Fixes: NB#94460 (stackable window's menu is not closed when its
2856 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2858 * src/hildon-touch-selector-entry.c:
2859 (+hildon_touch_selector_entry_set_input_mode),
2860 (+hildon_touch_selector_entry_get_input_mode):
2861 * src/hildon-touch-selector-entry.h: New methods to access the input
2862 mode in the selector's entry.
2864 Fixes: NB#93410 (API required for setting IM mode in
2865 HildonTouchSelectorEntry)
2867 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2869 * configure.ac: post release version bump.
2870 * debian/changelog: version bump
2872 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2877 * configure.ac: Bump version.
2878 * debian/changelog: Updates.
2880 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
2882 * src/hildon-touch-selector.c:
2883 (_hildon_touch_selector_has_multiple_selection): No need
2884 to initialize the variables here.
2886 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2888 * src/hildon-note-private.h
2889 * src/hildon-note.c (event_box_press_event, hildon_note_init)
2890 (hildon_note_finalize, hildon_note_rebuild): Close information
2891 notes when they receive a button press.
2893 Fixes: NB#89890 (Information notes does not get disappeared after
2896 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
2898 * src/hildon-wizard-dialog.c: (create_title): Remove translation
2899 mark from the wizard title, as it's not really necessary. Also,
2900 do not display the page title if not set.
2902 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2904 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2905 (parent_window_hidden): Use the window's "is-topmost" property to
2906 detect when to hide the menu.
2908 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2910 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2911 (hildon_app_menu_finalize): If the parent window of the menu is
2912 hidden, hide the menu too.
2914 Fixes: NB#94460 (stackable window's menu is not closed when its
2917 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2920 * debian/libhildon1-examples.install
2922 * examples/Makefile.am:
2923 Use dh_install to install all examples.
2924 Use DEB_SRCDIR instead of defining SOURCE_DIR
2926 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2928 * configure.ac: post release version bump.
2929 * debian/changelog: version bump
2931 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2936 * configure.ac: bump version
2937 * debian/changelog: updates
2938 * debian/control: bump gtk+ dependency
2940 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2942 patch by Christian Dywan (christian@imendio.com)
2944 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
2945 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
2947 2008-12-15 Alberto Garcia <agarcia@igalia.com>
2949 * src/hildon-check-button.c (hildon_check_button_init)
2950 (hildon_check_button_class_init, hildon_check_button_style_set)
2951 (hildon_check_button_apply_style):
2952 New "checkbox-size" style property.
2954 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
2955 larger / configurable size)
2957 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2959 * configure.ac: post release version bump.
2960 * debian/changelog: version bump
2962 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2967 * configure.ac: bump version
2968 * debian/changelog: updates
2970 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2972 * doc/hildon-sections.txt
2973 * src/hildon-pannable-area.c
2974 * src/hildon-program.c
2975 * src/hildon-time-editor.c
2976 * src/hildon-touch-selector-entry.c:
2978 More documentation updates.
2980 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2982 * doc/hildon-sections.txt
2983 * src/hildon-caption.c
2984 * src/hildon-code-dialog.c
2985 * src/hildon-color-button.c
2986 * src/hildon-controlbar.c
2987 * src/hildon-date-editor.c
2988 * src/hildon-date-selector.c
2989 * src/hildon-edit-toolbar.c
2990 * src/hildon-find-toolbar.c
2991 * src/hildon-font-selection-dialog.c
2993 * src/hildon-program.c
2994 * src/hildon-range-editor.c
2995 * src/hildon-seekbar.c
2996 * src/hildon-time-editor.c
2997 * src/hildon-time-selector.c
2998 * src/hildon-volumebar-range.c
2999 * src/hildon-volumebar.c
3000 * src/hildon-vvolumebar.c
3001 * src/hildon-weekday-picker.c
3002 * src/hildon-window.c
3003 * src/hildon-wizard-dialog.c:
3005 Lots of documentation fixes.
3007 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3009 Patch contributed by Iván Gómez (igomez@igalia.com)
3011 * src/hildon-check-button.c:
3012 * src/hildon-date-button.c:
3013 * src/hildon-date-selector.c:
3014 * src/hildon-dialog.c:
3015 * src/hildon-edit-toolbar.c:
3016 * src/hildon-entry.c:
3017 * src/hildon-picker-button.c:
3018 * src/hildon-program.c:
3019 * src/hildon-text-view.c:
3020 * src/hildon-time-button.c:
3021 * src/hildon-touch-selector-entry.c:
3022 * src/hildon-window-stack.c:
3024 Add more "since" tags to the new API.
3026 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3028 * doc/hildon-sections.txt: Add below method.
3029 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
3030 version for the hildonized scale.
3031 * src/hildon-gtk.h: Add the definition.
3033 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3035 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3037 * doc/hildon-sections.txt: Add missing entries for new methods.
3039 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3041 Added API to pannable are in order to get its adjustments. We
3042 added two properties to manage the values we had in the private
3045 * src/hildon-pannable-area.c:
3046 (hildon_pannable_area_class_init): Added hadjustment and
3047 vadjustment properties in order to expose horizontal and vertical
3049 (hildon_pannable_area_get_property),
3050 (hildon_pannable_area_set_property): Added code to handle the new
3052 (hildon_pannable_area_get_hadjustment),
3053 (hildon_pannable_area_get_vadjustment): API functions to get the
3055 * src/hildon-pannable-area.h:
3056 (hildon_pannable_area_get_hadjustment),
3057 (hildon_pannable_area_get_vadjustment): API functions to get the
3060 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3062 Fixed some leaks, after valgrinding.
3064 * src/hildon-touch-selector.c:
3065 (_default_print_func): Fixed a leak.
3066 (hildon_touch_selector_append_column): Fixed a leak.
3067 * src/hildon-date-button.c:
3068 (hildon_date_button_init): Fixed a leak.
3069 * src/hildon-date-selector.c
3070 (hildon_date_selector_finalize): Fixed a leak.
3072 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3074 Based on a patch by Christian Dywan (christian@imendio.com)
3076 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
3078 * src/hildon-gtk.h: Add definition.
3080 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3082 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3084 * src/hildon-picker-button.c: (hildon_picker_button_init),
3085 (hildon_picker_button_new): Set the HildonButton::style property
3086 in the init method, to propagate the value to the derived classes.
3088 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3090 * src/hildon-button.c: (hildon_button_class_init): Do not make
3091 the "style" property a construct property.
3093 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3095 * src/hildon-wizard-dialog.h
3096 * src/hildon-wizard-dialog.c
3097 (hildon_wizard_dialog_set_forward_page_func)
3098 * src/hildon-pannable-area.h
3099 * src/hildon-pannable-area.c
3100 (hildon_pannable_area_set_size_request_policy):
3101 Documentation fixes.
3103 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3105 * doc/hildon-sections.txt: Fixed warning about unused symbols.
3107 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3109 * doc/hildon-sections.txt: Added sections file.
3111 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3114 * src/*.[ch]: Updates.
3116 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
3118 * examples/hildon-progress-indicator-example.c: new file
3119 * examples/Makefile.am: include the new example program
3121 2008-12-10 Alberto Garcia <agarcia@igalia.com>
3123 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
3125 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3127 * configure.ac: post release version bump
3128 * debian/changelog: version bump
3130 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3135 * configure.ac: bump version
3136 * debian/changelog: updates
3137 * debian/control: bump gtk+ dependency
3139 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3141 * src/hildon-dialog.c: Mark as deprecated.
3142 * src/hildon-dialog.h: Mark as deprecated.
3143 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
3144 from HildonDialog and still work, even if
3145 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
3146 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
3148 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
3149 maemo changes) instead)
3151 2008-12-09 Alejandro G. Castro <alex@igalia.com>
3153 * src/hildon-pannable_area.h:
3154 * src/hildon-pannable_area.c:
3155 (hildon_pannable_area_class_init),
3156 (hildon_pannable_area_set_property),
3157 (hildon_pannable_area_get_property),
3158 (hildon_pannable_area_size_request),
3159 (hildon_pannable_area_get_size_request_policy),
3160 (hildon_pannable_area_set_size_request_policy): Added new API
3161 allowing applications to control the request policy. Now they can
3162 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
3163 children allocation (HILDON_MOVEMENT_CHILDREN).
3165 2008-12-09 Alberto Garcia <agarcia@igalia.com>
3169 (hildon_gtk_tree_view_set_ui_mode)
3170 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
3171 mode of treeviews and iconviews.
3173 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3175 * src/hildon-touch-selector-entry.c:
3176 (hildon_touch_selector_entry_init): Use a HildonEntry instead
3177 of a GtkEntry to get proper theming.
3179 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
3180 widget, not GtkEntry)
3182 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3184 * src/hildon-wizard-dialog.c: (response): Move forward if there is
3185 no HildonWizardDialogPageFunc.
3187 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3189 Patch contributed by Iván Gómez (igomez@igalia.com)
3191 * src/hildon-app-menu.c:
3192 * src/hildon-button.c:
3193 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
3194 * src/hildon-stackable-window.c:
3195 * src/hildon-time-selector.c:
3196 * src/hildon-touch-selector.c:
3197 * src/hildon-window.c:
3199 Add more "since" tags to the new API in hildon 2.2.
3201 2008-12-05 Tim Janik <timj@imendio.com>
3203 Patch contributed by Christian Dywan (christian@imendio.com)
3205 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
3206 HildonSizeType, which are supplied by Gtk+ now.
3208 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
3210 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
3211 (with maemo changes) instead)
3213 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3215 Patch contributed by Iván Gómez (igomez@igalia.com)
3217 * src/hildon-pannable-area.c: Add "since" tags to the new API in
3220 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3222 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
3223 (some_page_func), (main): Update the example to use a
3224 HildonWizardDialogPageFunc function.
3226 * src/hildon-wizard-dialog-private.h: Add private data for
3227 the HildonWizardDialogPageFunc function usage.
3229 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
3230 (destroy), (hildon_wizard_dialog_init), (response),
3231 (hildon_wizard_dialog_set_forward_page_func):
3232 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
3233 that applications can use to stop a HildonWizardDialog to jump to
3236 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
3239 2008-12-04 Alberto Garcia <agarcia@igalia.com>
3241 * src/hildon-program.h
3242 * src/hildon-program-private.h
3243 * src/hildon-program.c (hildon_program_init)
3244 (hildon_program_set_common_app_menu)
3245 (hildon_program_get_common_app_menu):
3246 New API for setting a common HildonAppMenu for all
3247 HildonStackableWindows registered with the HildonProgram.
3249 * src/hildon-stackable-window.c
3250 (hildon_stackable_window_toggle_menu):
3251 Use the common HildonAppMenu if a window doesn't have a specific
3254 * src/hildon-app-menu-private.h
3255 * src/hildon-app-menu.c
3256 (hildon_app_menu_get_parent_window):
3257 Function to obtain the window a HildonAppMenu is attached to.
3258 (hildon_app_menu_set_parent_window):
3259 Hide the menu if the parent window is set to NULL.
3261 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
3263 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
3264 set GtkTreeView::enable-search to FALSE, to avoid the interactive
3265 search widget to popup.
3267 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3269 * configure.ac: post release version bump
3270 * debian/changelog: version bump
3272 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3277 * configure.ac: bump version
3278 * debian/changelog: updates
3280 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3282 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
3284 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
3285 (hildon_window_stack_window_realized)
3286 (hildon_window_stack_remove, _hildon_window_stack_do_push):
3287 Set the leader GdkWindow when a window is stacked and realized,
3288 unset it when it's unstacked.
3289 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
3291 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
3293 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3295 * src/hildon-stackable-window.h
3296 * src/hildon-window-stack.h:
3297 Protect definition of HildonWindowStack using the preprocessor.
3299 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3301 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
3302 Fix warning if all menu items are hidden.
3304 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
3306 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3308 * src/hildon-controlbar.c:
3309 * src/hildon-hvolumebar.c:
3310 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
3311 Multiple scale size defines updates.
3313 Fixes: NB#94322 (Scale Updates)
3315 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3317 * examples/hildon-app-menu-example.c (create_menu)
3318 Show items after adding them to the menu, as in the future the
3319 menu will no longer call gtk_widget_show() on the added items.
3321 * src/hildon-app-menu.c:
3322 Update example as explained above.
3324 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3326 * src/hildon-app-menu.c
3327 (hildon_app_menu_insert, hildon_app_menu_add_filter):
3328 Make sure that all menu items have finger height.
3330 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
3332 * src/hildon-picker-dialog.c:
3333 (_on_dialog_response), (_save_current_selection),
3334 (_restore_current_selection), (_clean_current_selection),
3335 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
3336 Defined new functions in order to save the current internal selector
3337 selection previous open the dialog, in case that the use cancel the
3338 interaction, so the widget restores the previous selection.
3340 Fixes: NB#92032 (In calendar application, date values in 'new event'
3343 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
3345 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3347 * src/hildon-button.c: Add a reference to the button examples in
3348 hildon-button-example.c
3350 * examples/hildon-button-example.c: Added examples of the most
3351 common button layouts.
3353 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3355 * src/hildon-app-menu.c (hildon_app_menu_show)
3356 (hildon_app_menu_class_init): Don't show the menu if it's empty.
3358 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
3360 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3362 * src/hildon-picker-dialog.c:
3363 (hildon_picker_dialog_init): Initialize the signal id for
3364 HildonTouchSelector::columns-changed.
3365 (+on_selector_columns_changed): Set up the interaction mode everytime a
3366 column is added or removed from the HildonTouchSelector.
3367 (_hildon_picker_dialog_set_selector): Connect to
3368 HildonTouchSelector::columns-changed and keep track of it.
3370 Make sure to update the interaction mode of the dialog everytime a
3371 column is added or removed in the HildonTouchSelector.
3373 Fixes: NB#93228 (Done button is not shown always in listpicker)
3375 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3377 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
3378 a new ::columns-changed signal.
3379 (hildon_touch_selector_append_column): Emit ::columns-changed.
3380 (hildon_touch_selector_remove_column): Emit ::columns-changed.
3382 Add a ::columns-changed signal, emitted when the number of columns in a
3383 HildonTouchSelector changes.
3385 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3387 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
3388 (_hildon_picker_dialog_set_selector): Factor out the code
3389 to set up the dialog interaction mode.
3391 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3393 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
3394 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
3395 to signal_changed_id.
3397 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3399 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3402 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
3404 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
3405 Updated the logical ids related to ampm format, as now it is required to
3406 show it correctly localized even on languages with no default
3407 abbreviations for am or pm
3408 (_check_am_pm_format): check correctly the 24h format gconf property
3410 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
3412 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3414 * src/hildon-button.c: Documentation updates.
3416 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3418 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
3419 * src/hildon-caption.c: (hildon_caption_class_init):
3420 * src/hildon-color-button.c: (hildon_color_button_class_init):
3421 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
3422 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3423 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
3424 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
3426 Remove deprecated GTK+ marshalers and replace them with the ones
3427 provided by GLib, for those available, add a marshaler for
3428 BOOLEAN:VOID, which is not available in GLib, and use it.
3430 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3432 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
3433 the text from the previous column if there is no
3434 HildonTouchSelectorColumn::text-property set.
3436 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3438 * src/hildon-button.h
3439 * src/hildon-button.c (hildon_button_set_property)
3440 (hildon_button_get_property, hildon_button_class_init)
3441 (hildon_button_set_style, hildon_button_get_style):
3442 New "style" property to change the visual appearance of the
3445 * src/hildon-picker-button.c (hildon_picker_button_new):
3446 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
3448 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
3449 HildonButton look like PickerButton)
3451 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3453 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
3454 column while building the default string.
3456 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3458 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
3459 scroll indicator by default.
3461 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
3463 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3465 * src/hildon-main.c: Fix the documentation for hildon_init()
3467 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3469 * doc/hildon-docs.sgml
3473 * src/hildon-window-stack-private.h
3474 * src/hildon-window-stack.h
3475 * src/hildon-window-stack.c:
3476 New HildonWindowStack object, that adds support for multiple
3477 stacks of windows per process.
3479 * src/hildon-stackable-window-private.h
3480 * src/hildon-stackable-window.h
3481 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
3482 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
3483 (hildon_stackable_window_show, hildon_stackable_window_hide)
3484 (hildon_stackable_window_class_init)
3485 (hildon_stackable_window_init):
3486 Use HildonWindowStack for stack management.
3488 * src/hildon-program.c (hildon_program_pop_window_stack)
3489 (hildon_program_peek_window_stack)
3490 (hildon_program_go_to_root_window):
3491 Add a fallback implementation to the deprecated functions using
3494 * examples/hildon-stackable-window-example.c:
3495 Use the new HildonWindowStack API.
3497 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3499 * src/hildon-stackable-window-private.h
3500 * src/hildon-stackable-window.c (hildon_stackable_window_show)
3501 (hildon_stackable_window_hide, hildon_stackable_window_init):
3502 Remove all window stack management.
3504 * src/hildon-program-private.h
3505 * src/hildon-program.h
3506 * src/hildon-program.c (hildon_program_init)
3507 (hildon_program_pop_window_stack)
3508 (hildon_program_peek_window_stack)
3509 (hildon_program_go_to_root_window):
3510 Remove all window stack management and mark functions as
3513 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3515 * src/hildon-app-menu.c (hildon_app_menu_realize):
3516 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
3518 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3520 * configure.ac: post release version bump
3521 * debian/changelog: version bump
3523 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3528 * configure.ac: bump version
3529 * debian/changelog: updates
3531 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3533 Based on initial code by Christian Dywan (christian@imendio.com)
3535 * doc/hildon-docs.sgml: Add section for hildon-main.
3536 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
3537 * src/Makefile.am: Add new hildon-main.[ch]
3538 * src/hildon-defines.h: Update the icon sizes.
3539 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
3540 new library initialization files and register icon sizes.
3541 * src/hildon-main.h: New declarations.
3542 * src/hildon.h: Include hildon-main.h
3544 Add new initialization functions to the library. These methods
3545 will register the hildon specific icon sizes and can be used in the
3546 future for other hildon specific bits.
3548 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
3550 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3552 * src/hildon-window.c: (hildon_window_realize),
3553 (hildon_window_notify), (-hildon_window_update_title): Do not set
3554 the application name in the window title.
3556 Fixes: NB#89754 (Applications shouldn't display their names in the
3559 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3561 * src/hildon-note-private.h:
3562 * src/hildon-note.c: (hildon_note_set_property),
3563 (hildon_note_get_property), (hildon_note_class_init),
3564 (hildon_note_init), (hildon_note_finalize),
3565 (hildon_note_new_confirmation_with_icon_name),
3566 (hildon_note_new_information_with_icon_name):
3568 No need to mark as deprecated the actual code. Revert
3569 to avoid missing symbols in widgets using deprecated API.
3571 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3573 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
3575 * src/hildon-volumebar.h
3576 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
3577 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
3579 * src/hildon-helper.h
3580 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
3581 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
3583 * examples/Makefile.am:
3584 Deprecate hildon-insensitive-example
3586 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
3588 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3590 * examples/hildon-pannable-area-buttons-scroll-example.c:
3591 Make all buttons finger height
3593 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
3595 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
3597 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
3598 update the day model only if it is really required, and to avoid the
3599 full-reconstruction aproach. Now it only add or remove the required days.
3601 The purpose of this is avoid superfluous HildonTouchSelector::changed
3604 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
3605 with strange parameters)
3607 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
3609 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
3611 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
3612 the WINDOW_TYPE property.
3614 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
3616 2008-11-19 Alberto Garcia <agarcia@igalia.com>
3619 Fix dependency to allow parallel compilation with make -jX
3621 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
3623 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
3624 color frame and some minor tweaks to make it more consistent with
3627 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
3628 highlighted but not visible)
3630 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3632 * examples/Makefile.am: Fixed typo in the Makefile.am.
3634 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3636 Reviewed the use of MAEMO_GTK define, now we add the define in the
3637 compilation line, and we also add it to the pc file.
3639 * configure.ac: Added MAEMO_GTK define to the compilation command
3640 and removed it from the config.h.
3642 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
3643 do not have to take care about this define if the library was
3647 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
3649 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3651 * examples/Makefile.am,
3652 * examples/hildon-pannable-area-buttons-scroll-example.c,
3653 * examples/hildon-pannable-area-gesture-signals-example.c,
3654 * examples/hildon-pannable-area-scroll-jump-example.c,
3655 * examples/hildon-pannable-area-tree-view-example.c:
3656 Renamed the pannable area examples, now they have more meaningful
3659 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
3661 * src/hildon-touch-selector.c:
3662 (hildon_touch_selector_set_column_selection_mode): Used of
3663 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
3664 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
3665 to avoid re-seting the same selection mode.
3667 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
3668 breaks HildonPickerDialog)
3670 2008-11-13 Alejandro G. Castro <alex@igalia.com>
3672 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
3673 conditional in the Makefile.am
3675 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
3677 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
3678 Remove unused methods.
3680 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3682 * src/hildon-button.c (hildon_button_init):
3683 Make button images center-aligned by default
3685 2008-11-12 Alejandro G. Castro <alex@igalia.com>
3688 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
3689 activated, we have to think about how to deal with both defines
3690 MAEMO_GTK and MAEMO_CHANGES.
3692 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3694 * examples/hildon-app-menu-example.c (create_menu): Make all
3695 buttons finger size.
3697 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3699 Fixed the compilation without maemo gtk adding ifdefs with
3700 MAEMO_GTK define to the code, we have to check this version more
3703 * examples/Makefile.am: Added control to avoid some examples that
3704 just make sense with maemo gtk.
3707 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
3708 hildon modes with the define.
3710 * examples/hildon-edit-toolbar-example.c,
3711 (create_icon_view): Create the icon view without hildon-gtk
3712 helpers if we are not using maemo gtk.
3714 * src/hildon-touch-selector.c,
3715 (_create_new_column): Create the treeview without hildon-gtk
3716 helpers if we are not using maemo gtk.
3718 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3720 * src/hildon-pnnable-area.c,
3721 (hildon_pannable_area_dispose),
3722 (hildon_pannable_area_button_press_cb),
3723 (hildon_pannable_area_child_mapped),
3724 (hildon_pannable_area_add),
3725 (hildon_pannable_area_remove): Added code to control the position
3726 of the event_window when adding and removing children from the
3727 pannable. We have to raise the event window when the child is
3730 Fixes: NB#89811 (Not able to select first image thumbnail in multi
3731 selection mode using custom widget inside pannable)
3733 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3735 * configure.ac: post release version bump
3736 * debian/changelog: version bump
3738 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3743 * configure.ac: bump version
3744 * debian/changelog: updates
3746 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
3748 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
3749 search mode, in order to avoid lose the focus on the treeview when
3750 a hw key (like enter) is pressed.
3752 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
3753 in HildonDateSelector dialog)
3755 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
3757 * debian/rules: Added --enable-maintainer-mode
3758 * Makefile.am: Added ACLOCAL_AMFLAGS
3760 This allows to properly regenerate the Makefiles if you modify the
3761 configure.ac or any Makefile.am.
3763 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3765 * examples/hildon-app-menu-example.c: (main): Do not set RC style
3766 properties, not needed at all.
3768 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3770 * src/hildon-note-private.h: Add strings for the icon and stock_icon
3772 * src/hildon-note.c: (hildon_note_set_property),
3773 (hildon_note_get_property), (hildon_note_class_init),
3774 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
3775 (hildon_note_new_confirmation_add_buttons): Remove icons.
3776 (hildon_note_new_confirmation_with_icon_name): Deprecate.
3777 (hildon_note_new_information_with_icon_name): Deprecate.
3778 (hildon_note_new_confirmation): Act directly, without calling
3779 the deprecated constructor.
3780 (hildon_note_new_information): Act directly, without calling
3781 the deprecated constructor.
3782 * src/hildon-note.h: Mark deprecate methods as such.
3783 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
3784 not run tests on the deprecated methods if built with deprecation
3787 Fixes: NB#91688 (Never show icons in information notes/confirmation
3790 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3792 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
3793 (hildon_app_menu_key_press): Remove leftover usage of the
3794 private structure in HildonAppMenu struct.
3795 * src/hildon-app-menu.h: Remove leftover private structure
3796 from the HildonAppMenu struct.
3798 Fixes a crasher when using the HildonAppMenu.
3800 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3802 * src/hildon-picker-dialog.c: Use appropriate logical id
3803 for the default "Done" text.
3805 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3807 * configure.ac: post release version bump
3808 * debian/changelog: version bump
3810 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
3812 Modified the way to scroll to the current selection just when the touch
3813 selector is shown on the screen, avoiding a g_idle. Added too a property
3814 to configure this behaviour. See hildon_pannable_area_jump_to_child
3815 documentation for more information.
3817 * src/hildon-touch-selector.c
3818 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
3819 Added 'initial-scroll' property
3820 (hildon_touch_selector_set_property): Added
3821 (hildon_touch_selector_map): Removed as not required anymore
3822 (_hildon_touch_selector_on_selected_items): Modified in order to manage
3823 only a concrete column, instead of iterate along all the columns
3825 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3830 * configure.ac: bump version
3831 * debian/changelog: updates
3833 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3835 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
3836 compilation time warnings.
3838 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3840 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
3841 the default value for HildonPannableArea::mov-mode to
3842 HILDON_PANNABLE_AREA_MODE_VERT.
3844 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
3846 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3848 Reverting following commit:
3850 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3852 * src/hildon-app-menu-private.h
3853 * src/hildon-app-menu.[ch]
3854 * src/hildon-button.[ch]
3855 * src/hildon-check-button.[ch]
3856 * src/hildon-entry.[ch]
3857 * src/hildon-pannable-area.[ch]
3858 * src/hildon-text-view.[ch]:
3859 Added private field to the object's structure.
3861 because it causes an ABI breakage. We will need to introduce these
3862 changes later at some point. See NB#91636 for an extensive
3863 explanation and status.
3865 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3867 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3869 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
3870 remove special cases that are no longer necessary.
3872 Fixes: NB#91016 (Change toolbar sizes, simplification)
3874 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3876 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
3877 is shown in the cancel note.
3879 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3881 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
3882 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
3883 (hildon_seekbar_init): Remove steppers, remove expose event.
3884 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
3886 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
3888 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
3890 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
3891 label font to "SmallSystemFont" for vertically arranged buttons.
3893 Fixes: NB#90662 (HildonButton "value" and "detail" text is
3896 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3898 * src/hildon-check-button.c
3899 (hildon_check_button_set_active, hildon_check_button_clicked):
3900 Don't access private parts directly, use getters instead.
3902 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3904 * src/hildon-check-button.c (hildon_check_button_new):
3905 Align the contents of the check button to the left.
3907 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3909 * src/hildon-pannable-area.c,
3910 (hildon_pannable_area_scroll_to),
3911 (hildon_pannable_area_jump_to),
3912 (hildon_pannable_area_scroll_to_child),
3913 (hildon_pannable_area_jump_to_child): Replace the mapped
3914 precondition of these functions with the realized, it is the
3915 correct state of the widget in this case. Changed the
3916 documentation according to this modification.
3918 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3920 Added a new EXTRA_CFLAGS option to add the deprecated define to
3921 the compilation command. This way we can avoid using the define in
3922 the documentation compilation.
3924 * configure.ac: Defined EXTRA_CFLAGS.
3926 * examples/Makefile.am:
3928 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
3930 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
3932 * src/hildon-picker-dialog.c:
3933 Defined a utility macro with the desired touch selector height
3934 Removed currently unused separator, and title_label variables from
3936 (hildon_picker_dialog_init): Removed code related to the creation
3937 of unused private variables title_label and separator.
3938 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
3939 to ensure correct visualization of the touch selector inside the dialog.
3940 * src/hildon-touch-selector.c
3941 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
3942 ensure a concrete height of the widget.
3944 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3947 * tests/Makefile.am:
3949 Remove spurious whitespaces.
3951 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3953 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
3954 compilation warning after the cancel button removal.
3956 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3958 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
3960 * configure.ac: Added an AM_CONDITIONAL in order to use in the
3961 Makefile.am, that way we can choose not to compile some examples
3962 and tests of the deprecated widgets.
3964 * examples/Makefile.am: Divided the sources in deprecated and
3967 * src/Makefile.am: Added undef statement of the deprecated
3968 symbol to the enums file generation process.
3970 * src/hildon-color-chooser-dialog.c
3971 * src/hildon-color-chooser-dialog.h
3972 * src/hildon-color-button.c
3973 * src/hildon-color-button.h
3974 * src/hildon-color-chooser.c
3975 * src/hildon-color-chooser.h
3976 * src/hildon-controlbar.c
3977 * src/hildon-controlbar.h
3978 * src/hildon-date-editor.c
3979 * src/hildon-date-editor.h
3980 * src/hildon-hvolumebar.c
3981 * src/hildon-hvolumebar.h
3982 * src/hildon-private.c
3983 * src/hildon-private.h
3984 * src/hildon-range-editor.c
3985 * src/hildon-range-editor.h
3986 * src/hildon-seekbar.c
3987 * src/hildon-seekbar.h
3988 * src/hildon-time-editor.c
3989 * src/hildon-time-editor.h
3990 * src/hildon-time-picker.c
3991 * src/hildon-time-picker.h
3992 * src/hildon-volumebar.c
3993 * src/hildon-volumebar.h
3994 * src/hildon-vvolumebar.c
3995 * src/hildon-vvolumebar.h
3996 * src/hildon-bread-crumb-trail.h
3997 * src/hildon-bread-crumb-trail.c
3998 * src/hildon-calendar-popup.c
3999 * src/hildon-calendar-popup.h
4000 * src/hildon-weekday-picker.c:
4001 * src/hildon-weekday-picker.h:
4002 * src/hildon-bread-crumb-widget.c:
4003 * src/hildon-bread-crumb-widget.h:
4004 * src/hildon-bread-crumb.c:
4005 * src/hildon-bread-crumb.h:
4006 * src/hildon-calendar.c:
4007 * src/hildon-calendar.h:
4008 * src/hildon-caption.c:
4009 * src/hildon-code-dialog.c:
4010 * src/hildon-code-dialog.h:
4011 * src/hildon-font-selection-dialog.c:
4012 * src/hildon-font-selection-dialog.h:
4013 * src/hildon-get-password-dialog.c:
4014 * src/hildon-get-password-dialog.h:
4015 * src/hildon-login-dialog.c:
4016 * src/hildon-login-dialog.h:
4017 * src/hildon-number-editor.c:
4018 * src/hildon-number-editor.h:
4019 * src/hildon-set-password-dialog.c:
4020 * src/hildon-set-password-dialog.h:
4021 * src/hildon-sort-dialog.c:
4022 * src/hildon-sort-dialog.h: This is the list of deprecated
4025 * src/hildon-touch-selector.c:
4026 * src/hildon-window.c: Added undef statement to avoid compilation
4029 * tests/Makefile.am: Divided the sources in deprecated and
4032 * tests/check_test.c,
4033 (configure_tests): Marked the deprecated code that was adding
4034 suites with deprecated tests.
4036 Fixes: NB#91135 (Deprecate legacy hildon widgets)
4038 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4040 * src/hildon-touch-selector.c: (_default_print_func): Do not
4041 duplicate a string returned by gtk_tree_model_get(), it is already
4044 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
4047 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4049 * src/hildon-pannable-area.c
4050 (hildon_pannable_area_add_with_viewport): Reviewed the complete
4051 method, it had problems when adding a widget with viewport the
4052 second time. Now checks if it already has a viewport and uses it.
4054 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
4057 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4059 * src/hildon-pannable-area.c,
4060 (hildon_pannable_area_scroll_to),
4061 (hildon_pannable_area_jump_to),
4062 (hildon_pannable_area_scroll_to_child),
4063 (hildon_pannable_area_jump_to_child): Added a precondition to the
4064 scroll and jump to functions: the widget must be mapped before we
4065 can safely call these functions. We have also added documentation
4066 to the functions to explain how to use them in this situation.
4069 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4071 Reviewed the threading handling of the pannable widget, we have
4072 used the gdk_threads_add_timeout function instead of the usual
4073 glib handlers. This avoids some problems with the threads.
4075 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
4076 (hildon_pannable_area_initial_effect),
4077 (hildon_pannable_area_scroll_indicator_fade),
4078 (hildon_pannable_area_button_press_cb),
4079 (hildon_pannable_area_timeout),
4080 (hildon_pannable_area_motion_notify_cb),
4081 (hildon_pannable_area_button_release_cb),
4082 (hildon_pannable_area_scroll_cb),
4083 (hildon_pannable_area_scroll_to): Removed the
4084 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
4085 gdk_threads_add_timeout.
4087 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
4089 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4094 * configure.ac: bump version
4095 * debian/changelog: updates
4097 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4099 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4100 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
4101 * src/hildon-color-chooser-dialog.c:
4102 (hildon_color_chooser_dialog_init):
4103 * src/hildon-font-selection-dialog.c:
4104 (hildon_font_selection_dialog_init):
4105 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
4107 Remove all cancel/close-like dialogs, as these are not going to be
4110 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4112 * src/hildon-note.c: (hildon_note_rebuild),
4113 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
4116 Fixes: NB#90661 (Delete dialog is displayed without NO button)
4118 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4120 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
4121 sure all buttons are shown, even the Cancel/Close-like ones.
4123 Fixes: NB#90861 (Custom Confirmation dialogs should be
4124 protected from cancel button removal)
4126 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4128 * debian/control: Change libhildon1-examples dependency from libhildon1
4130 * debian/libhildon1-examples.install
4132 * Makefile.am: Modified the final install directory for the examples on
4133 package libhildon1-examples
4134 * Makefile.static: Update clean target in order to remove all the binary
4137 Changes suggested by Claudio after review new libhildon1-examples package
4139 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
4141 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
4142 * src/hildon-touch-selector.c: Ditto.
4144 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4146 * debian/control: Added new package libhildon1-examples, in order to pack
4147 the current hildon examples as documentation
4148 * debian/rules: Not to compress .c files, modify some includes on the
4149 examples (as normally are compiled locally, but when installed it will
4150 require to include the installed libhildon1 library), and rename
4152 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
4153 install all the example files on the new example package
4154 * examples/Makefile.static: Added static makefile that can be used to
4155 compile the examples, once installed the new example package
4156 * examples: Most of the examples were modified in order to grant that
4157 all use only '#include "hildon.h"', in order to be easy to prepare
4158 it on the example package
4160 2008-10-23 Alberto Garcia <agarcia@igalia.com>
4163 * debian/libhildon1-dev.install
4164 * debian/libhildon1-doc.install:
4165 Move all gtk-doc files to a separate libhildon1-doc package.
4167 2008-10-23 Daniel Borgmann <danielb@openismus.com>
4169 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4171 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
4173 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
4175 * debian/rules: Fixed a error in order to avoid unnecessary calls
4176 to autogen.sh on package building
4178 2008-10-22 Alberto Garcia <agarcia@igalia.com>
4180 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
4182 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4184 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
4187 2008-10-21 Alberto Garcia <agarcia@igalia.com>
4189 * src/hildon-picker-button.c
4190 (hildon_picker_button_finalize):
4191 Free priv->done_button_text
4193 * src/hildon-time-button.c
4194 (hildon_time_button_set_time)
4195 * src/hildon-picker-button.c
4196 (hildon_picker_button_clicked)
4197 (hildon_picker_button_selector_selection_changed)
4198 (hildon_picker_button_set_selector)
4199 * src/hildon-date-button.c
4200 (hildon_date_button_set_date):
4201 Free strings returned by hildon_touch_selector_get_current_text()
4203 * src/hildon-button.c (hildon_button_construct_child):
4204 Fix leaks in priv->image and priv->label_box
4206 Fixes: NB#90535 (Memory leak in picker button)
4208 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4210 * src/hildon-button.c: (hildon_button_get_property): Do not access
4211 private elements directly, use getters instead.
4213 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4215 * src/hildon-app-menu-private.h
4216 * src/hildon-app-menu.c
4217 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
4218 Store the menu's parent window.
4220 * src/hildon-stackable-window.c
4221 (hildon_stackable_window_toggle_menu)
4222 (hildon_stackable_window_finalize):
4223 Set the menu's parent window when the menu is shown, unset it when
4226 * src/hildon-app-menu.c
4227 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
4228 (hildon_app_menu_class_init):
4229 Send unhandled keyboard accelerators to the parent window.
4231 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4233 * src/hildon-stackable-window.c
4234 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
4236 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4238 * configure.ac: post release version bump
4240 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4243 * configure.ac: Bump version
4244 * debian/changelog: Updates
4245 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
4248 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4250 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4253 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
4254 GtkMenu with Hildon style.
4256 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4258 * src/hildon-picker-button.c:
4259 (hildon_picker_button_set_done_button_text): Set the dialog's
4260 done button text here as well.
4262 Fixes: NB#90232 (Picker button does not set the label on done button
4263 for the second time)
4265 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4267 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
4270 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4272 * src/hildon-app-menu.c (hildon_app_menu_insert)
4273 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
4274 the HildonAppMenu to be activatable using keyboard accelerators
4275 when the menu is not being shown.
4277 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
4279 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4281 * src/hildon-stackable-window.c
4282 (hildon_stackable_window_show):
4283 Don't hide old windows automatically when new windows are shown:
4284 this is now a task for the window manager.
4285 (hildon_stackable_window_class_init)
4286 (hildon_stackable_window_hide):
4287 Remove windows from the stack everytime they're hidden.
4288 (hildon_stackable_window_realize):
4289 Don't change the _NET_WM_WINDOW_TYPE property. Use
4290 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
4291 it as a stackable window.
4293 * src/hildon-program.c
4294 (hildon_program_pop_window_stack):
4295 Just hide the window to remove it from the stack.
4296 (hildon_program_go_to_root_window):
4297 Don't call gtk_widget_show(), this is now a task for the window
4300 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
4302 2008-10-15 Alberto Garcia <agarcia@igalia.com>
4304 * src/hildon-button.c
4305 (hildon_button_construct_child):
4306 Don't pack anything in the button until text or image are
4307 set. This allows adding a custom child after creating the button
4308 with hildon_button_new().
4309 (hildon_button_finalize, hildon_button_class_init)
4310 (hildon_button_init, hildon_button_set_arrangement): Destroy the
4311 alignment and the label box even when they're not packed in the
4314 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
4316 * src/hildon-touch-selector.h:
4317 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
4318 currently the type definition was using GTK_TYPE_VBOX
4319 * src/hildon-touch-selector.c:
4320 Added some implementation notes in order to clarify that any other widget
4321 added without the column related API will not be included on the
4322 selection logic, and how the widget is freed, as some people ask about
4324 (hildon_touch_selector_remove): Reimplemented in order to free properly
4325 the column related data when you remove the private hbox.
4326 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
4327 to get a proper HildonTouchSelectorColumn documentation
4329 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4331 * src/hildon-touch-selector-entry.c:
4332 (hildon_touch_selector_entry_print_func): Return NULL if there is no
4333 text in the GtkEntry and there is no item selected. Fixes a
4336 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4338 * src/hildon-app-menu-private.h
4339 * src/hildon-app-menu.[ch]
4340 * src/hildon-button.[ch]
4341 * src/hildon-check-button.[ch]
4342 * src/hildon-entry.[ch]
4343 * src/hildon-pannable-area.[ch]
4344 * src/hildon-text-view.[ch]:
4345 Added private field to the object's structure.
4347 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4349 * configure.ac: post-release version bump
4351 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4355 * configure.ac: pre-release version bump
4357 * debian/changelog: updates.
4359 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4361 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
4362 Disconnect the handler for HildonTouchSelector::changed.
4364 (hildon_picker_button_selector_selection_changed): Update the button
4365 value if the selection change was not triggered by the
4368 (hildon_picker_button_set_selector): connect to
4369 HildonTouchSelector::changed.
4371 Fixes: NB#89650 (Picker button is not updated, when selection in
4372 selector has changed)
4374 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
4376 * src/hildon-picker-dialog.c
4377 (hildon_picker_dialog_realize): Removed as not required
4378 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
4379 * src/hildon-picker-button.c
4380 (_current_selector_empty): New function, checks if the selector is empty
4381 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
4382 if the current selector is empty, in order to avoid to show the dialog
4383 close the dialog in this case (and shows a g_warning).
4385 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
4387 2008-10-09 Alejandro G. Castro <alex@igalia.com>
4389 * src/hildon-pannable-area.c,
4390 (hildon_pannable_area_scroll): Added clause to stop movement when
4391 the child of pannable is smaller than one page.
4392 (hildon_pannable_area_scroll_to): Added conditions to avoid
4393 starting the scrolling movement if the child is smaller than one
4394 page, the complete child is in the screen, we do not have to move.
4396 Fixes: NB#89632 (Picker button selection doesn't change on first click)
4398 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4400 * src/hildon-app-menu.c: Removed the 'columns' property, as now
4401 this is managed automatically by the widget when the size of the
4404 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4406 * src/hildon-picker-button.c
4407 (hildon_picker_button_set_done_button_text): Make a copy of the
4408 text, and free the previous value.
4410 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4412 * src/hildon-touch-selector-entry.c:
4413 (hildon_touch_selector_entry_print_func): Return the selected row's
4414 text if the entry is empty.
4416 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
4419 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4421 * src/hildon-touch-selector-entry.c: Minor docs fixes.
4423 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4426 * src/hildon-check-button.h
4427 * src/hildon-check-button.c
4428 * examples/hildon-check-button-example.c:
4429 HildonCheckButton is now a new widget. 'toggled' signal added.
4431 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4433 * src/hildon-program-private.h
4434 * src/hildon-program.c (hildon_program_init)
4435 (hildon_program_finalize): Removed unused variables group_leader
4436 and name from HildonProgramPrivate.
4438 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4440 * src/hildon-check-button.c (hildon_check_button_set_active)
4441 (hildon_check_button_get_active, hildon_check_button_new): Use
4442 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
4444 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
4446 * src/hildon-touch-selector.h
4447 (hildon_touch_selector_set_column_attributes): added deprecation
4448 guard HILDON_DISABLE_DEPRECATED
4449 * src/hildon-time-selector.c
4450 (hildon_time_selector_set_time)
4451 (hildon_time_selector_get_time): Fixed a typo on documentation
4452 * src/hildon-touch-selector.c: update HildonTouchSelector and
4453 HildonTouchSelectorColumn documentation
4454 * src/hildon-touch-selector-entry.c: update "text-column" property
4456 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
4457 to be added to the general documentation.
4459 2008-10-08 Alejandro G. Castro <alex@igalia.com>
4461 * examples/hildon-pannable-area-example-4.c,
4463 * examples/hildon-pannable-area-example.c,
4464 (main): Modified the code in order to use the container add, with
4465 viewport treeviews could have problems if they are really big.
4467 2008-10-06 Alejandro G. Castro <alex@igalia.com>
4469 * src/hildon-weekday-picker.c,
4470 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
4471 the agreement regarding deprecation in the library.
4473 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4475 * examples/hildon-picker-button-multicolumn-example.c:
4476 (main): Use custom "done" button text.
4478 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4479 (hildon_picker_button_set_property),
4480 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4481 (hildon_picker_button_init),
4482 (+hildon_picker_button_get_done_button_text),
4483 (+hildon_picker_button_set_done_button_text): New methods to customize
4484 the "done" button label in the launched HildonPickerDialog. Also,
4487 * src/hildon-picker-button.h: add the public API.
4489 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4491 * src/hildon-date-selector.h:
4492 * src/hildon-picker-dialog.h:
4493 * src/hildon-time-selector.h:
4494 * src/hildon-touch-selector-column.h:
4495 * src/hildon-touch-selector.h:
4497 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
4498 declarations. Fixes gtk-doc warnings.
4500 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4502 * src/hildon-picker-dialog.h
4503 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
4504 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
4506 Fixes: NB#89329 (selectors in picker dialog are not visible when a
4507 long text is set as label for done button)
4509 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4511 * src/hildon-dialog.c (hildon_dialog_add_button):
4512 Set fixed width to all buttons in the HildonDialog.
4514 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4516 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4518 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
4519 Set widget name using class name plus "-finger" or "-thumb".
4521 2008-10-03 Alberto Garcia <agarcia@igalia.com>
4523 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
4524 'clicked' when the state of the button is manually changed.
4526 2008-10-02 Alberto Garcia <agarcia@igalia.com>
4528 * src/hildon-app-menu.c (hildon_app_menu_realize)
4529 (hildon_app_menu_unrealize, hildon_app_menu_init)
4530 (hildon_app_menu_class_init, item_visibility_changed):
4531 Change the menu layout when the size of the screen changes.
4532 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
4533 Show warning only when changing the number of colums using the
4536 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
4538 * debian/compat: Set to 5
4539 * debian/control: Update dependencies.
4540 * debian/libhildon1-dbg.install: Remove.
4541 * debian/libhildon1-dev.install: Update according to cdbs paths.
4542 * debian/libhildon1.install: Update according to cdbs paths.
4543 * debian/rules: Switch to cdbs.
4545 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4547 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
4548 'item' variable renamed to 'filter'
4550 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4552 * src/hildon-app-menu.c (hildon_app_menu_insert)
4553 (hildon_app_menu_add_filter, remove_item_from_list)
4554 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
4555 Don't leak hidden items when the menu is destroyed.
4557 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4559 * src/hildon-app-menu.c (hildon_app_menu_insert)
4560 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
4561 (hildon_app_menu_set_columns, item_visibility_changed)
4562 (filter_visibility_changed, hildon_app_menu_repack_filters)
4563 (hildon_app_menu_repack_items):
4564 Repack items and filters separately.
4566 Don't repack all items, change only the ones that are needed to
4569 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4571 * src/Makefile.am: added hildon-touch-selector-column.h
4573 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4575 * src/hildon-touch-selector.c: added the property "text-column" to the
4576 class HildonTouchSelectorColumn, and related get/set functions
4577 (_default_printf_func): updated to use "text-column" property
4578 * src/hildon-touch-selector-entry.c: mark as deprecated the property
4579 "text-column" in his documentation, as this is now included on
4580 HildonTouchSelectorColumn. The get/set_property can still be used,
4581 working as a wrapper to the concrete column "text-column" property
4582 (_text_column_modified): callback added in order to handle the signal
4583 "notify::text-column" of the concrete HildonTouchSelectorColumn
4584 (hildon_touch_selector_entry_get_text_column)
4585 (hildon_touch_selector_entry_set_text_column): Added documentation, and
4586 modified in order to use the HildonTouchSelectorColumn "text-column"
4588 * src/hildon-time-selector.c:
4589 * src/hildon-date-selector.c:
4590 * examples/hildon-touch-selector-example.c
4591 * examples/hildon-touch-selector-multi-cells-example.c
4592 * examples/hildon-picker-button-multicolumn-example.c
4593 Set the right value to "text-column" property on the creation of a new
4594 column using hildon_touch_selector_append_column()
4596 Fixes: NB#88644 (Hardcoded first column of the model as text column)
4598 2008-09-30 Alberto Garcia <agarcia@igalia.com>
4600 * src/hildon-app-menu.c
4601 (hildon_app_menu_construct_child, hildon_app_menu_init): When
4602 updating the layout of the menu, don't create all widgets again,
4603 just repack the items in their new places.
4605 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
4607 * src/hildon-time-selector.c
4608 (hildon_time_selector_get_time)
4609 (hildon_time_selector_set_time)
4610 Added documentation of these public methods
4612 * src/hildon-date-button.h
4613 * src/hildon-touch-selector-column.h
4614 * src/hildon-time-button.h
4615 * src/hildon-picker-dialog.h
4616 * src/hildon-time-selector.h
4617 * src/hildon-picker-button.h
4618 * src/hildon-touch-selector.h
4619 * src/hildon-time-picker.h
4620 * src/hildon-date-selector.h
4621 * src/hildon-touch-selector-entry.h
4622 Modified in order to use hildon-widgets code style
4624 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4626 Added deprecated support to the compilation process using
4627 HILDON_DISABLE_DEPRECATED
4629 * configure.ac: Added the --disable-deprecated to the configure
4632 * src/hildon-weekday-picker.c:
4633 * src/hildon-weekday-picker.h: Deprecated widget, example of how
4634 to use the deprecated support. We will update the other deprecated
4635 widgets status in a new patch.
4637 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4639 * configure.ac: Fixed typo with fatal warnings support, the
4640 variable name was not correct
4642 2008-09-29 Alberto Garcia <agarcia@igalia.com>
4644 * src/hildon-app-menu.c
4645 * src/hildon-program.c: Update documentation.
4647 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4649 * configure.ac: Post-release version bump.
4651 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4656 * configure.ac: Pre-release version bump.
4657 * debian/changelog: Updates.
4659 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4661 * NEWS: Update news for previous releases.
4663 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4665 * examples/hildon-touch-selector-multi-cells-example.c:
4666 (create_selector): Update the example to use
4667 hildon_touch_selector_append_column() with a NULL renderer and set
4668 the renderers later.
4669 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
4670 passed a NULL renderer. This is documented behavior now.
4672 Allow passing a NULL renderer to hildon_touch_selector_append_column().
4673 This must be used if the developer wants full control on the layout of
4674 the renderers to be added to the column.
4676 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4678 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4680 * src/hildon-touch-selector.c: Documentation fixes.
4682 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4684 * src/hildon-wizard-dialog-private.h: Remove image and box.
4685 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
4686 (hildon_wizard_dialog_set_property), (response): Completely remove
4687 image/icon support, and the containers required for the layout.
4689 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
4691 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4693 * src/hildon-app-menu.c: Updated documentation.
4695 * src/hildon-stackable-window.c
4696 (hildon_stackable_window_set_main_menu): Unref the old menu after
4697 ref'ing the new one.
4699 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4701 * src/hildon-stackable-window.c
4702 (hildon_stackable_window_set_main_menu): Unref the previous menu
4703 instead of destroying it.
4705 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
4706 floating reference and set has_user_ref_count to FALSE to make
4707 HildonAppMenu act like a normal ref-counted widget and not a
4710 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
4713 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
4715 * src/hildon-touch-selector-column.h: new file
4716 * src/hildon-touch-selector.h
4717 * src/hildon-touch-selector.c
4718 Implemented GtkCellLayout interface, in order to allow to configure
4719 the cell layout on each individual selector column
4720 (hildon_touch_selector_set_column_attributes): marked as deprecated
4721 * examples/hildon-touch-selector-multi-cells-example.c
4722 Example of how to use the GtkCellLayout interface on the selector
4724 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4726 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4728 * src/hildon-app-menu.h
4729 * src/hildon-app-menu.c
4730 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
4731 (hildon_app_menu_append, hildon_app_menu_prepend):
4732 New methods to prepend, insert and move items in the menu.
4734 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4736 * src/hildon-wizard-dialog.c:
4738 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
4740 (create_title): Update logical IDs and related code.
4741 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
4743 * src/hildon-wizard-dialog.h: Note that
4744 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
4745 point, as it is not used anymore.
4747 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
4749 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4751 * src/hildon-note.c:
4752 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
4753 shown. Do not display an icon in confirmation notes nor information
4755 (hildon_note_set_button_text): Update logical ID for cancel button.
4757 Fixes: NB#88850 (Update HildonNote button strings + signals)
4759 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4761 * src/hildon-stackable-window.c
4762 (hildon_stackable_window_set_main_menu): Fix compilation warning.
4764 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4766 * src/hildon-app-menu-private.h
4767 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
4768 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
4769 (hildon_app_menu_init, hildon_app_menu_class_init): Added
4770 temporary property 'columns' to change the number of columns.
4772 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4774 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
4776 * examples/hildon-note-example.c: (on_information_clicked),
4777 (on_confirmation_clicked), (on_progress_clicked), (main): Add
4778 debugging information.
4779 * src/hildon-note-private.h: Remove close_if_pressed_outside,
4781 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
4782 (hildon_note_rebuild): Remove special handling of tapping outside/inside
4783 in order to close: this will be handled by the WM from now on.
4785 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
4787 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4789 * src/hildon-app-menu-private.h
4790 * src/hildon-app-menu.c
4791 (hildon_app_menu_append, hildon_app_menu_add_filter)
4792 (button_visibility_changed, hildon_app_menu_apply_style)
4793 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
4794 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
4795 layout everytime a button (item or filter) is shown or hidden.
4797 * src/hildon-stackable-window.c
4798 (hildon_stackable_window_set_main_menu): Destroy the old menu when
4801 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
4803 * src/hildon-touch-selector.c:
4804 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
4805 that the treeview inside the touch selector is in fremantle hildon mode
4806 * examples/hildon-date-button-example.c
4807 * examples/hildon-picker-button-multicolumn-example.c
4808 * examples/hildon-touch-selector-entry-example.c
4809 * examples/hildon-touch-selector-example.c
4810 * examples/hildon-time-button-example.c
4811 * examples/hildon-picker-button-example.c:
4812 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
4814 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
4816 * examples/hildon-text-view-example.c: (main): Remove the
4817 gtkrc bits, now handled by the theme.
4819 2008-09-22 Alberto Garcia <agarcia@igalia.com>
4821 * src/hildon-picker-button.c (hildon_picker_button_set_active):
4824 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4826 * po/Makefile.am: Install properly the mo files.
4827 * po/en_GB.po: Update translation, to ease testing purposes.
4829 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4831 * examples/hildon-picker-button-example.c: (main): Select an item
4832 in the selector before setting it to the button.
4834 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4836 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
4837 Update button's value if the selector has an item active.
4839 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
4840 'value' with the selector)
4842 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4844 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
4845 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
4846 (hildon_picker_button_class_init): Plug the finalize method.
4847 (hildon_picker_button_set_selector): If there's a previously set
4848 selector, unref'it before setting a new one.
4850 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
4851 HildonTouchSelector)
4853 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
4855 * src/hildon-touch-selector-entry.c:
4856 (hildon_touch_selector_entry_changed): Check if there is no text
4857 selected before setting the entry text.
4860 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4862 * src/hildon-touch-selector.h
4863 * src/hildon-touch-selector.c
4864 (hildon_touch_selector_get_active)
4865 (hildon_touch_selector_set_active): New methods to set/get the
4866 index of the selected item.
4868 * src/hildon-picker-button.h
4869 * src/hildon-picker-button.c
4870 (hildon_picker_button_get_active)
4871 (hildon_picker_button_set_active): New methods to set/get the
4872 index of the selected item.
4874 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4876 * configure.ac: post-release version bump.
4878 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4882 * configure.ac: Pre-release version bump.
4883 * debian/changelog: Updates.
4884 * debian/control: Add myself as maintainer and depend on l10n
4887 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4889 * src/hildon-window.c
4890 (hildon_window_set_main_menu)
4891 * src/hildon-stackable-window.c
4892 (hildon_stackable_window_set_main_menu):
4893 Updated documentation.
4895 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4897 * src/hildon-date-selector.c (hildon_date_selector_finalize):
4898 Don't free selector->priv manually.
4901 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4904 (hildon_gtk_window_set_progress_indicator):
4905 * src/hildon-gtk.h: Added the new API
4906 hildon_gtk_window_set_progress_indicator, it changes the state of
4907 the window progress hint.
4909 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4911 * src/hildon-button.c
4912 * src/hildon-stackable-window.c: Minor documentation updates.
4914 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4916 * src/hildon-stackable-window.c: Updated documentation.
4918 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
4920 * src/hildon-defines.h: Update margins definitions
4921 to the Fremantle sizes.
4924 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4926 * src/hildon-touch-selector.c,
4927 (_hildon_touch_selector_set_model): Cleaning the code after
4928 review, removed g_print and #if 0 from the code.
4930 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4932 * src/hildon-edit-toolbar.c: Update documentation.
4934 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4936 * src/hildon-check-button.h
4937 * src/hildon-check-button.c
4938 (hildon_check_button_set_label, hildon_check_button_get_label)
4939 * examples/hildon-check-button-example.c
4940 (button_clicked_cb):
4941 Removed deprecated methods.
4943 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4945 * src/hildon-text-view.c:
4946 Add sample code to the documentation.
4948 * src/hildon-entry.h
4949 * src/hildon-text-view.h:
4950 Minor cosmetic changes.
4952 * src/hildon-entry.c:
4953 Add sample code to the documentation.
4954 (hildon_entry_init, hildon_entry_refresh_contents):
4955 Don't allow NULL values in the placeholder.
4957 2008-09-10 Alberto Garcia <agarcia@igalia.com>
4959 * doc/hildon-docs.sgml
4961 * examples/Makefile.am
4962 * examples/hildon-text-view-example.c
4964 * src/hildon-text-view.c
4965 * src/hildon-text-view.h
4967 New HildonTextView widget, with example.
4969 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4971 * po/POTFILES.in: Add missing files with translatable strings.
4972 Partially fixes NB#88287.
4974 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4976 * examples/hildon-pannable-area-example-2.c: (main): No need to
4977 set the cellrenderer height inside hildon touch lists, the theme does
4980 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4982 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
4983 they are integrated in the theme.
4985 2008-09-09 Alberto Garcia <agarcia@igalia.com>
4987 * examples/hildon-entry-example.c: Update the example adding
4988 widgets to modify the text and the placeholder of the HildonEntry.
4990 * src/hildon-entry.c: Show the placeholder everytime the widget
4991 is empty and loses the focus.
4993 2008-09-09 Alejandro G. Castro <alex@igalia.com>
4995 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
4997 * src/hildon-pannable-area.c,
4998 (hildon_pannable_area_size_request): Fixed bug in height
4999 requisition, avoid increasing size and add border twice.
5001 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5003 * configure.ac: postrelease version bump.
5005 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5009 * configure.ac: Prerelease version bump.
5010 * debian/changelog: update.
5011 * debian/rules: make -dbg package contain useful debugging symbols.
5013 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5015 * src/hildon-dialog.h
5016 * src/hildon-dialog.c
5017 (hildon_dialog_add_button, hildon_dialog_add_buttons):
5018 New methods to add buttons with finger size.
5019 (hildon_dialog_new_with_buttons):
5020 Create buttons with finger size.
5022 * examples/hildon-dialog-example.c (main): Use HildonDialog
5023 methods to add buttons.
5025 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5027 * src/hildon-entry.c: Updated HildonButton documentation.
5029 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5031 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
5032 button value label with (FALSE, FALSE) to prevent NB#88126 from
5035 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5037 * examples/hildon-pannable-area-example.c,
5038 (main): Removed examples panning a vbox inside a pannable
5039 area. Check bug NB#87965
5041 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5043 Patch contributed by Kris Rietveld (kris@imendio.com)
5045 * src/hildon-pannable-area.c,
5046 (hildon_pannable_area_get_topmost): replaced the get_geometry with
5047 get_size and get_position, this saves an X server roundtrip.
5049 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5051 * doc/hildon-docs.sgml
5053 * examples/Makefile.am
5054 * examples/hildon-entry-example.c
5056 * src/hildon-entry.c
5057 * src/hildon-entry.h
5059 New HildonEntry widget, with example.
5061 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5063 * src/hildon-button.c (hildon_button_construct_child): Pack the
5064 image with expand == fill == FALSE. This is a workaround for a bug
5067 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
5069 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
5070 labels for the text column, to make it more look more dynamic.
5072 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5074 * src/hildon-time-selector.c
5075 Define gettext auxiliar macro N_
5076 (_create_minutes_model)
5077 (_create_hours_model)
5078 (_create_ampm_model): use of strftime in order to fill the model
5079 * src/hildon-date-selector.c
5080 (hildon_date_selector_finalize):
5081 (_locales_init): remove the logic related to get the name of the months
5082 using nl_langinfo, as it is not required anymore
5084 (_create_year_model)
5085 (_create_month_model)
5086 (_update_day_model): use of strftime in order to fill the model properly
5089 2008-09-04 Alberto Garcia <agarcia@igalia.com>
5091 * src/hildon-button.h
5092 * src/hildon-button.c (hildon_button_get_image): New method to
5095 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
5097 * src/hildon-touch-selector.c:
5098 (hildon_touch_selector_remove_column): Remove from the correct parent
5099 and also remove the list element and free it.
5102 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5104 * src/hildon-time-selector.c
5105 (_create_hours_model): change the range on 12h ampm format in order to use
5106 a 12-11 range instead of previous 01-12 range
5107 (hildon_time_selector_set_time): change the way to select the current time
5108 on 12h ampm format, due the change on the range
5109 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
5112 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
5114 * src/hildon-touch-selector.c
5115 (hildon_date_touch_selector_get_selected): fix the selection mode check,
5116 in order to allow use this function on multiple row selection mode if
5117 the column is different that the first one
5120 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
5122 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
5123 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
5125 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5127 * src/hildon-date-selector.h: clean some comments, now on the .c
5128 * src/hildon-date-selector.c
5129 (hildon_date_selector_select_month): first implementation
5130 (hildon_date_selector_select_day): added documentation, reimplemented
5131 using hildon_date_selector_select_current_date to avoid repeat code
5134 2008-09-02 Alejandro G. Castro <alex@igalia.com>
5136 Reviewed interaction logic based on device experiences, refactored
5139 * src/hildon-pannable-area.c,
5140 (hildon_pannable_area_class_init): Updated default vmax speed.
5141 (hildon_pannable_area_calculate_velocity): Added this function, it
5142 avoids duplicate valocity calculation. Adjusted calculation to
5143 avoid problems with zero dist events.
5145 (hildon_pannable_area_motion_notify_cb): Now we use the
5146 calculate_velocity function.
5148 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5150 * src/hildon-date-selector.c
5151 (hildon_date_selector_select_current_date): fix the day range check
5152 as it failed using the last day of the current month
5155 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5157 * src/hildon-touch-selector.c
5158 (hildon_touch_selector_get_num_columns): added a parameter validation
5161 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5163 * examples/Makefile.am
5164 * examples/hildon-edit-toolbar-example.c: Example of the
5165 HildonEditToolbar widget.
5167 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5169 * configure.ac: postrelease version bump.
5171 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5175 * configure.ac: prerelease version bump.
5176 * debian/changelog: update.
5178 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5180 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
5181 renderer to display stock icons in the touch list. Also, set the sizes
5182 to the recommended in the style guide.
5184 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5185 * src/hildon-touch-selector.h
5186 (hildon_touch_selector_set_active_iter): renamed, now is
5187 hildon_touch_selector_select_iter
5188 (hildon_touch_selector_get_active_iter): renamed, now is
5189 hildon_touch_selector_get_selected
5190 (hildon_touch_selector_unselect_iter): added
5191 * src/hildon-touch-selector.c
5192 Update after API modification (methods renamed)
5193 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
5194 order to avoid problems selecting multiple elements on the column
5195 (hildon_touch_selector_unselect_iter): added the implementation
5196 * src/hildon-time-selector.c
5197 * src/hildon-date-selector.c
5198 * src/hildon-touch-selector-entry.c
5199 Update methods calls after hildon-touch-selector.h API modification (methods
5202 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5204 * src/hildon-stackable-window.c
5205 (hildon_stackable_window_finalize): Call the parent class's finalize.
5207 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5209 * examples/hildon-touch-selector-example.c: (create_selector): Use
5210 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
5213 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5215 * examples/hildon-touch-selector-example.c: (create_selector): Do not
5216 set a cell background color, to respect theming.
5218 2008-08-28 Alberto Garcia <agarcia@igalia.com>
5220 * doc/hildon-docs.sgml
5223 * src/hildon-edit-toolbar.c
5224 * src/hildon-edit-toolbar.h
5225 * src/hildon.h: New HildonEditToolbar widget.
5227 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
5229 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
5232 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5233 * src/hildon-touch-selector.c
5234 (_create_new_column): use g_object_set instead of two g_object_set_property
5236 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5237 * src/hildon-touch-selector.c
5238 (_create_new_column): use of hildon_gtk_tree_view_new to create
5239 the treeview, instead of use directly g_object_new
5240 (_create_new_column): update the property name "vindicator-mode" for the
5241 new one "vscrollbar-policy"
5242 * examples/hildon-date-button-example.c
5243 * examples/hildon-picker-button-multicolumn-example.c
5244 * examples/hildon-touch-selector-entry-example.c
5245 * examples/hildon-touch-selector-example.c
5246 * examples/hildon-time-button-example.c
5247 * examples/hildon-picker-button-example.c
5248 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
5249 to all the treeviews inside a pannable area.
5251 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5253 * src/hildon-button.h
5254 * src/hildon-button.c (hildon_button_init)
5255 (hildon_button_set_arrangement, hildon_button_set_alignment)
5256 (hildon_button_set_title_alignment)
5257 (hildon_button_set_value_alignment)
5258 (hildon_button_set_image_alignment)
5259 (hildon_button_construct_child): New methods to set the alignment
5260 of the individual components of the button (title, value,
5261 image). Also, new method to alter the xscale and yscale properties
5262 of the GtkAlignment inside the button, so more complex layouts can
5265 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5267 * src/hildon-button.c (hildon_button_style_set)
5268 (hildon_button_class_init, hildon_button_set_arrangement)
5269 (hildon_button_construct_child): Apply style properties
5270 correctly. Use the 'image-spacing' style property too.
5272 2008-08-26 Alberto Garcia <agarcia@igalia.com>
5274 * src/hildon-app-menu.c (hildon_app_menu_style_set)
5275 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
5278 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5280 * src/hildon-pannable-area.c,
5281 (hildon_pannable_area_size_request): Fixed problem with
5282 pannable-area size_request.
5284 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5286 Added management for the grab-focus to a child widget, like a
5287 range, we need to fade out the scrollbar when releasing.
5289 * src/hildon-pannable-area.c,
5290 (hildon_pannable_area_init): Connected the grab-focus signal to
5292 (hildon_pannable_area_grab_notify): Added this function in order
5293 to manage the situation when the grab-focus ends. We have to
5294 fade-out the scrollbar.
5296 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5298 * src/hildon-app-menu.c: Minor documentation update.
5300 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5302 * src/hildon-app-menu.c
5303 * examples/hildon-app-menu-example.c (create_menu): Update
5304 examples and documentation to explain how to connect callbacks.
5306 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
5308 * examples/hildon-button-example.c
5309 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
5310 hildon_stackable_window_new instead of gtk_window_new
5312 2008-08-22 Alejandro G. Castro <alex@igalia.com>
5314 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
5315 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
5316 (hildon_pannable_area_set_property),
5317 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
5318 (hildon_pannable_area_unrealize),
5319 (hildon_pannable_area_size_request),
5320 (hildon_pannable_area_size_allocate),
5321 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
5322 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
5323 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
5324 (hildon_pannable_area_initial_effect),
5325 (hildon_pannable_area_redraw),
5326 (hildon_pannable_area_scroll_indicator_fade),
5327 (hildon_pannable_area_expose_event),
5328 (hildon_pannable_area_get_topmost), (synth_crossing),
5329 (hildon_pannable_area_button_press_cb),
5330 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
5331 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
5332 (hildon_pannable_area_motion_notify_cb),
5333 (hildon_pannable_area_button_release_cb),
5334 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
5335 (hildon_pannable_area_remove),
5336 (hildon_pannable_calculate_vel_factor): Widget refactorization,
5337 chage the code layout to a more GtkWidget like. Review the use of
5340 2008-08-21 Alejandro G. Castro <alex@igalia.com>
5342 * examples/hildon-pannable-area-example-4.c,
5343 (main): Modified the name of the hindicator_mode to
5346 * src/hildon-pannable-area.c,
5347 (hildon_pannable_area_class_init),
5348 (hildon_pannable_area_motion_notify_cb),
5349 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
5350 we have reduced the amount of signals and managed reviewed its
5351 rationale. Changed the default decelerate value.
5353 (hildon_pannable_area_add),
5354 (hildon_pannable_area_redraw): Refactored functions.
5356 (hildon_pannable_area_init),
5357 (hildon_pannable_area_get_property),
5358 (hildon_pannable_area_set_property):
5359 (hildon_pannable_draw_vscroll),
5360 (hildon_pannable_draw_hscroll),
5361 (hildon_pannable_area_initial_effect),
5362 (hildon_pannable_area_expose_event),
5363 (hildon_pannable_area_scroll),
5364 (hildon_pannable_area_button_press_cb),
5365 (hildon_pannable_area_realize): Replaced the names hindicator_mode
5366 and vindicator_mode with hscrollbar_policy and
5367 vscrollbar_policy. Replaced hscroll and vscroll with
5368 hscroll_visible and vscroll_visible.
5370 (hildon_pannable_area_refresh): Refactor the function, remove
5371 variables and check the calls to this function, added resize
5372 conditions in case the children change their layout.
5374 (hildon_pannable_area_size_request): Added more detailed
5375 size_request calculation.
5378 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
5380 * src/hildon-color-chooser.c
5381 (init_borders): use the correct gtk_border_free instead of g_free, to
5382 avoid a crash when this widget is used (ie: the three color selection
5385 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5387 * src/hildon-check-button.c,
5388 (hildon_check_button_set_active): Fixed problem when setting the
5389 active value, the widget was not redrawn.
5391 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5393 * src/hildon-pannable-area.c,
5394 (hildon_pannable_area_refresh),
5395 (hildon_pannable_area_scroll),
5396 (hildon_pannable_area_motion_notify_cb): Small code style change.
5398 (hildon_pannable_area_class_init): Default initial_hint set to
5399 FALSE, it is not in the specs.
5401 (hildon_pannable_area_initial_effect),
5402 (hildon_pannable_area_expose_event),
5403 (hildon_pannable_area_map),
5404 (hildon_pannable_area_init): Moved the launching point of the
5405 initial effect, it was in map but the sizes where not correct in
5406 that method so we do not know if we have the reproduce it. Now it
5407 is placed in the expose_event method and uses a variable to
5408 reproduce it just once.
5410 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5412 * src/hildon-pannable-area.c,
5413 (hildon_pannable_draw_vscroll),
5414 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
5415 position allowed for the scrollbars.
5417 (hildon_pannable_area_size_allocate): Small style change.
5419 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5421 * src/hildon-pannable-area.c,
5422 (hildon_pannable_area_scroll_indicator_fade),
5423 (hildon_pannable_area_button_press_cb),
5424 (hildon_pannable_area_button_release_cb),
5425 (hildon_pannable_area_scroll_cb),
5426 (hildon_pannable_area_expose_event),
5427 (hildon_pannable_area_init): Added the define parameter
5428 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
5429 and refactor the fade variable.
5431 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5433 * src/hildon-pannable-area.c,
5434 (hildon_pannable_area_redraw),
5435 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
5436 lines, we were reimplemeting the redraw code.
5438 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5440 * src/hildon-pannable-area.c,
5441 (hildon_pannable_area_scroll_cb),
5442 (hildon_pannable_area_realize),
5443 (hildon_pannable_area_class_init): Added scroll_event management
5444 for pannable area, now we can scroll the usual desktop method.
5446 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
5447 initialization of the parameters should depend on idle_id.
5449 (hildon_pannable_area_init),
5450 (hildon_pannable_area_map): Small code style modifications
5452 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5454 * src/hildon-pannable-area.c
5455 (hildon_pannable_area_button_press_cb),
5456 (hildon_pannable_area_motion_notify_cb),
5457 (hildon_pannable_area_button_release_cb),
5458 (hildon_pannable_area_size_allocate),
5459 (hildon_pannable_area_scroll_to): Improved the timeouts
5460 management, we avoid creating them each time.
5462 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5464 * src/hildon-pannable-area.c:
5465 (hildon_pannable_area_refresh),
5466 (hildon_pannable_area_motion_notify_cb),
5467 (hildon_pannable_area_class_init):
5468 * src/hildon-pannable-area.h:
5469 * src/hildon-touch-selector.c
5470 (_create_new_column):
5471 * examples/hildon-pannable-area-example-4.c:
5472 (horizontal_movement),
5473 (vertical_movement),
5475 Replaced the names of enums in the HildonPannableArea:
5476 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
5477 HILDON_MOVEMENT_MODE_*
5478 - HILDON_PANNABLE_AREA_MOV_* ->
5480 - Removed HildonPannableAreaIndicatorMode, now we
5483 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5485 * examples/hildon-pannable-area-touch-grid-example.c
5486 * examples/hildon-pannable-area-touch-list-example.c: Fix
5487 compilation warnings.
5489 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5491 * src/hildon-gtk.c (hildon_gtk_button_new)
5492 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
5493 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
5494 images overriding the value of the "gtk-button-images" setting.
5496 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5498 * src/hildon-check-button.c (hildon_check_button_new):
5499 Instead of using a custom container, display the label and the
5500 checkbox using the standard GtkButton API.
5502 * examples/hildon-check-button-example.c (main): Don't use
5503 hildon_check_button_set_label() anymore
5505 * src/hildon-check-button.h
5506 * src/hildon-check-button.c
5507 (hildon_check_button_set_label, hildon_check_button_get_label):
5508 Set as deprecated, now we're using gtk_button_{get,set}_label()
5510 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5512 * src/hildon-pannable-area.c,
5513 (hildon_pannable_area_get_topmost): Fixed bug with click in the
5514 GtkTreeview first line we detected it after the inclusion of the
5515 GtkWindowImpl in gtk+. We now check if the window is visible, not
5516 just if the pointer is over the window.
5517 (hildon_pannable_axis_scroll),
5518 (hildon_pannable_area_expose_event): Small style changes.
5520 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5522 * src/hildon-button.c: Update documentation.
5524 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5526 * examples/hildon-button-example.c: Add a switch to show images in
5529 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5531 * doc/hildon-docs.sgml: Some docs reorganization.
5533 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5535 * examples/hildon-pannable-area-touch-list-example.c
5537 * examples/hildon-pannable-area-touch-grid-example.c
5538 (create_icon_view): Use gtk_{tree,icon}_view_new() and
5539 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
5540 Fix memory leak when setting the tree model.
5542 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5546 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5548 * doc/hildon.types: Remove duplicated hildon_window_get_type
5549 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
5550 documentation comment.
5552 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5554 * doc/Makefile.am: Complete list of private headers.
5556 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5558 * doc/hildon-docs.sgml
5559 * src/hildon-app-menu.c
5560 * src/hildon-bread-crumb.c
5561 * src/hildon-button.c
5563 * src/hildon-program.c
5564 * src/hildon-stackable-window.c
5565 * src/hildon-window.c: Lots of documentation updates.
5567 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5569 * debian/control: Depend on Gtk 2:2.12.9-0osso3
5571 * configure.ac: Require Gtk+ 2.12.9 at least
5573 2008-08-12 Alejandro G. Castro <alex@igalia.com>
5575 * src/hildon-pannable-area.c
5576 (hildon_pannable_area_scroll_indicator_fade),
5577 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
5578 to protect the return of this timeout callbacks, avoiding deadlocks.
5580 2008-08-12 Christian Dywan <christian@imendio.com>
5583 * src/hildon-*.h: Ensure a consistent include order,
5584 include <gtk/gtk.h> instead of particular files and
5585 only include the topmost header in the gtk stack. See NB #39857
5587 2008-08-12 Christian Dywan <christian@imendio.com>
5589 * src/hildon-picker-dialog.c
5590 * src/hildon-touch-selector.c: Fix warnings about unused and
5591 uninitialized variables.
5593 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5595 * examples/Makefile.am
5596 * examples/hildon-check-button-example.c: Example of the hildon
5599 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5601 * src/hildon-window.h
5602 * src/hildon-window.c (hildon_window_class_init)
5603 (hildon_window_unset_program): Don't make
5604 hildon_window_unset_program a virtual function anymore.
5606 * src/hildon-stackable-window.c: Update documentation
5608 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5611 * doc/hildon-docs.sgml
5612 * doc/visual_index.xml
5613 * src/hildon-defines.c
5615 * src/hildon-helper.c
5616 * src/hildon-range-editor.c: Lots of documentation fixes.
5618 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5620 * examples/hildon-picker-button-multicolumn-example.c
5621 (create_touch_selector): Fix compilation warning.
5623 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5625 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
5626 (hildon_pannable_area_button_release_cb)
5627 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
5629 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5631 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
5634 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5636 * src/hildon-bread-crumb-trail.h
5637 * src/hildon-date-editor.c
5638 * src/hildon-date-selector.c
5639 * src/hildon-pannable-area.c
5640 * src/hildon-picker-dialog.c
5641 * src/hildon-time-selector.c
5642 * src/hildon-touch-selector-entry.c
5643 * src/hildon-touch-selector.c
5644 * src/hildon-touch-selector.h: Misc documentation fixes
5646 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5648 * examples/hildon-date-editor-example.c (main): Updated date
5651 * examples/hildon-note-example.c (on_confirmation_clicked):
5652 Updated confirmation note example.
5654 * src/hildon-date-editor.c
5655 * src/hildon-note.c: Updated sample programs in documentation.
5658 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5660 * src/hildon-date-button.h:
5661 * src/hildon-picker-button.h:
5662 * src/hildon-time-button.c:
5663 * src/hildon-time-button.h:
5665 Some declarations changes to allow gtk-doc to document the widgets
5668 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5670 * src/hildon-date-button.c: Document the widget.
5671 * src/hildon-time-button.c: Document the widget.
5673 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5675 * src/hildon-picker-button.c: Document the widget.
5676 * src/hildon-touch-selector-entry.c: Document the widget.
5678 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5680 * doc/hildon-docs.sgml
5683 * src/hildon-check-button.h
5684 * src/hildon-check-button.c: New functions to create the Hildon
5688 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
5690 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5692 * src/hildon-button.h
5693 * src/hildon-button.c
5694 (hildon_button_add_title_size_group)
5695 (hildon_button_add_value_size_group)
5696 (hildon_button_add_image_size_group)
5697 (hildon_button_add_size_groups): New functions to set size groups
5698 for the button labels and image.
5699 (hildon_button_new_full): Removed
5701 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
5703 * src/hildon-time-selector.c
5704 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
5705 in order to avoid a crash if gconf is not available
5707 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5709 * src/hildon-button.c (hildon_button_set_arrangement)
5710 (hildon_button_construct_child): Don't construct the button child
5711 before setting the arrangement.
5713 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5715 * src/hildon-program-private.h
5716 * src/hildon-program.c
5717 * src/hildon-program.h
5718 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
5719 (hildon_program_peek_window_stack)
5720 (hildon_program_pop_window_stack)
5721 (hildon_program_go_to_root_window): HildonProgram now has a
5722 separate list for stackable windows. Functions are provided to
5723 manage that list with a stack-like API.
5725 * src/hildon-stackable-window.c: Stackable window management is
5726 now much simpler with the new HildonProgram API. Windows no
5727 longer need to be manually added to the program, they're
5728 automatically pushed to the top of the stack when shown.
5730 * examples/hildon-stackable-window-example.c: Updated example to
5731 reflect the API changes.
5733 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5735 * src/hildon-touch-selector.c: Comment out unimplemented
5736 hildon_touch_selector_insert_column() to avoid a compile warning.
5738 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5740 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5741 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
5742 (hildon_touch_selector_set_column_selection_mode),
5743 (_hildon_touch_selector_set_model),
5744 (hildon_touch_selector_set_model):
5746 Complete review of HildonTouchSelector documentation.
5748 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5750 * doc/hildon-docs.sgml
5754 * src/hildon-gtk.c: Convenience functions for standard Gtk
5755 widgets, used to easily perform frequent operations.
5757 * src/hildon-button-helpers.h
5758 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
5760 * src/hildon-helper.h
5761 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
5762 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
5764 * src/hildon-button.h
5765 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
5767 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5769 * src/hildon-button.c (hildon_button_init)
5770 (hildon_button_set_arrangement, hildon_button_construct_child):
5771 Pack the image and the labels inside the same GtkAlignment so
5772 gtk_button_set_alignment() can be used
5774 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5776 * src/hildon-button.h
5777 * src/hildon-button.c
5778 (hildon_button_init, hildon_button_set_image)
5779 (hildon_button_set_image_position)
5780 (hildon_button_construct_child): New functions to add an image to
5783 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5785 * src/hildon-date-button.c
5786 * src/hildon-picker-button.c
5787 * src/hildon-time-button.c
5788 * src/hildon-button.c:
5789 (hildon_button_class_init): "size-flags" renamed to "size"
5790 (hildon_button_set_title): Hide the title label if set to NULL.
5792 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5794 HildonButtonFlags split into HildonButtonArrangement (to set the
5795 button layout) and HildonSizeType (which can be used for any
5798 * src/hildon-button.h
5799 * src/hildon-button.c
5800 (hildon_button_class_init)
5801 (hildon_button_set_arrangement)
5802 (hildon_button_set_property): New "size-flags"
5803 property. "arrangement-flags" renamed to "arrangement".
5804 (hildon_button_new, hildon_button_new_with_text)
5805 (hildon_button_new_full): Constructors updated to reflect type changes.
5807 * src/hildon-helper.h
5808 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
5809 to set the size of a widget.
5813 * src/hildon-button-helpers.c
5814 * src/hildon-button-helpers.h: New hildon-button-helpers module.
5816 * src/hildon-date-button.c
5817 * src/hildon-date-button.h
5818 * src/hildon-picker-button.c
5819 * src/hildon-picker-button.h
5820 * src/hildon-time-button.c
5821 * src/hildon-time-button.h: Updated widgets to reflect
5822 HildonButton API changes.
5824 * examples/hildon-button-example.c
5825 * examples/hildon-date-button-example.c
5826 * examples/hildon-picker-button-example.c
5827 * examples/hildon-picker-button-multicolumn-example.c
5828 * examples/hildon-time-button-example.c
5829 * examples/hildon-touch-selector-entry-example.c
5830 * examples/hildon-touch-selector-example.c: Updated examples to
5831 reflect HildonButton API changes.
5833 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5835 * doc/hildon-docs.sgml:
5837 * examples/Makefile.am:
5838 * examples/hildon-touch-selector-entry-example.c:
5840 * src/hildon-touch-selector-entry.c:
5841 * src/hildon-touch-selector-entry.h:
5844 Moved HildonTouchSelectorEntry from sandbox. Added its
5845 documentation and examples.
5847 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5849 * src/hildon-touch-selector.h:
5850 * examples/hildon-picker-button-multicolumn-example.c:
5851 (hildon_touch_selector_append_text_column): Add a gboolean
5852 parameter to determine if text must be centered in the column.
5854 * src/hildon-date-selector.c: (hildon_date_selector_init):
5855 * src/hildon-time-selector.c: (hildon_time_selector_init):
5856 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
5857 (create_touch_selector): Update widgets and example to reflect
5860 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5862 * src/hildon-touch-selector.c:
5863 (hildon_touch_selector_set_active_iter): Set also the cursor in
5866 2008-08-06 Alberto Garcia <agarcia@igalia.com>
5868 * doc/hildon-docs.sgml
5871 * src/hildon-toggle-button.c
5872 * src/hildon-toggle-button.h
5873 * src/hildon.h: Removed HildonToggleButton widget, a derived
5874 class is not necessary for this.
5876 2008-08-06 Alejandro G. Castro <alex@igalia.com>
5878 * src/hildon-pannable-area.c,
5879 (hildon_pannable_area_realize),
5880 (hildon_pannable_area_size_allocate): Code refactoring, add tests
5883 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
5885 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
5886 "done" button the default widget for the dialog.
5888 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5890 * src/hildon-touch-selector.c:
5891 (hildon_touch_selector_class_init),
5892 (hildon_touch_selector_get_property),
5893 (_hildon_touch_selector_set_model),
5894 (_hildon_touch_selector_has_multiple_selection),
5895 (hildon_touch_selector_has_multiple_selection):
5896 Add a "has-multiple-selection" property with a virtual
5897 has_multiple_selection() method to allow derived classes to
5898 override the default value for it. See the method and property
5899 documentation for details.
5901 * src/hildon-touch-selector.h: Add the new API.
5903 * src/hildon-picker-dialog.c: (requires_done_button): Call
5904 hildon_touch_selector_has_multiple_selection() instead of
5905 determining the need for a button itself.
5907 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5909 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5910 (_hildon_touch_selector_set_model),
5911 (hildon_touch_selector_set_model): Move working code to
5912 _hildon_touch_selector_set_mode(). Call the class method instead.
5914 * src/hildon-touch-selector.h: Add (*set_model) to
5915 HildonTouchSelectorClass.
5917 Make hildon_touch_selector_set_model() a virtual method, so that
5918 derived classes can extend it and do fancy stuff with the model.
5920 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5922 * configure.ac: Set back the tarname in AC_INIT to hildon.
5924 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5928 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
5929 instead of libesd (NB#86876). Volume handling is still an open issue.
5931 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
5934 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5936 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
5937 (hildon_touch_selector_append_column): Make the widget a GtkVBox
5938 derived class to ease placement of an entry widget in
5939 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
5940 end, where the selector columns are packed now.
5942 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5944 * src/hildon-picker-button.c: Removed the simple _text() API.
5945 * src/hildon-picker-button.h: Likewise.
5947 * src/hildon-touch-selector.h:
5948 * src/hildon-touch-selector.c:
5949 (hildon_touch_selector_new_text),
5950 (hildon_touch_selector_append_text),
5951 (hildon_touch_selector_prepend_text),
5952 (hildon_touch_selector_insert_text):
5954 Moved the simple _text() API from HildonPickerButton to
5955 HildonTouchPicker, to provide better escalability and not to tie
5956 that API to HildonPickerButton.
5958 * examples/hildon-picker-button-example.c: (main): Example updated.
5960 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5962 * src/hildon-button.c: Updated documentation.
5964 * examples/hildon-button-example.c: Add the posibility to create
5965 the buttons using horizontal layout for title and value.
5967 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5969 * src/hildon-app-menu-private.h
5970 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
5971 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
5972 GtkSizeGroup for the filters, use the 'homogeneous' property of
5975 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5977 * examples/hildon-button-example.c: Updated example.
5979 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
5981 * doc/hildon-docs.sgml:
5984 Update documentation.
5986 * examples/Makefile.am: Update renamed examples.
5988 * examples/hildon-picker-button-multicolumn-example.c:
5989 (create_touch_selector), (main): Update after the rename.
5991 * examples/hildon-touch-picker-example.c: Removed.
5992 * examples/hildon-touch-selector-example.c: (value_changed),
5993 (create_selector), (get_visible_content), (main): Renamed from
5994 hildon-touch-picker-example.c
5996 * src/Makefile.am: Updated renamed files.
5998 * src/hildon-date-button.c: (hildon_date_button_init),
5999 (hildon_date_button_get_date), (hildon_date_button_set_date):
6000 * src/hildon-date-selector.c: (hildon_date_selector_init),
6001 (_custom_print_func), (_update_day_model),
6002 (_manage_selector_change_cb),
6003 (hildon_date_selector_select_current_date),
6004 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
6005 * src/hildon-date-selector.h:
6006 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6007 (hildon_picker_button_set_property),
6008 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6009 (hildon_picker_button_init), (hildon_picker_button_new_text),
6010 (hildon_picker_button_append_text),
6011 (hildon_picker_button_prepend_text),
6012 (hildon_picker_button_insert_text),
6013 (hildon_picker_button_set_selector),
6014 (hildon_picker_button_get_selector):
6015 * src/hildon-picker-button.h:
6016 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
6017 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
6018 (_update_title_on_selector_changed_cb), (requires_done_button),
6019 (_hildon_picker_dialog_set_selector),
6020 (hildon_picker_dialog_set_selector),
6021 (hildon_picker_dialog_get_selector):
6022 * src/hildon-picker-dialog.h:
6023 * src/hildon-time-button.c: (hildon_time_button_init),
6024 (hildon_time_button_get_time), (hildon_time_button_set_time):
6025 * src/hildon-time-selector.c: (hildon_time_selector_init),
6026 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
6027 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
6028 * src/hildon-time-selector.h:
6031 Massive code updates after the rename.
6033 * src/hildon-touch-picker.c: Removed.
6034 * src/hildon-touch-picker.h: Removed.
6036 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6037 (hildon_touch_selector_init), (hildon_touch_selector_map),
6038 (hildon_touch_selector_remove), (_default_print_func),
6039 (_selection_changed_cb), (_create_new_column),
6040 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
6041 (hildon_touch_selector_append_text_column),
6042 (hildon_touch_selector_remove_column),
6043 (hildon_touch_selector_set_column_attributes),
6044 (hildon_touch_selector_insert_column),
6045 (hildon_touch_selector_get_num_columns),
6046 (hildon_touch_selector_get_column_selection_mode),
6047 (hildon_touch_selector_set_column_selection_mode),
6048 (hildon_touch_selector_set_print_func),
6049 (hildon_touch_selector_get_print_func),
6050 (hildon_touch_selector_get_active_iter),
6051 (hildon_touch_selector_set_active_iter),
6052 (hildon_touch_selector_get_selected_rows),
6053 (hildon_touch_selector_get_model),
6054 (hildon_touch_selector_set_model),
6055 (hildon_touch_selector_get_current_text),
6056 (_hildon_touch_selector_center_on_selected_items):
6057 * src/hildon-touch-selector.h: Renamed from
6058 hildon-touch-picker.[ch]
6060 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
6061 references, code examples, and related documentation.
6063 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6065 * doc/hildon-docs.sgml
6068 * src/hildon-toggle-button.c
6069 * src/hildon-toggle-button.h
6070 * src/hildon.h: New HildonToggleButton widget.
6072 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6074 * src/hildon-button.c: Add API documentation.
6075 (hildon_button_set_size_groups): Check input parameters
6077 2008-07-30 Alejandro G. Castro <alex@igalia.com>
6079 * src/hildon-pannable-area.c
6080 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
6081 effect after reaching the movement thredshold. This way we start
6082 using the distance after passing the thredshold.
6084 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6086 * src/hildon-button.c: (hildon_button_set_property): Use the
6087 appropriate g_value_get_flags() method.
6089 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6091 * doc/hildon-docs.sgml:
6094 Add the touch pickers, picker dialogs, and picker button widgets
6095 to the documentation.
6097 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6099 * src/hildon-button.c: (hildon_button_set_property),
6100 (hildon_button_class_init): Make "arrangement-flags" a proper
6101 G_TYPE_FLAGS derived property.
6103 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6105 * examples/Makefile.am: Add below examples.
6106 * examples/hildon-date-button-example.c:
6107 * examples/hildon-picker-button-example.c:
6108 * examples/hildon-picker-button-multicolumn-example.c:
6109 * examples/hildon-time-button-example.c:
6110 * examples/hildon-touch-picker-example.c:
6112 Add examples for the recently added touch pickers,
6113 picker dialogs, and picker button widgets.
6115 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6117 * src/hildon-button.c: Add some API documentation
6119 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6121 * src/hildon-button.h
6122 * src/hildon-button.c
6124 (hildon_button_new_with_text): New constructor to create a button
6125 with no text at all.
6126 (hildon_button_init, hildon_button_set_arrangement)
6127 (hildon_button_set_title, hildon_button_set_value)
6128 (hildon_button_set_text)
6129 (hildon_button_construct_child): Hide the value when it's not used
6130 so the rest of the text is properly aligned.
6131 Allow creating buttons with arbitrary widgets inside (not just
6132 title/value labels).
6134 * examples/hildon-button-example.c (vertical_buttons_window)
6135 (horizontal_buttons_window): Update example to use new API.
6137 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6139 * src/Makefile.am: Added HildonTimeButton.
6140 * src/hildon-time-button.c: Added missing LGPL header.
6141 * src/hildon-time-button.h: Added missing LGPL header.
6142 * src/hildon.h: Add hildon-time-button.h
6144 Copied HildonTimeButton from sandbox to trunk. Future work on this
6145 widget must take place in trunk.
6147 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6149 * src/Makefile.am: Added HildonDateButton.
6150 * src/hildon-date-button.c: Update includes.
6151 * src/hildon.h: Add hildon-date-button.h
6153 Copied HildonDateButton from sandbox to trunk. Future work on this
6154 widget must take place in trunk.
6156 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6158 * src/Makefile.am: Added HildonPickerButton.
6159 * src/hildon-picker-button.h: Update includes.
6160 * src/hildon.h: Add hildon-picker-button.h
6162 Copied HildonPickerButton from sandbox to trunk. Future work on
6163 this widget must take place in trunk.
6165 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6167 * src/Makefile.am: Added HildonPickerDialog.
6168 * src/hildon-picker-dialog.c: Update includes.
6169 * src/hildon.h: Add hildon-picker-dialog.h
6171 Copied HildonPickerDialog from sandbox to trunk. Future work
6172 on this widget must take place in trunk.
6174 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6176 * src/Makefile.am: Added HildonTimeSelector.
6177 * src/hildon.h: Add hildon-time-selector.h
6179 Copied HildonTimeSelector widget from sandbox to trunk. Future
6180 work on this widget must happen in trunk.
6182 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6184 * src/Makefile.am: Added HildonDateSelector.
6185 * src/hildon.h: Add hildon-date-selector.h
6187 Copied HildonDateSelector widget from sandbox to trunk. Future
6188 work on this widget must happen in trunk.
6190 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6192 * src/Makefile.am: Added HildonTouchPicker.
6193 * src/hildon-touch-picker.c: Update includes.
6194 * src/hildon.h: Add hildon-touch-picker.h
6196 Copied HildonTouchPicker widget from sandbox to trunk. Future work
6197 on this widget must happen in trunk.
6199 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6201 * src/hildon-pannable-area.c:
6202 (hildon_pannable_area_motion_notify_cb): Fix a typo.
6204 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6206 * examples/hildon-app-menu-example.c (main): Let the window
6209 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6211 * src/hildon-pannable-area.c
6212 (hildon_pannable_area_class_init): Set the min value of the
6213 overshoot properties to zero, which points out that not
6214 overshooting allowed.
6216 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6218 Modified the procedure to get the widget at a point inside the
6219 pannable area when using the movement type signals. Now the user
6220 has to call a function to get the child, that way we just
6221 calculate the child in case the user really want to use it and not
6224 * src/hildon-marshalers.list: Modified the marshallers, now we do
6225 not have the widget as a parameter.
6227 * src/hildon-pannable-area.c
6228 (hildon_pannable_area_motion_notify_cb),
6229 (hildon_pannable_area_class_init),
6230 (hildon_pannable_get_child_widget_at): Removed the widget
6231 parameter from the signal callback. We have also refactored the
6232 emission of the signals.
6234 * src/hildon-pannable-area.h: Added a new method to the API to
6235 calculate a widget at a point inside the pannable area,
6236 hildon_pannable_get_child_widget_at.
6238 * examples/hildon-pannable-area-example-4.c
6239 (horizontal_movement): Modified the example to use the new API,
6240 added condition to control which widget is under the event. This
6241 way we can avoid scrolling laterally over other widgets.
6243 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6245 * src/hildon-pannable-area.c
6246 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
6247 modes, we stop getting the pointer events due to returning the
6248 callback without properly calling the get pointer again. Fixed
6249 also an error using the hscroll and vscroll.
6251 2008-07-28 Alberto Garcia <agarcia@igalia.com>
6253 * src/hildon-app-menu-private.h
6254 * src/hildon-app-menu.c (hildon_app_menu_button_press)
6255 (hildon_app_menu_button_release, hildon_app_menu_init)
6256 (hildon_app_menu_class_init): Don't hide the menu on button
6257 release if the user didn't press outside first.
6259 * src/hildon-window.h
6260 * src/hildon-window.c (hildon_window_toggle_menu)
6261 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
6262 hildon_window_toggle_menu a virtual function for the stackable
6263 window to override it.
6265 * src/hildon-stackable-window.h
6266 * src/hildon-stackable-window-private.h
6267 * src/hildon-stackable-window.c
6268 (hildon_stackable_window_realize)
6269 (hildon_stackable_window_finalize)
6270 (hildon_stackable_window_class_init)
6271 (hildon_stackable_window_init)
6272 (hildon_stackable_window_set_main_menu): New function to set the
6273 app menu of a HildonStackableWindow.
6275 * examples/hildon-app-menu-example.c: Remove the button to show
6276 the app menu, now it'll be shown when clicking on the title bar
6279 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6281 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
6282 set the widget name if the arrangement flags do not specify
6285 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6287 * src/hildon-button.c: (hildon_button_set_property),
6288 (hildon_button_class_init), (hildon_button_new_full),
6289 (hildon_button_set_arrangement): Added "arrangement-flags"
6292 Make the HildonButtonFlags a construction-only property, to allow
6293 subclasses to set them properly.
6295 2008-07-21 Tim Janik <timj@imendio.com>
6297 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
6298 insertion position after backspace, so additional digits are appended,
6301 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6303 * src/hildon-pannable-area.c,
6304 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
6305 TODO list, it was complete and removed the g_debug and g_print
6308 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6310 Added the movement modes to the hildon-pannable-area, with this
6311 modes the developers can control in which directions the widget
6312 can scroll. They can also connect to signals in order to do
6313 something when that happens, allowing applications scroll. There
6314 is an example uploaded showing how to use it.
6316 * examples/Makefile.am:
6317 * examples/hildon-pannable-area-example-4.c: Added this example of
6318 an application using the modes.
6320 * src/hildon-marshalers.list: Added a new marshaller for the new
6323 * src/hildon-pannable-area.h: Added new enumerations and flags in
6324 order to control the movement modes and the new signals to warn
6325 about the movements in the area.
6327 * src/hildon-pannable-area.c:
6328 (hildon_pannable_axis_scroll),
6329 (hildon_pannable_area_scroll),
6330 (hildon_pannable_area_motion_notify_cb),
6331 (hildon_pannable_area_get_property),
6332 (hildon_pannable_area_set_property),
6333 (hildon_pannable_area_map),
6334 (hildon_pannable_area_class_init),
6335 (hildon_pannable_area_init),
6336 (hildon_pannable_area_jump_to): Added the modes to control the
6337 movement in the widget. We have added properties to control it,
6338 signals to warn about the movements and refactored some code.
6340 2008-07-15 Alejandro G. Castro <alex@igalia.com>
6342 Changes required in order to allow vfast_factor set to zero to
6345 * src/hildon-pannable-area.c:
6346 (hildon_pannable_area_button_press_cb): Changed the condition, it
6347 is required for not allowing click when vfast_factor is zero.
6348 (hildon_pannable_area_timeout): Initialized velocity variables
6349 when we stop moving, it was less than 1 but not zero and we need
6350 to check zero in some situations.
6351 (hildon_pannable_area_class_init): Changed the default value of
6352 the speed factor, now the button_press is just sent in case the
6353 speed is 2 per cent of the max speed.
6354 (hildon_pannable_area_init): Initialization with 0.
6356 2008-07-04 Alejandro G. Castro <alex@igalia.com>
6358 * src/hildon-pannable-area.c,
6359 (hildon_pannable_area_get_topmost): replaced
6360 gdk_window_get_children with gdk_window_peek_children, this way we
6361 do not have to free the list because it is not a copy.
6363 (hildon_pannable_axis_scroll),
6364 (hildon_pannable_area_scroll),
6365 (hildon_pannable_area_timeout),
6366 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
6367 two parameters that were only used inside the
6368 hildon_pannable_area_scroll function.
6370 * examples/hildon-pannable-area-example.c,
6371 (get_sawtooth_label): Fixed small memory leak.
6373 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6375 More checks for the case where the overshoot is bigger than the
6378 * src/hildon-pannable-area.c:
6379 (hildon_pannable_draw_vscroll),
6380 (hildon_pannable_draw_hscroll): with this new calculation we avoid
6381 to draw the slider of the scrollbar under the other scrollbar.
6382 (hildon_pannable_area_expose_event): added new checks to control
6383 the drawing of the overshooting area rectangle, in case it is too
6384 big for the area of the widget.
6385 (hildon_pannable_area_size_allocate): add more checks to avoid
6386 setting a position to the child widget outside the area.
6388 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6390 * src/hildon-pannable-area.c
6391 (hildon_pannable_area_size_allocate): Added conditions to control
6392 when overshooting is bigger than the allocated space for the
6393 children, this avoids negative allocations.
6395 2008-07-02 Alberto Garcia <agarcia@igalia.com>
6397 * doc/hildon-docs.sgml
6399 * examples/Makefile.am
6400 * examples/hildon-button-example.c
6402 * src/hildon-button.c
6403 * src/hildon-button.h
6404 * src/hildon.h: Initial version of the new HildonButton widget,
6407 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
6409 * src/hildon-pannable-area.c:
6410 (hildon_pannable_area_button_press_cb),
6411 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
6412 (hildon_pannable_area_motion_notify_cb),
6413 (hildon_pannable_area_button_release_cb),
6414 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
6415 (hildon_pannable_area_jump_to_child):
6417 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
6419 2008-07-01 Alberto Garcia <agarcia@igalia.com>
6421 * examples/Makefile.am
6422 * examples/hildon-pannable-area-touch-grid-example.c
6423 * examples/hildon-pannable-area-touch-list-example.c: Examples of
6424 the Hildon Touch List and Hildon Touch Grid using the
6425 HildonPannableArea widget.
6427 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6429 * src/hildon-pannable-area.c,
6430 (hildon_pannable_area_button_press_cb),
6431 (hildon_pannable_area_refresh),
6432 (hildon_pannable_area_scroll),
6433 (hildon_pannable_area_motion_notify_cb),
6434 (hildon_pannable_area_button_release_cb),
6435 (hildon_pannable_area_expose_event),
6436 (hildon_pannable_area_add),
6437 (hildon_pannable_area_remove),
6438 (hildon_pannable_area_realize),
6439 (hildon_pannable_area_size_allocate),
6440 (hildon_pannable_area_class_init),
6441 (hildon_pannable_area_init),
6442 (hildon_pannable_area_scroll_to_child),
6443 (hildon_pannable_area_jump_to_child): Fixed the problem of
6444 removing the child from the GtkBin, we have rearranged the widget
6445 hierarchy, now there is no GtkAlignment which was not doing
6446 anything interesting but breaking some of the assumptions of
6447 GtkContainer. Now developers if they want to add a GtkAlignment
6448 they could, but it is not inside the area.
6450 We had to review the whole allocation/expose process, now it is
6451 improved and we save at least three signals which would be saving
6452 some time when rendering the widget. The allocation of the
6453 scrollbars is now made in the allocate method as usual.
6455 We have also added some conditions in order to control when there
6456 is no child of the pannable area. Maybe we will need more work
6459 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6461 * src/hildon-pannable-area.c,
6462 (hildon_pannable_area_dispose): Released the fade-out timeout when
6463 disposing the widget.
6465 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6467 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
6468 zero, we are going to use that property in order to deactivate the
6470 (hildon_pannable_axis_scroll),
6471 (hildon_pannable_area_size_allocate): Added conditions to control
6472 when overshoot_max is zero. Moved the gtk_adjustment_set_value
6473 call, now it is called in all situations and we can remove calls
6474 in the allocate method.
6475 (hildon_pannable_area_map): Control the situation when
6476 overshoot_max is zero, we do not need the timeout.
6477 (hildon_pannable_area_class_init): Added documentation in order to
6478 point out that setting zero to overshoot_max means deactivate
6481 NOTE: removed trailing whitespaces from my previous comments of
6484 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6486 * src/hildon-pannable-area.c
6487 (hildon_pannable_area_get_property),
6488 (hildon_pannable_area_set_property),
6489 (hildon_pannable_area_map),
6490 (hildon_pannable_area_class_init),
6491 (hildon_pannable_area_init): Add a boolean "initial-hint" property
6492 to cause the widget give a hint about its panning abilities upon
6495 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6497 * src/hildon-pannable-area.c: Several documentation improvements.
6499 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6501 * src/hildon-program.c
6502 * src/hildon-stackable-window.c: Update documentation.
6504 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6506 * src/hildon-stackable-window.c (get_previous_window_if_last):
6507 Renamed get_last_window()
6508 (hildon_stackable_window_map, hildon_stackable_window_unmap)
6509 (hildon_stackable_window_unset_program):
6511 (get_previous_window_if_last):
6512 Detect if the window hasn't been added to a HildonProgram.
6514 2008-06-26 Alejandro G. Castro <alex@igalia.com>
6516 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
6518 * src/hildon-pannable-area.c
6519 (hildon_pannable_area_button_press_cb),
6520 (hildon_pannable_axis_scroll),
6521 (hildon_pannable_area_scroll),
6522 (hildon_pannable_area_timeout),
6523 (hildon_pannable_calculate_vel_factor),
6524 (hildon_pannable_area_get_property),
6525 (hildon_pannable_area_set_property),
6526 (hildon_pannable_area_class_init),
6527 (hildon_pannable_area_init),
6528 (hildon_pannable_area_scroll_to),
6529 (hildon_pannable_area_jump_to),
6530 (hildon_pannable_area_scroll_to_child),
6531 (hildon_pannable_area_jump_to_child):
6532 * src/hildon-pannable-area.h: Added the new API functions:
6533 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
6534 hildon_pannable_area_scroll_to_child,
6535 hildon_pannable_area_jump_to_child
6538 * examples/Makefile.am
6539 * examples/hildon-pannable-area-example-2.c
6540 * examples/hildon-pannable-area-example-3.c: Added these two new
6541 examples in order to test and show how the new APIs work.
6543 2008-06-25 Alberto Garcia <agarcia@igalia.com>
6545 * examples/hildon-stackable-window-example.c (new_window):
6546 * src/Makefile.am (noinst_HEADERS):
6547 * src/hildon-program.c (hildon_program_go_to_root_window):
6548 * src/hildon-program.h:
6549 * src/hildon-stackable-window-private.h:
6550 * src/hildon-stackable-window.c:
6551 * src/hildon-stackable-window.h:
6552 Create hildon-stackable-window-private.h
6553 Move hildon_stackable_window_go_to_root_window() to HildonProgram
6555 * examples/hildon-app-menu-example.c (create_menu):
6556 * examples/hildon-hvolumebar-insensitive-example.c (main):
6557 * examples/hildon-hvolumebar-timer-example.c (on_idle):
6558 * examples/hildon-toolbar-seekbar-example.c (main):
6559 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
6560 * src/hildon-banner.c (hildon_banner_set_property):
6561 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
6562 Fix compilation warnings
6564 * src/hildon-window.c:
6567 2008-06-24 Alberto Garcia <agarcia@igalia.com>
6569 * src/hildon-stackable-window.c
6570 (hildon_stackable_window_unset_program):
6571 Calculate correctly whether to show the previous window if the
6572 last one is removed from the stack.
6573 (hildon_stackable_window_go_to_root_window):
6574 Send delete events starting from the topmost window.
6575 Stop if one of the windows is not destroyed.
6577 (hildon_stackable_window_delete_event)
6578 (hildon_stackable_window_class_init):
6579 Ignore the delete event if the window is not the topmost one.
6581 2008-06-24 Alejandro G. Castro <alex@igalia.com>
6583 * src/hildon-pannable-area.c
6584 (hildon_pannable_area_expose_event): Fixed a problem when
6585 selecting the background color of the scrollbars.
6587 2008-06-23 Alberto Garcia <agarcia@igalia.com>
6589 * examples/hildon-stackable-window-example.c
6590 * src/hildon-stackable-window.c
6591 * src/hildon-stackable-window.h
6592 hildon_stackable_window_go_home() renamed to
6593 hildon_stackable_window_go_to_root_window()
6594 Send delete events to windows rather than closing them with
6595 gtk_widget_destroy()
6597 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6599 * src/hildon-pannable-area.c
6600 (hildon_pannable_area_button_release_cb): Fix overshooting in
6603 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6605 * src/hildon-pannable-area.c
6606 (hildon_pannable_area_init): Initially show the scroll indicators.
6607 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
6609 Add initial effect showing the widget is pannable.
6611 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6613 * src/hildon-pannable-area.c
6614 (hildon_pannable_area_class_init)
6615 (hildon_pannable_area_set_property)
6616 (hildon_pannable_area_get_property)
6617 (hildon_pannable_area_button_press_cb):
6618 New 'velocity_fast_factor' property to decide which velocity is
6621 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6623 * src/hildon-pannable-area.c
6624 (hildon_pannable_draw_hscroll)
6625 (hildon_pannable_draw_vscroll):
6626 Use float variables to calculate the size of the scrollbars to
6627 avoid error propagation and resizing during scrolling.
6629 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6631 * src/hildon-pannable-area.c
6632 (hildon_pannable_draw_vscroll)
6633 (hildon_pannable_draw_hscroll):
6634 Define a minimum size for the scroll bars
6636 * src/hildon-stackable-window.c
6637 (hildon_stackable_window_go_home): Fix compilation warning
6638 (get_last_window): Minor optimizations
6639 (hildon_stackable_window_class_init): Fix initialization of
6642 2008-06-18 Alberto Garcia <agarcia@igalia.com>
6644 * src/hildon-stackable-window.c: Fixed typos in doc
6646 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
6648 * src/hildon-pannable-area.c
6649 (hildon_pannable_area_scroll):
6650 Calculate here whether we need to scroll instead of using the booleans
6651 that tell us whether to /draw/ the scrolling bars.
6653 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
6655 * src/hildon-app-menu.h
6657 * src/hildon-app-menu.c
6658 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
6659 multiple filter groups related code and API. Now we support only
6661 * examples/hildon-app-menu-example.c:
6663 Update to reflect API changes.
6665 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
6667 * src/hildon-stackable-window.c
6668 (hildon_stackable_window_class_init):
6669 Add hildon_stackable_window_realize.
6670 (hildon_stackable_window_realize):
6671 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
6672 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
6673 to apply theming and behavior specific to HildonStackableWindow
6676 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6678 * src/hildon-note.c (hildon_note_button_release):
6679 Close information notes also when tapping on them
6681 2008-06-12 Alejandro G. Castro <alex@igalia.com>
6683 Added BOUNCE_STEPS define to control the overshoot effect. Removed
6684 ELASTICITY, refactor and review, fix some issues with drawing
6687 * src/hildon-pannable-area.c:
6688 (hildon_pannable_area_button_press_cb): removed the conditions to
6689 avoid clicks when overshooting. It is not required
6691 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
6692 define. Refatored and reviewed the code, now we do not need to
6693 manage velocity in motion_notify.
6695 (hildon_pannable_area_motion_notify_cb): We have moved the code
6696 that controls the area_scroll to the axis_scroll function and get
6697 rid of duplicated code.
6699 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
6701 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
6703 (hildon_pannable_draw_vscroll),
6704 (hildon_pannable_draw_hscroll): Fixed the problems with the
6705 scrollbar drawing, now we do not use two surfaces, it is easier
6706 and saves resources.
6708 (hildon_pannable_area_get_property): Style modification.
6710 (hildon_pannable_area_class_init): Changed some default values.
6712 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
6714 * src/hildon-stackable-window.c: Fix some typos in the
6717 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6719 * src/hildon-dialog.c:
6720 Change indentation style
6723 (hildon_note_button_release):
6724 Use root coordinates to check if the release event happened
6727 * src/hildon-app-menu.c
6728 (hildon_app_menu_button_release):
6729 Remove unnecessary check
6731 * examples/hildon-app-menu-example.c
6733 Add cast to fix warning
6735 * src/hildon-app-menu.c
6736 (hildon_app_menu_class_init):
6737 New inner-border style property.
6738 Set all default spacings to 16
6739 (hildon_app_menu_init):
6740 Use vertical-spacing to set the space between filter buttons and
6741 regular menu buttons.
6742 Set the default container border using the inner-border value.
6744 * examples/hildon-app-menu-example.c
6746 Don't set the menu border explicitly, now we have the inner-border
6747 style property for that.
6749 2008-06-11 Alberto Garcia <agarcia@igalia.com>
6751 * src/hildon-app-menu.c (hildon_app_menu_init):
6752 Make the window modal
6754 * src/hildon-note.c (hildon_note_map)
6755 * src/hildon-app-menu.c (hildon_app_menu_map):
6756 Destroy the grab window if we're unable to grab the pointer
6758 * src/hildon-app-menu-private.h
6759 * src/hildon-app-menu.c
6760 (hildon_app_menu_init, hildon_app_menu_finalize)
6761 (hildon_app_menu_map, hildon_app_menu_unmap)
6762 (hildon_app_menu_button_release)
6763 (grab_transfer_window_get):
6764 Bring back the grab window
6765 (hildon_app_menu_realize):
6766 Decorate the window, set WM hint for Matchbox
6768 * src/hildon-note.c (hildon_note_realize):
6769 * src/hildon-banner.c (hildon_banner_realize):
6770 Add WM hints for Matchbox
6772 2008-06-10 Alberto Garcia <agarcia@igalia.com>
6774 * src/hildon-app-menu-private.h
6775 * src/hildon-app-menu.c
6776 (hildon_app_menu_init, hildon_app_menu_finalize)
6777 (hildon_app_menu_map, hildon_app_menu_unmap)
6778 (hildon_app_menu_button_release):
6779 Remove the grab window, it's not needed anymore
6781 * src/hildon-program.c
6782 Fixed typo in documentation
6784 * src/hildon-app-menu.h
6785 * src/hildon-app-menu.c
6786 * examples/hildon-app-menu-example.c
6787 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
6789 2008-06-09 Alberto Garcia <agarcia@igalia.com>
6792 Added new transfer_window and close_if_pressed_outside private
6794 (hildon_note_rebuild):
6795 Don't add a cancel button to the information note. It will be
6796 closed when tapping outside
6797 Remove the comment about the OK button in the documentation
6798 (hildon_note_realize):
6799 Set the notification type hint
6800 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
6801 Grab/ungrab pointer and keyboard if the note has to be closed when
6803 (hildon_note_button_release):
6804 Close the note when tapping outside (if applicable)
6806 * src/hildon-app-menu.c
6807 Grab/ungrab pointer and keyboard on map/unmap
6808 (hildon_app_menu_button_release, hildon_app_menu_class_init):
6809 Close the menu on button release, not button press
6811 * src/hildon-banner.c
6812 (hildon_banner_set_property)
6813 (hildon_banner_check_position):
6814 Make the banner use the full width of the screen
6815 (hildon_banner_show_information)
6816 (hildon_banner_show_information_with_markup):
6817 Don't display an icon by default
6819 2008-06-09 Alejandro G. Castro <alex@igalia.com>
6821 Added fading scrollbars and adapted all the overshooting code to
6822 horizontal scrolling. We have also fixed bugs with overshooting
6823 and current fading implementation.
6825 * src/hildon-pannable-area.c
6826 (hildon_pannable_area_scroll_indicator_fade): Time out function
6827 used to change the transparency of the scrollbars.
6829 (hildon_pannable_area_button_press_cb): Added horizontal overshot
6830 control and fixed a problem with fading, we now remove the fade
6831 timeout before adding a new one.
6833 (hildon_pannable_axis_scroll):
6834 (hildon_pannable_area_scroll):
6835 (hildon_pannable_area_timeout): Added this functions so we can use
6836 the scroll code both for vertical and horizontal.
6838 (hildon_pannable_area_motion_notify_cb):
6839 (hildon_pannable_area_button_release_cb): Added the horizontal
6840 scrolling control, fixed a problem with the overshooting timeout.
6842 (rgb_from_gdkcolor): Added this function, it is used in the cairo
6843 painting of the scrolls.
6845 (hildon_pannable_draw_vscroll):
6846 (hildon_pannable_draw_hscroll):
6847 (hildon_pannable_area_expose_event):
6848 Draw both scrollbars and rectangles in the overshooting area.
6850 (hildon_pannable_area_get_property):
6851 (hildon_pannable_area_set_property):
6852 Modified the overshoot property to overshoot_max
6854 (hildon_pannable_area_map):
6855 Replaced the comments symbols.
6857 (hildon_pannable_area_size_allocate):
6858 (hildon_pannable_area_class_init):
6859 (hildon_pannable_area_init): Added horizontal scroll, fading
6860 effect properties, fixed a problem when overshooting in the bottom
6863 * examples/hildon-pannable-area-example.c:
6864 (get_sawtooth_label): Now we use smaller sawtooths, the effect
6865 looks better in the example.
6867 2008-06-03 Alberto Garcia <agarcia@igalia.com>
6869 * src/hildon-window.c
6870 * src/hildon-window.h
6871 (hildon_window_class_init)
6872 (hildon_window_unset_program)
6873 (hildon_window_unset_program_real):
6874 Make unset_program a virtual function
6876 * src/hildon-stackable-window.c
6877 * src/hildon-stackable-window.h
6878 Added hildon_stackable_window_go_home()
6880 * examples/Makefile.am
6881 * examples/hildon-stackable-window-example.c
6882 HildonStackableWindow example
6884 2008-06-03 Alejandro G. Castro <alex@igalia.com>
6886 * hildon-pannable-area.c: Added the overshoot property and removed
6887 the OVERSHOOT define. Fixed an indent style error.
6888 (hildon_pannable_area_motion_notify_cb):
6889 (hildon_pannable_area_get_property):
6890 (hildon_pannable_area_set_property): Add overshoot property.
6892 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
6895 (hildon_pannable_area_class_init): Installed the new property.
6897 * hildon-pannable-area-example.c: Added a sawtooth function, this
6898 way it is easier to check the movement in the pannable.
6899 (get_sawtooth_label): Added this function.
6900 (main): Now we get the labels from the new get_sawtooth_label
6903 2008-05-26 Alberto Garcia <agarcia@igalia.com>
6905 * src/hildon-app-menu.h
6906 * src/hildon-app-menu.c
6907 Renamed API variables for consistency
6909 (hildon_app_menu_popup): Use also the default window size to
6910 decide where to place the menu
6912 (hildon_app_menu_init, hildon_app_menu_class_init): New
6913 external-border style property
6915 2008-05-26 Michael Natterer <mitch@imendio.com>
6917 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
6918 widget_class->tap_and_hold_setup signal slot doesn't exist any
6919 longer, stop overriding it.
6921 (hildon_time_editor_init): g_signal_connect() to the
6922 tap-and-hold-setup signal instead.
6924 (hildon_time_editor_entry_keypress): add cast to fix warning.
6926 2008-05-23 Alberto Garcia <agarcia@igalia.com>
6928 * doc/hildon-docs.sgml
6930 * examples/Makefile.am
6931 * examples/hildon-app-menu-example.c
6933 * src/hildon-app-menu-private.h
6934 * src/hildon-app-menu.c
6935 * src/hildon-app-menu.h
6937 New HildonAppMenu widget
6939 2008-05-21 Alejandro G. Castro <alex@igalia.com>
6941 Rearranged the inheritance of the pannable area, now it inherits
6942 from GtkBin. This will allow us to control the event_window and
6943 the allocation process of the widget, required for some effects.
6945 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
6946 GtkBin structures. * src/hildon-pannable-area.c: Added the
6947 event_window variable.
6948 (hildon_pannable_area_button_press_cb):
6949 (hildon_pannable_area_button_release_cb):
6950 (hildon_pannable_area_motion_notify_cb):
6951 Changed the signature of the method, now we override the event
6952 callback instead of connecting to the signal.
6954 (hildon_pannable_area_realize):
6955 (hildon_pannable_area_unrealize):
6956 (hildon_pannable_area_map):
6957 (hildon_pannable_area_unmap):
6958 (hildon_pannable_area_size_allocate):
6959 Added functions to control the widget construction. We add a
6960 INPUT_ONLY window and we put it over the widgets inside the
6961 container, this event_window handles the events.
6963 (hildon_pannable_area_class_init):
6964 Replaced the signal connections with overrides of the event
6967 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6969 Bouncing effect added when touching the borders, you can change
6970 the elasticity of the border changing the ELASTICITY define.
6972 * src/hildon-pannable-area.c: Added ELASTICITY define.
6973 (hildon_pannable_area_timeout): Added inverse velocity when
6974 touching the border of the child widget, that causes a bounce.
6976 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6978 Improved performance, we now do not go to the X server in order to
6979 get the list of window children. Apparently the effect is the
6980 same, we have to be careful and check if this breaks something in
6983 * src/hildon-pannable-area.c:
6984 (get_ordered_children): Removed this function.
6985 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
6986 the children windows function with gdk_window_get_children.
6988 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6990 * src/hildon-pannable-area.c:
6991 (hildon_pannable_area_dispose): Fixed a crash when closing the
6992 window and kinetics is activated.
6994 2008-05-19 Alberto Garcia <agarcia@igalia.com>
6996 * src/hildon-pannable-area.h
6997 * src/hildon-pannable-area.c
6998 Changed indentation style to meet the one used in Hildon
7000 2008-05-19 Alejandro G. Castro <alex@igalia.com>
7002 Reviewed the interaction of the AUTO mode, now we use the time
7003 attribute of the events and calculate the velocity in the motion,
7004 doing a gimp like calculation. The velocity is calculated in each
7005 motion event using the last velocity and the current one, the
7006 SMOOTH_FACTOR controls the percentage of the new velocity we use.
7008 * src/hildon-pannable-area.c: Replaced the time based algorithm
7010 (hildon_pannable_area_motion_notify_cb): now we do not launch the
7011 timeout for the AUTO mode when we are still moving the cursor. We
7012 added also the velocity calculation in this function.
7013 (hildon_pannable_area_button_release_cb): launch the timeout in
7014 case we are in AUTO mode. There are still some constants here that
7015 come from the old implementation that should be reviewed and
7018 2008-05-15 Alberto Garcia <agarcia@igalia.com>
7020 * doc/hildon-docs.sgml
7023 * src/hildon-stackable-window.c
7024 * src/hildon-stackable-window.h
7026 New HildonStackableWindow widget
7028 * examples/hildon-dialog-example.c
7029 * examples/hildon-pannable-area-example.c
7032 2008-05-14 Alberto Garcia <agarcia@igalia.com>
7034 * src/hildon-dialog.c
7035 (hildon_dialog_new_with_buttons): New constructor.
7037 * examples/hildon-dialog-example.c
7038 (main): Update the example to use the new
7039 hildon_dialog_new_with_buttons().
7041 * examples/hildon-pannable-area-example.c
7042 (main): Update example.
7044 2008-05-13 Alberto Garcia <agarcia@igalia.com>
7046 * doc/hildon-docs.sgml
7048 Added HildonPannableArea to the documentation.
7050 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
7052 * doc/visual_index.xml
7053 Fix reference to HildonLoginDialog in documentation
7055 * doc/hildon-docs.sgml
7057 * examples/Makefile.am
7058 * examples/hildon-dialog-example.c
7060 * src/hildon-dialog.c
7061 * src/hildon-dialog.h
7063 New HildonDialog widget.
7065 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7067 * src/hildon-pannable-area.c
7068 Merge latest changes (r4318, r4342) from libmokoui trunk
7070 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7072 * examples/Makefile.am
7073 * examples/hildon-pannable-area-example.c
7075 * src/hildon-pannable-area.c
7076 * src/hildon-pannable-area.h
7078 New HildonPannableArea widget.
7080 2008-04-15 18:05:19 <timj@imendio.com>
7082 * src/hildon-banner.c: revert the recent change, that introduced
7083 gtk_window_present() calls. this reopens:
7084 Bug 78481 - [freetest] information banners are hidden under browser menu
7085 But resolves another variant of:
7086 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7088 2008-04-15 13:21:13 <timj@imendio.com>
7090 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
7091 recreated its layout, spotted by Kris. this fixes all remaining
7092 artefacts and stability issues with the banner code. in particular:
7093 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7095 2008-04-14 16:52:59 <timj@imendio.com>
7097 * src/hildon-banner.c: guard force_to_wrap_truncated() against
7098 operating on unrealized widgets, fixes:
7099 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7101 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
7103 2008-04-09 Kristian Rietveld <kris@imendio.com>
7105 Fixes: NB#77775: Media Player, Save Now playing list, too long name
7106 makes banner disappear.
7107 Fixes: NB#79182: info banner flickering with certain message lengts.
7109 * src/hildon-banner.c (hildon_banner_constructor),
7110 (hildon_banner_init), (hildon_banner_set_text),
7111 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
7112 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
7113 FALSE, reset size requests of label and banner,
7114 (force_to_wrap_truncated): when the text is too wide, always enforce
7115 the maximum possible width instead of recalculating it from the
7116 layout; enforce the maximum banner height of 3 lines,
7117 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
7118 nicer wrapping and no truncated chars if space gets tight.
7120 * src/hildon-banner-private.h: add has_been_wrapped and
7121 has_been_truncated fields.
7123 2008-04-07 Sven Herzberg <sven@imendio.com>
7125 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
7126 local values in hildon_date_editor_size_allocate
7128 * src/hildon-date-editor.c: moved the real allocation code into the
7131 2008-04-07 Sven Herzberg <sven@imendio.com>
7133 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7134 local values in hildon_date_editor_size_allocate
7136 * src/hildon-date-editor.c: merged the two if() branches together
7138 2008-04-07 Sven Herzberg <sven@imendio.com>
7140 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7141 local values in hildon_date_editor_size_allocate
7143 * src/hildon-date-editor.c: changed the arguments of the if()
7146 2008-04-07 Sven Herzberg <sven@imendio.com>
7148 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7149 local values in hildon_date_editor_size_allocate
7151 * src/hildon-date-editor.c: split the calculation of the allocation
7152 from the real allocation
7154 2008-03-27 Michael Natterer <mitch@imendio.com>
7156 Fixes: NB#81696: The passcode is not overwritten even after
7159 * src/hildon-code-dialog.c
7160 (hildon_code_dialog_button_clicked)
7161 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
7162 because that doesn't overwrite selected text. Instead, emit the
7163 "commit" signal on the entry's im_context so the entry's normal
7164 insert logic is triggered. Set the cursor to the end of the entry
7165 after each insert operation so that we *only* insert in the middle
7166 of the text if something was selected.
7168 2008-03-27 Michael Natterer <mitch@imendio.com>
7170 Enable fixing: NB#79916 and NB#79918: The help topic for Color
7171 selector cannot be opened
7173 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
7174 when the popup color selector is created. Please connect to this
7175 signal in order to set the dialog's help ID.
7177 2008-03-25 Sven Herzberg <sven@imendio.com>
7179 Fixes: MB#1212: Hide info banners (infoprints) on click
7181 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
7182 extracted the close event simulation into an extra function
7183 (hildon_banner_button_press_event): simulate a close event and destroy
7184 the widget if the event wasn't handled
7185 (hildon_banner_class_init): added the button_press_event handler
7186 (hildon_banner_init): added button-press events to the widget
7188 2008-03-25 Sven Herzberg <sven@imendio.com>
7190 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
7191 Patch from: Mohammad Anwari <mdamt@maemo.org>
7193 * src/hildon-banner.c: let the HildonBanners pop up on the left side
7194 instead of the right in RTL mode
7195 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
7196 breadcrumb button list in RTL mode
7197 * src/hildon-caption.c: mirror the appearance of the caption widget in
7199 * src/hildon-date-editor.c: mirror appearance of the date editor in
7201 * src/hildon-time-editor.c: mirror appearance of the time editor in
7203 * src/hildon-window.c: fix the position of the popup in RTL mode
7205 2008-03-25 Sven Herzberg <sven@imendio.com>
7207 Amendment to the fix of NB#22072. Fix compilation.
7209 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
7211 2008-03-19 Sven Herzberg <sven@imendio.com>
7213 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
7216 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
7217 timeout id properly when the timeout will disappear this leaves no
7218 artifacts around in the destroy(); there will only be the timeout
7219 created by hildon_banner_ensure_timeout() and adding a new timeout
7220 will also work if the timeout gets removed because the timeout_handler
7223 2008-03-19 Michael Natterer <mitch@imendio.com>
7225 Fixes: NB#79791: Cannot set focus to Master volume using stylus
7227 * src/hildon-volumebar.c
7228 * src/hildon-vvolumebar.c
7229 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
7230 the widget becomes focussable at all.
7232 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
7233 set the focus to wither the mute button or the volumebar.
7235 Remove own "can-focus" property and instead listen to
7236 notify::can-focus in order to update the widget's state.
7238 Implement GtkWidget::focus() and make sure we can also *leave* the
7239 widget, not only enter it, depending on volumebar orientation and
7240 requested focus direction.
7242 Clean up set_mute() to cooperate nicely with all the above.
7244 2008-03-04 Michael Natterer <mitch@imendio.com>
7246 Fixes: NB#78481: information banners are hidden under browser menu
7248 * src/hildon-banner.c: call gtk_window_present() on the banners so
7249 they are risen if they are already visible.
7251 2008-03-03 Sven Herzberg <sven@imendio.com>
7253 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
7255 * examples/hildon-window-menu-example.c: (main): extended the window
7256 menu example to serve as a testcase for automatically added
7257 accelerator groups, too
7258 * src/hildon-window.c: (hildon_window_add_accel_group),
7259 (hildon_window_set_menu): added patch by Tommi Komulainen
7261 2008-03-03 Sven Herzberg <sven@imendio.com>
7263 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
7265 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
7266 knowledge about the border allocators used within GTK+
7268 2008-02-26 Sven Herzberg <sven@imendio.com>
7270 Fixes: MB#2981: Build with asserts broken
7272 * src/hildon-date-editor.c,
7273 * src/hildon-number-editor.c,
7274 * src/hildon-time-editor.c,
7275 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
7276 the proper GType instance check
7278 2008-02-25 Sven Herzberg <sven@imendio.com>
7280 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
7282 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
7283 * examples/hildon-window-menu-example.c: (main): explicitly show
7285 * src/hildon-window.c:
7286 (hildon_window_set_main_menu): moved most of the code from set_menu()
7287 to this place; skipped the call to gtk_widget_show_all(); also didn't
7288 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
7289 (hildon_window_set_menu): removed most of the code, just keep the
7290 questionable gtk_widget_show_all()
7291 * src/hildon-window.h: added the new function and deprecate the old
7294 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7300 * debian/changelog: Updating.
7302 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7305 * pkgconfig/Makefile.am:
7306 * pkgconfig/hildon.pc.in:
7309 Do not use PACKAGE_VERSION_MAJOR as the API revision,
7310 use newly created API_MAJOR_VERSION.
7312 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7318 * debian/changelog: Updating.
7320 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7322 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
7324 Add outer_border style property, we use it but don't define it (!).
7328 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
7330 * examples/hildon-bread-crumb-trail-example.c (main):
7334 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
7336 Fix logic for the bread crumb trail node removal.
7340 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7346 * debian/changelog: Updating.
7348 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7350 Patch by Alejandro to get/set passwords dialogs accesibility.
7352 * hildon-1/src/hildon-get-password-dialog.c:
7353 * hildon-1/src/hildon-set-password-dialog.c:
7354 Set atk_set_name to the passwd entries in order to allow
7355 accessibility by name on this entries.
7357 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7362 * debian/control: Updating gtk dep.
7364 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
7366 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
7367 USE_MAEMO_GTK is enabled.
7369 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
7371 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
7372 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
7374 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7380 * debian/changelog: Updating.
7382 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7384 * examples/Makefile.am:
7385 * examples/hildon-logical-color-example.c:
7386 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
7387 applied + adding a test case. Fixes: NB#71660.
7389 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
7391 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
7392 to be visible, fixes warning on map for windows without toolbars.
7394 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
7396 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
7397 2.11.0, add a check for that besides the MAEMO_GTK check.
7399 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7405 * debian/changelog: Updating.
7407 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7409 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
7410 visibility. Fixes: NB#70842 and MB#615.
7412 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7414 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
7415 set the separator as no-show-all so it doesn't unintentionally appear when
7416 someone does a show_all.
7418 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7420 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
7421 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
7422 toplevel item. Fixes: NB#62031
7424 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
7426 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
7427 fix the name of the function in the docs.
7429 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7435 * debian/changelog: Updating.
7437 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7439 * examples/hildon-banner-long-example.c: Adding a test-case for long
7442 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
7444 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7446 * src/hildon-color-chooser-dialog.c:
7447 * src/hildon-color-chooser.c:
7448 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
7449 memory leaks in font selector and color selector. Fixes: NB#70499 and
7452 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
7454 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
7456 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7458 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
7459 little bit bigger. Fixes: #NB63694.
7461 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7467 * debian/changelog: Updating.
7469 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7472 * doc/hildon-docs.sgml:
7473 * doc/images/bread-crumb-trail.png:
7474 * doc/images/calendar-popup.png:
7475 * doc/images/caption.png:
7476 * doc/images/code-dialog.png:
7477 * doc/images/color-button.png:
7478 * doc/images/color-chooser-dialog.png:
7479 * doc/images/color-chooser.png:
7480 * doc/images/controlbar.png:
7481 * doc/images/date-editor.png:
7482 * doc/images/font-selection-dialog.png:
7483 * doc/images/get-password-dialog.png:
7484 * doc/images/hvolumebar.png:
7485 * doc/images/login-dialog.png:
7486 * doc/images/note.png:
7487 * doc/images/number-editor.png:
7488 * doc/images/range-editor.png:
7489 * doc/images/seekbar.png:
7490 * doc/images/set-password-dialog.png:
7491 * doc/images/sort-dialog.png:
7492 * doc/images/time-editor.png:
7493 * doc/images/time-picker.png:
7494 * doc/images/vvolumebar.png:
7495 * doc/images/weekday-picker.png: Adding the new generated widget shots.
7496 Adding the bread-crumb-trial and helpers to the documentation.
7498 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7500 * examples/hildon-find-toolbar-example.c:
7501 * src/hildon-find-toolbar.c:
7502 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
7503 actually continue firing the other handlers if connected. Adding a new
7505 hildon_find_toolbar_get_last_index that gets the index of the most
7506 recently added (last) item. Fixes: NB#52301.
7508 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7510 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
7511 behaviour. Fixes: NB#68610.
7513 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7515 * src/hildon-banner.c: Actually reverting the previous change. It somehow
7518 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7520 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
7521 when realizing the banner. Should make the infonbanner effect a bit more
7524 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7526 * src/hildon-volumebar.c:
7527 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
7528 hildon_volumebar_set_range_insensitive_message and
7529 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
7531 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7533 * src/hildon-window.c: Fixing the border freeing on destroy.
7535 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7537 * src/hildon-code-dialog-private.h:
7538 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
7539 kw keyboard support in HildonCodeDialog.
7541 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7547 * debian/changelog: Updating.
7549 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7551 * src/hildon-date-editor.c:
7552 * src/hildon-number-editor.c:
7553 * src/hildon-private.c:
7554 * src/hildon-private.h:
7555 * src/hildon-time-editor.c:
7556 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
7557 handling in subclassed composite widgets. Fixes: NB#66628.
7559 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7561 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
7562 from destroy_ callback as it introduces problems in async dbus signal
7563 handlers. Fixes NB#66673.
7565 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7567 * examples/hildon-hvolumebar-example.c:
7568 * src/hildon-volumebar.c: Improving the focus handling in the
7569 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
7570 set_property accessor so that "mute" property can be actually set. I'm
7571 scared that nobody noticed it's totally broken.
7573 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7575 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
7578 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7580 * src/hildon-calendar.c:
7581 * src/hildon-number-editor.c:
7582 * src/hildon-time-picker.c: Changing the timeout repeat so that it
7583 matches the spec of 6 chars per second. Fixes: NB#60489.
7585 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7587 * src/hildon-helper.c: Really fixing NB#58352. Looks like
7588 gtk_style_lookup_color sometime returns FALSE even though color was
7589 found and values were filled properly. Weird. Removing the warning for the
7592 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7594 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
7595 expand vertically. Adding some extra space to the find toolbar buttons to
7596 make them thumbable. Fixes NB#66060.
7598 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7600 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
7601 popup with "Ok" and "Cancel". Fixes NB#59299.
7603 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7605 * src/hildon-calendar.c: Process all window updates before executing next
7606 timeout. Fixes: NB#54146.
7608 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7614 * debian/changelog: Updating.
7616 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7618 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
7619 the client event and ignore it, since we use the delete event to close
7622 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7624 * src/hildon-helper.c: Remove the bogus warning about color not being
7625 found. Fixes NB#58352.
7627 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7629 * examples/Makefile.am:
7630 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
7631 HildonSeekbar widget inside a toolbar.
7633 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7635 * src/hildon-banner.c (hildon_banner_init): mark the banners as
7636 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
7637 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
7638 don't want to be closed by non-temporary windows on map.
7640 Also use G_DEFINE_TYPE instead of manually typed code.
7642 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7649 * debian/rules: Updating.
7651 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7653 * examples/Makefile.am:
7654 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
7655 bug NB#61128. Strangely it works.
7657 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7659 * src/hildon-date-editor.c: When the date editor entry has been changed
7660 but the numbers of characters < max, turn off the skip validation flag.
7661 Prevents a situation when we enter first a valid year and later re-write
7662 it with an invalid one. Fixes NB#60154.
7664 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7666 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
7667 code dialog. Fixes NB#64355.
7669 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7671 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
7672 switching the page. Fixes NB#49374.
7674 * examples/Makefile.am:
7675 * examples/hildon-wizard-dialog-example.c: Adding an example for
7676 HildonWizardDialog that shows how to handle manual sensitivity setting on
7679 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7683 * src/hildon-version.h.in:
7684 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
7686 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7688 * src/hildon-volumebar.c: Updating the docs.
7690 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7696 * debian/changelog: Updating.
7698 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7700 * src/hildon-find-toolbar.c:
7701 * src/hildon-find-toolbar.h: Adding a few new functions to control the
7702 selected item: hildon_find_toolbar_set_active,
7703 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
7704 hildon_find_toolbar_get_active_iter . They correspond to respective
7705 GtkComboBox functions.
7707 * examples/Makefile.am:
7708 * examples/hildon-find-toolbar-example.c: Adding the example to test the
7711 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7713 * examples/Makefile.am:
7714 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
7717 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
7718 when font size > 32 and we pack a focusable widget inside. Actually using
7719 the default response would work too, but since we don't show default
7720 response state in any way (no theming) it would not be visible to the
7721 user. Fixes NB#63430.
7723 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7725 * src/hildon-date-editor.c: Adding the missing variable setter in the
7726 set_property handler. Fixes NB#54182.
7728 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7730 * src/hildon-window.h: Changing the long key press time from 1500ms to
7731 800ms as requested in NB#63700. I have a bad feeling about this, let's
7732 see... Fixes NB#63700.
7734 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
7736 * src/hildon-time-picker.c (hildon_time_picker_class_init,
7737 hildon_time_picker_map, hildon_time_picker_realize,
7738 hildon_time_picker_style_set): Split the contents of map to more
7739 appropriate functions; set window decorations on realize and update
7740 arrows' size requisitions on style-set. Avoids unnecessary resizing.
7742 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
7747 * debian/changelog: Updating.
7749 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
7751 * src/Makefile.am: fixed installation of the header files
7753 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7759 * debian/changelog: Updating.
7761 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7763 * configure.ac: Removing some remaining of --enable-xan.
7765 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
7767 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
7768 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
7770 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
7771 2.10.12-osso6 because the move-focus signal needs to be available in
7774 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7776 * examples/Makefile.am:
7777 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
7778 that makes a HildonVolumebar insensitive before mapping it. Seems to work
7779 fine. Prolly NB#61128 is fixed now.
7781 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7783 * src/hildon-volumebar.c:
7784 * src/hildon-volumebar.h: Adding the
7785 hildon_volumebar_set_range_insensitive_message and
7786 hildon_volumebar_set_range_insensitive_messagef functions to set
7787 insensitive message on the slider of the volumebar. Fixes NB#61129.
7789 * examples/Makefile.am:
7790 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
7791 test the new insensitive messsage functionality on HildonVolumebar.
7793 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
7795 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
7798 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
7800 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
7801 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
7802 button on after clearing the trail.
7804 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7806 * src/hildon-code-dialog.c: Removing the separator from the dialog.
7808 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7810 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
7811 by splitting the installed headers in generated and non-generated groups. Use
7812 only the non-generated headers to create the hildon-enum-types.h file.
7814 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
7816 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7818 * src/hildon-window.c: Hide the window before performing the destroy.
7819 Should make the app closing a little tiny bit more snappy.
7821 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7823 * src/hildon-seekbar.c: add gtkrange.h header
7824 * src/hildon-caption.c: remove unused variable
7826 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
7828 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
7831 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7837 * debian/changelog: Updating.
7839 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
7841 * src/hildon-window.c (hildon_window_window_state_event,
7842 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
7843 escape timeout on focus-out-event rather than notify::is-topmost; the
7844 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
7846 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7848 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
7849 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
7851 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7853 * src/hildon-window: actually, you need to use the macro always, there's
7854 no private pointer in the instance structure. We should have cleaned this up
7855 when we had the chance...
7857 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7859 * src/hildon-window.c: do not get the private date from HildonWindow before
7860 it passes the g_return_if_fail check. Once it's passed the test, there's no
7861 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
7862 if you are only going to access the data once. Whitespace cleanups.
7864 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
7866 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
7867 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
7869 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7875 * debian/changelog: Updating.
7877 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7879 * src/hildon-window.c: When destroying the window, remove (if exists) the
7880 escape timeout handler. Fixes #NB59276.
7882 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7884 * src/hildon-banner.c: When realizing the widget, set the window
7885 transiency. Setting the transiency in the gobject constructor is not
7886 good, as the widget is not realized at that point. Fixes: #NB56624.
7888 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7890 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
7891 Add padding for future expansions.
7893 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7895 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
7896 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
7897 will fake an activation on the previous to the last item of the trail, so
7898 the effect can be overrided by the developer as usual.
7899 Also change the callback for the back button to do the same thing, so its
7900 effect can be overrided too. Fixes: NB#58982
7902 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7904 * src/hildon-caption.c: Implementing the proper focus grabbing in the
7905 HildonCaption. Fixes NB#52379.
7907 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7909 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
7910 the internal state of the trail after the user has had the chance of executing
7911 his handler for the signal. Specifically, it may happen that the activated button
7912 is removed and the user still lets the default handler run. This would segfault
7915 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7917 * src/hildon-font-selection-dialog.c: When the font is really big, add the
7918 scrollbar to the preview dialog. Fixes NB#54147.
7920 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7922 * src/hildon-date-editor.c: Changing the default max year to 2037. The
7923 max/min year properties can be altered, so the client can modify it
7924 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
7926 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7928 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
7929 hildonlike by default. Fixing a problem with disappearing arrows when
7930 scrolling through months and years. Fixes NB#54127.
7932 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7934 * examples/hildon-date-editor-example.c: Adding error callback to the date
7937 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7943 * configure.ac: Updating.
7945 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7947 * configure.ac: Adding a special '--enable-xan' configure option that
7948 turns off the -Werror compilation setting. Usefull for development.
7950 * src/hildon-calendar.c:
7951 * src/hildon-number-editor.c:
7952 * src/hildon-time-picker.c: Adding the 5* multiplier to
7955 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
7957 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
7958 instead of g_object_ref + gtk_object_sink.
7960 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7966 * debian/changelog: Updating.
7968 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7970 * src/hildon-color-chooser-dialog.c:
7971 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
7972 straight from Tommi labs.
7974 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7976 * examples/hildon-finger-example.c: Correcting the header file path.
7978 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
7979 the changed signal. Fixes a small memory leak.
7981 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7985 * src/hildon-banner.c: Importing several usefull fixes from the
7986 ubuntu-mobile branch.
7988 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7990 * examples/Makefile.am:
7991 * examples/hildon-finger-example.c: Adding a finger-checking code
7994 * src/hildon-font-selection-dialog.c: Do not allocate the color
7995 structure using the g_new. Fixes NB#54061.
7997 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7999 * src/hildon-helper.c: Correcting tabs in file.
8001 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
8003 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
8004 control the visibility of the children.
8006 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
8008 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8014 * debian/changelog: Updating.
8016 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8018 * src/hildon-bread-crumb-trail.c:
8019 (hildon_bread_crumb_trail_size_allocate):
8021 Make the back button always a square.
8023 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8025 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
8026 from the .c file as it's a private file.
8028 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8030 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
8031 uses slightly bigger height.
8033 * src/hildon-font-selection-dialog.c: Adding some checks before
8034 freeing memory in the font selection dialog.
8036 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8038 * src/hildon-font-selection-dialog.c: Adding a small check when
8041 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
8042 buttons sensitivity on page switching.
8044 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
8046 * src/hildon-bread-crumb-trail.c: make the add method handle all the
8047 internal details of adding a bread crumb to the trail.
8049 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8055 * debian/changelog: Updating.
8057 * src/hildon-bread-crumb-trail.h:
8058 * src/hildon-bread-crumb.h: Changing the API guard to
8059 HILDON_ENABLE_UNSTABLE_API.
8061 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8069 * src/hildon-helper.h: Updating.
8071 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8079 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8083 * src/hildon-helper.h: Small fix to make the package actually compile.
8085 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8087 * src/hildon-bread-crumb-trail.h:
8088 * src/hildon-bread-crumb.h:
8090 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
8091 to define ENABLE_UNSTABLE_API in the code that includes these headers.
8093 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8095 * examples/hildon-bread-crumb-trail-example.c:
8097 * src/hildon-bread-crumb-trail.c:
8098 * src/hildon-bread-crumb-trail.h:
8099 * src/hildon-bread-crumb.c:
8100 * src/hildon-bread-crumb.h:
8101 * src/hildon-marshalers.list:
8102 * src/hildon-bread-crumb-widget.c:
8103 * src/hildon-bread-crumb-widget.h:
8105 Slight change in the widget design. The bread crumb trail API is
8106 unchanged, but HildonBreadCrumb is now an interface. A *private*
8107 implementation, hildon-bread-crumb-widget, is provided and used
8108 internally by the trail for the push_text/push_icon functions.
8110 The generic push API is still available, so anyone can implement
8111 and use its own bread crumb widget.
8113 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8115 * debian/rules: Fixing the shlibs.
8117 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8119 * src/hildon-banner.c: Fixing a problem with timed banners having
8120 their parrent destroyed before they are.
8122 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
8124 * src/hildon-bread-crumb.c:
8125 * src/hildon-bread-crumb.h:
8127 Make the get_natural_size function a vfunc.
8129 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8131 * src/hildon-bread-crumb.c:
8132 * src/hildon-bread-crumb-trail.c:
8136 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8143 * debian/changelog: Updating for release.
8145 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8147 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
8148 don't leak the pango layout.
8150 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8153 * examples/hildon-bread-crumb-trail-example.c:
8157 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8159 * debian/changelog: Removing the bug-fixed entries that were actually
8160 resolved as WONTFIX.
8162 * src/hildon-date-editor.c: Removing a redundant check. Fixes
8165 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8167 * src/hildon-bread-crumb-trail.c:
8168 * src/hildon-bread-crumb-trail.h:
8169 * src/hildon-bread-crumb.c:
8170 * src/hildon-bread-crumb.h:
8174 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8176 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
8177 until it's passed the type check.
8179 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8181 * examples/hildon-bread-crumb-trail-example.c
8185 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8187 * examples/Makefile.am
8188 * examples/hildon-bread-crumb-trail-example.c
8190 * src/hildon-bread-crumb-trail.c
8191 * src/hildon-bread-crumb-trail.h
8192 * src/hildon-bread-crumb.c
8193 * src/hildon-bread-crumb.h
8195 New HildonBreadCrumbTrail widget.
8197 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
8199 * src/hildon-range-editor.c (hildon_range_editor_init),
8200 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
8201 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
8202 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
8203 hildon_time_editor_class_init, hildon_time_editor_init),
8204 src/hildon-get-password-dialog.c (invalid_input,
8205 hildon_get_password_set_property, hildon_get_password_get_property,
8206 create_contents, hildon_get_password_dialog_set_max_characters),
8207 src/hildon-set-password-dialog.c (create_contents),
8208 src/hildon-date-editor.c (hildon_date_editor_init),
8209 src/hildon-login-dialog.c (hildon_login_dialog_init),
8210 src/hildon-number-editor.c (hildon_number_editor_init),
8211 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
8212 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
8213 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
8214 configure option and adding the respective checks in the code.
8215 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
8216 hildon_calendar_drag_data_received): fixed some build warnings.
8218 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8220 * debian/changelog: A 1.0.0 release notes.