1 2009-05-15 Alberto Garcia <agarcia@igalia.com>
4 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
5 New API function to take a screenshot of a window
7 Fixes: NB#106374 (Need API to take a loading screenshot)
9 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
11 * hildon/hildon-time-selector.c
12 (update_format_policy): prevent to use hours and minutes unitialized
14 2009-05-15 Alberto Garcia <agarcia@igalia.com>
16 * hildon/hildon-window.c (hildon_window_size_request):
17 Always request the full size of the screen (minus the title bar if
18 not in fullscreen mode).
20 Fixes: NB#107486 (HildonWindow should size itself properly)
22 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
24 * hildon/hildon-note-private.h: Add idle_handler to the private data.
25 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
26 (on_show_cb), (sound_handling): Disconnect the idle handler for
27 the sound when the note is finalized to avoid possible crashes.
29 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
32 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
34 * src/hildon-animation-actor.c,
35 * src/hildon-remote-texture.c:
36 Added proper object cleanup to remove signal handler and object
37 references as HildonAnimationActor and HildonRemoteTexture
38 objects get destroyed.
40 Fixes: NB#116682 (Destroying parented animation actors when
41 parent in unmapped leads to crash)
43 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
45 Based on a patch by Christian Dywan (christian@imendio.com)
47 * doc/hildon-sections.txt:
48 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
49 * hildon/hildon-helper.h: New file size formatting method.
51 * debian/control: Depend on osso-filemanager l10n package for
52 proper localization strings.
54 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
56 * tests/Makefile.am: Include top_srcdir to make possible to build
57 tests in a different builddir.
58 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
59 on a different builddir.
61 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
63 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
64 (hildon_touch_selector_remove): Disconnect model's signal handler
67 Fixes: NB#116289 (Hildon home crashes while adding task
70 2009-05-11 Alberto Garcia <agarcia@igalia.com>
72 * hildon/hildon-button.c
73 (hildon_button_set_title, hildon_button_set_value):
74 Hide labels containing an empty string.
76 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
78 * configure.ac: post release version bump
79 * debian/changelog: post release version bump
81 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
86 * configure.ac: Bump version.
87 * debian/changelog: Updates.
89 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
91 * hildon/hildon-note-private.h: Removed sound_signal_handler
92 * hildon/hildon-note.c
93 (on_show_cb): new callback on note "show" event, this simply adds
94 a idle, with the function sound_handling
95 (sound_handling): removed the sound_signal_handler management
96 (hildon_note_init): connect note "show" event to on_show_cb
97 (hildon_note_realize): remove the connection to "expose-event"
99 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
100 device?' confirmation note)
102 2009-05-08 Alberto Garcia <agarcia@igalia.com>
104 * hildon/hildon-note.c
105 (hildon_note_new_information_with_icon_name)
106 (hildon_note_new_confirmation_with_icon_name):
107 Terminate the list of parameters in g_object_set() calls
109 Fixes: NB#115166 (Formatting memory card is not taking place)
111 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
113 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
114 "dialog-information" role for the sound being played.
116 2009-05-06 Alberto Garcia <agarcia@igalia.com>
118 * hildon/hildon-app-menu.c (hildon_app_menu_init):
119 Don't make the menu a modal window, it causes strange interactions
120 with the pointer grab and it's not really needed.
122 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
124 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
126 * hildon/hildon-touch-selector.[ch]
127 (hildon_touch_selector_optimal_size_request): function added to get a
128 optimal size request from the touch selector, when you want a dialog to
129 show as much of the selector
130 * hildon/hildon-picker-dialog.c:
131 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
132 (hildon_app_menu_class_init):
133 New "max-height-landscape" and "max-height-portrait" style properties
134 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
135 (hildon_picker_dialog_get_max_height): returns the maximum height using
136 the style properties defined and checking the current portrait/landscape
138 (_hildon_picker_dialog_set_selector): removed the set_size_request
140 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
142 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
144 * hildon/hildon-bread-crumb-trail.c:
145 * hildon/hildon-bread-crumb.c:
146 * hildon/hildon-seekbar.c:
147 Add reference to replacements for these deprecated widgets.
149 Fixes: MB#4461 (Documentation: All deprecations should mention
152 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
154 * examples/hildon-remote-texture-example.c
156 Change the include to the hildon-remote-texture in order to compile
157 properly the examples on the installed libhildon1-examples package
159 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
161 * tests/Makefile.am: Add check for HildonPickerButton.
162 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
163 (START_TEST), (create_hildon_picker_button_suite): Add three simple
164 checks for the HildonPickerButton.
165 * tests/check_test.c (configure_tests): Add the test suite.
166 * tests/test_suites.h: likewise.
168 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
170 * hildon/hildon-touch-selector.c
171 (+on_row_changed): Emit HildonTouchSelector:changed when the
172 contents of a selected row change.
173 (_create_new_column), (_hildon_touch_selector_set_model): connect
174 to GtkTreeModel:row-changed on a newly set model.
176 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
178 2009-05-05 Alberto Garcia <agarcia@igalia.com>
180 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
182 * hildon/hildon-banner.c (hildon_banner_destroy)
183 (hildon_banner_show_progress, hildon_banner_set_fraction):
184 Remove the progress bar from HildonBanner and use a progress
187 Fixes: NB#113761 (Update progress banner to use progress
190 2009-05-04 Alberto Garcia <agarcia@igalia.com>
192 * hildon/hildon-banner.c:
193 Calculate size of the banner label using the actual screen width
194 rather than using a fixed value.
196 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
199 2009-05-04 Alejandro G. Castro <alex@igalia.com>
201 * hildon/hildon-pannable-area.c,
202 (hildon_pannable_area_class_init): Fixed signals documentation
205 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
207 * configure.ac: post release version bump
208 * debian/changelog: post release version bump
210 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
215 * configure.ac: Bump version.
216 * debian/changelog: Updates.
218 2009-05-01 Alberto Garcia <agarcia@igalia.com>
220 * hildon/hildon-edit-toolbar.c
221 (hildon_edit_toolbar_init):
222 Don't let buttons in HildonEditToolbar receive focus.
224 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
225 typing on an HW arrows key)
227 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
229 * doc/Makefile.am: Fix build.
231 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
233 * doc/Makefile.am: Do not redefine content_files.
235 2009-04-30 Alberto Garcia <agarcia@igalia.com>
243 Renamed src/ to hildon/
248 Include <hildon/hildon.h> directly in all examples.
250 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
252 * src/hildon-sort-dialog.c
253 (hildon_sort_dialog_add_sort_key_with_sorting)
257 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
259 * src/Makefile.am: Move generated sources to CLEANFILES, so that
260 make distcheck passes.
262 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
264 * Makefile.am: Enable gtk-doc during distcheck.
266 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
268 * Makefile.am: Do not distribute the debian/ directory.
270 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
272 * doc/Makefile.am: Add the extra SGML files to content_files,
273 so that they are distributed properly.
275 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
277 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
280 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
282 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
283 (hildon_note_new_information_with_icon_name): Set the "icon" property
284 to preserve soundness.
286 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
288 * src/hildon-font-selection-dialog.c
289 (hildon_font_selection_dialog_set_property): Fail when the "family"
290 property is set to NULL.
292 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
294 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
297 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
299 * src/hildon-time-selector.h:
300 Added HildonTimeSelectorFormatPolicy
301 * src/hildon-time-selector.c:
302 Added PROP_TIME_FORMAT_POLICY
303 (_check_ampm_format): renamed to check_automatic_ampm_format
304 (update_format_policy), (update_format_dependant_columns): new functions
305 (hildon_time_selector_class_init)
306 (hildon_time_selector_contructor)
307 (hildon_time_selector_init)
308 (hildon_time_selector_get_property)
309 (hildon_time_selector_set_property)
310 (hildon_time_selector_get_time)
311 (hildon_time_selector_set_time)
312 * src/hildon-touch-selector.h: new file
313 * src/hildon-touch-selector.c
314 (hildon_touch_selector_emit_changed)
315 (hildon_touch_selector_block_changed)
316 (hildon_touch_selector_unblock_changed)
317 Added functions to allow to block the emission of the "changed" signal
318 * src/hildon-picker-dialog.c
319 (hildon_picker_dialog_show): call the parent show before the custom code
320 * examples/hildon-time-button-example.c
321 Modified, so now you can configure the time format using the new property
323 Added a new property "time-format-policy" that allow to choose the time
324 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
325 case it uses gconf in order to check if the time selector must use
328 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
331 2009-04-28 Alberto Garcia <agarcia@igalia.com>
333 * src/hildon-note.c (hildon_note_init):
334 Label in HildonNote must be left aligned, not centered. This
335 reverts the last commit in HildonNote.
337 Fixes: NB#112933 (text is not left aligned in confirmation dialog
338 is connectivity dialog)
340 2009-04-27 Alberto Garcia <agarcia@igalia.com>
345 * doc/hildon-sections.txt:
346 Added hildon_gtk_window_set_do_not_disturb()
348 2009-04-27 Alberto Garcia <agarcia@igalia.com>
350 * src/hildon-note.c (hildon_note_init): Center label.
352 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
355 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
360 * configure.ac: Bump version.
361 * debian/changelog: Updates.
363 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
365 * src/hildon-note-private.h: Add button-width to the private data.
366 * src/hildon-note.c (+resize_button),
367 (+hildon_note_orientation_update): methods to repack widgets on orientation
369 (screen_size_changed): Call above method for confirmation notes.
370 (hildon_note_realize): Always connect to the "screen-size" changed signal.
371 (hildon_note_rebuild): Store the original width request from buttons.
373 Fixes: NB#109635 (Confirmation notes do not support portrait)
375 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
377 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
378 when it is a progress note.
380 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
382 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
383 in the note, since there are no horizontally arranged contents.
385 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
387 * src/hildon-gtk.c (+set_flag): new generic method to
388 set/delay a flag setting in a window.
389 (hildon_gtk_window_set_progress_indicator):
390 (hildon_gtk_window_set_do_not_disturb),
391 (hildon_gtk_window_set_portrait_flags): use set_flag() to
392 avoid code redundance.
394 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
396 Based on a patch by Alberto Garcia (agarcia@igalia.com)
398 * src/hildon-gtk.c (set_clear_window_flag),
399 (do_set_progress_indicator), (do_set_do_not_disturb),
400 (do_set_portrait_flags),
401 (hildon_gtk_window_set_progress_indicator),
402 (hildon_gtk_window_set_do_not_disturb),
403 (hildon_gtk_window_set_portrait_flags):
404 Allow setting dnd-flag, progress indicator, and portrait flags
405 when the window is not realized.
407 2009-04-24 Alejandro G. Castro <alex@igalia.com>
409 * src/hildon-pannable-area.c,
410 * src/hildon-pannable-area.h: Add the hildon deprecated define to
411 the size request policy function and defines.
413 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
415 * doc/hildon-sections.txt: Add the new API.
416 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
417 method to set the portrait flags.
418 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
420 Fixes: NB#112328 (Adding helpers for setting portrait properties)
422 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
424 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
425 to allow using this method with other flags.
426 (hildon_gtk_window_set_progress_indicator): Update accordingly.
427 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
429 2009-04-22 Alberto Garcia <agarcia@igalia.com>
431 * src/hildon-touch-selector.c
432 (hildon_touch_selector_append_text_column):
433 Make the cell renderer use the smallest width possible.
435 Fixes: NB#108470 (Selected items in multiple selection are either
436 having a tick that is cut or not visible at all.)
438 2009-04-22 Alberto Garcia <agarcia@igalia.com>
440 * src/hildon-touch-selector.c
441 (hildon_touch_selector_append_text_column):
444 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
446 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
447 Use g_strdup_printf() instead of a fixed size buffer.
449 2009-04-21 Alberto Garcia <agarcia@igalia.com>
451 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
452 Close banners when a HildonAppMenu is popped up.
454 Fixes: NB#111027 (Title menu closed immediately if activated when
455 "Invalid e-mail address" banner is shown)
457 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
462 * configure.ac: Bump version.
463 * debian/changelog: Updates.
465 2009-04-20 Alberto Garcia <agarcia@igalia.com>
467 * src/hildon-banner.c (hildon_banner_realize):
468 Mark HildonBanner as supporting portrait mode.
469 Use GDK to set window properties insetad of direct Xlib calls.
471 Fixes: NB#111830 (HildonBanner should be marked as supporting
474 2009-04-20 Alberto Garcia <agarcia@igalia.com>
476 * src/hildon-note.c (hildon_note_rebuild):
477 Hide action area in information notes. Prevents text from being
478 slightly aligned to the left.
480 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
483 2009-04-20 Alberto Garcia <agarcia@igalia.com>
485 Patch by Mox Soini (ext-mox.soini@nokia.com)
487 * src/hildon-banner.c (hildon_banner_create_animation):
488 Use stylus-sized icons in animation banner.
490 Fixes: NB#111206 (stylus sized icon for animation banner)
492 2009-04-20 Alberto Garcia <agarcia@igalia.com>
496 (+hildon_gtk_window_set_do_not_disturb):
497 New API to set the do-not-disturb flag.
499 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
501 2009-04-20 Alberto Garcia <agarcia@igalia.com>
503 * examples/hildon-progress-indicator-example.c: Fix example
505 * src/hildon-gtk.c (set_clear_window_flag)
506 (hildon_gtk_window_set_progress_indicator):
507 Create a generic function for setting flags to a window.
508 Use GDK instead of direct Xlib calls.
510 2009-04-14 Alberto Garcia <agarcia@igalia.com>
512 * src/hildon-button.c (hildon_button_set_arrangement):
513 Due to NB#88126, if one of the labels is too long it will be
514 painted outside the button. The 'value' label is more likely to be
515 the longest one, so we change its packing options in order to
516 truncate it if necessary. As a side effect, the 'title' label will
517 no longer be truncated.
519 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
521 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
526 * configure.ac: Bump version.
527 * debian/changelog: Updates.
529 2009-04-13 Alejandro G. Castro <alex@igalia.com>
531 Deprecation of the hildon_pannable_area_set_size_request_policy
532 API, the only policy properly supported in gtk+ nowadays is the
535 * src/hildon-pannable-area.c,
536 (hildon_pannable_area_size_request): Added a workaround for the
537 size_request to avoid the problems of huge pixmaps in case someone
538 is still using the function.
539 * src/hildon-pannable-area.h: Deprecated the enum with the
542 Fixes: NB#110244 (Problems with the
543 hildon_pannable_area_set_size_request_policy API)
545 2009-04-08 Alejandro G. Castro <alex@igalia.com>
547 * src/hildon-pannable-area.c,
548 (hildon_pannable_area_init),
549 (hildon_pannable_area_size_request),
550 (hildon_pannable_area_style_set),
551 (hildon_pannable_draw_vscroll),
552 (hildon_pannable_draw_hscroll),
553 (hildon_pannable_area_check_scrollbars): Replaced area_width with
554 indicator_width to clarify the use of the attribute.
556 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
561 * configure.ac: Bump version.
562 * debian/changelog: Updates.
564 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
566 * src/hildon-picker-dialog.c
567 * src/hildon-touch-selector.c
568 Reverting the change that tried to avoid the hardcoded height on
569 the picker dialog, as causes problems on the hildon-touch-selector
572 Fixes: NB#110029 (selectors not scrolling to selected value)
574 2009-04-07 Alberto Garcia <agarcia@igalia.com>
576 * src/hildon-touch-selector.c: Fix typos
578 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
580 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
581 Use the event coordinates instead of gdk_window_get_pointer(). Also,
582 request more motions after using it.
584 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
586 * src/hildon-calendar.c (hildon_calendar_expose),
587 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
588 Remove unused variables.
590 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
592 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
595 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
597 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
598 Check the return value of gtk_tree_selection_get_selected()
601 2009-04-06 Alberto Garcia <agarcia@igalia.com>
603 * src/hildon-animation-actor.c
604 * src/hildon-button.c
606 * src/hildon-pannable-area.c
607 * src/hildon-picker-button.c
608 * src/hildon-program.c
609 * src/hildon-remote-texture.c
610 * src/hildon-text-view.c
611 * src/hildon-touch-selector.c
612 * src/hildon-window-stack.c
613 * src/hildon-window.c:
614 Add missing 'Since: 2.2' tags.
616 * doc/hildon-sections.txt:
617 Add some missing symbols.
619 * doc/hildon-docs.sgml:
620 New 'Other' section for HildonAnimationActor and
623 2009-04-06 Alberto Garcia <agarcia@igalia.com>
625 Patch by Iván Gómez (igomez@igalia.com)
629 * doc/hildon-docs.sgml
630 * doc/hildon-sections.txt
634 New chapters on using the Hildon library.
635 Updated the general structure of the reference manual.
636 Other minor documentation fixes.
638 * src/hildon-calendar-popup.c
639 * src/hildon-calendar.c
640 * src/hildon-controlbar.c
641 * src/hildon-date-editor.c
642 * src/hildon-dialog.c
643 * src/hildon-hvolumebar.c
644 * src/hildon-number-editor.c
645 * src/hildon-range-editor.c
646 * src/hildon-sort-dialog.c
647 * src/hildon-time-editor.c
648 * src/hildon-time-picker.c
649 * src/hildon-volumebar-range.c
650 * src/hildon-volumebar.c
651 * src/hildon-vvolumebar.c
652 * src/hildon-weekday-picker.c:
653 Add deprecation notes
655 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
656 Document 'horizontal-movement' and 'vertical-movement' signals.
658 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
663 * configure.ac: Bump version.
664 * debian/changelog: Updates.
666 2009-04-06 Alejandro G. Castro <alex@igalia.com>
668 * src/hildon-pannable-area.c,
669 (hildon_pannable_area_class_init): increased the minimum velocity.
670 (hildon_pannable_area_button_release_cb): Updated the
671 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
672 setup. Review the code to control that last event.
674 Fixes: NB#109790 (Releasing finger in pannable area easily causes
677 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
679 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
681 * src/hildon-get-password-dialog.c
682 (hildon_get_password_set_property),
683 (hildon_get_password_get_property), (create_contents):
684 * src/hildon-login-dialog-private.h:
685 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
686 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
687 (hildon_login_dialog_get_password):
688 * src/hildon-set-password-dialog-private.h:
689 * src/hildon-set-password-dialog.c
690 (hildon_set_password_set_property),
691 (hildon_set_password_get_property), (create_contents),
692 (hildon_set_password_response_change),
693 (hildon_set_password_response_set), (hildon_checkbox_toggled):
695 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
696 instead and look more Fremantle style.
698 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
700 2009-04-03 Alberto Garcia <agarcia@igalia.com>
702 * doc/hildon-sections.txt
703 * src/hildon-window-stack.h
704 * src/hildon-window-stack.c
705 (+hildon_window_stack_get_windows):
706 New API to obtain the list of windows on a stack.
708 2009-04-02 Alberto Garcia <agarcia@igalia.com>
710 * src/hildon-app-menu.c (hildon_app_menu_popup)
711 (hildon_app_menu_class_init, -hildon_app_menu_show):
712 Remove hildon_app_menu_show() and move all its checks to
713 hildon_app_menu_popup()
715 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
717 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
718 (_hildon_picker_dialog_set_selector): removed call to
719 gtk_widget_set_size_request
720 * src/hildon-touch-selector.c
721 (_create_new_column): change the pannable size request policy
723 Avoid to use a hardcoded height for the hildon picker dialog. In order
724 to get that, we needed to change the hildon pannable size request
726 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
728 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
730 * src/hildon-window.c (hildon_window_map): Check for vbox to be
731 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
734 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
736 * debian/control: Depend on osso-system-lock localization package.
737 * src/hildon-code-dialog.c: Obtain the secu_application_title
738 translation from osso-system-lock.
739 * src/hildon-get-password-dialog.c (create_contents): Do not mark
740 for translation the atk related strings, that's not necessary.
741 * src/hildon-set-password-dialog.c (create_contents): Ditto.
742 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
743 cancel button, it is not required.
745 2009-04-02 Alejandro G. Castro <alex@igalia.com>
747 * src/hildon-pannable-area.c,
748 (hildon_pannable_area_class_init): Modified the default value of
749 the overshooting max speed, we have reduced it.
751 2009-04-02 Alberto Garcia <agarcia@igalia.com>
753 * doc/hildon-sections.txt
754 * src/hildon-window-private.h
755 * src/hildon-window.h
756 * src/hildon-window.c (hildon_window_class_init)
757 (hildon_window_init, hildon_window_finalize)
758 (hildon_window_realize, hildon_window_get_property)
759 (hildon_window_set_property, hildon_window_update_markup)
760 (hildon_window_get_markup, hildon_window_set_markup):
761 New "markup" property and hildon_window_{get,set}_markup() methods.
763 * examples/hildon-stackable-window-example.c (new_window):
764 Update example to use hildon_window_set_markup()
766 Fixes: NB#106375 (Need API to retitle a window with a title
769 2009-04-01 Alejandro G. Castro <alex@igalia.com>
771 * src/hildon-pannable-area.c,
772 (hildon_pannable_area_class_init): Changed the default value of
773 the initial_hint to TRUE.
774 (hildon_pannable_area_initial_effect): Changed the initial effect,
775 not the effect is just the fade-out of the scrollbars.
777 Fixes: NB#107775 (No scrollbars can be seen when several items are
778 available in a dialog)
780 2009-04-01 Alberto Garcia <agarcia@igalia.com>
782 * src/hildon-program.c (hildon_program_update_top_most):
785 Fixes: NB#109179 (Memory leak in Hildon program)
787 2009-04-01 Alberto Garcia <agarcia@igalia.com>
789 * src/hildon-banner.c (-get_current_app_window):
790 Remove unused function.
792 2009-04-01 Alejandro G. Castro <alex@igalia.com>
794 * src/hildon-pannable-area.c: Modified the documentation of the
795 get adjustments functions to explain the problem of using the
797 (hildon_pannable_area_class_init): Improved the explanation about
800 2009-04-01 Alberto Garcia <agarcia@igalia.com>
802 * src/hildon-app-menu-private.h
803 * src/hildon-app-menu.c
804 (hildon_app_menu_class_init):
805 Bring back the 'external-border' style property
806 (hildon_app_menu_class_init, hildon_app_menu_init)
807 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
808 Set a fixed width-request for the menu, independent of the number
811 Fixes: NB#94957 (Smoothly opened application menu)
813 2009-03-30 Alberto Garcia <agarcia@igalia.com>
815 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
817 * src/hildon-banner.c
818 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
820 Make sure that the banner is correctly placed the first time it's
822 (hildon_banner_check_position, -check_fullscreen_state):
823 Show the banner in the same place no matter if the window is in
824 fullscreen mode or not.
826 Fixes: NB#107386 (Odd stacking behaviour for information banners)
828 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
830 * src/hildon-touch-selector.c (_default_print_func): reorder
831 concatenation for clarity.
833 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
835 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
836 for multicolumn selectors.
838 Fixes: NB#109099 (Memory leak in Hildon touch selector)
840 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
845 * configure.ac: Bump version.
846 * debian/changelog: Updates.
848 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
850 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
853 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
855 * configure.ac: removed libcangerra-gtk dependency
856 * debian/control: removed libcanberra-gtk dependency
857 * src/Makefile.am: removed libcanberra gtk related flags
858 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
859 context, and manage a global canberra context instead
861 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
863 2009-03-26 Alberto Garcia <agarcia@igalia.com>
865 Patch by Daniel Borgmann (danielb@openismus.com)
867 * src/hildon-edit-toolbar.c:
868 Adjust the left padding.
869 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
870 Paint background of the edit toolbar.
872 Fixes: NB#107897 (Patch to make editmodetoolbar background
873 themeable and adjust margin)
875 2009-03-25 Alberto Garcia <agarcia@igalia.com>
877 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
879 * src/hildon-program.c (hildon_program_update_top_most):
880 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
882 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
883 change when the user tasks in/out of an application)
885 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
887 * configure.ac: added libcangerra-gtk dependency
888 * debian/control: added libcanberra-gtk dependency
889 * src/Makefile.am: added libcanberra gtk related flags
890 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
893 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
895 2009-03-25 Alberto Garcia <agarcia@igalia.com>
897 * src/hildon-program.c (hildon_program_remove_window)
898 (hildon_program_add_window): Add checks for the window
899 parameter. Don't decrease the window counter if the window is not
902 2009-03-24 Alejandro G. Castro <alex@igalia.com>
904 * src/hildon-pannable-area.c,
905 (hildon_pannable_area_realize): Fixed position of the event_window
906 in the realize method.
908 2009-03-24 Alberto Garcia <agarcia@igalia.com>
910 * src/hildon-app-menu-private.h
911 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
912 (hildon_app_menu_map, hildon_app_menu_hide_idle)
913 (hildon_app_menu_key_press, hildon_app_menu_init)
914 (hildon_app_menu_finalize):
915 Make sure that all idle functions are removed when the widget is
918 Fixes: NB#107583 (Hildon app menu crashes in various applications)
920 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
925 * configure.ac: Bump version.
926 * debian/changelog: Updates.
928 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
931 (+hildon_entry_show_placeholder),
932 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
933 that replace hildon_entry_update_contents().
934 (hildon_entry_set_text),
935 (hildon_entry_set_placeholder),
936 (hildon_entry_focus_in_event),
937 (hildon_entry_focus_out_event): Determine when it is needed
938 either to show or hide the placeholder and call the above methods.
940 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
941 when the placeholder text is already set)
943 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
945 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
946 simple GdkPixbufAnim using the new icons for the banner.
947 (hildon_banner_show_animation): Use the above mentioned method to
948 create the animation widget.
950 Fixes: NB#103564 (Make hildon animation banner use individual
951 image files as the animation)
953 2009-03-24 Alejandro G. Castro <alex@igalia.com>
955 * src/hildon-pannable-area.c,
956 (hildon_pannable_leave_notify_event): Check if the child is NULL
957 to avoid sending the leave.
959 2009-03-24 Alejandro G. Castro <alex@igalia.com>
961 * src/hildon-pannable-area.c,
962 (hildon_pannable_area_class_init),
963 (hildon_pannable_leave_notify_event): Added a handler of the
964 leave-notify-signal to consider when no motion notify before
967 Fixes: NB#107494 (Items stay selected when clicking and moving
968 away when inside pannable area)
970 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
975 * configure.ac: Bump version.
976 * debian/changelog: Updates.
978 2009-03-19 Alejandro G. Castro <alex@igalia.com>
980 Patch by Alberto Garcia (agarcia@igalia.com)
982 * src/hildon-date-button.c,
983 (hildon_date_button_class_init),
984 (hildon_date_button_init): Removed the construct property handling
985 and created a default selector in the init method.
986 * src/hildon-picker-button.c,
987 (hildon_picker_button_class_init): Removed the construct flag of the
990 2009-03-18 Alberto Garcia <agarcia@igalia.com>
992 * src/hildon-main.c (hildon_init):
993 Don't allow hildon_init() to be called more than once.
995 Fixes: NB#106607 (hildon_init should issue error message upon
998 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
1000 * examples/hildon-pannable-area-touch-list-example.c
1001 * examples/hildon-pannagle-area-touch-grid-example.c
1002 * examples/hildon-edit-toolbar-example.c
1003 * examples/hildon-touch-selector-multi-cells-example.c
1004 Removed the call to gtk_rc_parse_string, as it is not required since
1007 2009-03-17 Alejandro G. Castro <alex@igalia.com>
1009 * src/hildon-pannable-area.c,
1010 (hildon_pannable_area_class_init): Modified the default panning
1011 threshold of the widget to 6px.
1013 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
1014 than the threshold value ) within the button is not sending the
1017 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1019 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
1020 for the treeview in the new column. This way, the touch list will never
1023 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
1024 be selected manually for the HW keys to work)
1026 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1028 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
1029 comparison instead of using strcmp(). Fixes a compiler warning as well.
1031 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1033 * doc/hildon-docs.sgml: Do not set the library version in the
1034 document title, use the releaseinfo tag for that purpose instead.
1036 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1038 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
1039 Do not jump to the first item if the text in the entry is removed.
1041 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1046 * configure.ac: Bump version.
1047 * debian/changelog: Updates.
1049 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1051 * src/hildon-entry.c (hildon_entry_refresh_contents):
1052 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
1053 Use "ReversedSecondaryTextColor" for the placeholder text.
1055 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1057 * src/hildon-text-view.c: Fix compilation warning.
1059 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1061 * src/hildon-button.c (hildon_button_class_init): Don't make
1062 "title" and "value" construction properties, to prevent them from
1063 overwriting labels set from derived classes.
1065 * src/hildon-picker-button.c
1066 (hildon_picker_button_set_selector): Allow setting a NULL selector.
1067 (hildon_picker_button_class_init): Make touch-selector a
1068 construction property.
1070 * src/hildon-date-button.c (hildon_date_button_class_init)
1071 (+hildon_date_button_constructed): Add a default date selector if
1074 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1076 * src/hildon-touch-selector.c: Small documentation fixes.
1078 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1080 Based on a patch by Daniel Borgmann (danielb@openismus.com)
1082 * src/hildon-entry.c (hildon_entry_refresh_contents),
1083 (hildon_entry_get_text), (hildon_entry_init): Do not use the
1084 widget name, set the logical color directly instead and a boolean
1085 showing_placeholder instead.
1086 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
1087 use the widget name here either.
1089 Fixes: NB#105678 (HildonTextView should use logical colours
1090 instead of setting widget name)
1092 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1094 Patch by Daniel Elster (danielk@openismus.com)
1096 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
1097 Add user_data parameter.
1098 (hildon_touch_selector_set_print_func_full): New function akin
1099 hildon_touch_selector_set_print_func() but with support for user
1100 data and a destroy callback.
1101 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
1102 to clean up the print function user data.
1103 (hildon_touch_selector_class_init): Install dispose function.
1104 (HildonTouchSelectorPrivate::print_user_data),
1105 (HildonTouchSelectorPrivate::print_destroy_func): New private
1107 (hildon_touch_selector_init): Initialize new private members.
1108 (hildon_touch_selector_get_current_text): Pass along user data
1109 to the print function.
1110 (_default_print_func): Add dummy user_data to parameter list.
1111 * hildon-date-selector.c (_custom_print_func): ditto,
1112 * hildon-time-selector.c (_custom_print_func): ditto,
1113 * hildon-touch-selector-entry.c
1114 (hildon_touch_selector_entry_print_func): ditto.
1116 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
1118 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1120 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
1122 2009-03-12 Alejandro G. Castro <alex@igalia.com>
1124 * src/hildon-pannable-area.c,
1125 (hildon_pannable_area_init),
1126 (hildon_pannable_area_button_press_cb),
1127 (hildon_pannable_area_motion_notify_cb): We have added code to
1128 handle the leave and enter events when using the motion events.
1130 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
1132 2009-03-11 Alberto Garcia <agarcia@igalia.com>
1134 * src/hildon-date-button.c (hildon_date_button_get_date)
1135 (hildon_date_button_set_date): Make sure that the button has a
1138 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
1140 2009-03-11 Alejandro G. Castro <alex@igalia.com>
1142 * src/hildon-pannable-area.c,
1143 (hildon_pannable_area_class_init),
1144 (hildon_pannable_area_calculate_velocity): Modify the use of the
1145 force and adapt the value.
1147 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1149 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
1150 (hildon_app_menu_class_init): Hide the menu if it receives a
1151 delete-event, but don't destroy it
1153 Fixes: NB#104485 (Not able to address the call when application
1154 menu is opened at background)
1156 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1158 * src/hildon-app-menu.c
1159 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1160 Remove the "external-border" style property, let the menu take its
1161 natural size (or the one set by the window manager)
1162 (hildon_app_menu_repack_items):
1163 Don't reshow the menu, avoid flickers.
1165 Partially fixes NB#94957 (Smoothly opened application menu)
1167 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
1172 * configure.ac: Bump version.
1173 * debian/changelog: Updates.
1175 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1177 * src/hildon-pannable-area.c,
1178 (hildon_pannable_area_motion_notify_cb): We control that the
1179 direction error margin is used just in case the movement is
1180 allowed in the other direction.
1182 Fixes: NB#105012 (buttons inside a pannable area not getting
1183 release event when dragging/releasing)
1185 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1187 * src/hildon-pannable-area.c,
1188 (hildon_pannable_area_class_init),
1189 (hildon_pannable_area_get_property),
1190 (hildon_pannable_area_set_property),
1191 (hildon_pannable_area_initial_effect),
1192 (hildon_pannable_axis_scroll),
1193 (hildon_pannable_area_button_release_cb): Reviewed the
1194 overshooting effect, now it has its own max
1195 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
1196 speed when bouncing.
1198 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
1203 * configure.ac: Bump version.
1204 * debian/changelog: Updates.
1206 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1208 * src/hildon-pannable-area.c,
1209 (hildon_pannable_area_class_init): Changed the max speed, now
1210 users can launch the widget very fast. Reduced the default force,
1211 that way it is easier to control the launch speed.
1213 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1215 * src/hildon-pannable-area.c,
1216 (hildon_pannable_area_button_release_cb): Removed this check
1217 because it causes problems when the device is overloaded.
1219 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1221 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1222 add a current_text field to store the text entered in the
1223 touch selector entry.
1224 (_clean_current_selection): clean up the current text as well.
1225 (_save_current_selection), (_restore_current_selection):
1226 Save/restore the text in the entry if the selector is a
1227 HildonTouchSelectorEntry.
1229 Fixes: NB#102541 (value entered in the touch selector entry is not
1230 shown when opened for second time)
1232 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1234 * doc/hildon-sections.txt:
1235 * src/hildon-touch-selector-entry.c
1236 (+hildon_touch_selector_entry_get_entry):
1237 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
1239 Fixes: NB#104815 (I need accessor to the entry inside
1240 HildonTouchSelectorEntry)
1242 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1244 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
1245 (hildon_app_menu_class_init):
1246 New "filter-vertical-spacing" style property.
1248 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1250 * src/hildon-find-toolbar.c
1251 (hildon_find_toolbar_emit_close)
1252 (hildon_find_toolbar_emit_invalid_input)
1253 (hildon_find_toolbar_entry_activate):
1254 Use g_signal_emit() instead of g_signal_emit_by_name()
1256 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1258 Patch by Mox Soini (ext-mox.soini@nokia.com)
1260 * tests/TEST-CASES.txt
1261 * tests/check-hildon-banner.c
1262 * tests/check-hildon-note.c
1263 * src/hildon-banner.c
1264 * src/hildon-code-dialog.c
1265 * src/hildon-date-editor.c (real_set_calendar_icon_state)
1266 * src/hildon-time-editor.c
1267 * examples/hildon-lookup-example.c (main):
1268 Replace obsolete icon names with new ones.
1270 * src/hildon-find-toolbar-private.h:
1271 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
1272 (-hildon_find_toolbar_emit_search):
1273 Remove find button and change icon of close button.
1275 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
1277 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1279 * src/hildon-time-button.c (hildon_time_button_new_step):
1280 Use the "touch-selector" property to set the selector directly
1281 when creating the object.
1283 2009-03-05 Alejandro G. Castro <alex@igalia.com>
1285 Added a new example application that allows tuning the pannable
1286 area and replaced defines with properties in order to simplify the
1287 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
1288 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
1289 PROP_DIRECTION_ERROR_MARGIN.
1291 * examples/hildon-pannable-area-tuning-example.c: New example
1293 * src/hildon-pannable-area.c,
1294 (hildon_pannable_area_class_init),
1295 (hildon_pannable_area_init),
1296 (hildon_pannable_area_get_property),
1297 (hildon_pannable_area_set_property),
1298 (hildon_pannable_area_launch_fade_timeout),
1299 (hildon_pannable_area_adjust_value_changed),
1300 (hildon_pannable_axis_scroll),
1301 (hildon_pannable_area_motion_notify_cb),
1302 (hildon_pannable_area_scroll_cb),
1303 (hildon_pannable_area_button_release_cb): We have converted some
1304 of the defines that control the widget to properties to simplify
1307 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1309 * src/hildon-app-menu.c (hildon_app_menu_map)
1310 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
1311 so it's closed if a new window appears.
1313 Fixes: NB#104485 (Not able to address the call when application
1314 menu is opened at background)
1316 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1318 * src/hildon-color-button.c (hildon_color_button_get_property):Add
1319 missing 'break' statement in in 'case' construct to avoid
1322 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1324 * src/hildon-touch-selector-entry.c
1325 (hildon_touch_selector_entry_get_property),
1326 (hildon_touch_selector_entry_set_property): Add missing 'break'
1327 statements in in 'case' constructs to avoid incorrect warnings.
1329 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1331 * src/hildon-time-editor.c
1332 (hildon_time_editor_get_time_separators): Do not crash if
1333 the first label is NULL.
1335 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1337 * src/hildon-date-selector.c (_month_days): Check for month to be
1338 strictly less than 12, since otherwise we may overrun the array.
1340 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1342 * src/hildon-date-button.c (+hildon_date_button_new_full)
1343 (hildon_date_button_new, hildon_date_button_new_with_year_range)
1344 (hildon_date_button_init): Set the date selector using a
1345 construction property, to make it happen after HildonButton's
1346 "value" property is set.
1348 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
1349 current date by default)
1351 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1353 * doc/hildon-sections.txt
1354 * src/hildon-program.c
1355 * src/hildon-stackable-window.c
1356 * src/hildon-window.c:
1357 Documentation updates
1359 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1361 * src/hildon-window-stack.c (hildon_window_stack_get_default)
1362 (hildon_window_stack_new, +hildon_window_stack_set_property)
1363 (+hildon_window_stack_get_property)
1364 (hildon_window_stack_class_init)
1365 (+hildon_window_stack_set_window_group)
1366 (+hildon_window_stack_get_window_group):
1367 Make the window group a construction property.
1369 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1371 * doc/hildon-sections.txt
1372 * src/hildon-stackable-window-private.h
1373 * src/hildon-stackable-window.h
1374 * src/hildon-stackable-window.c
1375 (-hildon_stackable_window_set_app_menu)
1376 (-hildon_stackable_window_get_app_menu)
1377 (-hildon_stackable_window_toggle_menu)
1378 (-hildon_stackable_window_finalize)
1379 (hildon_stackable_window_class_init)
1380 (hildon_stackable_window_init)
1381 * src/hildon-window-private.h
1382 * src/hildon-window.h
1383 * src/hildon-window.c (hildon_window_init)
1384 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
1385 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
1386 (hildon_window_get_main_menu, hildon_window_set_main_menu)
1387 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
1388 Moved all HildonAppMenu code to HildonWindow. The menu does not
1389 require a HildonStackableWindow anymore.
1391 * src/hildon-app-menu.c
1392 * src/hildon-program.c
1393 * examples/hildon-app-menu-example.c (main):
1394 Update examples and documentation to reflect HildonAppMenu
1397 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1399 * src/hildon-remote-texture.c
1400 * src/hildon-animation-actor.c:
1401 Don't include unused private headers.
1403 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1405 * src/hildon-program-private.h
1406 * src/hildon-program.c
1407 (hildon_program_set_common_menu)
1408 (hildon_program_get_common_menu)
1409 (hildon_program_set_common_app_menu)
1410 (hildon_program_get_common_app_menu):
1411 Change common menu pointers from GtkWidget* to GtkMenu* and
1412 HildonAppMenu* to avoid unnecessary casts.
1414 2009-03-03 Alberto Garcia <agarcia@igalia.com>
1416 * src/hildon-window.c (hildon_window_set_main_menu):
1417 Removed incorrect 'Since:' tag
1419 2009-03-03 Alejandro G. Castro <alex@igalia.com>
1421 * src/hildon-pannable-area.c,
1422 (hildon_pannable_area_calculate_velocity): We use now the
1423 RATIO_TOLERANCE here to check the distance, fixed typo in the
1425 (hildon_pannable_area_motion_notify_cb): We have to set the type
1426 and time even if we are not sending the motion.
1428 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1430 * doc/hildon-sections.txt
1431 * src/hildon-app-menu.h
1432 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
1433 (+hildon_app_menu_get_filters): New methods to get the contents of
1436 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
1439 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1441 * src/hildon-app-menu.c (hildon_app_menu_popup):
1444 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1446 * src/hildon-window.h
1447 * src/hildon-window.c (+hildon_window_get_main_menu)
1448 (hildon_window_get_menu): Created hildon_window_get_main_menu()
1449 and deprecated hildon_window_get_menu().
1451 * src/hildon-stackable-window.h
1452 * src/hildon-stackable-window.c
1453 (+hildon_stackable_window_set_app_menu)
1454 (+hildon_stackable_window_get_app_menu)
1455 (hildon_stackable_window_set_main_menu): Created
1456 hildon_stackable_window_{get,set}_app_menu() and deprecated
1457 hildon_stackable_window_set_main_menu().
1459 * doc/hildon-sections.txt
1460 * examples/hildon-app-menu-example.c (main)
1461 * src/hildon-app-menu.c
1462 * src/hildon-program.c:
1463 Updated examples and documentation.
1465 Fixes: NB#103758 (No way to obtain a menu from a
1466 HildonStackableWindow)
1468 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1473 * configure.ac: Bump version.
1474 * debian/changelog: Updates.
1476 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1478 * examples/hildon-remote-texture-example.c: Include
1479 hildon-remote-texture.h explicitely.
1480 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
1481 applications not defining _XOPEN_SOURCE which don't require this header.
1483 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1485 * doc/hildon-sections.txt
1486 * src/hildon-app-menu.h
1487 * src/hildon-app-menu.c (+hildon_app_menu_popup):
1488 New function to pop up a HildonAppMenu
1490 * src/hildon-stackable-window.c
1491 (hildon_stackable_window_toggle_menu):
1492 Use hildon_app_menu_popup() to show the menu.
1494 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1496 * src/hildon-app-menu.c (hildon_app_menu_show)
1497 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
1498 menu if there's another window between it and its parent window.
1500 Fixes: NB#100468 (Application menu window is launched even when a
1501 new secondary-window/dialog is pending to be shown/realized)
1503 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1505 * src/hildon-window-stack.c (hildon_window_stack_push)
1506 (hildon_window_stack_pop_and_push):
1507 Don't forget to push/pop the first window.
1508 Reverse the window list before calling _push_list()
1510 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1512 * src/hildon-picker-button.h
1513 * src/hildon-picker-button.c (hildon_picker_button_class_init):
1514 Remove "value_changed" slot to avoid ABI breakage
1516 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1518 * src/hildon-pannable-area.c,
1519 (hildon_pannable_area_realize),
1520 (hildon_pannable_area_unrealize),
1521 (hildon_pannable_draw_vscroll),
1522 (hildon_pannable_draw_hscroll): Changed the method to handle the
1523 GC used to draw the transparent scrollbar, this way we avoid
1524 creating the GC all the time when drawing the scrollbars.
1526 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1528 * src/hildon-pannable-area.c,
1529 (hildon_pannable_area_init),
1530 (hildon_pannable_area_remove): Removed some unnecessary casts.
1531 (hildon_pannable_area_dispose): Disconnected some signals before
1532 releasing the adjustments.
1534 2009-02-26 Alberto Garcia <agarcia@igalia.com>
1536 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1537 Make sure that all widgets contained in the toolbar are shown.
1539 2009-02-25 Alberto Garcia <agarcia@igalia.com>
1541 * doc/hildon-sections.txt
1542 * src/hildon-picker-button.h
1543 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
1544 (_selection_changed, hildon_picker_button_on_dialog_response)
1545 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
1546 New hildon_picker_button_value_changed() method.
1549 * src/hildon-picker-button-private.h
1550 * src/hildon-picker-button.c (hildon_picker_button_init)
1551 (+hildon_picker_button_disable_value_changed): Add protected
1552 function for disabling the "value-changed" signal.
1554 * src/hildon-date-button.c (hildon_date_button_set_date):
1555 Don't emit "value-changed" for each one of the three columns.
1557 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
1558 before actual change of values)
1560 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1562 * src/hildon-pannable-area.c,
1563 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
1564 for the treeview overshooting.
1566 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1568 * src/hildon-banner.c (+hildon_banner_bind_style):
1569 Renamed from hildon_banner_bind_label_style(), now naming the
1570 banner itself as well.
1571 (hildon_banner_show_information),
1572 (hildon_banner_show_information_with_markup),
1573 (hildon_banner_show_animation), (hildon_banner_show_progress):
1574 Name the widgets and labels, based on their type.
1576 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1579 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1581 * src/hildon-note.c (hildon_note_set_property): call
1582 hildon_note_rename() on HildonNote:note-type set.
1583 (hildon_note_rename): Name the note and its label, based on the
1584 HildonNote:note-type property.
1586 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1589 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1591 * src/hildon-pannable-area.c,
1592 (hildon_pannable_area_class_init),
1593 (hildon_pannable_area_motion_notify_cb): Reviewed the default
1594 panning parameters, increased SPS and deceleration factor. Added
1595 also a margin to control fake directions.
1597 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1599 Patch by Sven Herzberg (sven@imendio.com)
1601 * configure.ac: Add missing AM_PROG_CC_C_0
1602 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
1604 See NB#101420 (Update unit tests and fix make check)
1606 2009-02-23 Alejandro G. Castro <alex@igalia.com>
1608 This patch was applied before but reverted because it caused
1609 problems, we have changed the main condition and tested the
1610 regressions we detected before and they work ok. We have done a
1611 complete review of the topmost algorithm in order to get a more
1614 * src/hildon-pannable-area.c,
1615 (hildon_pannable_area_get_topmost): Added a new parameter to
1616 filter the the windows that do not include those events.
1617 (hildon_pannable_area_button_press_cb),
1618 (hildon_pannable_area_button_release_cb),
1619 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1620 topmost function, we have added the new parameter.
1622 Fixes: NB#97458 (Pannable area prevents propagation of button
1625 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1627 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
1628 if all columns in the selector have an item selected.
1629 (_on_dialog_response): Stop "response" signal emission if there is
1630 any selector column without selected items.
1632 Fixes: NB#101889 (Picker dialog should not close when nothing is
1633 selected in multiple selection list)
1635 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1637 * src/hildon-font-selection-dialog.c
1638 (hildon_font_selection_dialog_class_init),
1639 (hildon_font_selection_dialog_init): Remove the preview
1640 button and dialog, since previewing with default theming is likely
1641 to be overcomplicated. The :preview property has now no effect.
1642 Update documentation blurbs to inform about this.
1644 Fixes: NB#92297 (Preview content is not clearly visible for
1645 default colour text)
1647 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1649 Reviewed the geometry that handles the children size and
1650 scrollbar, now it tries a size and reviews the results depending
1651 on the scrollbars visibility.
1653 * src/hildon-pannable-area.c,
1654 (hildon_pannable_area_realize): Fixed a typo.
1655 (hildon_pannable_area_child_allocate_calculate): Added this
1656 function to calculate the child allocation.
1657 (hildon_pannable_area_size_allocate): Reviewed the allocation
1659 (hildon_pannable_area_check_scrollbars),
1660 (hildon_pannable_area_refresh): Refactored refresh function, this
1661 way we can call the code handling the scrollbars without causing a
1662 size_request, it is interesting in the allocate.
1663 (hildon_pannable_area_init): Replace the callbacks of the
1664 value_changed and changed signals to propertly deal with the
1666 (hildon_pannable_area_grab_notify),
1667 (hildon_pannable_area_initial_effect),
1668 (hildon_pannable_area_launch_fade_timeout),
1669 (hildon_pannable_area_adjust_changed),
1670 (hildon_pannable_area_adjust_value_changed),
1671 (hildon_pannable_area_redraw),
1672 (hildon_pannable_area_button_press_cb),
1673 (hildon_pannable_area_button_release_cb),
1674 (hildon_pannable_area_scroll_cb),
1675 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
1676 code and use the new functions adjust_changed and
1677 adjust_value_changed.
1679 Fixes: NB#101603 (Focus is not even for the text entry boxes in
1680 Contact editor dialog)
1682 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
1687 * configure.ac: Bump version.
1688 * debian/changelog: Updates.
1690 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1692 * src/hildon-pannable-area.c,
1693 (hildon_pannable_area_get_topmost),
1694 (hildon_pannable_area_button_press_cb),
1695 (hildon_pannable_area_button_release_cb),
1696 (hildon_pannable_get_child_widget_at): Reverted the patch for the
1697 topmost function adding the event mask. We have to try a
1698 differente approach because it is still causing problems (NB#9745,
1701 2009-02-19 Alberto Garcia <agarcia@igalia.com>
1703 * src/hildon-banner.c:
1704 Update the maximum width of timed banners.
1705 (force_to_wrap_truncated): Enforce the maximum text width if the
1708 Fixes: NB#102413 (The text margins (wrapping) in information
1709 banner should be HILDON_MARGIN_TRIPLE)
1711 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1713 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
1715 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
1716 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
1717 bound when calculating the scroll indicator position.
1719 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
1720 treat ->lower correctly)
1722 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1724 * src/hildon-caption.c (hildon_caption_class_init): Remove the
1725 expose event handling, since it is not necessary to draw the focus
1728 Fixes: NB#102467 (Do not show highlight on the text in
1731 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1733 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
1734 full height of the toolbar for the button and the label.
1736 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1738 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
1739 padding before the label and after the button.
1741 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1743 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
1745 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1746 Add a GtkVSeparator between the button and the back arrow.
1747 Let the button have automatic size.
1748 Set a name to the widget for theming handling.
1750 Fixes: NB#101793 (Make edit toolbar the same height as window
1751 title bar (use title area theming))
1753 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1755 * src/hildon-helper.c (attach_new_color_element): Fix memory
1758 Fixes: NB#102262 (memory leak in hildon_button_set_style())
1760 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1762 * examples/hildon-button-example.c (common_buttons_window): Don't
1765 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1767 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1768 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
1770 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1772 * src/hildon-gtk.c: Check that the window is realized.
1774 Fixes: NB#102225 (Crash setting the progress indicator to a non
1777 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1779 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
1780 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
1781 instead of modifying the one in the widget style.
1783 Fixes: NB#101043 (Second row of all the command button are
1784 displayed in transparent mode.)
1786 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1788 * src/hildon-date-button.c
1789 * src/hildon-time-button.c: Add gettext macros
1791 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
1793 * src/hildon-date-button.c (hildon_date_button_new):
1794 * src/hildon-time-button.c (hildon_time_button_new_step):
1795 Use new logical strings to set the button default title.
1797 Fixes: NB#99915 (Date and Time options are not localised in Date
1800 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1802 * src/hildon-pannable-area.c
1803 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
1804 the PANNING_THRESHOLD.
1806 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1808 * src/hildon-pannable-area.c,
1809 (hildon_pannable_area_class_init): Increased the maximum speed.
1810 (hildon_pannable_area_get_property),
1811 (hildon_pannable_area_set_property),
1812 (hildon_pannable_area_timeout): Added a new low friction mode, it
1813 allows the user avoid friction when launching the widget fast
1814 enough. It is interesting to traverse long lists.
1816 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1818 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
1819 (+hildon_stackable_window_delete_event): Ignore delete events if
1820 the window is not the topmost one.
1822 Fixes: NB#101698 (Back button long press and delete-event handling)
1824 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1826 * src/hildon-pannable-area.c,
1827 (hildon_pannable_area_motion_notify_cb): Removed the use of the
1828 gtk-dnd-drag-threshold, it was too big. We have defined our own
1829 dnd define and set a smaller value: PANNIG_THRESHOLD.
1831 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1833 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
1834 user-defined icons, use always the default one.
1836 Fixes: NB#101916 (Do not allow custom icons on animation banner)
1838 2009-02-13 Alejandro G. Castro <alex@igalia.com>
1840 This patch was applied before but reverted because it caused
1841 problems, we have changed the main condition and tested the
1842 regressions we detected before and they work ok.
1844 * src/hildon-pannable-area.c,
1845 (hildon_pannable_area_get_topmost): Added a new parameter to
1846 filter the the windows that do not include those events. Added
1847 also a condition when finding the window to filter windows that do
1848 not ask for those events.
1849 (hildon_pannable_area_button_press_cb),
1850 (hildon_pannable_area_button_release_cb),
1851 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1852 topmost function, we have added the new parameter.
1854 Fixes: NB#97458 (Pannable area prevents propagation of button
1857 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1859 * tests/check-hildon-color-button.c (START_TEST): do not leak
1862 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1864 * src/hildon-font-selection-dialog.c
1865 (hildon_font_selection_dialog_get_preview_text): Return NULL
1866 instead of FALSE on the g_return_val_if_fail().
1868 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1870 * src/hildon-time-selector.c (hildon_time_selector_set_time):
1871 * src/hildon-date-selector.c
1872 (hildon_date_selector_select_current_date):
1873 Do not compare unsigned integers to be greater than or equal 0,
1874 because it's always TRUE.
1876 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1878 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
1879 (hildon_date_selector_constructor): Do not select the current
1880 date until we are handle the "changed" signal, to avoid having bogus
1881 elements in the days model.
1883 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1885 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
1886 for num_days, since _month_days() can return a negative value.
1888 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1890 * src/hildon-caption.c (hildon_caption_size_allocate):
1891 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
1892 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
1894 Initialize allocation variables to 0, to avoid eventually using
1895 unitialized variables.
1897 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1899 * src/hildon-bread-crumb-trail.c
1900 (hildon_bread_crumb_trail_size_allocate):
1901 * src/hildon-calendar.c (hildon_calendar_set_background):
1902 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
1903 * src/hildon-range-editor.c (hildon_range_editor_get_range):
1904 * src/hildon-seekbar.c (hildon_seekbar_init):
1905 * src/hildon-time-editor.c (hildon_time_editor_get_time):
1906 * src/hildon-time-selector.c (hildon_time_selector_finalize):
1907 * src/hildon-touch-selector-entry.c
1908 (hildon_touch_selector_get_text_from_model):
1909 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
1910 * src/hildon-window.c (hildon_window_finalize):
1912 Remove many unused variables.
1914 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1916 * src/hildon-seekbar.c: (hildon_seekbar_init),
1917 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
1919 Remove unnecessary g_assert() calls.
1921 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1923 * src/hildon-caption.c: (hildon_caption_expose),
1924 (hildon_caption_set_property), (hildon_caption_init),
1925 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
1926 (hildon_caption_size_request), (hildon_caption_size_allocate),
1927 (hildon_caption_forall), (hildon_caption_set_separator),
1928 (hildon_caption_activate), (hildon_caption_set_child_expand),
1929 (hildon_caption_set_label_text),
1930 (hildon_caption_get_label_alignment):
1932 Remove unnecessary g_assert() calls.
1934 2009-02-12 Alberto Garcia <agarcia@igalia.com>
1936 * src/hildon-banner.c
1937 (hildon_banner_map, hildon_banner_init): Make banner temporary
1938 before mapping it to avoid closing other temporary windows, but
1939 make it non-temporary afterwards to avoid being closed by other
1940 non-temporary windows.
1941 (-hildon_banner_client_event, hildon_banner_init):
1942 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
1944 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
1947 2009-02-11 Alberto Garcia <agarcia@igalia.com>
1949 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
1952 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1954 * src/hildon-remote-texture.c
1955 * src/hildon-remote-texture.h
1956 * src/hildon-remote-texture-private.h
1957 * examples/hildon-remote-texture-example.c:
1958 Updates/fixes to remote-texture and its example.
1960 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
1962 Patch by Mox Soini (ext-mox.soini@nokia.com)
1964 * src/hildon-code-dialog.c: Update logical id.
1965 * src/hildon-set-password-dialog.c: Update logical id.
1967 Fixes: NB#100646 (Logical strings is shown for ok in set
1968 password,Password needed dialogs)
1970 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1973 * src/hildon-remote-texture.c
1974 * src/hildon-remote-texture.h
1975 * src/hildon-remote-texture-private.h
1977 Added remote texture widget (for Clutter shared memory textures)
1979 * examples/hildon-remote-texture-example.c
1980 * examples/Makefile.am
1981 Added example file for remote texture usage
1983 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
1985 * configure.ac: post release version bump.
1986 * debian/changelog: version bump.
1988 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
1993 * configure.ac: Bump version.
1994 * debian/changelog: Updates.
1996 2009-02-06 Alberto Garcia <agarcia@igalia.com>
1998 * src/hildon-date-selector.c (hildon_date_selector_init)
1999 (hildon_date_selector_constructor): Don't connect to the "changed"
2000 signal until the selector is completely constructed.
2002 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2004 * src/hildon-touch-selector.c: (_create_new_column),
2005 (hildon_touch_selector_append_column),
2006 (hildon_touch_selector_set_column_selection_mode),
2007 (hildon_touch_selector_set_active),
2008 (hildon_touch_selector_select_iter):
2009 Emit the HildonTouchSelector::changed signal every time selection
2010 is changed in any of the methods above. This behavior was already
2011 documented but not fully functional.
2013 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
2014 selection is programmatically changed)
2016 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2018 * doc/hildon-sections.txt: Remove obsolete icon
2019 sizes from here as well.
2021 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2023 * examples/hildon-stackable-window-example.c (add_window): Remove
2026 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2028 * src/hildon-app-menu.c
2029 (hildon_app_menu_show): Check whether the parent window of a menu
2030 is topmost before popping it up.
2032 Fixes: NB#100468 (Application menu window is launched even when a
2033 new secondary-window/dialog is pending to be shown/realized.)
2035 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2037 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
2040 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2042 Patch by Mox Soini (ext-mox.soini@nokia.com)
2044 * src/hildon-banner.c: (hildon_banner_show_animation):
2045 use stylus size instead of obsolete note size.
2046 * src/hildon-defines.h: Update icon sizes.
2048 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2050 * src/hildon-touch-selector-entry.c:
2051 (hildon_touch_selector_entry_init): Disable unsupported
2053 (hildon_touch_selector_entry_get_text_column): Emit a warning
2054 if an unsupported input modes is used and explicitile state
2055 these modes in the documentation.
2057 Fixes: NB#99802 (Hildon touch selector entry not working properly
2058 for some of the input modes)
2060 2009-02-05 Alejandro G. Castro <alex@igalia.com>
2062 * src/hildon-pannable-area.c,
2063 (hildon_pannable_area_init): Added the changed signal handlers of
2066 Fixes: NB#100320 (HildonPannableArea does not listen to
2067 GtkAdjustment "change" signals)
2069 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2071 * doc/hildon-sections.txt
2072 * src/hildon-window-private.h
2073 * src/hildon-window.h
2074 * src/hildon-window.c (hildon_window_init)
2075 (hildon_window_realize, hildon_window_unrealize)
2076 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
2077 (hildon_window_size_request, hildon_window_size_allocate)
2078 (hildon_window_forall, hildon_window_show_all)
2079 (hildon_window_destroy, +paint_edit_toolbar)
2080 (+hildon_window_set_edit_toolbar):
2081 New hildon_window_set_edit_toolbar() method, to add a
2082 HildonEditToolbar to a window without having to pack it manually.
2084 Reorganize hildon_window_size_allocate()
2086 * src/hildon-edit-toolbar.c: Update documentation.
2088 * examples/hildon-edit-toolbar-example.c (edit_window): Update
2089 example to use the new API.
2091 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
2093 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2095 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
2096 Remove from stack before calling parent's hide.
2098 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2100 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
2101 window is removed from the middle of the stack, update the
2102 transiency of the previous one.
2104 Fixes: NB#100487 (HildonStackableWindow transiency becomes
2107 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2109 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
2110 block/unblock the signal handler if it's not actually being used.
2111 Fixes some critical warnings.
2113 2009-02-02 Alberto Garcia <agarcia@igalia.com>
2115 Based on a patch by Iván Gómez (igomez@igalia.com)
2117 * src/hildon-banner.c
2121 * src/hildon-pannable-area.c
2122 * src/hildon-picker-dialog.c
2123 * src/hildon-wizard-dialog.h
2124 * src/hildon-wizard-dialog.c: Documentation updates.
2126 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
2127 gtk_dialog_add_button() instead of hildon_dialog_add_button().
2129 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2131 * configure.ac: post release version bump.
2132 * debian/changelog: version bump.
2134 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2139 * configure.ac: Bump version.
2140 * debian/changelog: Updates.
2142 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2144 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
2145 a stock icon nor change the relief of the back arrow.
2147 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2148 graphics from theme)
2150 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2152 * src/hildon-button.c (hildon_button_set_alignment): Use
2153 priv->alignment if the button has no child yet.
2155 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
2157 * src/hildon-button.c: (hildon_button_init): Set the
2158 button style during initialization to give it the proper
2161 Fixes: NB#99713 (HildonButton value label color is wrong)
2163 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2165 * src/hildon-touch-selector.c: Document
2166 hildon_touch_selector_center_on_selected()
2168 2009-01-28 Alberto Garcia <agarcia@igalia.com>
2170 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
2171 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
2172 all menu items, but not the menu itself.
2173 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
2174 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
2175 items after adding them to the menu so keyboard accelerators work.
2176 (hildon_app_menu_show): Don't show the menu if it contains items
2177 but none of them are visible.
2179 * examples/hildon-app-menu-example.c (create_menu): Use
2180 gtk_widget_show_all() to show all menu items.
2182 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2184 * src/hildon-picker-dialog.c:
2185 (-_update_title_on_selector_changed_cb),
2186 (-_dialog_update_title): Removed.
2187 (_select_on_selector_changed_cb), (_on_dialog_response),
2188 (on_selector_columns_changed): Do not update the dialog title.
2189 (setup_interaction_mode): Do not connect to
2190 HildonTouchSelector::changed signal if there's a "done" button, as
2191 the dialog title doesn't need to be updated.
2193 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
2196 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
2198 Patch by Kristian Rietveld (kris@imendio.com)
2200 * src/hildon-touch-selector.c: (_create_new_column): Use new
2201 GtkTreeView::hildon-row-tapped signal to react to user interactions
2202 instead of ::changed.
2204 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
2205 with some dynamic tree model)
2207 2009-01-27 Alberto Garcia <agarcia@igalia.com>
2209 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
2210 (+screen_size_changed, +label_size_request)
2211 (hildon_note_class_init): Make the Hildon information note have a
2212 minimum height, and make its text hvae a maximum width.
2214 Fixes: NB#98614 (Hildon information note (background) should have
2215 minimum height and maximum text width)
2217 2009-01-26 Alberto Garcia <agarcia@igalia.com>
2219 * src/hildon-banner.h
2220 * src/hildon-banner.c (hildon_banner_show_information)
2221 (hildon_banner_show_informationf)
2222 (hildon_banner_show_information_with_markup): Update documentation
2223 to reflect that the icon_name parameter is not used anymore.
2224 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
2225 Remove all code from these functions and mark them as deprecated.
2226 (hildon_banner_show_progress): Mark as deprecated.
2228 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
2230 2009-01-26 Alejandro G. Castro <alex@igalia.com>
2232 * src/hildon-pannable-area.c,
2233 (hildon_pannable_area_class_init),
2234 (tranparency_color),
2235 (hildon_pannable_draw_vscroll),
2236 (hildon_pannable_draw_hscroll),
2237 (hildon_pannable_area_expose_event): Added a new way to render the
2238 scrollbars of the pannable area avoiding using cairo at all. This
2239 way we improve the performance of the pannable area rendering. The
2240 cairo rendering procedure is still in the code, we can control
2241 which one to use changing the value of the define
2242 USE_CAIRO_SCROLLBARS.
2244 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2246 * configure.ac: post release version bump.
2247 * debian/changelog: version bump.
2249 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2254 * configure.ac: Bump version.
2255 * debian/changelog: Updates.
2257 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2259 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
2260 banners instead of destroying them when they receive a button
2263 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2265 Reverted commit 34028, it was causing regressions, probably the
2266 topmost condition is not correct, we have to check it in more
2267 detail. We have reponed the bug: NB#97458 (Pannable area prevents
2268 propagation of button press events)
2270 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2272 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
2273 that the selection is not empty before attempting to retrieve the
2274 current ampm selection.
2276 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2278 * src/hildon-picker-button.c:
2279 (hildon_picker_button_on_dialog_response): Directly update the
2280 button contents when required instead of calling _selection_changed.
2282 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2284 * src/hildon-program.c (hildon_program_update_top_most): Update
2285 'is-topmost' property also when wm_hints is not set.
2287 Fixes: NB#98383 (is-topmost signal is not emitted when task
2288 switcher is clicked.)
2290 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2292 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
2296 * src/hildon-animation-actor.c,
2297 * src/hildon-animation-actor.h: Added the animation actor class,
2298 this widget represents an animation actor for WM-assisted
2299 animation effects in the Hildon framework.
2301 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2303 * src/hildon-window-stack-private.h
2304 * src/hildon-window-stack.c
2305 * src/hildon-stackable-window.c (hildon_stackable_window_show):
2306 Avoid calling gtk_widget_show() again indirectly from
2307 hildon_stackable_window_show()
2309 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2311 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
2314 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2316 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
2317 (hildon_time_selector_init): Move the construction of the hours and
2318 ampm columns to the constructor to preserve the order the columns
2321 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2323 * src/hildon-picker-dialog.c:
2324 (hildon_picker_dialog_class_init): Connect a realize method.
2325 (+hildon_picker_dialog_realize): Setup the interaction mode here
2327 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
2328 yet, do it during the realize instead.
2329 (_on_dialog_response):
2330 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
2331 if the widget is not realized, to avoid the dialog response before it
2334 Avoid premature responses in the HildonPickerDialog that can cause it
2335 to be hidden before it's even shown.
2337 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2339 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
2340 (on_selector_columns_changed), (requires_done_button),
2341 (+prepare_action_area), (setup_interaction_mode),
2342 (_hildon_picker_dialog_set_selector):
2344 Split the interaction mode setup into preparation of the
2345 action area (prepare_action_area()) and the connection of
2346 the signals in setup_interaction_mode() and update the code to
2349 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2351 * src/hildon-pannable-area.c,
2352 (hildon_pannable_area_class_init): Reduced the amount of scrolls
2353 per second to 15, we will check if this is ok regarding
2356 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2358 * src/hildon-pannable-area.c,
2359 (hildon_pannable_axis_scroll): Avoid resize if we already have
2360 reached overshoot_max.
2362 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2364 * src/hildon-pannable-area.c,
2365 (hildon_pannable_area_init),
2366 (hildon_pannable_area_realize),
2367 (hildon_pannable_area_size_allocate),
2368 (hildon_pannable_area_map),
2369 (hildon_pannable_area_unmap),
2370 (hildon_pannable_draw_vscroll),
2371 (hildon_pannable_draw_hscroll),
2372 (hildon_pannable_area_expose_event),
2373 (hildon_pannable_area_refresh): Added a new GdkWindow to the
2374 pannable are to avoid the expose events go to the window and
2375 redraw the window. We save this way that part of the stack and the
2376 paint_boxes. We had to change the positions of the elements when
2379 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
2381 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2382 * src/hildon-color-chooser-dialog.c:
2383 (hildon_color_chooser_dialog_init):
2384 * src/hildon-font-selection-dialog.c:
2385 (hildon_font_selection_dialog_init),
2386 (hildon_font_selection_dialog_show_preview):
2387 * src/hildon-get-password-dialog.c:
2388 * src/hildon-login-dialog.c:
2389 * src/hildon-set-password-dialog.c:
2390 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
2391 * src/hildon-time-picker.c: (hildon_time_picker_init):
2393 Remove obsolete logical string IDs and update to the appropriate ones.
2395 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
2397 2009-01-21 Alberto Garcia <agarcia@igalia.com>
2399 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
2400 that happens if the window hasn't been realized yet.
2402 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
2403 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
2405 2009-01-20 Alberto Garcia <agarcia@igalia.com>
2407 * src/hildon-app-menu.c (hildon_app_menu_class_init)
2408 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
2411 Fixes: NB#98537 (Device hangs in account settings dialog)
2413 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2415 * configure.ac: post release version bump.
2416 * debian/changelog: version bump
2418 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2423 * configure.ac: Bump version.
2424 * debian/changelog: Updates.
2426 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2428 Added a new function to the HildonTimeButton widget that allows to
2429 change the step of the minutes in the selector associated with the
2430 button: hildon_time_button_new_step
2432 * src/hildon-time-button.c,
2433 (hildon_time_button_init),
2434 (hildon_time_button_new),
2435 (hildon_time_button_new_step):
2436 * src/hildon-time-button.h: Added the new function and refactored
2438 * examples/hildon-time-button-example.c,
2439 (main): We have replaced the function without parameters with the
2440 function with the steps set to 5
2442 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
2444 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2446 * src/hildon-time-selector.c,
2447 (hildon_time_selector_class_init),
2448 (hildon_time_selector_constructor),
2449 (hildon_time_selector_get_property),
2450 (hildon_time_selector_set_property),
2451 (_create_minutes_model),
2452 (hildon_time_selector_new_step),
2453 (hildon_time_selector_set_time),
2454 * src/hildon-time-selector.h: Added a new property to the
2455 HildonTimeSelector (minutes-step), we use that property to control
2456 the steps between the minutes in the list of the selector. We have
2457 added a new function to the API to create a widget changing the
2458 step: hildon_time_selector_new_step.
2460 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2462 * src/hildon-time-selector.c,
2463 (hildon_time_selector_class_init),
2464 (hildon_time_selector_constructor),
2465 (hildon_time_selector_init): Overrided the construct function when
2466 creating the time selector object. We have moved the minutes model
2467 handling code from the init to the new construction function:
2468 hildon_time_selector_constructor.
2470 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2472 * examples/hildon-date-button-example.c: (main): Use the new
2473 hildon_date_button_new_with_year_range() method in the example.
2474 * src/hildon-date-button.c:
2475 (+hildon_date_button_new_with_year_range): New public method
2476 to conveniently create a HildonDateButton with a custom year range
2477 in its HildonDateSelector.
2478 * src/hildon-date-button.h: Add the new public method definition.
2480 Fixes: NB#97908 (Not possible to change the year range in
2481 HildonDateSelector/HildonDateButton)
2483 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2485 * src/hildon-date-selector.c:
2486 (+hildon_date_selector_set_property),
2487 (+hildon_date_selector_get_property),
2488 (hildon_date_selector_class_init): Install new properties "min-year"
2489 and "max-year" to define boundaries for the year column.
2490 (_create_year_model): Use the boundary properties to populate the model.
2491 (+hildon_date_selector_new_with_year_range): New public method to
2492 create a HildonDateSelector with a user defined year range.
2493 (hildon_date_selector_select_current_date): Use the new boundaries to
2494 calculate the iterator of current year.
2495 * src/hildon-date-selector.h: Add the new public method definition.
2497 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2499 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
2500 Install a constructor method.
2501 (+hildon_date_selector_construct_ui): construct the widget.
2502 (+hildon_date_selector_constructor): new constructor.
2503 (+hildon_date_selector_init): move out widget construction code to
2504 the new constructor.
2506 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2508 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
2509 that there's actually a month or year selected before obtaining them.
2510 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
2511 of the HildonTouchSelector::changed signal, as it was emitted on every
2512 single item selection.
2514 Fix some warnings and possible crashers due to the selection restoring.
2516 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2518 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
2519 the signal handlers only after creating the dialog instead of on every
2522 2009-01-19 Alberto Garcia <agarcia@igalia.com>
2524 * src/hildon-button.c (hildon_button_init)
2525 * src/hildon-check-button.c (hildon_check_button_init)
2526 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
2527 focus when clicked by default.
2529 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2531 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
2534 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2536 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2537 Alejandro G. Castro (alex@igalia.com)
2539 * src/hildon-picker-dialog.c:
2540 (hildon_picker_dialog_class_init): install new "center-on-show"
2542 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
2543 (hildon_picker_dialog_set_property): add setter code for the new
2545 (hildon_picker_dialog_get_property): add getter code for the new
2547 (hildon_picker_dialog_show): Ensure visibility of selected items in the
2548 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
2551 Fixes: NB#92849 (Selected item is not always visible when
2552 HildonTouchSelector is shown)
2554 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2556 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2557 Alejandro G. Castro (alex@igalia.com)
2559 * src/hildon-touch-selector.c:
2560 (_create_new_column): Do not connect to the "realize" signal of the
2562 (hildon_touch_selector_append_column): center on the selected items
2563 when a new column is appended.
2564 (hildon_touch_selector_select_iter): Factor out the code to select a
2565 column to hildon_touch_selector_scroll_to().
2566 (+search_nearest_element): Method to retrieve the nearest selected
2567 element to the visible area of the pannable area in a column.
2568 (+on_realize_cb): scroll to the initially selected item.
2569 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
2570 the pannable area is realized, otherwise delay this until it is.
2571 (+_hildon_touch_selector_center_on_selected_items): Centers on the
2572 selected items of a given column.
2573 (+hildon_touch_selector_center_on_selected): Public method to center
2574 all columns on the nearest selected item.
2575 * src/hildon-touch-selector.h: Add definition for
2576 hildon_touch_selector_center_on_selected().
2578 Implement public API to ensure visibility of all selected items in
2579 a HildonTouchSelector.
2581 2009-01-16 Alejandro G. Castro <alex@igalia.com>
2583 Fixed a problem in the fading when calling the scroll_to API, and
2584 improve scrollbar fading handling.
2586 * src/hildon-pannable-area.c,
2587 (hildon_pannable_area_grab_notify): avoid the timeout when the
2589 (hildon_pannable_area_button_press_cb),
2590 (hildon_pannable_area_motion_notify_cb): Code style changes.
2591 (hildon_pannable_area_button_release_cb): Review the conditions
2592 when releasing the mouse button to avoid unrequired fading
2594 (hildon_pannable_area_scroll_to): Do not calculate and set the
2595 velocity if the scroll is not required.
2597 2009-01-15 Alberto Garcia <agarcia@igalia.com>
2599 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
2600 Don't check whether the new selector is NULL: it cannot be.
2601 Hold a reference to the selector while doing the replacement.
2603 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2605 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2606 unnecessary size_request in a removed widget.
2608 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2610 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2611 an unnecessary reference tracking that was leaking.
2613 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2615 Added delayed motion notify event handling, this way we can
2616 discard redrawing if more than 25 events arrive per second.
2618 * src/hildon-pannable-area.c,
2619 (hildon_pannable_area_init): Initialized the new private atributes
2620 controlling this timeout
2621 (hildon_pannable_area_dispose): Remove the timeout that controls
2622 the motion notify events.
2623 (hildon_pannable_area_scroll): Added a condition to control the
2624 use of the acceleration.
2625 (hildon_pannable_area_motion_event_scroll_timeout),
2626 (hildon_pannable_area_motion_event_scroll): Added this two
2627 functions, they handle the motion notify events inside the
2629 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
2630 to the scroll method with the new function.
2631 (hildon_pannable_area_button_release_cb): We have to remove the
2632 timeout handler and move to the last position if the last motion
2633 events were not handled.
2635 Fixes: NB#97028 (Pannable area updates on every motion event)
2637 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2639 * src/hildon-pannable-area.c,
2640 (hildon_pannable_area_get_topmost): Added a new parameter to
2641 filter the the windows that do not include those events. Added
2642 also a condition when finding the window to filter windows that do
2643 not ask for those events.
2644 (hildon_pannable_area_button_press_cb),
2645 (hildon_pannable_area_button_release_cb),
2646 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2647 topmost function, we have added the new parameter.
2649 Fixes: NB#97458 (Pannable area prevents propagation of button
2652 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2654 * src/hildon-pannable-area.c,
2655 (hildon_pannable_area_initial_effect): Added controls before
2656 launching the timeout and the idle functions.
2657 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
2658 of the method, in some situations it can return with TRUE and 0 in
2660 (hildon_pannable_area_button_press_cb): We do not need to set
2661 DELAY for fading out here.
2663 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
2665 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2667 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
2668 post-cleaning if the selection is not NULL.
2670 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2672 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
2673 all items before restoring the selection.
2675 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2677 * src/hildon-touch-selector.c:
2678 (+hildon_touch_selector_unselect_all):
2679 * src/hildon-touch-selector.h: New API to unselect all items in a
2680 column of the touch selector.
2682 2009-01-14 Alejandro G. Castro <alex@igalia.com>
2684 * src/hildon-pannable-area.c,
2685 (hildon_pannable_area_redraw): Added a call to the refresh
2686 function inside the redraw because apparently in some cases the
2687 change in the adjustment does not imply a size allocate.
2689 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
2690 despite the view not being scrollable)
2692 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2694 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
2695 leak. Check for NULL before attempting to set the window title.
2697 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2699 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
2700 whether to show or not the 'Done' button each time the dialog is
2701 shown, as it depends on the HildonTouchSelector selection mode.
2703 Fixes: NB#96226 (In multiple selection mode Done button is shown
2704 sometimes in listpicker)
2706 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2708 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
2709 for the number of columns in the HildonTouchSelector more than once.
2711 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2713 * src/hildon-touch-selector.c: Minor documentation fixes.
2715 * src/hildon-picker-dialog.c (+_dialog_update_title)
2716 (_select_on_selector_changed_cb)
2717 (_update_title_on_selector_changed_cb)
2718 (on_selector_columns_changed): Update dialog title when there's no
2719 'Done' button and also when the number of columns in the selector
2723 * src/hildon-picker-button.c (hildon_picker_button_finalize)
2724 (+_selection_changed, hildon_picker_button_on_dialog_response)
2725 (hildon_picker_button_selector_selection_changed)
2726 (+hildon_picker_button_selector_columns_changed)
2727 (hildon_picker_button_set_selector): Update button value and emit
2728 'value-changed' when the number of columns in the selector
2732 Fixes: NB#96225 (Dialog titles are not shown according to the
2733 values selected in the list picker)
2735 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2737 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
2738 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
2739 New "arrow-width" and "arrow-height" style properties to set the
2740 size of the arrow button.
2741 Set name of arrow button ("hildon-edit-toolbar-arrow").
2743 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2744 graphics from theme)
2746 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2748 * src/hildon-picker-button.c:
2749 (hildon_picker_button_selector_selection_changed): Use
2750 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
2751 the dialog is present.
2753 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
2754 the selection is accepted in the dialog)
2756 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2758 * src/hildon-color-chooser.h
2759 * src/hildon-color-chooser-dialog.h:
2760 Added G_BEGIN_DECLS and G_END_DECLS
2762 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2764 (_clean_current_selection): plug a leak in the list.
2766 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2768 * src/hildon-picker-dialog.c:
2769 (+free_path_list): Method to free a GList of GtkTreePaths.
2770 (_clean_current_selection), (_save_current_selection),
2771 (_restore_current_selection): Save the current selection in
2772 as a list of lists, to support multiple selection properly.
2774 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2776 patch by Claudio Saavedra (csaavedra@igalia.com)
2778 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
2779 Store the press position.
2780 (+hildon_text_view_button_release_event): If the release position is
2781 close enough to the press position, move the cursor here. Otherwise,
2783 (hildon_text_view_class_init): Override GtkTextView press, release, and
2784 motion event handlers, disabling this way text selection through
2785 pointer interaction, and allowing the container widget to handle the
2788 Fixes: NB#95828 (HildonTextView functionality)
2790 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2792 Based on a patch by Iván Gómez (igomez@igalia.com)
2794 * src/hildon-button.[ch]
2795 * src/hildon-calendar.c
2796 * src/hildon-check-button.c
2797 * src/hildon-date-editor.c
2798 * src/hildon-date-selector.c
2799 * src/hildon-picker-button.c
2800 * src/hildon-time-editor.c
2801 * src/hildon-time-selector.c
2802 * src/hildon-touch-selector.[ch]:
2803 Documentation updates
2805 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2807 * src/hildon-pannable-area.c,
2808 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
2809 threshold, it was required due to X events handling.
2811 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2813 * src/hildon-pannable-area.c,
2814 (hildon_pannable_area_grab_notify),
2815 (hildon_pannable_area_initial_effect),
2816 (hildon_pannable_area_button_press_cb),
2817 (hildon_pannable_area_button_release_cb),
2818 (hildon_pannable_area_scroll_cb),
2819 (hildon_pannable_area_scroll_to): Review the timeout management of
2820 the scrollbar, the frecuency was incorrectly set.
2822 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
2824 * src/hildon-picker-button.c:
2825 (+hildon_picker_button_on_dialog_response),
2826 (hildon_picker_button_clicked): Present the dialog instead of
2827 running it with gtk_dialog_run().
2829 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
2832 2009-01-07 Alberto Garcia <agarcia@igalia.com>
2834 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2835 (hildon_app_menu_finalize): When a window is hidden it doesn't
2836 emit notify::is-topmost, so make sure than the menu also
2837 disappears in that case.
2838 (parent_window_topmost_notify): Renamed from parent_window_hidden
2840 Fixes: NB#94460 (stackable window's menu is not closed when its
2843 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2845 * src/hildon-touch-selector-entry.c:
2846 (+hildon_touch_selector_entry_set_input_mode),
2847 (+hildon_touch_selector_entry_get_input_mode):
2848 * src/hildon-touch-selector-entry.h: New methods to access the input
2849 mode in the selector's entry.
2851 Fixes: NB#93410 (API required for setting IM mode in
2852 HildonTouchSelectorEntry)
2854 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2856 * configure.ac: post release version bump.
2857 * debian/changelog: version bump
2859 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2864 * configure.ac: Bump version.
2865 * debian/changelog: Updates.
2867 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
2869 * src/hildon-touch-selector.c:
2870 (_hildon_touch_selector_has_multiple_selection): No need
2871 to initialize the variables here.
2873 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2875 * src/hildon-note-private.h
2876 * src/hildon-note.c (event_box_press_event, hildon_note_init)
2877 (hildon_note_finalize, hildon_note_rebuild): Close information
2878 notes when they receive a button press.
2880 Fixes: NB#89890 (Information notes does not get disappeared after
2883 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
2885 * src/hildon-wizard-dialog.c: (create_title): Remove translation
2886 mark from the wizard title, as it's not really necessary. Also,
2887 do not display the page title if not set.
2889 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2891 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2892 (parent_window_hidden): Use the window's "is-topmost" property to
2893 detect when to hide the menu.
2895 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2897 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2898 (hildon_app_menu_finalize): If the parent window of the menu is
2899 hidden, hide the menu too.
2901 Fixes: NB#94460 (stackable window's menu is not closed when its
2904 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2907 * debian/libhildon1-examples.install
2909 * examples/Makefile.am:
2910 Use dh_install to install all examples.
2911 Use DEB_SRCDIR instead of defining SOURCE_DIR
2913 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2915 * configure.ac: post release version bump.
2916 * debian/changelog: version bump
2918 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2923 * configure.ac: bump version
2924 * debian/changelog: updates
2925 * debian/control: bump gtk+ dependency
2927 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2929 patch by Christian Dywan (christian@imendio.com)
2931 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
2932 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
2934 2008-12-15 Alberto Garcia <agarcia@igalia.com>
2936 * src/hildon-check-button.c (hildon_check_button_init)
2937 (hildon_check_button_class_init, hildon_check_button_style_set)
2938 (hildon_check_button_apply_style):
2939 New "checkbox-size" style property.
2941 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
2942 larger / configurable size)
2944 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2946 * configure.ac: post release version bump.
2947 * debian/changelog: version bump
2949 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2954 * configure.ac: bump version
2955 * debian/changelog: updates
2957 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2959 * doc/hildon-sections.txt
2960 * src/hildon-pannable-area.c
2961 * src/hildon-program.c
2962 * src/hildon-time-editor.c
2963 * src/hildon-touch-selector-entry.c:
2965 More documentation updates.
2967 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2969 * doc/hildon-sections.txt
2970 * src/hildon-caption.c
2971 * src/hildon-code-dialog.c
2972 * src/hildon-color-button.c
2973 * src/hildon-controlbar.c
2974 * src/hildon-date-editor.c
2975 * src/hildon-date-selector.c
2976 * src/hildon-edit-toolbar.c
2977 * src/hildon-find-toolbar.c
2978 * src/hildon-font-selection-dialog.c
2980 * src/hildon-program.c
2981 * src/hildon-range-editor.c
2982 * src/hildon-seekbar.c
2983 * src/hildon-time-editor.c
2984 * src/hildon-time-selector.c
2985 * src/hildon-volumebar-range.c
2986 * src/hildon-volumebar.c
2987 * src/hildon-vvolumebar.c
2988 * src/hildon-weekday-picker.c
2989 * src/hildon-window.c
2990 * src/hildon-wizard-dialog.c:
2992 Lots of documentation fixes.
2994 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2996 Patch contributed by Iván Gómez (igomez@igalia.com)
2998 * src/hildon-check-button.c:
2999 * src/hildon-date-button.c:
3000 * src/hildon-date-selector.c:
3001 * src/hildon-dialog.c:
3002 * src/hildon-edit-toolbar.c:
3003 * src/hildon-entry.c:
3004 * src/hildon-picker-button.c:
3005 * src/hildon-program.c:
3006 * src/hildon-text-view.c:
3007 * src/hildon-time-button.c:
3008 * src/hildon-touch-selector-entry.c:
3009 * src/hildon-window-stack.c:
3011 Add more "since" tags to the new API.
3013 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3015 * doc/hildon-sections.txt: Add below method.
3016 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
3017 version for the hildonized scale.
3018 * src/hildon-gtk.h: Add the definition.
3020 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3022 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3024 * doc/hildon-sections.txt: Add missing entries for new methods.
3026 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3028 Added API to pannable are in order to get its adjustments. We
3029 added two properties to manage the values we had in the private
3032 * src/hildon-pannable-area.c:
3033 (hildon_pannable_area_class_init): Added hadjustment and
3034 vadjustment properties in order to expose horizontal and vertical
3036 (hildon_pannable_area_get_property),
3037 (hildon_pannable_area_set_property): Added code to handle the new
3039 (hildon_pannable_area_get_hadjustment),
3040 (hildon_pannable_area_get_vadjustment): API functions to get the
3042 * src/hildon-pannable-area.h:
3043 (hildon_pannable_area_get_hadjustment),
3044 (hildon_pannable_area_get_vadjustment): API functions to get the
3047 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3049 Fixed some leaks, after valgrinding.
3051 * src/hildon-touch-selector.c:
3052 (_default_print_func): Fixed a leak.
3053 (hildon_touch_selector_append_column): Fixed a leak.
3054 * src/hildon-date-button.c:
3055 (hildon_date_button_init): Fixed a leak.
3056 * src/hildon-date-selector.c
3057 (hildon_date_selector_finalize): Fixed a leak.
3059 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3061 Based on a patch by Christian Dywan (christian@imendio.com)
3063 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
3065 * src/hildon-gtk.h: Add definition.
3067 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3069 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3071 * src/hildon-picker-button.c: (hildon_picker_button_init),
3072 (hildon_picker_button_new): Set the HildonButton::style property
3073 in the init method, to propagate the value to the derived classes.
3075 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3077 * src/hildon-button.c: (hildon_button_class_init): Do not make
3078 the "style" property a construct property.
3080 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3082 * src/hildon-wizard-dialog.h
3083 * src/hildon-wizard-dialog.c
3084 (hildon_wizard_dialog_set_forward_page_func)
3085 * src/hildon-pannable-area.h
3086 * src/hildon-pannable-area.c
3087 (hildon_pannable_area_set_size_request_policy):
3088 Documentation fixes.
3090 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3092 * doc/hildon-sections.txt: Fixed warning about unused symbols.
3094 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3096 * doc/hildon-sections.txt: Added sections file.
3098 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3101 * src/*.[ch]: Updates.
3103 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
3105 * examples/hildon-progress-indicator-example.c: new file
3106 * examples/Makefile.am: include the new example program
3108 2008-12-10 Alberto Garcia <agarcia@igalia.com>
3110 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
3112 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3114 * configure.ac: post release version bump
3115 * debian/changelog: version bump
3117 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3122 * configure.ac: bump version
3123 * debian/changelog: updates
3124 * debian/control: bump gtk+ dependency
3126 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3128 * src/hildon-dialog.c: Mark as deprecated.
3129 * src/hildon-dialog.h: Mark as deprecated.
3130 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
3131 from HildonDialog and still work, even if
3132 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
3133 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
3135 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
3136 maemo changes) instead)
3138 2008-12-09 Alejandro G. Castro <alex@igalia.com>
3140 * src/hildon-pannable_area.h:
3141 * src/hildon-pannable_area.c:
3142 (hildon_pannable_area_class_init),
3143 (hildon_pannable_area_set_property),
3144 (hildon_pannable_area_get_property),
3145 (hildon_pannable_area_size_request),
3146 (hildon_pannable_area_get_size_request_policy),
3147 (hildon_pannable_area_set_size_request_policy): Added new API
3148 allowing applications to control the request policy. Now they can
3149 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
3150 children allocation (HILDON_MOVEMENT_CHILDREN).
3152 2008-12-09 Alberto Garcia <agarcia@igalia.com>
3156 (hildon_gtk_tree_view_set_ui_mode)
3157 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
3158 mode of treeviews and iconviews.
3160 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3162 * src/hildon-touch-selector-entry.c:
3163 (hildon_touch_selector_entry_init): Use a HildonEntry instead
3164 of a GtkEntry to get proper theming.
3166 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
3167 widget, not GtkEntry)
3169 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3171 * src/hildon-wizard-dialog.c: (response): Move forward if there is
3172 no HildonWizardDialogPageFunc.
3174 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3176 Patch contributed by Iván Gómez (igomez@igalia.com)
3178 * src/hildon-app-menu.c:
3179 * src/hildon-button.c:
3180 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
3181 * src/hildon-stackable-window.c:
3182 * src/hildon-time-selector.c:
3183 * src/hildon-touch-selector.c:
3184 * src/hildon-window.c:
3186 Add more "since" tags to the new API in hildon 2.2.
3188 2008-12-05 Tim Janik <timj@imendio.com>
3190 Patch contributed by Christian Dywan (christian@imendio.com)
3192 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
3193 HildonSizeType, which are supplied by Gtk+ now.
3195 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
3197 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
3198 (with maemo changes) instead)
3200 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3202 Patch contributed by Iván Gómez (igomez@igalia.com)
3204 * src/hildon-pannable-area.c: Add "since" tags to the new API in
3207 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3209 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
3210 (some_page_func), (main): Update the example to use a
3211 HildonWizardDialogPageFunc function.
3213 * src/hildon-wizard-dialog-private.h: Add private data for
3214 the HildonWizardDialogPageFunc function usage.
3216 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
3217 (destroy), (hildon_wizard_dialog_init), (response),
3218 (hildon_wizard_dialog_set_forward_page_func):
3219 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
3220 that applications can use to stop a HildonWizardDialog to jump to
3223 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
3226 2008-12-04 Alberto Garcia <agarcia@igalia.com>
3228 * src/hildon-program.h
3229 * src/hildon-program-private.h
3230 * src/hildon-program.c (hildon_program_init)
3231 (hildon_program_set_common_app_menu)
3232 (hildon_program_get_common_app_menu):
3233 New API for setting a common HildonAppMenu for all
3234 HildonStackableWindows registered with the HildonProgram.
3236 * src/hildon-stackable-window.c
3237 (hildon_stackable_window_toggle_menu):
3238 Use the common HildonAppMenu if a window doesn't have a specific
3241 * src/hildon-app-menu-private.h
3242 * src/hildon-app-menu.c
3243 (hildon_app_menu_get_parent_window):
3244 Function to obtain the window a HildonAppMenu is attached to.
3245 (hildon_app_menu_set_parent_window):
3246 Hide the menu if the parent window is set to NULL.
3248 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
3250 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
3251 set GtkTreeView::enable-search to FALSE, to avoid the interactive
3252 search widget to popup.
3254 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3256 * configure.ac: post release version bump
3257 * debian/changelog: version bump
3259 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3264 * configure.ac: bump version
3265 * debian/changelog: updates
3267 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3269 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
3271 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
3272 (hildon_window_stack_window_realized)
3273 (hildon_window_stack_remove, _hildon_window_stack_do_push):
3274 Set the leader GdkWindow when a window is stacked and realized,
3275 unset it when it's unstacked.
3276 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
3278 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
3280 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3282 * src/hildon-stackable-window.h
3283 * src/hildon-window-stack.h:
3284 Protect definition of HildonWindowStack using the preprocessor.
3286 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3288 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
3289 Fix warning if all menu items are hidden.
3291 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
3293 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3295 * src/hildon-controlbar.c:
3296 * src/hildon-hvolumebar.c:
3297 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
3298 Multiple scale size defines updates.
3300 Fixes: NB#94322 (Scale Updates)
3302 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3304 * examples/hildon-app-menu-example.c (create_menu)
3305 Show items after adding them to the menu, as in the future the
3306 menu will no longer call gtk_widget_show() on the added items.
3308 * src/hildon-app-menu.c:
3309 Update example as explained above.
3311 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3313 * src/hildon-app-menu.c
3314 (hildon_app_menu_insert, hildon_app_menu_add_filter):
3315 Make sure that all menu items have finger height.
3317 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
3319 * src/hildon-picker-dialog.c:
3320 (_on_dialog_response), (_save_current_selection),
3321 (_restore_current_selection), (_clean_current_selection),
3322 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
3323 Defined new functions in order to save the current internal selector
3324 selection previous open the dialog, in case that the use cancel the
3325 interaction, so the widget restores the previous selection.
3327 Fixes: NB#92032 (In calendar application, date values in 'new event'
3330 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
3332 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3334 * src/hildon-button.c: Add a reference to the button examples in
3335 hildon-button-example.c
3337 * examples/hildon-button-example.c: Added examples of the most
3338 common button layouts.
3340 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3342 * src/hildon-app-menu.c (hildon_app_menu_show)
3343 (hildon_app_menu_class_init): Don't show the menu if it's empty.
3345 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
3347 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3349 * src/hildon-picker-dialog.c:
3350 (hildon_picker_dialog_init): Initialize the signal id for
3351 HildonTouchSelector::columns-changed.
3352 (+on_selector_columns_changed): Set up the interaction mode everytime a
3353 column is added or removed from the HildonTouchSelector.
3354 (_hildon_picker_dialog_set_selector): Connect to
3355 HildonTouchSelector::columns-changed and keep track of it.
3357 Make sure to update the interaction mode of the dialog everytime a
3358 column is added or removed in the HildonTouchSelector.
3360 Fixes: NB#93228 (Done button is not shown always in listpicker)
3362 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3364 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
3365 a new ::columns-changed signal.
3366 (hildon_touch_selector_append_column): Emit ::columns-changed.
3367 (hildon_touch_selector_remove_column): Emit ::columns-changed.
3369 Add a ::columns-changed signal, emitted when the number of columns in a
3370 HildonTouchSelector changes.
3372 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3374 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
3375 (_hildon_picker_dialog_set_selector): Factor out the code
3376 to set up the dialog interaction mode.
3378 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3380 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
3381 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
3382 to signal_changed_id.
3384 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3386 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3389 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
3391 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
3392 Updated the logical ids related to ampm format, as now it is required to
3393 show it correctly localized even on languages with no default
3394 abbreviations for am or pm
3395 (_check_am_pm_format): check correctly the 24h format gconf property
3397 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
3399 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3401 * src/hildon-button.c: Documentation updates.
3403 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3405 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
3406 * src/hildon-caption.c: (hildon_caption_class_init):
3407 * src/hildon-color-button.c: (hildon_color_button_class_init):
3408 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
3409 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3410 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
3411 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
3413 Remove deprecated GTK+ marshalers and replace them with the ones
3414 provided by GLib, for those available, add a marshaler for
3415 BOOLEAN:VOID, which is not available in GLib, and use it.
3417 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3419 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
3420 the text from the previous column if there is no
3421 HildonTouchSelectorColumn::text-property set.
3423 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3425 * src/hildon-button.h
3426 * src/hildon-button.c (hildon_button_set_property)
3427 (hildon_button_get_property, hildon_button_class_init)
3428 (hildon_button_set_style, hildon_button_get_style):
3429 New "style" property to change the visual appearance of the
3432 * src/hildon-picker-button.c (hildon_picker_button_new):
3433 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
3435 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
3436 HildonButton look like PickerButton)
3438 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3440 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
3441 column while building the default string.
3443 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3445 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
3446 scroll indicator by default.
3448 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
3450 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3452 * src/hildon-main.c: Fix the documentation for hildon_init()
3454 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3456 * doc/hildon-docs.sgml
3460 * src/hildon-window-stack-private.h
3461 * src/hildon-window-stack.h
3462 * src/hildon-window-stack.c:
3463 New HildonWindowStack object, that adds support for multiple
3464 stacks of windows per process.
3466 * src/hildon-stackable-window-private.h
3467 * src/hildon-stackable-window.h
3468 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
3469 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
3470 (hildon_stackable_window_show, hildon_stackable_window_hide)
3471 (hildon_stackable_window_class_init)
3472 (hildon_stackable_window_init):
3473 Use HildonWindowStack for stack management.
3475 * src/hildon-program.c (hildon_program_pop_window_stack)
3476 (hildon_program_peek_window_stack)
3477 (hildon_program_go_to_root_window):
3478 Add a fallback implementation to the deprecated functions using
3481 * examples/hildon-stackable-window-example.c:
3482 Use the new HildonWindowStack API.
3484 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3486 * src/hildon-stackable-window-private.h
3487 * src/hildon-stackable-window.c (hildon_stackable_window_show)
3488 (hildon_stackable_window_hide, hildon_stackable_window_init):
3489 Remove all window stack management.
3491 * src/hildon-program-private.h
3492 * src/hildon-program.h
3493 * src/hildon-program.c (hildon_program_init)
3494 (hildon_program_pop_window_stack)
3495 (hildon_program_peek_window_stack)
3496 (hildon_program_go_to_root_window):
3497 Remove all window stack management and mark functions as
3500 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3502 * src/hildon-app-menu.c (hildon_app_menu_realize):
3503 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
3505 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3507 * configure.ac: post release version bump
3508 * debian/changelog: version bump
3510 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3515 * configure.ac: bump version
3516 * debian/changelog: updates
3518 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3520 Based on initial code by Christian Dywan (christian@imendio.com)
3522 * doc/hildon-docs.sgml: Add section for hildon-main.
3523 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
3524 * src/Makefile.am: Add new hildon-main.[ch]
3525 * src/hildon-defines.h: Update the icon sizes.
3526 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
3527 new library initialization files and register icon sizes.
3528 * src/hildon-main.h: New declarations.
3529 * src/hildon.h: Include hildon-main.h
3531 Add new initialization functions to the library. These methods
3532 will register the hildon specific icon sizes and can be used in the
3533 future for other hildon specific bits.
3535 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
3537 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3539 * src/hildon-window.c: (hildon_window_realize),
3540 (hildon_window_notify), (-hildon_window_update_title): Do not set
3541 the application name in the window title.
3543 Fixes: NB#89754 (Applications shouldn't display their names in the
3546 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3548 * src/hildon-note-private.h:
3549 * src/hildon-note.c: (hildon_note_set_property),
3550 (hildon_note_get_property), (hildon_note_class_init),
3551 (hildon_note_init), (hildon_note_finalize),
3552 (hildon_note_new_confirmation_with_icon_name),
3553 (hildon_note_new_information_with_icon_name):
3555 No need to mark as deprecated the actual code. Revert
3556 to avoid missing symbols in widgets using deprecated API.
3558 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3560 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
3562 * src/hildon-volumebar.h
3563 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
3564 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
3566 * src/hildon-helper.h
3567 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
3568 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
3570 * examples/Makefile.am:
3571 Deprecate hildon-insensitive-example
3573 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
3575 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3577 * examples/hildon-pannable-area-buttons-scroll-example.c:
3578 Make all buttons finger height
3580 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
3582 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
3584 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
3585 update the day model only if it is really required, and to avoid the
3586 full-reconstruction aproach. Now it only add or remove the required days.
3588 The purpose of this is avoid superfluous HildonTouchSelector::changed
3591 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
3592 with strange parameters)
3594 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
3596 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
3598 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
3599 the WINDOW_TYPE property.
3601 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
3603 2008-11-19 Alberto Garcia <agarcia@igalia.com>
3606 Fix dependency to allow parallel compilation with make -jX
3608 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
3610 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
3611 color frame and some minor tweaks to make it more consistent with
3614 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
3615 highlighted but not visible)
3617 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3619 * examples/Makefile.am: Fixed typo in the Makefile.am.
3621 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3623 Reviewed the use of MAEMO_GTK define, now we add the define in the
3624 compilation line, and we also add it to the pc file.
3626 * configure.ac: Added MAEMO_GTK define to the compilation command
3627 and removed it from the config.h.
3629 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
3630 do not have to take care about this define if the library was
3634 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
3636 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3638 * examples/Makefile.am,
3639 * examples/hildon-pannable-area-buttons-scroll-example.c,
3640 * examples/hildon-pannable-area-gesture-signals-example.c,
3641 * examples/hildon-pannable-area-scroll-jump-example.c,
3642 * examples/hildon-pannable-area-tree-view-example.c:
3643 Renamed the pannable area examples, now they have more meaningful
3646 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
3648 * src/hildon-touch-selector.c:
3649 (hildon_touch_selector_set_column_selection_mode): Used of
3650 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
3651 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
3652 to avoid re-seting the same selection mode.
3654 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
3655 breaks HildonPickerDialog)
3657 2008-11-13 Alejandro G. Castro <alex@igalia.com>
3659 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
3660 conditional in the Makefile.am
3662 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
3664 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
3665 Remove unused methods.
3667 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3669 * src/hildon-button.c (hildon_button_init):
3670 Make button images center-aligned by default
3672 2008-11-12 Alejandro G. Castro <alex@igalia.com>
3675 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
3676 activated, we have to think about how to deal with both defines
3677 MAEMO_GTK and MAEMO_CHANGES.
3679 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3681 * examples/hildon-app-menu-example.c (create_menu): Make all
3682 buttons finger size.
3684 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3686 Fixed the compilation without maemo gtk adding ifdefs with
3687 MAEMO_GTK define to the code, we have to check this version more
3690 * examples/Makefile.am: Added control to avoid some examples that
3691 just make sense with maemo gtk.
3694 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
3695 hildon modes with the define.
3697 * examples/hildon-edit-toolbar-example.c,
3698 (create_icon_view): Create the icon view without hildon-gtk
3699 helpers if we are not using maemo gtk.
3701 * src/hildon-touch-selector.c,
3702 (_create_new_column): Create the treeview without hildon-gtk
3703 helpers if we are not using maemo gtk.
3705 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3707 * src/hildon-pnnable-area.c,
3708 (hildon_pannable_area_dispose),
3709 (hildon_pannable_area_button_press_cb),
3710 (hildon_pannable_area_child_mapped),
3711 (hildon_pannable_area_add),
3712 (hildon_pannable_area_remove): Added code to control the position
3713 of the event_window when adding and removing children from the
3714 pannable. We have to raise the event window when the child is
3717 Fixes: NB#89811 (Not able to select first image thumbnail in multi
3718 selection mode using custom widget inside pannable)
3720 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3722 * configure.ac: post release version bump
3723 * debian/changelog: version bump
3725 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3730 * configure.ac: bump version
3731 * debian/changelog: updates
3733 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
3735 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
3736 search mode, in order to avoid lose the focus on the treeview when
3737 a hw key (like enter) is pressed.
3739 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
3740 in HildonDateSelector dialog)
3742 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
3744 * debian/rules: Added --enable-maintainer-mode
3745 * Makefile.am: Added ACLOCAL_AMFLAGS
3747 This allows to properly regenerate the Makefiles if you modify the
3748 configure.ac or any Makefile.am.
3750 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3752 * examples/hildon-app-menu-example.c: (main): Do not set RC style
3753 properties, not needed at all.
3755 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3757 * src/hildon-note-private.h: Add strings for the icon and stock_icon
3759 * src/hildon-note.c: (hildon_note_set_property),
3760 (hildon_note_get_property), (hildon_note_class_init),
3761 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
3762 (hildon_note_new_confirmation_add_buttons): Remove icons.
3763 (hildon_note_new_confirmation_with_icon_name): Deprecate.
3764 (hildon_note_new_information_with_icon_name): Deprecate.
3765 (hildon_note_new_confirmation): Act directly, without calling
3766 the deprecated constructor.
3767 (hildon_note_new_information): Act directly, without calling
3768 the deprecated constructor.
3769 * src/hildon-note.h: Mark deprecate methods as such.
3770 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
3771 not run tests on the deprecated methods if built with deprecation
3774 Fixes: NB#91688 (Never show icons in information notes/confirmation
3777 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3779 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
3780 (hildon_app_menu_key_press): Remove leftover usage of the
3781 private structure in HildonAppMenu struct.
3782 * src/hildon-app-menu.h: Remove leftover private structure
3783 from the HildonAppMenu struct.
3785 Fixes a crasher when using the HildonAppMenu.
3787 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3789 * src/hildon-picker-dialog.c: Use appropriate logical id
3790 for the default "Done" text.
3792 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3794 * configure.ac: post release version bump
3795 * debian/changelog: version bump
3797 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
3799 Modified the way to scroll to the current selection just when the touch
3800 selector is shown on the screen, avoiding a g_idle. Added too a property
3801 to configure this behaviour. See hildon_pannable_area_jump_to_child
3802 documentation for more information.
3804 * src/hildon-touch-selector.c
3805 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
3806 Added 'initial-scroll' property
3807 (hildon_touch_selector_set_property): Added
3808 (hildon_touch_selector_map): Removed as not required anymore
3809 (_hildon_touch_selector_on_selected_items): Modified in order to manage
3810 only a concrete column, instead of iterate along all the columns
3812 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3817 * configure.ac: bump version
3818 * debian/changelog: updates
3820 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3822 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
3823 compilation time warnings.
3825 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3827 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
3828 the default value for HildonPannableArea::mov-mode to
3829 HILDON_PANNABLE_AREA_MODE_VERT.
3831 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
3833 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3835 Reverting following commit:
3837 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3839 * src/hildon-app-menu-private.h
3840 * src/hildon-app-menu.[ch]
3841 * src/hildon-button.[ch]
3842 * src/hildon-check-button.[ch]
3843 * src/hildon-entry.[ch]
3844 * src/hildon-pannable-area.[ch]
3845 * src/hildon-text-view.[ch]:
3846 Added private field to the object's structure.
3848 because it causes an ABI breakage. We will need to introduce these
3849 changes later at some point. See NB#91636 for an extensive
3850 explanation and status.
3852 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3854 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3856 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
3857 remove special cases that are no longer necessary.
3859 Fixes: NB#91016 (Change toolbar sizes, simplification)
3861 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3863 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
3864 is shown in the cancel note.
3866 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3868 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
3869 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
3870 (hildon_seekbar_init): Remove steppers, remove expose event.
3871 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
3873 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
3875 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
3877 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
3878 label font to "SmallSystemFont" for vertically arranged buttons.
3880 Fixes: NB#90662 (HildonButton "value" and "detail" text is
3883 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3885 * src/hildon-check-button.c
3886 (hildon_check_button_set_active, hildon_check_button_clicked):
3887 Don't access private parts directly, use getters instead.
3889 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3891 * src/hildon-check-button.c (hildon_check_button_new):
3892 Align the contents of the check button to the left.
3894 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3896 * src/hildon-pannable-area.c,
3897 (hildon_pannable_area_scroll_to),
3898 (hildon_pannable_area_jump_to),
3899 (hildon_pannable_area_scroll_to_child),
3900 (hildon_pannable_area_jump_to_child): Replace the mapped
3901 precondition of these functions with the realized, it is the
3902 correct state of the widget in this case. Changed the
3903 documentation according to this modification.
3905 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3907 Added a new EXTRA_CFLAGS option to add the deprecated define to
3908 the compilation command. This way we can avoid using the define in
3909 the documentation compilation.
3911 * configure.ac: Defined EXTRA_CFLAGS.
3913 * examples/Makefile.am:
3915 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
3917 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
3919 * src/hildon-picker-dialog.c:
3920 Defined a utility macro with the desired touch selector height
3921 Removed currently unused separator, and title_label variables from
3923 (hildon_picker_dialog_init): Removed code related to the creation
3924 of unused private variables title_label and separator.
3925 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
3926 to ensure correct visualization of the touch selector inside the dialog.
3927 * src/hildon-touch-selector.c
3928 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
3929 ensure a concrete height of the widget.
3931 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3934 * tests/Makefile.am:
3936 Remove spurious whitespaces.
3938 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3940 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
3941 compilation warning after the cancel button removal.
3943 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3945 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
3947 * configure.ac: Added an AM_CONDITIONAL in order to use in the
3948 Makefile.am, that way we can choose not to compile some examples
3949 and tests of the deprecated widgets.
3951 * examples/Makefile.am: Divided the sources in deprecated and
3954 * src/Makefile.am: Added undef statement of the deprecated
3955 symbol to the enums file generation process.
3957 * src/hildon-color-chooser-dialog.c
3958 * src/hildon-color-chooser-dialog.h
3959 * src/hildon-color-button.c
3960 * src/hildon-color-button.h
3961 * src/hildon-color-chooser.c
3962 * src/hildon-color-chooser.h
3963 * src/hildon-controlbar.c
3964 * src/hildon-controlbar.h
3965 * src/hildon-date-editor.c
3966 * src/hildon-date-editor.h
3967 * src/hildon-hvolumebar.c
3968 * src/hildon-hvolumebar.h
3969 * src/hildon-private.c
3970 * src/hildon-private.h
3971 * src/hildon-range-editor.c
3972 * src/hildon-range-editor.h
3973 * src/hildon-seekbar.c
3974 * src/hildon-seekbar.h
3975 * src/hildon-time-editor.c
3976 * src/hildon-time-editor.h
3977 * src/hildon-time-picker.c
3978 * src/hildon-time-picker.h
3979 * src/hildon-volumebar.c
3980 * src/hildon-volumebar.h
3981 * src/hildon-vvolumebar.c
3982 * src/hildon-vvolumebar.h
3983 * src/hildon-bread-crumb-trail.h
3984 * src/hildon-bread-crumb-trail.c
3985 * src/hildon-calendar-popup.c
3986 * src/hildon-calendar-popup.h
3987 * src/hildon-weekday-picker.c:
3988 * src/hildon-weekday-picker.h:
3989 * src/hildon-bread-crumb-widget.c:
3990 * src/hildon-bread-crumb-widget.h:
3991 * src/hildon-bread-crumb.c:
3992 * src/hildon-bread-crumb.h:
3993 * src/hildon-calendar.c:
3994 * src/hildon-calendar.h:
3995 * src/hildon-caption.c:
3996 * src/hildon-code-dialog.c:
3997 * src/hildon-code-dialog.h:
3998 * src/hildon-font-selection-dialog.c:
3999 * src/hildon-font-selection-dialog.h:
4000 * src/hildon-get-password-dialog.c:
4001 * src/hildon-get-password-dialog.h:
4002 * src/hildon-login-dialog.c:
4003 * src/hildon-login-dialog.h:
4004 * src/hildon-number-editor.c:
4005 * src/hildon-number-editor.h:
4006 * src/hildon-set-password-dialog.c:
4007 * src/hildon-set-password-dialog.h:
4008 * src/hildon-sort-dialog.c:
4009 * src/hildon-sort-dialog.h: This is the list of deprecated
4012 * src/hildon-touch-selector.c:
4013 * src/hildon-window.c: Added undef statement to avoid compilation
4016 * tests/Makefile.am: Divided the sources in deprecated and
4019 * tests/check_test.c,
4020 (configure_tests): Marked the deprecated code that was adding
4021 suites with deprecated tests.
4023 Fixes: NB#91135 (Deprecate legacy hildon widgets)
4025 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4027 * src/hildon-touch-selector.c: (_default_print_func): Do not
4028 duplicate a string returned by gtk_tree_model_get(), it is already
4031 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
4034 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4036 * src/hildon-pannable-area.c
4037 (hildon_pannable_area_add_with_viewport): Reviewed the complete
4038 method, it had problems when adding a widget with viewport the
4039 second time. Now checks if it already has a viewport and uses it.
4041 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
4044 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4046 * src/hildon-pannable-area.c,
4047 (hildon_pannable_area_scroll_to),
4048 (hildon_pannable_area_jump_to),
4049 (hildon_pannable_area_scroll_to_child),
4050 (hildon_pannable_area_jump_to_child): Added a precondition to the
4051 scroll and jump to functions: the widget must be mapped before we
4052 can safely call these functions. We have also added documentation
4053 to the functions to explain how to use them in this situation.
4056 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4058 Reviewed the threading handling of the pannable widget, we have
4059 used the gdk_threads_add_timeout function instead of the usual
4060 glib handlers. This avoids some problems with the threads.
4062 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
4063 (hildon_pannable_area_initial_effect),
4064 (hildon_pannable_area_scroll_indicator_fade),
4065 (hildon_pannable_area_button_press_cb),
4066 (hildon_pannable_area_timeout),
4067 (hildon_pannable_area_motion_notify_cb),
4068 (hildon_pannable_area_button_release_cb),
4069 (hildon_pannable_area_scroll_cb),
4070 (hildon_pannable_area_scroll_to): Removed the
4071 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
4072 gdk_threads_add_timeout.
4074 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
4076 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4081 * configure.ac: bump version
4082 * debian/changelog: updates
4084 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4086 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4087 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
4088 * src/hildon-color-chooser-dialog.c:
4089 (hildon_color_chooser_dialog_init):
4090 * src/hildon-font-selection-dialog.c:
4091 (hildon_font_selection_dialog_init):
4092 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
4094 Remove all cancel/close-like dialogs, as these are not going to be
4097 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4099 * src/hildon-note.c: (hildon_note_rebuild),
4100 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
4103 Fixes: NB#90661 (Delete dialog is displayed without NO button)
4105 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4107 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
4108 sure all buttons are shown, even the Cancel/Close-like ones.
4110 Fixes: NB#90861 (Custom Confirmation dialogs should be
4111 protected from cancel button removal)
4113 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4115 * debian/control: Change libhildon1-examples dependency from libhildon1
4117 * debian/libhildon1-examples.install
4119 * Makefile.am: Modified the final install directory for the examples on
4120 package libhildon1-examples
4121 * Makefile.static: Update clean target in order to remove all the binary
4124 Changes suggested by Claudio after review new libhildon1-examples package
4126 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
4128 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
4129 * src/hildon-touch-selector.c: Ditto.
4131 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4133 * debian/control: Added new package libhildon1-examples, in order to pack
4134 the current hildon examples as documentation
4135 * debian/rules: Not to compress .c files, modify some includes on the
4136 examples (as normally are compiled locally, but when installed it will
4137 require to include the installed libhildon1 library), and rename
4139 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
4140 install all the example files on the new example package
4141 * examples/Makefile.static: Added static makefile that can be used to
4142 compile the examples, once installed the new example package
4143 * examples: Most of the examples were modified in order to grant that
4144 all use only '#include "hildon.h"', in order to be easy to prepare
4145 it on the example package
4147 2008-10-23 Alberto Garcia <agarcia@igalia.com>
4150 * debian/libhildon1-dev.install
4151 * debian/libhildon1-doc.install:
4152 Move all gtk-doc files to a separate libhildon1-doc package.
4154 2008-10-23 Daniel Borgmann <danielb@openismus.com>
4156 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4158 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
4160 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
4162 * debian/rules: Fixed a error in order to avoid unnecessary calls
4163 to autogen.sh on package building
4165 2008-10-22 Alberto Garcia <agarcia@igalia.com>
4167 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
4169 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4171 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
4174 2008-10-21 Alberto Garcia <agarcia@igalia.com>
4176 * src/hildon-picker-button.c
4177 (hildon_picker_button_finalize):
4178 Free priv->done_button_text
4180 * src/hildon-time-button.c
4181 (hildon_time_button_set_time)
4182 * src/hildon-picker-button.c
4183 (hildon_picker_button_clicked)
4184 (hildon_picker_button_selector_selection_changed)
4185 (hildon_picker_button_set_selector)
4186 * src/hildon-date-button.c
4187 (hildon_date_button_set_date):
4188 Free strings returned by hildon_touch_selector_get_current_text()
4190 * src/hildon-button.c (hildon_button_construct_child):
4191 Fix leaks in priv->image and priv->label_box
4193 Fixes: NB#90535 (Memory leak in picker button)
4195 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4197 * src/hildon-button.c: (hildon_button_get_property): Do not access
4198 private elements directly, use getters instead.
4200 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4202 * src/hildon-app-menu-private.h
4203 * src/hildon-app-menu.c
4204 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
4205 Store the menu's parent window.
4207 * src/hildon-stackable-window.c
4208 (hildon_stackable_window_toggle_menu)
4209 (hildon_stackable_window_finalize):
4210 Set the menu's parent window when the menu is shown, unset it when
4213 * src/hildon-app-menu.c
4214 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
4215 (hildon_app_menu_class_init):
4216 Send unhandled keyboard accelerators to the parent window.
4218 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4220 * src/hildon-stackable-window.c
4221 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
4223 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4225 * configure.ac: post release version bump
4227 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4230 * configure.ac: Bump version
4231 * debian/changelog: Updates
4232 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
4235 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4237 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4240 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
4241 GtkMenu with Hildon style.
4243 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4245 * src/hildon-picker-button.c:
4246 (hildon_picker_button_set_done_button_text): Set the dialog's
4247 done button text here as well.
4249 Fixes: NB#90232 (Picker button does not set the label on done button
4250 for the second time)
4252 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4254 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
4257 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4259 * src/hildon-app-menu.c (hildon_app_menu_insert)
4260 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
4261 the HildonAppMenu to be activatable using keyboard accelerators
4262 when the menu is not being shown.
4264 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
4266 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4268 * src/hildon-stackable-window.c
4269 (hildon_stackable_window_show):
4270 Don't hide old windows automatically when new windows are shown:
4271 this is now a task for the window manager.
4272 (hildon_stackable_window_class_init)
4273 (hildon_stackable_window_hide):
4274 Remove windows from the stack everytime they're hidden.
4275 (hildon_stackable_window_realize):
4276 Don't change the _NET_WM_WINDOW_TYPE property. Use
4277 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
4278 it as a stackable window.
4280 * src/hildon-program.c
4281 (hildon_program_pop_window_stack):
4282 Just hide the window to remove it from the stack.
4283 (hildon_program_go_to_root_window):
4284 Don't call gtk_widget_show(), this is now a task for the window
4287 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
4289 2008-10-15 Alberto Garcia <agarcia@igalia.com>
4291 * src/hildon-button.c
4292 (hildon_button_construct_child):
4293 Don't pack anything in the button until text or image are
4294 set. This allows adding a custom child after creating the button
4295 with hildon_button_new().
4296 (hildon_button_finalize, hildon_button_class_init)
4297 (hildon_button_init, hildon_button_set_arrangement): Destroy the
4298 alignment and the label box even when they're not packed in the
4301 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
4303 * src/hildon-touch-selector.h:
4304 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
4305 currently the type definition was using GTK_TYPE_VBOX
4306 * src/hildon-touch-selector.c:
4307 Added some implementation notes in order to clarify that any other widget
4308 added without the column related API will not be included on the
4309 selection logic, and how the widget is freed, as some people ask about
4311 (hildon_touch_selector_remove): Reimplemented in order to free properly
4312 the column related data when you remove the private hbox.
4313 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
4314 to get a proper HildonTouchSelectorColumn documentation
4316 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4318 * src/hildon-touch-selector-entry.c:
4319 (hildon_touch_selector_entry_print_func): Return NULL if there is no
4320 text in the GtkEntry and there is no item selected. Fixes a
4323 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4325 * src/hildon-app-menu-private.h
4326 * src/hildon-app-menu.[ch]
4327 * src/hildon-button.[ch]
4328 * src/hildon-check-button.[ch]
4329 * src/hildon-entry.[ch]
4330 * src/hildon-pannable-area.[ch]
4331 * src/hildon-text-view.[ch]:
4332 Added private field to the object's structure.
4334 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4336 * configure.ac: post-release version bump
4338 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4342 * configure.ac: pre-release version bump
4344 * debian/changelog: updates.
4346 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4348 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
4349 Disconnect the handler for HildonTouchSelector::changed.
4351 (hildon_picker_button_selector_selection_changed): Update the button
4352 value if the selection change was not triggered by the
4355 (hildon_picker_button_set_selector): connect to
4356 HildonTouchSelector::changed.
4358 Fixes: NB#89650 (Picker button is not updated, when selection in
4359 selector has changed)
4361 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
4363 * src/hildon-picker-dialog.c
4364 (hildon_picker_dialog_realize): Removed as not required
4365 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
4366 * src/hildon-picker-button.c
4367 (_current_selector_empty): New function, checks if the selector is empty
4368 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
4369 if the current selector is empty, in order to avoid to show the dialog
4370 close the dialog in this case (and shows a g_warning).
4372 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
4374 2008-10-09 Alejandro G. Castro <alex@igalia.com>
4376 * src/hildon-pannable-area.c,
4377 (hildon_pannable_area_scroll): Added clause to stop movement when
4378 the child of pannable is smaller than one page.
4379 (hildon_pannable_area_scroll_to): Added conditions to avoid
4380 starting the scrolling movement if the child is smaller than one
4381 page, the complete child is in the screen, we do not have to move.
4383 Fixes: NB#89632 (Picker button selection doesn't change on first click)
4385 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4387 * src/hildon-app-menu.c: Removed the 'columns' property, as now
4388 this is managed automatically by the widget when the size of the
4391 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4393 * src/hildon-picker-button.c
4394 (hildon_picker_button_set_done_button_text): Make a copy of the
4395 text, and free the previous value.
4397 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4399 * src/hildon-touch-selector-entry.c:
4400 (hildon_touch_selector_entry_print_func): Return the selected row's
4401 text if the entry is empty.
4403 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
4406 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4408 * src/hildon-touch-selector-entry.c: Minor docs fixes.
4410 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4413 * src/hildon-check-button.h
4414 * src/hildon-check-button.c
4415 * examples/hildon-check-button-example.c:
4416 HildonCheckButton is now a new widget. 'toggled' signal added.
4418 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4420 * src/hildon-program-private.h
4421 * src/hildon-program.c (hildon_program_init)
4422 (hildon_program_finalize): Removed unused variables group_leader
4423 and name from HildonProgramPrivate.
4425 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4427 * src/hildon-check-button.c (hildon_check_button_set_active)
4428 (hildon_check_button_get_active, hildon_check_button_new): Use
4429 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
4431 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
4433 * src/hildon-touch-selector.h
4434 (hildon_touch_selector_set_column_attributes): added deprecation
4435 guard HILDON_DISABLE_DEPRECATED
4436 * src/hildon-time-selector.c
4437 (hildon_time_selector_set_time)
4438 (hildon_time_selector_get_time): Fixed a typo on documentation
4439 * src/hildon-touch-selector.c: update HildonTouchSelector and
4440 HildonTouchSelectorColumn documentation
4441 * src/hildon-touch-selector-entry.c: update "text-column" property
4443 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
4444 to be added to the general documentation.
4446 2008-10-08 Alejandro G. Castro <alex@igalia.com>
4448 * examples/hildon-pannable-area-example-4.c,
4450 * examples/hildon-pannable-area-example.c,
4451 (main): Modified the code in order to use the container add, with
4452 viewport treeviews could have problems if they are really big.
4454 2008-10-06 Alejandro G. Castro <alex@igalia.com>
4456 * src/hildon-weekday-picker.c,
4457 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
4458 the agreement regarding deprecation in the library.
4460 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4462 * examples/hildon-picker-button-multicolumn-example.c:
4463 (main): Use custom "done" button text.
4465 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4466 (hildon_picker_button_set_property),
4467 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4468 (hildon_picker_button_init),
4469 (+hildon_picker_button_get_done_button_text),
4470 (+hildon_picker_button_set_done_button_text): New methods to customize
4471 the "done" button label in the launched HildonPickerDialog. Also,
4474 * src/hildon-picker-button.h: add the public API.
4476 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4478 * src/hildon-date-selector.h:
4479 * src/hildon-picker-dialog.h:
4480 * src/hildon-time-selector.h:
4481 * src/hildon-touch-selector-column.h:
4482 * src/hildon-touch-selector.h:
4484 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
4485 declarations. Fixes gtk-doc warnings.
4487 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4489 * src/hildon-picker-dialog.h
4490 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
4491 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
4493 Fixes: NB#89329 (selectors in picker dialog are not visible when a
4494 long text is set as label for done button)
4496 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4498 * src/hildon-dialog.c (hildon_dialog_add_button):
4499 Set fixed width to all buttons in the HildonDialog.
4501 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4503 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4505 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
4506 Set widget name using class name plus "-finger" or "-thumb".
4508 2008-10-03 Alberto Garcia <agarcia@igalia.com>
4510 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
4511 'clicked' when the state of the button is manually changed.
4513 2008-10-02 Alberto Garcia <agarcia@igalia.com>
4515 * src/hildon-app-menu.c (hildon_app_menu_realize)
4516 (hildon_app_menu_unrealize, hildon_app_menu_init)
4517 (hildon_app_menu_class_init, item_visibility_changed):
4518 Change the menu layout when the size of the screen changes.
4519 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
4520 Show warning only when changing the number of colums using the
4523 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
4525 * debian/compat: Set to 5
4526 * debian/control: Update dependencies.
4527 * debian/libhildon1-dbg.install: Remove.
4528 * debian/libhildon1-dev.install: Update according to cdbs paths.
4529 * debian/libhildon1.install: Update according to cdbs paths.
4530 * debian/rules: Switch to cdbs.
4532 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4534 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
4535 'item' variable renamed to 'filter'
4537 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4539 * src/hildon-app-menu.c (hildon_app_menu_insert)
4540 (hildon_app_menu_add_filter, remove_item_from_list)
4541 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
4542 Don't leak hidden items when the menu is destroyed.
4544 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4546 * src/hildon-app-menu.c (hildon_app_menu_insert)
4547 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
4548 (hildon_app_menu_set_columns, item_visibility_changed)
4549 (filter_visibility_changed, hildon_app_menu_repack_filters)
4550 (hildon_app_menu_repack_items):
4551 Repack items and filters separately.
4553 Don't repack all items, change only the ones that are needed to
4556 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4558 * src/Makefile.am: added hildon-touch-selector-column.h
4560 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4562 * src/hildon-touch-selector.c: added the property "text-column" to the
4563 class HildonTouchSelectorColumn, and related get/set functions
4564 (_default_printf_func): updated to use "text-column" property
4565 * src/hildon-touch-selector-entry.c: mark as deprecated the property
4566 "text-column" in his documentation, as this is now included on
4567 HildonTouchSelectorColumn. The get/set_property can still be used,
4568 working as a wrapper to the concrete column "text-column" property
4569 (_text_column_modified): callback added in order to handle the signal
4570 "notify::text-column" of the concrete HildonTouchSelectorColumn
4571 (hildon_touch_selector_entry_get_text_column)
4572 (hildon_touch_selector_entry_set_text_column): Added documentation, and
4573 modified in order to use the HildonTouchSelectorColumn "text-column"
4575 * src/hildon-time-selector.c:
4576 * src/hildon-date-selector.c:
4577 * examples/hildon-touch-selector-example.c
4578 * examples/hildon-touch-selector-multi-cells-example.c
4579 * examples/hildon-picker-button-multicolumn-example.c
4580 Set the right value to "text-column" property on the creation of a new
4581 column using hildon_touch_selector_append_column()
4583 Fixes: NB#88644 (Hardcoded first column of the model as text column)
4585 2008-09-30 Alberto Garcia <agarcia@igalia.com>
4587 * src/hildon-app-menu.c
4588 (hildon_app_menu_construct_child, hildon_app_menu_init): When
4589 updating the layout of the menu, don't create all widgets again,
4590 just repack the items in their new places.
4592 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
4594 * src/hildon-time-selector.c
4595 (hildon_time_selector_get_time)
4596 (hildon_time_selector_set_time)
4597 Added documentation of these public methods
4599 * src/hildon-date-button.h
4600 * src/hildon-touch-selector-column.h
4601 * src/hildon-time-button.h
4602 * src/hildon-picker-dialog.h
4603 * src/hildon-time-selector.h
4604 * src/hildon-picker-button.h
4605 * src/hildon-touch-selector.h
4606 * src/hildon-time-picker.h
4607 * src/hildon-date-selector.h
4608 * src/hildon-touch-selector-entry.h
4609 Modified in order to use hildon-widgets code style
4611 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4613 Added deprecated support to the compilation process using
4614 HILDON_DISABLE_DEPRECATED
4616 * configure.ac: Added the --disable-deprecated to the configure
4619 * src/hildon-weekday-picker.c:
4620 * src/hildon-weekday-picker.h: Deprecated widget, example of how
4621 to use the deprecated support. We will update the other deprecated
4622 widgets status in a new patch.
4624 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4626 * configure.ac: Fixed typo with fatal warnings support, the
4627 variable name was not correct
4629 2008-09-29 Alberto Garcia <agarcia@igalia.com>
4631 * src/hildon-app-menu.c
4632 * src/hildon-program.c: Update documentation.
4634 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4636 * configure.ac: Post-release version bump.
4638 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4643 * configure.ac: Pre-release version bump.
4644 * debian/changelog: Updates.
4646 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4648 * NEWS: Update news for previous releases.
4650 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4652 * examples/hildon-touch-selector-multi-cells-example.c:
4653 (create_selector): Update the example to use
4654 hildon_touch_selector_append_column() with a NULL renderer and set
4655 the renderers later.
4656 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
4657 passed a NULL renderer. This is documented behavior now.
4659 Allow passing a NULL renderer to hildon_touch_selector_append_column().
4660 This must be used if the developer wants full control on the layout of
4661 the renderers to be added to the column.
4663 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4665 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4667 * src/hildon-touch-selector.c: Documentation fixes.
4669 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4671 * src/hildon-wizard-dialog-private.h: Remove image and box.
4672 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
4673 (hildon_wizard_dialog_set_property), (response): Completely remove
4674 image/icon support, and the containers required for the layout.
4676 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
4678 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4680 * src/hildon-app-menu.c: Updated documentation.
4682 * src/hildon-stackable-window.c
4683 (hildon_stackable_window_set_main_menu): Unref the old menu after
4684 ref'ing the new one.
4686 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4688 * src/hildon-stackable-window.c
4689 (hildon_stackable_window_set_main_menu): Unref the previous menu
4690 instead of destroying it.
4692 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
4693 floating reference and set has_user_ref_count to FALSE to make
4694 HildonAppMenu act like a normal ref-counted widget and not a
4697 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
4700 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
4702 * src/hildon-touch-selector-column.h: new file
4703 * src/hildon-touch-selector.h
4704 * src/hildon-touch-selector.c
4705 Implemented GtkCellLayout interface, in order to allow to configure
4706 the cell layout on each individual selector column
4707 (hildon_touch_selector_set_column_attributes): marked as deprecated
4708 * examples/hildon-touch-selector-multi-cells-example.c
4709 Example of how to use the GtkCellLayout interface on the selector
4711 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4713 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4715 * src/hildon-app-menu.h
4716 * src/hildon-app-menu.c
4717 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
4718 (hildon_app_menu_append, hildon_app_menu_prepend):
4719 New methods to prepend, insert and move items in the menu.
4721 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4723 * src/hildon-wizard-dialog.c:
4725 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
4727 (create_title): Update logical IDs and related code.
4728 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
4730 * src/hildon-wizard-dialog.h: Note that
4731 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
4732 point, as it is not used anymore.
4734 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
4736 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4738 * src/hildon-note.c:
4739 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
4740 shown. Do not display an icon in confirmation notes nor information
4742 (hildon_note_set_button_text): Update logical ID for cancel button.
4744 Fixes: NB#88850 (Update HildonNote button strings + signals)
4746 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4748 * src/hildon-stackable-window.c
4749 (hildon_stackable_window_set_main_menu): Fix compilation warning.
4751 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4753 * src/hildon-app-menu-private.h
4754 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
4755 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
4756 (hildon_app_menu_init, hildon_app_menu_class_init): Added
4757 temporary property 'columns' to change the number of columns.
4759 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4761 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
4763 * examples/hildon-note-example.c: (on_information_clicked),
4764 (on_confirmation_clicked), (on_progress_clicked), (main): Add
4765 debugging information.
4766 * src/hildon-note-private.h: Remove close_if_pressed_outside,
4768 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
4769 (hildon_note_rebuild): Remove special handling of tapping outside/inside
4770 in order to close: this will be handled by the WM from now on.
4772 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
4774 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4776 * src/hildon-app-menu-private.h
4777 * src/hildon-app-menu.c
4778 (hildon_app_menu_append, hildon_app_menu_add_filter)
4779 (button_visibility_changed, hildon_app_menu_apply_style)
4780 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
4781 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
4782 layout everytime a button (item or filter) is shown or hidden.
4784 * src/hildon-stackable-window.c
4785 (hildon_stackable_window_set_main_menu): Destroy the old menu when
4788 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
4790 * src/hildon-touch-selector.c:
4791 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
4792 that the treeview inside the touch selector is in fremantle hildon mode
4793 * examples/hildon-date-button-example.c
4794 * examples/hildon-picker-button-multicolumn-example.c
4795 * examples/hildon-touch-selector-entry-example.c
4796 * examples/hildon-touch-selector-example.c
4797 * examples/hildon-time-button-example.c
4798 * examples/hildon-picker-button-example.c:
4799 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
4801 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
4803 * examples/hildon-text-view-example.c: (main): Remove the
4804 gtkrc bits, now handled by the theme.
4806 2008-09-22 Alberto Garcia <agarcia@igalia.com>
4808 * src/hildon-picker-button.c (hildon_picker_button_set_active):
4811 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4813 * po/Makefile.am: Install properly the mo files.
4814 * po/en_GB.po: Update translation, to ease testing purposes.
4816 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4818 * examples/hildon-picker-button-example.c: (main): Select an item
4819 in the selector before setting it to the button.
4821 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4823 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
4824 Update button's value if the selector has an item active.
4826 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
4827 'value' with the selector)
4829 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4831 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
4832 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
4833 (hildon_picker_button_class_init): Plug the finalize method.
4834 (hildon_picker_button_set_selector): If there's a previously set
4835 selector, unref'it before setting a new one.
4837 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
4838 HildonTouchSelector)
4840 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
4842 * src/hildon-touch-selector-entry.c:
4843 (hildon_touch_selector_entry_changed): Check if there is no text
4844 selected before setting the entry text.
4847 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4849 * src/hildon-touch-selector.h
4850 * src/hildon-touch-selector.c
4851 (hildon_touch_selector_get_active)
4852 (hildon_touch_selector_set_active): New methods to set/get the
4853 index of the selected item.
4855 * src/hildon-picker-button.h
4856 * src/hildon-picker-button.c
4857 (hildon_picker_button_get_active)
4858 (hildon_picker_button_set_active): New methods to set/get the
4859 index of the selected item.
4861 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4863 * configure.ac: post-release version bump.
4865 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4869 * configure.ac: Pre-release version bump.
4870 * debian/changelog: Updates.
4871 * debian/control: Add myself as maintainer and depend on l10n
4874 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4876 * src/hildon-window.c
4877 (hildon_window_set_main_menu)
4878 * src/hildon-stackable-window.c
4879 (hildon_stackable_window_set_main_menu):
4880 Updated documentation.
4882 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4884 * src/hildon-date-selector.c (hildon_date_selector_finalize):
4885 Don't free selector->priv manually.
4888 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4891 (hildon_gtk_window_set_progress_indicator):
4892 * src/hildon-gtk.h: Added the new API
4893 hildon_gtk_window_set_progress_indicator, it changes the state of
4894 the window progress hint.
4896 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4898 * src/hildon-button.c
4899 * src/hildon-stackable-window.c: Minor documentation updates.
4901 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4903 * src/hildon-stackable-window.c: Updated documentation.
4905 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
4907 * src/hildon-defines.h: Update margins definitions
4908 to the Fremantle sizes.
4911 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4913 * src/hildon-touch-selector.c,
4914 (_hildon_touch_selector_set_model): Cleaning the code after
4915 review, removed g_print and #if 0 from the code.
4917 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4919 * src/hildon-edit-toolbar.c: Update documentation.
4921 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4923 * src/hildon-check-button.h
4924 * src/hildon-check-button.c
4925 (hildon_check_button_set_label, hildon_check_button_get_label)
4926 * examples/hildon-check-button-example.c
4927 (button_clicked_cb):
4928 Removed deprecated methods.
4930 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4932 * src/hildon-text-view.c:
4933 Add sample code to the documentation.
4935 * src/hildon-entry.h
4936 * src/hildon-text-view.h:
4937 Minor cosmetic changes.
4939 * src/hildon-entry.c:
4940 Add sample code to the documentation.
4941 (hildon_entry_init, hildon_entry_refresh_contents):
4942 Don't allow NULL values in the placeholder.
4944 2008-09-10 Alberto Garcia <agarcia@igalia.com>
4946 * doc/hildon-docs.sgml
4948 * examples/Makefile.am
4949 * examples/hildon-text-view-example.c
4951 * src/hildon-text-view.c
4952 * src/hildon-text-view.h
4954 New HildonTextView widget, with example.
4956 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4958 * po/POTFILES.in: Add missing files with translatable strings.
4959 Partially fixes NB#88287.
4961 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4963 * examples/hildon-pannable-area-example-2.c: (main): No need to
4964 set the cellrenderer height inside hildon touch lists, the theme does
4967 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4969 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
4970 they are integrated in the theme.
4972 2008-09-09 Alberto Garcia <agarcia@igalia.com>
4974 * examples/hildon-entry-example.c: Update the example adding
4975 widgets to modify the text and the placeholder of the HildonEntry.
4977 * src/hildon-entry.c: Show the placeholder everytime the widget
4978 is empty and loses the focus.
4980 2008-09-09 Alejandro G. Castro <alex@igalia.com>
4982 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
4984 * src/hildon-pannable-area.c,
4985 (hildon_pannable_area_size_request): Fixed bug in height
4986 requisition, avoid increasing size and add border twice.
4988 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4990 * configure.ac: postrelease version bump.
4992 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4996 * configure.ac: Prerelease version bump.
4997 * debian/changelog: update.
4998 * debian/rules: make -dbg package contain useful debugging symbols.
5000 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5002 * src/hildon-dialog.h
5003 * src/hildon-dialog.c
5004 (hildon_dialog_add_button, hildon_dialog_add_buttons):
5005 New methods to add buttons with finger size.
5006 (hildon_dialog_new_with_buttons):
5007 Create buttons with finger size.
5009 * examples/hildon-dialog-example.c (main): Use HildonDialog
5010 methods to add buttons.
5012 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5014 * src/hildon-entry.c: Updated HildonButton documentation.
5016 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5018 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
5019 button value label with (FALSE, FALSE) to prevent NB#88126 from
5022 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5024 * examples/hildon-pannable-area-example.c,
5025 (main): Removed examples panning a vbox inside a pannable
5026 area. Check bug NB#87965
5028 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5030 Patch contributed by Kris Rietveld (kris@imendio.com)
5032 * src/hildon-pannable-area.c,
5033 (hildon_pannable_area_get_topmost): replaced the get_geometry with
5034 get_size and get_position, this saves an X server roundtrip.
5036 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5038 * doc/hildon-docs.sgml
5040 * examples/Makefile.am
5041 * examples/hildon-entry-example.c
5043 * src/hildon-entry.c
5044 * src/hildon-entry.h
5046 New HildonEntry widget, with example.
5048 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5050 * src/hildon-button.c (hildon_button_construct_child): Pack the
5051 image with expand == fill == FALSE. This is a workaround for a bug
5054 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
5056 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
5057 labels for the text column, to make it more look more dynamic.
5059 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5061 * src/hildon-time-selector.c
5062 Define gettext auxiliar macro N_
5063 (_create_minutes_model)
5064 (_create_hours_model)
5065 (_create_ampm_model): use of strftime in order to fill the model
5066 * src/hildon-date-selector.c
5067 (hildon_date_selector_finalize):
5068 (_locales_init): remove the logic related to get the name of the months
5069 using nl_langinfo, as it is not required anymore
5071 (_create_year_model)
5072 (_create_month_model)
5073 (_update_day_model): use of strftime in order to fill the model properly
5076 2008-09-04 Alberto Garcia <agarcia@igalia.com>
5078 * src/hildon-button.h
5079 * src/hildon-button.c (hildon_button_get_image): New method to
5082 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
5084 * src/hildon-touch-selector.c:
5085 (hildon_touch_selector_remove_column): Remove from the correct parent
5086 and also remove the list element and free it.
5089 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5091 * src/hildon-time-selector.c
5092 (_create_hours_model): change the range on 12h ampm format in order to use
5093 a 12-11 range instead of previous 01-12 range
5094 (hildon_time_selector_set_time): change the way to select the current time
5095 on 12h ampm format, due the change on the range
5096 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
5099 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
5101 * src/hildon-touch-selector.c
5102 (hildon_date_touch_selector_get_selected): fix the selection mode check,
5103 in order to allow use this function on multiple row selection mode if
5104 the column is different that the first one
5107 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
5109 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
5110 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
5112 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5114 * src/hildon-date-selector.h: clean some comments, now on the .c
5115 * src/hildon-date-selector.c
5116 (hildon_date_selector_select_month): first implementation
5117 (hildon_date_selector_select_day): added documentation, reimplemented
5118 using hildon_date_selector_select_current_date to avoid repeat code
5121 2008-09-02 Alejandro G. Castro <alex@igalia.com>
5123 Reviewed interaction logic based on device experiences, refactored
5126 * src/hildon-pannable-area.c,
5127 (hildon_pannable_area_class_init): Updated default vmax speed.
5128 (hildon_pannable_area_calculate_velocity): Added this function, it
5129 avoids duplicate valocity calculation. Adjusted calculation to
5130 avoid problems with zero dist events.
5132 (hildon_pannable_area_motion_notify_cb): Now we use the
5133 calculate_velocity function.
5135 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5137 * src/hildon-date-selector.c
5138 (hildon_date_selector_select_current_date): fix the day range check
5139 as it failed using the last day of the current month
5142 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5144 * src/hildon-touch-selector.c
5145 (hildon_touch_selector_get_num_columns): added a parameter validation
5148 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5150 * examples/Makefile.am
5151 * examples/hildon-edit-toolbar-example.c: Example of the
5152 HildonEditToolbar widget.
5154 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5156 * configure.ac: postrelease version bump.
5158 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5162 * configure.ac: prerelease version bump.
5163 * debian/changelog: update.
5165 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5167 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
5168 renderer to display stock icons in the touch list. Also, set the sizes
5169 to the recommended in the style guide.
5171 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5172 * src/hildon-touch-selector.h
5173 (hildon_touch_selector_set_active_iter): renamed, now is
5174 hildon_touch_selector_select_iter
5175 (hildon_touch_selector_get_active_iter): renamed, now is
5176 hildon_touch_selector_get_selected
5177 (hildon_touch_selector_unselect_iter): added
5178 * src/hildon-touch-selector.c
5179 Update after API modification (methods renamed)
5180 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
5181 order to avoid problems selecting multiple elements on the column
5182 (hildon_touch_selector_unselect_iter): added the implementation
5183 * src/hildon-time-selector.c
5184 * src/hildon-date-selector.c
5185 * src/hildon-touch-selector-entry.c
5186 Update methods calls after hildon-touch-selector.h API modification (methods
5189 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5191 * src/hildon-stackable-window.c
5192 (hildon_stackable_window_finalize): Call the parent class's finalize.
5194 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5196 * examples/hildon-touch-selector-example.c: (create_selector): Use
5197 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
5200 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5202 * examples/hildon-touch-selector-example.c: (create_selector): Do not
5203 set a cell background color, to respect theming.
5205 2008-08-28 Alberto Garcia <agarcia@igalia.com>
5207 * doc/hildon-docs.sgml
5210 * src/hildon-edit-toolbar.c
5211 * src/hildon-edit-toolbar.h
5212 * src/hildon.h: New HildonEditToolbar widget.
5214 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
5216 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
5219 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5220 * src/hildon-touch-selector.c
5221 (_create_new_column): use g_object_set instead of two g_object_set_property
5223 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5224 * src/hildon-touch-selector.c
5225 (_create_new_column): use of hildon_gtk_tree_view_new to create
5226 the treeview, instead of use directly g_object_new
5227 (_create_new_column): update the property name "vindicator-mode" for the
5228 new one "vscrollbar-policy"
5229 * examples/hildon-date-button-example.c
5230 * examples/hildon-picker-button-multicolumn-example.c
5231 * examples/hildon-touch-selector-entry-example.c
5232 * examples/hildon-touch-selector-example.c
5233 * examples/hildon-time-button-example.c
5234 * examples/hildon-picker-button-example.c
5235 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
5236 to all the treeviews inside a pannable area.
5238 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5240 * src/hildon-button.h
5241 * src/hildon-button.c (hildon_button_init)
5242 (hildon_button_set_arrangement, hildon_button_set_alignment)
5243 (hildon_button_set_title_alignment)
5244 (hildon_button_set_value_alignment)
5245 (hildon_button_set_image_alignment)
5246 (hildon_button_construct_child): New methods to set the alignment
5247 of the individual components of the button (title, value,
5248 image). Also, new method to alter the xscale and yscale properties
5249 of the GtkAlignment inside the button, so more complex layouts can
5252 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5254 * src/hildon-button.c (hildon_button_style_set)
5255 (hildon_button_class_init, hildon_button_set_arrangement)
5256 (hildon_button_construct_child): Apply style properties
5257 correctly. Use the 'image-spacing' style property too.
5259 2008-08-26 Alberto Garcia <agarcia@igalia.com>
5261 * src/hildon-app-menu.c (hildon_app_menu_style_set)
5262 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
5265 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5267 * src/hildon-pannable-area.c,
5268 (hildon_pannable_area_size_request): Fixed problem with
5269 pannable-area size_request.
5271 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5273 Added management for the grab-focus to a child widget, like a
5274 range, we need to fade out the scrollbar when releasing.
5276 * src/hildon-pannable-area.c,
5277 (hildon_pannable_area_init): Connected the grab-focus signal to
5279 (hildon_pannable_area_grab_notify): Added this function in order
5280 to manage the situation when the grab-focus ends. We have to
5281 fade-out the scrollbar.
5283 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5285 * src/hildon-app-menu.c: Minor documentation update.
5287 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5289 * src/hildon-app-menu.c
5290 * examples/hildon-app-menu-example.c (create_menu): Update
5291 examples and documentation to explain how to connect callbacks.
5293 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
5295 * examples/hildon-button-example.c
5296 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
5297 hildon_stackable_window_new instead of gtk_window_new
5299 2008-08-22 Alejandro G. Castro <alex@igalia.com>
5301 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
5302 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
5303 (hildon_pannable_area_set_property),
5304 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
5305 (hildon_pannable_area_unrealize),
5306 (hildon_pannable_area_size_request),
5307 (hildon_pannable_area_size_allocate),
5308 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
5309 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
5310 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
5311 (hildon_pannable_area_initial_effect),
5312 (hildon_pannable_area_redraw),
5313 (hildon_pannable_area_scroll_indicator_fade),
5314 (hildon_pannable_area_expose_event),
5315 (hildon_pannable_area_get_topmost), (synth_crossing),
5316 (hildon_pannable_area_button_press_cb),
5317 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
5318 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
5319 (hildon_pannable_area_motion_notify_cb),
5320 (hildon_pannable_area_button_release_cb),
5321 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
5322 (hildon_pannable_area_remove),
5323 (hildon_pannable_calculate_vel_factor): Widget refactorization,
5324 chage the code layout to a more GtkWidget like. Review the use of
5327 2008-08-21 Alejandro G. Castro <alex@igalia.com>
5329 * examples/hildon-pannable-area-example-4.c,
5330 (main): Modified the name of the hindicator_mode to
5333 * src/hildon-pannable-area.c,
5334 (hildon_pannable_area_class_init),
5335 (hildon_pannable_area_motion_notify_cb),
5336 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
5337 we have reduced the amount of signals and managed reviewed its
5338 rationale. Changed the default decelerate value.
5340 (hildon_pannable_area_add),
5341 (hildon_pannable_area_redraw): Refactored functions.
5343 (hildon_pannable_area_init),
5344 (hildon_pannable_area_get_property),
5345 (hildon_pannable_area_set_property):
5346 (hildon_pannable_draw_vscroll),
5347 (hildon_pannable_draw_hscroll),
5348 (hildon_pannable_area_initial_effect),
5349 (hildon_pannable_area_expose_event),
5350 (hildon_pannable_area_scroll),
5351 (hildon_pannable_area_button_press_cb),
5352 (hildon_pannable_area_realize): Replaced the names hindicator_mode
5353 and vindicator_mode with hscrollbar_policy and
5354 vscrollbar_policy. Replaced hscroll and vscroll with
5355 hscroll_visible and vscroll_visible.
5357 (hildon_pannable_area_refresh): Refactor the function, remove
5358 variables and check the calls to this function, added resize
5359 conditions in case the children change their layout.
5361 (hildon_pannable_area_size_request): Added more detailed
5362 size_request calculation.
5365 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
5367 * src/hildon-color-chooser.c
5368 (init_borders): use the correct gtk_border_free instead of g_free, to
5369 avoid a crash when this widget is used (ie: the three color selection
5372 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5374 * src/hildon-check-button.c,
5375 (hildon_check_button_set_active): Fixed problem when setting the
5376 active value, the widget was not redrawn.
5378 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5380 * src/hildon-pannable-area.c,
5381 (hildon_pannable_area_refresh),
5382 (hildon_pannable_area_scroll),
5383 (hildon_pannable_area_motion_notify_cb): Small code style change.
5385 (hildon_pannable_area_class_init): Default initial_hint set to
5386 FALSE, it is not in the specs.
5388 (hildon_pannable_area_initial_effect),
5389 (hildon_pannable_area_expose_event),
5390 (hildon_pannable_area_map),
5391 (hildon_pannable_area_init): Moved the launching point of the
5392 initial effect, it was in map but the sizes where not correct in
5393 that method so we do not know if we have the reproduce it. Now it
5394 is placed in the expose_event method and uses a variable to
5395 reproduce it just once.
5397 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5399 * src/hildon-pannable-area.c,
5400 (hildon_pannable_draw_vscroll),
5401 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
5402 position allowed for the scrollbars.
5404 (hildon_pannable_area_size_allocate): Small style change.
5406 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5408 * src/hildon-pannable-area.c,
5409 (hildon_pannable_area_scroll_indicator_fade),
5410 (hildon_pannable_area_button_press_cb),
5411 (hildon_pannable_area_button_release_cb),
5412 (hildon_pannable_area_scroll_cb),
5413 (hildon_pannable_area_expose_event),
5414 (hildon_pannable_area_init): Added the define parameter
5415 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
5416 and refactor the fade variable.
5418 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5420 * src/hildon-pannable-area.c,
5421 (hildon_pannable_area_redraw),
5422 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
5423 lines, we were reimplemeting the redraw code.
5425 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5427 * src/hildon-pannable-area.c,
5428 (hildon_pannable_area_scroll_cb),
5429 (hildon_pannable_area_realize),
5430 (hildon_pannable_area_class_init): Added scroll_event management
5431 for pannable area, now we can scroll the usual desktop method.
5433 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
5434 initialization of the parameters should depend on idle_id.
5436 (hildon_pannable_area_init),
5437 (hildon_pannable_area_map): Small code style modifications
5439 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5441 * src/hildon-pannable-area.c
5442 (hildon_pannable_area_button_press_cb),
5443 (hildon_pannable_area_motion_notify_cb),
5444 (hildon_pannable_area_button_release_cb),
5445 (hildon_pannable_area_size_allocate),
5446 (hildon_pannable_area_scroll_to): Improved the timeouts
5447 management, we avoid creating them each time.
5449 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5451 * src/hildon-pannable-area.c:
5452 (hildon_pannable_area_refresh),
5453 (hildon_pannable_area_motion_notify_cb),
5454 (hildon_pannable_area_class_init):
5455 * src/hildon-pannable-area.h:
5456 * src/hildon-touch-selector.c
5457 (_create_new_column):
5458 * examples/hildon-pannable-area-example-4.c:
5459 (horizontal_movement),
5460 (vertical_movement),
5462 Replaced the names of enums in the HildonPannableArea:
5463 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
5464 HILDON_MOVEMENT_MODE_*
5465 - HILDON_PANNABLE_AREA_MOV_* ->
5467 - Removed HildonPannableAreaIndicatorMode, now we
5470 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5472 * examples/hildon-pannable-area-touch-grid-example.c
5473 * examples/hildon-pannable-area-touch-list-example.c: Fix
5474 compilation warnings.
5476 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5478 * src/hildon-gtk.c (hildon_gtk_button_new)
5479 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
5480 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
5481 images overriding the value of the "gtk-button-images" setting.
5483 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5485 * src/hildon-check-button.c (hildon_check_button_new):
5486 Instead of using a custom container, display the label and the
5487 checkbox using the standard GtkButton API.
5489 * examples/hildon-check-button-example.c (main): Don't use
5490 hildon_check_button_set_label() anymore
5492 * src/hildon-check-button.h
5493 * src/hildon-check-button.c
5494 (hildon_check_button_set_label, hildon_check_button_get_label):
5495 Set as deprecated, now we're using gtk_button_{get,set}_label()
5497 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5499 * src/hildon-pannable-area.c,
5500 (hildon_pannable_area_get_topmost): Fixed bug with click in the
5501 GtkTreeview first line we detected it after the inclusion of the
5502 GtkWindowImpl in gtk+. We now check if the window is visible, not
5503 just if the pointer is over the window.
5504 (hildon_pannable_axis_scroll),
5505 (hildon_pannable_area_expose_event): Small style changes.
5507 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5509 * src/hildon-button.c: Update documentation.
5511 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5513 * examples/hildon-button-example.c: Add a switch to show images in
5516 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5518 * doc/hildon-docs.sgml: Some docs reorganization.
5520 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5522 * examples/hildon-pannable-area-touch-list-example.c
5524 * examples/hildon-pannable-area-touch-grid-example.c
5525 (create_icon_view): Use gtk_{tree,icon}_view_new() and
5526 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
5527 Fix memory leak when setting the tree model.
5529 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5533 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5535 * doc/hildon.types: Remove duplicated hildon_window_get_type
5536 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
5537 documentation comment.
5539 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5541 * doc/Makefile.am: Complete list of private headers.
5543 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5545 * doc/hildon-docs.sgml
5546 * src/hildon-app-menu.c
5547 * src/hildon-bread-crumb.c
5548 * src/hildon-button.c
5550 * src/hildon-program.c
5551 * src/hildon-stackable-window.c
5552 * src/hildon-window.c: Lots of documentation updates.
5554 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5556 * debian/control: Depend on Gtk 2:2.12.9-0osso3
5558 * configure.ac: Require Gtk+ 2.12.9 at least
5560 2008-08-12 Alejandro G. Castro <alex@igalia.com>
5562 * src/hildon-pannable-area.c
5563 (hildon_pannable_area_scroll_indicator_fade),
5564 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
5565 to protect the return of this timeout callbacks, avoiding deadlocks.
5567 2008-08-12 Christian Dywan <christian@imendio.com>
5570 * src/hildon-*.h: Ensure a consistent include order,
5571 include <gtk/gtk.h> instead of particular files and
5572 only include the topmost header in the gtk stack. See NB #39857
5574 2008-08-12 Christian Dywan <christian@imendio.com>
5576 * src/hildon-picker-dialog.c
5577 * src/hildon-touch-selector.c: Fix warnings about unused and
5578 uninitialized variables.
5580 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5582 * examples/Makefile.am
5583 * examples/hildon-check-button-example.c: Example of the hildon
5586 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5588 * src/hildon-window.h
5589 * src/hildon-window.c (hildon_window_class_init)
5590 (hildon_window_unset_program): Don't make
5591 hildon_window_unset_program a virtual function anymore.
5593 * src/hildon-stackable-window.c: Update documentation
5595 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5598 * doc/hildon-docs.sgml
5599 * doc/visual_index.xml
5600 * src/hildon-defines.c
5602 * src/hildon-helper.c
5603 * src/hildon-range-editor.c: Lots of documentation fixes.
5605 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5607 * examples/hildon-picker-button-multicolumn-example.c
5608 (create_touch_selector): Fix compilation warning.
5610 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5612 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
5613 (hildon_pannable_area_button_release_cb)
5614 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
5616 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5618 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
5621 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5623 * src/hildon-bread-crumb-trail.h
5624 * src/hildon-date-editor.c
5625 * src/hildon-date-selector.c
5626 * src/hildon-pannable-area.c
5627 * src/hildon-picker-dialog.c
5628 * src/hildon-time-selector.c
5629 * src/hildon-touch-selector-entry.c
5630 * src/hildon-touch-selector.c
5631 * src/hildon-touch-selector.h: Misc documentation fixes
5633 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5635 * examples/hildon-date-editor-example.c (main): Updated date
5638 * examples/hildon-note-example.c (on_confirmation_clicked):
5639 Updated confirmation note example.
5641 * src/hildon-date-editor.c
5642 * src/hildon-note.c: Updated sample programs in documentation.
5645 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5647 * src/hildon-date-button.h:
5648 * src/hildon-picker-button.h:
5649 * src/hildon-time-button.c:
5650 * src/hildon-time-button.h:
5652 Some declarations changes to allow gtk-doc to document the widgets
5655 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5657 * src/hildon-date-button.c: Document the widget.
5658 * src/hildon-time-button.c: Document the widget.
5660 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5662 * src/hildon-picker-button.c: Document the widget.
5663 * src/hildon-touch-selector-entry.c: Document the widget.
5665 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5667 * doc/hildon-docs.sgml
5670 * src/hildon-check-button.h
5671 * src/hildon-check-button.c: New functions to create the Hildon
5675 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
5677 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5679 * src/hildon-button.h
5680 * src/hildon-button.c
5681 (hildon_button_add_title_size_group)
5682 (hildon_button_add_value_size_group)
5683 (hildon_button_add_image_size_group)
5684 (hildon_button_add_size_groups): New functions to set size groups
5685 for the button labels and image.
5686 (hildon_button_new_full): Removed
5688 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
5690 * src/hildon-time-selector.c
5691 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
5692 in order to avoid a crash if gconf is not available
5694 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5696 * src/hildon-button.c (hildon_button_set_arrangement)
5697 (hildon_button_construct_child): Don't construct the button child
5698 before setting the arrangement.
5700 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5702 * src/hildon-program-private.h
5703 * src/hildon-program.c
5704 * src/hildon-program.h
5705 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
5706 (hildon_program_peek_window_stack)
5707 (hildon_program_pop_window_stack)
5708 (hildon_program_go_to_root_window): HildonProgram now has a
5709 separate list for stackable windows. Functions are provided to
5710 manage that list with a stack-like API.
5712 * src/hildon-stackable-window.c: Stackable window management is
5713 now much simpler with the new HildonProgram API. Windows no
5714 longer need to be manually added to the program, they're
5715 automatically pushed to the top of the stack when shown.
5717 * examples/hildon-stackable-window-example.c: Updated example to
5718 reflect the API changes.
5720 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5722 * src/hildon-touch-selector.c: Comment out unimplemented
5723 hildon_touch_selector_insert_column() to avoid a compile warning.
5725 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5727 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5728 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
5729 (hildon_touch_selector_set_column_selection_mode),
5730 (_hildon_touch_selector_set_model),
5731 (hildon_touch_selector_set_model):
5733 Complete review of HildonTouchSelector documentation.
5735 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5737 * doc/hildon-docs.sgml
5741 * src/hildon-gtk.c: Convenience functions for standard Gtk
5742 widgets, used to easily perform frequent operations.
5744 * src/hildon-button-helpers.h
5745 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
5747 * src/hildon-helper.h
5748 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
5749 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
5751 * src/hildon-button.h
5752 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
5754 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5756 * src/hildon-button.c (hildon_button_init)
5757 (hildon_button_set_arrangement, hildon_button_construct_child):
5758 Pack the image and the labels inside the same GtkAlignment so
5759 gtk_button_set_alignment() can be used
5761 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5763 * src/hildon-button.h
5764 * src/hildon-button.c
5765 (hildon_button_init, hildon_button_set_image)
5766 (hildon_button_set_image_position)
5767 (hildon_button_construct_child): New functions to add an image to
5770 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5772 * src/hildon-date-button.c
5773 * src/hildon-picker-button.c
5774 * src/hildon-time-button.c
5775 * src/hildon-button.c:
5776 (hildon_button_class_init): "size-flags" renamed to "size"
5777 (hildon_button_set_title): Hide the title label if set to NULL.
5779 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5781 HildonButtonFlags split into HildonButtonArrangement (to set the
5782 button layout) and HildonSizeType (which can be used for any
5785 * src/hildon-button.h
5786 * src/hildon-button.c
5787 (hildon_button_class_init)
5788 (hildon_button_set_arrangement)
5789 (hildon_button_set_property): New "size-flags"
5790 property. "arrangement-flags" renamed to "arrangement".
5791 (hildon_button_new, hildon_button_new_with_text)
5792 (hildon_button_new_full): Constructors updated to reflect type changes.
5794 * src/hildon-helper.h
5795 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
5796 to set the size of a widget.
5800 * src/hildon-button-helpers.c
5801 * src/hildon-button-helpers.h: New hildon-button-helpers module.
5803 * src/hildon-date-button.c
5804 * src/hildon-date-button.h
5805 * src/hildon-picker-button.c
5806 * src/hildon-picker-button.h
5807 * src/hildon-time-button.c
5808 * src/hildon-time-button.h: Updated widgets to reflect
5809 HildonButton API changes.
5811 * examples/hildon-button-example.c
5812 * examples/hildon-date-button-example.c
5813 * examples/hildon-picker-button-example.c
5814 * examples/hildon-picker-button-multicolumn-example.c
5815 * examples/hildon-time-button-example.c
5816 * examples/hildon-touch-selector-entry-example.c
5817 * examples/hildon-touch-selector-example.c: Updated examples to
5818 reflect HildonButton API changes.
5820 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5822 * doc/hildon-docs.sgml:
5824 * examples/Makefile.am:
5825 * examples/hildon-touch-selector-entry-example.c:
5827 * src/hildon-touch-selector-entry.c:
5828 * src/hildon-touch-selector-entry.h:
5831 Moved HildonTouchSelectorEntry from sandbox. Added its
5832 documentation and examples.
5834 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5836 * src/hildon-touch-selector.h:
5837 * examples/hildon-picker-button-multicolumn-example.c:
5838 (hildon_touch_selector_append_text_column): Add a gboolean
5839 parameter to determine if text must be centered in the column.
5841 * src/hildon-date-selector.c: (hildon_date_selector_init):
5842 * src/hildon-time-selector.c: (hildon_time_selector_init):
5843 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
5844 (create_touch_selector): Update widgets and example to reflect
5847 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5849 * src/hildon-touch-selector.c:
5850 (hildon_touch_selector_set_active_iter): Set also the cursor in
5853 2008-08-06 Alberto Garcia <agarcia@igalia.com>
5855 * doc/hildon-docs.sgml
5858 * src/hildon-toggle-button.c
5859 * src/hildon-toggle-button.h
5860 * src/hildon.h: Removed HildonToggleButton widget, a derived
5861 class is not necessary for this.
5863 2008-08-06 Alejandro G. Castro <alex@igalia.com>
5865 * src/hildon-pannable-area.c,
5866 (hildon_pannable_area_realize),
5867 (hildon_pannable_area_size_allocate): Code refactoring, add tests
5870 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
5872 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
5873 "done" button the default widget for the dialog.
5875 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5877 * src/hildon-touch-selector.c:
5878 (hildon_touch_selector_class_init),
5879 (hildon_touch_selector_get_property),
5880 (_hildon_touch_selector_set_model),
5881 (_hildon_touch_selector_has_multiple_selection),
5882 (hildon_touch_selector_has_multiple_selection):
5883 Add a "has-multiple-selection" property with a virtual
5884 has_multiple_selection() method to allow derived classes to
5885 override the default value for it. See the method and property
5886 documentation for details.
5888 * src/hildon-touch-selector.h: Add the new API.
5890 * src/hildon-picker-dialog.c: (requires_done_button): Call
5891 hildon_touch_selector_has_multiple_selection() instead of
5892 determining the need for a button itself.
5894 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5896 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5897 (_hildon_touch_selector_set_model),
5898 (hildon_touch_selector_set_model): Move working code to
5899 _hildon_touch_selector_set_mode(). Call the class method instead.
5901 * src/hildon-touch-selector.h: Add (*set_model) to
5902 HildonTouchSelectorClass.
5904 Make hildon_touch_selector_set_model() a virtual method, so that
5905 derived classes can extend it and do fancy stuff with the model.
5907 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5909 * configure.ac: Set back the tarname in AC_INIT to hildon.
5911 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5915 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
5916 instead of libesd (NB#86876). Volume handling is still an open issue.
5918 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
5921 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5923 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
5924 (hildon_touch_selector_append_column): Make the widget a GtkVBox
5925 derived class to ease placement of an entry widget in
5926 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
5927 end, where the selector columns are packed now.
5929 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5931 * src/hildon-picker-button.c: Removed the simple _text() API.
5932 * src/hildon-picker-button.h: Likewise.
5934 * src/hildon-touch-selector.h:
5935 * src/hildon-touch-selector.c:
5936 (hildon_touch_selector_new_text),
5937 (hildon_touch_selector_append_text),
5938 (hildon_touch_selector_prepend_text),
5939 (hildon_touch_selector_insert_text):
5941 Moved the simple _text() API from HildonPickerButton to
5942 HildonTouchPicker, to provide better escalability and not to tie
5943 that API to HildonPickerButton.
5945 * examples/hildon-picker-button-example.c: (main): Example updated.
5947 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5949 * src/hildon-button.c: Updated documentation.
5951 * examples/hildon-button-example.c: Add the posibility to create
5952 the buttons using horizontal layout for title and value.
5954 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5956 * src/hildon-app-menu-private.h
5957 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
5958 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
5959 GtkSizeGroup for the filters, use the 'homogeneous' property of
5962 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5964 * examples/hildon-button-example.c: Updated example.
5966 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
5968 * doc/hildon-docs.sgml:
5971 Update documentation.
5973 * examples/Makefile.am: Update renamed examples.
5975 * examples/hildon-picker-button-multicolumn-example.c:
5976 (create_touch_selector), (main): Update after the rename.
5978 * examples/hildon-touch-picker-example.c: Removed.
5979 * examples/hildon-touch-selector-example.c: (value_changed),
5980 (create_selector), (get_visible_content), (main): Renamed from
5981 hildon-touch-picker-example.c
5983 * src/Makefile.am: Updated renamed files.
5985 * src/hildon-date-button.c: (hildon_date_button_init),
5986 (hildon_date_button_get_date), (hildon_date_button_set_date):
5987 * src/hildon-date-selector.c: (hildon_date_selector_init),
5988 (_custom_print_func), (_update_day_model),
5989 (_manage_selector_change_cb),
5990 (hildon_date_selector_select_current_date),
5991 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
5992 * src/hildon-date-selector.h:
5993 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5994 (hildon_picker_button_set_property),
5995 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5996 (hildon_picker_button_init), (hildon_picker_button_new_text),
5997 (hildon_picker_button_append_text),
5998 (hildon_picker_button_prepend_text),
5999 (hildon_picker_button_insert_text),
6000 (hildon_picker_button_set_selector),
6001 (hildon_picker_button_get_selector):
6002 * src/hildon-picker-button.h:
6003 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
6004 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
6005 (_update_title_on_selector_changed_cb), (requires_done_button),
6006 (_hildon_picker_dialog_set_selector),
6007 (hildon_picker_dialog_set_selector),
6008 (hildon_picker_dialog_get_selector):
6009 * src/hildon-picker-dialog.h:
6010 * src/hildon-time-button.c: (hildon_time_button_init),
6011 (hildon_time_button_get_time), (hildon_time_button_set_time):
6012 * src/hildon-time-selector.c: (hildon_time_selector_init),
6013 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
6014 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
6015 * src/hildon-time-selector.h:
6018 Massive code updates after the rename.
6020 * src/hildon-touch-picker.c: Removed.
6021 * src/hildon-touch-picker.h: Removed.
6023 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6024 (hildon_touch_selector_init), (hildon_touch_selector_map),
6025 (hildon_touch_selector_remove), (_default_print_func),
6026 (_selection_changed_cb), (_create_new_column),
6027 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
6028 (hildon_touch_selector_append_text_column),
6029 (hildon_touch_selector_remove_column),
6030 (hildon_touch_selector_set_column_attributes),
6031 (hildon_touch_selector_insert_column),
6032 (hildon_touch_selector_get_num_columns),
6033 (hildon_touch_selector_get_column_selection_mode),
6034 (hildon_touch_selector_set_column_selection_mode),
6035 (hildon_touch_selector_set_print_func),
6036 (hildon_touch_selector_get_print_func),
6037 (hildon_touch_selector_get_active_iter),
6038 (hildon_touch_selector_set_active_iter),
6039 (hildon_touch_selector_get_selected_rows),
6040 (hildon_touch_selector_get_model),
6041 (hildon_touch_selector_set_model),
6042 (hildon_touch_selector_get_current_text),
6043 (_hildon_touch_selector_center_on_selected_items):
6044 * src/hildon-touch-selector.h: Renamed from
6045 hildon-touch-picker.[ch]
6047 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
6048 references, code examples, and related documentation.
6050 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6052 * doc/hildon-docs.sgml
6055 * src/hildon-toggle-button.c
6056 * src/hildon-toggle-button.h
6057 * src/hildon.h: New HildonToggleButton widget.
6059 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6061 * src/hildon-button.c: Add API documentation.
6062 (hildon_button_set_size_groups): Check input parameters
6064 2008-07-30 Alejandro G. Castro <alex@igalia.com>
6066 * src/hildon-pannable-area.c
6067 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
6068 effect after reaching the movement thredshold. This way we start
6069 using the distance after passing the thredshold.
6071 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6073 * src/hildon-button.c: (hildon_button_set_property): Use the
6074 appropriate g_value_get_flags() method.
6076 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6078 * doc/hildon-docs.sgml:
6081 Add the touch pickers, picker dialogs, and picker button widgets
6082 to the documentation.
6084 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6086 * src/hildon-button.c: (hildon_button_set_property),
6087 (hildon_button_class_init): Make "arrangement-flags" a proper
6088 G_TYPE_FLAGS derived property.
6090 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6092 * examples/Makefile.am: Add below examples.
6093 * examples/hildon-date-button-example.c:
6094 * examples/hildon-picker-button-example.c:
6095 * examples/hildon-picker-button-multicolumn-example.c:
6096 * examples/hildon-time-button-example.c:
6097 * examples/hildon-touch-picker-example.c:
6099 Add examples for the recently added touch pickers,
6100 picker dialogs, and picker button widgets.
6102 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6104 * src/hildon-button.c: Add some API documentation
6106 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6108 * src/hildon-button.h
6109 * src/hildon-button.c
6111 (hildon_button_new_with_text): New constructor to create a button
6112 with no text at all.
6113 (hildon_button_init, hildon_button_set_arrangement)
6114 (hildon_button_set_title, hildon_button_set_value)
6115 (hildon_button_set_text)
6116 (hildon_button_construct_child): Hide the value when it's not used
6117 so the rest of the text is properly aligned.
6118 Allow creating buttons with arbitrary widgets inside (not just
6119 title/value labels).
6121 * examples/hildon-button-example.c (vertical_buttons_window)
6122 (horizontal_buttons_window): Update example to use new API.
6124 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6126 * src/Makefile.am: Added HildonTimeButton.
6127 * src/hildon-time-button.c: Added missing LGPL header.
6128 * src/hildon-time-button.h: Added missing LGPL header.
6129 * src/hildon.h: Add hildon-time-button.h
6131 Copied HildonTimeButton from sandbox to trunk. Future work on this
6132 widget must take place in trunk.
6134 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6136 * src/Makefile.am: Added HildonDateButton.
6137 * src/hildon-date-button.c: Update includes.
6138 * src/hildon.h: Add hildon-date-button.h
6140 Copied HildonDateButton from sandbox to trunk. Future work on this
6141 widget must take place in trunk.
6143 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6145 * src/Makefile.am: Added HildonPickerButton.
6146 * src/hildon-picker-button.h: Update includes.
6147 * src/hildon.h: Add hildon-picker-button.h
6149 Copied HildonPickerButton from sandbox to trunk. Future work on
6150 this widget must take place in trunk.
6152 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6154 * src/Makefile.am: Added HildonPickerDialog.
6155 * src/hildon-picker-dialog.c: Update includes.
6156 * src/hildon.h: Add hildon-picker-dialog.h
6158 Copied HildonPickerDialog from sandbox to trunk. Future work
6159 on this widget must take place in trunk.
6161 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6163 * src/Makefile.am: Added HildonTimeSelector.
6164 * src/hildon.h: Add hildon-time-selector.h
6166 Copied HildonTimeSelector widget from sandbox to trunk. Future
6167 work on this widget must happen in trunk.
6169 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6171 * src/Makefile.am: Added HildonDateSelector.
6172 * src/hildon.h: Add hildon-date-selector.h
6174 Copied HildonDateSelector widget from sandbox to trunk. Future
6175 work on this widget must happen in trunk.
6177 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6179 * src/Makefile.am: Added HildonTouchPicker.
6180 * src/hildon-touch-picker.c: Update includes.
6181 * src/hildon.h: Add hildon-touch-picker.h
6183 Copied HildonTouchPicker widget from sandbox to trunk. Future work
6184 on this widget must happen in trunk.
6186 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6188 * src/hildon-pannable-area.c:
6189 (hildon_pannable_area_motion_notify_cb): Fix a typo.
6191 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6193 * examples/hildon-app-menu-example.c (main): Let the window
6196 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6198 * src/hildon-pannable-area.c
6199 (hildon_pannable_area_class_init): Set the min value of the
6200 overshoot properties to zero, which points out that not
6201 overshooting allowed.
6203 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6205 Modified the procedure to get the widget at a point inside the
6206 pannable area when using the movement type signals. Now the user
6207 has to call a function to get the child, that way we just
6208 calculate the child in case the user really want to use it and not
6211 * src/hildon-marshalers.list: Modified the marshallers, now we do
6212 not have the widget as a parameter.
6214 * src/hildon-pannable-area.c
6215 (hildon_pannable_area_motion_notify_cb),
6216 (hildon_pannable_area_class_init),
6217 (hildon_pannable_get_child_widget_at): Removed the widget
6218 parameter from the signal callback. We have also refactored the
6219 emission of the signals.
6221 * src/hildon-pannable-area.h: Added a new method to the API to
6222 calculate a widget at a point inside the pannable area,
6223 hildon_pannable_get_child_widget_at.
6225 * examples/hildon-pannable-area-example-4.c
6226 (horizontal_movement): Modified the example to use the new API,
6227 added condition to control which widget is under the event. This
6228 way we can avoid scrolling laterally over other widgets.
6230 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6232 * src/hildon-pannable-area.c
6233 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
6234 modes, we stop getting the pointer events due to returning the
6235 callback without properly calling the get pointer again. Fixed
6236 also an error using the hscroll and vscroll.
6238 2008-07-28 Alberto Garcia <agarcia@igalia.com>
6240 * src/hildon-app-menu-private.h
6241 * src/hildon-app-menu.c (hildon_app_menu_button_press)
6242 (hildon_app_menu_button_release, hildon_app_menu_init)
6243 (hildon_app_menu_class_init): Don't hide the menu on button
6244 release if the user didn't press outside first.
6246 * src/hildon-window.h
6247 * src/hildon-window.c (hildon_window_toggle_menu)
6248 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
6249 hildon_window_toggle_menu a virtual function for the stackable
6250 window to override it.
6252 * src/hildon-stackable-window.h
6253 * src/hildon-stackable-window-private.h
6254 * src/hildon-stackable-window.c
6255 (hildon_stackable_window_realize)
6256 (hildon_stackable_window_finalize)
6257 (hildon_stackable_window_class_init)
6258 (hildon_stackable_window_init)
6259 (hildon_stackable_window_set_main_menu): New function to set the
6260 app menu of a HildonStackableWindow.
6262 * examples/hildon-app-menu-example.c: Remove the button to show
6263 the app menu, now it'll be shown when clicking on the title bar
6266 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6268 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
6269 set the widget name if the arrangement flags do not specify
6272 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6274 * src/hildon-button.c: (hildon_button_set_property),
6275 (hildon_button_class_init), (hildon_button_new_full),
6276 (hildon_button_set_arrangement): Added "arrangement-flags"
6279 Make the HildonButtonFlags a construction-only property, to allow
6280 subclasses to set them properly.
6282 2008-07-21 Tim Janik <timj@imendio.com>
6284 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
6285 insertion position after backspace, so additional digits are appended,
6288 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6290 * src/hildon-pannable-area.c,
6291 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
6292 TODO list, it was complete and removed the g_debug and g_print
6295 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6297 Added the movement modes to the hildon-pannable-area, with this
6298 modes the developers can control in which directions the widget
6299 can scroll. They can also connect to signals in order to do
6300 something when that happens, allowing applications scroll. There
6301 is an example uploaded showing how to use it.
6303 * examples/Makefile.am:
6304 * examples/hildon-pannable-area-example-4.c: Added this example of
6305 an application using the modes.
6307 * src/hildon-marshalers.list: Added a new marshaller for the new
6310 * src/hildon-pannable-area.h: Added new enumerations and flags in
6311 order to control the movement modes and the new signals to warn
6312 about the movements in the area.
6314 * src/hildon-pannable-area.c:
6315 (hildon_pannable_axis_scroll),
6316 (hildon_pannable_area_scroll),
6317 (hildon_pannable_area_motion_notify_cb),
6318 (hildon_pannable_area_get_property),
6319 (hildon_pannable_area_set_property),
6320 (hildon_pannable_area_map),
6321 (hildon_pannable_area_class_init),
6322 (hildon_pannable_area_init),
6323 (hildon_pannable_area_jump_to): Added the modes to control the
6324 movement in the widget. We have added properties to control it,
6325 signals to warn about the movements and refactored some code.
6327 2008-07-15 Alejandro G. Castro <alex@igalia.com>
6329 Changes required in order to allow vfast_factor set to zero to
6332 * src/hildon-pannable-area.c:
6333 (hildon_pannable_area_button_press_cb): Changed the condition, it
6334 is required for not allowing click when vfast_factor is zero.
6335 (hildon_pannable_area_timeout): Initialized velocity variables
6336 when we stop moving, it was less than 1 but not zero and we need
6337 to check zero in some situations.
6338 (hildon_pannable_area_class_init): Changed the default value of
6339 the speed factor, now the button_press is just sent in case the
6340 speed is 2 per cent of the max speed.
6341 (hildon_pannable_area_init): Initialization with 0.
6343 2008-07-04 Alejandro G. Castro <alex@igalia.com>
6345 * src/hildon-pannable-area.c,
6346 (hildon_pannable_area_get_topmost): replaced
6347 gdk_window_get_children with gdk_window_peek_children, this way we
6348 do not have to free the list because it is not a copy.
6350 (hildon_pannable_axis_scroll),
6351 (hildon_pannable_area_scroll),
6352 (hildon_pannable_area_timeout),
6353 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
6354 two parameters that were only used inside the
6355 hildon_pannable_area_scroll function.
6357 * examples/hildon-pannable-area-example.c,
6358 (get_sawtooth_label): Fixed small memory leak.
6360 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6362 More checks for the case where the overshoot is bigger than the
6365 * src/hildon-pannable-area.c:
6366 (hildon_pannable_draw_vscroll),
6367 (hildon_pannable_draw_hscroll): with this new calculation we avoid
6368 to draw the slider of the scrollbar under the other scrollbar.
6369 (hildon_pannable_area_expose_event): added new checks to control
6370 the drawing of the overshooting area rectangle, in case it is too
6371 big for the area of the widget.
6372 (hildon_pannable_area_size_allocate): add more checks to avoid
6373 setting a position to the child widget outside the area.
6375 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6377 * src/hildon-pannable-area.c
6378 (hildon_pannable_area_size_allocate): Added conditions to control
6379 when overshooting is bigger than the allocated space for the
6380 children, this avoids negative allocations.
6382 2008-07-02 Alberto Garcia <agarcia@igalia.com>
6384 * doc/hildon-docs.sgml
6386 * examples/Makefile.am
6387 * examples/hildon-button-example.c
6389 * src/hildon-button.c
6390 * src/hildon-button.h
6391 * src/hildon.h: Initial version of the new HildonButton widget,
6394 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
6396 * src/hildon-pannable-area.c:
6397 (hildon_pannable_area_button_press_cb),
6398 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
6399 (hildon_pannable_area_motion_notify_cb),
6400 (hildon_pannable_area_button_release_cb),
6401 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
6402 (hildon_pannable_area_jump_to_child):
6404 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
6406 2008-07-01 Alberto Garcia <agarcia@igalia.com>
6408 * examples/Makefile.am
6409 * examples/hildon-pannable-area-touch-grid-example.c
6410 * examples/hildon-pannable-area-touch-list-example.c: Examples of
6411 the Hildon Touch List and Hildon Touch Grid using the
6412 HildonPannableArea widget.
6414 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6416 * src/hildon-pannable-area.c,
6417 (hildon_pannable_area_button_press_cb),
6418 (hildon_pannable_area_refresh),
6419 (hildon_pannable_area_scroll),
6420 (hildon_pannable_area_motion_notify_cb),
6421 (hildon_pannable_area_button_release_cb),
6422 (hildon_pannable_area_expose_event),
6423 (hildon_pannable_area_add),
6424 (hildon_pannable_area_remove),
6425 (hildon_pannable_area_realize),
6426 (hildon_pannable_area_size_allocate),
6427 (hildon_pannable_area_class_init),
6428 (hildon_pannable_area_init),
6429 (hildon_pannable_area_scroll_to_child),
6430 (hildon_pannable_area_jump_to_child): Fixed the problem of
6431 removing the child from the GtkBin, we have rearranged the widget
6432 hierarchy, now there is no GtkAlignment which was not doing
6433 anything interesting but breaking some of the assumptions of
6434 GtkContainer. Now developers if they want to add a GtkAlignment
6435 they could, but it is not inside the area.
6437 We had to review the whole allocation/expose process, now it is
6438 improved and we save at least three signals which would be saving
6439 some time when rendering the widget. The allocation of the
6440 scrollbars is now made in the allocate method as usual.
6442 We have also added some conditions in order to control when there
6443 is no child of the pannable area. Maybe we will need more work
6446 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6448 * src/hildon-pannable-area.c,
6449 (hildon_pannable_area_dispose): Released the fade-out timeout when
6450 disposing the widget.
6452 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6454 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
6455 zero, we are going to use that property in order to deactivate the
6457 (hildon_pannable_axis_scroll),
6458 (hildon_pannable_area_size_allocate): Added conditions to control
6459 when overshoot_max is zero. Moved the gtk_adjustment_set_value
6460 call, now it is called in all situations and we can remove calls
6461 in the allocate method.
6462 (hildon_pannable_area_map): Control the situation when
6463 overshoot_max is zero, we do not need the timeout.
6464 (hildon_pannable_area_class_init): Added documentation in order to
6465 point out that setting zero to overshoot_max means deactivate
6468 NOTE: removed trailing whitespaces from my previous comments of
6471 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6473 * src/hildon-pannable-area.c
6474 (hildon_pannable_area_get_property),
6475 (hildon_pannable_area_set_property),
6476 (hildon_pannable_area_map),
6477 (hildon_pannable_area_class_init),
6478 (hildon_pannable_area_init): Add a boolean "initial-hint" property
6479 to cause the widget give a hint about its panning abilities upon
6482 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6484 * src/hildon-pannable-area.c: Several documentation improvements.
6486 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6488 * src/hildon-program.c
6489 * src/hildon-stackable-window.c: Update documentation.
6491 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6493 * src/hildon-stackable-window.c (get_previous_window_if_last):
6494 Renamed get_last_window()
6495 (hildon_stackable_window_map, hildon_stackable_window_unmap)
6496 (hildon_stackable_window_unset_program):
6498 (get_previous_window_if_last):
6499 Detect if the window hasn't been added to a HildonProgram.
6501 2008-06-26 Alejandro G. Castro <alex@igalia.com>
6503 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
6505 * src/hildon-pannable-area.c
6506 (hildon_pannable_area_button_press_cb),
6507 (hildon_pannable_axis_scroll),
6508 (hildon_pannable_area_scroll),
6509 (hildon_pannable_area_timeout),
6510 (hildon_pannable_calculate_vel_factor),
6511 (hildon_pannable_area_get_property),
6512 (hildon_pannable_area_set_property),
6513 (hildon_pannable_area_class_init),
6514 (hildon_pannable_area_init),
6515 (hildon_pannable_area_scroll_to),
6516 (hildon_pannable_area_jump_to),
6517 (hildon_pannable_area_scroll_to_child),
6518 (hildon_pannable_area_jump_to_child):
6519 * src/hildon-pannable-area.h: Added the new API functions:
6520 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
6521 hildon_pannable_area_scroll_to_child,
6522 hildon_pannable_area_jump_to_child
6525 * examples/Makefile.am
6526 * examples/hildon-pannable-area-example-2.c
6527 * examples/hildon-pannable-area-example-3.c: Added these two new
6528 examples in order to test and show how the new APIs work.
6530 2008-06-25 Alberto Garcia <agarcia@igalia.com>
6532 * examples/hildon-stackable-window-example.c (new_window):
6533 * src/Makefile.am (noinst_HEADERS):
6534 * src/hildon-program.c (hildon_program_go_to_root_window):
6535 * src/hildon-program.h:
6536 * src/hildon-stackable-window-private.h:
6537 * src/hildon-stackable-window.c:
6538 * src/hildon-stackable-window.h:
6539 Create hildon-stackable-window-private.h
6540 Move hildon_stackable_window_go_to_root_window() to HildonProgram
6542 * examples/hildon-app-menu-example.c (create_menu):
6543 * examples/hildon-hvolumebar-insensitive-example.c (main):
6544 * examples/hildon-hvolumebar-timer-example.c (on_idle):
6545 * examples/hildon-toolbar-seekbar-example.c (main):
6546 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
6547 * src/hildon-banner.c (hildon_banner_set_property):
6548 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
6549 Fix compilation warnings
6551 * src/hildon-window.c:
6554 2008-06-24 Alberto Garcia <agarcia@igalia.com>
6556 * src/hildon-stackable-window.c
6557 (hildon_stackable_window_unset_program):
6558 Calculate correctly whether to show the previous window if the
6559 last one is removed from the stack.
6560 (hildon_stackable_window_go_to_root_window):
6561 Send delete events starting from the topmost window.
6562 Stop if one of the windows is not destroyed.
6564 (hildon_stackable_window_delete_event)
6565 (hildon_stackable_window_class_init):
6566 Ignore the delete event if the window is not the topmost one.
6568 2008-06-24 Alejandro G. Castro <alex@igalia.com>
6570 * src/hildon-pannable-area.c
6571 (hildon_pannable_area_expose_event): Fixed a problem when
6572 selecting the background color of the scrollbars.
6574 2008-06-23 Alberto Garcia <agarcia@igalia.com>
6576 * examples/hildon-stackable-window-example.c
6577 * src/hildon-stackable-window.c
6578 * src/hildon-stackable-window.h
6579 hildon_stackable_window_go_home() renamed to
6580 hildon_stackable_window_go_to_root_window()
6581 Send delete events to windows rather than closing them with
6582 gtk_widget_destroy()
6584 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6586 * src/hildon-pannable-area.c
6587 (hildon_pannable_area_button_release_cb): Fix overshooting in
6590 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6592 * src/hildon-pannable-area.c
6593 (hildon_pannable_area_init): Initially show the scroll indicators.
6594 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
6596 Add initial effect showing the widget is pannable.
6598 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6600 * src/hildon-pannable-area.c
6601 (hildon_pannable_area_class_init)
6602 (hildon_pannable_area_set_property)
6603 (hildon_pannable_area_get_property)
6604 (hildon_pannable_area_button_press_cb):
6605 New 'velocity_fast_factor' property to decide which velocity is
6608 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6610 * src/hildon-pannable-area.c
6611 (hildon_pannable_draw_hscroll)
6612 (hildon_pannable_draw_vscroll):
6613 Use float variables to calculate the size of the scrollbars to
6614 avoid error propagation and resizing during scrolling.
6616 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6618 * src/hildon-pannable-area.c
6619 (hildon_pannable_draw_vscroll)
6620 (hildon_pannable_draw_hscroll):
6621 Define a minimum size for the scroll bars
6623 * src/hildon-stackable-window.c
6624 (hildon_stackable_window_go_home): Fix compilation warning
6625 (get_last_window): Minor optimizations
6626 (hildon_stackable_window_class_init): Fix initialization of
6629 2008-06-18 Alberto Garcia <agarcia@igalia.com>
6631 * src/hildon-stackable-window.c: Fixed typos in doc
6633 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
6635 * src/hildon-pannable-area.c
6636 (hildon_pannable_area_scroll):
6637 Calculate here whether we need to scroll instead of using the booleans
6638 that tell us whether to /draw/ the scrolling bars.
6640 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
6642 * src/hildon-app-menu.h
6644 * src/hildon-app-menu.c
6645 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
6646 multiple filter groups related code and API. Now we support only
6648 * examples/hildon-app-menu-example.c:
6650 Update to reflect API changes.
6652 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
6654 * src/hildon-stackable-window.c
6655 (hildon_stackable_window_class_init):
6656 Add hildon_stackable_window_realize.
6657 (hildon_stackable_window_realize):
6658 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
6659 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
6660 to apply theming and behavior specific to HildonStackableWindow
6663 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6665 * src/hildon-note.c (hildon_note_button_release):
6666 Close information notes also when tapping on them
6668 2008-06-12 Alejandro G. Castro <alex@igalia.com>
6670 Added BOUNCE_STEPS define to control the overshoot effect. Removed
6671 ELASTICITY, refactor and review, fix some issues with drawing
6674 * src/hildon-pannable-area.c:
6675 (hildon_pannable_area_button_press_cb): removed the conditions to
6676 avoid clicks when overshooting. It is not required
6678 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
6679 define. Refatored and reviewed the code, now we do not need to
6680 manage velocity in motion_notify.
6682 (hildon_pannable_area_motion_notify_cb): We have moved the code
6683 that controls the area_scroll to the axis_scroll function and get
6684 rid of duplicated code.
6686 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
6688 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
6690 (hildon_pannable_draw_vscroll),
6691 (hildon_pannable_draw_hscroll): Fixed the problems with the
6692 scrollbar drawing, now we do not use two surfaces, it is easier
6693 and saves resources.
6695 (hildon_pannable_area_get_property): Style modification.
6697 (hildon_pannable_area_class_init): Changed some default values.
6699 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
6701 * src/hildon-stackable-window.c: Fix some typos in the
6704 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6706 * src/hildon-dialog.c:
6707 Change indentation style
6710 (hildon_note_button_release):
6711 Use root coordinates to check if the release event happened
6714 * src/hildon-app-menu.c
6715 (hildon_app_menu_button_release):
6716 Remove unnecessary check
6718 * examples/hildon-app-menu-example.c
6720 Add cast to fix warning
6722 * src/hildon-app-menu.c
6723 (hildon_app_menu_class_init):
6724 New inner-border style property.
6725 Set all default spacings to 16
6726 (hildon_app_menu_init):
6727 Use vertical-spacing to set the space between filter buttons and
6728 regular menu buttons.
6729 Set the default container border using the inner-border value.
6731 * examples/hildon-app-menu-example.c
6733 Don't set the menu border explicitly, now we have the inner-border
6734 style property for that.
6736 2008-06-11 Alberto Garcia <agarcia@igalia.com>
6738 * src/hildon-app-menu.c (hildon_app_menu_init):
6739 Make the window modal
6741 * src/hildon-note.c (hildon_note_map)
6742 * src/hildon-app-menu.c (hildon_app_menu_map):
6743 Destroy the grab window if we're unable to grab the pointer
6745 * src/hildon-app-menu-private.h
6746 * src/hildon-app-menu.c
6747 (hildon_app_menu_init, hildon_app_menu_finalize)
6748 (hildon_app_menu_map, hildon_app_menu_unmap)
6749 (hildon_app_menu_button_release)
6750 (grab_transfer_window_get):
6751 Bring back the grab window
6752 (hildon_app_menu_realize):
6753 Decorate the window, set WM hint for Matchbox
6755 * src/hildon-note.c (hildon_note_realize):
6756 * src/hildon-banner.c (hildon_banner_realize):
6757 Add WM hints for Matchbox
6759 2008-06-10 Alberto Garcia <agarcia@igalia.com>
6761 * src/hildon-app-menu-private.h
6762 * src/hildon-app-menu.c
6763 (hildon_app_menu_init, hildon_app_menu_finalize)
6764 (hildon_app_menu_map, hildon_app_menu_unmap)
6765 (hildon_app_menu_button_release):
6766 Remove the grab window, it's not needed anymore
6768 * src/hildon-program.c
6769 Fixed typo in documentation
6771 * src/hildon-app-menu.h
6772 * src/hildon-app-menu.c
6773 * examples/hildon-app-menu-example.c
6774 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
6776 2008-06-09 Alberto Garcia <agarcia@igalia.com>
6779 Added new transfer_window and close_if_pressed_outside private
6781 (hildon_note_rebuild):
6782 Don't add a cancel button to the information note. It will be
6783 closed when tapping outside
6784 Remove the comment about the OK button in the documentation
6785 (hildon_note_realize):
6786 Set the notification type hint
6787 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
6788 Grab/ungrab pointer and keyboard if the note has to be closed when
6790 (hildon_note_button_release):
6791 Close the note when tapping outside (if applicable)
6793 * src/hildon-app-menu.c
6794 Grab/ungrab pointer and keyboard on map/unmap
6795 (hildon_app_menu_button_release, hildon_app_menu_class_init):
6796 Close the menu on button release, not button press
6798 * src/hildon-banner.c
6799 (hildon_banner_set_property)
6800 (hildon_banner_check_position):
6801 Make the banner use the full width of the screen
6802 (hildon_banner_show_information)
6803 (hildon_banner_show_information_with_markup):
6804 Don't display an icon by default
6806 2008-06-09 Alejandro G. Castro <alex@igalia.com>
6808 Added fading scrollbars and adapted all the overshooting code to
6809 horizontal scrolling. We have also fixed bugs with overshooting
6810 and current fading implementation.
6812 * src/hildon-pannable-area.c
6813 (hildon_pannable_area_scroll_indicator_fade): Time out function
6814 used to change the transparency of the scrollbars.
6816 (hildon_pannable_area_button_press_cb): Added horizontal overshot
6817 control and fixed a problem with fading, we now remove the fade
6818 timeout before adding a new one.
6820 (hildon_pannable_axis_scroll):
6821 (hildon_pannable_area_scroll):
6822 (hildon_pannable_area_timeout): Added this functions so we can use
6823 the scroll code both for vertical and horizontal.
6825 (hildon_pannable_area_motion_notify_cb):
6826 (hildon_pannable_area_button_release_cb): Added the horizontal
6827 scrolling control, fixed a problem with the overshooting timeout.
6829 (rgb_from_gdkcolor): Added this function, it is used in the cairo
6830 painting of the scrolls.
6832 (hildon_pannable_draw_vscroll):
6833 (hildon_pannable_draw_hscroll):
6834 (hildon_pannable_area_expose_event):
6835 Draw both scrollbars and rectangles in the overshooting area.
6837 (hildon_pannable_area_get_property):
6838 (hildon_pannable_area_set_property):
6839 Modified the overshoot property to overshoot_max
6841 (hildon_pannable_area_map):
6842 Replaced the comments symbols.
6844 (hildon_pannable_area_size_allocate):
6845 (hildon_pannable_area_class_init):
6846 (hildon_pannable_area_init): Added horizontal scroll, fading
6847 effect properties, fixed a problem when overshooting in the bottom
6850 * examples/hildon-pannable-area-example.c:
6851 (get_sawtooth_label): Now we use smaller sawtooths, the effect
6852 looks better in the example.
6854 2008-06-03 Alberto Garcia <agarcia@igalia.com>
6856 * src/hildon-window.c
6857 * src/hildon-window.h
6858 (hildon_window_class_init)
6859 (hildon_window_unset_program)
6860 (hildon_window_unset_program_real):
6861 Make unset_program a virtual function
6863 * src/hildon-stackable-window.c
6864 * src/hildon-stackable-window.h
6865 Added hildon_stackable_window_go_home()
6867 * examples/Makefile.am
6868 * examples/hildon-stackable-window-example.c
6869 HildonStackableWindow example
6871 2008-06-03 Alejandro G. Castro <alex@igalia.com>
6873 * hildon-pannable-area.c: Added the overshoot property and removed
6874 the OVERSHOOT define. Fixed an indent style error.
6875 (hildon_pannable_area_motion_notify_cb):
6876 (hildon_pannable_area_get_property):
6877 (hildon_pannable_area_set_property): Add overshoot property.
6879 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
6882 (hildon_pannable_area_class_init): Installed the new property.
6884 * hildon-pannable-area-example.c: Added a sawtooth function, this
6885 way it is easier to check the movement in the pannable.
6886 (get_sawtooth_label): Added this function.
6887 (main): Now we get the labels from the new get_sawtooth_label
6890 2008-05-26 Alberto Garcia <agarcia@igalia.com>
6892 * src/hildon-app-menu.h
6893 * src/hildon-app-menu.c
6894 Renamed API variables for consistency
6896 (hildon_app_menu_popup): Use also the default window size to
6897 decide where to place the menu
6899 (hildon_app_menu_init, hildon_app_menu_class_init): New
6900 external-border style property
6902 2008-05-26 Michael Natterer <mitch@imendio.com>
6904 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
6905 widget_class->tap_and_hold_setup signal slot doesn't exist any
6906 longer, stop overriding it.
6908 (hildon_time_editor_init): g_signal_connect() to the
6909 tap-and-hold-setup signal instead.
6911 (hildon_time_editor_entry_keypress): add cast to fix warning.
6913 2008-05-23 Alberto Garcia <agarcia@igalia.com>
6915 * doc/hildon-docs.sgml
6917 * examples/Makefile.am
6918 * examples/hildon-app-menu-example.c
6920 * src/hildon-app-menu-private.h
6921 * src/hildon-app-menu.c
6922 * src/hildon-app-menu.h
6924 New HildonAppMenu widget
6926 2008-05-21 Alejandro G. Castro <alex@igalia.com>
6928 Rearranged the inheritance of the pannable area, now it inherits
6929 from GtkBin. This will allow us to control the event_window and
6930 the allocation process of the widget, required for some effects.
6932 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
6933 GtkBin structures. * src/hildon-pannable-area.c: Added the
6934 event_window variable.
6935 (hildon_pannable_area_button_press_cb):
6936 (hildon_pannable_area_button_release_cb):
6937 (hildon_pannable_area_motion_notify_cb):
6938 Changed the signature of the method, now we override the event
6939 callback instead of connecting to the signal.
6941 (hildon_pannable_area_realize):
6942 (hildon_pannable_area_unrealize):
6943 (hildon_pannable_area_map):
6944 (hildon_pannable_area_unmap):
6945 (hildon_pannable_area_size_allocate):
6946 Added functions to control the widget construction. We add a
6947 INPUT_ONLY window and we put it over the widgets inside the
6948 container, this event_window handles the events.
6950 (hildon_pannable_area_class_init):
6951 Replaced the signal connections with overrides of the event
6954 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6956 Bouncing effect added when touching the borders, you can change
6957 the elasticity of the border changing the ELASTICITY define.
6959 * src/hildon-pannable-area.c: Added ELASTICITY define.
6960 (hildon_pannable_area_timeout): Added inverse velocity when
6961 touching the border of the child widget, that causes a bounce.
6963 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6965 Improved performance, we now do not go to the X server in order to
6966 get the list of window children. Apparently the effect is the
6967 same, we have to be careful and check if this breaks something in
6970 * src/hildon-pannable-area.c:
6971 (get_ordered_children): Removed this function.
6972 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
6973 the children windows function with gdk_window_get_children.
6975 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6977 * src/hildon-pannable-area.c:
6978 (hildon_pannable_area_dispose): Fixed a crash when closing the
6979 window and kinetics is activated.
6981 2008-05-19 Alberto Garcia <agarcia@igalia.com>
6983 * src/hildon-pannable-area.h
6984 * src/hildon-pannable-area.c
6985 Changed indentation style to meet the one used in Hildon
6987 2008-05-19 Alejandro G. Castro <alex@igalia.com>
6989 Reviewed the interaction of the AUTO mode, now we use the time
6990 attribute of the events and calculate the velocity in the motion,
6991 doing a gimp like calculation. The velocity is calculated in each
6992 motion event using the last velocity and the current one, the
6993 SMOOTH_FACTOR controls the percentage of the new velocity we use.
6995 * src/hildon-pannable-area.c: Replaced the time based algorithm
6997 (hildon_pannable_area_motion_notify_cb): now we do not launch the
6998 timeout for the AUTO mode when we are still moving the cursor. We
6999 added also the velocity calculation in this function.
7000 (hildon_pannable_area_button_release_cb): launch the timeout in
7001 case we are in AUTO mode. There are still some constants here that
7002 come from the old implementation that should be reviewed and
7005 2008-05-15 Alberto Garcia <agarcia@igalia.com>
7007 * doc/hildon-docs.sgml
7010 * src/hildon-stackable-window.c
7011 * src/hildon-stackable-window.h
7013 New HildonStackableWindow widget
7015 * examples/hildon-dialog-example.c
7016 * examples/hildon-pannable-area-example.c
7019 2008-05-14 Alberto Garcia <agarcia@igalia.com>
7021 * src/hildon-dialog.c
7022 (hildon_dialog_new_with_buttons): New constructor.
7024 * examples/hildon-dialog-example.c
7025 (main): Update the example to use the new
7026 hildon_dialog_new_with_buttons().
7028 * examples/hildon-pannable-area-example.c
7029 (main): Update example.
7031 2008-05-13 Alberto Garcia <agarcia@igalia.com>
7033 * doc/hildon-docs.sgml
7035 Added HildonPannableArea to the documentation.
7037 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
7039 * doc/visual_index.xml
7040 Fix reference to HildonLoginDialog in documentation
7042 * doc/hildon-docs.sgml
7044 * examples/Makefile.am
7045 * examples/hildon-dialog-example.c
7047 * src/hildon-dialog.c
7048 * src/hildon-dialog.h
7050 New HildonDialog widget.
7052 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7054 * src/hildon-pannable-area.c
7055 Merge latest changes (r4318, r4342) from libmokoui trunk
7057 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7059 * examples/Makefile.am
7060 * examples/hildon-pannable-area-example.c
7062 * src/hildon-pannable-area.c
7063 * src/hildon-pannable-area.h
7065 New HildonPannableArea widget.
7067 2008-04-15 18:05:19 <timj@imendio.com>
7069 * src/hildon-banner.c: revert the recent change, that introduced
7070 gtk_window_present() calls. this reopens:
7071 Bug 78481 - [freetest] information banners are hidden under browser menu
7072 But resolves another variant of:
7073 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7075 2008-04-15 13:21:13 <timj@imendio.com>
7077 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
7078 recreated its layout, spotted by Kris. this fixes all remaining
7079 artefacts and stability issues with the banner code. in particular:
7080 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7082 2008-04-14 16:52:59 <timj@imendio.com>
7084 * src/hildon-banner.c: guard force_to_wrap_truncated() against
7085 operating on unrealized widgets, fixes:
7086 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7088 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
7090 2008-04-09 Kristian Rietveld <kris@imendio.com>
7092 Fixes: NB#77775: Media Player, Save Now playing list, too long name
7093 makes banner disappear.
7094 Fixes: NB#79182: info banner flickering with certain message lengts.
7096 * src/hildon-banner.c (hildon_banner_constructor),
7097 (hildon_banner_init), (hildon_banner_set_text),
7098 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
7099 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
7100 FALSE, reset size requests of label and banner,
7101 (force_to_wrap_truncated): when the text is too wide, always enforce
7102 the maximum possible width instead of recalculating it from the
7103 layout; enforce the maximum banner height of 3 lines,
7104 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
7105 nicer wrapping and no truncated chars if space gets tight.
7107 * src/hildon-banner-private.h: add has_been_wrapped and
7108 has_been_truncated fields.
7110 2008-04-07 Sven Herzberg <sven@imendio.com>
7112 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
7113 local values in hildon_date_editor_size_allocate
7115 * src/hildon-date-editor.c: moved the real allocation code into the
7118 2008-04-07 Sven Herzberg <sven@imendio.com>
7120 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7121 local values in hildon_date_editor_size_allocate
7123 * src/hildon-date-editor.c: merged the two if() branches together
7125 2008-04-07 Sven Herzberg <sven@imendio.com>
7127 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7128 local values in hildon_date_editor_size_allocate
7130 * src/hildon-date-editor.c: changed the arguments of the if()
7133 2008-04-07 Sven Herzberg <sven@imendio.com>
7135 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7136 local values in hildon_date_editor_size_allocate
7138 * src/hildon-date-editor.c: split the calculation of the allocation
7139 from the real allocation
7141 2008-03-27 Michael Natterer <mitch@imendio.com>
7143 Fixes: NB#81696: The passcode is not overwritten even after
7146 * src/hildon-code-dialog.c
7147 (hildon_code_dialog_button_clicked)
7148 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
7149 because that doesn't overwrite selected text. Instead, emit the
7150 "commit" signal on the entry's im_context so the entry's normal
7151 insert logic is triggered. Set the cursor to the end of the entry
7152 after each insert operation so that we *only* insert in the middle
7153 of the text if something was selected.
7155 2008-03-27 Michael Natterer <mitch@imendio.com>
7157 Enable fixing: NB#79916 and NB#79918: The help topic for Color
7158 selector cannot be opened
7160 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
7161 when the popup color selector is created. Please connect to this
7162 signal in order to set the dialog's help ID.
7164 2008-03-25 Sven Herzberg <sven@imendio.com>
7166 Fixes: MB#1212: Hide info banners (infoprints) on click
7168 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
7169 extracted the close event simulation into an extra function
7170 (hildon_banner_button_press_event): simulate a close event and destroy
7171 the widget if the event wasn't handled
7172 (hildon_banner_class_init): added the button_press_event handler
7173 (hildon_banner_init): added button-press events to the widget
7175 2008-03-25 Sven Herzberg <sven@imendio.com>
7177 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
7178 Patch from: Mohammad Anwari <mdamt@maemo.org>
7180 * src/hildon-banner.c: let the HildonBanners pop up on the left side
7181 instead of the right in RTL mode
7182 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
7183 breadcrumb button list in RTL mode
7184 * src/hildon-caption.c: mirror the appearance of the caption widget in
7186 * src/hildon-date-editor.c: mirror appearance of the date editor in
7188 * src/hildon-time-editor.c: mirror appearance of the time editor in
7190 * src/hildon-window.c: fix the position of the popup in RTL mode
7192 2008-03-25 Sven Herzberg <sven@imendio.com>
7194 Amendment to the fix of NB#22072. Fix compilation.
7196 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
7198 2008-03-19 Sven Herzberg <sven@imendio.com>
7200 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
7203 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
7204 timeout id properly when the timeout will disappear this leaves no
7205 artifacts around in the destroy(); there will only be the timeout
7206 created by hildon_banner_ensure_timeout() and adding a new timeout
7207 will also work if the timeout gets removed because the timeout_handler
7210 2008-03-19 Michael Natterer <mitch@imendio.com>
7212 Fixes: NB#79791: Cannot set focus to Master volume using stylus
7214 * src/hildon-volumebar.c
7215 * src/hildon-vvolumebar.c
7216 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
7217 the widget becomes focussable at all.
7219 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
7220 set the focus to wither the mute button or the volumebar.
7222 Remove own "can-focus" property and instead listen to
7223 notify::can-focus in order to update the widget's state.
7225 Implement GtkWidget::focus() and make sure we can also *leave* the
7226 widget, not only enter it, depending on volumebar orientation and
7227 requested focus direction.
7229 Clean up set_mute() to cooperate nicely with all the above.
7231 2008-03-04 Michael Natterer <mitch@imendio.com>
7233 Fixes: NB#78481: information banners are hidden under browser menu
7235 * src/hildon-banner.c: call gtk_window_present() on the banners so
7236 they are risen if they are already visible.
7238 2008-03-03 Sven Herzberg <sven@imendio.com>
7240 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
7242 * examples/hildon-window-menu-example.c: (main): extended the window
7243 menu example to serve as a testcase for automatically added
7244 accelerator groups, too
7245 * src/hildon-window.c: (hildon_window_add_accel_group),
7246 (hildon_window_set_menu): added patch by Tommi Komulainen
7248 2008-03-03 Sven Herzberg <sven@imendio.com>
7250 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
7252 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
7253 knowledge about the border allocators used within GTK+
7255 2008-02-26 Sven Herzberg <sven@imendio.com>
7257 Fixes: MB#2981: Build with asserts broken
7259 * src/hildon-date-editor.c,
7260 * src/hildon-number-editor.c,
7261 * src/hildon-time-editor.c,
7262 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
7263 the proper GType instance check
7265 2008-02-25 Sven Herzberg <sven@imendio.com>
7267 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
7269 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
7270 * examples/hildon-window-menu-example.c: (main): explicitly show
7272 * src/hildon-window.c:
7273 (hildon_window_set_main_menu): moved most of the code from set_menu()
7274 to this place; skipped the call to gtk_widget_show_all(); also didn't
7275 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
7276 (hildon_window_set_menu): removed most of the code, just keep the
7277 questionable gtk_widget_show_all()
7278 * src/hildon-window.h: added the new function and deprecate the old
7281 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7287 * debian/changelog: Updating.
7289 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7292 * pkgconfig/Makefile.am:
7293 * pkgconfig/hildon.pc.in:
7296 Do not use PACKAGE_VERSION_MAJOR as the API revision,
7297 use newly created API_MAJOR_VERSION.
7299 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7305 * debian/changelog: Updating.
7307 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7309 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
7311 Add outer_border style property, we use it but don't define it (!).
7315 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
7317 * examples/hildon-bread-crumb-trail-example.c (main):
7321 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
7323 Fix logic for the bread crumb trail node removal.
7327 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7333 * debian/changelog: Updating.
7335 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7337 Patch by Alejandro to get/set passwords dialogs accesibility.
7339 * hildon-1/src/hildon-get-password-dialog.c:
7340 * hildon-1/src/hildon-set-password-dialog.c:
7341 Set atk_set_name to the passwd entries in order to allow
7342 accessibility by name on this entries.
7344 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7349 * debian/control: Updating gtk dep.
7351 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
7353 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
7354 USE_MAEMO_GTK is enabled.
7356 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
7358 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
7359 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
7361 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7367 * debian/changelog: Updating.
7369 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7371 * examples/Makefile.am:
7372 * examples/hildon-logical-color-example.c:
7373 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
7374 applied + adding a test case. Fixes: NB#71660.
7376 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
7378 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
7379 to be visible, fixes warning on map for windows without toolbars.
7381 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
7383 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
7384 2.11.0, add a check for that besides the MAEMO_GTK check.
7386 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7392 * debian/changelog: Updating.
7394 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7396 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
7397 visibility. Fixes: NB#70842 and MB#615.
7399 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7401 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
7402 set the separator as no-show-all so it doesn't unintentionally appear when
7403 someone does a show_all.
7405 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7407 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
7408 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
7409 toplevel item. Fixes: NB#62031
7411 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
7413 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
7414 fix the name of the function in the docs.
7416 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7422 * debian/changelog: Updating.
7424 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7426 * examples/hildon-banner-long-example.c: Adding a test-case for long
7429 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
7431 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7433 * src/hildon-color-chooser-dialog.c:
7434 * src/hildon-color-chooser.c:
7435 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
7436 memory leaks in font selector and color selector. Fixes: NB#70499 and
7439 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
7441 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
7443 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7445 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
7446 little bit bigger. Fixes: #NB63694.
7448 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7454 * debian/changelog: Updating.
7456 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7459 * doc/hildon-docs.sgml:
7460 * doc/images/bread-crumb-trail.png:
7461 * doc/images/calendar-popup.png:
7462 * doc/images/caption.png:
7463 * doc/images/code-dialog.png:
7464 * doc/images/color-button.png:
7465 * doc/images/color-chooser-dialog.png:
7466 * doc/images/color-chooser.png:
7467 * doc/images/controlbar.png:
7468 * doc/images/date-editor.png:
7469 * doc/images/font-selection-dialog.png:
7470 * doc/images/get-password-dialog.png:
7471 * doc/images/hvolumebar.png:
7472 * doc/images/login-dialog.png:
7473 * doc/images/note.png:
7474 * doc/images/number-editor.png:
7475 * doc/images/range-editor.png:
7476 * doc/images/seekbar.png:
7477 * doc/images/set-password-dialog.png:
7478 * doc/images/sort-dialog.png:
7479 * doc/images/time-editor.png:
7480 * doc/images/time-picker.png:
7481 * doc/images/vvolumebar.png:
7482 * doc/images/weekday-picker.png: Adding the new generated widget shots.
7483 Adding the bread-crumb-trial and helpers to the documentation.
7485 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7487 * examples/hildon-find-toolbar-example.c:
7488 * src/hildon-find-toolbar.c:
7489 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
7490 actually continue firing the other handlers if connected. Adding a new
7492 hildon_find_toolbar_get_last_index that gets the index of the most
7493 recently added (last) item. Fixes: NB#52301.
7495 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7497 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
7498 behaviour. Fixes: NB#68610.
7500 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7502 * src/hildon-banner.c: Actually reverting the previous change. It somehow
7505 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7507 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
7508 when realizing the banner. Should make the infonbanner effect a bit more
7511 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7513 * src/hildon-volumebar.c:
7514 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
7515 hildon_volumebar_set_range_insensitive_message and
7516 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
7518 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7520 * src/hildon-window.c: Fixing the border freeing on destroy.
7522 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7524 * src/hildon-code-dialog-private.h:
7525 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
7526 kw keyboard support in HildonCodeDialog.
7528 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7534 * debian/changelog: Updating.
7536 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7538 * src/hildon-date-editor.c:
7539 * src/hildon-number-editor.c:
7540 * src/hildon-private.c:
7541 * src/hildon-private.h:
7542 * src/hildon-time-editor.c:
7543 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
7544 handling in subclassed composite widgets. Fixes: NB#66628.
7546 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7548 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
7549 from destroy_ callback as it introduces problems in async dbus signal
7550 handlers. Fixes NB#66673.
7552 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7554 * examples/hildon-hvolumebar-example.c:
7555 * src/hildon-volumebar.c: Improving the focus handling in the
7556 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
7557 set_property accessor so that "mute" property can be actually set. I'm
7558 scared that nobody noticed it's totally broken.
7560 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7562 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
7565 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7567 * src/hildon-calendar.c:
7568 * src/hildon-number-editor.c:
7569 * src/hildon-time-picker.c: Changing the timeout repeat so that it
7570 matches the spec of 6 chars per second. Fixes: NB#60489.
7572 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7574 * src/hildon-helper.c: Really fixing NB#58352. Looks like
7575 gtk_style_lookup_color sometime returns FALSE even though color was
7576 found and values were filled properly. Weird. Removing the warning for the
7579 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7581 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
7582 expand vertically. Adding some extra space to the find toolbar buttons to
7583 make them thumbable. Fixes NB#66060.
7585 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7587 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
7588 popup with "Ok" and "Cancel". Fixes NB#59299.
7590 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7592 * src/hildon-calendar.c: Process all window updates before executing next
7593 timeout. Fixes: NB#54146.
7595 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7601 * debian/changelog: Updating.
7603 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7605 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
7606 the client event and ignore it, since we use the delete event to close
7609 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7611 * src/hildon-helper.c: Remove the bogus warning about color not being
7612 found. Fixes NB#58352.
7614 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7616 * examples/Makefile.am:
7617 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
7618 HildonSeekbar widget inside a toolbar.
7620 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7622 * src/hildon-banner.c (hildon_banner_init): mark the banners as
7623 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
7624 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
7625 don't want to be closed by non-temporary windows on map.
7627 Also use G_DEFINE_TYPE instead of manually typed code.
7629 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7636 * debian/rules: Updating.
7638 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7640 * examples/Makefile.am:
7641 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
7642 bug NB#61128. Strangely it works.
7644 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7646 * src/hildon-date-editor.c: When the date editor entry has been changed
7647 but the numbers of characters < max, turn off the skip validation flag.
7648 Prevents a situation when we enter first a valid year and later re-write
7649 it with an invalid one. Fixes NB#60154.
7651 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7653 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
7654 code dialog. Fixes NB#64355.
7656 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7658 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
7659 switching the page. Fixes NB#49374.
7661 * examples/Makefile.am:
7662 * examples/hildon-wizard-dialog-example.c: Adding an example for
7663 HildonWizardDialog that shows how to handle manual sensitivity setting on
7666 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7670 * src/hildon-version.h.in:
7671 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
7673 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7675 * src/hildon-volumebar.c: Updating the docs.
7677 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7683 * debian/changelog: Updating.
7685 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7687 * src/hildon-find-toolbar.c:
7688 * src/hildon-find-toolbar.h: Adding a few new functions to control the
7689 selected item: hildon_find_toolbar_set_active,
7690 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
7691 hildon_find_toolbar_get_active_iter . They correspond to respective
7692 GtkComboBox functions.
7694 * examples/Makefile.am:
7695 * examples/hildon-find-toolbar-example.c: Adding the example to test the
7698 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7700 * examples/Makefile.am:
7701 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
7704 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
7705 when font size > 32 and we pack a focusable widget inside. Actually using
7706 the default response would work too, but since we don't show default
7707 response state in any way (no theming) it would not be visible to the
7708 user. Fixes NB#63430.
7710 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7712 * src/hildon-date-editor.c: Adding the missing variable setter in the
7713 set_property handler. Fixes NB#54182.
7715 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7717 * src/hildon-window.h: Changing the long key press time from 1500ms to
7718 800ms as requested in NB#63700. I have a bad feeling about this, let's
7719 see... Fixes NB#63700.
7721 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
7723 * src/hildon-time-picker.c (hildon_time_picker_class_init,
7724 hildon_time_picker_map, hildon_time_picker_realize,
7725 hildon_time_picker_style_set): Split the contents of map to more
7726 appropriate functions; set window decorations on realize and update
7727 arrows' size requisitions on style-set. Avoids unnecessary resizing.
7729 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
7734 * debian/changelog: Updating.
7736 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
7738 * src/Makefile.am: fixed installation of the header files
7740 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7746 * debian/changelog: Updating.
7748 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7750 * configure.ac: Removing some remaining of --enable-xan.
7752 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
7754 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
7755 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
7757 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
7758 2.10.12-osso6 because the move-focus signal needs to be available in
7761 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7763 * examples/Makefile.am:
7764 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
7765 that makes a HildonVolumebar insensitive before mapping it. Seems to work
7766 fine. Prolly NB#61128 is fixed now.
7768 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7770 * src/hildon-volumebar.c:
7771 * src/hildon-volumebar.h: Adding the
7772 hildon_volumebar_set_range_insensitive_message and
7773 hildon_volumebar_set_range_insensitive_messagef functions to set
7774 insensitive message on the slider of the volumebar. Fixes NB#61129.
7776 * examples/Makefile.am:
7777 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
7778 test the new insensitive messsage functionality on HildonVolumebar.
7780 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
7782 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
7785 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
7787 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
7788 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
7789 button on after clearing the trail.
7791 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7793 * src/hildon-code-dialog.c: Removing the separator from the dialog.
7795 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7797 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
7798 by splitting the installed headers in generated and non-generated groups. Use
7799 only the non-generated headers to create the hildon-enum-types.h file.
7801 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
7803 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7805 * src/hildon-window.c: Hide the window before performing the destroy.
7806 Should make the app closing a little tiny bit more snappy.
7808 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7810 * src/hildon-seekbar.c: add gtkrange.h header
7811 * src/hildon-caption.c: remove unused variable
7813 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
7815 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
7818 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7824 * debian/changelog: Updating.
7826 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
7828 * src/hildon-window.c (hildon_window_window_state_event,
7829 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
7830 escape timeout on focus-out-event rather than notify::is-topmost; the
7831 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
7833 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7835 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
7836 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
7838 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7840 * src/hildon-window: actually, you need to use the macro always, there's
7841 no private pointer in the instance structure. We should have cleaned this up
7842 when we had the chance...
7844 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7846 * src/hildon-window.c: do not get the private date from HildonWindow before
7847 it passes the g_return_if_fail check. Once it's passed the test, there's no
7848 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
7849 if you are only going to access the data once. Whitespace cleanups.
7851 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
7853 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
7854 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
7856 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7862 * debian/changelog: Updating.
7864 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7866 * src/hildon-window.c: When destroying the window, remove (if exists) the
7867 escape timeout handler. Fixes #NB59276.
7869 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7871 * src/hildon-banner.c: When realizing the widget, set the window
7872 transiency. Setting the transiency in the gobject constructor is not
7873 good, as the widget is not realized at that point. Fixes: #NB56624.
7875 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7877 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
7878 Add padding for future expansions.
7880 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7882 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
7883 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
7884 will fake an activation on the previous to the last item of the trail, so
7885 the effect can be overrided by the developer as usual.
7886 Also change the callback for the back button to do the same thing, so its
7887 effect can be overrided too. Fixes: NB#58982
7889 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7891 * src/hildon-caption.c: Implementing the proper focus grabbing in the
7892 HildonCaption. Fixes NB#52379.
7894 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7896 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
7897 the internal state of the trail after the user has had the chance of executing
7898 his handler for the signal. Specifically, it may happen that the activated button
7899 is removed and the user still lets the default handler run. This would segfault
7902 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7904 * src/hildon-font-selection-dialog.c: When the font is really big, add the
7905 scrollbar to the preview dialog. Fixes NB#54147.
7907 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7909 * src/hildon-date-editor.c: Changing the default max year to 2037. The
7910 max/min year properties can be altered, so the client can modify it
7911 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
7913 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7915 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
7916 hildonlike by default. Fixing a problem with disappearing arrows when
7917 scrolling through months and years. Fixes NB#54127.
7919 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7921 * examples/hildon-date-editor-example.c: Adding error callback to the date
7924 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7930 * configure.ac: Updating.
7932 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7934 * configure.ac: Adding a special '--enable-xan' configure option that
7935 turns off the -Werror compilation setting. Usefull for development.
7937 * src/hildon-calendar.c:
7938 * src/hildon-number-editor.c:
7939 * src/hildon-time-picker.c: Adding the 5* multiplier to
7942 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
7944 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
7945 instead of g_object_ref + gtk_object_sink.
7947 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7953 * debian/changelog: Updating.
7955 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7957 * src/hildon-color-chooser-dialog.c:
7958 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
7959 straight from Tommi labs.
7961 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7963 * examples/hildon-finger-example.c: Correcting the header file path.
7965 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
7966 the changed signal. Fixes a small memory leak.
7968 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7972 * src/hildon-banner.c: Importing several usefull fixes from the
7973 ubuntu-mobile branch.
7975 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7977 * examples/Makefile.am:
7978 * examples/hildon-finger-example.c: Adding a finger-checking code
7981 * src/hildon-font-selection-dialog.c: Do not allocate the color
7982 structure using the g_new. Fixes NB#54061.
7984 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7986 * src/hildon-helper.c: Correcting tabs in file.
7988 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
7990 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
7991 control the visibility of the children.
7993 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
7995 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8001 * debian/changelog: Updating.
8003 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8005 * src/hildon-bread-crumb-trail.c:
8006 (hildon_bread_crumb_trail_size_allocate):
8008 Make the back button always a square.
8010 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8012 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
8013 from the .c file as it's a private file.
8015 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8017 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
8018 uses slightly bigger height.
8020 * src/hildon-font-selection-dialog.c: Adding some checks before
8021 freeing memory in the font selection dialog.
8023 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8025 * src/hildon-font-selection-dialog.c: Adding a small check when
8028 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
8029 buttons sensitivity on page switching.
8031 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
8033 * src/hildon-bread-crumb-trail.c: make the add method handle all the
8034 internal details of adding a bread crumb to the trail.
8036 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8042 * debian/changelog: Updating.
8044 * src/hildon-bread-crumb-trail.h:
8045 * src/hildon-bread-crumb.h: Changing the API guard to
8046 HILDON_ENABLE_UNSTABLE_API.
8048 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8056 * src/hildon-helper.h: Updating.
8058 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8066 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8070 * src/hildon-helper.h: Small fix to make the package actually compile.
8072 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8074 * src/hildon-bread-crumb-trail.h:
8075 * src/hildon-bread-crumb.h:
8077 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
8078 to define ENABLE_UNSTABLE_API in the code that includes these headers.
8080 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8082 * examples/hildon-bread-crumb-trail-example.c:
8084 * src/hildon-bread-crumb-trail.c:
8085 * src/hildon-bread-crumb-trail.h:
8086 * src/hildon-bread-crumb.c:
8087 * src/hildon-bread-crumb.h:
8088 * src/hildon-marshalers.list:
8089 * src/hildon-bread-crumb-widget.c:
8090 * src/hildon-bread-crumb-widget.h:
8092 Slight change in the widget design. The bread crumb trail API is
8093 unchanged, but HildonBreadCrumb is now an interface. A *private*
8094 implementation, hildon-bread-crumb-widget, is provided and used
8095 internally by the trail for the push_text/push_icon functions.
8097 The generic push API is still available, so anyone can implement
8098 and use its own bread crumb widget.
8100 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8102 * debian/rules: Fixing the shlibs.
8104 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8106 * src/hildon-banner.c: Fixing a problem with timed banners having
8107 their parrent destroyed before they are.
8109 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
8111 * src/hildon-bread-crumb.c:
8112 * src/hildon-bread-crumb.h:
8114 Make the get_natural_size function a vfunc.
8116 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8118 * src/hildon-bread-crumb.c:
8119 * src/hildon-bread-crumb-trail.c:
8123 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8130 * debian/changelog: Updating for release.
8132 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8134 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
8135 don't leak the pango layout.
8137 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8140 * examples/hildon-bread-crumb-trail-example.c:
8144 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8146 * debian/changelog: Removing the bug-fixed entries that were actually
8147 resolved as WONTFIX.
8149 * src/hildon-date-editor.c: Removing a redundant check. Fixes
8152 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8154 * src/hildon-bread-crumb-trail.c:
8155 * src/hildon-bread-crumb-trail.h:
8156 * src/hildon-bread-crumb.c:
8157 * src/hildon-bread-crumb.h:
8161 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8163 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
8164 until it's passed the type check.
8166 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8168 * examples/hildon-bread-crumb-trail-example.c
8172 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8174 * examples/Makefile.am
8175 * examples/hildon-bread-crumb-trail-example.c
8177 * src/hildon-bread-crumb-trail.c
8178 * src/hildon-bread-crumb-trail.h
8179 * src/hildon-bread-crumb.c
8180 * src/hildon-bread-crumb.h
8182 New HildonBreadCrumbTrail widget.
8184 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
8186 * src/hildon-range-editor.c (hildon_range_editor_init),
8187 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
8188 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
8189 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
8190 hildon_time_editor_class_init, hildon_time_editor_init),
8191 src/hildon-get-password-dialog.c (invalid_input,
8192 hildon_get_password_set_property, hildon_get_password_get_property,
8193 create_contents, hildon_get_password_dialog_set_max_characters),
8194 src/hildon-set-password-dialog.c (create_contents),
8195 src/hildon-date-editor.c (hildon_date_editor_init),
8196 src/hildon-login-dialog.c (hildon_login_dialog_init),
8197 src/hildon-number-editor.c (hildon_number_editor_init),
8198 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
8199 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
8200 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
8201 configure option and adding the respective checks in the code.
8202 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
8203 hildon_calendar_drag_data_received): fixed some build warnings.
8205 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8207 * debian/changelog: A 1.0.0 release notes.