1 2009-05-15 Alberto Garcia <agarcia@igalia.com>
3 * hildon/hildon-window.c (hildon_window_size_request):
4 Always request the full size of the screen (minus the title bar if
5 not in fullscreen mode).
7 Fixes: NB#107486 (HildonWindow should size itself properly)
9 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
11 * hildon/hildon-note-private.h: Add idle_handler to the private data.
12 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
13 (on_show_cb), (sound_handling): Disconnect the idle handler for
14 the sound when the note is finalized to avoid possible crashes.
16 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
19 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
21 * src/hildon-animation-actor.c,
22 * src/hildon-remote-texture.c:
23 Added proper object cleanup to remove signal handler and object
24 references as HildonAnimationActor and HildonRemoteTexture
25 objects get destroyed.
27 Fixes: NB#116682 (Destroying parented animation actors when
28 parent in unmapped leads to crash)
30 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
32 Based on a patch by Christian Dywan (christian@imendio.com)
34 * doc/hildon-sections.txt:
35 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
36 * hildon/hildon-helper.h: New file size formatting method.
38 * debian/control: Depend on osso-filemanager l10n package for
39 proper localization strings.
41 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
43 * tests/Makefile.am: Include top_srcdir to make possible to build
44 tests in a different builddir.
45 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
46 on a different builddir.
48 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
50 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
51 (hildon_touch_selector_remove): Disconnect model's signal handler
54 Fixes: NB#116289 (Hildon home crashes while adding task
57 2009-05-11 Alberto Garcia <agarcia@igalia.com>
59 * hildon/hildon-button.c
60 (hildon_button_set_title, hildon_button_set_value):
61 Hide labels containing an empty string.
63 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
65 * configure.ac: post release version bump
66 * debian/changelog: post release version bump
68 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
73 * configure.ac: Bump version.
74 * debian/changelog: Updates.
76 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
78 * hildon/hildon-note-private.h: Removed sound_signal_handler
79 * hildon/hildon-note.c
80 (on_show_cb): new callback on note "show" event, this simply adds
81 a idle, with the function sound_handling
82 (sound_handling): removed the sound_signal_handler management
83 (hildon_note_init): connect note "show" event to on_show_cb
84 (hildon_note_realize): remove the connection to "expose-event"
86 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
87 device?' confirmation note)
89 2009-05-08 Alberto Garcia <agarcia@igalia.com>
91 * hildon/hildon-note.c
92 (hildon_note_new_information_with_icon_name)
93 (hildon_note_new_confirmation_with_icon_name):
94 Terminate the list of parameters in g_object_set() calls
96 Fixes: NB#115166 (Formatting memory card is not taking place)
98 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
100 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
101 "dialog-information" role for the sound being played.
103 2009-05-06 Alberto Garcia <agarcia@igalia.com>
105 * hildon/hildon-app-menu.c (hildon_app_menu_init):
106 Don't make the menu a modal window, it causes strange interactions
107 with the pointer grab and it's not really needed.
109 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
111 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
113 * hildon/hildon-touch-selector.[ch]
114 (hildon_touch_selector_optimal_size_request): function added to get a
115 optimal size request from the touch selector, when you want a dialog to
116 show as much of the selector
117 * hildon/hildon-picker-dialog.c:
118 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
119 (hildon_app_menu_class_init):
120 New "max-height-landscape" and "max-height-portrait" style properties
121 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
122 (hildon_picker_dialog_get_max_height): returns the maximum height using
123 the style properties defined and checking the current portrait/landscape
125 (_hildon_picker_dialog_set_selector): removed the set_size_request
127 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
129 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
131 * hildon/hildon-bread-crumb-trail.c:
132 * hildon/hildon-bread-crumb.c:
133 * hildon/hildon-seekbar.c:
134 Add reference to replacements for these deprecated widgets.
136 Fixes: MB#4461 (Documentation: All deprecations should mention
139 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
141 * examples/hildon-remote-texture-example.c
143 Change the include to the hildon-remote-texture in order to compile
144 properly the examples on the installed libhildon1-examples package
146 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
148 * tests/Makefile.am: Add check for HildonPickerButton.
149 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
150 (START_TEST), (create_hildon_picker_button_suite): Add three simple
151 checks for the HildonPickerButton.
152 * tests/check_test.c (configure_tests): Add the test suite.
153 * tests/test_suites.h: likewise.
155 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
157 * hildon/hildon-touch-selector.c
158 (+on_row_changed): Emit HildonTouchSelector:changed when the
159 contents of a selected row change.
160 (_create_new_column), (_hildon_touch_selector_set_model): connect
161 to GtkTreeModel:row-changed on a newly set model.
163 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
165 2009-05-05 Alberto Garcia <agarcia@igalia.com>
167 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
169 * hildon/hildon-banner.c (hildon_banner_destroy)
170 (hildon_banner_show_progress, hildon_banner_set_fraction):
171 Remove the progress bar from HildonBanner and use a progress
174 Fixes: NB#113761 (Update progress banner to use progress
177 2009-05-04 Alberto Garcia <agarcia@igalia.com>
179 * hildon/hildon-banner.c:
180 Calculate size of the banner label using the actual screen width
181 rather than using a fixed value.
183 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
186 2009-05-04 Alejandro G. Castro <alex@igalia.com>
188 * hildon/hildon-pannable-area.c,
189 (hildon_pannable_area_class_init): Fixed signals documentation
192 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
194 * configure.ac: post release version bump
195 * debian/changelog: post release version bump
197 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
202 * configure.ac: Bump version.
203 * debian/changelog: Updates.
205 2009-05-01 Alberto Garcia <agarcia@igalia.com>
207 * hildon/hildon-edit-toolbar.c
208 (hildon_edit_toolbar_init):
209 Don't let buttons in HildonEditToolbar receive focus.
211 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
212 typing on an HW arrows key)
214 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
216 * doc/Makefile.am: Fix build.
218 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
220 * doc/Makefile.am: Do not redefine content_files.
222 2009-04-30 Alberto Garcia <agarcia@igalia.com>
230 Renamed src/ to hildon/
235 Include <hildon/hildon.h> directly in all examples.
237 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
239 * src/hildon-sort-dialog.c
240 (hildon_sort_dialog_add_sort_key_with_sorting)
244 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
246 * src/Makefile.am: Move generated sources to CLEANFILES, so that
247 make distcheck passes.
249 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
251 * Makefile.am: Enable gtk-doc during distcheck.
253 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
255 * Makefile.am: Do not distribute the debian/ directory.
257 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
259 * doc/Makefile.am: Add the extra SGML files to content_files,
260 so that they are distributed properly.
262 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
264 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
267 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
269 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
270 (hildon_note_new_information_with_icon_name): Set the "icon" property
271 to preserve soundness.
273 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
275 * src/hildon-font-selection-dialog.c
276 (hildon_font_selection_dialog_set_property): Fail when the "family"
277 property is set to NULL.
279 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
281 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
284 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
286 * src/hildon-time-selector.h:
287 Added HildonTimeSelectorFormatPolicy
288 * src/hildon-time-selector.c:
289 Added PROP_TIME_FORMAT_POLICY
290 (_check_ampm_format): renamed to check_automatic_ampm_format
291 (update_format_policy), (update_format_dependant_columns): new functions
292 (hildon_time_selector_class_init)
293 (hildon_time_selector_contructor)
294 (hildon_time_selector_init)
295 (hildon_time_selector_get_property)
296 (hildon_time_selector_set_property)
297 (hildon_time_selector_get_time)
298 (hildon_time_selector_set_time)
299 * src/hildon-touch-selector.h: new file
300 * src/hildon-touch-selector.c
301 (hildon_touch_selector_emit_changed)
302 (hildon_touch_selector_block_changed)
303 (hildon_touch_selector_unblock_changed)
304 Added functions to allow to block the emission of the "changed" signal
305 * src/hildon-picker-dialog.c
306 (hildon_picker_dialog_show): call the parent show before the custom code
307 * examples/hildon-time-button-example.c
308 Modified, so now you can configure the time format using the new property
310 Added a new property "time-format-policy" that allow to choose the time
311 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
312 case it uses gconf in order to check if the time selector must use
315 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
318 2009-04-28 Alberto Garcia <agarcia@igalia.com>
320 * src/hildon-note.c (hildon_note_init):
321 Label in HildonNote must be left aligned, not centered. This
322 reverts the last commit in HildonNote.
324 Fixes: NB#112933 (text is not left aligned in confirmation dialog
325 is connectivity dialog)
327 2009-04-27 Alberto Garcia <agarcia@igalia.com>
332 * doc/hildon-sections.txt:
333 Added hildon_gtk_window_set_do_not_disturb()
335 2009-04-27 Alberto Garcia <agarcia@igalia.com>
337 * src/hildon-note.c (hildon_note_init): Center label.
339 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
342 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
347 * configure.ac: Bump version.
348 * debian/changelog: Updates.
350 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
352 * src/hildon-note-private.h: Add button-width to the private data.
353 * src/hildon-note.c (+resize_button),
354 (+hildon_note_orientation_update): methods to repack widgets on orientation
356 (screen_size_changed): Call above method for confirmation notes.
357 (hildon_note_realize): Always connect to the "screen-size" changed signal.
358 (hildon_note_rebuild): Store the original width request from buttons.
360 Fixes: NB#109635 (Confirmation notes do not support portrait)
362 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
364 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
365 when it is a progress note.
367 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
369 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
370 in the note, since there are no horizontally arranged contents.
372 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
374 * src/hildon-gtk.c (+set_flag): new generic method to
375 set/delay a flag setting in a window.
376 (hildon_gtk_window_set_progress_indicator):
377 (hildon_gtk_window_set_do_not_disturb),
378 (hildon_gtk_window_set_portrait_flags): use set_flag() to
379 avoid code redundance.
381 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
383 Based on a patch by Alberto Garcia (agarcia@igalia.com)
385 * src/hildon-gtk.c (set_clear_window_flag),
386 (do_set_progress_indicator), (do_set_do_not_disturb),
387 (do_set_portrait_flags),
388 (hildon_gtk_window_set_progress_indicator),
389 (hildon_gtk_window_set_do_not_disturb),
390 (hildon_gtk_window_set_portrait_flags):
391 Allow setting dnd-flag, progress indicator, and portrait flags
392 when the window is not realized.
394 2009-04-24 Alejandro G. Castro <alex@igalia.com>
396 * src/hildon-pannable-area.c,
397 * src/hildon-pannable-area.h: Add the hildon deprecated define to
398 the size request policy function and defines.
400 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
402 * doc/hildon-sections.txt: Add the new API.
403 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
404 method to set the portrait flags.
405 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
407 Fixes: NB#112328 (Adding helpers for setting portrait properties)
409 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
411 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
412 to allow using this method with other flags.
413 (hildon_gtk_window_set_progress_indicator): Update accordingly.
414 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
416 2009-04-22 Alberto Garcia <agarcia@igalia.com>
418 * src/hildon-touch-selector.c
419 (hildon_touch_selector_append_text_column):
420 Make the cell renderer use the smallest width possible.
422 Fixes: NB#108470 (Selected items in multiple selection are either
423 having a tick that is cut or not visible at all.)
425 2009-04-22 Alberto Garcia <agarcia@igalia.com>
427 * src/hildon-touch-selector.c
428 (hildon_touch_selector_append_text_column):
431 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
433 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
434 Use g_strdup_printf() instead of a fixed size buffer.
436 2009-04-21 Alberto Garcia <agarcia@igalia.com>
438 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
439 Close banners when a HildonAppMenu is popped up.
441 Fixes: NB#111027 (Title menu closed immediately if activated when
442 "Invalid e-mail address" banner is shown)
444 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
449 * configure.ac: Bump version.
450 * debian/changelog: Updates.
452 2009-04-20 Alberto Garcia <agarcia@igalia.com>
454 * src/hildon-banner.c (hildon_banner_realize):
455 Mark HildonBanner as supporting portrait mode.
456 Use GDK to set window properties insetad of direct Xlib calls.
458 Fixes: NB#111830 (HildonBanner should be marked as supporting
461 2009-04-20 Alberto Garcia <agarcia@igalia.com>
463 * src/hildon-note.c (hildon_note_rebuild):
464 Hide action area in information notes. Prevents text from being
465 slightly aligned to the left.
467 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
470 2009-04-20 Alberto Garcia <agarcia@igalia.com>
472 Patch by Mox Soini (ext-mox.soini@nokia.com)
474 * src/hildon-banner.c (hildon_banner_create_animation):
475 Use stylus-sized icons in animation banner.
477 Fixes: NB#111206 (stylus sized icon for animation banner)
479 2009-04-20 Alberto Garcia <agarcia@igalia.com>
483 (+hildon_gtk_window_set_do_not_disturb):
484 New API to set the do-not-disturb flag.
486 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
488 2009-04-20 Alberto Garcia <agarcia@igalia.com>
490 * examples/hildon-progress-indicator-example.c: Fix example
492 * src/hildon-gtk.c (set_clear_window_flag)
493 (hildon_gtk_window_set_progress_indicator):
494 Create a generic function for setting flags to a window.
495 Use GDK instead of direct Xlib calls.
497 2009-04-14 Alberto Garcia <agarcia@igalia.com>
499 * src/hildon-button.c (hildon_button_set_arrangement):
500 Due to NB#88126, if one of the labels is too long it will be
501 painted outside the button. The 'value' label is more likely to be
502 the longest one, so we change its packing options in order to
503 truncate it if necessary. As a side effect, the 'title' label will
504 no longer be truncated.
506 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
508 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
513 * configure.ac: Bump version.
514 * debian/changelog: Updates.
516 2009-04-13 Alejandro G. Castro <alex@igalia.com>
518 Deprecation of the hildon_pannable_area_set_size_request_policy
519 API, the only policy properly supported in gtk+ nowadays is the
522 * src/hildon-pannable-area.c,
523 (hildon_pannable_area_size_request): Added a workaround for the
524 size_request to avoid the problems of huge pixmaps in case someone
525 is still using the function.
526 * src/hildon-pannable-area.h: Deprecated the enum with the
529 Fixes: NB#110244 (Problems with the
530 hildon_pannable_area_set_size_request_policy API)
532 2009-04-08 Alejandro G. Castro <alex@igalia.com>
534 * src/hildon-pannable-area.c,
535 (hildon_pannable_area_init),
536 (hildon_pannable_area_size_request),
537 (hildon_pannable_area_style_set),
538 (hildon_pannable_draw_vscroll),
539 (hildon_pannable_draw_hscroll),
540 (hildon_pannable_area_check_scrollbars): Replaced area_width with
541 indicator_width to clarify the use of the attribute.
543 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
548 * configure.ac: Bump version.
549 * debian/changelog: Updates.
551 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
553 * src/hildon-picker-dialog.c
554 * src/hildon-touch-selector.c
555 Reverting the change that tried to avoid the hardcoded height on
556 the picker dialog, as causes problems on the hildon-touch-selector
559 Fixes: NB#110029 (selectors not scrolling to selected value)
561 2009-04-07 Alberto Garcia <agarcia@igalia.com>
563 * src/hildon-touch-selector.c: Fix typos
565 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
567 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
568 Use the event coordinates instead of gdk_window_get_pointer(). Also,
569 request more motions after using it.
571 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
573 * src/hildon-calendar.c (hildon_calendar_expose),
574 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
575 Remove unused variables.
577 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
579 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
582 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
584 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
585 Check the return value of gtk_tree_selection_get_selected()
588 2009-04-06 Alberto Garcia <agarcia@igalia.com>
590 * src/hildon-animation-actor.c
591 * src/hildon-button.c
593 * src/hildon-pannable-area.c
594 * src/hildon-picker-button.c
595 * src/hildon-program.c
596 * src/hildon-remote-texture.c
597 * src/hildon-text-view.c
598 * src/hildon-touch-selector.c
599 * src/hildon-window-stack.c
600 * src/hildon-window.c:
601 Add missing 'Since: 2.2' tags.
603 * doc/hildon-sections.txt:
604 Add some missing symbols.
606 * doc/hildon-docs.sgml:
607 New 'Other' section for HildonAnimationActor and
610 2009-04-06 Alberto Garcia <agarcia@igalia.com>
612 Patch by Iván Gómez (igomez@igalia.com)
616 * doc/hildon-docs.sgml
617 * doc/hildon-sections.txt
621 New chapters on using the Hildon library.
622 Updated the general structure of the reference manual.
623 Other minor documentation fixes.
625 * src/hildon-calendar-popup.c
626 * src/hildon-calendar.c
627 * src/hildon-controlbar.c
628 * src/hildon-date-editor.c
629 * src/hildon-dialog.c
630 * src/hildon-hvolumebar.c
631 * src/hildon-number-editor.c
632 * src/hildon-range-editor.c
633 * src/hildon-sort-dialog.c
634 * src/hildon-time-editor.c
635 * src/hildon-time-picker.c
636 * src/hildon-volumebar-range.c
637 * src/hildon-volumebar.c
638 * src/hildon-vvolumebar.c
639 * src/hildon-weekday-picker.c:
640 Add deprecation notes
642 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
643 Document 'horizontal-movement' and 'vertical-movement' signals.
645 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
650 * configure.ac: Bump version.
651 * debian/changelog: Updates.
653 2009-04-06 Alejandro G. Castro <alex@igalia.com>
655 * src/hildon-pannable-area.c,
656 (hildon_pannable_area_class_init): increased the minimum velocity.
657 (hildon_pannable_area_button_release_cb): Updated the
658 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
659 setup. Review the code to control that last event.
661 Fixes: NB#109790 (Releasing finger in pannable area easily causes
664 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
666 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
668 * src/hildon-get-password-dialog.c
669 (hildon_get_password_set_property),
670 (hildon_get_password_get_property), (create_contents):
671 * src/hildon-login-dialog-private.h:
672 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
673 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
674 (hildon_login_dialog_get_password):
675 * src/hildon-set-password-dialog-private.h:
676 * src/hildon-set-password-dialog.c
677 (hildon_set_password_set_property),
678 (hildon_set_password_get_property), (create_contents),
679 (hildon_set_password_response_change),
680 (hildon_set_password_response_set), (hildon_checkbox_toggled):
682 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
683 instead and look more Fremantle style.
685 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
687 2009-04-03 Alberto Garcia <agarcia@igalia.com>
689 * doc/hildon-sections.txt
690 * src/hildon-window-stack.h
691 * src/hildon-window-stack.c
692 (+hildon_window_stack_get_windows):
693 New API to obtain the list of windows on a stack.
695 2009-04-02 Alberto Garcia <agarcia@igalia.com>
697 * src/hildon-app-menu.c (hildon_app_menu_popup)
698 (hildon_app_menu_class_init, -hildon_app_menu_show):
699 Remove hildon_app_menu_show() and move all its checks to
700 hildon_app_menu_popup()
702 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
704 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
705 (_hildon_picker_dialog_set_selector): removed call to
706 gtk_widget_set_size_request
707 * src/hildon-touch-selector.c
708 (_create_new_column): change the pannable size request policy
710 Avoid to use a hardcoded height for the hildon picker dialog. In order
711 to get that, we needed to change the hildon pannable size request
713 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
715 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
717 * src/hildon-window.c (hildon_window_map): Check for vbox to be
718 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
721 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
723 * debian/control: Depend on osso-system-lock localization package.
724 * src/hildon-code-dialog.c: Obtain the secu_application_title
725 translation from osso-system-lock.
726 * src/hildon-get-password-dialog.c (create_contents): Do not mark
727 for translation the atk related strings, that's not necessary.
728 * src/hildon-set-password-dialog.c (create_contents): Ditto.
729 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
730 cancel button, it is not required.
732 2009-04-02 Alejandro G. Castro <alex@igalia.com>
734 * src/hildon-pannable-area.c,
735 (hildon_pannable_area_class_init): Modified the default value of
736 the overshooting max speed, we have reduced it.
738 2009-04-02 Alberto Garcia <agarcia@igalia.com>
740 * doc/hildon-sections.txt
741 * src/hildon-window-private.h
742 * src/hildon-window.h
743 * src/hildon-window.c (hildon_window_class_init)
744 (hildon_window_init, hildon_window_finalize)
745 (hildon_window_realize, hildon_window_get_property)
746 (hildon_window_set_property, hildon_window_update_markup)
747 (hildon_window_get_markup, hildon_window_set_markup):
748 New "markup" property and hildon_window_{get,set}_markup() methods.
750 * examples/hildon-stackable-window-example.c (new_window):
751 Update example to use hildon_window_set_markup()
753 Fixes: NB#106375 (Need API to retitle a window with a title
756 2009-04-01 Alejandro G. Castro <alex@igalia.com>
758 * src/hildon-pannable-area.c,
759 (hildon_pannable_area_class_init): Changed the default value of
760 the initial_hint to TRUE.
761 (hildon_pannable_area_initial_effect): Changed the initial effect,
762 not the effect is just the fade-out of the scrollbars.
764 Fixes: NB#107775 (No scrollbars can be seen when several items are
765 available in a dialog)
767 2009-04-01 Alberto Garcia <agarcia@igalia.com>
769 * src/hildon-program.c (hildon_program_update_top_most):
772 Fixes: NB#109179 (Memory leak in Hildon program)
774 2009-04-01 Alberto Garcia <agarcia@igalia.com>
776 * src/hildon-banner.c (-get_current_app_window):
777 Remove unused function.
779 2009-04-01 Alejandro G. Castro <alex@igalia.com>
781 * src/hildon-pannable-area.c: Modified the documentation of the
782 get adjustments functions to explain the problem of using the
784 (hildon_pannable_area_class_init): Improved the explanation about
787 2009-04-01 Alberto Garcia <agarcia@igalia.com>
789 * src/hildon-app-menu-private.h
790 * src/hildon-app-menu.c
791 (hildon_app_menu_class_init):
792 Bring back the 'external-border' style property
793 (hildon_app_menu_class_init, hildon_app_menu_init)
794 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
795 Set a fixed width-request for the menu, independent of the number
798 Fixes: NB#94957 (Smoothly opened application menu)
800 2009-03-30 Alberto Garcia <agarcia@igalia.com>
802 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
804 * src/hildon-banner.c
805 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
807 Make sure that the banner is correctly placed the first time it's
809 (hildon_banner_check_position, -check_fullscreen_state):
810 Show the banner in the same place no matter if the window is in
811 fullscreen mode or not.
813 Fixes: NB#107386 (Odd stacking behaviour for information banners)
815 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
817 * src/hildon-touch-selector.c (_default_print_func): reorder
818 concatenation for clarity.
820 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
822 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
823 for multicolumn selectors.
825 Fixes: NB#109099 (Memory leak in Hildon touch selector)
827 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
832 * configure.ac: Bump version.
833 * debian/changelog: Updates.
835 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
837 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
840 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
842 * configure.ac: removed libcangerra-gtk dependency
843 * debian/control: removed libcanberra-gtk dependency
844 * src/Makefile.am: removed libcanberra gtk related flags
845 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
846 context, and manage a global canberra context instead
848 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
850 2009-03-26 Alberto Garcia <agarcia@igalia.com>
852 Patch by Daniel Borgmann (danielb@openismus.com)
854 * src/hildon-edit-toolbar.c:
855 Adjust the left padding.
856 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
857 Paint background of the edit toolbar.
859 Fixes: NB#107897 (Patch to make editmodetoolbar background
860 themeable and adjust margin)
862 2009-03-25 Alberto Garcia <agarcia@igalia.com>
864 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
866 * src/hildon-program.c (hildon_program_update_top_most):
867 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
869 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
870 change when the user tasks in/out of an application)
872 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
874 * configure.ac: added libcangerra-gtk dependency
875 * debian/control: added libcanberra-gtk dependency
876 * src/Makefile.am: added libcanberra gtk related flags
877 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
880 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
882 2009-03-25 Alberto Garcia <agarcia@igalia.com>
884 * src/hildon-program.c (hildon_program_remove_window)
885 (hildon_program_add_window): Add checks for the window
886 parameter. Don't decrease the window counter if the window is not
889 2009-03-24 Alejandro G. Castro <alex@igalia.com>
891 * src/hildon-pannable-area.c,
892 (hildon_pannable_area_realize): Fixed position of the event_window
893 in the realize method.
895 2009-03-24 Alberto Garcia <agarcia@igalia.com>
897 * src/hildon-app-menu-private.h
898 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
899 (hildon_app_menu_map, hildon_app_menu_hide_idle)
900 (hildon_app_menu_key_press, hildon_app_menu_init)
901 (hildon_app_menu_finalize):
902 Make sure that all idle functions are removed when the widget is
905 Fixes: NB#107583 (Hildon app menu crashes in various applications)
907 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
912 * configure.ac: Bump version.
913 * debian/changelog: Updates.
915 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
918 (+hildon_entry_show_placeholder),
919 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
920 that replace hildon_entry_update_contents().
921 (hildon_entry_set_text),
922 (hildon_entry_set_placeholder),
923 (hildon_entry_focus_in_event),
924 (hildon_entry_focus_out_event): Determine when it is needed
925 either to show or hide the placeholder and call the above methods.
927 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
928 when the placeholder text is already set)
930 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
932 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
933 simple GdkPixbufAnim using the new icons for the banner.
934 (hildon_banner_show_animation): Use the above mentioned method to
935 create the animation widget.
937 Fixes: NB#103564 (Make hildon animation banner use individual
938 image files as the animation)
940 2009-03-24 Alejandro G. Castro <alex@igalia.com>
942 * src/hildon-pannable-area.c,
943 (hildon_pannable_leave_notify_event): Check if the child is NULL
944 to avoid sending the leave.
946 2009-03-24 Alejandro G. Castro <alex@igalia.com>
948 * src/hildon-pannable-area.c,
949 (hildon_pannable_area_class_init),
950 (hildon_pannable_leave_notify_event): Added a handler of the
951 leave-notify-signal to consider when no motion notify before
954 Fixes: NB#107494 (Items stay selected when clicking and moving
955 away when inside pannable area)
957 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
962 * configure.ac: Bump version.
963 * debian/changelog: Updates.
965 2009-03-19 Alejandro G. Castro <alex@igalia.com>
967 Patch by Alberto Garcia (agarcia@igalia.com)
969 * src/hildon-date-button.c,
970 (hildon_date_button_class_init),
971 (hildon_date_button_init): Removed the construct property handling
972 and created a default selector in the init method.
973 * src/hildon-picker-button.c,
974 (hildon_picker_button_class_init): Removed the construct flag of the
977 2009-03-18 Alberto Garcia <agarcia@igalia.com>
979 * src/hildon-main.c (hildon_init):
980 Don't allow hildon_init() to be called more than once.
982 Fixes: NB#106607 (hildon_init should issue error message upon
985 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
987 * examples/hildon-pannable-area-touch-list-example.c
988 * examples/hildon-pannagle-area-touch-grid-example.c
989 * examples/hildon-edit-toolbar-example.c
990 * examples/hildon-touch-selector-multi-cells-example.c
991 Removed the call to gtk_rc_parse_string, as it is not required since
994 2009-03-17 Alejandro G. Castro <alex@igalia.com>
996 * src/hildon-pannable-area.c,
997 (hildon_pannable_area_class_init): Modified the default panning
998 threshold of the widget to 6px.
1000 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
1001 than the threshold value ) within the button is not sending the
1004 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1006 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
1007 for the treeview in the new column. This way, the touch list will never
1010 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
1011 be selected manually for the HW keys to work)
1013 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1015 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
1016 comparison instead of using strcmp(). Fixes a compiler warning as well.
1018 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1020 * doc/hildon-docs.sgml: Do not set the library version in the
1021 document title, use the releaseinfo tag for that purpose instead.
1023 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1025 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
1026 Do not jump to the first item if the text in the entry is removed.
1028 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1033 * configure.ac: Bump version.
1034 * debian/changelog: Updates.
1036 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1038 * src/hildon-entry.c (hildon_entry_refresh_contents):
1039 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
1040 Use "ReversedSecondaryTextColor" for the placeholder text.
1042 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1044 * src/hildon-text-view.c: Fix compilation warning.
1046 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1048 * src/hildon-button.c (hildon_button_class_init): Don't make
1049 "title" and "value" construction properties, to prevent them from
1050 overwriting labels set from derived classes.
1052 * src/hildon-picker-button.c
1053 (hildon_picker_button_set_selector): Allow setting a NULL selector.
1054 (hildon_picker_button_class_init): Make touch-selector a
1055 construction property.
1057 * src/hildon-date-button.c (hildon_date_button_class_init)
1058 (+hildon_date_button_constructed): Add a default date selector if
1061 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1063 * src/hildon-touch-selector.c: Small documentation fixes.
1065 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1067 Based on a patch by Daniel Borgmann (danielb@openismus.com)
1069 * src/hildon-entry.c (hildon_entry_refresh_contents),
1070 (hildon_entry_get_text), (hildon_entry_init): Do not use the
1071 widget name, set the logical color directly instead and a boolean
1072 showing_placeholder instead.
1073 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
1074 use the widget name here either.
1076 Fixes: NB#105678 (HildonTextView should use logical colours
1077 instead of setting widget name)
1079 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1081 Patch by Daniel Elster (danielk@openismus.com)
1083 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
1084 Add user_data parameter.
1085 (hildon_touch_selector_set_print_func_full): New function akin
1086 hildon_touch_selector_set_print_func() but with support for user
1087 data and a destroy callback.
1088 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
1089 to clean up the print function user data.
1090 (hildon_touch_selector_class_init): Install dispose function.
1091 (HildonTouchSelectorPrivate::print_user_data),
1092 (HildonTouchSelectorPrivate::print_destroy_func): New private
1094 (hildon_touch_selector_init): Initialize new private members.
1095 (hildon_touch_selector_get_current_text): Pass along user data
1096 to the print function.
1097 (_default_print_func): Add dummy user_data to parameter list.
1098 * hildon-date-selector.c (_custom_print_func): ditto,
1099 * hildon-time-selector.c (_custom_print_func): ditto,
1100 * hildon-touch-selector-entry.c
1101 (hildon_touch_selector_entry_print_func): ditto.
1103 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
1105 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1107 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
1109 2009-03-12 Alejandro G. Castro <alex@igalia.com>
1111 * src/hildon-pannable-area.c,
1112 (hildon_pannable_area_init),
1113 (hildon_pannable_area_button_press_cb),
1114 (hildon_pannable_area_motion_notify_cb): We have added code to
1115 handle the leave and enter events when using the motion events.
1117 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
1119 2009-03-11 Alberto Garcia <agarcia@igalia.com>
1121 * src/hildon-date-button.c (hildon_date_button_get_date)
1122 (hildon_date_button_set_date): Make sure that the button has a
1125 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
1127 2009-03-11 Alejandro G. Castro <alex@igalia.com>
1129 * src/hildon-pannable-area.c,
1130 (hildon_pannable_area_class_init),
1131 (hildon_pannable_area_calculate_velocity): Modify the use of the
1132 force and adapt the value.
1134 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1136 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
1137 (hildon_app_menu_class_init): Hide the menu if it receives a
1138 delete-event, but don't destroy it
1140 Fixes: NB#104485 (Not able to address the call when application
1141 menu is opened at background)
1143 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1145 * src/hildon-app-menu.c
1146 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1147 Remove the "external-border" style property, let the menu take its
1148 natural size (or the one set by the window manager)
1149 (hildon_app_menu_repack_items):
1150 Don't reshow the menu, avoid flickers.
1152 Partially fixes NB#94957 (Smoothly opened application menu)
1154 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
1159 * configure.ac: Bump version.
1160 * debian/changelog: Updates.
1162 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1164 * src/hildon-pannable-area.c,
1165 (hildon_pannable_area_motion_notify_cb): We control that the
1166 direction error margin is used just in case the movement is
1167 allowed in the other direction.
1169 Fixes: NB#105012 (buttons inside a pannable area not getting
1170 release event when dragging/releasing)
1172 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1174 * src/hildon-pannable-area.c,
1175 (hildon_pannable_area_class_init),
1176 (hildon_pannable_area_get_property),
1177 (hildon_pannable_area_set_property),
1178 (hildon_pannable_area_initial_effect),
1179 (hildon_pannable_axis_scroll),
1180 (hildon_pannable_area_button_release_cb): Reviewed the
1181 overshooting effect, now it has its own max
1182 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
1183 speed when bouncing.
1185 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
1190 * configure.ac: Bump version.
1191 * debian/changelog: Updates.
1193 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1195 * src/hildon-pannable-area.c,
1196 (hildon_pannable_area_class_init): Changed the max speed, now
1197 users can launch the widget very fast. Reduced the default force,
1198 that way it is easier to control the launch speed.
1200 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1202 * src/hildon-pannable-area.c,
1203 (hildon_pannable_area_button_release_cb): Removed this check
1204 because it causes problems when the device is overloaded.
1206 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1208 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1209 add a current_text field to store the text entered in the
1210 touch selector entry.
1211 (_clean_current_selection): clean up the current text as well.
1212 (_save_current_selection), (_restore_current_selection):
1213 Save/restore the text in the entry if the selector is a
1214 HildonTouchSelectorEntry.
1216 Fixes: NB#102541 (value entered in the touch selector entry is not
1217 shown when opened for second time)
1219 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1221 * doc/hildon-sections.txt:
1222 * src/hildon-touch-selector-entry.c
1223 (+hildon_touch_selector_entry_get_entry):
1224 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
1226 Fixes: NB#104815 (I need accessor to the entry inside
1227 HildonTouchSelectorEntry)
1229 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1231 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
1232 (hildon_app_menu_class_init):
1233 New "filter-vertical-spacing" style property.
1235 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1237 * src/hildon-find-toolbar.c
1238 (hildon_find_toolbar_emit_close)
1239 (hildon_find_toolbar_emit_invalid_input)
1240 (hildon_find_toolbar_entry_activate):
1241 Use g_signal_emit() instead of g_signal_emit_by_name()
1243 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1245 Patch by Mox Soini (ext-mox.soini@nokia.com)
1247 * tests/TEST-CASES.txt
1248 * tests/check-hildon-banner.c
1249 * tests/check-hildon-note.c
1250 * src/hildon-banner.c
1251 * src/hildon-code-dialog.c
1252 * src/hildon-date-editor.c (real_set_calendar_icon_state)
1253 * src/hildon-time-editor.c
1254 * examples/hildon-lookup-example.c (main):
1255 Replace obsolete icon names with new ones.
1257 * src/hildon-find-toolbar-private.h:
1258 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
1259 (-hildon_find_toolbar_emit_search):
1260 Remove find button and change icon of close button.
1262 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
1264 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1266 * src/hildon-time-button.c (hildon_time_button_new_step):
1267 Use the "touch-selector" property to set the selector directly
1268 when creating the object.
1270 2009-03-05 Alejandro G. Castro <alex@igalia.com>
1272 Added a new example application that allows tuning the pannable
1273 area and replaced defines with properties in order to simplify the
1274 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
1275 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
1276 PROP_DIRECTION_ERROR_MARGIN.
1278 * examples/hildon-pannable-area-tuning-example.c: New example
1280 * src/hildon-pannable-area.c,
1281 (hildon_pannable_area_class_init),
1282 (hildon_pannable_area_init),
1283 (hildon_pannable_area_get_property),
1284 (hildon_pannable_area_set_property),
1285 (hildon_pannable_area_launch_fade_timeout),
1286 (hildon_pannable_area_adjust_value_changed),
1287 (hildon_pannable_axis_scroll),
1288 (hildon_pannable_area_motion_notify_cb),
1289 (hildon_pannable_area_scroll_cb),
1290 (hildon_pannable_area_button_release_cb): We have converted some
1291 of the defines that control the widget to properties to simplify
1294 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1296 * src/hildon-app-menu.c (hildon_app_menu_map)
1297 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
1298 so it's closed if a new window appears.
1300 Fixes: NB#104485 (Not able to address the call when application
1301 menu is opened at background)
1303 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1305 * src/hildon-color-button.c (hildon_color_button_get_property):Add
1306 missing 'break' statement in in 'case' construct to avoid
1309 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1311 * src/hildon-touch-selector-entry.c
1312 (hildon_touch_selector_entry_get_property),
1313 (hildon_touch_selector_entry_set_property): Add missing 'break'
1314 statements in in 'case' constructs to avoid incorrect warnings.
1316 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1318 * src/hildon-time-editor.c
1319 (hildon_time_editor_get_time_separators): Do not crash if
1320 the first label is NULL.
1322 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1324 * src/hildon-date-selector.c (_month_days): Check for month to be
1325 strictly less than 12, since otherwise we may overrun the array.
1327 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1329 * src/hildon-date-button.c (+hildon_date_button_new_full)
1330 (hildon_date_button_new, hildon_date_button_new_with_year_range)
1331 (hildon_date_button_init): Set the date selector using a
1332 construction property, to make it happen after HildonButton's
1333 "value" property is set.
1335 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
1336 current date by default)
1338 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1340 * doc/hildon-sections.txt
1341 * src/hildon-program.c
1342 * src/hildon-stackable-window.c
1343 * src/hildon-window.c:
1344 Documentation updates
1346 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1348 * src/hildon-window-stack.c (hildon_window_stack_get_default)
1349 (hildon_window_stack_new, +hildon_window_stack_set_property)
1350 (+hildon_window_stack_get_property)
1351 (hildon_window_stack_class_init)
1352 (+hildon_window_stack_set_window_group)
1353 (+hildon_window_stack_get_window_group):
1354 Make the window group a construction property.
1356 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1358 * doc/hildon-sections.txt
1359 * src/hildon-stackable-window-private.h
1360 * src/hildon-stackable-window.h
1361 * src/hildon-stackable-window.c
1362 (-hildon_stackable_window_set_app_menu)
1363 (-hildon_stackable_window_get_app_menu)
1364 (-hildon_stackable_window_toggle_menu)
1365 (-hildon_stackable_window_finalize)
1366 (hildon_stackable_window_class_init)
1367 (hildon_stackable_window_init)
1368 * src/hildon-window-private.h
1369 * src/hildon-window.h
1370 * src/hildon-window.c (hildon_window_init)
1371 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
1372 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
1373 (hildon_window_get_main_menu, hildon_window_set_main_menu)
1374 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
1375 Moved all HildonAppMenu code to HildonWindow. The menu does not
1376 require a HildonStackableWindow anymore.
1378 * src/hildon-app-menu.c
1379 * src/hildon-program.c
1380 * examples/hildon-app-menu-example.c (main):
1381 Update examples and documentation to reflect HildonAppMenu
1384 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1386 * src/hildon-remote-texture.c
1387 * src/hildon-animation-actor.c:
1388 Don't include unused private headers.
1390 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1392 * src/hildon-program-private.h
1393 * src/hildon-program.c
1394 (hildon_program_set_common_menu)
1395 (hildon_program_get_common_menu)
1396 (hildon_program_set_common_app_menu)
1397 (hildon_program_get_common_app_menu):
1398 Change common menu pointers from GtkWidget* to GtkMenu* and
1399 HildonAppMenu* to avoid unnecessary casts.
1401 2009-03-03 Alberto Garcia <agarcia@igalia.com>
1403 * src/hildon-window.c (hildon_window_set_main_menu):
1404 Removed incorrect 'Since:' tag
1406 2009-03-03 Alejandro G. Castro <alex@igalia.com>
1408 * src/hildon-pannable-area.c,
1409 (hildon_pannable_area_calculate_velocity): We use now the
1410 RATIO_TOLERANCE here to check the distance, fixed typo in the
1412 (hildon_pannable_area_motion_notify_cb): We have to set the type
1413 and time even if we are not sending the motion.
1415 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1417 * doc/hildon-sections.txt
1418 * src/hildon-app-menu.h
1419 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
1420 (+hildon_app_menu_get_filters): New methods to get the contents of
1423 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
1426 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1428 * src/hildon-app-menu.c (hildon_app_menu_popup):
1431 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1433 * src/hildon-window.h
1434 * src/hildon-window.c (+hildon_window_get_main_menu)
1435 (hildon_window_get_menu): Created hildon_window_get_main_menu()
1436 and deprecated hildon_window_get_menu().
1438 * src/hildon-stackable-window.h
1439 * src/hildon-stackable-window.c
1440 (+hildon_stackable_window_set_app_menu)
1441 (+hildon_stackable_window_get_app_menu)
1442 (hildon_stackable_window_set_main_menu): Created
1443 hildon_stackable_window_{get,set}_app_menu() and deprecated
1444 hildon_stackable_window_set_main_menu().
1446 * doc/hildon-sections.txt
1447 * examples/hildon-app-menu-example.c (main)
1448 * src/hildon-app-menu.c
1449 * src/hildon-program.c:
1450 Updated examples and documentation.
1452 Fixes: NB#103758 (No way to obtain a menu from a
1453 HildonStackableWindow)
1455 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1460 * configure.ac: Bump version.
1461 * debian/changelog: Updates.
1463 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1465 * examples/hildon-remote-texture-example.c: Include
1466 hildon-remote-texture.h explicitely.
1467 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
1468 applications not defining _XOPEN_SOURCE which don't require this header.
1470 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1472 * doc/hildon-sections.txt
1473 * src/hildon-app-menu.h
1474 * src/hildon-app-menu.c (+hildon_app_menu_popup):
1475 New function to pop up a HildonAppMenu
1477 * src/hildon-stackable-window.c
1478 (hildon_stackable_window_toggle_menu):
1479 Use hildon_app_menu_popup() to show the menu.
1481 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1483 * src/hildon-app-menu.c (hildon_app_menu_show)
1484 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
1485 menu if there's another window between it and its parent window.
1487 Fixes: NB#100468 (Application menu window is launched even when a
1488 new secondary-window/dialog is pending to be shown/realized)
1490 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1492 * src/hildon-window-stack.c (hildon_window_stack_push)
1493 (hildon_window_stack_pop_and_push):
1494 Don't forget to push/pop the first window.
1495 Reverse the window list before calling _push_list()
1497 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1499 * src/hildon-picker-button.h
1500 * src/hildon-picker-button.c (hildon_picker_button_class_init):
1501 Remove "value_changed" slot to avoid ABI breakage
1503 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1505 * src/hildon-pannable-area.c,
1506 (hildon_pannable_area_realize),
1507 (hildon_pannable_area_unrealize),
1508 (hildon_pannable_draw_vscroll),
1509 (hildon_pannable_draw_hscroll): Changed the method to handle the
1510 GC used to draw the transparent scrollbar, this way we avoid
1511 creating the GC all the time when drawing the scrollbars.
1513 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1515 * src/hildon-pannable-area.c,
1516 (hildon_pannable_area_init),
1517 (hildon_pannable_area_remove): Removed some unnecessary casts.
1518 (hildon_pannable_area_dispose): Disconnected some signals before
1519 releasing the adjustments.
1521 2009-02-26 Alberto Garcia <agarcia@igalia.com>
1523 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1524 Make sure that all widgets contained in the toolbar are shown.
1526 2009-02-25 Alberto Garcia <agarcia@igalia.com>
1528 * doc/hildon-sections.txt
1529 * src/hildon-picker-button.h
1530 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
1531 (_selection_changed, hildon_picker_button_on_dialog_response)
1532 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
1533 New hildon_picker_button_value_changed() method.
1536 * src/hildon-picker-button-private.h
1537 * src/hildon-picker-button.c (hildon_picker_button_init)
1538 (+hildon_picker_button_disable_value_changed): Add protected
1539 function for disabling the "value-changed" signal.
1541 * src/hildon-date-button.c (hildon_date_button_set_date):
1542 Don't emit "value-changed" for each one of the three columns.
1544 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
1545 before actual change of values)
1547 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1549 * src/hildon-pannable-area.c,
1550 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
1551 for the treeview overshooting.
1553 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1555 * src/hildon-banner.c (+hildon_banner_bind_style):
1556 Renamed from hildon_banner_bind_label_style(), now naming the
1557 banner itself as well.
1558 (hildon_banner_show_information),
1559 (hildon_banner_show_information_with_markup),
1560 (hildon_banner_show_animation), (hildon_banner_show_progress):
1561 Name the widgets and labels, based on their type.
1563 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1566 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1568 * src/hildon-note.c (hildon_note_set_property): call
1569 hildon_note_rename() on HildonNote:note-type set.
1570 (hildon_note_rename): Name the note and its label, based on the
1571 HildonNote:note-type property.
1573 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1576 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1578 * src/hildon-pannable-area.c,
1579 (hildon_pannable_area_class_init),
1580 (hildon_pannable_area_motion_notify_cb): Reviewed the default
1581 panning parameters, increased SPS and deceleration factor. Added
1582 also a margin to control fake directions.
1584 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1586 Patch by Sven Herzberg (sven@imendio.com)
1588 * configure.ac: Add missing AM_PROG_CC_C_0
1589 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
1591 See NB#101420 (Update unit tests and fix make check)
1593 2009-02-23 Alejandro G. Castro <alex@igalia.com>
1595 This patch was applied before but reverted because it caused
1596 problems, we have changed the main condition and tested the
1597 regressions we detected before and they work ok. We have done a
1598 complete review of the topmost algorithm in order to get a more
1601 * src/hildon-pannable-area.c,
1602 (hildon_pannable_area_get_topmost): Added a new parameter to
1603 filter the the windows that do not include those events.
1604 (hildon_pannable_area_button_press_cb),
1605 (hildon_pannable_area_button_release_cb),
1606 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1607 topmost function, we have added the new parameter.
1609 Fixes: NB#97458 (Pannable area prevents propagation of button
1612 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1614 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
1615 if all columns in the selector have an item selected.
1616 (_on_dialog_response): Stop "response" signal emission if there is
1617 any selector column without selected items.
1619 Fixes: NB#101889 (Picker dialog should not close when nothing is
1620 selected in multiple selection list)
1622 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1624 * src/hildon-font-selection-dialog.c
1625 (hildon_font_selection_dialog_class_init),
1626 (hildon_font_selection_dialog_init): Remove the preview
1627 button and dialog, since previewing with default theming is likely
1628 to be overcomplicated. The :preview property has now no effect.
1629 Update documentation blurbs to inform about this.
1631 Fixes: NB#92297 (Preview content is not clearly visible for
1632 default colour text)
1634 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1636 Reviewed the geometry that handles the children size and
1637 scrollbar, now it tries a size and reviews the results depending
1638 on the scrollbars visibility.
1640 * src/hildon-pannable-area.c,
1641 (hildon_pannable_area_realize): Fixed a typo.
1642 (hildon_pannable_area_child_allocate_calculate): Added this
1643 function to calculate the child allocation.
1644 (hildon_pannable_area_size_allocate): Reviewed the allocation
1646 (hildon_pannable_area_check_scrollbars),
1647 (hildon_pannable_area_refresh): Refactored refresh function, this
1648 way we can call the code handling the scrollbars without causing a
1649 size_request, it is interesting in the allocate.
1650 (hildon_pannable_area_init): Replace the callbacks of the
1651 value_changed and changed signals to propertly deal with the
1653 (hildon_pannable_area_grab_notify),
1654 (hildon_pannable_area_initial_effect),
1655 (hildon_pannable_area_launch_fade_timeout),
1656 (hildon_pannable_area_adjust_changed),
1657 (hildon_pannable_area_adjust_value_changed),
1658 (hildon_pannable_area_redraw),
1659 (hildon_pannable_area_button_press_cb),
1660 (hildon_pannable_area_button_release_cb),
1661 (hildon_pannable_area_scroll_cb),
1662 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
1663 code and use the new functions adjust_changed and
1664 adjust_value_changed.
1666 Fixes: NB#101603 (Focus is not even for the text entry boxes in
1667 Contact editor dialog)
1669 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
1674 * configure.ac: Bump version.
1675 * debian/changelog: Updates.
1677 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1679 * src/hildon-pannable-area.c,
1680 (hildon_pannable_area_get_topmost),
1681 (hildon_pannable_area_button_press_cb),
1682 (hildon_pannable_area_button_release_cb),
1683 (hildon_pannable_get_child_widget_at): Reverted the patch for the
1684 topmost function adding the event mask. We have to try a
1685 differente approach because it is still causing problems (NB#9745,
1688 2009-02-19 Alberto Garcia <agarcia@igalia.com>
1690 * src/hildon-banner.c:
1691 Update the maximum width of timed banners.
1692 (force_to_wrap_truncated): Enforce the maximum text width if the
1695 Fixes: NB#102413 (The text margins (wrapping) in information
1696 banner should be HILDON_MARGIN_TRIPLE)
1698 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1700 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
1702 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
1703 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
1704 bound when calculating the scroll indicator position.
1706 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
1707 treat ->lower correctly)
1709 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1711 * src/hildon-caption.c (hildon_caption_class_init): Remove the
1712 expose event handling, since it is not necessary to draw the focus
1715 Fixes: NB#102467 (Do not show highlight on the text in
1718 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1720 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
1721 full height of the toolbar for the button and the label.
1723 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1725 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
1726 padding before the label and after the button.
1728 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1730 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
1732 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1733 Add a GtkVSeparator between the button and the back arrow.
1734 Let the button have automatic size.
1735 Set a name to the widget for theming handling.
1737 Fixes: NB#101793 (Make edit toolbar the same height as window
1738 title bar (use title area theming))
1740 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1742 * src/hildon-helper.c (attach_new_color_element): Fix memory
1745 Fixes: NB#102262 (memory leak in hildon_button_set_style())
1747 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1749 * examples/hildon-button-example.c (common_buttons_window): Don't
1752 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1754 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1755 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
1757 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1759 * src/hildon-gtk.c: Check that the window is realized.
1761 Fixes: NB#102225 (Crash setting the progress indicator to a non
1764 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1766 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
1767 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
1768 instead of modifying the one in the widget style.
1770 Fixes: NB#101043 (Second row of all the command button are
1771 displayed in transparent mode.)
1773 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1775 * src/hildon-date-button.c
1776 * src/hildon-time-button.c: Add gettext macros
1778 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
1780 * src/hildon-date-button.c (hildon_date_button_new):
1781 * src/hildon-time-button.c (hildon_time_button_new_step):
1782 Use new logical strings to set the button default title.
1784 Fixes: NB#99915 (Date and Time options are not localised in Date
1787 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1789 * src/hildon-pannable-area.c
1790 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
1791 the PANNING_THRESHOLD.
1793 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1795 * src/hildon-pannable-area.c,
1796 (hildon_pannable_area_class_init): Increased the maximum speed.
1797 (hildon_pannable_area_get_property),
1798 (hildon_pannable_area_set_property),
1799 (hildon_pannable_area_timeout): Added a new low friction mode, it
1800 allows the user avoid friction when launching the widget fast
1801 enough. It is interesting to traverse long lists.
1803 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1805 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
1806 (+hildon_stackable_window_delete_event): Ignore delete events if
1807 the window is not the topmost one.
1809 Fixes: NB#101698 (Back button long press and delete-event handling)
1811 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1813 * src/hildon-pannable-area.c,
1814 (hildon_pannable_area_motion_notify_cb): Removed the use of the
1815 gtk-dnd-drag-threshold, it was too big. We have defined our own
1816 dnd define and set a smaller value: PANNIG_THRESHOLD.
1818 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1820 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
1821 user-defined icons, use always the default one.
1823 Fixes: NB#101916 (Do not allow custom icons on animation banner)
1825 2009-02-13 Alejandro G. Castro <alex@igalia.com>
1827 This patch was applied before but reverted because it caused
1828 problems, we have changed the main condition and tested the
1829 regressions we detected before and they work ok.
1831 * src/hildon-pannable-area.c,
1832 (hildon_pannable_area_get_topmost): Added a new parameter to
1833 filter the the windows that do not include those events. Added
1834 also a condition when finding the window to filter windows that do
1835 not ask for those events.
1836 (hildon_pannable_area_button_press_cb),
1837 (hildon_pannable_area_button_release_cb),
1838 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1839 topmost function, we have added the new parameter.
1841 Fixes: NB#97458 (Pannable area prevents propagation of button
1844 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1846 * tests/check-hildon-color-button.c (START_TEST): do not leak
1849 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1851 * src/hildon-font-selection-dialog.c
1852 (hildon_font_selection_dialog_get_preview_text): Return NULL
1853 instead of FALSE on the g_return_val_if_fail().
1855 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1857 * src/hildon-time-selector.c (hildon_time_selector_set_time):
1858 * src/hildon-date-selector.c
1859 (hildon_date_selector_select_current_date):
1860 Do not compare unsigned integers to be greater than or equal 0,
1861 because it's always TRUE.
1863 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1865 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
1866 (hildon_date_selector_constructor): Do not select the current
1867 date until we are handle the "changed" signal, to avoid having bogus
1868 elements in the days model.
1870 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1872 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
1873 for num_days, since _month_days() can return a negative value.
1875 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1877 * src/hildon-caption.c (hildon_caption_size_allocate):
1878 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
1879 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
1881 Initialize allocation variables to 0, to avoid eventually using
1882 unitialized variables.
1884 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1886 * src/hildon-bread-crumb-trail.c
1887 (hildon_bread_crumb_trail_size_allocate):
1888 * src/hildon-calendar.c (hildon_calendar_set_background):
1889 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
1890 * src/hildon-range-editor.c (hildon_range_editor_get_range):
1891 * src/hildon-seekbar.c (hildon_seekbar_init):
1892 * src/hildon-time-editor.c (hildon_time_editor_get_time):
1893 * src/hildon-time-selector.c (hildon_time_selector_finalize):
1894 * src/hildon-touch-selector-entry.c
1895 (hildon_touch_selector_get_text_from_model):
1896 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
1897 * src/hildon-window.c (hildon_window_finalize):
1899 Remove many unused variables.
1901 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1903 * src/hildon-seekbar.c: (hildon_seekbar_init),
1904 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
1906 Remove unnecessary g_assert() calls.
1908 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1910 * src/hildon-caption.c: (hildon_caption_expose),
1911 (hildon_caption_set_property), (hildon_caption_init),
1912 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
1913 (hildon_caption_size_request), (hildon_caption_size_allocate),
1914 (hildon_caption_forall), (hildon_caption_set_separator),
1915 (hildon_caption_activate), (hildon_caption_set_child_expand),
1916 (hildon_caption_set_label_text),
1917 (hildon_caption_get_label_alignment):
1919 Remove unnecessary g_assert() calls.
1921 2009-02-12 Alberto Garcia <agarcia@igalia.com>
1923 * src/hildon-banner.c
1924 (hildon_banner_map, hildon_banner_init): Make banner temporary
1925 before mapping it to avoid closing other temporary windows, but
1926 make it non-temporary afterwards to avoid being closed by other
1927 non-temporary windows.
1928 (-hildon_banner_client_event, hildon_banner_init):
1929 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
1931 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
1934 2009-02-11 Alberto Garcia <agarcia@igalia.com>
1936 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
1939 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1941 * src/hildon-remote-texture.c
1942 * src/hildon-remote-texture.h
1943 * src/hildon-remote-texture-private.h
1944 * examples/hildon-remote-texture-example.c:
1945 Updates/fixes to remote-texture and its example.
1947 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
1949 Patch by Mox Soini (ext-mox.soini@nokia.com)
1951 * src/hildon-code-dialog.c: Update logical id.
1952 * src/hildon-set-password-dialog.c: Update logical id.
1954 Fixes: NB#100646 (Logical strings is shown for ok in set
1955 password,Password needed dialogs)
1957 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1960 * src/hildon-remote-texture.c
1961 * src/hildon-remote-texture.h
1962 * src/hildon-remote-texture-private.h
1964 Added remote texture widget (for Clutter shared memory textures)
1966 * examples/hildon-remote-texture-example.c
1967 * examples/Makefile.am
1968 Added example file for remote texture usage
1970 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
1972 * configure.ac: post release version bump.
1973 * debian/changelog: version bump.
1975 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
1980 * configure.ac: Bump version.
1981 * debian/changelog: Updates.
1983 2009-02-06 Alberto Garcia <agarcia@igalia.com>
1985 * src/hildon-date-selector.c (hildon_date_selector_init)
1986 (hildon_date_selector_constructor): Don't connect to the "changed"
1987 signal until the selector is completely constructed.
1989 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1991 * src/hildon-touch-selector.c: (_create_new_column),
1992 (hildon_touch_selector_append_column),
1993 (hildon_touch_selector_set_column_selection_mode),
1994 (hildon_touch_selector_set_active),
1995 (hildon_touch_selector_select_iter):
1996 Emit the HildonTouchSelector::changed signal every time selection
1997 is changed in any of the methods above. This behavior was already
1998 documented but not fully functional.
2000 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
2001 selection is programmatically changed)
2003 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2005 * doc/hildon-sections.txt: Remove obsolete icon
2006 sizes from here as well.
2008 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2010 * examples/hildon-stackable-window-example.c (add_window): Remove
2013 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2015 * src/hildon-app-menu.c
2016 (hildon_app_menu_show): Check whether the parent window of a menu
2017 is topmost before popping it up.
2019 Fixes: NB#100468 (Application menu window is launched even when a
2020 new secondary-window/dialog is pending to be shown/realized.)
2022 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2024 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
2027 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2029 Patch by Mox Soini (ext-mox.soini@nokia.com)
2031 * src/hildon-banner.c: (hildon_banner_show_animation):
2032 use stylus size instead of obsolete note size.
2033 * src/hildon-defines.h: Update icon sizes.
2035 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2037 * src/hildon-touch-selector-entry.c:
2038 (hildon_touch_selector_entry_init): Disable unsupported
2040 (hildon_touch_selector_entry_get_text_column): Emit a warning
2041 if an unsupported input modes is used and explicitile state
2042 these modes in the documentation.
2044 Fixes: NB#99802 (Hildon touch selector entry not working properly
2045 for some of the input modes)
2047 2009-02-05 Alejandro G. Castro <alex@igalia.com>
2049 * src/hildon-pannable-area.c,
2050 (hildon_pannable_area_init): Added the changed signal handlers of
2053 Fixes: NB#100320 (HildonPannableArea does not listen to
2054 GtkAdjustment "change" signals)
2056 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2058 * doc/hildon-sections.txt
2059 * src/hildon-window-private.h
2060 * src/hildon-window.h
2061 * src/hildon-window.c (hildon_window_init)
2062 (hildon_window_realize, hildon_window_unrealize)
2063 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
2064 (hildon_window_size_request, hildon_window_size_allocate)
2065 (hildon_window_forall, hildon_window_show_all)
2066 (hildon_window_destroy, +paint_edit_toolbar)
2067 (+hildon_window_set_edit_toolbar):
2068 New hildon_window_set_edit_toolbar() method, to add a
2069 HildonEditToolbar to a window without having to pack it manually.
2071 Reorganize hildon_window_size_allocate()
2073 * src/hildon-edit-toolbar.c: Update documentation.
2075 * examples/hildon-edit-toolbar-example.c (edit_window): Update
2076 example to use the new API.
2078 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
2080 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2082 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
2083 Remove from stack before calling parent's hide.
2085 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2087 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
2088 window is removed from the middle of the stack, update the
2089 transiency of the previous one.
2091 Fixes: NB#100487 (HildonStackableWindow transiency becomes
2094 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2096 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
2097 block/unblock the signal handler if it's not actually being used.
2098 Fixes some critical warnings.
2100 2009-02-02 Alberto Garcia <agarcia@igalia.com>
2102 Based on a patch by Iván Gómez (igomez@igalia.com)
2104 * src/hildon-banner.c
2108 * src/hildon-pannable-area.c
2109 * src/hildon-picker-dialog.c
2110 * src/hildon-wizard-dialog.h
2111 * src/hildon-wizard-dialog.c: Documentation updates.
2113 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
2114 gtk_dialog_add_button() instead of hildon_dialog_add_button().
2116 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2118 * configure.ac: post release version bump.
2119 * debian/changelog: version bump.
2121 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2126 * configure.ac: Bump version.
2127 * debian/changelog: Updates.
2129 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2131 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
2132 a stock icon nor change the relief of the back arrow.
2134 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2135 graphics from theme)
2137 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2139 * src/hildon-button.c (hildon_button_set_alignment): Use
2140 priv->alignment if the button has no child yet.
2142 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
2144 * src/hildon-button.c: (hildon_button_init): Set the
2145 button style during initialization to give it the proper
2148 Fixes: NB#99713 (HildonButton value label color is wrong)
2150 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2152 * src/hildon-touch-selector.c: Document
2153 hildon_touch_selector_center_on_selected()
2155 2009-01-28 Alberto Garcia <agarcia@igalia.com>
2157 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
2158 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
2159 all menu items, but not the menu itself.
2160 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
2161 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
2162 items after adding them to the menu so keyboard accelerators work.
2163 (hildon_app_menu_show): Don't show the menu if it contains items
2164 but none of them are visible.
2166 * examples/hildon-app-menu-example.c (create_menu): Use
2167 gtk_widget_show_all() to show all menu items.
2169 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2171 * src/hildon-picker-dialog.c:
2172 (-_update_title_on_selector_changed_cb),
2173 (-_dialog_update_title): Removed.
2174 (_select_on_selector_changed_cb), (_on_dialog_response),
2175 (on_selector_columns_changed): Do not update the dialog title.
2176 (setup_interaction_mode): Do not connect to
2177 HildonTouchSelector::changed signal if there's a "done" button, as
2178 the dialog title doesn't need to be updated.
2180 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
2183 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
2185 Patch by Kristian Rietveld (kris@imendio.com)
2187 * src/hildon-touch-selector.c: (_create_new_column): Use new
2188 GtkTreeView::hildon-row-tapped signal to react to user interactions
2189 instead of ::changed.
2191 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
2192 with some dynamic tree model)
2194 2009-01-27 Alberto Garcia <agarcia@igalia.com>
2196 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
2197 (+screen_size_changed, +label_size_request)
2198 (hildon_note_class_init): Make the Hildon information note have a
2199 minimum height, and make its text hvae a maximum width.
2201 Fixes: NB#98614 (Hildon information note (background) should have
2202 minimum height and maximum text width)
2204 2009-01-26 Alberto Garcia <agarcia@igalia.com>
2206 * src/hildon-banner.h
2207 * src/hildon-banner.c (hildon_banner_show_information)
2208 (hildon_banner_show_informationf)
2209 (hildon_banner_show_information_with_markup): Update documentation
2210 to reflect that the icon_name parameter is not used anymore.
2211 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
2212 Remove all code from these functions and mark them as deprecated.
2213 (hildon_banner_show_progress): Mark as deprecated.
2215 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
2217 2009-01-26 Alejandro G. Castro <alex@igalia.com>
2219 * src/hildon-pannable-area.c,
2220 (hildon_pannable_area_class_init),
2221 (tranparency_color),
2222 (hildon_pannable_draw_vscroll),
2223 (hildon_pannable_draw_hscroll),
2224 (hildon_pannable_area_expose_event): Added a new way to render the
2225 scrollbars of the pannable area avoiding using cairo at all. This
2226 way we improve the performance of the pannable area rendering. The
2227 cairo rendering procedure is still in the code, we can control
2228 which one to use changing the value of the define
2229 USE_CAIRO_SCROLLBARS.
2231 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2233 * configure.ac: post release version bump.
2234 * debian/changelog: version bump.
2236 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2241 * configure.ac: Bump version.
2242 * debian/changelog: Updates.
2244 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2246 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
2247 banners instead of destroying them when they receive a button
2250 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2252 Reverted commit 34028, it was causing regressions, probably the
2253 topmost condition is not correct, we have to check it in more
2254 detail. We have reponed the bug: NB#97458 (Pannable area prevents
2255 propagation of button press events)
2257 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2259 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
2260 that the selection is not empty before attempting to retrieve the
2261 current ampm selection.
2263 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2265 * src/hildon-picker-button.c:
2266 (hildon_picker_button_on_dialog_response): Directly update the
2267 button contents when required instead of calling _selection_changed.
2269 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2271 * src/hildon-program.c (hildon_program_update_top_most): Update
2272 'is-topmost' property also when wm_hints is not set.
2274 Fixes: NB#98383 (is-topmost signal is not emitted when task
2275 switcher is clicked.)
2277 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2279 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
2283 * src/hildon-animation-actor.c,
2284 * src/hildon-animation-actor.h: Added the animation actor class,
2285 this widget represents an animation actor for WM-assisted
2286 animation effects in the Hildon framework.
2288 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2290 * src/hildon-window-stack-private.h
2291 * src/hildon-window-stack.c
2292 * src/hildon-stackable-window.c (hildon_stackable_window_show):
2293 Avoid calling gtk_widget_show() again indirectly from
2294 hildon_stackable_window_show()
2296 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2298 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
2301 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2303 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
2304 (hildon_time_selector_init): Move the construction of the hours and
2305 ampm columns to the constructor to preserve the order the columns
2308 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2310 * src/hildon-picker-dialog.c:
2311 (hildon_picker_dialog_class_init): Connect a realize method.
2312 (+hildon_picker_dialog_realize): Setup the interaction mode here
2314 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
2315 yet, do it during the realize instead.
2316 (_on_dialog_response):
2317 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
2318 if the widget is not realized, to avoid the dialog response before it
2321 Avoid premature responses in the HildonPickerDialog that can cause it
2322 to be hidden before it's even shown.
2324 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2326 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
2327 (on_selector_columns_changed), (requires_done_button),
2328 (+prepare_action_area), (setup_interaction_mode),
2329 (_hildon_picker_dialog_set_selector):
2331 Split the interaction mode setup into preparation of the
2332 action area (prepare_action_area()) and the connection of
2333 the signals in setup_interaction_mode() and update the code to
2336 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2338 * src/hildon-pannable-area.c,
2339 (hildon_pannable_area_class_init): Reduced the amount of scrolls
2340 per second to 15, we will check if this is ok regarding
2343 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2345 * src/hildon-pannable-area.c,
2346 (hildon_pannable_axis_scroll): Avoid resize if we already have
2347 reached overshoot_max.
2349 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2351 * src/hildon-pannable-area.c,
2352 (hildon_pannable_area_init),
2353 (hildon_pannable_area_realize),
2354 (hildon_pannable_area_size_allocate),
2355 (hildon_pannable_area_map),
2356 (hildon_pannable_area_unmap),
2357 (hildon_pannable_draw_vscroll),
2358 (hildon_pannable_draw_hscroll),
2359 (hildon_pannable_area_expose_event),
2360 (hildon_pannable_area_refresh): Added a new GdkWindow to the
2361 pannable are to avoid the expose events go to the window and
2362 redraw the window. We save this way that part of the stack and the
2363 paint_boxes. We had to change the positions of the elements when
2366 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
2368 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2369 * src/hildon-color-chooser-dialog.c:
2370 (hildon_color_chooser_dialog_init):
2371 * src/hildon-font-selection-dialog.c:
2372 (hildon_font_selection_dialog_init),
2373 (hildon_font_selection_dialog_show_preview):
2374 * src/hildon-get-password-dialog.c:
2375 * src/hildon-login-dialog.c:
2376 * src/hildon-set-password-dialog.c:
2377 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
2378 * src/hildon-time-picker.c: (hildon_time_picker_init):
2380 Remove obsolete logical string IDs and update to the appropriate ones.
2382 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
2384 2009-01-21 Alberto Garcia <agarcia@igalia.com>
2386 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
2387 that happens if the window hasn't been realized yet.
2389 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
2390 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
2392 2009-01-20 Alberto Garcia <agarcia@igalia.com>
2394 * src/hildon-app-menu.c (hildon_app_menu_class_init)
2395 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
2398 Fixes: NB#98537 (Device hangs in account settings dialog)
2400 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2402 * configure.ac: post release version bump.
2403 * debian/changelog: version bump
2405 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2410 * configure.ac: Bump version.
2411 * debian/changelog: Updates.
2413 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2415 Added a new function to the HildonTimeButton widget that allows to
2416 change the step of the minutes in the selector associated with the
2417 button: hildon_time_button_new_step
2419 * src/hildon-time-button.c,
2420 (hildon_time_button_init),
2421 (hildon_time_button_new),
2422 (hildon_time_button_new_step):
2423 * src/hildon-time-button.h: Added the new function and refactored
2425 * examples/hildon-time-button-example.c,
2426 (main): We have replaced the function without parameters with the
2427 function with the steps set to 5
2429 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
2431 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2433 * src/hildon-time-selector.c,
2434 (hildon_time_selector_class_init),
2435 (hildon_time_selector_constructor),
2436 (hildon_time_selector_get_property),
2437 (hildon_time_selector_set_property),
2438 (_create_minutes_model),
2439 (hildon_time_selector_new_step),
2440 (hildon_time_selector_set_time),
2441 * src/hildon-time-selector.h: Added a new property to the
2442 HildonTimeSelector (minutes-step), we use that property to control
2443 the steps between the minutes in the list of the selector. We have
2444 added a new function to the API to create a widget changing the
2445 step: hildon_time_selector_new_step.
2447 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2449 * src/hildon-time-selector.c,
2450 (hildon_time_selector_class_init),
2451 (hildon_time_selector_constructor),
2452 (hildon_time_selector_init): Overrided the construct function when
2453 creating the time selector object. We have moved the minutes model
2454 handling code from the init to the new construction function:
2455 hildon_time_selector_constructor.
2457 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2459 * examples/hildon-date-button-example.c: (main): Use the new
2460 hildon_date_button_new_with_year_range() method in the example.
2461 * src/hildon-date-button.c:
2462 (+hildon_date_button_new_with_year_range): New public method
2463 to conveniently create a HildonDateButton with a custom year range
2464 in its HildonDateSelector.
2465 * src/hildon-date-button.h: Add the new public method definition.
2467 Fixes: NB#97908 (Not possible to change the year range in
2468 HildonDateSelector/HildonDateButton)
2470 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2472 * src/hildon-date-selector.c:
2473 (+hildon_date_selector_set_property),
2474 (+hildon_date_selector_get_property),
2475 (hildon_date_selector_class_init): Install new properties "min-year"
2476 and "max-year" to define boundaries for the year column.
2477 (_create_year_model): Use the boundary properties to populate the model.
2478 (+hildon_date_selector_new_with_year_range): New public method to
2479 create a HildonDateSelector with a user defined year range.
2480 (hildon_date_selector_select_current_date): Use the new boundaries to
2481 calculate the iterator of current year.
2482 * src/hildon-date-selector.h: Add the new public method definition.
2484 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2486 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
2487 Install a constructor method.
2488 (+hildon_date_selector_construct_ui): construct the widget.
2489 (+hildon_date_selector_constructor): new constructor.
2490 (+hildon_date_selector_init): move out widget construction code to
2491 the new constructor.
2493 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2495 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
2496 that there's actually a month or year selected before obtaining them.
2497 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
2498 of the HildonTouchSelector::changed signal, as it was emitted on every
2499 single item selection.
2501 Fix some warnings and possible crashers due to the selection restoring.
2503 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2505 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
2506 the signal handlers only after creating the dialog instead of on every
2509 2009-01-19 Alberto Garcia <agarcia@igalia.com>
2511 * src/hildon-button.c (hildon_button_init)
2512 * src/hildon-check-button.c (hildon_check_button_init)
2513 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
2514 focus when clicked by default.
2516 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2518 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
2521 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2523 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2524 Alejandro G. Castro (alex@igalia.com)
2526 * src/hildon-picker-dialog.c:
2527 (hildon_picker_dialog_class_init): install new "center-on-show"
2529 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
2530 (hildon_picker_dialog_set_property): add setter code for the new
2532 (hildon_picker_dialog_get_property): add getter code for the new
2534 (hildon_picker_dialog_show): Ensure visibility of selected items in the
2535 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
2538 Fixes: NB#92849 (Selected item is not always visible when
2539 HildonTouchSelector is shown)
2541 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2543 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2544 Alejandro G. Castro (alex@igalia.com)
2546 * src/hildon-touch-selector.c:
2547 (_create_new_column): Do not connect to the "realize" signal of the
2549 (hildon_touch_selector_append_column): center on the selected items
2550 when a new column is appended.
2551 (hildon_touch_selector_select_iter): Factor out the code to select a
2552 column to hildon_touch_selector_scroll_to().
2553 (+search_nearest_element): Method to retrieve the nearest selected
2554 element to the visible area of the pannable area in a column.
2555 (+on_realize_cb): scroll to the initially selected item.
2556 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
2557 the pannable area is realized, otherwise delay this until it is.
2558 (+_hildon_touch_selector_center_on_selected_items): Centers on the
2559 selected items of a given column.
2560 (+hildon_touch_selector_center_on_selected): Public method to center
2561 all columns on the nearest selected item.
2562 * src/hildon-touch-selector.h: Add definition for
2563 hildon_touch_selector_center_on_selected().
2565 Implement public API to ensure visibility of all selected items in
2566 a HildonTouchSelector.
2568 2009-01-16 Alejandro G. Castro <alex@igalia.com>
2570 Fixed a problem in the fading when calling the scroll_to API, and
2571 improve scrollbar fading handling.
2573 * src/hildon-pannable-area.c,
2574 (hildon_pannable_area_grab_notify): avoid the timeout when the
2576 (hildon_pannable_area_button_press_cb),
2577 (hildon_pannable_area_motion_notify_cb): Code style changes.
2578 (hildon_pannable_area_button_release_cb): Review the conditions
2579 when releasing the mouse button to avoid unrequired fading
2581 (hildon_pannable_area_scroll_to): Do not calculate and set the
2582 velocity if the scroll is not required.
2584 2009-01-15 Alberto Garcia <agarcia@igalia.com>
2586 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
2587 Don't check whether the new selector is NULL: it cannot be.
2588 Hold a reference to the selector while doing the replacement.
2590 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2592 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2593 unnecessary size_request in a removed widget.
2595 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2597 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2598 an unnecessary reference tracking that was leaking.
2600 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2602 Added delayed motion notify event handling, this way we can
2603 discard redrawing if more than 25 events arrive per second.
2605 * src/hildon-pannable-area.c,
2606 (hildon_pannable_area_init): Initialized the new private atributes
2607 controlling this timeout
2608 (hildon_pannable_area_dispose): Remove the timeout that controls
2609 the motion notify events.
2610 (hildon_pannable_area_scroll): Added a condition to control the
2611 use of the acceleration.
2612 (hildon_pannable_area_motion_event_scroll_timeout),
2613 (hildon_pannable_area_motion_event_scroll): Added this two
2614 functions, they handle the motion notify events inside the
2616 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
2617 to the scroll method with the new function.
2618 (hildon_pannable_area_button_release_cb): We have to remove the
2619 timeout handler and move to the last position if the last motion
2620 events were not handled.
2622 Fixes: NB#97028 (Pannable area updates on every motion event)
2624 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2626 * src/hildon-pannable-area.c,
2627 (hildon_pannable_area_get_topmost): Added a new parameter to
2628 filter the the windows that do not include those events. Added
2629 also a condition when finding the window to filter windows that do
2630 not ask for those events.
2631 (hildon_pannable_area_button_press_cb),
2632 (hildon_pannable_area_button_release_cb),
2633 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2634 topmost function, we have added the new parameter.
2636 Fixes: NB#97458 (Pannable area prevents propagation of button
2639 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2641 * src/hildon-pannable-area.c,
2642 (hildon_pannable_area_initial_effect): Added controls before
2643 launching the timeout and the idle functions.
2644 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
2645 of the method, in some situations it can return with TRUE and 0 in
2647 (hildon_pannable_area_button_press_cb): We do not need to set
2648 DELAY for fading out here.
2650 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
2652 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2654 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
2655 post-cleaning if the selection is not NULL.
2657 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2659 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
2660 all items before restoring the selection.
2662 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2664 * src/hildon-touch-selector.c:
2665 (+hildon_touch_selector_unselect_all):
2666 * src/hildon-touch-selector.h: New API to unselect all items in a
2667 column of the touch selector.
2669 2009-01-14 Alejandro G. Castro <alex@igalia.com>
2671 * src/hildon-pannable-area.c,
2672 (hildon_pannable_area_redraw): Added a call to the refresh
2673 function inside the redraw because apparently in some cases the
2674 change in the adjustment does not imply a size allocate.
2676 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
2677 despite the view not being scrollable)
2679 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2681 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
2682 leak. Check for NULL before attempting to set the window title.
2684 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2686 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
2687 whether to show or not the 'Done' button each time the dialog is
2688 shown, as it depends on the HildonTouchSelector selection mode.
2690 Fixes: NB#96226 (In multiple selection mode Done button is shown
2691 sometimes in listpicker)
2693 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2695 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
2696 for the number of columns in the HildonTouchSelector more than once.
2698 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2700 * src/hildon-touch-selector.c: Minor documentation fixes.
2702 * src/hildon-picker-dialog.c (+_dialog_update_title)
2703 (_select_on_selector_changed_cb)
2704 (_update_title_on_selector_changed_cb)
2705 (on_selector_columns_changed): Update dialog title when there's no
2706 'Done' button and also when the number of columns in the selector
2710 * src/hildon-picker-button.c (hildon_picker_button_finalize)
2711 (+_selection_changed, hildon_picker_button_on_dialog_response)
2712 (hildon_picker_button_selector_selection_changed)
2713 (+hildon_picker_button_selector_columns_changed)
2714 (hildon_picker_button_set_selector): Update button value and emit
2715 'value-changed' when the number of columns in the selector
2719 Fixes: NB#96225 (Dialog titles are not shown according to the
2720 values selected in the list picker)
2722 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2724 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
2725 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
2726 New "arrow-width" and "arrow-height" style properties to set the
2727 size of the arrow button.
2728 Set name of arrow button ("hildon-edit-toolbar-arrow").
2730 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2731 graphics from theme)
2733 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2735 * src/hildon-picker-button.c:
2736 (hildon_picker_button_selector_selection_changed): Use
2737 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
2738 the dialog is present.
2740 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
2741 the selection is accepted in the dialog)
2743 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2745 * src/hildon-color-chooser.h
2746 * src/hildon-color-chooser-dialog.h:
2747 Added G_BEGIN_DECLS and G_END_DECLS
2749 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2751 (_clean_current_selection): plug a leak in the list.
2753 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2755 * src/hildon-picker-dialog.c:
2756 (+free_path_list): Method to free a GList of GtkTreePaths.
2757 (_clean_current_selection), (_save_current_selection),
2758 (_restore_current_selection): Save the current selection in
2759 as a list of lists, to support multiple selection properly.
2761 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2763 patch by Claudio Saavedra (csaavedra@igalia.com)
2765 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
2766 Store the press position.
2767 (+hildon_text_view_button_release_event): If the release position is
2768 close enough to the press position, move the cursor here. Otherwise,
2770 (hildon_text_view_class_init): Override GtkTextView press, release, and
2771 motion event handlers, disabling this way text selection through
2772 pointer interaction, and allowing the container widget to handle the
2775 Fixes: NB#95828 (HildonTextView functionality)
2777 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2779 Based on a patch by Iván Gómez (igomez@igalia.com)
2781 * src/hildon-button.[ch]
2782 * src/hildon-calendar.c
2783 * src/hildon-check-button.c
2784 * src/hildon-date-editor.c
2785 * src/hildon-date-selector.c
2786 * src/hildon-picker-button.c
2787 * src/hildon-time-editor.c
2788 * src/hildon-time-selector.c
2789 * src/hildon-touch-selector.[ch]:
2790 Documentation updates
2792 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2794 * src/hildon-pannable-area.c,
2795 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
2796 threshold, it was required due to X events handling.
2798 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2800 * src/hildon-pannable-area.c,
2801 (hildon_pannable_area_grab_notify),
2802 (hildon_pannable_area_initial_effect),
2803 (hildon_pannable_area_button_press_cb),
2804 (hildon_pannable_area_button_release_cb),
2805 (hildon_pannable_area_scroll_cb),
2806 (hildon_pannable_area_scroll_to): Review the timeout management of
2807 the scrollbar, the frecuency was incorrectly set.
2809 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
2811 * src/hildon-picker-button.c:
2812 (+hildon_picker_button_on_dialog_response),
2813 (hildon_picker_button_clicked): Present the dialog instead of
2814 running it with gtk_dialog_run().
2816 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
2819 2009-01-07 Alberto Garcia <agarcia@igalia.com>
2821 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2822 (hildon_app_menu_finalize): When a window is hidden it doesn't
2823 emit notify::is-topmost, so make sure than the menu also
2824 disappears in that case.
2825 (parent_window_topmost_notify): Renamed from parent_window_hidden
2827 Fixes: NB#94460 (stackable window's menu is not closed when its
2830 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2832 * src/hildon-touch-selector-entry.c:
2833 (+hildon_touch_selector_entry_set_input_mode),
2834 (+hildon_touch_selector_entry_get_input_mode):
2835 * src/hildon-touch-selector-entry.h: New methods to access the input
2836 mode in the selector's entry.
2838 Fixes: NB#93410 (API required for setting IM mode in
2839 HildonTouchSelectorEntry)
2841 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2843 * configure.ac: post release version bump.
2844 * debian/changelog: version bump
2846 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2851 * configure.ac: Bump version.
2852 * debian/changelog: Updates.
2854 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
2856 * src/hildon-touch-selector.c:
2857 (_hildon_touch_selector_has_multiple_selection): No need
2858 to initialize the variables here.
2860 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2862 * src/hildon-note-private.h
2863 * src/hildon-note.c (event_box_press_event, hildon_note_init)
2864 (hildon_note_finalize, hildon_note_rebuild): Close information
2865 notes when they receive a button press.
2867 Fixes: NB#89890 (Information notes does not get disappeared after
2870 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
2872 * src/hildon-wizard-dialog.c: (create_title): Remove translation
2873 mark from the wizard title, as it's not really necessary. Also,
2874 do not display the page title if not set.
2876 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2878 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2879 (parent_window_hidden): Use the window's "is-topmost" property to
2880 detect when to hide the menu.
2882 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2884 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2885 (hildon_app_menu_finalize): If the parent window of the menu is
2886 hidden, hide the menu too.
2888 Fixes: NB#94460 (stackable window's menu is not closed when its
2891 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2894 * debian/libhildon1-examples.install
2896 * examples/Makefile.am:
2897 Use dh_install to install all examples.
2898 Use DEB_SRCDIR instead of defining SOURCE_DIR
2900 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2902 * configure.ac: post release version bump.
2903 * debian/changelog: version bump
2905 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2910 * configure.ac: bump version
2911 * debian/changelog: updates
2912 * debian/control: bump gtk+ dependency
2914 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2916 patch by Christian Dywan (christian@imendio.com)
2918 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
2919 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
2921 2008-12-15 Alberto Garcia <agarcia@igalia.com>
2923 * src/hildon-check-button.c (hildon_check_button_init)
2924 (hildon_check_button_class_init, hildon_check_button_style_set)
2925 (hildon_check_button_apply_style):
2926 New "checkbox-size" style property.
2928 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
2929 larger / configurable size)
2931 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2933 * configure.ac: post release version bump.
2934 * debian/changelog: version bump
2936 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2941 * configure.ac: bump version
2942 * debian/changelog: updates
2944 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2946 * doc/hildon-sections.txt
2947 * src/hildon-pannable-area.c
2948 * src/hildon-program.c
2949 * src/hildon-time-editor.c
2950 * src/hildon-touch-selector-entry.c:
2952 More documentation updates.
2954 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2956 * doc/hildon-sections.txt
2957 * src/hildon-caption.c
2958 * src/hildon-code-dialog.c
2959 * src/hildon-color-button.c
2960 * src/hildon-controlbar.c
2961 * src/hildon-date-editor.c
2962 * src/hildon-date-selector.c
2963 * src/hildon-edit-toolbar.c
2964 * src/hildon-find-toolbar.c
2965 * src/hildon-font-selection-dialog.c
2967 * src/hildon-program.c
2968 * src/hildon-range-editor.c
2969 * src/hildon-seekbar.c
2970 * src/hildon-time-editor.c
2971 * src/hildon-time-selector.c
2972 * src/hildon-volumebar-range.c
2973 * src/hildon-volumebar.c
2974 * src/hildon-vvolumebar.c
2975 * src/hildon-weekday-picker.c
2976 * src/hildon-window.c
2977 * src/hildon-wizard-dialog.c:
2979 Lots of documentation fixes.
2981 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2983 Patch contributed by Iván Gómez (igomez@igalia.com)
2985 * src/hildon-check-button.c:
2986 * src/hildon-date-button.c:
2987 * src/hildon-date-selector.c:
2988 * src/hildon-dialog.c:
2989 * src/hildon-edit-toolbar.c:
2990 * src/hildon-entry.c:
2991 * src/hildon-picker-button.c:
2992 * src/hildon-program.c:
2993 * src/hildon-text-view.c:
2994 * src/hildon-time-button.c:
2995 * src/hildon-touch-selector-entry.c:
2996 * src/hildon-window-stack.c:
2998 Add more "since" tags to the new API.
3000 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3002 * doc/hildon-sections.txt: Add below method.
3003 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
3004 version for the hildonized scale.
3005 * src/hildon-gtk.h: Add the definition.
3007 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3009 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3011 * doc/hildon-sections.txt: Add missing entries for new methods.
3013 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3015 Added API to pannable are in order to get its adjustments. We
3016 added two properties to manage the values we had in the private
3019 * src/hildon-pannable-area.c:
3020 (hildon_pannable_area_class_init): Added hadjustment and
3021 vadjustment properties in order to expose horizontal and vertical
3023 (hildon_pannable_area_get_property),
3024 (hildon_pannable_area_set_property): Added code to handle the new
3026 (hildon_pannable_area_get_hadjustment),
3027 (hildon_pannable_area_get_vadjustment): API functions to get the
3029 * src/hildon-pannable-area.h:
3030 (hildon_pannable_area_get_hadjustment),
3031 (hildon_pannable_area_get_vadjustment): API functions to get the
3034 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3036 Fixed some leaks, after valgrinding.
3038 * src/hildon-touch-selector.c:
3039 (_default_print_func): Fixed a leak.
3040 (hildon_touch_selector_append_column): Fixed a leak.
3041 * src/hildon-date-button.c:
3042 (hildon_date_button_init): Fixed a leak.
3043 * src/hildon-date-selector.c
3044 (hildon_date_selector_finalize): Fixed a leak.
3046 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3048 Based on a patch by Christian Dywan (christian@imendio.com)
3050 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
3052 * src/hildon-gtk.h: Add definition.
3054 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3056 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3058 * src/hildon-picker-button.c: (hildon_picker_button_init),
3059 (hildon_picker_button_new): Set the HildonButton::style property
3060 in the init method, to propagate the value to the derived classes.
3062 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3064 * src/hildon-button.c: (hildon_button_class_init): Do not make
3065 the "style" property a construct property.
3067 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3069 * src/hildon-wizard-dialog.h
3070 * src/hildon-wizard-dialog.c
3071 (hildon_wizard_dialog_set_forward_page_func)
3072 * src/hildon-pannable-area.h
3073 * src/hildon-pannable-area.c
3074 (hildon_pannable_area_set_size_request_policy):
3075 Documentation fixes.
3077 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3079 * doc/hildon-sections.txt: Fixed warning about unused symbols.
3081 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3083 * doc/hildon-sections.txt: Added sections file.
3085 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3088 * src/*.[ch]: Updates.
3090 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
3092 * examples/hildon-progress-indicator-example.c: new file
3093 * examples/Makefile.am: include the new example program
3095 2008-12-10 Alberto Garcia <agarcia@igalia.com>
3097 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
3099 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3101 * configure.ac: post release version bump
3102 * debian/changelog: version bump
3104 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3109 * configure.ac: bump version
3110 * debian/changelog: updates
3111 * debian/control: bump gtk+ dependency
3113 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3115 * src/hildon-dialog.c: Mark as deprecated.
3116 * src/hildon-dialog.h: Mark as deprecated.
3117 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
3118 from HildonDialog and still work, even if
3119 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
3120 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
3122 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
3123 maemo changes) instead)
3125 2008-12-09 Alejandro G. Castro <alex@igalia.com>
3127 * src/hildon-pannable_area.h:
3128 * src/hildon-pannable_area.c:
3129 (hildon_pannable_area_class_init),
3130 (hildon_pannable_area_set_property),
3131 (hildon_pannable_area_get_property),
3132 (hildon_pannable_area_size_request),
3133 (hildon_pannable_area_get_size_request_policy),
3134 (hildon_pannable_area_set_size_request_policy): Added new API
3135 allowing applications to control the request policy. Now they can
3136 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
3137 children allocation (HILDON_MOVEMENT_CHILDREN).
3139 2008-12-09 Alberto Garcia <agarcia@igalia.com>
3143 (hildon_gtk_tree_view_set_ui_mode)
3144 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
3145 mode of treeviews and iconviews.
3147 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3149 * src/hildon-touch-selector-entry.c:
3150 (hildon_touch_selector_entry_init): Use a HildonEntry instead
3151 of a GtkEntry to get proper theming.
3153 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
3154 widget, not GtkEntry)
3156 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3158 * src/hildon-wizard-dialog.c: (response): Move forward if there is
3159 no HildonWizardDialogPageFunc.
3161 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3163 Patch contributed by Iván Gómez (igomez@igalia.com)
3165 * src/hildon-app-menu.c:
3166 * src/hildon-button.c:
3167 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
3168 * src/hildon-stackable-window.c:
3169 * src/hildon-time-selector.c:
3170 * src/hildon-touch-selector.c:
3171 * src/hildon-window.c:
3173 Add more "since" tags to the new API in hildon 2.2.
3175 2008-12-05 Tim Janik <timj@imendio.com>
3177 Patch contributed by Christian Dywan (christian@imendio.com)
3179 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
3180 HildonSizeType, which are supplied by Gtk+ now.
3182 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
3184 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
3185 (with maemo changes) instead)
3187 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3189 Patch contributed by Iván Gómez (igomez@igalia.com)
3191 * src/hildon-pannable-area.c: Add "since" tags to the new API in
3194 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3196 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
3197 (some_page_func), (main): Update the example to use a
3198 HildonWizardDialogPageFunc function.
3200 * src/hildon-wizard-dialog-private.h: Add private data for
3201 the HildonWizardDialogPageFunc function usage.
3203 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
3204 (destroy), (hildon_wizard_dialog_init), (response),
3205 (hildon_wizard_dialog_set_forward_page_func):
3206 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
3207 that applications can use to stop a HildonWizardDialog to jump to
3210 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
3213 2008-12-04 Alberto Garcia <agarcia@igalia.com>
3215 * src/hildon-program.h
3216 * src/hildon-program-private.h
3217 * src/hildon-program.c (hildon_program_init)
3218 (hildon_program_set_common_app_menu)
3219 (hildon_program_get_common_app_menu):
3220 New API for setting a common HildonAppMenu for all
3221 HildonStackableWindows registered with the HildonProgram.
3223 * src/hildon-stackable-window.c
3224 (hildon_stackable_window_toggle_menu):
3225 Use the common HildonAppMenu if a window doesn't have a specific
3228 * src/hildon-app-menu-private.h
3229 * src/hildon-app-menu.c
3230 (hildon_app_menu_get_parent_window):
3231 Function to obtain the window a HildonAppMenu is attached to.
3232 (hildon_app_menu_set_parent_window):
3233 Hide the menu if the parent window is set to NULL.
3235 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
3237 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
3238 set GtkTreeView::enable-search to FALSE, to avoid the interactive
3239 search widget to popup.
3241 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3243 * configure.ac: post release version bump
3244 * debian/changelog: version bump
3246 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3251 * configure.ac: bump version
3252 * debian/changelog: updates
3254 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3256 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
3258 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
3259 (hildon_window_stack_window_realized)
3260 (hildon_window_stack_remove, _hildon_window_stack_do_push):
3261 Set the leader GdkWindow when a window is stacked and realized,
3262 unset it when it's unstacked.
3263 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
3265 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
3267 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3269 * src/hildon-stackable-window.h
3270 * src/hildon-window-stack.h:
3271 Protect definition of HildonWindowStack using the preprocessor.
3273 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3275 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
3276 Fix warning if all menu items are hidden.
3278 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
3280 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3282 * src/hildon-controlbar.c:
3283 * src/hildon-hvolumebar.c:
3284 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
3285 Multiple scale size defines updates.
3287 Fixes: NB#94322 (Scale Updates)
3289 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3291 * examples/hildon-app-menu-example.c (create_menu)
3292 Show items after adding them to the menu, as in the future the
3293 menu will no longer call gtk_widget_show() on the added items.
3295 * src/hildon-app-menu.c:
3296 Update example as explained above.
3298 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3300 * src/hildon-app-menu.c
3301 (hildon_app_menu_insert, hildon_app_menu_add_filter):
3302 Make sure that all menu items have finger height.
3304 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
3306 * src/hildon-picker-dialog.c:
3307 (_on_dialog_response), (_save_current_selection),
3308 (_restore_current_selection), (_clean_current_selection),
3309 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
3310 Defined new functions in order to save the current internal selector
3311 selection previous open the dialog, in case that the use cancel the
3312 interaction, so the widget restores the previous selection.
3314 Fixes: NB#92032 (In calendar application, date values in 'new event'
3317 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
3319 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3321 * src/hildon-button.c: Add a reference to the button examples in
3322 hildon-button-example.c
3324 * examples/hildon-button-example.c: Added examples of the most
3325 common button layouts.
3327 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3329 * src/hildon-app-menu.c (hildon_app_menu_show)
3330 (hildon_app_menu_class_init): Don't show the menu if it's empty.
3332 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
3334 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3336 * src/hildon-picker-dialog.c:
3337 (hildon_picker_dialog_init): Initialize the signal id for
3338 HildonTouchSelector::columns-changed.
3339 (+on_selector_columns_changed): Set up the interaction mode everytime a
3340 column is added or removed from the HildonTouchSelector.
3341 (_hildon_picker_dialog_set_selector): Connect to
3342 HildonTouchSelector::columns-changed and keep track of it.
3344 Make sure to update the interaction mode of the dialog everytime a
3345 column is added or removed in the HildonTouchSelector.
3347 Fixes: NB#93228 (Done button is not shown always in listpicker)
3349 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3351 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
3352 a new ::columns-changed signal.
3353 (hildon_touch_selector_append_column): Emit ::columns-changed.
3354 (hildon_touch_selector_remove_column): Emit ::columns-changed.
3356 Add a ::columns-changed signal, emitted when the number of columns in a
3357 HildonTouchSelector changes.
3359 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3361 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
3362 (_hildon_picker_dialog_set_selector): Factor out the code
3363 to set up the dialog interaction mode.
3365 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3367 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
3368 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
3369 to signal_changed_id.
3371 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3373 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3376 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
3378 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
3379 Updated the logical ids related to ampm format, as now it is required to
3380 show it correctly localized even on languages with no default
3381 abbreviations for am or pm
3382 (_check_am_pm_format): check correctly the 24h format gconf property
3384 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
3386 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3388 * src/hildon-button.c: Documentation updates.
3390 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3392 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
3393 * src/hildon-caption.c: (hildon_caption_class_init):
3394 * src/hildon-color-button.c: (hildon_color_button_class_init):
3395 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
3396 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3397 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
3398 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
3400 Remove deprecated GTK+ marshalers and replace them with the ones
3401 provided by GLib, for those available, add a marshaler for
3402 BOOLEAN:VOID, which is not available in GLib, and use it.
3404 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3406 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
3407 the text from the previous column if there is no
3408 HildonTouchSelectorColumn::text-property set.
3410 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3412 * src/hildon-button.h
3413 * src/hildon-button.c (hildon_button_set_property)
3414 (hildon_button_get_property, hildon_button_class_init)
3415 (hildon_button_set_style, hildon_button_get_style):
3416 New "style" property to change the visual appearance of the
3419 * src/hildon-picker-button.c (hildon_picker_button_new):
3420 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
3422 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
3423 HildonButton look like PickerButton)
3425 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3427 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
3428 column while building the default string.
3430 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3432 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
3433 scroll indicator by default.
3435 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
3437 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3439 * src/hildon-main.c: Fix the documentation for hildon_init()
3441 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3443 * doc/hildon-docs.sgml
3447 * src/hildon-window-stack-private.h
3448 * src/hildon-window-stack.h
3449 * src/hildon-window-stack.c:
3450 New HildonWindowStack object, that adds support for multiple
3451 stacks of windows per process.
3453 * src/hildon-stackable-window-private.h
3454 * src/hildon-stackable-window.h
3455 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
3456 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
3457 (hildon_stackable_window_show, hildon_stackable_window_hide)
3458 (hildon_stackable_window_class_init)
3459 (hildon_stackable_window_init):
3460 Use HildonWindowStack for stack management.
3462 * src/hildon-program.c (hildon_program_pop_window_stack)
3463 (hildon_program_peek_window_stack)
3464 (hildon_program_go_to_root_window):
3465 Add a fallback implementation to the deprecated functions using
3468 * examples/hildon-stackable-window-example.c:
3469 Use the new HildonWindowStack API.
3471 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3473 * src/hildon-stackable-window-private.h
3474 * src/hildon-stackable-window.c (hildon_stackable_window_show)
3475 (hildon_stackable_window_hide, hildon_stackable_window_init):
3476 Remove all window stack management.
3478 * src/hildon-program-private.h
3479 * src/hildon-program.h
3480 * src/hildon-program.c (hildon_program_init)
3481 (hildon_program_pop_window_stack)
3482 (hildon_program_peek_window_stack)
3483 (hildon_program_go_to_root_window):
3484 Remove all window stack management and mark functions as
3487 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3489 * src/hildon-app-menu.c (hildon_app_menu_realize):
3490 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
3492 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3494 * configure.ac: post release version bump
3495 * debian/changelog: version bump
3497 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3502 * configure.ac: bump version
3503 * debian/changelog: updates
3505 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3507 Based on initial code by Christian Dywan (christian@imendio.com)
3509 * doc/hildon-docs.sgml: Add section for hildon-main.
3510 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
3511 * src/Makefile.am: Add new hildon-main.[ch]
3512 * src/hildon-defines.h: Update the icon sizes.
3513 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
3514 new library initialization files and register icon sizes.
3515 * src/hildon-main.h: New declarations.
3516 * src/hildon.h: Include hildon-main.h
3518 Add new initialization functions to the library. These methods
3519 will register the hildon specific icon sizes and can be used in the
3520 future for other hildon specific bits.
3522 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
3524 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3526 * src/hildon-window.c: (hildon_window_realize),
3527 (hildon_window_notify), (-hildon_window_update_title): Do not set
3528 the application name in the window title.
3530 Fixes: NB#89754 (Applications shouldn't display their names in the
3533 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3535 * src/hildon-note-private.h:
3536 * src/hildon-note.c: (hildon_note_set_property),
3537 (hildon_note_get_property), (hildon_note_class_init),
3538 (hildon_note_init), (hildon_note_finalize),
3539 (hildon_note_new_confirmation_with_icon_name),
3540 (hildon_note_new_information_with_icon_name):
3542 No need to mark as deprecated the actual code. Revert
3543 to avoid missing symbols in widgets using deprecated API.
3545 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3547 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
3549 * src/hildon-volumebar.h
3550 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
3551 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
3553 * src/hildon-helper.h
3554 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
3555 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
3557 * examples/Makefile.am:
3558 Deprecate hildon-insensitive-example
3560 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
3562 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3564 * examples/hildon-pannable-area-buttons-scroll-example.c:
3565 Make all buttons finger height
3567 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
3569 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
3571 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
3572 update the day model only if it is really required, and to avoid the
3573 full-reconstruction aproach. Now it only add or remove the required days.
3575 The purpose of this is avoid superfluous HildonTouchSelector::changed
3578 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
3579 with strange parameters)
3581 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
3583 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
3585 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
3586 the WINDOW_TYPE property.
3588 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
3590 2008-11-19 Alberto Garcia <agarcia@igalia.com>
3593 Fix dependency to allow parallel compilation with make -jX
3595 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
3597 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
3598 color frame and some minor tweaks to make it more consistent with
3601 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
3602 highlighted but not visible)
3604 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3606 * examples/Makefile.am: Fixed typo in the Makefile.am.
3608 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3610 Reviewed the use of MAEMO_GTK define, now we add the define in the
3611 compilation line, and we also add it to the pc file.
3613 * configure.ac: Added MAEMO_GTK define to the compilation command
3614 and removed it from the config.h.
3616 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
3617 do not have to take care about this define if the library was
3621 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
3623 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3625 * examples/Makefile.am,
3626 * examples/hildon-pannable-area-buttons-scroll-example.c,
3627 * examples/hildon-pannable-area-gesture-signals-example.c,
3628 * examples/hildon-pannable-area-scroll-jump-example.c,
3629 * examples/hildon-pannable-area-tree-view-example.c:
3630 Renamed the pannable area examples, now they have more meaningful
3633 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
3635 * src/hildon-touch-selector.c:
3636 (hildon_touch_selector_set_column_selection_mode): Used of
3637 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
3638 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
3639 to avoid re-seting the same selection mode.
3641 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
3642 breaks HildonPickerDialog)
3644 2008-11-13 Alejandro G. Castro <alex@igalia.com>
3646 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
3647 conditional in the Makefile.am
3649 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
3651 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
3652 Remove unused methods.
3654 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3656 * src/hildon-button.c (hildon_button_init):
3657 Make button images center-aligned by default
3659 2008-11-12 Alejandro G. Castro <alex@igalia.com>
3662 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
3663 activated, we have to think about how to deal with both defines
3664 MAEMO_GTK and MAEMO_CHANGES.
3666 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3668 * examples/hildon-app-menu-example.c (create_menu): Make all
3669 buttons finger size.
3671 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3673 Fixed the compilation without maemo gtk adding ifdefs with
3674 MAEMO_GTK define to the code, we have to check this version more
3677 * examples/Makefile.am: Added control to avoid some examples that
3678 just make sense with maemo gtk.
3681 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
3682 hildon modes with the define.
3684 * examples/hildon-edit-toolbar-example.c,
3685 (create_icon_view): Create the icon view without hildon-gtk
3686 helpers if we are not using maemo gtk.
3688 * src/hildon-touch-selector.c,
3689 (_create_new_column): Create the treeview without hildon-gtk
3690 helpers if we are not using maemo gtk.
3692 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3694 * src/hildon-pnnable-area.c,
3695 (hildon_pannable_area_dispose),
3696 (hildon_pannable_area_button_press_cb),
3697 (hildon_pannable_area_child_mapped),
3698 (hildon_pannable_area_add),
3699 (hildon_pannable_area_remove): Added code to control the position
3700 of the event_window when adding and removing children from the
3701 pannable. We have to raise the event window when the child is
3704 Fixes: NB#89811 (Not able to select first image thumbnail in multi
3705 selection mode using custom widget inside pannable)
3707 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3709 * configure.ac: post release version bump
3710 * debian/changelog: version bump
3712 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3717 * configure.ac: bump version
3718 * debian/changelog: updates
3720 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
3722 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
3723 search mode, in order to avoid lose the focus on the treeview when
3724 a hw key (like enter) is pressed.
3726 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
3727 in HildonDateSelector dialog)
3729 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
3731 * debian/rules: Added --enable-maintainer-mode
3732 * Makefile.am: Added ACLOCAL_AMFLAGS
3734 This allows to properly regenerate the Makefiles if you modify the
3735 configure.ac or any Makefile.am.
3737 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3739 * examples/hildon-app-menu-example.c: (main): Do not set RC style
3740 properties, not needed at all.
3742 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3744 * src/hildon-note-private.h: Add strings for the icon and stock_icon
3746 * src/hildon-note.c: (hildon_note_set_property),
3747 (hildon_note_get_property), (hildon_note_class_init),
3748 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
3749 (hildon_note_new_confirmation_add_buttons): Remove icons.
3750 (hildon_note_new_confirmation_with_icon_name): Deprecate.
3751 (hildon_note_new_information_with_icon_name): Deprecate.
3752 (hildon_note_new_confirmation): Act directly, without calling
3753 the deprecated constructor.
3754 (hildon_note_new_information): Act directly, without calling
3755 the deprecated constructor.
3756 * src/hildon-note.h: Mark deprecate methods as such.
3757 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
3758 not run tests on the deprecated methods if built with deprecation
3761 Fixes: NB#91688 (Never show icons in information notes/confirmation
3764 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3766 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
3767 (hildon_app_menu_key_press): Remove leftover usage of the
3768 private structure in HildonAppMenu struct.
3769 * src/hildon-app-menu.h: Remove leftover private structure
3770 from the HildonAppMenu struct.
3772 Fixes a crasher when using the HildonAppMenu.
3774 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3776 * src/hildon-picker-dialog.c: Use appropriate logical id
3777 for the default "Done" text.
3779 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3781 * configure.ac: post release version bump
3782 * debian/changelog: version bump
3784 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
3786 Modified the way to scroll to the current selection just when the touch
3787 selector is shown on the screen, avoiding a g_idle. Added too a property
3788 to configure this behaviour. See hildon_pannable_area_jump_to_child
3789 documentation for more information.
3791 * src/hildon-touch-selector.c
3792 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
3793 Added 'initial-scroll' property
3794 (hildon_touch_selector_set_property): Added
3795 (hildon_touch_selector_map): Removed as not required anymore
3796 (_hildon_touch_selector_on_selected_items): Modified in order to manage
3797 only a concrete column, instead of iterate along all the columns
3799 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3804 * configure.ac: bump version
3805 * debian/changelog: updates
3807 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3809 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
3810 compilation time warnings.
3812 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3814 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
3815 the default value for HildonPannableArea::mov-mode to
3816 HILDON_PANNABLE_AREA_MODE_VERT.
3818 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
3820 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3822 Reverting following commit:
3824 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3826 * src/hildon-app-menu-private.h
3827 * src/hildon-app-menu.[ch]
3828 * src/hildon-button.[ch]
3829 * src/hildon-check-button.[ch]
3830 * src/hildon-entry.[ch]
3831 * src/hildon-pannable-area.[ch]
3832 * src/hildon-text-view.[ch]:
3833 Added private field to the object's structure.
3835 because it causes an ABI breakage. We will need to introduce these
3836 changes later at some point. See NB#91636 for an extensive
3837 explanation and status.
3839 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3841 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3843 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
3844 remove special cases that are no longer necessary.
3846 Fixes: NB#91016 (Change toolbar sizes, simplification)
3848 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3850 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
3851 is shown in the cancel note.
3853 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3855 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
3856 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
3857 (hildon_seekbar_init): Remove steppers, remove expose event.
3858 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
3860 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
3862 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
3864 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
3865 label font to "SmallSystemFont" for vertically arranged buttons.
3867 Fixes: NB#90662 (HildonButton "value" and "detail" text is
3870 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3872 * src/hildon-check-button.c
3873 (hildon_check_button_set_active, hildon_check_button_clicked):
3874 Don't access private parts directly, use getters instead.
3876 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3878 * src/hildon-check-button.c (hildon_check_button_new):
3879 Align the contents of the check button to the left.
3881 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3883 * src/hildon-pannable-area.c,
3884 (hildon_pannable_area_scroll_to),
3885 (hildon_pannable_area_jump_to),
3886 (hildon_pannable_area_scroll_to_child),
3887 (hildon_pannable_area_jump_to_child): Replace the mapped
3888 precondition of these functions with the realized, it is the
3889 correct state of the widget in this case. Changed the
3890 documentation according to this modification.
3892 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3894 Added a new EXTRA_CFLAGS option to add the deprecated define to
3895 the compilation command. This way we can avoid using the define in
3896 the documentation compilation.
3898 * configure.ac: Defined EXTRA_CFLAGS.
3900 * examples/Makefile.am:
3902 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
3904 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
3906 * src/hildon-picker-dialog.c:
3907 Defined a utility macro with the desired touch selector height
3908 Removed currently unused separator, and title_label variables from
3910 (hildon_picker_dialog_init): Removed code related to the creation
3911 of unused private variables title_label and separator.
3912 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
3913 to ensure correct visualization of the touch selector inside the dialog.
3914 * src/hildon-touch-selector.c
3915 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
3916 ensure a concrete height of the widget.
3918 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3921 * tests/Makefile.am:
3923 Remove spurious whitespaces.
3925 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3927 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
3928 compilation warning after the cancel button removal.
3930 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3932 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
3934 * configure.ac: Added an AM_CONDITIONAL in order to use in the
3935 Makefile.am, that way we can choose not to compile some examples
3936 and tests of the deprecated widgets.
3938 * examples/Makefile.am: Divided the sources in deprecated and
3941 * src/Makefile.am: Added undef statement of the deprecated
3942 symbol to the enums file generation process.
3944 * src/hildon-color-chooser-dialog.c
3945 * src/hildon-color-chooser-dialog.h
3946 * src/hildon-color-button.c
3947 * src/hildon-color-button.h
3948 * src/hildon-color-chooser.c
3949 * src/hildon-color-chooser.h
3950 * src/hildon-controlbar.c
3951 * src/hildon-controlbar.h
3952 * src/hildon-date-editor.c
3953 * src/hildon-date-editor.h
3954 * src/hildon-hvolumebar.c
3955 * src/hildon-hvolumebar.h
3956 * src/hildon-private.c
3957 * src/hildon-private.h
3958 * src/hildon-range-editor.c
3959 * src/hildon-range-editor.h
3960 * src/hildon-seekbar.c
3961 * src/hildon-seekbar.h
3962 * src/hildon-time-editor.c
3963 * src/hildon-time-editor.h
3964 * src/hildon-time-picker.c
3965 * src/hildon-time-picker.h
3966 * src/hildon-volumebar.c
3967 * src/hildon-volumebar.h
3968 * src/hildon-vvolumebar.c
3969 * src/hildon-vvolumebar.h
3970 * src/hildon-bread-crumb-trail.h
3971 * src/hildon-bread-crumb-trail.c
3972 * src/hildon-calendar-popup.c
3973 * src/hildon-calendar-popup.h
3974 * src/hildon-weekday-picker.c:
3975 * src/hildon-weekday-picker.h:
3976 * src/hildon-bread-crumb-widget.c:
3977 * src/hildon-bread-crumb-widget.h:
3978 * src/hildon-bread-crumb.c:
3979 * src/hildon-bread-crumb.h:
3980 * src/hildon-calendar.c:
3981 * src/hildon-calendar.h:
3982 * src/hildon-caption.c:
3983 * src/hildon-code-dialog.c:
3984 * src/hildon-code-dialog.h:
3985 * src/hildon-font-selection-dialog.c:
3986 * src/hildon-font-selection-dialog.h:
3987 * src/hildon-get-password-dialog.c:
3988 * src/hildon-get-password-dialog.h:
3989 * src/hildon-login-dialog.c:
3990 * src/hildon-login-dialog.h:
3991 * src/hildon-number-editor.c:
3992 * src/hildon-number-editor.h:
3993 * src/hildon-set-password-dialog.c:
3994 * src/hildon-set-password-dialog.h:
3995 * src/hildon-sort-dialog.c:
3996 * src/hildon-sort-dialog.h: This is the list of deprecated
3999 * src/hildon-touch-selector.c:
4000 * src/hildon-window.c: Added undef statement to avoid compilation
4003 * tests/Makefile.am: Divided the sources in deprecated and
4006 * tests/check_test.c,
4007 (configure_tests): Marked the deprecated code that was adding
4008 suites with deprecated tests.
4010 Fixes: NB#91135 (Deprecate legacy hildon widgets)
4012 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4014 * src/hildon-touch-selector.c: (_default_print_func): Do not
4015 duplicate a string returned by gtk_tree_model_get(), it is already
4018 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
4021 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4023 * src/hildon-pannable-area.c
4024 (hildon_pannable_area_add_with_viewport): Reviewed the complete
4025 method, it had problems when adding a widget with viewport the
4026 second time. Now checks if it already has a viewport and uses it.
4028 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
4031 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4033 * src/hildon-pannable-area.c,
4034 (hildon_pannable_area_scroll_to),
4035 (hildon_pannable_area_jump_to),
4036 (hildon_pannable_area_scroll_to_child),
4037 (hildon_pannable_area_jump_to_child): Added a precondition to the
4038 scroll and jump to functions: the widget must be mapped before we
4039 can safely call these functions. We have also added documentation
4040 to the functions to explain how to use them in this situation.
4043 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4045 Reviewed the threading handling of the pannable widget, we have
4046 used the gdk_threads_add_timeout function instead of the usual
4047 glib handlers. This avoids some problems with the threads.
4049 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
4050 (hildon_pannable_area_initial_effect),
4051 (hildon_pannable_area_scroll_indicator_fade),
4052 (hildon_pannable_area_button_press_cb),
4053 (hildon_pannable_area_timeout),
4054 (hildon_pannable_area_motion_notify_cb),
4055 (hildon_pannable_area_button_release_cb),
4056 (hildon_pannable_area_scroll_cb),
4057 (hildon_pannable_area_scroll_to): Removed the
4058 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
4059 gdk_threads_add_timeout.
4061 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
4063 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4068 * configure.ac: bump version
4069 * debian/changelog: updates
4071 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4073 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4074 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
4075 * src/hildon-color-chooser-dialog.c:
4076 (hildon_color_chooser_dialog_init):
4077 * src/hildon-font-selection-dialog.c:
4078 (hildon_font_selection_dialog_init):
4079 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
4081 Remove all cancel/close-like dialogs, as these are not going to be
4084 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4086 * src/hildon-note.c: (hildon_note_rebuild),
4087 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
4090 Fixes: NB#90661 (Delete dialog is displayed without NO button)
4092 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4094 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
4095 sure all buttons are shown, even the Cancel/Close-like ones.
4097 Fixes: NB#90861 (Custom Confirmation dialogs should be
4098 protected from cancel button removal)
4100 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4102 * debian/control: Change libhildon1-examples dependency from libhildon1
4104 * debian/libhildon1-examples.install
4106 * Makefile.am: Modified the final install directory for the examples on
4107 package libhildon1-examples
4108 * Makefile.static: Update clean target in order to remove all the binary
4111 Changes suggested by Claudio after review new libhildon1-examples package
4113 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
4115 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
4116 * src/hildon-touch-selector.c: Ditto.
4118 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4120 * debian/control: Added new package libhildon1-examples, in order to pack
4121 the current hildon examples as documentation
4122 * debian/rules: Not to compress .c files, modify some includes on the
4123 examples (as normally are compiled locally, but when installed it will
4124 require to include the installed libhildon1 library), and rename
4126 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
4127 install all the example files on the new example package
4128 * examples/Makefile.static: Added static makefile that can be used to
4129 compile the examples, once installed the new example package
4130 * examples: Most of the examples were modified in order to grant that
4131 all use only '#include "hildon.h"', in order to be easy to prepare
4132 it on the example package
4134 2008-10-23 Alberto Garcia <agarcia@igalia.com>
4137 * debian/libhildon1-dev.install
4138 * debian/libhildon1-doc.install:
4139 Move all gtk-doc files to a separate libhildon1-doc package.
4141 2008-10-23 Daniel Borgmann <danielb@openismus.com>
4143 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4145 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
4147 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
4149 * debian/rules: Fixed a error in order to avoid unnecessary calls
4150 to autogen.sh on package building
4152 2008-10-22 Alberto Garcia <agarcia@igalia.com>
4154 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
4156 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4158 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
4161 2008-10-21 Alberto Garcia <agarcia@igalia.com>
4163 * src/hildon-picker-button.c
4164 (hildon_picker_button_finalize):
4165 Free priv->done_button_text
4167 * src/hildon-time-button.c
4168 (hildon_time_button_set_time)
4169 * src/hildon-picker-button.c
4170 (hildon_picker_button_clicked)
4171 (hildon_picker_button_selector_selection_changed)
4172 (hildon_picker_button_set_selector)
4173 * src/hildon-date-button.c
4174 (hildon_date_button_set_date):
4175 Free strings returned by hildon_touch_selector_get_current_text()
4177 * src/hildon-button.c (hildon_button_construct_child):
4178 Fix leaks in priv->image and priv->label_box
4180 Fixes: NB#90535 (Memory leak in picker button)
4182 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4184 * src/hildon-button.c: (hildon_button_get_property): Do not access
4185 private elements directly, use getters instead.
4187 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4189 * src/hildon-app-menu-private.h
4190 * src/hildon-app-menu.c
4191 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
4192 Store the menu's parent window.
4194 * src/hildon-stackable-window.c
4195 (hildon_stackable_window_toggle_menu)
4196 (hildon_stackable_window_finalize):
4197 Set the menu's parent window when the menu is shown, unset it when
4200 * src/hildon-app-menu.c
4201 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
4202 (hildon_app_menu_class_init):
4203 Send unhandled keyboard accelerators to the parent window.
4205 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4207 * src/hildon-stackable-window.c
4208 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
4210 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4212 * configure.ac: post release version bump
4214 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4217 * configure.ac: Bump version
4218 * debian/changelog: Updates
4219 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
4222 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4224 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4227 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
4228 GtkMenu with Hildon style.
4230 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4232 * src/hildon-picker-button.c:
4233 (hildon_picker_button_set_done_button_text): Set the dialog's
4234 done button text here as well.
4236 Fixes: NB#90232 (Picker button does not set the label on done button
4237 for the second time)
4239 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4241 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
4244 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4246 * src/hildon-app-menu.c (hildon_app_menu_insert)
4247 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
4248 the HildonAppMenu to be activatable using keyboard accelerators
4249 when the menu is not being shown.
4251 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
4253 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4255 * src/hildon-stackable-window.c
4256 (hildon_stackable_window_show):
4257 Don't hide old windows automatically when new windows are shown:
4258 this is now a task for the window manager.
4259 (hildon_stackable_window_class_init)
4260 (hildon_stackable_window_hide):
4261 Remove windows from the stack everytime they're hidden.
4262 (hildon_stackable_window_realize):
4263 Don't change the _NET_WM_WINDOW_TYPE property. Use
4264 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
4265 it as a stackable window.
4267 * src/hildon-program.c
4268 (hildon_program_pop_window_stack):
4269 Just hide the window to remove it from the stack.
4270 (hildon_program_go_to_root_window):
4271 Don't call gtk_widget_show(), this is now a task for the window
4274 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
4276 2008-10-15 Alberto Garcia <agarcia@igalia.com>
4278 * src/hildon-button.c
4279 (hildon_button_construct_child):
4280 Don't pack anything in the button until text or image are
4281 set. This allows adding a custom child after creating the button
4282 with hildon_button_new().
4283 (hildon_button_finalize, hildon_button_class_init)
4284 (hildon_button_init, hildon_button_set_arrangement): Destroy the
4285 alignment and the label box even when they're not packed in the
4288 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
4290 * src/hildon-touch-selector.h:
4291 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
4292 currently the type definition was using GTK_TYPE_VBOX
4293 * src/hildon-touch-selector.c:
4294 Added some implementation notes in order to clarify that any other widget
4295 added without the column related API will not be included on the
4296 selection logic, and how the widget is freed, as some people ask about
4298 (hildon_touch_selector_remove): Reimplemented in order to free properly
4299 the column related data when you remove the private hbox.
4300 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
4301 to get a proper HildonTouchSelectorColumn documentation
4303 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4305 * src/hildon-touch-selector-entry.c:
4306 (hildon_touch_selector_entry_print_func): Return NULL if there is no
4307 text in the GtkEntry and there is no item selected. Fixes a
4310 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4312 * src/hildon-app-menu-private.h
4313 * src/hildon-app-menu.[ch]
4314 * src/hildon-button.[ch]
4315 * src/hildon-check-button.[ch]
4316 * src/hildon-entry.[ch]
4317 * src/hildon-pannable-area.[ch]
4318 * src/hildon-text-view.[ch]:
4319 Added private field to the object's structure.
4321 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4323 * configure.ac: post-release version bump
4325 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4329 * configure.ac: pre-release version bump
4331 * debian/changelog: updates.
4333 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4335 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
4336 Disconnect the handler for HildonTouchSelector::changed.
4338 (hildon_picker_button_selector_selection_changed): Update the button
4339 value if the selection change was not triggered by the
4342 (hildon_picker_button_set_selector): connect to
4343 HildonTouchSelector::changed.
4345 Fixes: NB#89650 (Picker button is not updated, when selection in
4346 selector has changed)
4348 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
4350 * src/hildon-picker-dialog.c
4351 (hildon_picker_dialog_realize): Removed as not required
4352 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
4353 * src/hildon-picker-button.c
4354 (_current_selector_empty): New function, checks if the selector is empty
4355 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
4356 if the current selector is empty, in order to avoid to show the dialog
4357 close the dialog in this case (and shows a g_warning).
4359 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
4361 2008-10-09 Alejandro G. Castro <alex@igalia.com>
4363 * src/hildon-pannable-area.c,
4364 (hildon_pannable_area_scroll): Added clause to stop movement when
4365 the child of pannable is smaller than one page.
4366 (hildon_pannable_area_scroll_to): Added conditions to avoid
4367 starting the scrolling movement if the child is smaller than one
4368 page, the complete child is in the screen, we do not have to move.
4370 Fixes: NB#89632 (Picker button selection doesn't change on first click)
4372 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4374 * src/hildon-app-menu.c: Removed the 'columns' property, as now
4375 this is managed automatically by the widget when the size of the
4378 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4380 * src/hildon-picker-button.c
4381 (hildon_picker_button_set_done_button_text): Make a copy of the
4382 text, and free the previous value.
4384 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4386 * src/hildon-touch-selector-entry.c:
4387 (hildon_touch_selector_entry_print_func): Return the selected row's
4388 text if the entry is empty.
4390 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
4393 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4395 * src/hildon-touch-selector-entry.c: Minor docs fixes.
4397 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4400 * src/hildon-check-button.h
4401 * src/hildon-check-button.c
4402 * examples/hildon-check-button-example.c:
4403 HildonCheckButton is now a new widget. 'toggled' signal added.
4405 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4407 * src/hildon-program-private.h
4408 * src/hildon-program.c (hildon_program_init)
4409 (hildon_program_finalize): Removed unused variables group_leader
4410 and name from HildonProgramPrivate.
4412 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4414 * src/hildon-check-button.c (hildon_check_button_set_active)
4415 (hildon_check_button_get_active, hildon_check_button_new): Use
4416 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
4418 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
4420 * src/hildon-touch-selector.h
4421 (hildon_touch_selector_set_column_attributes): added deprecation
4422 guard HILDON_DISABLE_DEPRECATED
4423 * src/hildon-time-selector.c
4424 (hildon_time_selector_set_time)
4425 (hildon_time_selector_get_time): Fixed a typo on documentation
4426 * src/hildon-touch-selector.c: update HildonTouchSelector and
4427 HildonTouchSelectorColumn documentation
4428 * src/hildon-touch-selector-entry.c: update "text-column" property
4430 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
4431 to be added to the general documentation.
4433 2008-10-08 Alejandro G. Castro <alex@igalia.com>
4435 * examples/hildon-pannable-area-example-4.c,
4437 * examples/hildon-pannable-area-example.c,
4438 (main): Modified the code in order to use the container add, with
4439 viewport treeviews could have problems if they are really big.
4441 2008-10-06 Alejandro G. Castro <alex@igalia.com>
4443 * src/hildon-weekday-picker.c,
4444 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
4445 the agreement regarding deprecation in the library.
4447 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4449 * examples/hildon-picker-button-multicolumn-example.c:
4450 (main): Use custom "done" button text.
4452 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4453 (hildon_picker_button_set_property),
4454 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4455 (hildon_picker_button_init),
4456 (+hildon_picker_button_get_done_button_text),
4457 (+hildon_picker_button_set_done_button_text): New methods to customize
4458 the "done" button label in the launched HildonPickerDialog. Also,
4461 * src/hildon-picker-button.h: add the public API.
4463 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4465 * src/hildon-date-selector.h:
4466 * src/hildon-picker-dialog.h:
4467 * src/hildon-time-selector.h:
4468 * src/hildon-touch-selector-column.h:
4469 * src/hildon-touch-selector.h:
4471 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
4472 declarations. Fixes gtk-doc warnings.
4474 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4476 * src/hildon-picker-dialog.h
4477 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
4478 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
4480 Fixes: NB#89329 (selectors in picker dialog are not visible when a
4481 long text is set as label for done button)
4483 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4485 * src/hildon-dialog.c (hildon_dialog_add_button):
4486 Set fixed width to all buttons in the HildonDialog.
4488 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4490 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4492 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
4493 Set widget name using class name plus "-finger" or "-thumb".
4495 2008-10-03 Alberto Garcia <agarcia@igalia.com>
4497 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
4498 'clicked' when the state of the button is manually changed.
4500 2008-10-02 Alberto Garcia <agarcia@igalia.com>
4502 * src/hildon-app-menu.c (hildon_app_menu_realize)
4503 (hildon_app_menu_unrealize, hildon_app_menu_init)
4504 (hildon_app_menu_class_init, item_visibility_changed):
4505 Change the menu layout when the size of the screen changes.
4506 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
4507 Show warning only when changing the number of colums using the
4510 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
4512 * debian/compat: Set to 5
4513 * debian/control: Update dependencies.
4514 * debian/libhildon1-dbg.install: Remove.
4515 * debian/libhildon1-dev.install: Update according to cdbs paths.
4516 * debian/libhildon1.install: Update according to cdbs paths.
4517 * debian/rules: Switch to cdbs.
4519 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4521 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
4522 'item' variable renamed to 'filter'
4524 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4526 * src/hildon-app-menu.c (hildon_app_menu_insert)
4527 (hildon_app_menu_add_filter, remove_item_from_list)
4528 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
4529 Don't leak hidden items when the menu is destroyed.
4531 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4533 * src/hildon-app-menu.c (hildon_app_menu_insert)
4534 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
4535 (hildon_app_menu_set_columns, item_visibility_changed)
4536 (filter_visibility_changed, hildon_app_menu_repack_filters)
4537 (hildon_app_menu_repack_items):
4538 Repack items and filters separately.
4540 Don't repack all items, change only the ones that are needed to
4543 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4545 * src/Makefile.am: added hildon-touch-selector-column.h
4547 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4549 * src/hildon-touch-selector.c: added the property "text-column" to the
4550 class HildonTouchSelectorColumn, and related get/set functions
4551 (_default_printf_func): updated to use "text-column" property
4552 * src/hildon-touch-selector-entry.c: mark as deprecated the property
4553 "text-column" in his documentation, as this is now included on
4554 HildonTouchSelectorColumn. The get/set_property can still be used,
4555 working as a wrapper to the concrete column "text-column" property
4556 (_text_column_modified): callback added in order to handle the signal
4557 "notify::text-column" of the concrete HildonTouchSelectorColumn
4558 (hildon_touch_selector_entry_get_text_column)
4559 (hildon_touch_selector_entry_set_text_column): Added documentation, and
4560 modified in order to use the HildonTouchSelectorColumn "text-column"
4562 * src/hildon-time-selector.c:
4563 * src/hildon-date-selector.c:
4564 * examples/hildon-touch-selector-example.c
4565 * examples/hildon-touch-selector-multi-cells-example.c
4566 * examples/hildon-picker-button-multicolumn-example.c
4567 Set the right value to "text-column" property on the creation of a new
4568 column using hildon_touch_selector_append_column()
4570 Fixes: NB#88644 (Hardcoded first column of the model as text column)
4572 2008-09-30 Alberto Garcia <agarcia@igalia.com>
4574 * src/hildon-app-menu.c
4575 (hildon_app_menu_construct_child, hildon_app_menu_init): When
4576 updating the layout of the menu, don't create all widgets again,
4577 just repack the items in their new places.
4579 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
4581 * src/hildon-time-selector.c
4582 (hildon_time_selector_get_time)
4583 (hildon_time_selector_set_time)
4584 Added documentation of these public methods
4586 * src/hildon-date-button.h
4587 * src/hildon-touch-selector-column.h
4588 * src/hildon-time-button.h
4589 * src/hildon-picker-dialog.h
4590 * src/hildon-time-selector.h
4591 * src/hildon-picker-button.h
4592 * src/hildon-touch-selector.h
4593 * src/hildon-time-picker.h
4594 * src/hildon-date-selector.h
4595 * src/hildon-touch-selector-entry.h
4596 Modified in order to use hildon-widgets code style
4598 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4600 Added deprecated support to the compilation process using
4601 HILDON_DISABLE_DEPRECATED
4603 * configure.ac: Added the --disable-deprecated to the configure
4606 * src/hildon-weekday-picker.c:
4607 * src/hildon-weekday-picker.h: Deprecated widget, example of how
4608 to use the deprecated support. We will update the other deprecated
4609 widgets status in a new patch.
4611 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4613 * configure.ac: Fixed typo with fatal warnings support, the
4614 variable name was not correct
4616 2008-09-29 Alberto Garcia <agarcia@igalia.com>
4618 * src/hildon-app-menu.c
4619 * src/hildon-program.c: Update documentation.
4621 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4623 * configure.ac: Post-release version bump.
4625 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4630 * configure.ac: Pre-release version bump.
4631 * debian/changelog: Updates.
4633 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4635 * NEWS: Update news for previous releases.
4637 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4639 * examples/hildon-touch-selector-multi-cells-example.c:
4640 (create_selector): Update the example to use
4641 hildon_touch_selector_append_column() with a NULL renderer and set
4642 the renderers later.
4643 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
4644 passed a NULL renderer. This is documented behavior now.
4646 Allow passing a NULL renderer to hildon_touch_selector_append_column().
4647 This must be used if the developer wants full control on the layout of
4648 the renderers to be added to the column.
4650 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4652 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4654 * src/hildon-touch-selector.c: Documentation fixes.
4656 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4658 * src/hildon-wizard-dialog-private.h: Remove image and box.
4659 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
4660 (hildon_wizard_dialog_set_property), (response): Completely remove
4661 image/icon support, and the containers required for the layout.
4663 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
4665 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4667 * src/hildon-app-menu.c: Updated documentation.
4669 * src/hildon-stackable-window.c
4670 (hildon_stackable_window_set_main_menu): Unref the old menu after
4671 ref'ing the new one.
4673 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4675 * src/hildon-stackable-window.c
4676 (hildon_stackable_window_set_main_menu): Unref the previous menu
4677 instead of destroying it.
4679 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
4680 floating reference and set has_user_ref_count to FALSE to make
4681 HildonAppMenu act like a normal ref-counted widget and not a
4684 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
4687 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
4689 * src/hildon-touch-selector-column.h: new file
4690 * src/hildon-touch-selector.h
4691 * src/hildon-touch-selector.c
4692 Implemented GtkCellLayout interface, in order to allow to configure
4693 the cell layout on each individual selector column
4694 (hildon_touch_selector_set_column_attributes): marked as deprecated
4695 * examples/hildon-touch-selector-multi-cells-example.c
4696 Example of how to use the GtkCellLayout interface on the selector
4698 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4700 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4702 * src/hildon-app-menu.h
4703 * src/hildon-app-menu.c
4704 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
4705 (hildon_app_menu_append, hildon_app_menu_prepend):
4706 New methods to prepend, insert and move items in the menu.
4708 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4710 * src/hildon-wizard-dialog.c:
4712 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
4714 (create_title): Update logical IDs and related code.
4715 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
4717 * src/hildon-wizard-dialog.h: Note that
4718 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
4719 point, as it is not used anymore.
4721 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
4723 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4725 * src/hildon-note.c:
4726 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
4727 shown. Do not display an icon in confirmation notes nor information
4729 (hildon_note_set_button_text): Update logical ID for cancel button.
4731 Fixes: NB#88850 (Update HildonNote button strings + signals)
4733 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4735 * src/hildon-stackable-window.c
4736 (hildon_stackable_window_set_main_menu): Fix compilation warning.
4738 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4740 * src/hildon-app-menu-private.h
4741 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
4742 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
4743 (hildon_app_menu_init, hildon_app_menu_class_init): Added
4744 temporary property 'columns' to change the number of columns.
4746 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4748 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
4750 * examples/hildon-note-example.c: (on_information_clicked),
4751 (on_confirmation_clicked), (on_progress_clicked), (main): Add
4752 debugging information.
4753 * src/hildon-note-private.h: Remove close_if_pressed_outside,
4755 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
4756 (hildon_note_rebuild): Remove special handling of tapping outside/inside
4757 in order to close: this will be handled by the WM from now on.
4759 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
4761 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4763 * src/hildon-app-menu-private.h
4764 * src/hildon-app-menu.c
4765 (hildon_app_menu_append, hildon_app_menu_add_filter)
4766 (button_visibility_changed, hildon_app_menu_apply_style)
4767 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
4768 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
4769 layout everytime a button (item or filter) is shown or hidden.
4771 * src/hildon-stackable-window.c
4772 (hildon_stackable_window_set_main_menu): Destroy the old menu when
4775 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
4777 * src/hildon-touch-selector.c:
4778 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
4779 that the treeview inside the touch selector is in fremantle hildon mode
4780 * examples/hildon-date-button-example.c
4781 * examples/hildon-picker-button-multicolumn-example.c
4782 * examples/hildon-touch-selector-entry-example.c
4783 * examples/hildon-touch-selector-example.c
4784 * examples/hildon-time-button-example.c
4785 * examples/hildon-picker-button-example.c:
4786 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
4788 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
4790 * examples/hildon-text-view-example.c: (main): Remove the
4791 gtkrc bits, now handled by the theme.
4793 2008-09-22 Alberto Garcia <agarcia@igalia.com>
4795 * src/hildon-picker-button.c (hildon_picker_button_set_active):
4798 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4800 * po/Makefile.am: Install properly the mo files.
4801 * po/en_GB.po: Update translation, to ease testing purposes.
4803 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4805 * examples/hildon-picker-button-example.c: (main): Select an item
4806 in the selector before setting it to the button.
4808 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4810 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
4811 Update button's value if the selector has an item active.
4813 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
4814 'value' with the selector)
4816 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4818 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
4819 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
4820 (hildon_picker_button_class_init): Plug the finalize method.
4821 (hildon_picker_button_set_selector): If there's a previously set
4822 selector, unref'it before setting a new one.
4824 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
4825 HildonTouchSelector)
4827 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
4829 * src/hildon-touch-selector-entry.c:
4830 (hildon_touch_selector_entry_changed): Check if there is no text
4831 selected before setting the entry text.
4834 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4836 * src/hildon-touch-selector.h
4837 * src/hildon-touch-selector.c
4838 (hildon_touch_selector_get_active)
4839 (hildon_touch_selector_set_active): New methods to set/get the
4840 index of the selected item.
4842 * src/hildon-picker-button.h
4843 * src/hildon-picker-button.c
4844 (hildon_picker_button_get_active)
4845 (hildon_picker_button_set_active): New methods to set/get the
4846 index of the selected item.
4848 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4850 * configure.ac: post-release version bump.
4852 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4856 * configure.ac: Pre-release version bump.
4857 * debian/changelog: Updates.
4858 * debian/control: Add myself as maintainer and depend on l10n
4861 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4863 * src/hildon-window.c
4864 (hildon_window_set_main_menu)
4865 * src/hildon-stackable-window.c
4866 (hildon_stackable_window_set_main_menu):
4867 Updated documentation.
4869 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4871 * src/hildon-date-selector.c (hildon_date_selector_finalize):
4872 Don't free selector->priv manually.
4875 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4878 (hildon_gtk_window_set_progress_indicator):
4879 * src/hildon-gtk.h: Added the new API
4880 hildon_gtk_window_set_progress_indicator, it changes the state of
4881 the window progress hint.
4883 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4885 * src/hildon-button.c
4886 * src/hildon-stackable-window.c: Minor documentation updates.
4888 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4890 * src/hildon-stackable-window.c: Updated documentation.
4892 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
4894 * src/hildon-defines.h: Update margins definitions
4895 to the Fremantle sizes.
4898 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4900 * src/hildon-touch-selector.c,
4901 (_hildon_touch_selector_set_model): Cleaning the code after
4902 review, removed g_print and #if 0 from the code.
4904 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4906 * src/hildon-edit-toolbar.c: Update documentation.
4908 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4910 * src/hildon-check-button.h
4911 * src/hildon-check-button.c
4912 (hildon_check_button_set_label, hildon_check_button_get_label)
4913 * examples/hildon-check-button-example.c
4914 (button_clicked_cb):
4915 Removed deprecated methods.
4917 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4919 * src/hildon-text-view.c:
4920 Add sample code to the documentation.
4922 * src/hildon-entry.h
4923 * src/hildon-text-view.h:
4924 Minor cosmetic changes.
4926 * src/hildon-entry.c:
4927 Add sample code to the documentation.
4928 (hildon_entry_init, hildon_entry_refresh_contents):
4929 Don't allow NULL values in the placeholder.
4931 2008-09-10 Alberto Garcia <agarcia@igalia.com>
4933 * doc/hildon-docs.sgml
4935 * examples/Makefile.am
4936 * examples/hildon-text-view-example.c
4938 * src/hildon-text-view.c
4939 * src/hildon-text-view.h
4941 New HildonTextView widget, with example.
4943 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4945 * po/POTFILES.in: Add missing files with translatable strings.
4946 Partially fixes NB#88287.
4948 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4950 * examples/hildon-pannable-area-example-2.c: (main): No need to
4951 set the cellrenderer height inside hildon touch lists, the theme does
4954 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4956 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
4957 they are integrated in the theme.
4959 2008-09-09 Alberto Garcia <agarcia@igalia.com>
4961 * examples/hildon-entry-example.c: Update the example adding
4962 widgets to modify the text and the placeholder of the HildonEntry.
4964 * src/hildon-entry.c: Show the placeholder everytime the widget
4965 is empty and loses the focus.
4967 2008-09-09 Alejandro G. Castro <alex@igalia.com>
4969 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
4971 * src/hildon-pannable-area.c,
4972 (hildon_pannable_area_size_request): Fixed bug in height
4973 requisition, avoid increasing size and add border twice.
4975 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4977 * configure.ac: postrelease version bump.
4979 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4983 * configure.ac: Prerelease version bump.
4984 * debian/changelog: update.
4985 * debian/rules: make -dbg package contain useful debugging symbols.
4987 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4989 * src/hildon-dialog.h
4990 * src/hildon-dialog.c
4991 (hildon_dialog_add_button, hildon_dialog_add_buttons):
4992 New methods to add buttons with finger size.
4993 (hildon_dialog_new_with_buttons):
4994 Create buttons with finger size.
4996 * examples/hildon-dialog-example.c (main): Use HildonDialog
4997 methods to add buttons.
4999 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5001 * src/hildon-entry.c: Updated HildonButton documentation.
5003 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5005 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
5006 button value label with (FALSE, FALSE) to prevent NB#88126 from
5009 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5011 * examples/hildon-pannable-area-example.c,
5012 (main): Removed examples panning a vbox inside a pannable
5013 area. Check bug NB#87965
5015 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5017 Patch contributed by Kris Rietveld (kris@imendio.com)
5019 * src/hildon-pannable-area.c,
5020 (hildon_pannable_area_get_topmost): replaced the get_geometry with
5021 get_size and get_position, this saves an X server roundtrip.
5023 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5025 * doc/hildon-docs.sgml
5027 * examples/Makefile.am
5028 * examples/hildon-entry-example.c
5030 * src/hildon-entry.c
5031 * src/hildon-entry.h
5033 New HildonEntry widget, with example.
5035 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5037 * src/hildon-button.c (hildon_button_construct_child): Pack the
5038 image with expand == fill == FALSE. This is a workaround for a bug
5041 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
5043 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
5044 labels for the text column, to make it more look more dynamic.
5046 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5048 * src/hildon-time-selector.c
5049 Define gettext auxiliar macro N_
5050 (_create_minutes_model)
5051 (_create_hours_model)
5052 (_create_ampm_model): use of strftime in order to fill the model
5053 * src/hildon-date-selector.c
5054 (hildon_date_selector_finalize):
5055 (_locales_init): remove the logic related to get the name of the months
5056 using nl_langinfo, as it is not required anymore
5058 (_create_year_model)
5059 (_create_month_model)
5060 (_update_day_model): use of strftime in order to fill the model properly
5063 2008-09-04 Alberto Garcia <agarcia@igalia.com>
5065 * src/hildon-button.h
5066 * src/hildon-button.c (hildon_button_get_image): New method to
5069 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
5071 * src/hildon-touch-selector.c:
5072 (hildon_touch_selector_remove_column): Remove from the correct parent
5073 and also remove the list element and free it.
5076 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5078 * src/hildon-time-selector.c
5079 (_create_hours_model): change the range on 12h ampm format in order to use
5080 a 12-11 range instead of previous 01-12 range
5081 (hildon_time_selector_set_time): change the way to select the current time
5082 on 12h ampm format, due the change on the range
5083 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
5086 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
5088 * src/hildon-touch-selector.c
5089 (hildon_date_touch_selector_get_selected): fix the selection mode check,
5090 in order to allow use this function on multiple row selection mode if
5091 the column is different that the first one
5094 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
5096 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
5097 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
5099 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5101 * src/hildon-date-selector.h: clean some comments, now on the .c
5102 * src/hildon-date-selector.c
5103 (hildon_date_selector_select_month): first implementation
5104 (hildon_date_selector_select_day): added documentation, reimplemented
5105 using hildon_date_selector_select_current_date to avoid repeat code
5108 2008-09-02 Alejandro G. Castro <alex@igalia.com>
5110 Reviewed interaction logic based on device experiences, refactored
5113 * src/hildon-pannable-area.c,
5114 (hildon_pannable_area_class_init): Updated default vmax speed.
5115 (hildon_pannable_area_calculate_velocity): Added this function, it
5116 avoids duplicate valocity calculation. Adjusted calculation to
5117 avoid problems with zero dist events.
5119 (hildon_pannable_area_motion_notify_cb): Now we use the
5120 calculate_velocity function.
5122 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5124 * src/hildon-date-selector.c
5125 (hildon_date_selector_select_current_date): fix the day range check
5126 as it failed using the last day of the current month
5129 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5131 * src/hildon-touch-selector.c
5132 (hildon_touch_selector_get_num_columns): added a parameter validation
5135 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5137 * examples/Makefile.am
5138 * examples/hildon-edit-toolbar-example.c: Example of the
5139 HildonEditToolbar widget.
5141 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5143 * configure.ac: postrelease version bump.
5145 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5149 * configure.ac: prerelease version bump.
5150 * debian/changelog: update.
5152 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5154 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
5155 renderer to display stock icons in the touch list. Also, set the sizes
5156 to the recommended in the style guide.
5158 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5159 * src/hildon-touch-selector.h
5160 (hildon_touch_selector_set_active_iter): renamed, now is
5161 hildon_touch_selector_select_iter
5162 (hildon_touch_selector_get_active_iter): renamed, now is
5163 hildon_touch_selector_get_selected
5164 (hildon_touch_selector_unselect_iter): added
5165 * src/hildon-touch-selector.c
5166 Update after API modification (methods renamed)
5167 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
5168 order to avoid problems selecting multiple elements on the column
5169 (hildon_touch_selector_unselect_iter): added the implementation
5170 * src/hildon-time-selector.c
5171 * src/hildon-date-selector.c
5172 * src/hildon-touch-selector-entry.c
5173 Update methods calls after hildon-touch-selector.h API modification (methods
5176 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5178 * src/hildon-stackable-window.c
5179 (hildon_stackable_window_finalize): Call the parent class's finalize.
5181 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5183 * examples/hildon-touch-selector-example.c: (create_selector): Use
5184 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
5187 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5189 * examples/hildon-touch-selector-example.c: (create_selector): Do not
5190 set a cell background color, to respect theming.
5192 2008-08-28 Alberto Garcia <agarcia@igalia.com>
5194 * doc/hildon-docs.sgml
5197 * src/hildon-edit-toolbar.c
5198 * src/hildon-edit-toolbar.h
5199 * src/hildon.h: New HildonEditToolbar widget.
5201 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
5203 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
5206 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5207 * src/hildon-touch-selector.c
5208 (_create_new_column): use g_object_set instead of two g_object_set_property
5210 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5211 * src/hildon-touch-selector.c
5212 (_create_new_column): use of hildon_gtk_tree_view_new to create
5213 the treeview, instead of use directly g_object_new
5214 (_create_new_column): update the property name "vindicator-mode" for the
5215 new one "vscrollbar-policy"
5216 * examples/hildon-date-button-example.c
5217 * examples/hildon-picker-button-multicolumn-example.c
5218 * examples/hildon-touch-selector-entry-example.c
5219 * examples/hildon-touch-selector-example.c
5220 * examples/hildon-time-button-example.c
5221 * examples/hildon-picker-button-example.c
5222 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
5223 to all the treeviews inside a pannable area.
5225 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5227 * src/hildon-button.h
5228 * src/hildon-button.c (hildon_button_init)
5229 (hildon_button_set_arrangement, hildon_button_set_alignment)
5230 (hildon_button_set_title_alignment)
5231 (hildon_button_set_value_alignment)
5232 (hildon_button_set_image_alignment)
5233 (hildon_button_construct_child): New methods to set the alignment
5234 of the individual components of the button (title, value,
5235 image). Also, new method to alter the xscale and yscale properties
5236 of the GtkAlignment inside the button, so more complex layouts can
5239 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5241 * src/hildon-button.c (hildon_button_style_set)
5242 (hildon_button_class_init, hildon_button_set_arrangement)
5243 (hildon_button_construct_child): Apply style properties
5244 correctly. Use the 'image-spacing' style property too.
5246 2008-08-26 Alberto Garcia <agarcia@igalia.com>
5248 * src/hildon-app-menu.c (hildon_app_menu_style_set)
5249 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
5252 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5254 * src/hildon-pannable-area.c,
5255 (hildon_pannable_area_size_request): Fixed problem with
5256 pannable-area size_request.
5258 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5260 Added management for the grab-focus to a child widget, like a
5261 range, we need to fade out the scrollbar when releasing.
5263 * src/hildon-pannable-area.c,
5264 (hildon_pannable_area_init): Connected the grab-focus signal to
5266 (hildon_pannable_area_grab_notify): Added this function in order
5267 to manage the situation when the grab-focus ends. We have to
5268 fade-out the scrollbar.
5270 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5272 * src/hildon-app-menu.c: Minor documentation update.
5274 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5276 * src/hildon-app-menu.c
5277 * examples/hildon-app-menu-example.c (create_menu): Update
5278 examples and documentation to explain how to connect callbacks.
5280 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
5282 * examples/hildon-button-example.c
5283 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
5284 hildon_stackable_window_new instead of gtk_window_new
5286 2008-08-22 Alejandro G. Castro <alex@igalia.com>
5288 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
5289 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
5290 (hildon_pannable_area_set_property),
5291 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
5292 (hildon_pannable_area_unrealize),
5293 (hildon_pannable_area_size_request),
5294 (hildon_pannable_area_size_allocate),
5295 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
5296 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
5297 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
5298 (hildon_pannable_area_initial_effect),
5299 (hildon_pannable_area_redraw),
5300 (hildon_pannable_area_scroll_indicator_fade),
5301 (hildon_pannable_area_expose_event),
5302 (hildon_pannable_area_get_topmost), (synth_crossing),
5303 (hildon_pannable_area_button_press_cb),
5304 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
5305 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
5306 (hildon_pannable_area_motion_notify_cb),
5307 (hildon_pannable_area_button_release_cb),
5308 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
5309 (hildon_pannable_area_remove),
5310 (hildon_pannable_calculate_vel_factor): Widget refactorization,
5311 chage the code layout to a more GtkWidget like. Review the use of
5314 2008-08-21 Alejandro G. Castro <alex@igalia.com>
5316 * examples/hildon-pannable-area-example-4.c,
5317 (main): Modified the name of the hindicator_mode to
5320 * src/hildon-pannable-area.c,
5321 (hildon_pannable_area_class_init),
5322 (hildon_pannable_area_motion_notify_cb),
5323 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
5324 we have reduced the amount of signals and managed reviewed its
5325 rationale. Changed the default decelerate value.
5327 (hildon_pannable_area_add),
5328 (hildon_pannable_area_redraw): Refactored functions.
5330 (hildon_pannable_area_init),
5331 (hildon_pannable_area_get_property),
5332 (hildon_pannable_area_set_property):
5333 (hildon_pannable_draw_vscroll),
5334 (hildon_pannable_draw_hscroll),
5335 (hildon_pannable_area_initial_effect),
5336 (hildon_pannable_area_expose_event),
5337 (hildon_pannable_area_scroll),
5338 (hildon_pannable_area_button_press_cb),
5339 (hildon_pannable_area_realize): Replaced the names hindicator_mode
5340 and vindicator_mode with hscrollbar_policy and
5341 vscrollbar_policy. Replaced hscroll and vscroll with
5342 hscroll_visible and vscroll_visible.
5344 (hildon_pannable_area_refresh): Refactor the function, remove
5345 variables and check the calls to this function, added resize
5346 conditions in case the children change their layout.
5348 (hildon_pannable_area_size_request): Added more detailed
5349 size_request calculation.
5352 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
5354 * src/hildon-color-chooser.c
5355 (init_borders): use the correct gtk_border_free instead of g_free, to
5356 avoid a crash when this widget is used (ie: the three color selection
5359 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5361 * src/hildon-check-button.c,
5362 (hildon_check_button_set_active): Fixed problem when setting the
5363 active value, the widget was not redrawn.
5365 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5367 * src/hildon-pannable-area.c,
5368 (hildon_pannable_area_refresh),
5369 (hildon_pannable_area_scroll),
5370 (hildon_pannable_area_motion_notify_cb): Small code style change.
5372 (hildon_pannable_area_class_init): Default initial_hint set to
5373 FALSE, it is not in the specs.
5375 (hildon_pannable_area_initial_effect),
5376 (hildon_pannable_area_expose_event),
5377 (hildon_pannable_area_map),
5378 (hildon_pannable_area_init): Moved the launching point of the
5379 initial effect, it was in map but the sizes where not correct in
5380 that method so we do not know if we have the reproduce it. Now it
5381 is placed in the expose_event method and uses a variable to
5382 reproduce it just once.
5384 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5386 * src/hildon-pannable-area.c,
5387 (hildon_pannable_draw_vscroll),
5388 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
5389 position allowed for the scrollbars.
5391 (hildon_pannable_area_size_allocate): Small style change.
5393 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5395 * src/hildon-pannable-area.c,
5396 (hildon_pannable_area_scroll_indicator_fade),
5397 (hildon_pannable_area_button_press_cb),
5398 (hildon_pannable_area_button_release_cb),
5399 (hildon_pannable_area_scroll_cb),
5400 (hildon_pannable_area_expose_event),
5401 (hildon_pannable_area_init): Added the define parameter
5402 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
5403 and refactor the fade variable.
5405 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5407 * src/hildon-pannable-area.c,
5408 (hildon_pannable_area_redraw),
5409 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
5410 lines, we were reimplemeting the redraw code.
5412 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5414 * src/hildon-pannable-area.c,
5415 (hildon_pannable_area_scroll_cb),
5416 (hildon_pannable_area_realize),
5417 (hildon_pannable_area_class_init): Added scroll_event management
5418 for pannable area, now we can scroll the usual desktop method.
5420 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
5421 initialization of the parameters should depend on idle_id.
5423 (hildon_pannable_area_init),
5424 (hildon_pannable_area_map): Small code style modifications
5426 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5428 * src/hildon-pannable-area.c
5429 (hildon_pannable_area_button_press_cb),
5430 (hildon_pannable_area_motion_notify_cb),
5431 (hildon_pannable_area_button_release_cb),
5432 (hildon_pannable_area_size_allocate),
5433 (hildon_pannable_area_scroll_to): Improved the timeouts
5434 management, we avoid creating them each time.
5436 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5438 * src/hildon-pannable-area.c:
5439 (hildon_pannable_area_refresh),
5440 (hildon_pannable_area_motion_notify_cb),
5441 (hildon_pannable_area_class_init):
5442 * src/hildon-pannable-area.h:
5443 * src/hildon-touch-selector.c
5444 (_create_new_column):
5445 * examples/hildon-pannable-area-example-4.c:
5446 (horizontal_movement),
5447 (vertical_movement),
5449 Replaced the names of enums in the HildonPannableArea:
5450 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
5451 HILDON_MOVEMENT_MODE_*
5452 - HILDON_PANNABLE_AREA_MOV_* ->
5454 - Removed HildonPannableAreaIndicatorMode, now we
5457 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5459 * examples/hildon-pannable-area-touch-grid-example.c
5460 * examples/hildon-pannable-area-touch-list-example.c: Fix
5461 compilation warnings.
5463 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5465 * src/hildon-gtk.c (hildon_gtk_button_new)
5466 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
5467 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
5468 images overriding the value of the "gtk-button-images" setting.
5470 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5472 * src/hildon-check-button.c (hildon_check_button_new):
5473 Instead of using a custom container, display the label and the
5474 checkbox using the standard GtkButton API.
5476 * examples/hildon-check-button-example.c (main): Don't use
5477 hildon_check_button_set_label() anymore
5479 * src/hildon-check-button.h
5480 * src/hildon-check-button.c
5481 (hildon_check_button_set_label, hildon_check_button_get_label):
5482 Set as deprecated, now we're using gtk_button_{get,set}_label()
5484 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5486 * src/hildon-pannable-area.c,
5487 (hildon_pannable_area_get_topmost): Fixed bug with click in the
5488 GtkTreeview first line we detected it after the inclusion of the
5489 GtkWindowImpl in gtk+. We now check if the window is visible, not
5490 just if the pointer is over the window.
5491 (hildon_pannable_axis_scroll),
5492 (hildon_pannable_area_expose_event): Small style changes.
5494 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5496 * src/hildon-button.c: Update documentation.
5498 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5500 * examples/hildon-button-example.c: Add a switch to show images in
5503 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5505 * doc/hildon-docs.sgml: Some docs reorganization.
5507 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5509 * examples/hildon-pannable-area-touch-list-example.c
5511 * examples/hildon-pannable-area-touch-grid-example.c
5512 (create_icon_view): Use gtk_{tree,icon}_view_new() and
5513 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
5514 Fix memory leak when setting the tree model.
5516 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5520 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5522 * doc/hildon.types: Remove duplicated hildon_window_get_type
5523 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
5524 documentation comment.
5526 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5528 * doc/Makefile.am: Complete list of private headers.
5530 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5532 * doc/hildon-docs.sgml
5533 * src/hildon-app-menu.c
5534 * src/hildon-bread-crumb.c
5535 * src/hildon-button.c
5537 * src/hildon-program.c
5538 * src/hildon-stackable-window.c
5539 * src/hildon-window.c: Lots of documentation updates.
5541 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5543 * debian/control: Depend on Gtk 2:2.12.9-0osso3
5545 * configure.ac: Require Gtk+ 2.12.9 at least
5547 2008-08-12 Alejandro G. Castro <alex@igalia.com>
5549 * src/hildon-pannable-area.c
5550 (hildon_pannable_area_scroll_indicator_fade),
5551 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
5552 to protect the return of this timeout callbacks, avoiding deadlocks.
5554 2008-08-12 Christian Dywan <christian@imendio.com>
5557 * src/hildon-*.h: Ensure a consistent include order,
5558 include <gtk/gtk.h> instead of particular files and
5559 only include the topmost header in the gtk stack. See NB #39857
5561 2008-08-12 Christian Dywan <christian@imendio.com>
5563 * src/hildon-picker-dialog.c
5564 * src/hildon-touch-selector.c: Fix warnings about unused and
5565 uninitialized variables.
5567 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5569 * examples/Makefile.am
5570 * examples/hildon-check-button-example.c: Example of the hildon
5573 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5575 * src/hildon-window.h
5576 * src/hildon-window.c (hildon_window_class_init)
5577 (hildon_window_unset_program): Don't make
5578 hildon_window_unset_program a virtual function anymore.
5580 * src/hildon-stackable-window.c: Update documentation
5582 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5585 * doc/hildon-docs.sgml
5586 * doc/visual_index.xml
5587 * src/hildon-defines.c
5589 * src/hildon-helper.c
5590 * src/hildon-range-editor.c: Lots of documentation fixes.
5592 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5594 * examples/hildon-picker-button-multicolumn-example.c
5595 (create_touch_selector): Fix compilation warning.
5597 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5599 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
5600 (hildon_pannable_area_button_release_cb)
5601 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
5603 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5605 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
5608 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5610 * src/hildon-bread-crumb-trail.h
5611 * src/hildon-date-editor.c
5612 * src/hildon-date-selector.c
5613 * src/hildon-pannable-area.c
5614 * src/hildon-picker-dialog.c
5615 * src/hildon-time-selector.c
5616 * src/hildon-touch-selector-entry.c
5617 * src/hildon-touch-selector.c
5618 * src/hildon-touch-selector.h: Misc documentation fixes
5620 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5622 * examples/hildon-date-editor-example.c (main): Updated date
5625 * examples/hildon-note-example.c (on_confirmation_clicked):
5626 Updated confirmation note example.
5628 * src/hildon-date-editor.c
5629 * src/hildon-note.c: Updated sample programs in documentation.
5632 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5634 * src/hildon-date-button.h:
5635 * src/hildon-picker-button.h:
5636 * src/hildon-time-button.c:
5637 * src/hildon-time-button.h:
5639 Some declarations changes to allow gtk-doc to document the widgets
5642 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5644 * src/hildon-date-button.c: Document the widget.
5645 * src/hildon-time-button.c: Document the widget.
5647 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5649 * src/hildon-picker-button.c: Document the widget.
5650 * src/hildon-touch-selector-entry.c: Document the widget.
5652 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5654 * doc/hildon-docs.sgml
5657 * src/hildon-check-button.h
5658 * src/hildon-check-button.c: New functions to create the Hildon
5662 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
5664 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5666 * src/hildon-button.h
5667 * src/hildon-button.c
5668 (hildon_button_add_title_size_group)
5669 (hildon_button_add_value_size_group)
5670 (hildon_button_add_image_size_group)
5671 (hildon_button_add_size_groups): New functions to set size groups
5672 for the button labels and image.
5673 (hildon_button_new_full): Removed
5675 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
5677 * src/hildon-time-selector.c
5678 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
5679 in order to avoid a crash if gconf is not available
5681 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5683 * src/hildon-button.c (hildon_button_set_arrangement)
5684 (hildon_button_construct_child): Don't construct the button child
5685 before setting the arrangement.
5687 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5689 * src/hildon-program-private.h
5690 * src/hildon-program.c
5691 * src/hildon-program.h
5692 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
5693 (hildon_program_peek_window_stack)
5694 (hildon_program_pop_window_stack)
5695 (hildon_program_go_to_root_window): HildonProgram now has a
5696 separate list for stackable windows. Functions are provided to
5697 manage that list with a stack-like API.
5699 * src/hildon-stackable-window.c: Stackable window management is
5700 now much simpler with the new HildonProgram API. Windows no
5701 longer need to be manually added to the program, they're
5702 automatically pushed to the top of the stack when shown.
5704 * examples/hildon-stackable-window-example.c: Updated example to
5705 reflect the API changes.
5707 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5709 * src/hildon-touch-selector.c: Comment out unimplemented
5710 hildon_touch_selector_insert_column() to avoid a compile warning.
5712 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5714 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5715 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
5716 (hildon_touch_selector_set_column_selection_mode),
5717 (_hildon_touch_selector_set_model),
5718 (hildon_touch_selector_set_model):
5720 Complete review of HildonTouchSelector documentation.
5722 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5724 * doc/hildon-docs.sgml
5728 * src/hildon-gtk.c: Convenience functions for standard Gtk
5729 widgets, used to easily perform frequent operations.
5731 * src/hildon-button-helpers.h
5732 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
5734 * src/hildon-helper.h
5735 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
5736 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
5738 * src/hildon-button.h
5739 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
5741 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5743 * src/hildon-button.c (hildon_button_init)
5744 (hildon_button_set_arrangement, hildon_button_construct_child):
5745 Pack the image and the labels inside the same GtkAlignment so
5746 gtk_button_set_alignment() can be used
5748 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5750 * src/hildon-button.h
5751 * src/hildon-button.c
5752 (hildon_button_init, hildon_button_set_image)
5753 (hildon_button_set_image_position)
5754 (hildon_button_construct_child): New functions to add an image to
5757 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5759 * src/hildon-date-button.c
5760 * src/hildon-picker-button.c
5761 * src/hildon-time-button.c
5762 * src/hildon-button.c:
5763 (hildon_button_class_init): "size-flags" renamed to "size"
5764 (hildon_button_set_title): Hide the title label if set to NULL.
5766 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5768 HildonButtonFlags split into HildonButtonArrangement (to set the
5769 button layout) and HildonSizeType (which can be used for any
5772 * src/hildon-button.h
5773 * src/hildon-button.c
5774 (hildon_button_class_init)
5775 (hildon_button_set_arrangement)
5776 (hildon_button_set_property): New "size-flags"
5777 property. "arrangement-flags" renamed to "arrangement".
5778 (hildon_button_new, hildon_button_new_with_text)
5779 (hildon_button_new_full): Constructors updated to reflect type changes.
5781 * src/hildon-helper.h
5782 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
5783 to set the size of a widget.
5787 * src/hildon-button-helpers.c
5788 * src/hildon-button-helpers.h: New hildon-button-helpers module.
5790 * src/hildon-date-button.c
5791 * src/hildon-date-button.h
5792 * src/hildon-picker-button.c
5793 * src/hildon-picker-button.h
5794 * src/hildon-time-button.c
5795 * src/hildon-time-button.h: Updated widgets to reflect
5796 HildonButton API changes.
5798 * examples/hildon-button-example.c
5799 * examples/hildon-date-button-example.c
5800 * examples/hildon-picker-button-example.c
5801 * examples/hildon-picker-button-multicolumn-example.c
5802 * examples/hildon-time-button-example.c
5803 * examples/hildon-touch-selector-entry-example.c
5804 * examples/hildon-touch-selector-example.c: Updated examples to
5805 reflect HildonButton API changes.
5807 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5809 * doc/hildon-docs.sgml:
5811 * examples/Makefile.am:
5812 * examples/hildon-touch-selector-entry-example.c:
5814 * src/hildon-touch-selector-entry.c:
5815 * src/hildon-touch-selector-entry.h:
5818 Moved HildonTouchSelectorEntry from sandbox. Added its
5819 documentation and examples.
5821 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5823 * src/hildon-touch-selector.h:
5824 * examples/hildon-picker-button-multicolumn-example.c:
5825 (hildon_touch_selector_append_text_column): Add a gboolean
5826 parameter to determine if text must be centered in the column.
5828 * src/hildon-date-selector.c: (hildon_date_selector_init):
5829 * src/hildon-time-selector.c: (hildon_time_selector_init):
5830 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
5831 (create_touch_selector): Update widgets and example to reflect
5834 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5836 * src/hildon-touch-selector.c:
5837 (hildon_touch_selector_set_active_iter): Set also the cursor in
5840 2008-08-06 Alberto Garcia <agarcia@igalia.com>
5842 * doc/hildon-docs.sgml
5845 * src/hildon-toggle-button.c
5846 * src/hildon-toggle-button.h
5847 * src/hildon.h: Removed HildonToggleButton widget, a derived
5848 class is not necessary for this.
5850 2008-08-06 Alejandro G. Castro <alex@igalia.com>
5852 * src/hildon-pannable-area.c,
5853 (hildon_pannable_area_realize),
5854 (hildon_pannable_area_size_allocate): Code refactoring, add tests
5857 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
5859 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
5860 "done" button the default widget for the dialog.
5862 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5864 * src/hildon-touch-selector.c:
5865 (hildon_touch_selector_class_init),
5866 (hildon_touch_selector_get_property),
5867 (_hildon_touch_selector_set_model),
5868 (_hildon_touch_selector_has_multiple_selection),
5869 (hildon_touch_selector_has_multiple_selection):
5870 Add a "has-multiple-selection" property with a virtual
5871 has_multiple_selection() method to allow derived classes to
5872 override the default value for it. See the method and property
5873 documentation for details.
5875 * src/hildon-touch-selector.h: Add the new API.
5877 * src/hildon-picker-dialog.c: (requires_done_button): Call
5878 hildon_touch_selector_has_multiple_selection() instead of
5879 determining the need for a button itself.
5881 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5883 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5884 (_hildon_touch_selector_set_model),
5885 (hildon_touch_selector_set_model): Move working code to
5886 _hildon_touch_selector_set_mode(). Call the class method instead.
5888 * src/hildon-touch-selector.h: Add (*set_model) to
5889 HildonTouchSelectorClass.
5891 Make hildon_touch_selector_set_model() a virtual method, so that
5892 derived classes can extend it and do fancy stuff with the model.
5894 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5896 * configure.ac: Set back the tarname in AC_INIT to hildon.
5898 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5902 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
5903 instead of libesd (NB#86876). Volume handling is still an open issue.
5905 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
5908 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5910 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
5911 (hildon_touch_selector_append_column): Make the widget a GtkVBox
5912 derived class to ease placement of an entry widget in
5913 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
5914 end, where the selector columns are packed now.
5916 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5918 * src/hildon-picker-button.c: Removed the simple _text() API.
5919 * src/hildon-picker-button.h: Likewise.
5921 * src/hildon-touch-selector.h:
5922 * src/hildon-touch-selector.c:
5923 (hildon_touch_selector_new_text),
5924 (hildon_touch_selector_append_text),
5925 (hildon_touch_selector_prepend_text),
5926 (hildon_touch_selector_insert_text):
5928 Moved the simple _text() API from HildonPickerButton to
5929 HildonTouchPicker, to provide better escalability and not to tie
5930 that API to HildonPickerButton.
5932 * examples/hildon-picker-button-example.c: (main): Example updated.
5934 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5936 * src/hildon-button.c: Updated documentation.
5938 * examples/hildon-button-example.c: Add the posibility to create
5939 the buttons using horizontal layout for title and value.
5941 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5943 * src/hildon-app-menu-private.h
5944 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
5945 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
5946 GtkSizeGroup for the filters, use the 'homogeneous' property of
5949 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5951 * examples/hildon-button-example.c: Updated example.
5953 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
5955 * doc/hildon-docs.sgml:
5958 Update documentation.
5960 * examples/Makefile.am: Update renamed examples.
5962 * examples/hildon-picker-button-multicolumn-example.c:
5963 (create_touch_selector), (main): Update after the rename.
5965 * examples/hildon-touch-picker-example.c: Removed.
5966 * examples/hildon-touch-selector-example.c: (value_changed),
5967 (create_selector), (get_visible_content), (main): Renamed from
5968 hildon-touch-picker-example.c
5970 * src/Makefile.am: Updated renamed files.
5972 * src/hildon-date-button.c: (hildon_date_button_init),
5973 (hildon_date_button_get_date), (hildon_date_button_set_date):
5974 * src/hildon-date-selector.c: (hildon_date_selector_init),
5975 (_custom_print_func), (_update_day_model),
5976 (_manage_selector_change_cb),
5977 (hildon_date_selector_select_current_date),
5978 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
5979 * src/hildon-date-selector.h:
5980 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5981 (hildon_picker_button_set_property),
5982 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5983 (hildon_picker_button_init), (hildon_picker_button_new_text),
5984 (hildon_picker_button_append_text),
5985 (hildon_picker_button_prepend_text),
5986 (hildon_picker_button_insert_text),
5987 (hildon_picker_button_set_selector),
5988 (hildon_picker_button_get_selector):
5989 * src/hildon-picker-button.h:
5990 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
5991 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
5992 (_update_title_on_selector_changed_cb), (requires_done_button),
5993 (_hildon_picker_dialog_set_selector),
5994 (hildon_picker_dialog_set_selector),
5995 (hildon_picker_dialog_get_selector):
5996 * src/hildon-picker-dialog.h:
5997 * src/hildon-time-button.c: (hildon_time_button_init),
5998 (hildon_time_button_get_time), (hildon_time_button_set_time):
5999 * src/hildon-time-selector.c: (hildon_time_selector_init),
6000 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
6001 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
6002 * src/hildon-time-selector.h:
6005 Massive code updates after the rename.
6007 * src/hildon-touch-picker.c: Removed.
6008 * src/hildon-touch-picker.h: Removed.
6010 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6011 (hildon_touch_selector_init), (hildon_touch_selector_map),
6012 (hildon_touch_selector_remove), (_default_print_func),
6013 (_selection_changed_cb), (_create_new_column),
6014 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
6015 (hildon_touch_selector_append_text_column),
6016 (hildon_touch_selector_remove_column),
6017 (hildon_touch_selector_set_column_attributes),
6018 (hildon_touch_selector_insert_column),
6019 (hildon_touch_selector_get_num_columns),
6020 (hildon_touch_selector_get_column_selection_mode),
6021 (hildon_touch_selector_set_column_selection_mode),
6022 (hildon_touch_selector_set_print_func),
6023 (hildon_touch_selector_get_print_func),
6024 (hildon_touch_selector_get_active_iter),
6025 (hildon_touch_selector_set_active_iter),
6026 (hildon_touch_selector_get_selected_rows),
6027 (hildon_touch_selector_get_model),
6028 (hildon_touch_selector_set_model),
6029 (hildon_touch_selector_get_current_text),
6030 (_hildon_touch_selector_center_on_selected_items):
6031 * src/hildon-touch-selector.h: Renamed from
6032 hildon-touch-picker.[ch]
6034 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
6035 references, code examples, and related documentation.
6037 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6039 * doc/hildon-docs.sgml
6042 * src/hildon-toggle-button.c
6043 * src/hildon-toggle-button.h
6044 * src/hildon.h: New HildonToggleButton widget.
6046 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6048 * src/hildon-button.c: Add API documentation.
6049 (hildon_button_set_size_groups): Check input parameters
6051 2008-07-30 Alejandro G. Castro <alex@igalia.com>
6053 * src/hildon-pannable-area.c
6054 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
6055 effect after reaching the movement thredshold. This way we start
6056 using the distance after passing the thredshold.
6058 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6060 * src/hildon-button.c: (hildon_button_set_property): Use the
6061 appropriate g_value_get_flags() method.
6063 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6065 * doc/hildon-docs.sgml:
6068 Add the touch pickers, picker dialogs, and picker button widgets
6069 to the documentation.
6071 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6073 * src/hildon-button.c: (hildon_button_set_property),
6074 (hildon_button_class_init): Make "arrangement-flags" a proper
6075 G_TYPE_FLAGS derived property.
6077 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6079 * examples/Makefile.am: Add below examples.
6080 * examples/hildon-date-button-example.c:
6081 * examples/hildon-picker-button-example.c:
6082 * examples/hildon-picker-button-multicolumn-example.c:
6083 * examples/hildon-time-button-example.c:
6084 * examples/hildon-touch-picker-example.c:
6086 Add examples for the recently added touch pickers,
6087 picker dialogs, and picker button widgets.
6089 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6091 * src/hildon-button.c: Add some API documentation
6093 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6095 * src/hildon-button.h
6096 * src/hildon-button.c
6098 (hildon_button_new_with_text): New constructor to create a button
6099 with no text at all.
6100 (hildon_button_init, hildon_button_set_arrangement)
6101 (hildon_button_set_title, hildon_button_set_value)
6102 (hildon_button_set_text)
6103 (hildon_button_construct_child): Hide the value when it's not used
6104 so the rest of the text is properly aligned.
6105 Allow creating buttons with arbitrary widgets inside (not just
6106 title/value labels).
6108 * examples/hildon-button-example.c (vertical_buttons_window)
6109 (horizontal_buttons_window): Update example to use new API.
6111 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6113 * src/Makefile.am: Added HildonTimeButton.
6114 * src/hildon-time-button.c: Added missing LGPL header.
6115 * src/hildon-time-button.h: Added missing LGPL header.
6116 * src/hildon.h: Add hildon-time-button.h
6118 Copied HildonTimeButton from sandbox to trunk. Future work on this
6119 widget must take place in trunk.
6121 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6123 * src/Makefile.am: Added HildonDateButton.
6124 * src/hildon-date-button.c: Update includes.
6125 * src/hildon.h: Add hildon-date-button.h
6127 Copied HildonDateButton from sandbox to trunk. Future work on this
6128 widget must take place in trunk.
6130 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6132 * src/Makefile.am: Added HildonPickerButton.
6133 * src/hildon-picker-button.h: Update includes.
6134 * src/hildon.h: Add hildon-picker-button.h
6136 Copied HildonPickerButton from sandbox to trunk. Future work on
6137 this widget must take place in trunk.
6139 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6141 * src/Makefile.am: Added HildonPickerDialog.
6142 * src/hildon-picker-dialog.c: Update includes.
6143 * src/hildon.h: Add hildon-picker-dialog.h
6145 Copied HildonPickerDialog from sandbox to trunk. Future work
6146 on this widget must take place in trunk.
6148 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6150 * src/Makefile.am: Added HildonTimeSelector.
6151 * src/hildon.h: Add hildon-time-selector.h
6153 Copied HildonTimeSelector widget from sandbox to trunk. Future
6154 work on this widget must happen in trunk.
6156 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6158 * src/Makefile.am: Added HildonDateSelector.
6159 * src/hildon.h: Add hildon-date-selector.h
6161 Copied HildonDateSelector widget from sandbox to trunk. Future
6162 work on this widget must happen in trunk.
6164 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6166 * src/Makefile.am: Added HildonTouchPicker.
6167 * src/hildon-touch-picker.c: Update includes.
6168 * src/hildon.h: Add hildon-touch-picker.h
6170 Copied HildonTouchPicker widget from sandbox to trunk. Future work
6171 on this widget must happen in trunk.
6173 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6175 * src/hildon-pannable-area.c:
6176 (hildon_pannable_area_motion_notify_cb): Fix a typo.
6178 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6180 * examples/hildon-app-menu-example.c (main): Let the window
6183 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6185 * src/hildon-pannable-area.c
6186 (hildon_pannable_area_class_init): Set the min value of the
6187 overshoot properties to zero, which points out that not
6188 overshooting allowed.
6190 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6192 Modified the procedure to get the widget at a point inside the
6193 pannable area when using the movement type signals. Now the user
6194 has to call a function to get the child, that way we just
6195 calculate the child in case the user really want to use it and not
6198 * src/hildon-marshalers.list: Modified the marshallers, now we do
6199 not have the widget as a parameter.
6201 * src/hildon-pannable-area.c
6202 (hildon_pannable_area_motion_notify_cb),
6203 (hildon_pannable_area_class_init),
6204 (hildon_pannable_get_child_widget_at): Removed the widget
6205 parameter from the signal callback. We have also refactored the
6206 emission of the signals.
6208 * src/hildon-pannable-area.h: Added a new method to the API to
6209 calculate a widget at a point inside the pannable area,
6210 hildon_pannable_get_child_widget_at.
6212 * examples/hildon-pannable-area-example-4.c
6213 (horizontal_movement): Modified the example to use the new API,
6214 added condition to control which widget is under the event. This
6215 way we can avoid scrolling laterally over other widgets.
6217 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6219 * src/hildon-pannable-area.c
6220 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
6221 modes, we stop getting the pointer events due to returning the
6222 callback without properly calling the get pointer again. Fixed
6223 also an error using the hscroll and vscroll.
6225 2008-07-28 Alberto Garcia <agarcia@igalia.com>
6227 * src/hildon-app-menu-private.h
6228 * src/hildon-app-menu.c (hildon_app_menu_button_press)
6229 (hildon_app_menu_button_release, hildon_app_menu_init)
6230 (hildon_app_menu_class_init): Don't hide the menu on button
6231 release if the user didn't press outside first.
6233 * src/hildon-window.h
6234 * src/hildon-window.c (hildon_window_toggle_menu)
6235 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
6236 hildon_window_toggle_menu a virtual function for the stackable
6237 window to override it.
6239 * src/hildon-stackable-window.h
6240 * src/hildon-stackable-window-private.h
6241 * src/hildon-stackable-window.c
6242 (hildon_stackable_window_realize)
6243 (hildon_stackable_window_finalize)
6244 (hildon_stackable_window_class_init)
6245 (hildon_stackable_window_init)
6246 (hildon_stackable_window_set_main_menu): New function to set the
6247 app menu of a HildonStackableWindow.
6249 * examples/hildon-app-menu-example.c: Remove the button to show
6250 the app menu, now it'll be shown when clicking on the title bar
6253 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6255 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
6256 set the widget name if the arrangement flags do not specify
6259 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6261 * src/hildon-button.c: (hildon_button_set_property),
6262 (hildon_button_class_init), (hildon_button_new_full),
6263 (hildon_button_set_arrangement): Added "arrangement-flags"
6266 Make the HildonButtonFlags a construction-only property, to allow
6267 subclasses to set them properly.
6269 2008-07-21 Tim Janik <timj@imendio.com>
6271 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
6272 insertion position after backspace, so additional digits are appended,
6275 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6277 * src/hildon-pannable-area.c,
6278 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
6279 TODO list, it was complete and removed the g_debug and g_print
6282 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6284 Added the movement modes to the hildon-pannable-area, with this
6285 modes the developers can control in which directions the widget
6286 can scroll. They can also connect to signals in order to do
6287 something when that happens, allowing applications scroll. There
6288 is an example uploaded showing how to use it.
6290 * examples/Makefile.am:
6291 * examples/hildon-pannable-area-example-4.c: Added this example of
6292 an application using the modes.
6294 * src/hildon-marshalers.list: Added a new marshaller for the new
6297 * src/hildon-pannable-area.h: Added new enumerations and flags in
6298 order to control the movement modes and the new signals to warn
6299 about the movements in the area.
6301 * src/hildon-pannable-area.c:
6302 (hildon_pannable_axis_scroll),
6303 (hildon_pannable_area_scroll),
6304 (hildon_pannable_area_motion_notify_cb),
6305 (hildon_pannable_area_get_property),
6306 (hildon_pannable_area_set_property),
6307 (hildon_pannable_area_map),
6308 (hildon_pannable_area_class_init),
6309 (hildon_pannable_area_init),
6310 (hildon_pannable_area_jump_to): Added the modes to control the
6311 movement in the widget. We have added properties to control it,
6312 signals to warn about the movements and refactored some code.
6314 2008-07-15 Alejandro G. Castro <alex@igalia.com>
6316 Changes required in order to allow vfast_factor set to zero to
6319 * src/hildon-pannable-area.c:
6320 (hildon_pannable_area_button_press_cb): Changed the condition, it
6321 is required for not allowing click when vfast_factor is zero.
6322 (hildon_pannable_area_timeout): Initialized velocity variables
6323 when we stop moving, it was less than 1 but not zero and we need
6324 to check zero in some situations.
6325 (hildon_pannable_area_class_init): Changed the default value of
6326 the speed factor, now the button_press is just sent in case the
6327 speed is 2 per cent of the max speed.
6328 (hildon_pannable_area_init): Initialization with 0.
6330 2008-07-04 Alejandro G. Castro <alex@igalia.com>
6332 * src/hildon-pannable-area.c,
6333 (hildon_pannable_area_get_topmost): replaced
6334 gdk_window_get_children with gdk_window_peek_children, this way we
6335 do not have to free the list because it is not a copy.
6337 (hildon_pannable_axis_scroll),
6338 (hildon_pannable_area_scroll),
6339 (hildon_pannable_area_timeout),
6340 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
6341 two parameters that were only used inside the
6342 hildon_pannable_area_scroll function.
6344 * examples/hildon-pannable-area-example.c,
6345 (get_sawtooth_label): Fixed small memory leak.
6347 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6349 More checks for the case where the overshoot is bigger than the
6352 * src/hildon-pannable-area.c:
6353 (hildon_pannable_draw_vscroll),
6354 (hildon_pannable_draw_hscroll): with this new calculation we avoid
6355 to draw the slider of the scrollbar under the other scrollbar.
6356 (hildon_pannable_area_expose_event): added new checks to control
6357 the drawing of the overshooting area rectangle, in case it is too
6358 big for the area of the widget.
6359 (hildon_pannable_area_size_allocate): add more checks to avoid
6360 setting a position to the child widget outside the area.
6362 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6364 * src/hildon-pannable-area.c
6365 (hildon_pannable_area_size_allocate): Added conditions to control
6366 when overshooting is bigger than the allocated space for the
6367 children, this avoids negative allocations.
6369 2008-07-02 Alberto Garcia <agarcia@igalia.com>
6371 * doc/hildon-docs.sgml
6373 * examples/Makefile.am
6374 * examples/hildon-button-example.c
6376 * src/hildon-button.c
6377 * src/hildon-button.h
6378 * src/hildon.h: Initial version of the new HildonButton widget,
6381 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
6383 * src/hildon-pannable-area.c:
6384 (hildon_pannable_area_button_press_cb),
6385 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
6386 (hildon_pannable_area_motion_notify_cb),
6387 (hildon_pannable_area_button_release_cb),
6388 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
6389 (hildon_pannable_area_jump_to_child):
6391 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
6393 2008-07-01 Alberto Garcia <agarcia@igalia.com>
6395 * examples/Makefile.am
6396 * examples/hildon-pannable-area-touch-grid-example.c
6397 * examples/hildon-pannable-area-touch-list-example.c: Examples of
6398 the Hildon Touch List and Hildon Touch Grid using the
6399 HildonPannableArea widget.
6401 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6403 * src/hildon-pannable-area.c,
6404 (hildon_pannable_area_button_press_cb),
6405 (hildon_pannable_area_refresh),
6406 (hildon_pannable_area_scroll),
6407 (hildon_pannable_area_motion_notify_cb),
6408 (hildon_pannable_area_button_release_cb),
6409 (hildon_pannable_area_expose_event),
6410 (hildon_pannable_area_add),
6411 (hildon_pannable_area_remove),
6412 (hildon_pannable_area_realize),
6413 (hildon_pannable_area_size_allocate),
6414 (hildon_pannable_area_class_init),
6415 (hildon_pannable_area_init),
6416 (hildon_pannable_area_scroll_to_child),
6417 (hildon_pannable_area_jump_to_child): Fixed the problem of
6418 removing the child from the GtkBin, we have rearranged the widget
6419 hierarchy, now there is no GtkAlignment which was not doing
6420 anything interesting but breaking some of the assumptions of
6421 GtkContainer. Now developers if they want to add a GtkAlignment
6422 they could, but it is not inside the area.
6424 We had to review the whole allocation/expose process, now it is
6425 improved and we save at least three signals which would be saving
6426 some time when rendering the widget. The allocation of the
6427 scrollbars is now made in the allocate method as usual.
6429 We have also added some conditions in order to control when there
6430 is no child of the pannable area. Maybe we will need more work
6433 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6435 * src/hildon-pannable-area.c,
6436 (hildon_pannable_area_dispose): Released the fade-out timeout when
6437 disposing the widget.
6439 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6441 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
6442 zero, we are going to use that property in order to deactivate the
6444 (hildon_pannable_axis_scroll),
6445 (hildon_pannable_area_size_allocate): Added conditions to control
6446 when overshoot_max is zero. Moved the gtk_adjustment_set_value
6447 call, now it is called in all situations and we can remove calls
6448 in the allocate method.
6449 (hildon_pannable_area_map): Control the situation when
6450 overshoot_max is zero, we do not need the timeout.
6451 (hildon_pannable_area_class_init): Added documentation in order to
6452 point out that setting zero to overshoot_max means deactivate
6455 NOTE: removed trailing whitespaces from my previous comments of
6458 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6460 * src/hildon-pannable-area.c
6461 (hildon_pannable_area_get_property),
6462 (hildon_pannable_area_set_property),
6463 (hildon_pannable_area_map),
6464 (hildon_pannable_area_class_init),
6465 (hildon_pannable_area_init): Add a boolean "initial-hint" property
6466 to cause the widget give a hint about its panning abilities upon
6469 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6471 * src/hildon-pannable-area.c: Several documentation improvements.
6473 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6475 * src/hildon-program.c
6476 * src/hildon-stackable-window.c: Update documentation.
6478 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6480 * src/hildon-stackable-window.c (get_previous_window_if_last):
6481 Renamed get_last_window()
6482 (hildon_stackable_window_map, hildon_stackable_window_unmap)
6483 (hildon_stackable_window_unset_program):
6485 (get_previous_window_if_last):
6486 Detect if the window hasn't been added to a HildonProgram.
6488 2008-06-26 Alejandro G. Castro <alex@igalia.com>
6490 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
6492 * src/hildon-pannable-area.c
6493 (hildon_pannable_area_button_press_cb),
6494 (hildon_pannable_axis_scroll),
6495 (hildon_pannable_area_scroll),
6496 (hildon_pannable_area_timeout),
6497 (hildon_pannable_calculate_vel_factor),
6498 (hildon_pannable_area_get_property),
6499 (hildon_pannable_area_set_property),
6500 (hildon_pannable_area_class_init),
6501 (hildon_pannable_area_init),
6502 (hildon_pannable_area_scroll_to),
6503 (hildon_pannable_area_jump_to),
6504 (hildon_pannable_area_scroll_to_child),
6505 (hildon_pannable_area_jump_to_child):
6506 * src/hildon-pannable-area.h: Added the new API functions:
6507 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
6508 hildon_pannable_area_scroll_to_child,
6509 hildon_pannable_area_jump_to_child
6512 * examples/Makefile.am
6513 * examples/hildon-pannable-area-example-2.c
6514 * examples/hildon-pannable-area-example-3.c: Added these two new
6515 examples in order to test and show how the new APIs work.
6517 2008-06-25 Alberto Garcia <agarcia@igalia.com>
6519 * examples/hildon-stackable-window-example.c (new_window):
6520 * src/Makefile.am (noinst_HEADERS):
6521 * src/hildon-program.c (hildon_program_go_to_root_window):
6522 * src/hildon-program.h:
6523 * src/hildon-stackable-window-private.h:
6524 * src/hildon-stackable-window.c:
6525 * src/hildon-stackable-window.h:
6526 Create hildon-stackable-window-private.h
6527 Move hildon_stackable_window_go_to_root_window() to HildonProgram
6529 * examples/hildon-app-menu-example.c (create_menu):
6530 * examples/hildon-hvolumebar-insensitive-example.c (main):
6531 * examples/hildon-hvolumebar-timer-example.c (on_idle):
6532 * examples/hildon-toolbar-seekbar-example.c (main):
6533 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
6534 * src/hildon-banner.c (hildon_banner_set_property):
6535 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
6536 Fix compilation warnings
6538 * src/hildon-window.c:
6541 2008-06-24 Alberto Garcia <agarcia@igalia.com>
6543 * src/hildon-stackable-window.c
6544 (hildon_stackable_window_unset_program):
6545 Calculate correctly whether to show the previous window if the
6546 last one is removed from the stack.
6547 (hildon_stackable_window_go_to_root_window):
6548 Send delete events starting from the topmost window.
6549 Stop if one of the windows is not destroyed.
6551 (hildon_stackable_window_delete_event)
6552 (hildon_stackable_window_class_init):
6553 Ignore the delete event if the window is not the topmost one.
6555 2008-06-24 Alejandro G. Castro <alex@igalia.com>
6557 * src/hildon-pannable-area.c
6558 (hildon_pannable_area_expose_event): Fixed a problem when
6559 selecting the background color of the scrollbars.
6561 2008-06-23 Alberto Garcia <agarcia@igalia.com>
6563 * examples/hildon-stackable-window-example.c
6564 * src/hildon-stackable-window.c
6565 * src/hildon-stackable-window.h
6566 hildon_stackable_window_go_home() renamed to
6567 hildon_stackable_window_go_to_root_window()
6568 Send delete events to windows rather than closing them with
6569 gtk_widget_destroy()
6571 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6573 * src/hildon-pannable-area.c
6574 (hildon_pannable_area_button_release_cb): Fix overshooting in
6577 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6579 * src/hildon-pannable-area.c
6580 (hildon_pannable_area_init): Initially show the scroll indicators.
6581 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
6583 Add initial effect showing the widget is pannable.
6585 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6587 * src/hildon-pannable-area.c
6588 (hildon_pannable_area_class_init)
6589 (hildon_pannable_area_set_property)
6590 (hildon_pannable_area_get_property)
6591 (hildon_pannable_area_button_press_cb):
6592 New 'velocity_fast_factor' property to decide which velocity is
6595 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6597 * src/hildon-pannable-area.c
6598 (hildon_pannable_draw_hscroll)
6599 (hildon_pannable_draw_vscroll):
6600 Use float variables to calculate the size of the scrollbars to
6601 avoid error propagation and resizing during scrolling.
6603 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6605 * src/hildon-pannable-area.c
6606 (hildon_pannable_draw_vscroll)
6607 (hildon_pannable_draw_hscroll):
6608 Define a minimum size for the scroll bars
6610 * src/hildon-stackable-window.c
6611 (hildon_stackable_window_go_home): Fix compilation warning
6612 (get_last_window): Minor optimizations
6613 (hildon_stackable_window_class_init): Fix initialization of
6616 2008-06-18 Alberto Garcia <agarcia@igalia.com>
6618 * src/hildon-stackable-window.c: Fixed typos in doc
6620 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
6622 * src/hildon-pannable-area.c
6623 (hildon_pannable_area_scroll):
6624 Calculate here whether we need to scroll instead of using the booleans
6625 that tell us whether to /draw/ the scrolling bars.
6627 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
6629 * src/hildon-app-menu.h
6631 * src/hildon-app-menu.c
6632 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
6633 multiple filter groups related code and API. Now we support only
6635 * examples/hildon-app-menu-example.c:
6637 Update to reflect API changes.
6639 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
6641 * src/hildon-stackable-window.c
6642 (hildon_stackable_window_class_init):
6643 Add hildon_stackable_window_realize.
6644 (hildon_stackable_window_realize):
6645 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
6646 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
6647 to apply theming and behavior specific to HildonStackableWindow
6650 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6652 * src/hildon-note.c (hildon_note_button_release):
6653 Close information notes also when tapping on them
6655 2008-06-12 Alejandro G. Castro <alex@igalia.com>
6657 Added BOUNCE_STEPS define to control the overshoot effect. Removed
6658 ELASTICITY, refactor and review, fix some issues with drawing
6661 * src/hildon-pannable-area.c:
6662 (hildon_pannable_area_button_press_cb): removed the conditions to
6663 avoid clicks when overshooting. It is not required
6665 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
6666 define. Refatored and reviewed the code, now we do not need to
6667 manage velocity in motion_notify.
6669 (hildon_pannable_area_motion_notify_cb): We have moved the code
6670 that controls the area_scroll to the axis_scroll function and get
6671 rid of duplicated code.
6673 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
6675 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
6677 (hildon_pannable_draw_vscroll),
6678 (hildon_pannable_draw_hscroll): Fixed the problems with the
6679 scrollbar drawing, now we do not use two surfaces, it is easier
6680 and saves resources.
6682 (hildon_pannable_area_get_property): Style modification.
6684 (hildon_pannable_area_class_init): Changed some default values.
6686 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
6688 * src/hildon-stackable-window.c: Fix some typos in the
6691 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6693 * src/hildon-dialog.c:
6694 Change indentation style
6697 (hildon_note_button_release):
6698 Use root coordinates to check if the release event happened
6701 * src/hildon-app-menu.c
6702 (hildon_app_menu_button_release):
6703 Remove unnecessary check
6705 * examples/hildon-app-menu-example.c
6707 Add cast to fix warning
6709 * src/hildon-app-menu.c
6710 (hildon_app_menu_class_init):
6711 New inner-border style property.
6712 Set all default spacings to 16
6713 (hildon_app_menu_init):
6714 Use vertical-spacing to set the space between filter buttons and
6715 regular menu buttons.
6716 Set the default container border using the inner-border value.
6718 * examples/hildon-app-menu-example.c
6720 Don't set the menu border explicitly, now we have the inner-border
6721 style property for that.
6723 2008-06-11 Alberto Garcia <agarcia@igalia.com>
6725 * src/hildon-app-menu.c (hildon_app_menu_init):
6726 Make the window modal
6728 * src/hildon-note.c (hildon_note_map)
6729 * src/hildon-app-menu.c (hildon_app_menu_map):
6730 Destroy the grab window if we're unable to grab the pointer
6732 * src/hildon-app-menu-private.h
6733 * src/hildon-app-menu.c
6734 (hildon_app_menu_init, hildon_app_menu_finalize)
6735 (hildon_app_menu_map, hildon_app_menu_unmap)
6736 (hildon_app_menu_button_release)
6737 (grab_transfer_window_get):
6738 Bring back the grab window
6739 (hildon_app_menu_realize):
6740 Decorate the window, set WM hint for Matchbox
6742 * src/hildon-note.c (hildon_note_realize):
6743 * src/hildon-banner.c (hildon_banner_realize):
6744 Add WM hints for Matchbox
6746 2008-06-10 Alberto Garcia <agarcia@igalia.com>
6748 * src/hildon-app-menu-private.h
6749 * src/hildon-app-menu.c
6750 (hildon_app_menu_init, hildon_app_menu_finalize)
6751 (hildon_app_menu_map, hildon_app_menu_unmap)
6752 (hildon_app_menu_button_release):
6753 Remove the grab window, it's not needed anymore
6755 * src/hildon-program.c
6756 Fixed typo in documentation
6758 * src/hildon-app-menu.h
6759 * src/hildon-app-menu.c
6760 * examples/hildon-app-menu-example.c
6761 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
6763 2008-06-09 Alberto Garcia <agarcia@igalia.com>
6766 Added new transfer_window and close_if_pressed_outside private
6768 (hildon_note_rebuild):
6769 Don't add a cancel button to the information note. It will be
6770 closed when tapping outside
6771 Remove the comment about the OK button in the documentation
6772 (hildon_note_realize):
6773 Set the notification type hint
6774 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
6775 Grab/ungrab pointer and keyboard if the note has to be closed when
6777 (hildon_note_button_release):
6778 Close the note when tapping outside (if applicable)
6780 * src/hildon-app-menu.c
6781 Grab/ungrab pointer and keyboard on map/unmap
6782 (hildon_app_menu_button_release, hildon_app_menu_class_init):
6783 Close the menu on button release, not button press
6785 * src/hildon-banner.c
6786 (hildon_banner_set_property)
6787 (hildon_banner_check_position):
6788 Make the banner use the full width of the screen
6789 (hildon_banner_show_information)
6790 (hildon_banner_show_information_with_markup):
6791 Don't display an icon by default
6793 2008-06-09 Alejandro G. Castro <alex@igalia.com>
6795 Added fading scrollbars and adapted all the overshooting code to
6796 horizontal scrolling. We have also fixed bugs with overshooting
6797 and current fading implementation.
6799 * src/hildon-pannable-area.c
6800 (hildon_pannable_area_scroll_indicator_fade): Time out function
6801 used to change the transparency of the scrollbars.
6803 (hildon_pannable_area_button_press_cb): Added horizontal overshot
6804 control and fixed a problem with fading, we now remove the fade
6805 timeout before adding a new one.
6807 (hildon_pannable_axis_scroll):
6808 (hildon_pannable_area_scroll):
6809 (hildon_pannable_area_timeout): Added this functions so we can use
6810 the scroll code both for vertical and horizontal.
6812 (hildon_pannable_area_motion_notify_cb):
6813 (hildon_pannable_area_button_release_cb): Added the horizontal
6814 scrolling control, fixed a problem with the overshooting timeout.
6816 (rgb_from_gdkcolor): Added this function, it is used in the cairo
6817 painting of the scrolls.
6819 (hildon_pannable_draw_vscroll):
6820 (hildon_pannable_draw_hscroll):
6821 (hildon_pannable_area_expose_event):
6822 Draw both scrollbars and rectangles in the overshooting area.
6824 (hildon_pannable_area_get_property):
6825 (hildon_pannable_area_set_property):
6826 Modified the overshoot property to overshoot_max
6828 (hildon_pannable_area_map):
6829 Replaced the comments symbols.
6831 (hildon_pannable_area_size_allocate):
6832 (hildon_pannable_area_class_init):
6833 (hildon_pannable_area_init): Added horizontal scroll, fading
6834 effect properties, fixed a problem when overshooting in the bottom
6837 * examples/hildon-pannable-area-example.c:
6838 (get_sawtooth_label): Now we use smaller sawtooths, the effect
6839 looks better in the example.
6841 2008-06-03 Alberto Garcia <agarcia@igalia.com>
6843 * src/hildon-window.c
6844 * src/hildon-window.h
6845 (hildon_window_class_init)
6846 (hildon_window_unset_program)
6847 (hildon_window_unset_program_real):
6848 Make unset_program a virtual function
6850 * src/hildon-stackable-window.c
6851 * src/hildon-stackable-window.h
6852 Added hildon_stackable_window_go_home()
6854 * examples/Makefile.am
6855 * examples/hildon-stackable-window-example.c
6856 HildonStackableWindow example
6858 2008-06-03 Alejandro G. Castro <alex@igalia.com>
6860 * hildon-pannable-area.c: Added the overshoot property and removed
6861 the OVERSHOOT define. Fixed an indent style error.
6862 (hildon_pannable_area_motion_notify_cb):
6863 (hildon_pannable_area_get_property):
6864 (hildon_pannable_area_set_property): Add overshoot property.
6866 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
6869 (hildon_pannable_area_class_init): Installed the new property.
6871 * hildon-pannable-area-example.c: Added a sawtooth function, this
6872 way it is easier to check the movement in the pannable.
6873 (get_sawtooth_label): Added this function.
6874 (main): Now we get the labels from the new get_sawtooth_label
6877 2008-05-26 Alberto Garcia <agarcia@igalia.com>
6879 * src/hildon-app-menu.h
6880 * src/hildon-app-menu.c
6881 Renamed API variables for consistency
6883 (hildon_app_menu_popup): Use also the default window size to
6884 decide where to place the menu
6886 (hildon_app_menu_init, hildon_app_menu_class_init): New
6887 external-border style property
6889 2008-05-26 Michael Natterer <mitch@imendio.com>
6891 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
6892 widget_class->tap_and_hold_setup signal slot doesn't exist any
6893 longer, stop overriding it.
6895 (hildon_time_editor_init): g_signal_connect() to the
6896 tap-and-hold-setup signal instead.
6898 (hildon_time_editor_entry_keypress): add cast to fix warning.
6900 2008-05-23 Alberto Garcia <agarcia@igalia.com>
6902 * doc/hildon-docs.sgml
6904 * examples/Makefile.am
6905 * examples/hildon-app-menu-example.c
6907 * src/hildon-app-menu-private.h
6908 * src/hildon-app-menu.c
6909 * src/hildon-app-menu.h
6911 New HildonAppMenu widget
6913 2008-05-21 Alejandro G. Castro <alex@igalia.com>
6915 Rearranged the inheritance of the pannable area, now it inherits
6916 from GtkBin. This will allow us to control the event_window and
6917 the allocation process of the widget, required for some effects.
6919 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
6920 GtkBin structures. * src/hildon-pannable-area.c: Added the
6921 event_window variable.
6922 (hildon_pannable_area_button_press_cb):
6923 (hildon_pannable_area_button_release_cb):
6924 (hildon_pannable_area_motion_notify_cb):
6925 Changed the signature of the method, now we override the event
6926 callback instead of connecting to the signal.
6928 (hildon_pannable_area_realize):
6929 (hildon_pannable_area_unrealize):
6930 (hildon_pannable_area_map):
6931 (hildon_pannable_area_unmap):
6932 (hildon_pannable_area_size_allocate):
6933 Added functions to control the widget construction. We add a
6934 INPUT_ONLY window and we put it over the widgets inside the
6935 container, this event_window handles the events.
6937 (hildon_pannable_area_class_init):
6938 Replaced the signal connections with overrides of the event
6941 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6943 Bouncing effect added when touching the borders, you can change
6944 the elasticity of the border changing the ELASTICITY define.
6946 * src/hildon-pannable-area.c: Added ELASTICITY define.
6947 (hildon_pannable_area_timeout): Added inverse velocity when
6948 touching the border of the child widget, that causes a bounce.
6950 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6952 Improved performance, we now do not go to the X server in order to
6953 get the list of window children. Apparently the effect is the
6954 same, we have to be careful and check if this breaks something in
6957 * src/hildon-pannable-area.c:
6958 (get_ordered_children): Removed this function.
6959 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
6960 the children windows function with gdk_window_get_children.
6962 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6964 * src/hildon-pannable-area.c:
6965 (hildon_pannable_area_dispose): Fixed a crash when closing the
6966 window and kinetics is activated.
6968 2008-05-19 Alberto Garcia <agarcia@igalia.com>
6970 * src/hildon-pannable-area.h
6971 * src/hildon-pannable-area.c
6972 Changed indentation style to meet the one used in Hildon
6974 2008-05-19 Alejandro G. Castro <alex@igalia.com>
6976 Reviewed the interaction of the AUTO mode, now we use the time
6977 attribute of the events and calculate the velocity in the motion,
6978 doing a gimp like calculation. The velocity is calculated in each
6979 motion event using the last velocity and the current one, the
6980 SMOOTH_FACTOR controls the percentage of the new velocity we use.
6982 * src/hildon-pannable-area.c: Replaced the time based algorithm
6984 (hildon_pannable_area_motion_notify_cb): now we do not launch the
6985 timeout for the AUTO mode when we are still moving the cursor. We
6986 added also the velocity calculation in this function.
6987 (hildon_pannable_area_button_release_cb): launch the timeout in
6988 case we are in AUTO mode. There are still some constants here that
6989 come from the old implementation that should be reviewed and
6992 2008-05-15 Alberto Garcia <agarcia@igalia.com>
6994 * doc/hildon-docs.sgml
6997 * src/hildon-stackable-window.c
6998 * src/hildon-stackable-window.h
7000 New HildonStackableWindow widget
7002 * examples/hildon-dialog-example.c
7003 * examples/hildon-pannable-area-example.c
7006 2008-05-14 Alberto Garcia <agarcia@igalia.com>
7008 * src/hildon-dialog.c
7009 (hildon_dialog_new_with_buttons): New constructor.
7011 * examples/hildon-dialog-example.c
7012 (main): Update the example to use the new
7013 hildon_dialog_new_with_buttons().
7015 * examples/hildon-pannable-area-example.c
7016 (main): Update example.
7018 2008-05-13 Alberto Garcia <agarcia@igalia.com>
7020 * doc/hildon-docs.sgml
7022 Added HildonPannableArea to the documentation.
7024 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
7026 * doc/visual_index.xml
7027 Fix reference to HildonLoginDialog in documentation
7029 * doc/hildon-docs.sgml
7031 * examples/Makefile.am
7032 * examples/hildon-dialog-example.c
7034 * src/hildon-dialog.c
7035 * src/hildon-dialog.h
7037 New HildonDialog widget.
7039 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7041 * src/hildon-pannable-area.c
7042 Merge latest changes (r4318, r4342) from libmokoui trunk
7044 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7046 * examples/Makefile.am
7047 * examples/hildon-pannable-area-example.c
7049 * src/hildon-pannable-area.c
7050 * src/hildon-pannable-area.h
7052 New HildonPannableArea widget.
7054 2008-04-15 18:05:19 <timj@imendio.com>
7056 * src/hildon-banner.c: revert the recent change, that introduced
7057 gtk_window_present() calls. this reopens:
7058 Bug 78481 - [freetest] information banners are hidden under browser menu
7059 But resolves another variant of:
7060 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7062 2008-04-15 13:21:13 <timj@imendio.com>
7064 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
7065 recreated its layout, spotted by Kris. this fixes all remaining
7066 artefacts and stability issues with the banner code. in particular:
7067 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7069 2008-04-14 16:52:59 <timj@imendio.com>
7071 * src/hildon-banner.c: guard force_to_wrap_truncated() against
7072 operating on unrealized widgets, fixes:
7073 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7075 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
7077 2008-04-09 Kristian Rietveld <kris@imendio.com>
7079 Fixes: NB#77775: Media Player, Save Now playing list, too long name
7080 makes banner disappear.
7081 Fixes: NB#79182: info banner flickering with certain message lengts.
7083 * src/hildon-banner.c (hildon_banner_constructor),
7084 (hildon_banner_init), (hildon_banner_set_text),
7085 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
7086 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
7087 FALSE, reset size requests of label and banner,
7088 (force_to_wrap_truncated): when the text is too wide, always enforce
7089 the maximum possible width instead of recalculating it from the
7090 layout; enforce the maximum banner height of 3 lines,
7091 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
7092 nicer wrapping and no truncated chars if space gets tight.
7094 * src/hildon-banner-private.h: add has_been_wrapped and
7095 has_been_truncated fields.
7097 2008-04-07 Sven Herzberg <sven@imendio.com>
7099 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
7100 local values in hildon_date_editor_size_allocate
7102 * src/hildon-date-editor.c: moved the real allocation code into the
7105 2008-04-07 Sven Herzberg <sven@imendio.com>
7107 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7108 local values in hildon_date_editor_size_allocate
7110 * src/hildon-date-editor.c: merged the two if() branches together
7112 2008-04-07 Sven Herzberg <sven@imendio.com>
7114 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7115 local values in hildon_date_editor_size_allocate
7117 * src/hildon-date-editor.c: changed the arguments of the if()
7120 2008-04-07 Sven Herzberg <sven@imendio.com>
7122 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7123 local values in hildon_date_editor_size_allocate
7125 * src/hildon-date-editor.c: split the calculation of the allocation
7126 from the real allocation
7128 2008-03-27 Michael Natterer <mitch@imendio.com>
7130 Fixes: NB#81696: The passcode is not overwritten even after
7133 * src/hildon-code-dialog.c
7134 (hildon_code_dialog_button_clicked)
7135 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
7136 because that doesn't overwrite selected text. Instead, emit the
7137 "commit" signal on the entry's im_context so the entry's normal
7138 insert logic is triggered. Set the cursor to the end of the entry
7139 after each insert operation so that we *only* insert in the middle
7140 of the text if something was selected.
7142 2008-03-27 Michael Natterer <mitch@imendio.com>
7144 Enable fixing: NB#79916 and NB#79918: The help topic for Color
7145 selector cannot be opened
7147 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
7148 when the popup color selector is created. Please connect to this
7149 signal in order to set the dialog's help ID.
7151 2008-03-25 Sven Herzberg <sven@imendio.com>
7153 Fixes: MB#1212: Hide info banners (infoprints) on click
7155 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
7156 extracted the close event simulation into an extra function
7157 (hildon_banner_button_press_event): simulate a close event and destroy
7158 the widget if the event wasn't handled
7159 (hildon_banner_class_init): added the button_press_event handler
7160 (hildon_banner_init): added button-press events to the widget
7162 2008-03-25 Sven Herzberg <sven@imendio.com>
7164 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
7165 Patch from: Mohammad Anwari <mdamt@maemo.org>
7167 * src/hildon-banner.c: let the HildonBanners pop up on the left side
7168 instead of the right in RTL mode
7169 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
7170 breadcrumb button list in RTL mode
7171 * src/hildon-caption.c: mirror the appearance of the caption widget in
7173 * src/hildon-date-editor.c: mirror appearance of the date editor in
7175 * src/hildon-time-editor.c: mirror appearance of the time editor in
7177 * src/hildon-window.c: fix the position of the popup in RTL mode
7179 2008-03-25 Sven Herzberg <sven@imendio.com>
7181 Amendment to the fix of NB#22072. Fix compilation.
7183 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
7185 2008-03-19 Sven Herzberg <sven@imendio.com>
7187 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
7190 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
7191 timeout id properly when the timeout will disappear this leaves no
7192 artifacts around in the destroy(); there will only be the timeout
7193 created by hildon_banner_ensure_timeout() and adding a new timeout
7194 will also work if the timeout gets removed because the timeout_handler
7197 2008-03-19 Michael Natterer <mitch@imendio.com>
7199 Fixes: NB#79791: Cannot set focus to Master volume using stylus
7201 * src/hildon-volumebar.c
7202 * src/hildon-vvolumebar.c
7203 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
7204 the widget becomes focussable at all.
7206 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
7207 set the focus to wither the mute button or the volumebar.
7209 Remove own "can-focus" property and instead listen to
7210 notify::can-focus in order to update the widget's state.
7212 Implement GtkWidget::focus() and make sure we can also *leave* the
7213 widget, not only enter it, depending on volumebar orientation and
7214 requested focus direction.
7216 Clean up set_mute() to cooperate nicely with all the above.
7218 2008-03-04 Michael Natterer <mitch@imendio.com>
7220 Fixes: NB#78481: information banners are hidden under browser menu
7222 * src/hildon-banner.c: call gtk_window_present() on the banners so
7223 they are risen if they are already visible.
7225 2008-03-03 Sven Herzberg <sven@imendio.com>
7227 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
7229 * examples/hildon-window-menu-example.c: (main): extended the window
7230 menu example to serve as a testcase for automatically added
7231 accelerator groups, too
7232 * src/hildon-window.c: (hildon_window_add_accel_group),
7233 (hildon_window_set_menu): added patch by Tommi Komulainen
7235 2008-03-03 Sven Herzberg <sven@imendio.com>
7237 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
7239 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
7240 knowledge about the border allocators used within GTK+
7242 2008-02-26 Sven Herzberg <sven@imendio.com>
7244 Fixes: MB#2981: Build with asserts broken
7246 * src/hildon-date-editor.c,
7247 * src/hildon-number-editor.c,
7248 * src/hildon-time-editor.c,
7249 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
7250 the proper GType instance check
7252 2008-02-25 Sven Herzberg <sven@imendio.com>
7254 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
7256 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
7257 * examples/hildon-window-menu-example.c: (main): explicitly show
7259 * src/hildon-window.c:
7260 (hildon_window_set_main_menu): moved most of the code from set_menu()
7261 to this place; skipped the call to gtk_widget_show_all(); also didn't
7262 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
7263 (hildon_window_set_menu): removed most of the code, just keep the
7264 questionable gtk_widget_show_all()
7265 * src/hildon-window.h: added the new function and deprecate the old
7268 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7274 * debian/changelog: Updating.
7276 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7279 * pkgconfig/Makefile.am:
7280 * pkgconfig/hildon.pc.in:
7283 Do not use PACKAGE_VERSION_MAJOR as the API revision,
7284 use newly created API_MAJOR_VERSION.
7286 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7292 * debian/changelog: Updating.
7294 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7296 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
7298 Add outer_border style property, we use it but don't define it (!).
7302 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
7304 * examples/hildon-bread-crumb-trail-example.c (main):
7308 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
7310 Fix logic for the bread crumb trail node removal.
7314 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7320 * debian/changelog: Updating.
7322 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7324 Patch by Alejandro to get/set passwords dialogs accesibility.
7326 * hildon-1/src/hildon-get-password-dialog.c:
7327 * hildon-1/src/hildon-set-password-dialog.c:
7328 Set atk_set_name to the passwd entries in order to allow
7329 accessibility by name on this entries.
7331 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7336 * debian/control: Updating gtk dep.
7338 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
7340 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
7341 USE_MAEMO_GTK is enabled.
7343 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
7345 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
7346 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
7348 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7354 * debian/changelog: Updating.
7356 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7358 * examples/Makefile.am:
7359 * examples/hildon-logical-color-example.c:
7360 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
7361 applied + adding a test case. Fixes: NB#71660.
7363 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
7365 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
7366 to be visible, fixes warning on map for windows without toolbars.
7368 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
7370 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
7371 2.11.0, add a check for that besides the MAEMO_GTK check.
7373 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7379 * debian/changelog: Updating.
7381 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7383 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
7384 visibility. Fixes: NB#70842 and MB#615.
7386 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7388 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
7389 set the separator as no-show-all so it doesn't unintentionally appear when
7390 someone does a show_all.
7392 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7394 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
7395 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
7396 toplevel item. Fixes: NB#62031
7398 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
7400 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
7401 fix the name of the function in the docs.
7403 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7409 * debian/changelog: Updating.
7411 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7413 * examples/hildon-banner-long-example.c: Adding a test-case for long
7416 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
7418 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7420 * src/hildon-color-chooser-dialog.c:
7421 * src/hildon-color-chooser.c:
7422 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
7423 memory leaks in font selector and color selector. Fixes: NB#70499 and
7426 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
7428 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
7430 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7432 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
7433 little bit bigger. Fixes: #NB63694.
7435 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7441 * debian/changelog: Updating.
7443 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7446 * doc/hildon-docs.sgml:
7447 * doc/images/bread-crumb-trail.png:
7448 * doc/images/calendar-popup.png:
7449 * doc/images/caption.png:
7450 * doc/images/code-dialog.png:
7451 * doc/images/color-button.png:
7452 * doc/images/color-chooser-dialog.png:
7453 * doc/images/color-chooser.png:
7454 * doc/images/controlbar.png:
7455 * doc/images/date-editor.png:
7456 * doc/images/font-selection-dialog.png:
7457 * doc/images/get-password-dialog.png:
7458 * doc/images/hvolumebar.png:
7459 * doc/images/login-dialog.png:
7460 * doc/images/note.png:
7461 * doc/images/number-editor.png:
7462 * doc/images/range-editor.png:
7463 * doc/images/seekbar.png:
7464 * doc/images/set-password-dialog.png:
7465 * doc/images/sort-dialog.png:
7466 * doc/images/time-editor.png:
7467 * doc/images/time-picker.png:
7468 * doc/images/vvolumebar.png:
7469 * doc/images/weekday-picker.png: Adding the new generated widget shots.
7470 Adding the bread-crumb-trial and helpers to the documentation.
7472 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7474 * examples/hildon-find-toolbar-example.c:
7475 * src/hildon-find-toolbar.c:
7476 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
7477 actually continue firing the other handlers if connected. Adding a new
7479 hildon_find_toolbar_get_last_index that gets the index of the most
7480 recently added (last) item. Fixes: NB#52301.
7482 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7484 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
7485 behaviour. Fixes: NB#68610.
7487 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7489 * src/hildon-banner.c: Actually reverting the previous change. It somehow
7492 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7494 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
7495 when realizing the banner. Should make the infonbanner effect a bit more
7498 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7500 * src/hildon-volumebar.c:
7501 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
7502 hildon_volumebar_set_range_insensitive_message and
7503 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
7505 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7507 * src/hildon-window.c: Fixing the border freeing on destroy.
7509 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7511 * src/hildon-code-dialog-private.h:
7512 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
7513 kw keyboard support in HildonCodeDialog.
7515 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7521 * debian/changelog: Updating.
7523 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7525 * src/hildon-date-editor.c:
7526 * src/hildon-number-editor.c:
7527 * src/hildon-private.c:
7528 * src/hildon-private.h:
7529 * src/hildon-time-editor.c:
7530 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
7531 handling in subclassed composite widgets. Fixes: NB#66628.
7533 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7535 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
7536 from destroy_ callback as it introduces problems in async dbus signal
7537 handlers. Fixes NB#66673.
7539 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7541 * examples/hildon-hvolumebar-example.c:
7542 * src/hildon-volumebar.c: Improving the focus handling in the
7543 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
7544 set_property accessor so that "mute" property can be actually set. I'm
7545 scared that nobody noticed it's totally broken.
7547 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7549 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
7552 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7554 * src/hildon-calendar.c:
7555 * src/hildon-number-editor.c:
7556 * src/hildon-time-picker.c: Changing the timeout repeat so that it
7557 matches the spec of 6 chars per second. Fixes: NB#60489.
7559 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7561 * src/hildon-helper.c: Really fixing NB#58352. Looks like
7562 gtk_style_lookup_color sometime returns FALSE even though color was
7563 found and values were filled properly. Weird. Removing the warning for the
7566 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7568 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
7569 expand vertically. Adding some extra space to the find toolbar buttons to
7570 make them thumbable. Fixes NB#66060.
7572 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7574 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
7575 popup with "Ok" and "Cancel". Fixes NB#59299.
7577 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7579 * src/hildon-calendar.c: Process all window updates before executing next
7580 timeout. Fixes: NB#54146.
7582 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7588 * debian/changelog: Updating.
7590 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7592 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
7593 the client event and ignore it, since we use the delete event to close
7596 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7598 * src/hildon-helper.c: Remove the bogus warning about color not being
7599 found. Fixes NB#58352.
7601 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7603 * examples/Makefile.am:
7604 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
7605 HildonSeekbar widget inside a toolbar.
7607 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7609 * src/hildon-banner.c (hildon_banner_init): mark the banners as
7610 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
7611 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
7612 don't want to be closed by non-temporary windows on map.
7614 Also use G_DEFINE_TYPE instead of manually typed code.
7616 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7623 * debian/rules: Updating.
7625 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7627 * examples/Makefile.am:
7628 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
7629 bug NB#61128. Strangely it works.
7631 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7633 * src/hildon-date-editor.c: When the date editor entry has been changed
7634 but the numbers of characters < max, turn off the skip validation flag.
7635 Prevents a situation when we enter first a valid year and later re-write
7636 it with an invalid one. Fixes NB#60154.
7638 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7640 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
7641 code dialog. Fixes NB#64355.
7643 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7645 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
7646 switching the page. Fixes NB#49374.
7648 * examples/Makefile.am:
7649 * examples/hildon-wizard-dialog-example.c: Adding an example for
7650 HildonWizardDialog that shows how to handle manual sensitivity setting on
7653 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7657 * src/hildon-version.h.in:
7658 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
7660 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7662 * src/hildon-volumebar.c: Updating the docs.
7664 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7670 * debian/changelog: Updating.
7672 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7674 * src/hildon-find-toolbar.c:
7675 * src/hildon-find-toolbar.h: Adding a few new functions to control the
7676 selected item: hildon_find_toolbar_set_active,
7677 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
7678 hildon_find_toolbar_get_active_iter . They correspond to respective
7679 GtkComboBox functions.
7681 * examples/Makefile.am:
7682 * examples/hildon-find-toolbar-example.c: Adding the example to test the
7685 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7687 * examples/Makefile.am:
7688 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
7691 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
7692 when font size > 32 and we pack a focusable widget inside. Actually using
7693 the default response would work too, but since we don't show default
7694 response state in any way (no theming) it would not be visible to the
7695 user. Fixes NB#63430.
7697 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7699 * src/hildon-date-editor.c: Adding the missing variable setter in the
7700 set_property handler. Fixes NB#54182.
7702 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7704 * src/hildon-window.h: Changing the long key press time from 1500ms to
7705 800ms as requested in NB#63700. I have a bad feeling about this, let's
7706 see... Fixes NB#63700.
7708 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
7710 * src/hildon-time-picker.c (hildon_time_picker_class_init,
7711 hildon_time_picker_map, hildon_time_picker_realize,
7712 hildon_time_picker_style_set): Split the contents of map to more
7713 appropriate functions; set window decorations on realize and update
7714 arrows' size requisitions on style-set. Avoids unnecessary resizing.
7716 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
7721 * debian/changelog: Updating.
7723 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
7725 * src/Makefile.am: fixed installation of the header files
7727 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7733 * debian/changelog: Updating.
7735 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7737 * configure.ac: Removing some remaining of --enable-xan.
7739 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
7741 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
7742 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
7744 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
7745 2.10.12-osso6 because the move-focus signal needs to be available in
7748 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7750 * examples/Makefile.am:
7751 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
7752 that makes a HildonVolumebar insensitive before mapping it. Seems to work
7753 fine. Prolly NB#61128 is fixed now.
7755 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7757 * src/hildon-volumebar.c:
7758 * src/hildon-volumebar.h: Adding the
7759 hildon_volumebar_set_range_insensitive_message and
7760 hildon_volumebar_set_range_insensitive_messagef functions to set
7761 insensitive message on the slider of the volumebar. Fixes NB#61129.
7763 * examples/Makefile.am:
7764 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
7765 test the new insensitive messsage functionality on HildonVolumebar.
7767 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
7769 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
7772 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
7774 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
7775 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
7776 button on after clearing the trail.
7778 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7780 * src/hildon-code-dialog.c: Removing the separator from the dialog.
7782 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7784 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
7785 by splitting the installed headers in generated and non-generated groups. Use
7786 only the non-generated headers to create the hildon-enum-types.h file.
7788 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
7790 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7792 * src/hildon-window.c: Hide the window before performing the destroy.
7793 Should make the app closing a little tiny bit more snappy.
7795 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7797 * src/hildon-seekbar.c: add gtkrange.h header
7798 * src/hildon-caption.c: remove unused variable
7800 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
7802 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
7805 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7811 * debian/changelog: Updating.
7813 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
7815 * src/hildon-window.c (hildon_window_window_state_event,
7816 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
7817 escape timeout on focus-out-event rather than notify::is-topmost; the
7818 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
7820 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7822 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
7823 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
7825 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7827 * src/hildon-window: actually, you need to use the macro always, there's
7828 no private pointer in the instance structure. We should have cleaned this up
7829 when we had the chance...
7831 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7833 * src/hildon-window.c: do not get the private date from HildonWindow before
7834 it passes the g_return_if_fail check. Once it's passed the test, there's no
7835 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
7836 if you are only going to access the data once. Whitespace cleanups.
7838 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
7840 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
7841 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
7843 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7849 * debian/changelog: Updating.
7851 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7853 * src/hildon-window.c: When destroying the window, remove (if exists) the
7854 escape timeout handler. Fixes #NB59276.
7856 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7858 * src/hildon-banner.c: When realizing the widget, set the window
7859 transiency. Setting the transiency in the gobject constructor is not
7860 good, as the widget is not realized at that point. Fixes: #NB56624.
7862 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7864 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
7865 Add padding for future expansions.
7867 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7869 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
7870 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
7871 will fake an activation on the previous to the last item of the trail, so
7872 the effect can be overrided by the developer as usual.
7873 Also change the callback for the back button to do the same thing, so its
7874 effect can be overrided too. Fixes: NB#58982
7876 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7878 * src/hildon-caption.c: Implementing the proper focus grabbing in the
7879 HildonCaption. Fixes NB#52379.
7881 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7883 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
7884 the internal state of the trail after the user has had the chance of executing
7885 his handler for the signal. Specifically, it may happen that the activated button
7886 is removed and the user still lets the default handler run. This would segfault
7889 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7891 * src/hildon-font-selection-dialog.c: When the font is really big, add the
7892 scrollbar to the preview dialog. Fixes NB#54147.
7894 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7896 * src/hildon-date-editor.c: Changing the default max year to 2037. The
7897 max/min year properties can be altered, so the client can modify it
7898 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
7900 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7902 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
7903 hildonlike by default. Fixing a problem with disappearing arrows when
7904 scrolling through months and years. Fixes NB#54127.
7906 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7908 * examples/hildon-date-editor-example.c: Adding error callback to the date
7911 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7917 * configure.ac: Updating.
7919 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7921 * configure.ac: Adding a special '--enable-xan' configure option that
7922 turns off the -Werror compilation setting. Usefull for development.
7924 * src/hildon-calendar.c:
7925 * src/hildon-number-editor.c:
7926 * src/hildon-time-picker.c: Adding the 5* multiplier to
7929 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
7931 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
7932 instead of g_object_ref + gtk_object_sink.
7934 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7940 * debian/changelog: Updating.
7942 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7944 * src/hildon-color-chooser-dialog.c:
7945 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
7946 straight from Tommi labs.
7948 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7950 * examples/hildon-finger-example.c: Correcting the header file path.
7952 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
7953 the changed signal. Fixes a small memory leak.
7955 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7959 * src/hildon-banner.c: Importing several usefull fixes from the
7960 ubuntu-mobile branch.
7962 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7964 * examples/Makefile.am:
7965 * examples/hildon-finger-example.c: Adding a finger-checking code
7968 * src/hildon-font-selection-dialog.c: Do not allocate the color
7969 structure using the g_new. Fixes NB#54061.
7971 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7973 * src/hildon-helper.c: Correcting tabs in file.
7975 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
7977 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
7978 control the visibility of the children.
7980 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
7982 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7988 * debian/changelog: Updating.
7990 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7992 * src/hildon-bread-crumb-trail.c:
7993 (hildon_bread_crumb_trail_size_allocate):
7995 Make the back button always a square.
7997 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7999 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
8000 from the .c file as it's a private file.
8002 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8004 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
8005 uses slightly bigger height.
8007 * src/hildon-font-selection-dialog.c: Adding some checks before
8008 freeing memory in the font selection dialog.
8010 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8012 * src/hildon-font-selection-dialog.c: Adding a small check when
8015 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
8016 buttons sensitivity on page switching.
8018 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
8020 * src/hildon-bread-crumb-trail.c: make the add method handle all the
8021 internal details of adding a bread crumb to the trail.
8023 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8029 * debian/changelog: Updating.
8031 * src/hildon-bread-crumb-trail.h:
8032 * src/hildon-bread-crumb.h: Changing the API guard to
8033 HILDON_ENABLE_UNSTABLE_API.
8035 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8043 * src/hildon-helper.h: Updating.
8045 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8053 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8057 * src/hildon-helper.h: Small fix to make the package actually compile.
8059 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8061 * src/hildon-bread-crumb-trail.h:
8062 * src/hildon-bread-crumb.h:
8064 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
8065 to define ENABLE_UNSTABLE_API in the code that includes these headers.
8067 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8069 * examples/hildon-bread-crumb-trail-example.c:
8071 * src/hildon-bread-crumb-trail.c:
8072 * src/hildon-bread-crumb-trail.h:
8073 * src/hildon-bread-crumb.c:
8074 * src/hildon-bread-crumb.h:
8075 * src/hildon-marshalers.list:
8076 * src/hildon-bread-crumb-widget.c:
8077 * src/hildon-bread-crumb-widget.h:
8079 Slight change in the widget design. The bread crumb trail API is
8080 unchanged, but HildonBreadCrumb is now an interface. A *private*
8081 implementation, hildon-bread-crumb-widget, is provided and used
8082 internally by the trail for the push_text/push_icon functions.
8084 The generic push API is still available, so anyone can implement
8085 and use its own bread crumb widget.
8087 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8089 * debian/rules: Fixing the shlibs.
8091 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8093 * src/hildon-banner.c: Fixing a problem with timed banners having
8094 their parrent destroyed before they are.
8096 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
8098 * src/hildon-bread-crumb.c:
8099 * src/hildon-bread-crumb.h:
8101 Make the get_natural_size function a vfunc.
8103 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8105 * src/hildon-bread-crumb.c:
8106 * src/hildon-bread-crumb-trail.c:
8110 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8117 * debian/changelog: Updating for release.
8119 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8121 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
8122 don't leak the pango layout.
8124 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8127 * examples/hildon-bread-crumb-trail-example.c:
8131 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8133 * debian/changelog: Removing the bug-fixed entries that were actually
8134 resolved as WONTFIX.
8136 * src/hildon-date-editor.c: Removing a redundant check. Fixes
8139 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8141 * src/hildon-bread-crumb-trail.c:
8142 * src/hildon-bread-crumb-trail.h:
8143 * src/hildon-bread-crumb.c:
8144 * src/hildon-bread-crumb.h:
8148 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8150 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
8151 until it's passed the type check.
8153 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8155 * examples/hildon-bread-crumb-trail-example.c
8159 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8161 * examples/Makefile.am
8162 * examples/hildon-bread-crumb-trail-example.c
8164 * src/hildon-bread-crumb-trail.c
8165 * src/hildon-bread-crumb-trail.h
8166 * src/hildon-bread-crumb.c
8167 * src/hildon-bread-crumb.h
8169 New HildonBreadCrumbTrail widget.
8171 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
8173 * src/hildon-range-editor.c (hildon_range_editor_init),
8174 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
8175 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
8176 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
8177 hildon_time_editor_class_init, hildon_time_editor_init),
8178 src/hildon-get-password-dialog.c (invalid_input,
8179 hildon_get_password_set_property, hildon_get_password_get_property,
8180 create_contents, hildon_get_password_dialog_set_max_characters),
8181 src/hildon-set-password-dialog.c (create_contents),
8182 src/hildon-date-editor.c (hildon_date_editor_init),
8183 src/hildon-login-dialog.c (hildon_login_dialog_init),
8184 src/hildon-number-editor.c (hildon_number_editor_init),
8185 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
8186 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
8187 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
8188 configure option and adding the respective checks in the code.
8189 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
8190 hildon_calendar_drag_data_received): fixed some build warnings.
8192 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8194 * debian/changelog: A 1.0.0 release notes.