1 2009-05-20 Alberto Garcia <agarcia@igalia.com>
3 * hildon/hildon-entry.c
4 (hildon_entry_class_init, +set_property, hildon_entry_new)
5 * hildon/hildon-check-button.c
6 (hildon_check_button_class_init)
7 (+set_property, hildon_check_button_new):
8 Make the theme size a property.
10 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
11 others) do too much in the _new function)
13 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
15 * configure.ac: post release version bump
16 * debian/changelog: post release version bump
18 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
23 * configure.ac: Bump version.
24 * debian/changelog: Updates.
26 2009-05-15 Alberto Garcia <agarcia@igalia.com>
29 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
30 New API function to take a screenshot of a window
32 Fixes: NB#106374 (Need API to take a loading screenshot)
34 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
36 * hildon/hildon-time-selector.c
37 (update_format_policy): prevent to use hours and minutes unitialized
39 2009-05-15 Alberto Garcia <agarcia@igalia.com>
41 * hildon/hildon-window.c (hildon_window_size_request):
42 Always request the full size of the screen (minus the title bar if
43 not in fullscreen mode).
45 Fixes: NB#107486 (HildonWindow should size itself properly)
47 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
49 * hildon/hildon-note-private.h: Add idle_handler to the private data.
50 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
51 (on_show_cb), (sound_handling): Disconnect the idle handler for
52 the sound when the note is finalized to avoid possible crashes.
54 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
57 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
59 * src/hildon-animation-actor.c,
60 * src/hildon-remote-texture.c:
61 Added proper object cleanup to remove signal handler and object
62 references as HildonAnimationActor and HildonRemoteTexture
63 objects get destroyed.
65 Fixes: NB#116682 (Destroying parented animation actors when
66 parent in unmapped leads to crash)
68 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
70 Based on a patch by Christian Dywan (christian@imendio.com)
72 * doc/hildon-sections.txt:
73 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
74 * hildon/hildon-helper.h: New file size formatting method.
76 * debian/control: Depend on osso-filemanager l10n package for
77 proper localization strings.
79 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
81 * tests/Makefile.am: Include top_srcdir to make possible to build
82 tests in a different builddir.
83 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
84 on a different builddir.
86 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
88 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
89 (hildon_touch_selector_remove): Disconnect model's signal handler
92 Fixes: NB#116289 (Hildon home crashes while adding task
95 2009-05-11 Alberto Garcia <agarcia@igalia.com>
97 * hildon/hildon-button.c
98 (hildon_button_set_title, hildon_button_set_value):
99 Hide labels containing an empty string.
101 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
103 * configure.ac: post release version bump
104 * debian/changelog: post release version bump
106 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
111 * configure.ac: Bump version.
112 * debian/changelog: Updates.
114 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
116 * hildon/hildon-note-private.h: Removed sound_signal_handler
117 * hildon/hildon-note.c
118 (on_show_cb): new callback on note "show" event, this simply adds
119 a idle, with the function sound_handling
120 (sound_handling): removed the sound_signal_handler management
121 (hildon_note_init): connect note "show" event to on_show_cb
122 (hildon_note_realize): remove the connection to "expose-event"
124 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
125 device?' confirmation note)
127 2009-05-08 Alberto Garcia <agarcia@igalia.com>
129 * hildon/hildon-note.c
130 (hildon_note_new_information_with_icon_name)
131 (hildon_note_new_confirmation_with_icon_name):
132 Terminate the list of parameters in g_object_set() calls
134 Fixes: NB#115166 (Formatting memory card is not taking place)
136 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
138 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
139 "dialog-information" role for the sound being played.
141 2009-05-06 Alberto Garcia <agarcia@igalia.com>
143 * hildon/hildon-app-menu.c (hildon_app_menu_init):
144 Don't make the menu a modal window, it causes strange interactions
145 with the pointer grab and it's not really needed.
147 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
149 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
151 * hildon/hildon-touch-selector.[ch]
152 (hildon_touch_selector_optimal_size_request): function added to get a
153 optimal size request from the touch selector, when you want a dialog to
154 show as much of the selector
155 * hildon/hildon-picker-dialog.c:
156 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
157 (hildon_app_menu_class_init):
158 New "max-height-landscape" and "max-height-portrait" style properties
159 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
160 (hildon_picker_dialog_get_max_height): returns the maximum height using
161 the style properties defined and checking the current portrait/landscape
163 (_hildon_picker_dialog_set_selector): removed the set_size_request
165 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
167 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
169 * hildon/hildon-bread-crumb-trail.c:
170 * hildon/hildon-bread-crumb.c:
171 * hildon/hildon-seekbar.c:
172 Add reference to replacements for these deprecated widgets.
174 Fixes: MB#4461 (Documentation: All deprecations should mention
177 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
179 * examples/hildon-remote-texture-example.c
181 Change the include to the hildon-remote-texture in order to compile
182 properly the examples on the installed libhildon1-examples package
184 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
186 * tests/Makefile.am: Add check for HildonPickerButton.
187 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
188 (START_TEST), (create_hildon_picker_button_suite): Add three simple
189 checks for the HildonPickerButton.
190 * tests/check_test.c (configure_tests): Add the test suite.
191 * tests/test_suites.h: likewise.
193 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
195 * hildon/hildon-touch-selector.c
196 (+on_row_changed): Emit HildonTouchSelector:changed when the
197 contents of a selected row change.
198 (_create_new_column), (_hildon_touch_selector_set_model): connect
199 to GtkTreeModel:row-changed on a newly set model.
201 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
203 2009-05-05 Alberto Garcia <agarcia@igalia.com>
205 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
207 * hildon/hildon-banner.c (hildon_banner_destroy)
208 (hildon_banner_show_progress, hildon_banner_set_fraction):
209 Remove the progress bar from HildonBanner and use a progress
212 Fixes: NB#113761 (Update progress banner to use progress
215 2009-05-04 Alberto Garcia <agarcia@igalia.com>
217 * hildon/hildon-banner.c:
218 Calculate size of the banner label using the actual screen width
219 rather than using a fixed value.
221 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
224 2009-05-04 Alejandro G. Castro <alex@igalia.com>
226 * hildon/hildon-pannable-area.c,
227 (hildon_pannable_area_class_init): Fixed signals documentation
230 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
232 * configure.ac: post release version bump
233 * debian/changelog: post release version bump
235 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
240 * configure.ac: Bump version.
241 * debian/changelog: Updates.
243 2009-05-01 Alberto Garcia <agarcia@igalia.com>
245 * hildon/hildon-edit-toolbar.c
246 (hildon_edit_toolbar_init):
247 Don't let buttons in HildonEditToolbar receive focus.
249 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
250 typing on an HW arrows key)
252 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
254 * doc/Makefile.am: Fix build.
256 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
258 * doc/Makefile.am: Do not redefine content_files.
260 2009-04-30 Alberto Garcia <agarcia@igalia.com>
268 Renamed src/ to hildon/
273 Include <hildon/hildon.h> directly in all examples.
275 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
277 * src/hildon-sort-dialog.c
278 (hildon_sort_dialog_add_sort_key_with_sorting)
282 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
284 * src/Makefile.am: Move generated sources to CLEANFILES, so that
285 make distcheck passes.
287 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
289 * Makefile.am: Enable gtk-doc during distcheck.
291 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
293 * Makefile.am: Do not distribute the debian/ directory.
295 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
297 * doc/Makefile.am: Add the extra SGML files to content_files,
298 so that they are distributed properly.
300 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
302 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
305 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
307 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
308 (hildon_note_new_information_with_icon_name): Set the "icon" property
309 to preserve soundness.
311 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
313 * src/hildon-font-selection-dialog.c
314 (hildon_font_selection_dialog_set_property): Fail when the "family"
315 property is set to NULL.
317 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
319 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
322 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
324 * src/hildon-time-selector.h:
325 Added HildonTimeSelectorFormatPolicy
326 * src/hildon-time-selector.c:
327 Added PROP_TIME_FORMAT_POLICY
328 (_check_ampm_format): renamed to check_automatic_ampm_format
329 (update_format_policy), (update_format_dependant_columns): new functions
330 (hildon_time_selector_class_init)
331 (hildon_time_selector_contructor)
332 (hildon_time_selector_init)
333 (hildon_time_selector_get_property)
334 (hildon_time_selector_set_property)
335 (hildon_time_selector_get_time)
336 (hildon_time_selector_set_time)
337 * src/hildon-touch-selector.h: new file
338 * src/hildon-touch-selector.c
339 (hildon_touch_selector_emit_changed)
340 (hildon_touch_selector_block_changed)
341 (hildon_touch_selector_unblock_changed)
342 Added functions to allow to block the emission of the "changed" signal
343 * src/hildon-picker-dialog.c
344 (hildon_picker_dialog_show): call the parent show before the custom code
345 * examples/hildon-time-button-example.c
346 Modified, so now you can configure the time format using the new property
348 Added a new property "time-format-policy" that allow to choose the time
349 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
350 case it uses gconf in order to check if the time selector must use
353 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
356 2009-04-28 Alberto Garcia <agarcia@igalia.com>
358 * src/hildon-note.c (hildon_note_init):
359 Label in HildonNote must be left aligned, not centered. This
360 reverts the last commit in HildonNote.
362 Fixes: NB#112933 (text is not left aligned in confirmation dialog
363 is connectivity dialog)
365 2009-04-27 Alberto Garcia <agarcia@igalia.com>
370 * doc/hildon-sections.txt:
371 Added hildon_gtk_window_set_do_not_disturb()
373 2009-04-27 Alberto Garcia <agarcia@igalia.com>
375 * src/hildon-note.c (hildon_note_init): Center label.
377 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
380 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
385 * configure.ac: Bump version.
386 * debian/changelog: Updates.
388 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
390 * src/hildon-note-private.h: Add button-width to the private data.
391 * src/hildon-note.c (+resize_button),
392 (+hildon_note_orientation_update): methods to repack widgets on orientation
394 (screen_size_changed): Call above method for confirmation notes.
395 (hildon_note_realize): Always connect to the "screen-size" changed signal.
396 (hildon_note_rebuild): Store the original width request from buttons.
398 Fixes: NB#109635 (Confirmation notes do not support portrait)
400 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
402 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
403 when it is a progress note.
405 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
407 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
408 in the note, since there are no horizontally arranged contents.
410 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
412 * src/hildon-gtk.c (+set_flag): new generic method to
413 set/delay a flag setting in a window.
414 (hildon_gtk_window_set_progress_indicator):
415 (hildon_gtk_window_set_do_not_disturb),
416 (hildon_gtk_window_set_portrait_flags): use set_flag() to
417 avoid code redundance.
419 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
421 Based on a patch by Alberto Garcia (agarcia@igalia.com)
423 * src/hildon-gtk.c (set_clear_window_flag),
424 (do_set_progress_indicator), (do_set_do_not_disturb),
425 (do_set_portrait_flags),
426 (hildon_gtk_window_set_progress_indicator),
427 (hildon_gtk_window_set_do_not_disturb),
428 (hildon_gtk_window_set_portrait_flags):
429 Allow setting dnd-flag, progress indicator, and portrait flags
430 when the window is not realized.
432 2009-04-24 Alejandro G. Castro <alex@igalia.com>
434 * src/hildon-pannable-area.c,
435 * src/hildon-pannable-area.h: Add the hildon deprecated define to
436 the size request policy function and defines.
438 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
440 * doc/hildon-sections.txt: Add the new API.
441 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
442 method to set the portrait flags.
443 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
445 Fixes: NB#112328 (Adding helpers for setting portrait properties)
447 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
449 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
450 to allow using this method with other flags.
451 (hildon_gtk_window_set_progress_indicator): Update accordingly.
452 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
454 2009-04-22 Alberto Garcia <agarcia@igalia.com>
456 * src/hildon-touch-selector.c
457 (hildon_touch_selector_append_text_column):
458 Make the cell renderer use the smallest width possible.
460 Fixes: NB#108470 (Selected items in multiple selection are either
461 having a tick that is cut or not visible at all.)
463 2009-04-22 Alberto Garcia <agarcia@igalia.com>
465 * src/hildon-touch-selector.c
466 (hildon_touch_selector_append_text_column):
469 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
471 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
472 Use g_strdup_printf() instead of a fixed size buffer.
474 2009-04-21 Alberto Garcia <agarcia@igalia.com>
476 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
477 Close banners when a HildonAppMenu is popped up.
479 Fixes: NB#111027 (Title menu closed immediately if activated when
480 "Invalid e-mail address" banner is shown)
482 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
487 * configure.ac: Bump version.
488 * debian/changelog: Updates.
490 2009-04-20 Alberto Garcia <agarcia@igalia.com>
492 * src/hildon-banner.c (hildon_banner_realize):
493 Mark HildonBanner as supporting portrait mode.
494 Use GDK to set window properties insetad of direct Xlib calls.
496 Fixes: NB#111830 (HildonBanner should be marked as supporting
499 2009-04-20 Alberto Garcia <agarcia@igalia.com>
501 * src/hildon-note.c (hildon_note_rebuild):
502 Hide action area in information notes. Prevents text from being
503 slightly aligned to the left.
505 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
508 2009-04-20 Alberto Garcia <agarcia@igalia.com>
510 Patch by Mox Soini (ext-mox.soini@nokia.com)
512 * src/hildon-banner.c (hildon_banner_create_animation):
513 Use stylus-sized icons in animation banner.
515 Fixes: NB#111206 (stylus sized icon for animation banner)
517 2009-04-20 Alberto Garcia <agarcia@igalia.com>
521 (+hildon_gtk_window_set_do_not_disturb):
522 New API to set the do-not-disturb flag.
524 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
526 2009-04-20 Alberto Garcia <agarcia@igalia.com>
528 * examples/hildon-progress-indicator-example.c: Fix example
530 * src/hildon-gtk.c (set_clear_window_flag)
531 (hildon_gtk_window_set_progress_indicator):
532 Create a generic function for setting flags to a window.
533 Use GDK instead of direct Xlib calls.
535 2009-04-14 Alberto Garcia <agarcia@igalia.com>
537 * src/hildon-button.c (hildon_button_set_arrangement):
538 Due to NB#88126, if one of the labels is too long it will be
539 painted outside the button. The 'value' label is more likely to be
540 the longest one, so we change its packing options in order to
541 truncate it if necessary. As a side effect, the 'title' label will
542 no longer be truncated.
544 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
546 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
551 * configure.ac: Bump version.
552 * debian/changelog: Updates.
554 2009-04-13 Alejandro G. Castro <alex@igalia.com>
556 Deprecation of the hildon_pannable_area_set_size_request_policy
557 API, the only policy properly supported in gtk+ nowadays is the
560 * src/hildon-pannable-area.c,
561 (hildon_pannable_area_size_request): Added a workaround for the
562 size_request to avoid the problems of huge pixmaps in case someone
563 is still using the function.
564 * src/hildon-pannable-area.h: Deprecated the enum with the
567 Fixes: NB#110244 (Problems with the
568 hildon_pannable_area_set_size_request_policy API)
570 2009-04-08 Alejandro G. Castro <alex@igalia.com>
572 * src/hildon-pannable-area.c,
573 (hildon_pannable_area_init),
574 (hildon_pannable_area_size_request),
575 (hildon_pannable_area_style_set),
576 (hildon_pannable_draw_vscroll),
577 (hildon_pannable_draw_hscroll),
578 (hildon_pannable_area_check_scrollbars): Replaced area_width with
579 indicator_width to clarify the use of the attribute.
581 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
586 * configure.ac: Bump version.
587 * debian/changelog: Updates.
589 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
591 * src/hildon-picker-dialog.c
592 * src/hildon-touch-selector.c
593 Reverting the change that tried to avoid the hardcoded height on
594 the picker dialog, as causes problems on the hildon-touch-selector
597 Fixes: NB#110029 (selectors not scrolling to selected value)
599 2009-04-07 Alberto Garcia <agarcia@igalia.com>
601 * src/hildon-touch-selector.c: Fix typos
603 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
605 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
606 Use the event coordinates instead of gdk_window_get_pointer(). Also,
607 request more motions after using it.
609 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
611 * src/hildon-calendar.c (hildon_calendar_expose),
612 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
613 Remove unused variables.
615 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
617 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
620 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
622 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
623 Check the return value of gtk_tree_selection_get_selected()
626 2009-04-06 Alberto Garcia <agarcia@igalia.com>
628 * src/hildon-animation-actor.c
629 * src/hildon-button.c
631 * src/hildon-pannable-area.c
632 * src/hildon-picker-button.c
633 * src/hildon-program.c
634 * src/hildon-remote-texture.c
635 * src/hildon-text-view.c
636 * src/hildon-touch-selector.c
637 * src/hildon-window-stack.c
638 * src/hildon-window.c:
639 Add missing 'Since: 2.2' tags.
641 * doc/hildon-sections.txt:
642 Add some missing symbols.
644 * doc/hildon-docs.sgml:
645 New 'Other' section for HildonAnimationActor and
648 2009-04-06 Alberto Garcia <agarcia@igalia.com>
650 Patch by Iván Gómez (igomez@igalia.com)
654 * doc/hildon-docs.sgml
655 * doc/hildon-sections.txt
659 New chapters on using the Hildon library.
660 Updated the general structure of the reference manual.
661 Other minor documentation fixes.
663 * src/hildon-calendar-popup.c
664 * src/hildon-calendar.c
665 * src/hildon-controlbar.c
666 * src/hildon-date-editor.c
667 * src/hildon-dialog.c
668 * src/hildon-hvolumebar.c
669 * src/hildon-number-editor.c
670 * src/hildon-range-editor.c
671 * src/hildon-sort-dialog.c
672 * src/hildon-time-editor.c
673 * src/hildon-time-picker.c
674 * src/hildon-volumebar-range.c
675 * src/hildon-volumebar.c
676 * src/hildon-vvolumebar.c
677 * src/hildon-weekday-picker.c:
678 Add deprecation notes
680 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
681 Document 'horizontal-movement' and 'vertical-movement' signals.
683 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
688 * configure.ac: Bump version.
689 * debian/changelog: Updates.
691 2009-04-06 Alejandro G. Castro <alex@igalia.com>
693 * src/hildon-pannable-area.c,
694 (hildon_pannable_area_class_init): increased the minimum velocity.
695 (hildon_pannable_area_button_release_cb): Updated the
696 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
697 setup. Review the code to control that last event.
699 Fixes: NB#109790 (Releasing finger in pannable area easily causes
702 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
704 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
706 * src/hildon-get-password-dialog.c
707 (hildon_get_password_set_property),
708 (hildon_get_password_get_property), (create_contents):
709 * src/hildon-login-dialog-private.h:
710 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
711 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
712 (hildon_login_dialog_get_password):
713 * src/hildon-set-password-dialog-private.h:
714 * src/hildon-set-password-dialog.c
715 (hildon_set_password_set_property),
716 (hildon_set_password_get_property), (create_contents),
717 (hildon_set_password_response_change),
718 (hildon_set_password_response_set), (hildon_checkbox_toggled):
720 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
721 instead and look more Fremantle style.
723 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
725 2009-04-03 Alberto Garcia <agarcia@igalia.com>
727 * doc/hildon-sections.txt
728 * src/hildon-window-stack.h
729 * src/hildon-window-stack.c
730 (+hildon_window_stack_get_windows):
731 New API to obtain the list of windows on a stack.
733 2009-04-02 Alberto Garcia <agarcia@igalia.com>
735 * src/hildon-app-menu.c (hildon_app_menu_popup)
736 (hildon_app_menu_class_init, -hildon_app_menu_show):
737 Remove hildon_app_menu_show() and move all its checks to
738 hildon_app_menu_popup()
740 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
742 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
743 (_hildon_picker_dialog_set_selector): removed call to
744 gtk_widget_set_size_request
745 * src/hildon-touch-selector.c
746 (_create_new_column): change the pannable size request policy
748 Avoid to use a hardcoded height for the hildon picker dialog. In order
749 to get that, we needed to change the hildon pannable size request
751 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
753 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
755 * src/hildon-window.c (hildon_window_map): Check for vbox to be
756 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
759 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
761 * debian/control: Depend on osso-system-lock localization package.
762 * src/hildon-code-dialog.c: Obtain the secu_application_title
763 translation from osso-system-lock.
764 * src/hildon-get-password-dialog.c (create_contents): Do not mark
765 for translation the atk related strings, that's not necessary.
766 * src/hildon-set-password-dialog.c (create_contents): Ditto.
767 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
768 cancel button, it is not required.
770 2009-04-02 Alejandro G. Castro <alex@igalia.com>
772 * src/hildon-pannable-area.c,
773 (hildon_pannable_area_class_init): Modified the default value of
774 the overshooting max speed, we have reduced it.
776 2009-04-02 Alberto Garcia <agarcia@igalia.com>
778 * doc/hildon-sections.txt
779 * src/hildon-window-private.h
780 * src/hildon-window.h
781 * src/hildon-window.c (hildon_window_class_init)
782 (hildon_window_init, hildon_window_finalize)
783 (hildon_window_realize, hildon_window_get_property)
784 (hildon_window_set_property, hildon_window_update_markup)
785 (hildon_window_get_markup, hildon_window_set_markup):
786 New "markup" property and hildon_window_{get,set}_markup() methods.
788 * examples/hildon-stackable-window-example.c (new_window):
789 Update example to use hildon_window_set_markup()
791 Fixes: NB#106375 (Need API to retitle a window with a title
794 2009-04-01 Alejandro G. Castro <alex@igalia.com>
796 * src/hildon-pannable-area.c,
797 (hildon_pannable_area_class_init): Changed the default value of
798 the initial_hint to TRUE.
799 (hildon_pannable_area_initial_effect): Changed the initial effect,
800 not the effect is just the fade-out of the scrollbars.
802 Fixes: NB#107775 (No scrollbars can be seen when several items are
803 available in a dialog)
805 2009-04-01 Alberto Garcia <agarcia@igalia.com>
807 * src/hildon-program.c (hildon_program_update_top_most):
810 Fixes: NB#109179 (Memory leak in Hildon program)
812 2009-04-01 Alberto Garcia <agarcia@igalia.com>
814 * src/hildon-banner.c (-get_current_app_window):
815 Remove unused function.
817 2009-04-01 Alejandro G. Castro <alex@igalia.com>
819 * src/hildon-pannable-area.c: Modified the documentation of the
820 get adjustments functions to explain the problem of using the
822 (hildon_pannable_area_class_init): Improved the explanation about
825 2009-04-01 Alberto Garcia <agarcia@igalia.com>
827 * src/hildon-app-menu-private.h
828 * src/hildon-app-menu.c
829 (hildon_app_menu_class_init):
830 Bring back the 'external-border' style property
831 (hildon_app_menu_class_init, hildon_app_menu_init)
832 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
833 Set a fixed width-request for the menu, independent of the number
836 Fixes: NB#94957 (Smoothly opened application menu)
838 2009-03-30 Alberto Garcia <agarcia@igalia.com>
840 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
842 * src/hildon-banner.c
843 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
845 Make sure that the banner is correctly placed the first time it's
847 (hildon_banner_check_position, -check_fullscreen_state):
848 Show the banner in the same place no matter if the window is in
849 fullscreen mode or not.
851 Fixes: NB#107386 (Odd stacking behaviour for information banners)
853 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
855 * src/hildon-touch-selector.c (_default_print_func): reorder
856 concatenation for clarity.
858 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
860 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
861 for multicolumn selectors.
863 Fixes: NB#109099 (Memory leak in Hildon touch selector)
865 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
870 * configure.ac: Bump version.
871 * debian/changelog: Updates.
873 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
875 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
878 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
880 * configure.ac: removed libcangerra-gtk dependency
881 * debian/control: removed libcanberra-gtk dependency
882 * src/Makefile.am: removed libcanberra gtk related flags
883 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
884 context, and manage a global canberra context instead
886 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
888 2009-03-26 Alberto Garcia <agarcia@igalia.com>
890 Patch by Daniel Borgmann (danielb@openismus.com)
892 * src/hildon-edit-toolbar.c:
893 Adjust the left padding.
894 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
895 Paint background of the edit toolbar.
897 Fixes: NB#107897 (Patch to make editmodetoolbar background
898 themeable and adjust margin)
900 2009-03-25 Alberto Garcia <agarcia@igalia.com>
902 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
904 * src/hildon-program.c (hildon_program_update_top_most):
905 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
907 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
908 change when the user tasks in/out of an application)
910 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
912 * configure.ac: added libcangerra-gtk dependency
913 * debian/control: added libcanberra-gtk dependency
914 * src/Makefile.am: added libcanberra gtk related flags
915 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
918 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
920 2009-03-25 Alberto Garcia <agarcia@igalia.com>
922 * src/hildon-program.c (hildon_program_remove_window)
923 (hildon_program_add_window): Add checks for the window
924 parameter. Don't decrease the window counter if the window is not
927 2009-03-24 Alejandro G. Castro <alex@igalia.com>
929 * src/hildon-pannable-area.c,
930 (hildon_pannable_area_realize): Fixed position of the event_window
931 in the realize method.
933 2009-03-24 Alberto Garcia <agarcia@igalia.com>
935 * src/hildon-app-menu-private.h
936 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
937 (hildon_app_menu_map, hildon_app_menu_hide_idle)
938 (hildon_app_menu_key_press, hildon_app_menu_init)
939 (hildon_app_menu_finalize):
940 Make sure that all idle functions are removed when the widget is
943 Fixes: NB#107583 (Hildon app menu crashes in various applications)
945 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
950 * configure.ac: Bump version.
951 * debian/changelog: Updates.
953 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
956 (+hildon_entry_show_placeholder),
957 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
958 that replace hildon_entry_update_contents().
959 (hildon_entry_set_text),
960 (hildon_entry_set_placeholder),
961 (hildon_entry_focus_in_event),
962 (hildon_entry_focus_out_event): Determine when it is needed
963 either to show or hide the placeholder and call the above methods.
965 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
966 when the placeholder text is already set)
968 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
970 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
971 simple GdkPixbufAnim using the new icons for the banner.
972 (hildon_banner_show_animation): Use the above mentioned method to
973 create the animation widget.
975 Fixes: NB#103564 (Make hildon animation banner use individual
976 image files as the animation)
978 2009-03-24 Alejandro G. Castro <alex@igalia.com>
980 * src/hildon-pannable-area.c,
981 (hildon_pannable_leave_notify_event): Check if the child is NULL
982 to avoid sending the leave.
984 2009-03-24 Alejandro G. Castro <alex@igalia.com>
986 * src/hildon-pannable-area.c,
987 (hildon_pannable_area_class_init),
988 (hildon_pannable_leave_notify_event): Added a handler of the
989 leave-notify-signal to consider when no motion notify before
992 Fixes: NB#107494 (Items stay selected when clicking and moving
993 away when inside pannable area)
995 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
1000 * configure.ac: Bump version.
1001 * debian/changelog: Updates.
1003 2009-03-19 Alejandro G. Castro <alex@igalia.com>
1005 Patch by Alberto Garcia (agarcia@igalia.com)
1007 * src/hildon-date-button.c,
1008 (hildon_date_button_class_init),
1009 (hildon_date_button_init): Removed the construct property handling
1010 and created a default selector in the init method.
1011 * src/hildon-picker-button.c,
1012 (hildon_picker_button_class_init): Removed the construct flag of the
1015 2009-03-18 Alberto Garcia <agarcia@igalia.com>
1017 * src/hildon-main.c (hildon_init):
1018 Don't allow hildon_init() to be called more than once.
1020 Fixes: NB#106607 (hildon_init should issue error message upon
1023 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
1025 * examples/hildon-pannable-area-touch-list-example.c
1026 * examples/hildon-pannagle-area-touch-grid-example.c
1027 * examples/hildon-edit-toolbar-example.c
1028 * examples/hildon-touch-selector-multi-cells-example.c
1029 Removed the call to gtk_rc_parse_string, as it is not required since
1032 2009-03-17 Alejandro G. Castro <alex@igalia.com>
1034 * src/hildon-pannable-area.c,
1035 (hildon_pannable_area_class_init): Modified the default panning
1036 threshold of the widget to 6px.
1038 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
1039 than the threshold value ) within the button is not sending the
1042 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1044 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
1045 for the treeview in the new column. This way, the touch list will never
1048 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
1049 be selected manually for the HW keys to work)
1051 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1053 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
1054 comparison instead of using strcmp(). Fixes a compiler warning as well.
1056 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1058 * doc/hildon-docs.sgml: Do not set the library version in the
1059 document title, use the releaseinfo tag for that purpose instead.
1061 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1063 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
1064 Do not jump to the first item if the text in the entry is removed.
1066 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1071 * configure.ac: Bump version.
1072 * debian/changelog: Updates.
1074 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1076 * src/hildon-entry.c (hildon_entry_refresh_contents):
1077 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
1078 Use "ReversedSecondaryTextColor" for the placeholder text.
1080 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1082 * src/hildon-text-view.c: Fix compilation warning.
1084 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1086 * src/hildon-button.c (hildon_button_class_init): Don't make
1087 "title" and "value" construction properties, to prevent them from
1088 overwriting labels set from derived classes.
1090 * src/hildon-picker-button.c
1091 (hildon_picker_button_set_selector): Allow setting a NULL selector.
1092 (hildon_picker_button_class_init): Make touch-selector a
1093 construction property.
1095 * src/hildon-date-button.c (hildon_date_button_class_init)
1096 (+hildon_date_button_constructed): Add a default date selector if
1099 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1101 * src/hildon-touch-selector.c: Small documentation fixes.
1103 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1105 Based on a patch by Daniel Borgmann (danielb@openismus.com)
1107 * src/hildon-entry.c (hildon_entry_refresh_contents),
1108 (hildon_entry_get_text), (hildon_entry_init): Do not use the
1109 widget name, set the logical color directly instead and a boolean
1110 showing_placeholder instead.
1111 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
1112 use the widget name here either.
1114 Fixes: NB#105678 (HildonTextView should use logical colours
1115 instead of setting widget name)
1117 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1119 Patch by Daniel Elster (danielk@openismus.com)
1121 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
1122 Add user_data parameter.
1123 (hildon_touch_selector_set_print_func_full): New function akin
1124 hildon_touch_selector_set_print_func() but with support for user
1125 data and a destroy callback.
1126 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
1127 to clean up the print function user data.
1128 (hildon_touch_selector_class_init): Install dispose function.
1129 (HildonTouchSelectorPrivate::print_user_data),
1130 (HildonTouchSelectorPrivate::print_destroy_func): New private
1132 (hildon_touch_selector_init): Initialize new private members.
1133 (hildon_touch_selector_get_current_text): Pass along user data
1134 to the print function.
1135 (_default_print_func): Add dummy user_data to parameter list.
1136 * hildon-date-selector.c (_custom_print_func): ditto,
1137 * hildon-time-selector.c (_custom_print_func): ditto,
1138 * hildon-touch-selector-entry.c
1139 (hildon_touch_selector_entry_print_func): ditto.
1141 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
1143 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1145 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
1147 2009-03-12 Alejandro G. Castro <alex@igalia.com>
1149 * src/hildon-pannable-area.c,
1150 (hildon_pannable_area_init),
1151 (hildon_pannable_area_button_press_cb),
1152 (hildon_pannable_area_motion_notify_cb): We have added code to
1153 handle the leave and enter events when using the motion events.
1155 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
1157 2009-03-11 Alberto Garcia <agarcia@igalia.com>
1159 * src/hildon-date-button.c (hildon_date_button_get_date)
1160 (hildon_date_button_set_date): Make sure that the button has a
1163 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
1165 2009-03-11 Alejandro G. Castro <alex@igalia.com>
1167 * src/hildon-pannable-area.c,
1168 (hildon_pannable_area_class_init),
1169 (hildon_pannable_area_calculate_velocity): Modify the use of the
1170 force and adapt the value.
1172 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1174 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
1175 (hildon_app_menu_class_init): Hide the menu if it receives a
1176 delete-event, but don't destroy it
1178 Fixes: NB#104485 (Not able to address the call when application
1179 menu is opened at background)
1181 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1183 * src/hildon-app-menu.c
1184 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1185 Remove the "external-border" style property, let the menu take its
1186 natural size (or the one set by the window manager)
1187 (hildon_app_menu_repack_items):
1188 Don't reshow the menu, avoid flickers.
1190 Partially fixes NB#94957 (Smoothly opened application menu)
1192 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
1197 * configure.ac: Bump version.
1198 * debian/changelog: Updates.
1200 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1202 * src/hildon-pannable-area.c,
1203 (hildon_pannable_area_motion_notify_cb): We control that the
1204 direction error margin is used just in case the movement is
1205 allowed in the other direction.
1207 Fixes: NB#105012 (buttons inside a pannable area not getting
1208 release event when dragging/releasing)
1210 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1212 * src/hildon-pannable-area.c,
1213 (hildon_pannable_area_class_init),
1214 (hildon_pannable_area_get_property),
1215 (hildon_pannable_area_set_property),
1216 (hildon_pannable_area_initial_effect),
1217 (hildon_pannable_axis_scroll),
1218 (hildon_pannable_area_button_release_cb): Reviewed the
1219 overshooting effect, now it has its own max
1220 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
1221 speed when bouncing.
1223 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
1228 * configure.ac: Bump version.
1229 * debian/changelog: Updates.
1231 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1233 * src/hildon-pannable-area.c,
1234 (hildon_pannable_area_class_init): Changed the max speed, now
1235 users can launch the widget very fast. Reduced the default force,
1236 that way it is easier to control the launch speed.
1238 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1240 * src/hildon-pannable-area.c,
1241 (hildon_pannable_area_button_release_cb): Removed this check
1242 because it causes problems when the device is overloaded.
1244 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1246 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1247 add a current_text field to store the text entered in the
1248 touch selector entry.
1249 (_clean_current_selection): clean up the current text as well.
1250 (_save_current_selection), (_restore_current_selection):
1251 Save/restore the text in the entry if the selector is a
1252 HildonTouchSelectorEntry.
1254 Fixes: NB#102541 (value entered in the touch selector entry is not
1255 shown when opened for second time)
1257 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1259 * doc/hildon-sections.txt:
1260 * src/hildon-touch-selector-entry.c
1261 (+hildon_touch_selector_entry_get_entry):
1262 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
1264 Fixes: NB#104815 (I need accessor to the entry inside
1265 HildonTouchSelectorEntry)
1267 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1269 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
1270 (hildon_app_menu_class_init):
1271 New "filter-vertical-spacing" style property.
1273 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1275 * src/hildon-find-toolbar.c
1276 (hildon_find_toolbar_emit_close)
1277 (hildon_find_toolbar_emit_invalid_input)
1278 (hildon_find_toolbar_entry_activate):
1279 Use g_signal_emit() instead of g_signal_emit_by_name()
1281 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1283 Patch by Mox Soini (ext-mox.soini@nokia.com)
1285 * tests/TEST-CASES.txt
1286 * tests/check-hildon-banner.c
1287 * tests/check-hildon-note.c
1288 * src/hildon-banner.c
1289 * src/hildon-code-dialog.c
1290 * src/hildon-date-editor.c (real_set_calendar_icon_state)
1291 * src/hildon-time-editor.c
1292 * examples/hildon-lookup-example.c (main):
1293 Replace obsolete icon names with new ones.
1295 * src/hildon-find-toolbar-private.h:
1296 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
1297 (-hildon_find_toolbar_emit_search):
1298 Remove find button and change icon of close button.
1300 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
1302 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1304 * src/hildon-time-button.c (hildon_time_button_new_step):
1305 Use the "touch-selector" property to set the selector directly
1306 when creating the object.
1308 2009-03-05 Alejandro G. Castro <alex@igalia.com>
1310 Added a new example application that allows tuning the pannable
1311 area and replaced defines with properties in order to simplify the
1312 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
1313 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
1314 PROP_DIRECTION_ERROR_MARGIN.
1316 * examples/hildon-pannable-area-tuning-example.c: New example
1318 * src/hildon-pannable-area.c,
1319 (hildon_pannable_area_class_init),
1320 (hildon_pannable_area_init),
1321 (hildon_pannable_area_get_property),
1322 (hildon_pannable_area_set_property),
1323 (hildon_pannable_area_launch_fade_timeout),
1324 (hildon_pannable_area_adjust_value_changed),
1325 (hildon_pannable_axis_scroll),
1326 (hildon_pannable_area_motion_notify_cb),
1327 (hildon_pannable_area_scroll_cb),
1328 (hildon_pannable_area_button_release_cb): We have converted some
1329 of the defines that control the widget to properties to simplify
1332 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1334 * src/hildon-app-menu.c (hildon_app_menu_map)
1335 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
1336 so it's closed if a new window appears.
1338 Fixes: NB#104485 (Not able to address the call when application
1339 menu is opened at background)
1341 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1343 * src/hildon-color-button.c (hildon_color_button_get_property):Add
1344 missing 'break' statement in in 'case' construct to avoid
1347 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1349 * src/hildon-touch-selector-entry.c
1350 (hildon_touch_selector_entry_get_property),
1351 (hildon_touch_selector_entry_set_property): Add missing 'break'
1352 statements in in 'case' constructs to avoid incorrect warnings.
1354 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1356 * src/hildon-time-editor.c
1357 (hildon_time_editor_get_time_separators): Do not crash if
1358 the first label is NULL.
1360 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1362 * src/hildon-date-selector.c (_month_days): Check for month to be
1363 strictly less than 12, since otherwise we may overrun the array.
1365 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1367 * src/hildon-date-button.c (+hildon_date_button_new_full)
1368 (hildon_date_button_new, hildon_date_button_new_with_year_range)
1369 (hildon_date_button_init): Set the date selector using a
1370 construction property, to make it happen after HildonButton's
1371 "value" property is set.
1373 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
1374 current date by default)
1376 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1378 * doc/hildon-sections.txt
1379 * src/hildon-program.c
1380 * src/hildon-stackable-window.c
1381 * src/hildon-window.c:
1382 Documentation updates
1384 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1386 * src/hildon-window-stack.c (hildon_window_stack_get_default)
1387 (hildon_window_stack_new, +hildon_window_stack_set_property)
1388 (+hildon_window_stack_get_property)
1389 (hildon_window_stack_class_init)
1390 (+hildon_window_stack_set_window_group)
1391 (+hildon_window_stack_get_window_group):
1392 Make the window group a construction property.
1394 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1396 * doc/hildon-sections.txt
1397 * src/hildon-stackable-window-private.h
1398 * src/hildon-stackable-window.h
1399 * src/hildon-stackable-window.c
1400 (-hildon_stackable_window_set_app_menu)
1401 (-hildon_stackable_window_get_app_menu)
1402 (-hildon_stackable_window_toggle_menu)
1403 (-hildon_stackable_window_finalize)
1404 (hildon_stackable_window_class_init)
1405 (hildon_stackable_window_init)
1406 * src/hildon-window-private.h
1407 * src/hildon-window.h
1408 * src/hildon-window.c (hildon_window_init)
1409 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
1410 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
1411 (hildon_window_get_main_menu, hildon_window_set_main_menu)
1412 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
1413 Moved all HildonAppMenu code to HildonWindow. The menu does not
1414 require a HildonStackableWindow anymore.
1416 * src/hildon-app-menu.c
1417 * src/hildon-program.c
1418 * examples/hildon-app-menu-example.c (main):
1419 Update examples and documentation to reflect HildonAppMenu
1422 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1424 * src/hildon-remote-texture.c
1425 * src/hildon-animation-actor.c:
1426 Don't include unused private headers.
1428 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1430 * src/hildon-program-private.h
1431 * src/hildon-program.c
1432 (hildon_program_set_common_menu)
1433 (hildon_program_get_common_menu)
1434 (hildon_program_set_common_app_menu)
1435 (hildon_program_get_common_app_menu):
1436 Change common menu pointers from GtkWidget* to GtkMenu* and
1437 HildonAppMenu* to avoid unnecessary casts.
1439 2009-03-03 Alberto Garcia <agarcia@igalia.com>
1441 * src/hildon-window.c (hildon_window_set_main_menu):
1442 Removed incorrect 'Since:' tag
1444 2009-03-03 Alejandro G. Castro <alex@igalia.com>
1446 * src/hildon-pannable-area.c,
1447 (hildon_pannable_area_calculate_velocity): We use now the
1448 RATIO_TOLERANCE here to check the distance, fixed typo in the
1450 (hildon_pannable_area_motion_notify_cb): We have to set the type
1451 and time even if we are not sending the motion.
1453 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1455 * doc/hildon-sections.txt
1456 * src/hildon-app-menu.h
1457 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
1458 (+hildon_app_menu_get_filters): New methods to get the contents of
1461 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
1464 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1466 * src/hildon-app-menu.c (hildon_app_menu_popup):
1469 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1471 * src/hildon-window.h
1472 * src/hildon-window.c (+hildon_window_get_main_menu)
1473 (hildon_window_get_menu): Created hildon_window_get_main_menu()
1474 and deprecated hildon_window_get_menu().
1476 * src/hildon-stackable-window.h
1477 * src/hildon-stackable-window.c
1478 (+hildon_stackable_window_set_app_menu)
1479 (+hildon_stackable_window_get_app_menu)
1480 (hildon_stackable_window_set_main_menu): Created
1481 hildon_stackable_window_{get,set}_app_menu() and deprecated
1482 hildon_stackable_window_set_main_menu().
1484 * doc/hildon-sections.txt
1485 * examples/hildon-app-menu-example.c (main)
1486 * src/hildon-app-menu.c
1487 * src/hildon-program.c:
1488 Updated examples and documentation.
1490 Fixes: NB#103758 (No way to obtain a menu from a
1491 HildonStackableWindow)
1493 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1498 * configure.ac: Bump version.
1499 * debian/changelog: Updates.
1501 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1503 * examples/hildon-remote-texture-example.c: Include
1504 hildon-remote-texture.h explicitely.
1505 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
1506 applications not defining _XOPEN_SOURCE which don't require this header.
1508 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1510 * doc/hildon-sections.txt
1511 * src/hildon-app-menu.h
1512 * src/hildon-app-menu.c (+hildon_app_menu_popup):
1513 New function to pop up a HildonAppMenu
1515 * src/hildon-stackable-window.c
1516 (hildon_stackable_window_toggle_menu):
1517 Use hildon_app_menu_popup() to show the menu.
1519 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1521 * src/hildon-app-menu.c (hildon_app_menu_show)
1522 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
1523 menu if there's another window between it and its parent window.
1525 Fixes: NB#100468 (Application menu window is launched even when a
1526 new secondary-window/dialog is pending to be shown/realized)
1528 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1530 * src/hildon-window-stack.c (hildon_window_stack_push)
1531 (hildon_window_stack_pop_and_push):
1532 Don't forget to push/pop the first window.
1533 Reverse the window list before calling _push_list()
1535 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1537 * src/hildon-picker-button.h
1538 * src/hildon-picker-button.c (hildon_picker_button_class_init):
1539 Remove "value_changed" slot to avoid ABI breakage
1541 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1543 * src/hildon-pannable-area.c,
1544 (hildon_pannable_area_realize),
1545 (hildon_pannable_area_unrealize),
1546 (hildon_pannable_draw_vscroll),
1547 (hildon_pannable_draw_hscroll): Changed the method to handle the
1548 GC used to draw the transparent scrollbar, this way we avoid
1549 creating the GC all the time when drawing the scrollbars.
1551 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1553 * src/hildon-pannable-area.c,
1554 (hildon_pannable_area_init),
1555 (hildon_pannable_area_remove): Removed some unnecessary casts.
1556 (hildon_pannable_area_dispose): Disconnected some signals before
1557 releasing the adjustments.
1559 2009-02-26 Alberto Garcia <agarcia@igalia.com>
1561 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1562 Make sure that all widgets contained in the toolbar are shown.
1564 2009-02-25 Alberto Garcia <agarcia@igalia.com>
1566 * doc/hildon-sections.txt
1567 * src/hildon-picker-button.h
1568 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
1569 (_selection_changed, hildon_picker_button_on_dialog_response)
1570 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
1571 New hildon_picker_button_value_changed() method.
1574 * src/hildon-picker-button-private.h
1575 * src/hildon-picker-button.c (hildon_picker_button_init)
1576 (+hildon_picker_button_disable_value_changed): Add protected
1577 function for disabling the "value-changed" signal.
1579 * src/hildon-date-button.c (hildon_date_button_set_date):
1580 Don't emit "value-changed" for each one of the three columns.
1582 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
1583 before actual change of values)
1585 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1587 * src/hildon-pannable-area.c,
1588 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
1589 for the treeview overshooting.
1591 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1593 * src/hildon-banner.c (+hildon_banner_bind_style):
1594 Renamed from hildon_banner_bind_label_style(), now naming the
1595 banner itself as well.
1596 (hildon_banner_show_information),
1597 (hildon_banner_show_information_with_markup),
1598 (hildon_banner_show_animation), (hildon_banner_show_progress):
1599 Name the widgets and labels, based on their type.
1601 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1604 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1606 * src/hildon-note.c (hildon_note_set_property): call
1607 hildon_note_rename() on HildonNote:note-type set.
1608 (hildon_note_rename): Name the note and its label, based on the
1609 HildonNote:note-type property.
1611 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1614 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1616 * src/hildon-pannable-area.c,
1617 (hildon_pannable_area_class_init),
1618 (hildon_pannable_area_motion_notify_cb): Reviewed the default
1619 panning parameters, increased SPS and deceleration factor. Added
1620 also a margin to control fake directions.
1622 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1624 Patch by Sven Herzberg (sven@imendio.com)
1626 * configure.ac: Add missing AM_PROG_CC_C_0
1627 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
1629 See NB#101420 (Update unit tests and fix make check)
1631 2009-02-23 Alejandro G. Castro <alex@igalia.com>
1633 This patch was applied before but reverted because it caused
1634 problems, we have changed the main condition and tested the
1635 regressions we detected before and they work ok. We have done a
1636 complete review of the topmost algorithm in order to get a more
1639 * src/hildon-pannable-area.c,
1640 (hildon_pannable_area_get_topmost): Added a new parameter to
1641 filter the the windows that do not include those events.
1642 (hildon_pannable_area_button_press_cb),
1643 (hildon_pannable_area_button_release_cb),
1644 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1645 topmost function, we have added the new parameter.
1647 Fixes: NB#97458 (Pannable area prevents propagation of button
1650 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1652 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
1653 if all columns in the selector have an item selected.
1654 (_on_dialog_response): Stop "response" signal emission if there is
1655 any selector column without selected items.
1657 Fixes: NB#101889 (Picker dialog should not close when nothing is
1658 selected in multiple selection list)
1660 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1662 * src/hildon-font-selection-dialog.c
1663 (hildon_font_selection_dialog_class_init),
1664 (hildon_font_selection_dialog_init): Remove the preview
1665 button and dialog, since previewing with default theming is likely
1666 to be overcomplicated. The :preview property has now no effect.
1667 Update documentation blurbs to inform about this.
1669 Fixes: NB#92297 (Preview content is not clearly visible for
1670 default colour text)
1672 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1674 Reviewed the geometry that handles the children size and
1675 scrollbar, now it tries a size and reviews the results depending
1676 on the scrollbars visibility.
1678 * src/hildon-pannable-area.c,
1679 (hildon_pannable_area_realize): Fixed a typo.
1680 (hildon_pannable_area_child_allocate_calculate): Added this
1681 function to calculate the child allocation.
1682 (hildon_pannable_area_size_allocate): Reviewed the allocation
1684 (hildon_pannable_area_check_scrollbars),
1685 (hildon_pannable_area_refresh): Refactored refresh function, this
1686 way we can call the code handling the scrollbars without causing a
1687 size_request, it is interesting in the allocate.
1688 (hildon_pannable_area_init): Replace the callbacks of the
1689 value_changed and changed signals to propertly deal with the
1691 (hildon_pannable_area_grab_notify),
1692 (hildon_pannable_area_initial_effect),
1693 (hildon_pannable_area_launch_fade_timeout),
1694 (hildon_pannable_area_adjust_changed),
1695 (hildon_pannable_area_adjust_value_changed),
1696 (hildon_pannable_area_redraw),
1697 (hildon_pannable_area_button_press_cb),
1698 (hildon_pannable_area_button_release_cb),
1699 (hildon_pannable_area_scroll_cb),
1700 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
1701 code and use the new functions adjust_changed and
1702 adjust_value_changed.
1704 Fixes: NB#101603 (Focus is not even for the text entry boxes in
1705 Contact editor dialog)
1707 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
1712 * configure.ac: Bump version.
1713 * debian/changelog: Updates.
1715 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1717 * src/hildon-pannable-area.c,
1718 (hildon_pannable_area_get_topmost),
1719 (hildon_pannable_area_button_press_cb),
1720 (hildon_pannable_area_button_release_cb),
1721 (hildon_pannable_get_child_widget_at): Reverted the patch for the
1722 topmost function adding the event mask. We have to try a
1723 differente approach because it is still causing problems (NB#9745,
1726 2009-02-19 Alberto Garcia <agarcia@igalia.com>
1728 * src/hildon-banner.c:
1729 Update the maximum width of timed banners.
1730 (force_to_wrap_truncated): Enforce the maximum text width if the
1733 Fixes: NB#102413 (The text margins (wrapping) in information
1734 banner should be HILDON_MARGIN_TRIPLE)
1736 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1738 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
1740 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
1741 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
1742 bound when calculating the scroll indicator position.
1744 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
1745 treat ->lower correctly)
1747 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1749 * src/hildon-caption.c (hildon_caption_class_init): Remove the
1750 expose event handling, since it is not necessary to draw the focus
1753 Fixes: NB#102467 (Do not show highlight on the text in
1756 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1758 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
1759 full height of the toolbar for the button and the label.
1761 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1763 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
1764 padding before the label and after the button.
1766 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1768 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
1770 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1771 Add a GtkVSeparator between the button and the back arrow.
1772 Let the button have automatic size.
1773 Set a name to the widget for theming handling.
1775 Fixes: NB#101793 (Make edit toolbar the same height as window
1776 title bar (use title area theming))
1778 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1780 * src/hildon-helper.c (attach_new_color_element): Fix memory
1783 Fixes: NB#102262 (memory leak in hildon_button_set_style())
1785 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1787 * examples/hildon-button-example.c (common_buttons_window): Don't
1790 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1792 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1793 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
1795 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1797 * src/hildon-gtk.c: Check that the window is realized.
1799 Fixes: NB#102225 (Crash setting the progress indicator to a non
1802 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1804 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
1805 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
1806 instead of modifying the one in the widget style.
1808 Fixes: NB#101043 (Second row of all the command button are
1809 displayed in transparent mode.)
1811 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1813 * src/hildon-date-button.c
1814 * src/hildon-time-button.c: Add gettext macros
1816 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
1818 * src/hildon-date-button.c (hildon_date_button_new):
1819 * src/hildon-time-button.c (hildon_time_button_new_step):
1820 Use new logical strings to set the button default title.
1822 Fixes: NB#99915 (Date and Time options are not localised in Date
1825 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1827 * src/hildon-pannable-area.c
1828 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
1829 the PANNING_THRESHOLD.
1831 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1833 * src/hildon-pannable-area.c,
1834 (hildon_pannable_area_class_init): Increased the maximum speed.
1835 (hildon_pannable_area_get_property),
1836 (hildon_pannable_area_set_property),
1837 (hildon_pannable_area_timeout): Added a new low friction mode, it
1838 allows the user avoid friction when launching the widget fast
1839 enough. It is interesting to traverse long lists.
1841 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1843 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
1844 (+hildon_stackable_window_delete_event): Ignore delete events if
1845 the window is not the topmost one.
1847 Fixes: NB#101698 (Back button long press and delete-event handling)
1849 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1851 * src/hildon-pannable-area.c,
1852 (hildon_pannable_area_motion_notify_cb): Removed the use of the
1853 gtk-dnd-drag-threshold, it was too big. We have defined our own
1854 dnd define and set a smaller value: PANNIG_THRESHOLD.
1856 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1858 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
1859 user-defined icons, use always the default one.
1861 Fixes: NB#101916 (Do not allow custom icons on animation banner)
1863 2009-02-13 Alejandro G. Castro <alex@igalia.com>
1865 This patch was applied before but reverted because it caused
1866 problems, we have changed the main condition and tested the
1867 regressions we detected before and they work ok.
1869 * src/hildon-pannable-area.c,
1870 (hildon_pannable_area_get_topmost): Added a new parameter to
1871 filter the the windows that do not include those events. Added
1872 also a condition when finding the window to filter windows that do
1873 not ask for those events.
1874 (hildon_pannable_area_button_press_cb),
1875 (hildon_pannable_area_button_release_cb),
1876 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1877 topmost function, we have added the new parameter.
1879 Fixes: NB#97458 (Pannable area prevents propagation of button
1882 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1884 * tests/check-hildon-color-button.c (START_TEST): do not leak
1887 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1889 * src/hildon-font-selection-dialog.c
1890 (hildon_font_selection_dialog_get_preview_text): Return NULL
1891 instead of FALSE on the g_return_val_if_fail().
1893 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1895 * src/hildon-time-selector.c (hildon_time_selector_set_time):
1896 * src/hildon-date-selector.c
1897 (hildon_date_selector_select_current_date):
1898 Do not compare unsigned integers to be greater than or equal 0,
1899 because it's always TRUE.
1901 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1903 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
1904 (hildon_date_selector_constructor): Do not select the current
1905 date until we are handle the "changed" signal, to avoid having bogus
1906 elements in the days model.
1908 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1910 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
1911 for num_days, since _month_days() can return a negative value.
1913 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1915 * src/hildon-caption.c (hildon_caption_size_allocate):
1916 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
1917 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
1919 Initialize allocation variables to 0, to avoid eventually using
1920 unitialized variables.
1922 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1924 * src/hildon-bread-crumb-trail.c
1925 (hildon_bread_crumb_trail_size_allocate):
1926 * src/hildon-calendar.c (hildon_calendar_set_background):
1927 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
1928 * src/hildon-range-editor.c (hildon_range_editor_get_range):
1929 * src/hildon-seekbar.c (hildon_seekbar_init):
1930 * src/hildon-time-editor.c (hildon_time_editor_get_time):
1931 * src/hildon-time-selector.c (hildon_time_selector_finalize):
1932 * src/hildon-touch-selector-entry.c
1933 (hildon_touch_selector_get_text_from_model):
1934 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
1935 * src/hildon-window.c (hildon_window_finalize):
1937 Remove many unused variables.
1939 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1941 * src/hildon-seekbar.c: (hildon_seekbar_init),
1942 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
1944 Remove unnecessary g_assert() calls.
1946 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1948 * src/hildon-caption.c: (hildon_caption_expose),
1949 (hildon_caption_set_property), (hildon_caption_init),
1950 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
1951 (hildon_caption_size_request), (hildon_caption_size_allocate),
1952 (hildon_caption_forall), (hildon_caption_set_separator),
1953 (hildon_caption_activate), (hildon_caption_set_child_expand),
1954 (hildon_caption_set_label_text),
1955 (hildon_caption_get_label_alignment):
1957 Remove unnecessary g_assert() calls.
1959 2009-02-12 Alberto Garcia <agarcia@igalia.com>
1961 * src/hildon-banner.c
1962 (hildon_banner_map, hildon_banner_init): Make banner temporary
1963 before mapping it to avoid closing other temporary windows, but
1964 make it non-temporary afterwards to avoid being closed by other
1965 non-temporary windows.
1966 (-hildon_banner_client_event, hildon_banner_init):
1967 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
1969 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
1972 2009-02-11 Alberto Garcia <agarcia@igalia.com>
1974 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
1977 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1979 * src/hildon-remote-texture.c
1980 * src/hildon-remote-texture.h
1981 * src/hildon-remote-texture-private.h
1982 * examples/hildon-remote-texture-example.c:
1983 Updates/fixes to remote-texture and its example.
1985 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
1987 Patch by Mox Soini (ext-mox.soini@nokia.com)
1989 * src/hildon-code-dialog.c: Update logical id.
1990 * src/hildon-set-password-dialog.c: Update logical id.
1992 Fixes: NB#100646 (Logical strings is shown for ok in set
1993 password,Password needed dialogs)
1995 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1998 * src/hildon-remote-texture.c
1999 * src/hildon-remote-texture.h
2000 * src/hildon-remote-texture-private.h
2002 Added remote texture widget (for Clutter shared memory textures)
2004 * examples/hildon-remote-texture-example.c
2005 * examples/Makefile.am
2006 Added example file for remote texture usage
2008 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
2010 * configure.ac: post release version bump.
2011 * debian/changelog: version bump.
2013 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
2018 * configure.ac: Bump version.
2019 * debian/changelog: Updates.
2021 2009-02-06 Alberto Garcia <agarcia@igalia.com>
2023 * src/hildon-date-selector.c (hildon_date_selector_init)
2024 (hildon_date_selector_constructor): Don't connect to the "changed"
2025 signal until the selector is completely constructed.
2027 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2029 * src/hildon-touch-selector.c: (_create_new_column),
2030 (hildon_touch_selector_append_column),
2031 (hildon_touch_selector_set_column_selection_mode),
2032 (hildon_touch_selector_set_active),
2033 (hildon_touch_selector_select_iter):
2034 Emit the HildonTouchSelector::changed signal every time selection
2035 is changed in any of the methods above. This behavior was already
2036 documented but not fully functional.
2038 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
2039 selection is programmatically changed)
2041 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2043 * doc/hildon-sections.txt: Remove obsolete icon
2044 sizes from here as well.
2046 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2048 * examples/hildon-stackable-window-example.c (add_window): Remove
2051 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2053 * src/hildon-app-menu.c
2054 (hildon_app_menu_show): Check whether the parent window of a menu
2055 is topmost before popping it up.
2057 Fixes: NB#100468 (Application menu window is launched even when a
2058 new secondary-window/dialog is pending to be shown/realized.)
2060 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2062 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
2065 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2067 Patch by Mox Soini (ext-mox.soini@nokia.com)
2069 * src/hildon-banner.c: (hildon_banner_show_animation):
2070 use stylus size instead of obsolete note size.
2071 * src/hildon-defines.h: Update icon sizes.
2073 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2075 * src/hildon-touch-selector-entry.c:
2076 (hildon_touch_selector_entry_init): Disable unsupported
2078 (hildon_touch_selector_entry_get_text_column): Emit a warning
2079 if an unsupported input modes is used and explicitile state
2080 these modes in the documentation.
2082 Fixes: NB#99802 (Hildon touch selector entry not working properly
2083 for some of the input modes)
2085 2009-02-05 Alejandro G. Castro <alex@igalia.com>
2087 * src/hildon-pannable-area.c,
2088 (hildon_pannable_area_init): Added the changed signal handlers of
2091 Fixes: NB#100320 (HildonPannableArea does not listen to
2092 GtkAdjustment "change" signals)
2094 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2096 * doc/hildon-sections.txt
2097 * src/hildon-window-private.h
2098 * src/hildon-window.h
2099 * src/hildon-window.c (hildon_window_init)
2100 (hildon_window_realize, hildon_window_unrealize)
2101 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
2102 (hildon_window_size_request, hildon_window_size_allocate)
2103 (hildon_window_forall, hildon_window_show_all)
2104 (hildon_window_destroy, +paint_edit_toolbar)
2105 (+hildon_window_set_edit_toolbar):
2106 New hildon_window_set_edit_toolbar() method, to add a
2107 HildonEditToolbar to a window without having to pack it manually.
2109 Reorganize hildon_window_size_allocate()
2111 * src/hildon-edit-toolbar.c: Update documentation.
2113 * examples/hildon-edit-toolbar-example.c (edit_window): Update
2114 example to use the new API.
2116 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
2118 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2120 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
2121 Remove from stack before calling parent's hide.
2123 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2125 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
2126 window is removed from the middle of the stack, update the
2127 transiency of the previous one.
2129 Fixes: NB#100487 (HildonStackableWindow transiency becomes
2132 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2134 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
2135 block/unblock the signal handler if it's not actually being used.
2136 Fixes some critical warnings.
2138 2009-02-02 Alberto Garcia <agarcia@igalia.com>
2140 Based on a patch by Iván Gómez (igomez@igalia.com)
2142 * src/hildon-banner.c
2146 * src/hildon-pannable-area.c
2147 * src/hildon-picker-dialog.c
2148 * src/hildon-wizard-dialog.h
2149 * src/hildon-wizard-dialog.c: Documentation updates.
2151 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
2152 gtk_dialog_add_button() instead of hildon_dialog_add_button().
2154 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2156 * configure.ac: post release version bump.
2157 * debian/changelog: version bump.
2159 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2164 * configure.ac: Bump version.
2165 * debian/changelog: Updates.
2167 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2169 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
2170 a stock icon nor change the relief of the back arrow.
2172 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2173 graphics from theme)
2175 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2177 * src/hildon-button.c (hildon_button_set_alignment): Use
2178 priv->alignment if the button has no child yet.
2180 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
2182 * src/hildon-button.c: (hildon_button_init): Set the
2183 button style during initialization to give it the proper
2186 Fixes: NB#99713 (HildonButton value label color is wrong)
2188 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2190 * src/hildon-touch-selector.c: Document
2191 hildon_touch_selector_center_on_selected()
2193 2009-01-28 Alberto Garcia <agarcia@igalia.com>
2195 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
2196 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
2197 all menu items, but not the menu itself.
2198 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
2199 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
2200 items after adding them to the menu so keyboard accelerators work.
2201 (hildon_app_menu_show): Don't show the menu if it contains items
2202 but none of them are visible.
2204 * examples/hildon-app-menu-example.c (create_menu): Use
2205 gtk_widget_show_all() to show all menu items.
2207 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2209 * src/hildon-picker-dialog.c:
2210 (-_update_title_on_selector_changed_cb),
2211 (-_dialog_update_title): Removed.
2212 (_select_on_selector_changed_cb), (_on_dialog_response),
2213 (on_selector_columns_changed): Do not update the dialog title.
2214 (setup_interaction_mode): Do not connect to
2215 HildonTouchSelector::changed signal if there's a "done" button, as
2216 the dialog title doesn't need to be updated.
2218 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
2221 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
2223 Patch by Kristian Rietveld (kris@imendio.com)
2225 * src/hildon-touch-selector.c: (_create_new_column): Use new
2226 GtkTreeView::hildon-row-tapped signal to react to user interactions
2227 instead of ::changed.
2229 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
2230 with some dynamic tree model)
2232 2009-01-27 Alberto Garcia <agarcia@igalia.com>
2234 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
2235 (+screen_size_changed, +label_size_request)
2236 (hildon_note_class_init): Make the Hildon information note have a
2237 minimum height, and make its text hvae a maximum width.
2239 Fixes: NB#98614 (Hildon information note (background) should have
2240 minimum height and maximum text width)
2242 2009-01-26 Alberto Garcia <agarcia@igalia.com>
2244 * src/hildon-banner.h
2245 * src/hildon-banner.c (hildon_banner_show_information)
2246 (hildon_banner_show_informationf)
2247 (hildon_banner_show_information_with_markup): Update documentation
2248 to reflect that the icon_name parameter is not used anymore.
2249 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
2250 Remove all code from these functions and mark them as deprecated.
2251 (hildon_banner_show_progress): Mark as deprecated.
2253 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
2255 2009-01-26 Alejandro G. Castro <alex@igalia.com>
2257 * src/hildon-pannable-area.c,
2258 (hildon_pannable_area_class_init),
2259 (tranparency_color),
2260 (hildon_pannable_draw_vscroll),
2261 (hildon_pannable_draw_hscroll),
2262 (hildon_pannable_area_expose_event): Added a new way to render the
2263 scrollbars of the pannable area avoiding using cairo at all. This
2264 way we improve the performance of the pannable area rendering. The
2265 cairo rendering procedure is still in the code, we can control
2266 which one to use changing the value of the define
2267 USE_CAIRO_SCROLLBARS.
2269 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2271 * configure.ac: post release version bump.
2272 * debian/changelog: version bump.
2274 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2279 * configure.ac: Bump version.
2280 * debian/changelog: Updates.
2282 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2284 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
2285 banners instead of destroying them when they receive a button
2288 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2290 Reverted commit 34028, it was causing regressions, probably the
2291 topmost condition is not correct, we have to check it in more
2292 detail. We have reponed the bug: NB#97458 (Pannable area prevents
2293 propagation of button press events)
2295 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2297 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
2298 that the selection is not empty before attempting to retrieve the
2299 current ampm selection.
2301 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2303 * src/hildon-picker-button.c:
2304 (hildon_picker_button_on_dialog_response): Directly update the
2305 button contents when required instead of calling _selection_changed.
2307 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2309 * src/hildon-program.c (hildon_program_update_top_most): Update
2310 'is-topmost' property also when wm_hints is not set.
2312 Fixes: NB#98383 (is-topmost signal is not emitted when task
2313 switcher is clicked.)
2315 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2317 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
2321 * src/hildon-animation-actor.c,
2322 * src/hildon-animation-actor.h: Added the animation actor class,
2323 this widget represents an animation actor for WM-assisted
2324 animation effects in the Hildon framework.
2326 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2328 * src/hildon-window-stack-private.h
2329 * src/hildon-window-stack.c
2330 * src/hildon-stackable-window.c (hildon_stackable_window_show):
2331 Avoid calling gtk_widget_show() again indirectly from
2332 hildon_stackable_window_show()
2334 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2336 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
2339 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2341 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
2342 (hildon_time_selector_init): Move the construction of the hours and
2343 ampm columns to the constructor to preserve the order the columns
2346 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2348 * src/hildon-picker-dialog.c:
2349 (hildon_picker_dialog_class_init): Connect a realize method.
2350 (+hildon_picker_dialog_realize): Setup the interaction mode here
2352 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
2353 yet, do it during the realize instead.
2354 (_on_dialog_response):
2355 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
2356 if the widget is not realized, to avoid the dialog response before it
2359 Avoid premature responses in the HildonPickerDialog that can cause it
2360 to be hidden before it's even shown.
2362 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2364 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
2365 (on_selector_columns_changed), (requires_done_button),
2366 (+prepare_action_area), (setup_interaction_mode),
2367 (_hildon_picker_dialog_set_selector):
2369 Split the interaction mode setup into preparation of the
2370 action area (prepare_action_area()) and the connection of
2371 the signals in setup_interaction_mode() and update the code to
2374 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2376 * src/hildon-pannable-area.c,
2377 (hildon_pannable_area_class_init): Reduced the amount of scrolls
2378 per second to 15, we will check if this is ok regarding
2381 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2383 * src/hildon-pannable-area.c,
2384 (hildon_pannable_axis_scroll): Avoid resize if we already have
2385 reached overshoot_max.
2387 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2389 * src/hildon-pannable-area.c,
2390 (hildon_pannable_area_init),
2391 (hildon_pannable_area_realize),
2392 (hildon_pannable_area_size_allocate),
2393 (hildon_pannable_area_map),
2394 (hildon_pannable_area_unmap),
2395 (hildon_pannable_draw_vscroll),
2396 (hildon_pannable_draw_hscroll),
2397 (hildon_pannable_area_expose_event),
2398 (hildon_pannable_area_refresh): Added a new GdkWindow to the
2399 pannable are to avoid the expose events go to the window and
2400 redraw the window. We save this way that part of the stack and the
2401 paint_boxes. We had to change the positions of the elements when
2404 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
2406 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2407 * src/hildon-color-chooser-dialog.c:
2408 (hildon_color_chooser_dialog_init):
2409 * src/hildon-font-selection-dialog.c:
2410 (hildon_font_selection_dialog_init),
2411 (hildon_font_selection_dialog_show_preview):
2412 * src/hildon-get-password-dialog.c:
2413 * src/hildon-login-dialog.c:
2414 * src/hildon-set-password-dialog.c:
2415 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
2416 * src/hildon-time-picker.c: (hildon_time_picker_init):
2418 Remove obsolete logical string IDs and update to the appropriate ones.
2420 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
2422 2009-01-21 Alberto Garcia <agarcia@igalia.com>
2424 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
2425 that happens if the window hasn't been realized yet.
2427 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
2428 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
2430 2009-01-20 Alberto Garcia <agarcia@igalia.com>
2432 * src/hildon-app-menu.c (hildon_app_menu_class_init)
2433 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
2436 Fixes: NB#98537 (Device hangs in account settings dialog)
2438 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2440 * configure.ac: post release version bump.
2441 * debian/changelog: version bump
2443 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2448 * configure.ac: Bump version.
2449 * debian/changelog: Updates.
2451 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2453 Added a new function to the HildonTimeButton widget that allows to
2454 change the step of the minutes in the selector associated with the
2455 button: hildon_time_button_new_step
2457 * src/hildon-time-button.c,
2458 (hildon_time_button_init),
2459 (hildon_time_button_new),
2460 (hildon_time_button_new_step):
2461 * src/hildon-time-button.h: Added the new function and refactored
2463 * examples/hildon-time-button-example.c,
2464 (main): We have replaced the function without parameters with the
2465 function with the steps set to 5
2467 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
2469 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2471 * src/hildon-time-selector.c,
2472 (hildon_time_selector_class_init),
2473 (hildon_time_selector_constructor),
2474 (hildon_time_selector_get_property),
2475 (hildon_time_selector_set_property),
2476 (_create_minutes_model),
2477 (hildon_time_selector_new_step),
2478 (hildon_time_selector_set_time),
2479 * src/hildon-time-selector.h: Added a new property to the
2480 HildonTimeSelector (minutes-step), we use that property to control
2481 the steps between the minutes in the list of the selector. We have
2482 added a new function to the API to create a widget changing the
2483 step: hildon_time_selector_new_step.
2485 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2487 * src/hildon-time-selector.c,
2488 (hildon_time_selector_class_init),
2489 (hildon_time_selector_constructor),
2490 (hildon_time_selector_init): Overrided the construct function when
2491 creating the time selector object. We have moved the minutes model
2492 handling code from the init to the new construction function:
2493 hildon_time_selector_constructor.
2495 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2497 * examples/hildon-date-button-example.c: (main): Use the new
2498 hildon_date_button_new_with_year_range() method in the example.
2499 * src/hildon-date-button.c:
2500 (+hildon_date_button_new_with_year_range): New public method
2501 to conveniently create a HildonDateButton with a custom year range
2502 in its HildonDateSelector.
2503 * src/hildon-date-button.h: Add the new public method definition.
2505 Fixes: NB#97908 (Not possible to change the year range in
2506 HildonDateSelector/HildonDateButton)
2508 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2510 * src/hildon-date-selector.c:
2511 (+hildon_date_selector_set_property),
2512 (+hildon_date_selector_get_property),
2513 (hildon_date_selector_class_init): Install new properties "min-year"
2514 and "max-year" to define boundaries for the year column.
2515 (_create_year_model): Use the boundary properties to populate the model.
2516 (+hildon_date_selector_new_with_year_range): New public method to
2517 create a HildonDateSelector with a user defined year range.
2518 (hildon_date_selector_select_current_date): Use the new boundaries to
2519 calculate the iterator of current year.
2520 * src/hildon-date-selector.h: Add the new public method definition.
2522 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2524 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
2525 Install a constructor method.
2526 (+hildon_date_selector_construct_ui): construct the widget.
2527 (+hildon_date_selector_constructor): new constructor.
2528 (+hildon_date_selector_init): move out widget construction code to
2529 the new constructor.
2531 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2533 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
2534 that there's actually a month or year selected before obtaining them.
2535 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
2536 of the HildonTouchSelector::changed signal, as it was emitted on every
2537 single item selection.
2539 Fix some warnings and possible crashers due to the selection restoring.
2541 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2543 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
2544 the signal handlers only after creating the dialog instead of on every
2547 2009-01-19 Alberto Garcia <agarcia@igalia.com>
2549 * src/hildon-button.c (hildon_button_init)
2550 * src/hildon-check-button.c (hildon_check_button_init)
2551 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
2552 focus when clicked by default.
2554 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2556 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
2559 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2561 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2562 Alejandro G. Castro (alex@igalia.com)
2564 * src/hildon-picker-dialog.c:
2565 (hildon_picker_dialog_class_init): install new "center-on-show"
2567 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
2568 (hildon_picker_dialog_set_property): add setter code for the new
2570 (hildon_picker_dialog_get_property): add getter code for the new
2572 (hildon_picker_dialog_show): Ensure visibility of selected items in the
2573 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
2576 Fixes: NB#92849 (Selected item is not always visible when
2577 HildonTouchSelector is shown)
2579 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2581 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2582 Alejandro G. Castro (alex@igalia.com)
2584 * src/hildon-touch-selector.c:
2585 (_create_new_column): Do not connect to the "realize" signal of the
2587 (hildon_touch_selector_append_column): center on the selected items
2588 when a new column is appended.
2589 (hildon_touch_selector_select_iter): Factor out the code to select a
2590 column to hildon_touch_selector_scroll_to().
2591 (+search_nearest_element): Method to retrieve the nearest selected
2592 element to the visible area of the pannable area in a column.
2593 (+on_realize_cb): scroll to the initially selected item.
2594 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
2595 the pannable area is realized, otherwise delay this until it is.
2596 (+_hildon_touch_selector_center_on_selected_items): Centers on the
2597 selected items of a given column.
2598 (+hildon_touch_selector_center_on_selected): Public method to center
2599 all columns on the nearest selected item.
2600 * src/hildon-touch-selector.h: Add definition for
2601 hildon_touch_selector_center_on_selected().
2603 Implement public API to ensure visibility of all selected items in
2604 a HildonTouchSelector.
2606 2009-01-16 Alejandro G. Castro <alex@igalia.com>
2608 Fixed a problem in the fading when calling the scroll_to API, and
2609 improve scrollbar fading handling.
2611 * src/hildon-pannable-area.c,
2612 (hildon_pannable_area_grab_notify): avoid the timeout when the
2614 (hildon_pannable_area_button_press_cb),
2615 (hildon_pannable_area_motion_notify_cb): Code style changes.
2616 (hildon_pannable_area_button_release_cb): Review the conditions
2617 when releasing the mouse button to avoid unrequired fading
2619 (hildon_pannable_area_scroll_to): Do not calculate and set the
2620 velocity if the scroll is not required.
2622 2009-01-15 Alberto Garcia <agarcia@igalia.com>
2624 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
2625 Don't check whether the new selector is NULL: it cannot be.
2626 Hold a reference to the selector while doing the replacement.
2628 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2630 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2631 unnecessary size_request in a removed widget.
2633 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2635 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2636 an unnecessary reference tracking that was leaking.
2638 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2640 Added delayed motion notify event handling, this way we can
2641 discard redrawing if more than 25 events arrive per second.
2643 * src/hildon-pannable-area.c,
2644 (hildon_pannable_area_init): Initialized the new private atributes
2645 controlling this timeout
2646 (hildon_pannable_area_dispose): Remove the timeout that controls
2647 the motion notify events.
2648 (hildon_pannable_area_scroll): Added a condition to control the
2649 use of the acceleration.
2650 (hildon_pannable_area_motion_event_scroll_timeout),
2651 (hildon_pannable_area_motion_event_scroll): Added this two
2652 functions, they handle the motion notify events inside the
2654 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
2655 to the scroll method with the new function.
2656 (hildon_pannable_area_button_release_cb): We have to remove the
2657 timeout handler and move to the last position if the last motion
2658 events were not handled.
2660 Fixes: NB#97028 (Pannable area updates on every motion event)
2662 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2664 * src/hildon-pannable-area.c,
2665 (hildon_pannable_area_get_topmost): Added a new parameter to
2666 filter the the windows that do not include those events. Added
2667 also a condition when finding the window to filter windows that do
2668 not ask for those events.
2669 (hildon_pannable_area_button_press_cb),
2670 (hildon_pannable_area_button_release_cb),
2671 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2672 topmost function, we have added the new parameter.
2674 Fixes: NB#97458 (Pannable area prevents propagation of button
2677 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2679 * src/hildon-pannable-area.c,
2680 (hildon_pannable_area_initial_effect): Added controls before
2681 launching the timeout and the idle functions.
2682 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
2683 of the method, in some situations it can return with TRUE and 0 in
2685 (hildon_pannable_area_button_press_cb): We do not need to set
2686 DELAY for fading out here.
2688 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
2690 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2692 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
2693 post-cleaning if the selection is not NULL.
2695 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2697 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
2698 all items before restoring the selection.
2700 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2702 * src/hildon-touch-selector.c:
2703 (+hildon_touch_selector_unselect_all):
2704 * src/hildon-touch-selector.h: New API to unselect all items in a
2705 column of the touch selector.
2707 2009-01-14 Alejandro G. Castro <alex@igalia.com>
2709 * src/hildon-pannable-area.c,
2710 (hildon_pannable_area_redraw): Added a call to the refresh
2711 function inside the redraw because apparently in some cases the
2712 change in the adjustment does not imply a size allocate.
2714 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
2715 despite the view not being scrollable)
2717 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2719 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
2720 leak. Check for NULL before attempting to set the window title.
2722 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2724 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
2725 whether to show or not the 'Done' button each time the dialog is
2726 shown, as it depends on the HildonTouchSelector selection mode.
2728 Fixes: NB#96226 (In multiple selection mode Done button is shown
2729 sometimes in listpicker)
2731 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2733 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
2734 for the number of columns in the HildonTouchSelector more than once.
2736 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2738 * src/hildon-touch-selector.c: Minor documentation fixes.
2740 * src/hildon-picker-dialog.c (+_dialog_update_title)
2741 (_select_on_selector_changed_cb)
2742 (_update_title_on_selector_changed_cb)
2743 (on_selector_columns_changed): Update dialog title when there's no
2744 'Done' button and also when the number of columns in the selector
2748 * src/hildon-picker-button.c (hildon_picker_button_finalize)
2749 (+_selection_changed, hildon_picker_button_on_dialog_response)
2750 (hildon_picker_button_selector_selection_changed)
2751 (+hildon_picker_button_selector_columns_changed)
2752 (hildon_picker_button_set_selector): Update button value and emit
2753 'value-changed' when the number of columns in the selector
2757 Fixes: NB#96225 (Dialog titles are not shown according to the
2758 values selected in the list picker)
2760 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2762 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
2763 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
2764 New "arrow-width" and "arrow-height" style properties to set the
2765 size of the arrow button.
2766 Set name of arrow button ("hildon-edit-toolbar-arrow").
2768 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2769 graphics from theme)
2771 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2773 * src/hildon-picker-button.c:
2774 (hildon_picker_button_selector_selection_changed): Use
2775 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
2776 the dialog is present.
2778 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
2779 the selection is accepted in the dialog)
2781 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2783 * src/hildon-color-chooser.h
2784 * src/hildon-color-chooser-dialog.h:
2785 Added G_BEGIN_DECLS and G_END_DECLS
2787 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2789 (_clean_current_selection): plug a leak in the list.
2791 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2793 * src/hildon-picker-dialog.c:
2794 (+free_path_list): Method to free a GList of GtkTreePaths.
2795 (_clean_current_selection), (_save_current_selection),
2796 (_restore_current_selection): Save the current selection in
2797 as a list of lists, to support multiple selection properly.
2799 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2801 patch by Claudio Saavedra (csaavedra@igalia.com)
2803 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
2804 Store the press position.
2805 (+hildon_text_view_button_release_event): If the release position is
2806 close enough to the press position, move the cursor here. Otherwise,
2808 (hildon_text_view_class_init): Override GtkTextView press, release, and
2809 motion event handlers, disabling this way text selection through
2810 pointer interaction, and allowing the container widget to handle the
2813 Fixes: NB#95828 (HildonTextView functionality)
2815 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2817 Based on a patch by Iván Gómez (igomez@igalia.com)
2819 * src/hildon-button.[ch]
2820 * src/hildon-calendar.c
2821 * src/hildon-check-button.c
2822 * src/hildon-date-editor.c
2823 * src/hildon-date-selector.c
2824 * src/hildon-picker-button.c
2825 * src/hildon-time-editor.c
2826 * src/hildon-time-selector.c
2827 * src/hildon-touch-selector.[ch]:
2828 Documentation updates
2830 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2832 * src/hildon-pannable-area.c,
2833 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
2834 threshold, it was required due to X events handling.
2836 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2838 * src/hildon-pannable-area.c,
2839 (hildon_pannable_area_grab_notify),
2840 (hildon_pannable_area_initial_effect),
2841 (hildon_pannable_area_button_press_cb),
2842 (hildon_pannable_area_button_release_cb),
2843 (hildon_pannable_area_scroll_cb),
2844 (hildon_pannable_area_scroll_to): Review the timeout management of
2845 the scrollbar, the frecuency was incorrectly set.
2847 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
2849 * src/hildon-picker-button.c:
2850 (+hildon_picker_button_on_dialog_response),
2851 (hildon_picker_button_clicked): Present the dialog instead of
2852 running it with gtk_dialog_run().
2854 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
2857 2009-01-07 Alberto Garcia <agarcia@igalia.com>
2859 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2860 (hildon_app_menu_finalize): When a window is hidden it doesn't
2861 emit notify::is-topmost, so make sure than the menu also
2862 disappears in that case.
2863 (parent_window_topmost_notify): Renamed from parent_window_hidden
2865 Fixes: NB#94460 (stackable window's menu is not closed when its
2868 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2870 * src/hildon-touch-selector-entry.c:
2871 (+hildon_touch_selector_entry_set_input_mode),
2872 (+hildon_touch_selector_entry_get_input_mode):
2873 * src/hildon-touch-selector-entry.h: New methods to access the input
2874 mode in the selector's entry.
2876 Fixes: NB#93410 (API required for setting IM mode in
2877 HildonTouchSelectorEntry)
2879 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2881 * configure.ac: post release version bump.
2882 * debian/changelog: version bump
2884 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2889 * configure.ac: Bump version.
2890 * debian/changelog: Updates.
2892 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
2894 * src/hildon-touch-selector.c:
2895 (_hildon_touch_selector_has_multiple_selection): No need
2896 to initialize the variables here.
2898 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2900 * src/hildon-note-private.h
2901 * src/hildon-note.c (event_box_press_event, hildon_note_init)
2902 (hildon_note_finalize, hildon_note_rebuild): Close information
2903 notes when they receive a button press.
2905 Fixes: NB#89890 (Information notes does not get disappeared after
2908 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
2910 * src/hildon-wizard-dialog.c: (create_title): Remove translation
2911 mark from the wizard title, as it's not really necessary. Also,
2912 do not display the page title if not set.
2914 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2916 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2917 (parent_window_hidden): Use the window's "is-topmost" property to
2918 detect when to hide the menu.
2920 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2922 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2923 (hildon_app_menu_finalize): If the parent window of the menu is
2924 hidden, hide the menu too.
2926 Fixes: NB#94460 (stackable window's menu is not closed when its
2929 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2932 * debian/libhildon1-examples.install
2934 * examples/Makefile.am:
2935 Use dh_install to install all examples.
2936 Use DEB_SRCDIR instead of defining SOURCE_DIR
2938 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2940 * configure.ac: post release version bump.
2941 * debian/changelog: version bump
2943 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2948 * configure.ac: bump version
2949 * debian/changelog: updates
2950 * debian/control: bump gtk+ dependency
2952 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2954 patch by Christian Dywan (christian@imendio.com)
2956 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
2957 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
2959 2008-12-15 Alberto Garcia <agarcia@igalia.com>
2961 * src/hildon-check-button.c (hildon_check_button_init)
2962 (hildon_check_button_class_init, hildon_check_button_style_set)
2963 (hildon_check_button_apply_style):
2964 New "checkbox-size" style property.
2966 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
2967 larger / configurable size)
2969 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2971 * configure.ac: post release version bump.
2972 * debian/changelog: version bump
2974 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2979 * configure.ac: bump version
2980 * debian/changelog: updates
2982 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2984 * doc/hildon-sections.txt
2985 * src/hildon-pannable-area.c
2986 * src/hildon-program.c
2987 * src/hildon-time-editor.c
2988 * src/hildon-touch-selector-entry.c:
2990 More documentation updates.
2992 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2994 * doc/hildon-sections.txt
2995 * src/hildon-caption.c
2996 * src/hildon-code-dialog.c
2997 * src/hildon-color-button.c
2998 * src/hildon-controlbar.c
2999 * src/hildon-date-editor.c
3000 * src/hildon-date-selector.c
3001 * src/hildon-edit-toolbar.c
3002 * src/hildon-find-toolbar.c
3003 * src/hildon-font-selection-dialog.c
3005 * src/hildon-program.c
3006 * src/hildon-range-editor.c
3007 * src/hildon-seekbar.c
3008 * src/hildon-time-editor.c
3009 * src/hildon-time-selector.c
3010 * src/hildon-volumebar-range.c
3011 * src/hildon-volumebar.c
3012 * src/hildon-vvolumebar.c
3013 * src/hildon-weekday-picker.c
3014 * src/hildon-window.c
3015 * src/hildon-wizard-dialog.c:
3017 Lots of documentation fixes.
3019 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3021 Patch contributed by Iván Gómez (igomez@igalia.com)
3023 * src/hildon-check-button.c:
3024 * src/hildon-date-button.c:
3025 * src/hildon-date-selector.c:
3026 * src/hildon-dialog.c:
3027 * src/hildon-edit-toolbar.c:
3028 * src/hildon-entry.c:
3029 * src/hildon-picker-button.c:
3030 * src/hildon-program.c:
3031 * src/hildon-text-view.c:
3032 * src/hildon-time-button.c:
3033 * src/hildon-touch-selector-entry.c:
3034 * src/hildon-window-stack.c:
3036 Add more "since" tags to the new API.
3038 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3040 * doc/hildon-sections.txt: Add below method.
3041 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
3042 version for the hildonized scale.
3043 * src/hildon-gtk.h: Add the definition.
3045 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3047 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3049 * doc/hildon-sections.txt: Add missing entries for new methods.
3051 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3053 Added API to pannable are in order to get its adjustments. We
3054 added two properties to manage the values we had in the private
3057 * src/hildon-pannable-area.c:
3058 (hildon_pannable_area_class_init): Added hadjustment and
3059 vadjustment properties in order to expose horizontal and vertical
3061 (hildon_pannable_area_get_property),
3062 (hildon_pannable_area_set_property): Added code to handle the new
3064 (hildon_pannable_area_get_hadjustment),
3065 (hildon_pannable_area_get_vadjustment): API functions to get the
3067 * src/hildon-pannable-area.h:
3068 (hildon_pannable_area_get_hadjustment),
3069 (hildon_pannable_area_get_vadjustment): API functions to get the
3072 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3074 Fixed some leaks, after valgrinding.
3076 * src/hildon-touch-selector.c:
3077 (_default_print_func): Fixed a leak.
3078 (hildon_touch_selector_append_column): Fixed a leak.
3079 * src/hildon-date-button.c:
3080 (hildon_date_button_init): Fixed a leak.
3081 * src/hildon-date-selector.c
3082 (hildon_date_selector_finalize): Fixed a leak.
3084 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3086 Based on a patch by Christian Dywan (christian@imendio.com)
3088 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
3090 * src/hildon-gtk.h: Add definition.
3092 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3094 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3096 * src/hildon-picker-button.c: (hildon_picker_button_init),
3097 (hildon_picker_button_new): Set the HildonButton::style property
3098 in the init method, to propagate the value to the derived classes.
3100 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3102 * src/hildon-button.c: (hildon_button_class_init): Do not make
3103 the "style" property a construct property.
3105 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3107 * src/hildon-wizard-dialog.h
3108 * src/hildon-wizard-dialog.c
3109 (hildon_wizard_dialog_set_forward_page_func)
3110 * src/hildon-pannable-area.h
3111 * src/hildon-pannable-area.c
3112 (hildon_pannable_area_set_size_request_policy):
3113 Documentation fixes.
3115 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3117 * doc/hildon-sections.txt: Fixed warning about unused symbols.
3119 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3121 * doc/hildon-sections.txt: Added sections file.
3123 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3126 * src/*.[ch]: Updates.
3128 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
3130 * examples/hildon-progress-indicator-example.c: new file
3131 * examples/Makefile.am: include the new example program
3133 2008-12-10 Alberto Garcia <agarcia@igalia.com>
3135 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
3137 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3139 * configure.ac: post release version bump
3140 * debian/changelog: version bump
3142 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3147 * configure.ac: bump version
3148 * debian/changelog: updates
3149 * debian/control: bump gtk+ dependency
3151 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3153 * src/hildon-dialog.c: Mark as deprecated.
3154 * src/hildon-dialog.h: Mark as deprecated.
3155 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
3156 from HildonDialog and still work, even if
3157 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
3158 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
3160 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
3161 maemo changes) instead)
3163 2008-12-09 Alejandro G. Castro <alex@igalia.com>
3165 * src/hildon-pannable_area.h:
3166 * src/hildon-pannable_area.c:
3167 (hildon_pannable_area_class_init),
3168 (hildon_pannable_area_set_property),
3169 (hildon_pannable_area_get_property),
3170 (hildon_pannable_area_size_request),
3171 (hildon_pannable_area_get_size_request_policy),
3172 (hildon_pannable_area_set_size_request_policy): Added new API
3173 allowing applications to control the request policy. Now they can
3174 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
3175 children allocation (HILDON_MOVEMENT_CHILDREN).
3177 2008-12-09 Alberto Garcia <agarcia@igalia.com>
3181 (hildon_gtk_tree_view_set_ui_mode)
3182 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
3183 mode of treeviews and iconviews.
3185 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3187 * src/hildon-touch-selector-entry.c:
3188 (hildon_touch_selector_entry_init): Use a HildonEntry instead
3189 of a GtkEntry to get proper theming.
3191 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
3192 widget, not GtkEntry)
3194 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3196 * src/hildon-wizard-dialog.c: (response): Move forward if there is
3197 no HildonWizardDialogPageFunc.
3199 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3201 Patch contributed by Iván Gómez (igomez@igalia.com)
3203 * src/hildon-app-menu.c:
3204 * src/hildon-button.c:
3205 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
3206 * src/hildon-stackable-window.c:
3207 * src/hildon-time-selector.c:
3208 * src/hildon-touch-selector.c:
3209 * src/hildon-window.c:
3211 Add more "since" tags to the new API in hildon 2.2.
3213 2008-12-05 Tim Janik <timj@imendio.com>
3215 Patch contributed by Christian Dywan (christian@imendio.com)
3217 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
3218 HildonSizeType, which are supplied by Gtk+ now.
3220 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
3222 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
3223 (with maemo changes) instead)
3225 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3227 Patch contributed by Iván Gómez (igomez@igalia.com)
3229 * src/hildon-pannable-area.c: Add "since" tags to the new API in
3232 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3234 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
3235 (some_page_func), (main): Update the example to use a
3236 HildonWizardDialogPageFunc function.
3238 * src/hildon-wizard-dialog-private.h: Add private data for
3239 the HildonWizardDialogPageFunc function usage.
3241 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
3242 (destroy), (hildon_wizard_dialog_init), (response),
3243 (hildon_wizard_dialog_set_forward_page_func):
3244 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
3245 that applications can use to stop a HildonWizardDialog to jump to
3248 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
3251 2008-12-04 Alberto Garcia <agarcia@igalia.com>
3253 * src/hildon-program.h
3254 * src/hildon-program-private.h
3255 * src/hildon-program.c (hildon_program_init)
3256 (hildon_program_set_common_app_menu)
3257 (hildon_program_get_common_app_menu):
3258 New API for setting a common HildonAppMenu for all
3259 HildonStackableWindows registered with the HildonProgram.
3261 * src/hildon-stackable-window.c
3262 (hildon_stackable_window_toggle_menu):
3263 Use the common HildonAppMenu if a window doesn't have a specific
3266 * src/hildon-app-menu-private.h
3267 * src/hildon-app-menu.c
3268 (hildon_app_menu_get_parent_window):
3269 Function to obtain the window a HildonAppMenu is attached to.
3270 (hildon_app_menu_set_parent_window):
3271 Hide the menu if the parent window is set to NULL.
3273 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
3275 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
3276 set GtkTreeView::enable-search to FALSE, to avoid the interactive
3277 search widget to popup.
3279 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3281 * configure.ac: post release version bump
3282 * debian/changelog: version bump
3284 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3289 * configure.ac: bump version
3290 * debian/changelog: updates
3292 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3294 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
3296 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
3297 (hildon_window_stack_window_realized)
3298 (hildon_window_stack_remove, _hildon_window_stack_do_push):
3299 Set the leader GdkWindow when a window is stacked and realized,
3300 unset it when it's unstacked.
3301 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
3303 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
3305 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3307 * src/hildon-stackable-window.h
3308 * src/hildon-window-stack.h:
3309 Protect definition of HildonWindowStack using the preprocessor.
3311 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3313 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
3314 Fix warning if all menu items are hidden.
3316 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
3318 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3320 * src/hildon-controlbar.c:
3321 * src/hildon-hvolumebar.c:
3322 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
3323 Multiple scale size defines updates.
3325 Fixes: NB#94322 (Scale Updates)
3327 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3329 * examples/hildon-app-menu-example.c (create_menu)
3330 Show items after adding them to the menu, as in the future the
3331 menu will no longer call gtk_widget_show() on the added items.
3333 * src/hildon-app-menu.c:
3334 Update example as explained above.
3336 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3338 * src/hildon-app-menu.c
3339 (hildon_app_menu_insert, hildon_app_menu_add_filter):
3340 Make sure that all menu items have finger height.
3342 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
3344 * src/hildon-picker-dialog.c:
3345 (_on_dialog_response), (_save_current_selection),
3346 (_restore_current_selection), (_clean_current_selection),
3347 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
3348 Defined new functions in order to save the current internal selector
3349 selection previous open the dialog, in case that the use cancel the
3350 interaction, so the widget restores the previous selection.
3352 Fixes: NB#92032 (In calendar application, date values in 'new event'
3355 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
3357 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3359 * src/hildon-button.c: Add a reference to the button examples in
3360 hildon-button-example.c
3362 * examples/hildon-button-example.c: Added examples of the most
3363 common button layouts.
3365 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3367 * src/hildon-app-menu.c (hildon_app_menu_show)
3368 (hildon_app_menu_class_init): Don't show the menu if it's empty.
3370 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
3372 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3374 * src/hildon-picker-dialog.c:
3375 (hildon_picker_dialog_init): Initialize the signal id for
3376 HildonTouchSelector::columns-changed.
3377 (+on_selector_columns_changed): Set up the interaction mode everytime a
3378 column is added or removed from the HildonTouchSelector.
3379 (_hildon_picker_dialog_set_selector): Connect to
3380 HildonTouchSelector::columns-changed and keep track of it.
3382 Make sure to update the interaction mode of the dialog everytime a
3383 column is added or removed in the HildonTouchSelector.
3385 Fixes: NB#93228 (Done button is not shown always in listpicker)
3387 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3389 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
3390 a new ::columns-changed signal.
3391 (hildon_touch_selector_append_column): Emit ::columns-changed.
3392 (hildon_touch_selector_remove_column): Emit ::columns-changed.
3394 Add a ::columns-changed signal, emitted when the number of columns in a
3395 HildonTouchSelector changes.
3397 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3399 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
3400 (_hildon_picker_dialog_set_selector): Factor out the code
3401 to set up the dialog interaction mode.
3403 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3405 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
3406 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
3407 to signal_changed_id.
3409 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3411 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3414 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
3416 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
3417 Updated the logical ids related to ampm format, as now it is required to
3418 show it correctly localized even on languages with no default
3419 abbreviations for am or pm
3420 (_check_am_pm_format): check correctly the 24h format gconf property
3422 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
3424 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3426 * src/hildon-button.c: Documentation updates.
3428 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3430 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
3431 * src/hildon-caption.c: (hildon_caption_class_init):
3432 * src/hildon-color-button.c: (hildon_color_button_class_init):
3433 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
3434 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3435 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
3436 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
3438 Remove deprecated GTK+ marshalers and replace them with the ones
3439 provided by GLib, for those available, add a marshaler for
3440 BOOLEAN:VOID, which is not available in GLib, and use it.
3442 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3444 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
3445 the text from the previous column if there is no
3446 HildonTouchSelectorColumn::text-property set.
3448 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3450 * src/hildon-button.h
3451 * src/hildon-button.c (hildon_button_set_property)
3452 (hildon_button_get_property, hildon_button_class_init)
3453 (hildon_button_set_style, hildon_button_get_style):
3454 New "style" property to change the visual appearance of the
3457 * src/hildon-picker-button.c (hildon_picker_button_new):
3458 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
3460 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
3461 HildonButton look like PickerButton)
3463 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3465 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
3466 column while building the default string.
3468 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3470 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
3471 scroll indicator by default.
3473 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
3475 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3477 * src/hildon-main.c: Fix the documentation for hildon_init()
3479 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3481 * doc/hildon-docs.sgml
3485 * src/hildon-window-stack-private.h
3486 * src/hildon-window-stack.h
3487 * src/hildon-window-stack.c:
3488 New HildonWindowStack object, that adds support for multiple
3489 stacks of windows per process.
3491 * src/hildon-stackable-window-private.h
3492 * src/hildon-stackable-window.h
3493 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
3494 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
3495 (hildon_stackable_window_show, hildon_stackable_window_hide)
3496 (hildon_stackable_window_class_init)
3497 (hildon_stackable_window_init):
3498 Use HildonWindowStack for stack management.
3500 * src/hildon-program.c (hildon_program_pop_window_stack)
3501 (hildon_program_peek_window_stack)
3502 (hildon_program_go_to_root_window):
3503 Add a fallback implementation to the deprecated functions using
3506 * examples/hildon-stackable-window-example.c:
3507 Use the new HildonWindowStack API.
3509 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3511 * src/hildon-stackable-window-private.h
3512 * src/hildon-stackable-window.c (hildon_stackable_window_show)
3513 (hildon_stackable_window_hide, hildon_stackable_window_init):
3514 Remove all window stack management.
3516 * src/hildon-program-private.h
3517 * src/hildon-program.h
3518 * src/hildon-program.c (hildon_program_init)
3519 (hildon_program_pop_window_stack)
3520 (hildon_program_peek_window_stack)
3521 (hildon_program_go_to_root_window):
3522 Remove all window stack management and mark functions as
3525 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3527 * src/hildon-app-menu.c (hildon_app_menu_realize):
3528 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
3530 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3532 * configure.ac: post release version bump
3533 * debian/changelog: version bump
3535 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3540 * configure.ac: bump version
3541 * debian/changelog: updates
3543 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3545 Based on initial code by Christian Dywan (christian@imendio.com)
3547 * doc/hildon-docs.sgml: Add section for hildon-main.
3548 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
3549 * src/Makefile.am: Add new hildon-main.[ch]
3550 * src/hildon-defines.h: Update the icon sizes.
3551 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
3552 new library initialization files and register icon sizes.
3553 * src/hildon-main.h: New declarations.
3554 * src/hildon.h: Include hildon-main.h
3556 Add new initialization functions to the library. These methods
3557 will register the hildon specific icon sizes and can be used in the
3558 future for other hildon specific bits.
3560 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
3562 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3564 * src/hildon-window.c: (hildon_window_realize),
3565 (hildon_window_notify), (-hildon_window_update_title): Do not set
3566 the application name in the window title.
3568 Fixes: NB#89754 (Applications shouldn't display their names in the
3571 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3573 * src/hildon-note-private.h:
3574 * src/hildon-note.c: (hildon_note_set_property),
3575 (hildon_note_get_property), (hildon_note_class_init),
3576 (hildon_note_init), (hildon_note_finalize),
3577 (hildon_note_new_confirmation_with_icon_name),
3578 (hildon_note_new_information_with_icon_name):
3580 No need to mark as deprecated the actual code. Revert
3581 to avoid missing symbols in widgets using deprecated API.
3583 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3585 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
3587 * src/hildon-volumebar.h
3588 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
3589 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
3591 * src/hildon-helper.h
3592 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
3593 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
3595 * examples/Makefile.am:
3596 Deprecate hildon-insensitive-example
3598 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
3600 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3602 * examples/hildon-pannable-area-buttons-scroll-example.c:
3603 Make all buttons finger height
3605 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
3607 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
3609 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
3610 update the day model only if it is really required, and to avoid the
3611 full-reconstruction aproach. Now it only add or remove the required days.
3613 The purpose of this is avoid superfluous HildonTouchSelector::changed
3616 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
3617 with strange parameters)
3619 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
3621 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
3623 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
3624 the WINDOW_TYPE property.
3626 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
3628 2008-11-19 Alberto Garcia <agarcia@igalia.com>
3631 Fix dependency to allow parallel compilation with make -jX
3633 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
3635 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
3636 color frame and some minor tweaks to make it more consistent with
3639 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
3640 highlighted but not visible)
3642 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3644 * examples/Makefile.am: Fixed typo in the Makefile.am.
3646 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3648 Reviewed the use of MAEMO_GTK define, now we add the define in the
3649 compilation line, and we also add it to the pc file.
3651 * configure.ac: Added MAEMO_GTK define to the compilation command
3652 and removed it from the config.h.
3654 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
3655 do not have to take care about this define if the library was
3659 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
3661 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3663 * examples/Makefile.am,
3664 * examples/hildon-pannable-area-buttons-scroll-example.c,
3665 * examples/hildon-pannable-area-gesture-signals-example.c,
3666 * examples/hildon-pannable-area-scroll-jump-example.c,
3667 * examples/hildon-pannable-area-tree-view-example.c:
3668 Renamed the pannable area examples, now they have more meaningful
3671 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
3673 * src/hildon-touch-selector.c:
3674 (hildon_touch_selector_set_column_selection_mode): Used of
3675 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
3676 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
3677 to avoid re-seting the same selection mode.
3679 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
3680 breaks HildonPickerDialog)
3682 2008-11-13 Alejandro G. Castro <alex@igalia.com>
3684 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
3685 conditional in the Makefile.am
3687 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
3689 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
3690 Remove unused methods.
3692 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3694 * src/hildon-button.c (hildon_button_init):
3695 Make button images center-aligned by default
3697 2008-11-12 Alejandro G. Castro <alex@igalia.com>
3700 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
3701 activated, we have to think about how to deal with both defines
3702 MAEMO_GTK and MAEMO_CHANGES.
3704 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3706 * examples/hildon-app-menu-example.c (create_menu): Make all
3707 buttons finger size.
3709 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3711 Fixed the compilation without maemo gtk adding ifdefs with
3712 MAEMO_GTK define to the code, we have to check this version more
3715 * examples/Makefile.am: Added control to avoid some examples that
3716 just make sense with maemo gtk.
3719 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
3720 hildon modes with the define.
3722 * examples/hildon-edit-toolbar-example.c,
3723 (create_icon_view): Create the icon view without hildon-gtk
3724 helpers if we are not using maemo gtk.
3726 * src/hildon-touch-selector.c,
3727 (_create_new_column): Create the treeview without hildon-gtk
3728 helpers if we are not using maemo gtk.
3730 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3732 * src/hildon-pnnable-area.c,
3733 (hildon_pannable_area_dispose),
3734 (hildon_pannable_area_button_press_cb),
3735 (hildon_pannable_area_child_mapped),
3736 (hildon_pannable_area_add),
3737 (hildon_pannable_area_remove): Added code to control the position
3738 of the event_window when adding and removing children from the
3739 pannable. We have to raise the event window when the child is
3742 Fixes: NB#89811 (Not able to select first image thumbnail in multi
3743 selection mode using custom widget inside pannable)
3745 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3747 * configure.ac: post release version bump
3748 * debian/changelog: version bump
3750 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3755 * configure.ac: bump version
3756 * debian/changelog: updates
3758 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
3760 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
3761 search mode, in order to avoid lose the focus on the treeview when
3762 a hw key (like enter) is pressed.
3764 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
3765 in HildonDateSelector dialog)
3767 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
3769 * debian/rules: Added --enable-maintainer-mode
3770 * Makefile.am: Added ACLOCAL_AMFLAGS
3772 This allows to properly regenerate the Makefiles if you modify the
3773 configure.ac or any Makefile.am.
3775 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3777 * examples/hildon-app-menu-example.c: (main): Do not set RC style
3778 properties, not needed at all.
3780 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3782 * src/hildon-note-private.h: Add strings for the icon and stock_icon
3784 * src/hildon-note.c: (hildon_note_set_property),
3785 (hildon_note_get_property), (hildon_note_class_init),
3786 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
3787 (hildon_note_new_confirmation_add_buttons): Remove icons.
3788 (hildon_note_new_confirmation_with_icon_name): Deprecate.
3789 (hildon_note_new_information_with_icon_name): Deprecate.
3790 (hildon_note_new_confirmation): Act directly, without calling
3791 the deprecated constructor.
3792 (hildon_note_new_information): Act directly, without calling
3793 the deprecated constructor.
3794 * src/hildon-note.h: Mark deprecate methods as such.
3795 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
3796 not run tests on the deprecated methods if built with deprecation
3799 Fixes: NB#91688 (Never show icons in information notes/confirmation
3802 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3804 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
3805 (hildon_app_menu_key_press): Remove leftover usage of the
3806 private structure in HildonAppMenu struct.
3807 * src/hildon-app-menu.h: Remove leftover private structure
3808 from the HildonAppMenu struct.
3810 Fixes a crasher when using the HildonAppMenu.
3812 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3814 * src/hildon-picker-dialog.c: Use appropriate logical id
3815 for the default "Done" text.
3817 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3819 * configure.ac: post release version bump
3820 * debian/changelog: version bump
3822 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
3824 Modified the way to scroll to the current selection just when the touch
3825 selector is shown on the screen, avoiding a g_idle. Added too a property
3826 to configure this behaviour. See hildon_pannable_area_jump_to_child
3827 documentation for more information.
3829 * src/hildon-touch-selector.c
3830 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
3831 Added 'initial-scroll' property
3832 (hildon_touch_selector_set_property): Added
3833 (hildon_touch_selector_map): Removed as not required anymore
3834 (_hildon_touch_selector_on_selected_items): Modified in order to manage
3835 only a concrete column, instead of iterate along all the columns
3837 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3842 * configure.ac: bump version
3843 * debian/changelog: updates
3845 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3847 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
3848 compilation time warnings.
3850 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3852 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
3853 the default value for HildonPannableArea::mov-mode to
3854 HILDON_PANNABLE_AREA_MODE_VERT.
3856 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
3858 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3860 Reverting following commit:
3862 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3864 * src/hildon-app-menu-private.h
3865 * src/hildon-app-menu.[ch]
3866 * src/hildon-button.[ch]
3867 * src/hildon-check-button.[ch]
3868 * src/hildon-entry.[ch]
3869 * src/hildon-pannable-area.[ch]
3870 * src/hildon-text-view.[ch]:
3871 Added private field to the object's structure.
3873 because it causes an ABI breakage. We will need to introduce these
3874 changes later at some point. See NB#91636 for an extensive
3875 explanation and status.
3877 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3879 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3881 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
3882 remove special cases that are no longer necessary.
3884 Fixes: NB#91016 (Change toolbar sizes, simplification)
3886 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3888 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
3889 is shown in the cancel note.
3891 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3893 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
3894 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
3895 (hildon_seekbar_init): Remove steppers, remove expose event.
3896 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
3898 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
3900 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
3902 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
3903 label font to "SmallSystemFont" for vertically arranged buttons.
3905 Fixes: NB#90662 (HildonButton "value" and "detail" text is
3908 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3910 * src/hildon-check-button.c
3911 (hildon_check_button_set_active, hildon_check_button_clicked):
3912 Don't access private parts directly, use getters instead.
3914 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3916 * src/hildon-check-button.c (hildon_check_button_new):
3917 Align the contents of the check button to the left.
3919 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3921 * src/hildon-pannable-area.c,
3922 (hildon_pannable_area_scroll_to),
3923 (hildon_pannable_area_jump_to),
3924 (hildon_pannable_area_scroll_to_child),
3925 (hildon_pannable_area_jump_to_child): Replace the mapped
3926 precondition of these functions with the realized, it is the
3927 correct state of the widget in this case. Changed the
3928 documentation according to this modification.
3930 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3932 Added a new EXTRA_CFLAGS option to add the deprecated define to
3933 the compilation command. This way we can avoid using the define in
3934 the documentation compilation.
3936 * configure.ac: Defined EXTRA_CFLAGS.
3938 * examples/Makefile.am:
3940 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
3942 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
3944 * src/hildon-picker-dialog.c:
3945 Defined a utility macro with the desired touch selector height
3946 Removed currently unused separator, and title_label variables from
3948 (hildon_picker_dialog_init): Removed code related to the creation
3949 of unused private variables title_label and separator.
3950 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
3951 to ensure correct visualization of the touch selector inside the dialog.
3952 * src/hildon-touch-selector.c
3953 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
3954 ensure a concrete height of the widget.
3956 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3959 * tests/Makefile.am:
3961 Remove spurious whitespaces.
3963 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3965 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
3966 compilation warning after the cancel button removal.
3968 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3970 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
3972 * configure.ac: Added an AM_CONDITIONAL in order to use in the
3973 Makefile.am, that way we can choose not to compile some examples
3974 and tests of the deprecated widgets.
3976 * examples/Makefile.am: Divided the sources in deprecated and
3979 * src/Makefile.am: Added undef statement of the deprecated
3980 symbol to the enums file generation process.
3982 * src/hildon-color-chooser-dialog.c
3983 * src/hildon-color-chooser-dialog.h
3984 * src/hildon-color-button.c
3985 * src/hildon-color-button.h
3986 * src/hildon-color-chooser.c
3987 * src/hildon-color-chooser.h
3988 * src/hildon-controlbar.c
3989 * src/hildon-controlbar.h
3990 * src/hildon-date-editor.c
3991 * src/hildon-date-editor.h
3992 * src/hildon-hvolumebar.c
3993 * src/hildon-hvolumebar.h
3994 * src/hildon-private.c
3995 * src/hildon-private.h
3996 * src/hildon-range-editor.c
3997 * src/hildon-range-editor.h
3998 * src/hildon-seekbar.c
3999 * src/hildon-seekbar.h
4000 * src/hildon-time-editor.c
4001 * src/hildon-time-editor.h
4002 * src/hildon-time-picker.c
4003 * src/hildon-time-picker.h
4004 * src/hildon-volumebar.c
4005 * src/hildon-volumebar.h
4006 * src/hildon-vvolumebar.c
4007 * src/hildon-vvolumebar.h
4008 * src/hildon-bread-crumb-trail.h
4009 * src/hildon-bread-crumb-trail.c
4010 * src/hildon-calendar-popup.c
4011 * src/hildon-calendar-popup.h
4012 * src/hildon-weekday-picker.c:
4013 * src/hildon-weekday-picker.h:
4014 * src/hildon-bread-crumb-widget.c:
4015 * src/hildon-bread-crumb-widget.h:
4016 * src/hildon-bread-crumb.c:
4017 * src/hildon-bread-crumb.h:
4018 * src/hildon-calendar.c:
4019 * src/hildon-calendar.h:
4020 * src/hildon-caption.c:
4021 * src/hildon-code-dialog.c:
4022 * src/hildon-code-dialog.h:
4023 * src/hildon-font-selection-dialog.c:
4024 * src/hildon-font-selection-dialog.h:
4025 * src/hildon-get-password-dialog.c:
4026 * src/hildon-get-password-dialog.h:
4027 * src/hildon-login-dialog.c:
4028 * src/hildon-login-dialog.h:
4029 * src/hildon-number-editor.c:
4030 * src/hildon-number-editor.h:
4031 * src/hildon-set-password-dialog.c:
4032 * src/hildon-set-password-dialog.h:
4033 * src/hildon-sort-dialog.c:
4034 * src/hildon-sort-dialog.h: This is the list of deprecated
4037 * src/hildon-touch-selector.c:
4038 * src/hildon-window.c: Added undef statement to avoid compilation
4041 * tests/Makefile.am: Divided the sources in deprecated and
4044 * tests/check_test.c,
4045 (configure_tests): Marked the deprecated code that was adding
4046 suites with deprecated tests.
4048 Fixes: NB#91135 (Deprecate legacy hildon widgets)
4050 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4052 * src/hildon-touch-selector.c: (_default_print_func): Do not
4053 duplicate a string returned by gtk_tree_model_get(), it is already
4056 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
4059 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4061 * src/hildon-pannable-area.c
4062 (hildon_pannable_area_add_with_viewport): Reviewed the complete
4063 method, it had problems when adding a widget with viewport the
4064 second time. Now checks if it already has a viewport and uses it.
4066 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
4069 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4071 * src/hildon-pannable-area.c,
4072 (hildon_pannable_area_scroll_to),
4073 (hildon_pannable_area_jump_to),
4074 (hildon_pannable_area_scroll_to_child),
4075 (hildon_pannable_area_jump_to_child): Added a precondition to the
4076 scroll and jump to functions: the widget must be mapped before we
4077 can safely call these functions. We have also added documentation
4078 to the functions to explain how to use them in this situation.
4081 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4083 Reviewed the threading handling of the pannable widget, we have
4084 used the gdk_threads_add_timeout function instead of the usual
4085 glib handlers. This avoids some problems with the threads.
4087 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
4088 (hildon_pannable_area_initial_effect),
4089 (hildon_pannable_area_scroll_indicator_fade),
4090 (hildon_pannable_area_button_press_cb),
4091 (hildon_pannable_area_timeout),
4092 (hildon_pannable_area_motion_notify_cb),
4093 (hildon_pannable_area_button_release_cb),
4094 (hildon_pannable_area_scroll_cb),
4095 (hildon_pannable_area_scroll_to): Removed the
4096 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
4097 gdk_threads_add_timeout.
4099 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
4101 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4106 * configure.ac: bump version
4107 * debian/changelog: updates
4109 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4111 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4112 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
4113 * src/hildon-color-chooser-dialog.c:
4114 (hildon_color_chooser_dialog_init):
4115 * src/hildon-font-selection-dialog.c:
4116 (hildon_font_selection_dialog_init):
4117 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
4119 Remove all cancel/close-like dialogs, as these are not going to be
4122 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4124 * src/hildon-note.c: (hildon_note_rebuild),
4125 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
4128 Fixes: NB#90661 (Delete dialog is displayed without NO button)
4130 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4132 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
4133 sure all buttons are shown, even the Cancel/Close-like ones.
4135 Fixes: NB#90861 (Custom Confirmation dialogs should be
4136 protected from cancel button removal)
4138 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4140 * debian/control: Change libhildon1-examples dependency from libhildon1
4142 * debian/libhildon1-examples.install
4144 * Makefile.am: Modified the final install directory for the examples on
4145 package libhildon1-examples
4146 * Makefile.static: Update clean target in order to remove all the binary
4149 Changes suggested by Claudio after review new libhildon1-examples package
4151 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
4153 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
4154 * src/hildon-touch-selector.c: Ditto.
4156 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4158 * debian/control: Added new package libhildon1-examples, in order to pack
4159 the current hildon examples as documentation
4160 * debian/rules: Not to compress .c files, modify some includes on the
4161 examples (as normally are compiled locally, but when installed it will
4162 require to include the installed libhildon1 library), and rename
4164 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
4165 install all the example files on the new example package
4166 * examples/Makefile.static: Added static makefile that can be used to
4167 compile the examples, once installed the new example package
4168 * examples: Most of the examples were modified in order to grant that
4169 all use only '#include "hildon.h"', in order to be easy to prepare
4170 it on the example package
4172 2008-10-23 Alberto Garcia <agarcia@igalia.com>
4175 * debian/libhildon1-dev.install
4176 * debian/libhildon1-doc.install:
4177 Move all gtk-doc files to a separate libhildon1-doc package.
4179 2008-10-23 Daniel Borgmann <danielb@openismus.com>
4181 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4183 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
4185 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
4187 * debian/rules: Fixed a error in order to avoid unnecessary calls
4188 to autogen.sh on package building
4190 2008-10-22 Alberto Garcia <agarcia@igalia.com>
4192 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
4194 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4196 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
4199 2008-10-21 Alberto Garcia <agarcia@igalia.com>
4201 * src/hildon-picker-button.c
4202 (hildon_picker_button_finalize):
4203 Free priv->done_button_text
4205 * src/hildon-time-button.c
4206 (hildon_time_button_set_time)
4207 * src/hildon-picker-button.c
4208 (hildon_picker_button_clicked)
4209 (hildon_picker_button_selector_selection_changed)
4210 (hildon_picker_button_set_selector)
4211 * src/hildon-date-button.c
4212 (hildon_date_button_set_date):
4213 Free strings returned by hildon_touch_selector_get_current_text()
4215 * src/hildon-button.c (hildon_button_construct_child):
4216 Fix leaks in priv->image and priv->label_box
4218 Fixes: NB#90535 (Memory leak in picker button)
4220 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4222 * src/hildon-button.c: (hildon_button_get_property): Do not access
4223 private elements directly, use getters instead.
4225 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4227 * src/hildon-app-menu-private.h
4228 * src/hildon-app-menu.c
4229 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
4230 Store the menu's parent window.
4232 * src/hildon-stackable-window.c
4233 (hildon_stackable_window_toggle_menu)
4234 (hildon_stackable_window_finalize):
4235 Set the menu's parent window when the menu is shown, unset it when
4238 * src/hildon-app-menu.c
4239 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
4240 (hildon_app_menu_class_init):
4241 Send unhandled keyboard accelerators to the parent window.
4243 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4245 * src/hildon-stackable-window.c
4246 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
4248 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4250 * configure.ac: post release version bump
4252 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4255 * configure.ac: Bump version
4256 * debian/changelog: Updates
4257 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
4260 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4262 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4265 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
4266 GtkMenu with Hildon style.
4268 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4270 * src/hildon-picker-button.c:
4271 (hildon_picker_button_set_done_button_text): Set the dialog's
4272 done button text here as well.
4274 Fixes: NB#90232 (Picker button does not set the label on done button
4275 for the second time)
4277 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4279 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
4282 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4284 * src/hildon-app-menu.c (hildon_app_menu_insert)
4285 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
4286 the HildonAppMenu to be activatable using keyboard accelerators
4287 when the menu is not being shown.
4289 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
4291 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4293 * src/hildon-stackable-window.c
4294 (hildon_stackable_window_show):
4295 Don't hide old windows automatically when new windows are shown:
4296 this is now a task for the window manager.
4297 (hildon_stackable_window_class_init)
4298 (hildon_stackable_window_hide):
4299 Remove windows from the stack everytime they're hidden.
4300 (hildon_stackable_window_realize):
4301 Don't change the _NET_WM_WINDOW_TYPE property. Use
4302 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
4303 it as a stackable window.
4305 * src/hildon-program.c
4306 (hildon_program_pop_window_stack):
4307 Just hide the window to remove it from the stack.
4308 (hildon_program_go_to_root_window):
4309 Don't call gtk_widget_show(), this is now a task for the window
4312 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
4314 2008-10-15 Alberto Garcia <agarcia@igalia.com>
4316 * src/hildon-button.c
4317 (hildon_button_construct_child):
4318 Don't pack anything in the button until text or image are
4319 set. This allows adding a custom child after creating the button
4320 with hildon_button_new().
4321 (hildon_button_finalize, hildon_button_class_init)
4322 (hildon_button_init, hildon_button_set_arrangement): Destroy the
4323 alignment and the label box even when they're not packed in the
4326 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
4328 * src/hildon-touch-selector.h:
4329 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
4330 currently the type definition was using GTK_TYPE_VBOX
4331 * src/hildon-touch-selector.c:
4332 Added some implementation notes in order to clarify that any other widget
4333 added without the column related API will not be included on the
4334 selection logic, and how the widget is freed, as some people ask about
4336 (hildon_touch_selector_remove): Reimplemented in order to free properly
4337 the column related data when you remove the private hbox.
4338 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
4339 to get a proper HildonTouchSelectorColumn documentation
4341 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4343 * src/hildon-touch-selector-entry.c:
4344 (hildon_touch_selector_entry_print_func): Return NULL if there is no
4345 text in the GtkEntry and there is no item selected. Fixes a
4348 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4350 * src/hildon-app-menu-private.h
4351 * src/hildon-app-menu.[ch]
4352 * src/hildon-button.[ch]
4353 * src/hildon-check-button.[ch]
4354 * src/hildon-entry.[ch]
4355 * src/hildon-pannable-area.[ch]
4356 * src/hildon-text-view.[ch]:
4357 Added private field to the object's structure.
4359 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4361 * configure.ac: post-release version bump
4363 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4367 * configure.ac: pre-release version bump
4369 * debian/changelog: updates.
4371 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4373 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
4374 Disconnect the handler for HildonTouchSelector::changed.
4376 (hildon_picker_button_selector_selection_changed): Update the button
4377 value if the selection change was not triggered by the
4380 (hildon_picker_button_set_selector): connect to
4381 HildonTouchSelector::changed.
4383 Fixes: NB#89650 (Picker button is not updated, when selection in
4384 selector has changed)
4386 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
4388 * src/hildon-picker-dialog.c
4389 (hildon_picker_dialog_realize): Removed as not required
4390 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
4391 * src/hildon-picker-button.c
4392 (_current_selector_empty): New function, checks if the selector is empty
4393 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
4394 if the current selector is empty, in order to avoid to show the dialog
4395 close the dialog in this case (and shows a g_warning).
4397 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
4399 2008-10-09 Alejandro G. Castro <alex@igalia.com>
4401 * src/hildon-pannable-area.c,
4402 (hildon_pannable_area_scroll): Added clause to stop movement when
4403 the child of pannable is smaller than one page.
4404 (hildon_pannable_area_scroll_to): Added conditions to avoid
4405 starting the scrolling movement if the child is smaller than one
4406 page, the complete child is in the screen, we do not have to move.
4408 Fixes: NB#89632 (Picker button selection doesn't change on first click)
4410 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4412 * src/hildon-app-menu.c: Removed the 'columns' property, as now
4413 this is managed automatically by the widget when the size of the
4416 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4418 * src/hildon-picker-button.c
4419 (hildon_picker_button_set_done_button_text): Make a copy of the
4420 text, and free the previous value.
4422 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4424 * src/hildon-touch-selector-entry.c:
4425 (hildon_touch_selector_entry_print_func): Return the selected row's
4426 text if the entry is empty.
4428 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
4431 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4433 * src/hildon-touch-selector-entry.c: Minor docs fixes.
4435 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4438 * src/hildon-check-button.h
4439 * src/hildon-check-button.c
4440 * examples/hildon-check-button-example.c:
4441 HildonCheckButton is now a new widget. 'toggled' signal added.
4443 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4445 * src/hildon-program-private.h
4446 * src/hildon-program.c (hildon_program_init)
4447 (hildon_program_finalize): Removed unused variables group_leader
4448 and name from HildonProgramPrivate.
4450 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4452 * src/hildon-check-button.c (hildon_check_button_set_active)
4453 (hildon_check_button_get_active, hildon_check_button_new): Use
4454 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
4456 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
4458 * src/hildon-touch-selector.h
4459 (hildon_touch_selector_set_column_attributes): added deprecation
4460 guard HILDON_DISABLE_DEPRECATED
4461 * src/hildon-time-selector.c
4462 (hildon_time_selector_set_time)
4463 (hildon_time_selector_get_time): Fixed a typo on documentation
4464 * src/hildon-touch-selector.c: update HildonTouchSelector and
4465 HildonTouchSelectorColumn documentation
4466 * src/hildon-touch-selector-entry.c: update "text-column" property
4468 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
4469 to be added to the general documentation.
4471 2008-10-08 Alejandro G. Castro <alex@igalia.com>
4473 * examples/hildon-pannable-area-example-4.c,
4475 * examples/hildon-pannable-area-example.c,
4476 (main): Modified the code in order to use the container add, with
4477 viewport treeviews could have problems if they are really big.
4479 2008-10-06 Alejandro G. Castro <alex@igalia.com>
4481 * src/hildon-weekday-picker.c,
4482 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
4483 the agreement regarding deprecation in the library.
4485 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4487 * examples/hildon-picker-button-multicolumn-example.c:
4488 (main): Use custom "done" button text.
4490 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4491 (hildon_picker_button_set_property),
4492 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4493 (hildon_picker_button_init),
4494 (+hildon_picker_button_get_done_button_text),
4495 (+hildon_picker_button_set_done_button_text): New methods to customize
4496 the "done" button label in the launched HildonPickerDialog. Also,
4499 * src/hildon-picker-button.h: add the public API.
4501 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4503 * src/hildon-date-selector.h:
4504 * src/hildon-picker-dialog.h:
4505 * src/hildon-time-selector.h:
4506 * src/hildon-touch-selector-column.h:
4507 * src/hildon-touch-selector.h:
4509 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
4510 declarations. Fixes gtk-doc warnings.
4512 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4514 * src/hildon-picker-dialog.h
4515 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
4516 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
4518 Fixes: NB#89329 (selectors in picker dialog are not visible when a
4519 long text is set as label for done button)
4521 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4523 * src/hildon-dialog.c (hildon_dialog_add_button):
4524 Set fixed width to all buttons in the HildonDialog.
4526 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4528 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4530 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
4531 Set widget name using class name plus "-finger" or "-thumb".
4533 2008-10-03 Alberto Garcia <agarcia@igalia.com>
4535 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
4536 'clicked' when the state of the button is manually changed.
4538 2008-10-02 Alberto Garcia <agarcia@igalia.com>
4540 * src/hildon-app-menu.c (hildon_app_menu_realize)
4541 (hildon_app_menu_unrealize, hildon_app_menu_init)
4542 (hildon_app_menu_class_init, item_visibility_changed):
4543 Change the menu layout when the size of the screen changes.
4544 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
4545 Show warning only when changing the number of colums using the
4548 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
4550 * debian/compat: Set to 5
4551 * debian/control: Update dependencies.
4552 * debian/libhildon1-dbg.install: Remove.
4553 * debian/libhildon1-dev.install: Update according to cdbs paths.
4554 * debian/libhildon1.install: Update according to cdbs paths.
4555 * debian/rules: Switch to cdbs.
4557 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4559 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
4560 'item' variable renamed to 'filter'
4562 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4564 * src/hildon-app-menu.c (hildon_app_menu_insert)
4565 (hildon_app_menu_add_filter, remove_item_from_list)
4566 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
4567 Don't leak hidden items when the menu is destroyed.
4569 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4571 * src/hildon-app-menu.c (hildon_app_menu_insert)
4572 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
4573 (hildon_app_menu_set_columns, item_visibility_changed)
4574 (filter_visibility_changed, hildon_app_menu_repack_filters)
4575 (hildon_app_menu_repack_items):
4576 Repack items and filters separately.
4578 Don't repack all items, change only the ones that are needed to
4581 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4583 * src/Makefile.am: added hildon-touch-selector-column.h
4585 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4587 * src/hildon-touch-selector.c: added the property "text-column" to the
4588 class HildonTouchSelectorColumn, and related get/set functions
4589 (_default_printf_func): updated to use "text-column" property
4590 * src/hildon-touch-selector-entry.c: mark as deprecated the property
4591 "text-column" in his documentation, as this is now included on
4592 HildonTouchSelectorColumn. The get/set_property can still be used,
4593 working as a wrapper to the concrete column "text-column" property
4594 (_text_column_modified): callback added in order to handle the signal
4595 "notify::text-column" of the concrete HildonTouchSelectorColumn
4596 (hildon_touch_selector_entry_get_text_column)
4597 (hildon_touch_selector_entry_set_text_column): Added documentation, and
4598 modified in order to use the HildonTouchSelectorColumn "text-column"
4600 * src/hildon-time-selector.c:
4601 * src/hildon-date-selector.c:
4602 * examples/hildon-touch-selector-example.c
4603 * examples/hildon-touch-selector-multi-cells-example.c
4604 * examples/hildon-picker-button-multicolumn-example.c
4605 Set the right value to "text-column" property on the creation of a new
4606 column using hildon_touch_selector_append_column()
4608 Fixes: NB#88644 (Hardcoded first column of the model as text column)
4610 2008-09-30 Alberto Garcia <agarcia@igalia.com>
4612 * src/hildon-app-menu.c
4613 (hildon_app_menu_construct_child, hildon_app_menu_init): When
4614 updating the layout of the menu, don't create all widgets again,
4615 just repack the items in their new places.
4617 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
4619 * src/hildon-time-selector.c
4620 (hildon_time_selector_get_time)
4621 (hildon_time_selector_set_time)
4622 Added documentation of these public methods
4624 * src/hildon-date-button.h
4625 * src/hildon-touch-selector-column.h
4626 * src/hildon-time-button.h
4627 * src/hildon-picker-dialog.h
4628 * src/hildon-time-selector.h
4629 * src/hildon-picker-button.h
4630 * src/hildon-touch-selector.h
4631 * src/hildon-time-picker.h
4632 * src/hildon-date-selector.h
4633 * src/hildon-touch-selector-entry.h
4634 Modified in order to use hildon-widgets code style
4636 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4638 Added deprecated support to the compilation process using
4639 HILDON_DISABLE_DEPRECATED
4641 * configure.ac: Added the --disable-deprecated to the configure
4644 * src/hildon-weekday-picker.c:
4645 * src/hildon-weekday-picker.h: Deprecated widget, example of how
4646 to use the deprecated support. We will update the other deprecated
4647 widgets status in a new patch.
4649 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4651 * configure.ac: Fixed typo with fatal warnings support, the
4652 variable name was not correct
4654 2008-09-29 Alberto Garcia <agarcia@igalia.com>
4656 * src/hildon-app-menu.c
4657 * src/hildon-program.c: Update documentation.
4659 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4661 * configure.ac: Post-release version bump.
4663 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4668 * configure.ac: Pre-release version bump.
4669 * debian/changelog: Updates.
4671 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4673 * NEWS: Update news for previous releases.
4675 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4677 * examples/hildon-touch-selector-multi-cells-example.c:
4678 (create_selector): Update the example to use
4679 hildon_touch_selector_append_column() with a NULL renderer and set
4680 the renderers later.
4681 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
4682 passed a NULL renderer. This is documented behavior now.
4684 Allow passing a NULL renderer to hildon_touch_selector_append_column().
4685 This must be used if the developer wants full control on the layout of
4686 the renderers to be added to the column.
4688 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4690 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4692 * src/hildon-touch-selector.c: Documentation fixes.
4694 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4696 * src/hildon-wizard-dialog-private.h: Remove image and box.
4697 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
4698 (hildon_wizard_dialog_set_property), (response): Completely remove
4699 image/icon support, and the containers required for the layout.
4701 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
4703 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4705 * src/hildon-app-menu.c: Updated documentation.
4707 * src/hildon-stackable-window.c
4708 (hildon_stackable_window_set_main_menu): Unref the old menu after
4709 ref'ing the new one.
4711 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4713 * src/hildon-stackable-window.c
4714 (hildon_stackable_window_set_main_menu): Unref the previous menu
4715 instead of destroying it.
4717 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
4718 floating reference and set has_user_ref_count to FALSE to make
4719 HildonAppMenu act like a normal ref-counted widget and not a
4722 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
4725 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
4727 * src/hildon-touch-selector-column.h: new file
4728 * src/hildon-touch-selector.h
4729 * src/hildon-touch-selector.c
4730 Implemented GtkCellLayout interface, in order to allow to configure
4731 the cell layout on each individual selector column
4732 (hildon_touch_selector_set_column_attributes): marked as deprecated
4733 * examples/hildon-touch-selector-multi-cells-example.c
4734 Example of how to use the GtkCellLayout interface on the selector
4736 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4738 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4740 * src/hildon-app-menu.h
4741 * src/hildon-app-menu.c
4742 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
4743 (hildon_app_menu_append, hildon_app_menu_prepend):
4744 New methods to prepend, insert and move items in the menu.
4746 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4748 * src/hildon-wizard-dialog.c:
4750 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
4752 (create_title): Update logical IDs and related code.
4753 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
4755 * src/hildon-wizard-dialog.h: Note that
4756 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
4757 point, as it is not used anymore.
4759 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
4761 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4763 * src/hildon-note.c:
4764 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
4765 shown. Do not display an icon in confirmation notes nor information
4767 (hildon_note_set_button_text): Update logical ID for cancel button.
4769 Fixes: NB#88850 (Update HildonNote button strings + signals)
4771 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4773 * src/hildon-stackable-window.c
4774 (hildon_stackable_window_set_main_menu): Fix compilation warning.
4776 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4778 * src/hildon-app-menu-private.h
4779 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
4780 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
4781 (hildon_app_menu_init, hildon_app_menu_class_init): Added
4782 temporary property 'columns' to change the number of columns.
4784 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4786 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
4788 * examples/hildon-note-example.c: (on_information_clicked),
4789 (on_confirmation_clicked), (on_progress_clicked), (main): Add
4790 debugging information.
4791 * src/hildon-note-private.h: Remove close_if_pressed_outside,
4793 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
4794 (hildon_note_rebuild): Remove special handling of tapping outside/inside
4795 in order to close: this will be handled by the WM from now on.
4797 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
4799 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4801 * src/hildon-app-menu-private.h
4802 * src/hildon-app-menu.c
4803 (hildon_app_menu_append, hildon_app_menu_add_filter)
4804 (button_visibility_changed, hildon_app_menu_apply_style)
4805 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
4806 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
4807 layout everytime a button (item or filter) is shown or hidden.
4809 * src/hildon-stackable-window.c
4810 (hildon_stackable_window_set_main_menu): Destroy the old menu when
4813 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
4815 * src/hildon-touch-selector.c:
4816 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
4817 that the treeview inside the touch selector is in fremantle hildon mode
4818 * examples/hildon-date-button-example.c
4819 * examples/hildon-picker-button-multicolumn-example.c
4820 * examples/hildon-touch-selector-entry-example.c
4821 * examples/hildon-touch-selector-example.c
4822 * examples/hildon-time-button-example.c
4823 * examples/hildon-picker-button-example.c:
4824 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
4826 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
4828 * examples/hildon-text-view-example.c: (main): Remove the
4829 gtkrc bits, now handled by the theme.
4831 2008-09-22 Alberto Garcia <agarcia@igalia.com>
4833 * src/hildon-picker-button.c (hildon_picker_button_set_active):
4836 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4838 * po/Makefile.am: Install properly the mo files.
4839 * po/en_GB.po: Update translation, to ease testing purposes.
4841 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4843 * examples/hildon-picker-button-example.c: (main): Select an item
4844 in the selector before setting it to the button.
4846 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4848 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
4849 Update button's value if the selector has an item active.
4851 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
4852 'value' with the selector)
4854 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4856 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
4857 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
4858 (hildon_picker_button_class_init): Plug the finalize method.
4859 (hildon_picker_button_set_selector): If there's a previously set
4860 selector, unref'it before setting a new one.
4862 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
4863 HildonTouchSelector)
4865 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
4867 * src/hildon-touch-selector-entry.c:
4868 (hildon_touch_selector_entry_changed): Check if there is no text
4869 selected before setting the entry text.
4872 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4874 * src/hildon-touch-selector.h
4875 * src/hildon-touch-selector.c
4876 (hildon_touch_selector_get_active)
4877 (hildon_touch_selector_set_active): New methods to set/get the
4878 index of the selected item.
4880 * src/hildon-picker-button.h
4881 * src/hildon-picker-button.c
4882 (hildon_picker_button_get_active)
4883 (hildon_picker_button_set_active): New methods to set/get the
4884 index of the selected item.
4886 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4888 * configure.ac: post-release version bump.
4890 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4894 * configure.ac: Pre-release version bump.
4895 * debian/changelog: Updates.
4896 * debian/control: Add myself as maintainer and depend on l10n
4899 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4901 * src/hildon-window.c
4902 (hildon_window_set_main_menu)
4903 * src/hildon-stackable-window.c
4904 (hildon_stackable_window_set_main_menu):
4905 Updated documentation.
4907 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4909 * src/hildon-date-selector.c (hildon_date_selector_finalize):
4910 Don't free selector->priv manually.
4913 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4916 (hildon_gtk_window_set_progress_indicator):
4917 * src/hildon-gtk.h: Added the new API
4918 hildon_gtk_window_set_progress_indicator, it changes the state of
4919 the window progress hint.
4921 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4923 * src/hildon-button.c
4924 * src/hildon-stackable-window.c: Minor documentation updates.
4926 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4928 * src/hildon-stackable-window.c: Updated documentation.
4930 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
4932 * src/hildon-defines.h: Update margins definitions
4933 to the Fremantle sizes.
4936 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4938 * src/hildon-touch-selector.c,
4939 (_hildon_touch_selector_set_model): Cleaning the code after
4940 review, removed g_print and #if 0 from the code.
4942 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4944 * src/hildon-edit-toolbar.c: Update documentation.
4946 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4948 * src/hildon-check-button.h
4949 * src/hildon-check-button.c
4950 (hildon_check_button_set_label, hildon_check_button_get_label)
4951 * examples/hildon-check-button-example.c
4952 (button_clicked_cb):
4953 Removed deprecated methods.
4955 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4957 * src/hildon-text-view.c:
4958 Add sample code to the documentation.
4960 * src/hildon-entry.h
4961 * src/hildon-text-view.h:
4962 Minor cosmetic changes.
4964 * src/hildon-entry.c:
4965 Add sample code to the documentation.
4966 (hildon_entry_init, hildon_entry_refresh_contents):
4967 Don't allow NULL values in the placeholder.
4969 2008-09-10 Alberto Garcia <agarcia@igalia.com>
4971 * doc/hildon-docs.sgml
4973 * examples/Makefile.am
4974 * examples/hildon-text-view-example.c
4976 * src/hildon-text-view.c
4977 * src/hildon-text-view.h
4979 New HildonTextView widget, with example.
4981 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4983 * po/POTFILES.in: Add missing files with translatable strings.
4984 Partially fixes NB#88287.
4986 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4988 * examples/hildon-pannable-area-example-2.c: (main): No need to
4989 set the cellrenderer height inside hildon touch lists, the theme does
4992 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4994 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
4995 they are integrated in the theme.
4997 2008-09-09 Alberto Garcia <agarcia@igalia.com>
4999 * examples/hildon-entry-example.c: Update the example adding
5000 widgets to modify the text and the placeholder of the HildonEntry.
5002 * src/hildon-entry.c: Show the placeholder everytime the widget
5003 is empty and loses the focus.
5005 2008-09-09 Alejandro G. Castro <alex@igalia.com>
5007 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
5009 * src/hildon-pannable-area.c,
5010 (hildon_pannable_area_size_request): Fixed bug in height
5011 requisition, avoid increasing size and add border twice.
5013 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5015 * configure.ac: postrelease version bump.
5017 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5021 * configure.ac: Prerelease version bump.
5022 * debian/changelog: update.
5023 * debian/rules: make -dbg package contain useful debugging symbols.
5025 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5027 * src/hildon-dialog.h
5028 * src/hildon-dialog.c
5029 (hildon_dialog_add_button, hildon_dialog_add_buttons):
5030 New methods to add buttons with finger size.
5031 (hildon_dialog_new_with_buttons):
5032 Create buttons with finger size.
5034 * examples/hildon-dialog-example.c (main): Use HildonDialog
5035 methods to add buttons.
5037 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5039 * src/hildon-entry.c: Updated HildonButton documentation.
5041 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5043 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
5044 button value label with (FALSE, FALSE) to prevent NB#88126 from
5047 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5049 * examples/hildon-pannable-area-example.c,
5050 (main): Removed examples panning a vbox inside a pannable
5051 area. Check bug NB#87965
5053 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5055 Patch contributed by Kris Rietveld (kris@imendio.com)
5057 * src/hildon-pannable-area.c,
5058 (hildon_pannable_area_get_topmost): replaced the get_geometry with
5059 get_size and get_position, this saves an X server roundtrip.
5061 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5063 * doc/hildon-docs.sgml
5065 * examples/Makefile.am
5066 * examples/hildon-entry-example.c
5068 * src/hildon-entry.c
5069 * src/hildon-entry.h
5071 New HildonEntry widget, with example.
5073 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5075 * src/hildon-button.c (hildon_button_construct_child): Pack the
5076 image with expand == fill == FALSE. This is a workaround for a bug
5079 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
5081 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
5082 labels for the text column, to make it more look more dynamic.
5084 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5086 * src/hildon-time-selector.c
5087 Define gettext auxiliar macro N_
5088 (_create_minutes_model)
5089 (_create_hours_model)
5090 (_create_ampm_model): use of strftime in order to fill the model
5091 * src/hildon-date-selector.c
5092 (hildon_date_selector_finalize):
5093 (_locales_init): remove the logic related to get the name of the months
5094 using nl_langinfo, as it is not required anymore
5096 (_create_year_model)
5097 (_create_month_model)
5098 (_update_day_model): use of strftime in order to fill the model properly
5101 2008-09-04 Alberto Garcia <agarcia@igalia.com>
5103 * src/hildon-button.h
5104 * src/hildon-button.c (hildon_button_get_image): New method to
5107 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
5109 * src/hildon-touch-selector.c:
5110 (hildon_touch_selector_remove_column): Remove from the correct parent
5111 and also remove the list element and free it.
5114 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5116 * src/hildon-time-selector.c
5117 (_create_hours_model): change the range on 12h ampm format in order to use
5118 a 12-11 range instead of previous 01-12 range
5119 (hildon_time_selector_set_time): change the way to select the current time
5120 on 12h ampm format, due the change on the range
5121 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
5124 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
5126 * src/hildon-touch-selector.c
5127 (hildon_date_touch_selector_get_selected): fix the selection mode check,
5128 in order to allow use this function on multiple row selection mode if
5129 the column is different that the first one
5132 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
5134 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
5135 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
5137 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5139 * src/hildon-date-selector.h: clean some comments, now on the .c
5140 * src/hildon-date-selector.c
5141 (hildon_date_selector_select_month): first implementation
5142 (hildon_date_selector_select_day): added documentation, reimplemented
5143 using hildon_date_selector_select_current_date to avoid repeat code
5146 2008-09-02 Alejandro G. Castro <alex@igalia.com>
5148 Reviewed interaction logic based on device experiences, refactored
5151 * src/hildon-pannable-area.c,
5152 (hildon_pannable_area_class_init): Updated default vmax speed.
5153 (hildon_pannable_area_calculate_velocity): Added this function, it
5154 avoids duplicate valocity calculation. Adjusted calculation to
5155 avoid problems with zero dist events.
5157 (hildon_pannable_area_motion_notify_cb): Now we use the
5158 calculate_velocity function.
5160 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5162 * src/hildon-date-selector.c
5163 (hildon_date_selector_select_current_date): fix the day range check
5164 as it failed using the last day of the current month
5167 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5169 * src/hildon-touch-selector.c
5170 (hildon_touch_selector_get_num_columns): added a parameter validation
5173 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5175 * examples/Makefile.am
5176 * examples/hildon-edit-toolbar-example.c: Example of the
5177 HildonEditToolbar widget.
5179 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5181 * configure.ac: postrelease version bump.
5183 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5187 * configure.ac: prerelease version bump.
5188 * debian/changelog: update.
5190 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5192 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
5193 renderer to display stock icons in the touch list. Also, set the sizes
5194 to the recommended in the style guide.
5196 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5197 * src/hildon-touch-selector.h
5198 (hildon_touch_selector_set_active_iter): renamed, now is
5199 hildon_touch_selector_select_iter
5200 (hildon_touch_selector_get_active_iter): renamed, now is
5201 hildon_touch_selector_get_selected
5202 (hildon_touch_selector_unselect_iter): added
5203 * src/hildon-touch-selector.c
5204 Update after API modification (methods renamed)
5205 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
5206 order to avoid problems selecting multiple elements on the column
5207 (hildon_touch_selector_unselect_iter): added the implementation
5208 * src/hildon-time-selector.c
5209 * src/hildon-date-selector.c
5210 * src/hildon-touch-selector-entry.c
5211 Update methods calls after hildon-touch-selector.h API modification (methods
5214 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5216 * src/hildon-stackable-window.c
5217 (hildon_stackable_window_finalize): Call the parent class's finalize.
5219 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5221 * examples/hildon-touch-selector-example.c: (create_selector): Use
5222 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
5225 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5227 * examples/hildon-touch-selector-example.c: (create_selector): Do not
5228 set a cell background color, to respect theming.
5230 2008-08-28 Alberto Garcia <agarcia@igalia.com>
5232 * doc/hildon-docs.sgml
5235 * src/hildon-edit-toolbar.c
5236 * src/hildon-edit-toolbar.h
5237 * src/hildon.h: New HildonEditToolbar widget.
5239 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
5241 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
5244 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5245 * src/hildon-touch-selector.c
5246 (_create_new_column): use g_object_set instead of two g_object_set_property
5248 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5249 * src/hildon-touch-selector.c
5250 (_create_new_column): use of hildon_gtk_tree_view_new to create
5251 the treeview, instead of use directly g_object_new
5252 (_create_new_column): update the property name "vindicator-mode" for the
5253 new one "vscrollbar-policy"
5254 * examples/hildon-date-button-example.c
5255 * examples/hildon-picker-button-multicolumn-example.c
5256 * examples/hildon-touch-selector-entry-example.c
5257 * examples/hildon-touch-selector-example.c
5258 * examples/hildon-time-button-example.c
5259 * examples/hildon-picker-button-example.c
5260 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
5261 to all the treeviews inside a pannable area.
5263 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5265 * src/hildon-button.h
5266 * src/hildon-button.c (hildon_button_init)
5267 (hildon_button_set_arrangement, hildon_button_set_alignment)
5268 (hildon_button_set_title_alignment)
5269 (hildon_button_set_value_alignment)
5270 (hildon_button_set_image_alignment)
5271 (hildon_button_construct_child): New methods to set the alignment
5272 of the individual components of the button (title, value,
5273 image). Also, new method to alter the xscale and yscale properties
5274 of the GtkAlignment inside the button, so more complex layouts can
5277 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5279 * src/hildon-button.c (hildon_button_style_set)
5280 (hildon_button_class_init, hildon_button_set_arrangement)
5281 (hildon_button_construct_child): Apply style properties
5282 correctly. Use the 'image-spacing' style property too.
5284 2008-08-26 Alberto Garcia <agarcia@igalia.com>
5286 * src/hildon-app-menu.c (hildon_app_menu_style_set)
5287 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
5290 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5292 * src/hildon-pannable-area.c,
5293 (hildon_pannable_area_size_request): Fixed problem with
5294 pannable-area size_request.
5296 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5298 Added management for the grab-focus to a child widget, like a
5299 range, we need to fade out the scrollbar when releasing.
5301 * src/hildon-pannable-area.c,
5302 (hildon_pannable_area_init): Connected the grab-focus signal to
5304 (hildon_pannable_area_grab_notify): Added this function in order
5305 to manage the situation when the grab-focus ends. We have to
5306 fade-out the scrollbar.
5308 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5310 * src/hildon-app-menu.c: Minor documentation update.
5312 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5314 * src/hildon-app-menu.c
5315 * examples/hildon-app-menu-example.c (create_menu): Update
5316 examples and documentation to explain how to connect callbacks.
5318 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
5320 * examples/hildon-button-example.c
5321 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
5322 hildon_stackable_window_new instead of gtk_window_new
5324 2008-08-22 Alejandro G. Castro <alex@igalia.com>
5326 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
5327 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
5328 (hildon_pannable_area_set_property),
5329 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
5330 (hildon_pannable_area_unrealize),
5331 (hildon_pannable_area_size_request),
5332 (hildon_pannable_area_size_allocate),
5333 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
5334 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
5335 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
5336 (hildon_pannable_area_initial_effect),
5337 (hildon_pannable_area_redraw),
5338 (hildon_pannable_area_scroll_indicator_fade),
5339 (hildon_pannable_area_expose_event),
5340 (hildon_pannable_area_get_topmost), (synth_crossing),
5341 (hildon_pannable_area_button_press_cb),
5342 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
5343 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
5344 (hildon_pannable_area_motion_notify_cb),
5345 (hildon_pannable_area_button_release_cb),
5346 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
5347 (hildon_pannable_area_remove),
5348 (hildon_pannable_calculate_vel_factor): Widget refactorization,
5349 chage the code layout to a more GtkWidget like. Review the use of
5352 2008-08-21 Alejandro G. Castro <alex@igalia.com>
5354 * examples/hildon-pannable-area-example-4.c,
5355 (main): Modified the name of the hindicator_mode to
5358 * src/hildon-pannable-area.c,
5359 (hildon_pannable_area_class_init),
5360 (hildon_pannable_area_motion_notify_cb),
5361 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
5362 we have reduced the amount of signals and managed reviewed its
5363 rationale. Changed the default decelerate value.
5365 (hildon_pannable_area_add),
5366 (hildon_pannable_area_redraw): Refactored functions.
5368 (hildon_pannable_area_init),
5369 (hildon_pannable_area_get_property),
5370 (hildon_pannable_area_set_property):
5371 (hildon_pannable_draw_vscroll),
5372 (hildon_pannable_draw_hscroll),
5373 (hildon_pannable_area_initial_effect),
5374 (hildon_pannable_area_expose_event),
5375 (hildon_pannable_area_scroll),
5376 (hildon_pannable_area_button_press_cb),
5377 (hildon_pannable_area_realize): Replaced the names hindicator_mode
5378 and vindicator_mode with hscrollbar_policy and
5379 vscrollbar_policy. Replaced hscroll and vscroll with
5380 hscroll_visible and vscroll_visible.
5382 (hildon_pannable_area_refresh): Refactor the function, remove
5383 variables and check the calls to this function, added resize
5384 conditions in case the children change their layout.
5386 (hildon_pannable_area_size_request): Added more detailed
5387 size_request calculation.
5390 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
5392 * src/hildon-color-chooser.c
5393 (init_borders): use the correct gtk_border_free instead of g_free, to
5394 avoid a crash when this widget is used (ie: the three color selection
5397 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5399 * src/hildon-check-button.c,
5400 (hildon_check_button_set_active): Fixed problem when setting the
5401 active value, the widget was not redrawn.
5403 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5405 * src/hildon-pannable-area.c,
5406 (hildon_pannable_area_refresh),
5407 (hildon_pannable_area_scroll),
5408 (hildon_pannable_area_motion_notify_cb): Small code style change.
5410 (hildon_pannable_area_class_init): Default initial_hint set to
5411 FALSE, it is not in the specs.
5413 (hildon_pannable_area_initial_effect),
5414 (hildon_pannable_area_expose_event),
5415 (hildon_pannable_area_map),
5416 (hildon_pannable_area_init): Moved the launching point of the
5417 initial effect, it was in map but the sizes where not correct in
5418 that method so we do not know if we have the reproduce it. Now it
5419 is placed in the expose_event method and uses a variable to
5420 reproduce it just once.
5422 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5424 * src/hildon-pannable-area.c,
5425 (hildon_pannable_draw_vscroll),
5426 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
5427 position allowed for the scrollbars.
5429 (hildon_pannable_area_size_allocate): Small style change.
5431 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5433 * src/hildon-pannable-area.c,
5434 (hildon_pannable_area_scroll_indicator_fade),
5435 (hildon_pannable_area_button_press_cb),
5436 (hildon_pannable_area_button_release_cb),
5437 (hildon_pannable_area_scroll_cb),
5438 (hildon_pannable_area_expose_event),
5439 (hildon_pannable_area_init): Added the define parameter
5440 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
5441 and refactor the fade variable.
5443 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5445 * src/hildon-pannable-area.c,
5446 (hildon_pannable_area_redraw),
5447 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
5448 lines, we were reimplemeting the redraw code.
5450 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5452 * src/hildon-pannable-area.c,
5453 (hildon_pannable_area_scroll_cb),
5454 (hildon_pannable_area_realize),
5455 (hildon_pannable_area_class_init): Added scroll_event management
5456 for pannable area, now we can scroll the usual desktop method.
5458 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
5459 initialization of the parameters should depend on idle_id.
5461 (hildon_pannable_area_init),
5462 (hildon_pannable_area_map): Small code style modifications
5464 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5466 * src/hildon-pannable-area.c
5467 (hildon_pannable_area_button_press_cb),
5468 (hildon_pannable_area_motion_notify_cb),
5469 (hildon_pannable_area_button_release_cb),
5470 (hildon_pannable_area_size_allocate),
5471 (hildon_pannable_area_scroll_to): Improved the timeouts
5472 management, we avoid creating them each time.
5474 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5476 * src/hildon-pannable-area.c:
5477 (hildon_pannable_area_refresh),
5478 (hildon_pannable_area_motion_notify_cb),
5479 (hildon_pannable_area_class_init):
5480 * src/hildon-pannable-area.h:
5481 * src/hildon-touch-selector.c
5482 (_create_new_column):
5483 * examples/hildon-pannable-area-example-4.c:
5484 (horizontal_movement),
5485 (vertical_movement),
5487 Replaced the names of enums in the HildonPannableArea:
5488 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
5489 HILDON_MOVEMENT_MODE_*
5490 - HILDON_PANNABLE_AREA_MOV_* ->
5492 - Removed HildonPannableAreaIndicatorMode, now we
5495 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5497 * examples/hildon-pannable-area-touch-grid-example.c
5498 * examples/hildon-pannable-area-touch-list-example.c: Fix
5499 compilation warnings.
5501 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5503 * src/hildon-gtk.c (hildon_gtk_button_new)
5504 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
5505 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
5506 images overriding the value of the "gtk-button-images" setting.
5508 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5510 * src/hildon-check-button.c (hildon_check_button_new):
5511 Instead of using a custom container, display the label and the
5512 checkbox using the standard GtkButton API.
5514 * examples/hildon-check-button-example.c (main): Don't use
5515 hildon_check_button_set_label() anymore
5517 * src/hildon-check-button.h
5518 * src/hildon-check-button.c
5519 (hildon_check_button_set_label, hildon_check_button_get_label):
5520 Set as deprecated, now we're using gtk_button_{get,set}_label()
5522 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5524 * src/hildon-pannable-area.c,
5525 (hildon_pannable_area_get_topmost): Fixed bug with click in the
5526 GtkTreeview first line we detected it after the inclusion of the
5527 GtkWindowImpl in gtk+. We now check if the window is visible, not
5528 just if the pointer is over the window.
5529 (hildon_pannable_axis_scroll),
5530 (hildon_pannable_area_expose_event): Small style changes.
5532 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5534 * src/hildon-button.c: Update documentation.
5536 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5538 * examples/hildon-button-example.c: Add a switch to show images in
5541 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5543 * doc/hildon-docs.sgml: Some docs reorganization.
5545 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5547 * examples/hildon-pannable-area-touch-list-example.c
5549 * examples/hildon-pannable-area-touch-grid-example.c
5550 (create_icon_view): Use gtk_{tree,icon}_view_new() and
5551 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
5552 Fix memory leak when setting the tree model.
5554 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5558 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5560 * doc/hildon.types: Remove duplicated hildon_window_get_type
5561 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
5562 documentation comment.
5564 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5566 * doc/Makefile.am: Complete list of private headers.
5568 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5570 * doc/hildon-docs.sgml
5571 * src/hildon-app-menu.c
5572 * src/hildon-bread-crumb.c
5573 * src/hildon-button.c
5575 * src/hildon-program.c
5576 * src/hildon-stackable-window.c
5577 * src/hildon-window.c: Lots of documentation updates.
5579 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5581 * debian/control: Depend on Gtk 2:2.12.9-0osso3
5583 * configure.ac: Require Gtk+ 2.12.9 at least
5585 2008-08-12 Alejandro G. Castro <alex@igalia.com>
5587 * src/hildon-pannable-area.c
5588 (hildon_pannable_area_scroll_indicator_fade),
5589 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
5590 to protect the return of this timeout callbacks, avoiding deadlocks.
5592 2008-08-12 Christian Dywan <christian@imendio.com>
5595 * src/hildon-*.h: Ensure a consistent include order,
5596 include <gtk/gtk.h> instead of particular files and
5597 only include the topmost header in the gtk stack. See NB #39857
5599 2008-08-12 Christian Dywan <christian@imendio.com>
5601 * src/hildon-picker-dialog.c
5602 * src/hildon-touch-selector.c: Fix warnings about unused and
5603 uninitialized variables.
5605 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5607 * examples/Makefile.am
5608 * examples/hildon-check-button-example.c: Example of the hildon
5611 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5613 * src/hildon-window.h
5614 * src/hildon-window.c (hildon_window_class_init)
5615 (hildon_window_unset_program): Don't make
5616 hildon_window_unset_program a virtual function anymore.
5618 * src/hildon-stackable-window.c: Update documentation
5620 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5623 * doc/hildon-docs.sgml
5624 * doc/visual_index.xml
5625 * src/hildon-defines.c
5627 * src/hildon-helper.c
5628 * src/hildon-range-editor.c: Lots of documentation fixes.
5630 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5632 * examples/hildon-picker-button-multicolumn-example.c
5633 (create_touch_selector): Fix compilation warning.
5635 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5637 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
5638 (hildon_pannable_area_button_release_cb)
5639 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
5641 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5643 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
5646 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5648 * src/hildon-bread-crumb-trail.h
5649 * src/hildon-date-editor.c
5650 * src/hildon-date-selector.c
5651 * src/hildon-pannable-area.c
5652 * src/hildon-picker-dialog.c
5653 * src/hildon-time-selector.c
5654 * src/hildon-touch-selector-entry.c
5655 * src/hildon-touch-selector.c
5656 * src/hildon-touch-selector.h: Misc documentation fixes
5658 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5660 * examples/hildon-date-editor-example.c (main): Updated date
5663 * examples/hildon-note-example.c (on_confirmation_clicked):
5664 Updated confirmation note example.
5666 * src/hildon-date-editor.c
5667 * src/hildon-note.c: Updated sample programs in documentation.
5670 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5672 * src/hildon-date-button.h:
5673 * src/hildon-picker-button.h:
5674 * src/hildon-time-button.c:
5675 * src/hildon-time-button.h:
5677 Some declarations changes to allow gtk-doc to document the widgets
5680 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5682 * src/hildon-date-button.c: Document the widget.
5683 * src/hildon-time-button.c: Document the widget.
5685 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5687 * src/hildon-picker-button.c: Document the widget.
5688 * src/hildon-touch-selector-entry.c: Document the widget.
5690 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5692 * doc/hildon-docs.sgml
5695 * src/hildon-check-button.h
5696 * src/hildon-check-button.c: New functions to create the Hildon
5700 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
5702 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5704 * src/hildon-button.h
5705 * src/hildon-button.c
5706 (hildon_button_add_title_size_group)
5707 (hildon_button_add_value_size_group)
5708 (hildon_button_add_image_size_group)
5709 (hildon_button_add_size_groups): New functions to set size groups
5710 for the button labels and image.
5711 (hildon_button_new_full): Removed
5713 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
5715 * src/hildon-time-selector.c
5716 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
5717 in order to avoid a crash if gconf is not available
5719 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5721 * src/hildon-button.c (hildon_button_set_arrangement)
5722 (hildon_button_construct_child): Don't construct the button child
5723 before setting the arrangement.
5725 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5727 * src/hildon-program-private.h
5728 * src/hildon-program.c
5729 * src/hildon-program.h
5730 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
5731 (hildon_program_peek_window_stack)
5732 (hildon_program_pop_window_stack)
5733 (hildon_program_go_to_root_window): HildonProgram now has a
5734 separate list for stackable windows. Functions are provided to
5735 manage that list with a stack-like API.
5737 * src/hildon-stackable-window.c: Stackable window management is
5738 now much simpler with the new HildonProgram API. Windows no
5739 longer need to be manually added to the program, they're
5740 automatically pushed to the top of the stack when shown.
5742 * examples/hildon-stackable-window-example.c: Updated example to
5743 reflect the API changes.
5745 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5747 * src/hildon-touch-selector.c: Comment out unimplemented
5748 hildon_touch_selector_insert_column() to avoid a compile warning.
5750 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5752 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5753 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
5754 (hildon_touch_selector_set_column_selection_mode),
5755 (_hildon_touch_selector_set_model),
5756 (hildon_touch_selector_set_model):
5758 Complete review of HildonTouchSelector documentation.
5760 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5762 * doc/hildon-docs.sgml
5766 * src/hildon-gtk.c: Convenience functions for standard Gtk
5767 widgets, used to easily perform frequent operations.
5769 * src/hildon-button-helpers.h
5770 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
5772 * src/hildon-helper.h
5773 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
5774 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
5776 * src/hildon-button.h
5777 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
5779 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5781 * src/hildon-button.c (hildon_button_init)
5782 (hildon_button_set_arrangement, hildon_button_construct_child):
5783 Pack the image and the labels inside the same GtkAlignment so
5784 gtk_button_set_alignment() can be used
5786 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5788 * src/hildon-button.h
5789 * src/hildon-button.c
5790 (hildon_button_init, hildon_button_set_image)
5791 (hildon_button_set_image_position)
5792 (hildon_button_construct_child): New functions to add an image to
5795 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5797 * src/hildon-date-button.c
5798 * src/hildon-picker-button.c
5799 * src/hildon-time-button.c
5800 * src/hildon-button.c:
5801 (hildon_button_class_init): "size-flags" renamed to "size"
5802 (hildon_button_set_title): Hide the title label if set to NULL.
5804 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5806 HildonButtonFlags split into HildonButtonArrangement (to set the
5807 button layout) and HildonSizeType (which can be used for any
5810 * src/hildon-button.h
5811 * src/hildon-button.c
5812 (hildon_button_class_init)
5813 (hildon_button_set_arrangement)
5814 (hildon_button_set_property): New "size-flags"
5815 property. "arrangement-flags" renamed to "arrangement".
5816 (hildon_button_new, hildon_button_new_with_text)
5817 (hildon_button_new_full): Constructors updated to reflect type changes.
5819 * src/hildon-helper.h
5820 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
5821 to set the size of a widget.
5825 * src/hildon-button-helpers.c
5826 * src/hildon-button-helpers.h: New hildon-button-helpers module.
5828 * src/hildon-date-button.c
5829 * src/hildon-date-button.h
5830 * src/hildon-picker-button.c
5831 * src/hildon-picker-button.h
5832 * src/hildon-time-button.c
5833 * src/hildon-time-button.h: Updated widgets to reflect
5834 HildonButton API changes.
5836 * examples/hildon-button-example.c
5837 * examples/hildon-date-button-example.c
5838 * examples/hildon-picker-button-example.c
5839 * examples/hildon-picker-button-multicolumn-example.c
5840 * examples/hildon-time-button-example.c
5841 * examples/hildon-touch-selector-entry-example.c
5842 * examples/hildon-touch-selector-example.c: Updated examples to
5843 reflect HildonButton API changes.
5845 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5847 * doc/hildon-docs.sgml:
5849 * examples/Makefile.am:
5850 * examples/hildon-touch-selector-entry-example.c:
5852 * src/hildon-touch-selector-entry.c:
5853 * src/hildon-touch-selector-entry.h:
5856 Moved HildonTouchSelectorEntry from sandbox. Added its
5857 documentation and examples.
5859 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5861 * src/hildon-touch-selector.h:
5862 * examples/hildon-picker-button-multicolumn-example.c:
5863 (hildon_touch_selector_append_text_column): Add a gboolean
5864 parameter to determine if text must be centered in the column.
5866 * src/hildon-date-selector.c: (hildon_date_selector_init):
5867 * src/hildon-time-selector.c: (hildon_time_selector_init):
5868 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
5869 (create_touch_selector): Update widgets and example to reflect
5872 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5874 * src/hildon-touch-selector.c:
5875 (hildon_touch_selector_set_active_iter): Set also the cursor in
5878 2008-08-06 Alberto Garcia <agarcia@igalia.com>
5880 * doc/hildon-docs.sgml
5883 * src/hildon-toggle-button.c
5884 * src/hildon-toggle-button.h
5885 * src/hildon.h: Removed HildonToggleButton widget, a derived
5886 class is not necessary for this.
5888 2008-08-06 Alejandro G. Castro <alex@igalia.com>
5890 * src/hildon-pannable-area.c,
5891 (hildon_pannable_area_realize),
5892 (hildon_pannable_area_size_allocate): Code refactoring, add tests
5895 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
5897 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
5898 "done" button the default widget for the dialog.
5900 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5902 * src/hildon-touch-selector.c:
5903 (hildon_touch_selector_class_init),
5904 (hildon_touch_selector_get_property),
5905 (_hildon_touch_selector_set_model),
5906 (_hildon_touch_selector_has_multiple_selection),
5907 (hildon_touch_selector_has_multiple_selection):
5908 Add a "has-multiple-selection" property with a virtual
5909 has_multiple_selection() method to allow derived classes to
5910 override the default value for it. See the method and property
5911 documentation for details.
5913 * src/hildon-touch-selector.h: Add the new API.
5915 * src/hildon-picker-dialog.c: (requires_done_button): Call
5916 hildon_touch_selector_has_multiple_selection() instead of
5917 determining the need for a button itself.
5919 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5921 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5922 (_hildon_touch_selector_set_model),
5923 (hildon_touch_selector_set_model): Move working code to
5924 _hildon_touch_selector_set_mode(). Call the class method instead.
5926 * src/hildon-touch-selector.h: Add (*set_model) to
5927 HildonTouchSelectorClass.
5929 Make hildon_touch_selector_set_model() a virtual method, so that
5930 derived classes can extend it and do fancy stuff with the model.
5932 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5934 * configure.ac: Set back the tarname in AC_INIT to hildon.
5936 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5940 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
5941 instead of libesd (NB#86876). Volume handling is still an open issue.
5943 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
5946 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5948 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
5949 (hildon_touch_selector_append_column): Make the widget a GtkVBox
5950 derived class to ease placement of an entry widget in
5951 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
5952 end, where the selector columns are packed now.
5954 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5956 * src/hildon-picker-button.c: Removed the simple _text() API.
5957 * src/hildon-picker-button.h: Likewise.
5959 * src/hildon-touch-selector.h:
5960 * src/hildon-touch-selector.c:
5961 (hildon_touch_selector_new_text),
5962 (hildon_touch_selector_append_text),
5963 (hildon_touch_selector_prepend_text),
5964 (hildon_touch_selector_insert_text):
5966 Moved the simple _text() API from HildonPickerButton to
5967 HildonTouchPicker, to provide better escalability and not to tie
5968 that API to HildonPickerButton.
5970 * examples/hildon-picker-button-example.c: (main): Example updated.
5972 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5974 * src/hildon-button.c: Updated documentation.
5976 * examples/hildon-button-example.c: Add the posibility to create
5977 the buttons using horizontal layout for title and value.
5979 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5981 * src/hildon-app-menu-private.h
5982 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
5983 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
5984 GtkSizeGroup for the filters, use the 'homogeneous' property of
5987 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5989 * examples/hildon-button-example.c: Updated example.
5991 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
5993 * doc/hildon-docs.sgml:
5996 Update documentation.
5998 * examples/Makefile.am: Update renamed examples.
6000 * examples/hildon-picker-button-multicolumn-example.c:
6001 (create_touch_selector), (main): Update after the rename.
6003 * examples/hildon-touch-picker-example.c: Removed.
6004 * examples/hildon-touch-selector-example.c: (value_changed),
6005 (create_selector), (get_visible_content), (main): Renamed from
6006 hildon-touch-picker-example.c
6008 * src/Makefile.am: Updated renamed files.
6010 * src/hildon-date-button.c: (hildon_date_button_init),
6011 (hildon_date_button_get_date), (hildon_date_button_set_date):
6012 * src/hildon-date-selector.c: (hildon_date_selector_init),
6013 (_custom_print_func), (_update_day_model),
6014 (_manage_selector_change_cb),
6015 (hildon_date_selector_select_current_date),
6016 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
6017 * src/hildon-date-selector.h:
6018 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6019 (hildon_picker_button_set_property),
6020 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6021 (hildon_picker_button_init), (hildon_picker_button_new_text),
6022 (hildon_picker_button_append_text),
6023 (hildon_picker_button_prepend_text),
6024 (hildon_picker_button_insert_text),
6025 (hildon_picker_button_set_selector),
6026 (hildon_picker_button_get_selector):
6027 * src/hildon-picker-button.h:
6028 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
6029 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
6030 (_update_title_on_selector_changed_cb), (requires_done_button),
6031 (_hildon_picker_dialog_set_selector),
6032 (hildon_picker_dialog_set_selector),
6033 (hildon_picker_dialog_get_selector):
6034 * src/hildon-picker-dialog.h:
6035 * src/hildon-time-button.c: (hildon_time_button_init),
6036 (hildon_time_button_get_time), (hildon_time_button_set_time):
6037 * src/hildon-time-selector.c: (hildon_time_selector_init),
6038 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
6039 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
6040 * src/hildon-time-selector.h:
6043 Massive code updates after the rename.
6045 * src/hildon-touch-picker.c: Removed.
6046 * src/hildon-touch-picker.h: Removed.
6048 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6049 (hildon_touch_selector_init), (hildon_touch_selector_map),
6050 (hildon_touch_selector_remove), (_default_print_func),
6051 (_selection_changed_cb), (_create_new_column),
6052 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
6053 (hildon_touch_selector_append_text_column),
6054 (hildon_touch_selector_remove_column),
6055 (hildon_touch_selector_set_column_attributes),
6056 (hildon_touch_selector_insert_column),
6057 (hildon_touch_selector_get_num_columns),
6058 (hildon_touch_selector_get_column_selection_mode),
6059 (hildon_touch_selector_set_column_selection_mode),
6060 (hildon_touch_selector_set_print_func),
6061 (hildon_touch_selector_get_print_func),
6062 (hildon_touch_selector_get_active_iter),
6063 (hildon_touch_selector_set_active_iter),
6064 (hildon_touch_selector_get_selected_rows),
6065 (hildon_touch_selector_get_model),
6066 (hildon_touch_selector_set_model),
6067 (hildon_touch_selector_get_current_text),
6068 (_hildon_touch_selector_center_on_selected_items):
6069 * src/hildon-touch-selector.h: Renamed from
6070 hildon-touch-picker.[ch]
6072 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
6073 references, code examples, and related documentation.
6075 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6077 * doc/hildon-docs.sgml
6080 * src/hildon-toggle-button.c
6081 * src/hildon-toggle-button.h
6082 * src/hildon.h: New HildonToggleButton widget.
6084 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6086 * src/hildon-button.c: Add API documentation.
6087 (hildon_button_set_size_groups): Check input parameters
6089 2008-07-30 Alejandro G. Castro <alex@igalia.com>
6091 * src/hildon-pannable-area.c
6092 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
6093 effect after reaching the movement thredshold. This way we start
6094 using the distance after passing the thredshold.
6096 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6098 * src/hildon-button.c: (hildon_button_set_property): Use the
6099 appropriate g_value_get_flags() method.
6101 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6103 * doc/hildon-docs.sgml:
6106 Add the touch pickers, picker dialogs, and picker button widgets
6107 to the documentation.
6109 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6111 * src/hildon-button.c: (hildon_button_set_property),
6112 (hildon_button_class_init): Make "arrangement-flags" a proper
6113 G_TYPE_FLAGS derived property.
6115 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6117 * examples/Makefile.am: Add below examples.
6118 * examples/hildon-date-button-example.c:
6119 * examples/hildon-picker-button-example.c:
6120 * examples/hildon-picker-button-multicolumn-example.c:
6121 * examples/hildon-time-button-example.c:
6122 * examples/hildon-touch-picker-example.c:
6124 Add examples for the recently added touch pickers,
6125 picker dialogs, and picker button widgets.
6127 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6129 * src/hildon-button.c: Add some API documentation
6131 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6133 * src/hildon-button.h
6134 * src/hildon-button.c
6136 (hildon_button_new_with_text): New constructor to create a button
6137 with no text at all.
6138 (hildon_button_init, hildon_button_set_arrangement)
6139 (hildon_button_set_title, hildon_button_set_value)
6140 (hildon_button_set_text)
6141 (hildon_button_construct_child): Hide the value when it's not used
6142 so the rest of the text is properly aligned.
6143 Allow creating buttons with arbitrary widgets inside (not just
6144 title/value labels).
6146 * examples/hildon-button-example.c (vertical_buttons_window)
6147 (horizontal_buttons_window): Update example to use new API.
6149 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6151 * src/Makefile.am: Added HildonTimeButton.
6152 * src/hildon-time-button.c: Added missing LGPL header.
6153 * src/hildon-time-button.h: Added missing LGPL header.
6154 * src/hildon.h: Add hildon-time-button.h
6156 Copied HildonTimeButton from sandbox to trunk. Future work on this
6157 widget must take place in trunk.
6159 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6161 * src/Makefile.am: Added HildonDateButton.
6162 * src/hildon-date-button.c: Update includes.
6163 * src/hildon.h: Add hildon-date-button.h
6165 Copied HildonDateButton from sandbox to trunk. Future work on this
6166 widget must take place in trunk.
6168 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6170 * src/Makefile.am: Added HildonPickerButton.
6171 * src/hildon-picker-button.h: Update includes.
6172 * src/hildon.h: Add hildon-picker-button.h
6174 Copied HildonPickerButton from sandbox to trunk. Future work on
6175 this widget must take place in trunk.
6177 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6179 * src/Makefile.am: Added HildonPickerDialog.
6180 * src/hildon-picker-dialog.c: Update includes.
6181 * src/hildon.h: Add hildon-picker-dialog.h
6183 Copied HildonPickerDialog from sandbox to trunk. Future work
6184 on this widget must take place in trunk.
6186 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6188 * src/Makefile.am: Added HildonTimeSelector.
6189 * src/hildon.h: Add hildon-time-selector.h
6191 Copied HildonTimeSelector widget from sandbox to trunk. Future
6192 work on this widget must happen in trunk.
6194 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6196 * src/Makefile.am: Added HildonDateSelector.
6197 * src/hildon.h: Add hildon-date-selector.h
6199 Copied HildonDateSelector widget from sandbox to trunk. Future
6200 work on this widget must happen in trunk.
6202 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6204 * src/Makefile.am: Added HildonTouchPicker.
6205 * src/hildon-touch-picker.c: Update includes.
6206 * src/hildon.h: Add hildon-touch-picker.h
6208 Copied HildonTouchPicker widget from sandbox to trunk. Future work
6209 on this widget must happen in trunk.
6211 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6213 * src/hildon-pannable-area.c:
6214 (hildon_pannable_area_motion_notify_cb): Fix a typo.
6216 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6218 * examples/hildon-app-menu-example.c (main): Let the window
6221 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6223 * src/hildon-pannable-area.c
6224 (hildon_pannable_area_class_init): Set the min value of the
6225 overshoot properties to zero, which points out that not
6226 overshooting allowed.
6228 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6230 Modified the procedure to get the widget at a point inside the
6231 pannable area when using the movement type signals. Now the user
6232 has to call a function to get the child, that way we just
6233 calculate the child in case the user really want to use it and not
6236 * src/hildon-marshalers.list: Modified the marshallers, now we do
6237 not have the widget as a parameter.
6239 * src/hildon-pannable-area.c
6240 (hildon_pannable_area_motion_notify_cb),
6241 (hildon_pannable_area_class_init),
6242 (hildon_pannable_get_child_widget_at): Removed the widget
6243 parameter from the signal callback. We have also refactored the
6244 emission of the signals.
6246 * src/hildon-pannable-area.h: Added a new method to the API to
6247 calculate a widget at a point inside the pannable area,
6248 hildon_pannable_get_child_widget_at.
6250 * examples/hildon-pannable-area-example-4.c
6251 (horizontal_movement): Modified the example to use the new API,
6252 added condition to control which widget is under the event. This
6253 way we can avoid scrolling laterally over other widgets.
6255 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6257 * src/hildon-pannable-area.c
6258 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
6259 modes, we stop getting the pointer events due to returning the
6260 callback without properly calling the get pointer again. Fixed
6261 also an error using the hscroll and vscroll.
6263 2008-07-28 Alberto Garcia <agarcia@igalia.com>
6265 * src/hildon-app-menu-private.h
6266 * src/hildon-app-menu.c (hildon_app_menu_button_press)
6267 (hildon_app_menu_button_release, hildon_app_menu_init)
6268 (hildon_app_menu_class_init): Don't hide the menu on button
6269 release if the user didn't press outside first.
6271 * src/hildon-window.h
6272 * src/hildon-window.c (hildon_window_toggle_menu)
6273 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
6274 hildon_window_toggle_menu a virtual function for the stackable
6275 window to override it.
6277 * src/hildon-stackable-window.h
6278 * src/hildon-stackable-window-private.h
6279 * src/hildon-stackable-window.c
6280 (hildon_stackable_window_realize)
6281 (hildon_stackable_window_finalize)
6282 (hildon_stackable_window_class_init)
6283 (hildon_stackable_window_init)
6284 (hildon_stackable_window_set_main_menu): New function to set the
6285 app menu of a HildonStackableWindow.
6287 * examples/hildon-app-menu-example.c: Remove the button to show
6288 the app menu, now it'll be shown when clicking on the title bar
6291 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6293 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
6294 set the widget name if the arrangement flags do not specify
6297 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6299 * src/hildon-button.c: (hildon_button_set_property),
6300 (hildon_button_class_init), (hildon_button_new_full),
6301 (hildon_button_set_arrangement): Added "arrangement-flags"
6304 Make the HildonButtonFlags a construction-only property, to allow
6305 subclasses to set them properly.
6307 2008-07-21 Tim Janik <timj@imendio.com>
6309 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
6310 insertion position after backspace, so additional digits are appended,
6313 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6315 * src/hildon-pannable-area.c,
6316 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
6317 TODO list, it was complete and removed the g_debug and g_print
6320 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6322 Added the movement modes to the hildon-pannable-area, with this
6323 modes the developers can control in which directions the widget
6324 can scroll. They can also connect to signals in order to do
6325 something when that happens, allowing applications scroll. There
6326 is an example uploaded showing how to use it.
6328 * examples/Makefile.am:
6329 * examples/hildon-pannable-area-example-4.c: Added this example of
6330 an application using the modes.
6332 * src/hildon-marshalers.list: Added a new marshaller for the new
6335 * src/hildon-pannable-area.h: Added new enumerations and flags in
6336 order to control the movement modes and the new signals to warn
6337 about the movements in the area.
6339 * src/hildon-pannable-area.c:
6340 (hildon_pannable_axis_scroll),
6341 (hildon_pannable_area_scroll),
6342 (hildon_pannable_area_motion_notify_cb),
6343 (hildon_pannable_area_get_property),
6344 (hildon_pannable_area_set_property),
6345 (hildon_pannable_area_map),
6346 (hildon_pannable_area_class_init),
6347 (hildon_pannable_area_init),
6348 (hildon_pannable_area_jump_to): Added the modes to control the
6349 movement in the widget. We have added properties to control it,
6350 signals to warn about the movements and refactored some code.
6352 2008-07-15 Alejandro G. Castro <alex@igalia.com>
6354 Changes required in order to allow vfast_factor set to zero to
6357 * src/hildon-pannable-area.c:
6358 (hildon_pannable_area_button_press_cb): Changed the condition, it
6359 is required for not allowing click when vfast_factor is zero.
6360 (hildon_pannable_area_timeout): Initialized velocity variables
6361 when we stop moving, it was less than 1 but not zero and we need
6362 to check zero in some situations.
6363 (hildon_pannable_area_class_init): Changed the default value of
6364 the speed factor, now the button_press is just sent in case the
6365 speed is 2 per cent of the max speed.
6366 (hildon_pannable_area_init): Initialization with 0.
6368 2008-07-04 Alejandro G. Castro <alex@igalia.com>
6370 * src/hildon-pannable-area.c,
6371 (hildon_pannable_area_get_topmost): replaced
6372 gdk_window_get_children with gdk_window_peek_children, this way we
6373 do not have to free the list because it is not a copy.
6375 (hildon_pannable_axis_scroll),
6376 (hildon_pannable_area_scroll),
6377 (hildon_pannable_area_timeout),
6378 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
6379 two parameters that were only used inside the
6380 hildon_pannable_area_scroll function.
6382 * examples/hildon-pannable-area-example.c,
6383 (get_sawtooth_label): Fixed small memory leak.
6385 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6387 More checks for the case where the overshoot is bigger than the
6390 * src/hildon-pannable-area.c:
6391 (hildon_pannable_draw_vscroll),
6392 (hildon_pannable_draw_hscroll): with this new calculation we avoid
6393 to draw the slider of the scrollbar under the other scrollbar.
6394 (hildon_pannable_area_expose_event): added new checks to control
6395 the drawing of the overshooting area rectangle, in case it is too
6396 big for the area of the widget.
6397 (hildon_pannable_area_size_allocate): add more checks to avoid
6398 setting a position to the child widget outside the area.
6400 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6402 * src/hildon-pannable-area.c
6403 (hildon_pannable_area_size_allocate): Added conditions to control
6404 when overshooting is bigger than the allocated space for the
6405 children, this avoids negative allocations.
6407 2008-07-02 Alberto Garcia <agarcia@igalia.com>
6409 * doc/hildon-docs.sgml
6411 * examples/Makefile.am
6412 * examples/hildon-button-example.c
6414 * src/hildon-button.c
6415 * src/hildon-button.h
6416 * src/hildon.h: Initial version of the new HildonButton widget,
6419 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
6421 * src/hildon-pannable-area.c:
6422 (hildon_pannable_area_button_press_cb),
6423 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
6424 (hildon_pannable_area_motion_notify_cb),
6425 (hildon_pannable_area_button_release_cb),
6426 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
6427 (hildon_pannable_area_jump_to_child):
6429 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
6431 2008-07-01 Alberto Garcia <agarcia@igalia.com>
6433 * examples/Makefile.am
6434 * examples/hildon-pannable-area-touch-grid-example.c
6435 * examples/hildon-pannable-area-touch-list-example.c: Examples of
6436 the Hildon Touch List and Hildon Touch Grid using the
6437 HildonPannableArea widget.
6439 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6441 * src/hildon-pannable-area.c,
6442 (hildon_pannable_area_button_press_cb),
6443 (hildon_pannable_area_refresh),
6444 (hildon_pannable_area_scroll),
6445 (hildon_pannable_area_motion_notify_cb),
6446 (hildon_pannable_area_button_release_cb),
6447 (hildon_pannable_area_expose_event),
6448 (hildon_pannable_area_add),
6449 (hildon_pannable_area_remove),
6450 (hildon_pannable_area_realize),
6451 (hildon_pannable_area_size_allocate),
6452 (hildon_pannable_area_class_init),
6453 (hildon_pannable_area_init),
6454 (hildon_pannable_area_scroll_to_child),
6455 (hildon_pannable_area_jump_to_child): Fixed the problem of
6456 removing the child from the GtkBin, we have rearranged the widget
6457 hierarchy, now there is no GtkAlignment which was not doing
6458 anything interesting but breaking some of the assumptions of
6459 GtkContainer. Now developers if they want to add a GtkAlignment
6460 they could, but it is not inside the area.
6462 We had to review the whole allocation/expose process, now it is
6463 improved and we save at least three signals which would be saving
6464 some time when rendering the widget. The allocation of the
6465 scrollbars is now made in the allocate method as usual.
6467 We have also added some conditions in order to control when there
6468 is no child of the pannable area. Maybe we will need more work
6471 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6473 * src/hildon-pannable-area.c,
6474 (hildon_pannable_area_dispose): Released the fade-out timeout when
6475 disposing the widget.
6477 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6479 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
6480 zero, we are going to use that property in order to deactivate the
6482 (hildon_pannable_axis_scroll),
6483 (hildon_pannable_area_size_allocate): Added conditions to control
6484 when overshoot_max is zero. Moved the gtk_adjustment_set_value
6485 call, now it is called in all situations and we can remove calls
6486 in the allocate method.
6487 (hildon_pannable_area_map): Control the situation when
6488 overshoot_max is zero, we do not need the timeout.
6489 (hildon_pannable_area_class_init): Added documentation in order to
6490 point out that setting zero to overshoot_max means deactivate
6493 NOTE: removed trailing whitespaces from my previous comments of
6496 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6498 * src/hildon-pannable-area.c
6499 (hildon_pannable_area_get_property),
6500 (hildon_pannable_area_set_property),
6501 (hildon_pannable_area_map),
6502 (hildon_pannable_area_class_init),
6503 (hildon_pannable_area_init): Add a boolean "initial-hint" property
6504 to cause the widget give a hint about its panning abilities upon
6507 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6509 * src/hildon-pannable-area.c: Several documentation improvements.
6511 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6513 * src/hildon-program.c
6514 * src/hildon-stackable-window.c: Update documentation.
6516 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6518 * src/hildon-stackable-window.c (get_previous_window_if_last):
6519 Renamed get_last_window()
6520 (hildon_stackable_window_map, hildon_stackable_window_unmap)
6521 (hildon_stackable_window_unset_program):
6523 (get_previous_window_if_last):
6524 Detect if the window hasn't been added to a HildonProgram.
6526 2008-06-26 Alejandro G. Castro <alex@igalia.com>
6528 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
6530 * src/hildon-pannable-area.c
6531 (hildon_pannable_area_button_press_cb),
6532 (hildon_pannable_axis_scroll),
6533 (hildon_pannable_area_scroll),
6534 (hildon_pannable_area_timeout),
6535 (hildon_pannable_calculate_vel_factor),
6536 (hildon_pannable_area_get_property),
6537 (hildon_pannable_area_set_property),
6538 (hildon_pannable_area_class_init),
6539 (hildon_pannable_area_init),
6540 (hildon_pannable_area_scroll_to),
6541 (hildon_pannable_area_jump_to),
6542 (hildon_pannable_area_scroll_to_child),
6543 (hildon_pannable_area_jump_to_child):
6544 * src/hildon-pannable-area.h: Added the new API functions:
6545 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
6546 hildon_pannable_area_scroll_to_child,
6547 hildon_pannable_area_jump_to_child
6550 * examples/Makefile.am
6551 * examples/hildon-pannable-area-example-2.c
6552 * examples/hildon-pannable-area-example-3.c: Added these two new
6553 examples in order to test and show how the new APIs work.
6555 2008-06-25 Alberto Garcia <agarcia@igalia.com>
6557 * examples/hildon-stackable-window-example.c (new_window):
6558 * src/Makefile.am (noinst_HEADERS):
6559 * src/hildon-program.c (hildon_program_go_to_root_window):
6560 * src/hildon-program.h:
6561 * src/hildon-stackable-window-private.h:
6562 * src/hildon-stackable-window.c:
6563 * src/hildon-stackable-window.h:
6564 Create hildon-stackable-window-private.h
6565 Move hildon_stackable_window_go_to_root_window() to HildonProgram
6567 * examples/hildon-app-menu-example.c (create_menu):
6568 * examples/hildon-hvolumebar-insensitive-example.c (main):
6569 * examples/hildon-hvolumebar-timer-example.c (on_idle):
6570 * examples/hildon-toolbar-seekbar-example.c (main):
6571 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
6572 * src/hildon-banner.c (hildon_banner_set_property):
6573 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
6574 Fix compilation warnings
6576 * src/hildon-window.c:
6579 2008-06-24 Alberto Garcia <agarcia@igalia.com>
6581 * src/hildon-stackable-window.c
6582 (hildon_stackable_window_unset_program):
6583 Calculate correctly whether to show the previous window if the
6584 last one is removed from the stack.
6585 (hildon_stackable_window_go_to_root_window):
6586 Send delete events starting from the topmost window.
6587 Stop if one of the windows is not destroyed.
6589 (hildon_stackable_window_delete_event)
6590 (hildon_stackable_window_class_init):
6591 Ignore the delete event if the window is not the topmost one.
6593 2008-06-24 Alejandro G. Castro <alex@igalia.com>
6595 * src/hildon-pannable-area.c
6596 (hildon_pannable_area_expose_event): Fixed a problem when
6597 selecting the background color of the scrollbars.
6599 2008-06-23 Alberto Garcia <agarcia@igalia.com>
6601 * examples/hildon-stackable-window-example.c
6602 * src/hildon-stackable-window.c
6603 * src/hildon-stackable-window.h
6604 hildon_stackable_window_go_home() renamed to
6605 hildon_stackable_window_go_to_root_window()
6606 Send delete events to windows rather than closing them with
6607 gtk_widget_destroy()
6609 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6611 * src/hildon-pannable-area.c
6612 (hildon_pannable_area_button_release_cb): Fix overshooting in
6615 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6617 * src/hildon-pannable-area.c
6618 (hildon_pannable_area_init): Initially show the scroll indicators.
6619 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
6621 Add initial effect showing the widget is pannable.
6623 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6625 * src/hildon-pannable-area.c
6626 (hildon_pannable_area_class_init)
6627 (hildon_pannable_area_set_property)
6628 (hildon_pannable_area_get_property)
6629 (hildon_pannable_area_button_press_cb):
6630 New 'velocity_fast_factor' property to decide which velocity is
6633 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6635 * src/hildon-pannable-area.c
6636 (hildon_pannable_draw_hscroll)
6637 (hildon_pannable_draw_vscroll):
6638 Use float variables to calculate the size of the scrollbars to
6639 avoid error propagation and resizing during scrolling.
6641 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6643 * src/hildon-pannable-area.c
6644 (hildon_pannable_draw_vscroll)
6645 (hildon_pannable_draw_hscroll):
6646 Define a minimum size for the scroll bars
6648 * src/hildon-stackable-window.c
6649 (hildon_stackable_window_go_home): Fix compilation warning
6650 (get_last_window): Minor optimizations
6651 (hildon_stackable_window_class_init): Fix initialization of
6654 2008-06-18 Alberto Garcia <agarcia@igalia.com>
6656 * src/hildon-stackable-window.c: Fixed typos in doc
6658 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
6660 * src/hildon-pannable-area.c
6661 (hildon_pannable_area_scroll):
6662 Calculate here whether we need to scroll instead of using the booleans
6663 that tell us whether to /draw/ the scrolling bars.
6665 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
6667 * src/hildon-app-menu.h
6669 * src/hildon-app-menu.c
6670 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
6671 multiple filter groups related code and API. Now we support only
6673 * examples/hildon-app-menu-example.c:
6675 Update to reflect API changes.
6677 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
6679 * src/hildon-stackable-window.c
6680 (hildon_stackable_window_class_init):
6681 Add hildon_stackable_window_realize.
6682 (hildon_stackable_window_realize):
6683 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
6684 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
6685 to apply theming and behavior specific to HildonStackableWindow
6688 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6690 * src/hildon-note.c (hildon_note_button_release):
6691 Close information notes also when tapping on them
6693 2008-06-12 Alejandro G. Castro <alex@igalia.com>
6695 Added BOUNCE_STEPS define to control the overshoot effect. Removed
6696 ELASTICITY, refactor and review, fix some issues with drawing
6699 * src/hildon-pannable-area.c:
6700 (hildon_pannable_area_button_press_cb): removed the conditions to
6701 avoid clicks when overshooting. It is not required
6703 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
6704 define. Refatored and reviewed the code, now we do not need to
6705 manage velocity in motion_notify.
6707 (hildon_pannable_area_motion_notify_cb): We have moved the code
6708 that controls the area_scroll to the axis_scroll function and get
6709 rid of duplicated code.
6711 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
6713 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
6715 (hildon_pannable_draw_vscroll),
6716 (hildon_pannable_draw_hscroll): Fixed the problems with the
6717 scrollbar drawing, now we do not use two surfaces, it is easier
6718 and saves resources.
6720 (hildon_pannable_area_get_property): Style modification.
6722 (hildon_pannable_area_class_init): Changed some default values.
6724 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
6726 * src/hildon-stackable-window.c: Fix some typos in the
6729 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6731 * src/hildon-dialog.c:
6732 Change indentation style
6735 (hildon_note_button_release):
6736 Use root coordinates to check if the release event happened
6739 * src/hildon-app-menu.c
6740 (hildon_app_menu_button_release):
6741 Remove unnecessary check
6743 * examples/hildon-app-menu-example.c
6745 Add cast to fix warning
6747 * src/hildon-app-menu.c
6748 (hildon_app_menu_class_init):
6749 New inner-border style property.
6750 Set all default spacings to 16
6751 (hildon_app_menu_init):
6752 Use vertical-spacing to set the space between filter buttons and
6753 regular menu buttons.
6754 Set the default container border using the inner-border value.
6756 * examples/hildon-app-menu-example.c
6758 Don't set the menu border explicitly, now we have the inner-border
6759 style property for that.
6761 2008-06-11 Alberto Garcia <agarcia@igalia.com>
6763 * src/hildon-app-menu.c (hildon_app_menu_init):
6764 Make the window modal
6766 * src/hildon-note.c (hildon_note_map)
6767 * src/hildon-app-menu.c (hildon_app_menu_map):
6768 Destroy the grab window if we're unable to grab the pointer
6770 * src/hildon-app-menu-private.h
6771 * src/hildon-app-menu.c
6772 (hildon_app_menu_init, hildon_app_menu_finalize)
6773 (hildon_app_menu_map, hildon_app_menu_unmap)
6774 (hildon_app_menu_button_release)
6775 (grab_transfer_window_get):
6776 Bring back the grab window
6777 (hildon_app_menu_realize):
6778 Decorate the window, set WM hint for Matchbox
6780 * src/hildon-note.c (hildon_note_realize):
6781 * src/hildon-banner.c (hildon_banner_realize):
6782 Add WM hints for Matchbox
6784 2008-06-10 Alberto Garcia <agarcia@igalia.com>
6786 * src/hildon-app-menu-private.h
6787 * src/hildon-app-menu.c
6788 (hildon_app_menu_init, hildon_app_menu_finalize)
6789 (hildon_app_menu_map, hildon_app_menu_unmap)
6790 (hildon_app_menu_button_release):
6791 Remove the grab window, it's not needed anymore
6793 * src/hildon-program.c
6794 Fixed typo in documentation
6796 * src/hildon-app-menu.h
6797 * src/hildon-app-menu.c
6798 * examples/hildon-app-menu-example.c
6799 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
6801 2008-06-09 Alberto Garcia <agarcia@igalia.com>
6804 Added new transfer_window and close_if_pressed_outside private
6806 (hildon_note_rebuild):
6807 Don't add a cancel button to the information note. It will be
6808 closed when tapping outside
6809 Remove the comment about the OK button in the documentation
6810 (hildon_note_realize):
6811 Set the notification type hint
6812 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
6813 Grab/ungrab pointer and keyboard if the note has to be closed when
6815 (hildon_note_button_release):
6816 Close the note when tapping outside (if applicable)
6818 * src/hildon-app-menu.c
6819 Grab/ungrab pointer and keyboard on map/unmap
6820 (hildon_app_menu_button_release, hildon_app_menu_class_init):
6821 Close the menu on button release, not button press
6823 * src/hildon-banner.c
6824 (hildon_banner_set_property)
6825 (hildon_banner_check_position):
6826 Make the banner use the full width of the screen
6827 (hildon_banner_show_information)
6828 (hildon_banner_show_information_with_markup):
6829 Don't display an icon by default
6831 2008-06-09 Alejandro G. Castro <alex@igalia.com>
6833 Added fading scrollbars and adapted all the overshooting code to
6834 horizontal scrolling. We have also fixed bugs with overshooting
6835 and current fading implementation.
6837 * src/hildon-pannable-area.c
6838 (hildon_pannable_area_scroll_indicator_fade): Time out function
6839 used to change the transparency of the scrollbars.
6841 (hildon_pannable_area_button_press_cb): Added horizontal overshot
6842 control and fixed a problem with fading, we now remove the fade
6843 timeout before adding a new one.
6845 (hildon_pannable_axis_scroll):
6846 (hildon_pannable_area_scroll):
6847 (hildon_pannable_area_timeout): Added this functions so we can use
6848 the scroll code both for vertical and horizontal.
6850 (hildon_pannable_area_motion_notify_cb):
6851 (hildon_pannable_area_button_release_cb): Added the horizontal
6852 scrolling control, fixed a problem with the overshooting timeout.
6854 (rgb_from_gdkcolor): Added this function, it is used in the cairo
6855 painting of the scrolls.
6857 (hildon_pannable_draw_vscroll):
6858 (hildon_pannable_draw_hscroll):
6859 (hildon_pannable_area_expose_event):
6860 Draw both scrollbars and rectangles in the overshooting area.
6862 (hildon_pannable_area_get_property):
6863 (hildon_pannable_area_set_property):
6864 Modified the overshoot property to overshoot_max
6866 (hildon_pannable_area_map):
6867 Replaced the comments symbols.
6869 (hildon_pannable_area_size_allocate):
6870 (hildon_pannable_area_class_init):
6871 (hildon_pannable_area_init): Added horizontal scroll, fading
6872 effect properties, fixed a problem when overshooting in the bottom
6875 * examples/hildon-pannable-area-example.c:
6876 (get_sawtooth_label): Now we use smaller sawtooths, the effect
6877 looks better in the example.
6879 2008-06-03 Alberto Garcia <agarcia@igalia.com>
6881 * src/hildon-window.c
6882 * src/hildon-window.h
6883 (hildon_window_class_init)
6884 (hildon_window_unset_program)
6885 (hildon_window_unset_program_real):
6886 Make unset_program a virtual function
6888 * src/hildon-stackable-window.c
6889 * src/hildon-stackable-window.h
6890 Added hildon_stackable_window_go_home()
6892 * examples/Makefile.am
6893 * examples/hildon-stackable-window-example.c
6894 HildonStackableWindow example
6896 2008-06-03 Alejandro G. Castro <alex@igalia.com>
6898 * hildon-pannable-area.c: Added the overshoot property and removed
6899 the OVERSHOOT define. Fixed an indent style error.
6900 (hildon_pannable_area_motion_notify_cb):
6901 (hildon_pannable_area_get_property):
6902 (hildon_pannable_area_set_property): Add overshoot property.
6904 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
6907 (hildon_pannable_area_class_init): Installed the new property.
6909 * hildon-pannable-area-example.c: Added a sawtooth function, this
6910 way it is easier to check the movement in the pannable.
6911 (get_sawtooth_label): Added this function.
6912 (main): Now we get the labels from the new get_sawtooth_label
6915 2008-05-26 Alberto Garcia <agarcia@igalia.com>
6917 * src/hildon-app-menu.h
6918 * src/hildon-app-menu.c
6919 Renamed API variables for consistency
6921 (hildon_app_menu_popup): Use also the default window size to
6922 decide where to place the menu
6924 (hildon_app_menu_init, hildon_app_menu_class_init): New
6925 external-border style property
6927 2008-05-26 Michael Natterer <mitch@imendio.com>
6929 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
6930 widget_class->tap_and_hold_setup signal slot doesn't exist any
6931 longer, stop overriding it.
6933 (hildon_time_editor_init): g_signal_connect() to the
6934 tap-and-hold-setup signal instead.
6936 (hildon_time_editor_entry_keypress): add cast to fix warning.
6938 2008-05-23 Alberto Garcia <agarcia@igalia.com>
6940 * doc/hildon-docs.sgml
6942 * examples/Makefile.am
6943 * examples/hildon-app-menu-example.c
6945 * src/hildon-app-menu-private.h
6946 * src/hildon-app-menu.c
6947 * src/hildon-app-menu.h
6949 New HildonAppMenu widget
6951 2008-05-21 Alejandro G. Castro <alex@igalia.com>
6953 Rearranged the inheritance of the pannable area, now it inherits
6954 from GtkBin. This will allow us to control the event_window and
6955 the allocation process of the widget, required for some effects.
6957 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
6958 GtkBin structures. * src/hildon-pannable-area.c: Added the
6959 event_window variable.
6960 (hildon_pannable_area_button_press_cb):
6961 (hildon_pannable_area_button_release_cb):
6962 (hildon_pannable_area_motion_notify_cb):
6963 Changed the signature of the method, now we override the event
6964 callback instead of connecting to the signal.
6966 (hildon_pannable_area_realize):
6967 (hildon_pannable_area_unrealize):
6968 (hildon_pannable_area_map):
6969 (hildon_pannable_area_unmap):
6970 (hildon_pannable_area_size_allocate):
6971 Added functions to control the widget construction. We add a
6972 INPUT_ONLY window and we put it over the widgets inside the
6973 container, this event_window handles the events.
6975 (hildon_pannable_area_class_init):
6976 Replaced the signal connections with overrides of the event
6979 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6981 Bouncing effect added when touching the borders, you can change
6982 the elasticity of the border changing the ELASTICITY define.
6984 * src/hildon-pannable-area.c: Added ELASTICITY define.
6985 (hildon_pannable_area_timeout): Added inverse velocity when
6986 touching the border of the child widget, that causes a bounce.
6988 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6990 Improved performance, we now do not go to the X server in order to
6991 get the list of window children. Apparently the effect is the
6992 same, we have to be careful and check if this breaks something in
6995 * src/hildon-pannable-area.c:
6996 (get_ordered_children): Removed this function.
6997 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
6998 the children windows function with gdk_window_get_children.
7000 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7002 * src/hildon-pannable-area.c:
7003 (hildon_pannable_area_dispose): Fixed a crash when closing the
7004 window and kinetics is activated.
7006 2008-05-19 Alberto Garcia <agarcia@igalia.com>
7008 * src/hildon-pannable-area.h
7009 * src/hildon-pannable-area.c
7010 Changed indentation style to meet the one used in Hildon
7012 2008-05-19 Alejandro G. Castro <alex@igalia.com>
7014 Reviewed the interaction of the AUTO mode, now we use the time
7015 attribute of the events and calculate the velocity in the motion,
7016 doing a gimp like calculation. The velocity is calculated in each
7017 motion event using the last velocity and the current one, the
7018 SMOOTH_FACTOR controls the percentage of the new velocity we use.
7020 * src/hildon-pannable-area.c: Replaced the time based algorithm
7022 (hildon_pannable_area_motion_notify_cb): now we do not launch the
7023 timeout for the AUTO mode when we are still moving the cursor. We
7024 added also the velocity calculation in this function.
7025 (hildon_pannable_area_button_release_cb): launch the timeout in
7026 case we are in AUTO mode. There are still some constants here that
7027 come from the old implementation that should be reviewed and
7030 2008-05-15 Alberto Garcia <agarcia@igalia.com>
7032 * doc/hildon-docs.sgml
7035 * src/hildon-stackable-window.c
7036 * src/hildon-stackable-window.h
7038 New HildonStackableWindow widget
7040 * examples/hildon-dialog-example.c
7041 * examples/hildon-pannable-area-example.c
7044 2008-05-14 Alberto Garcia <agarcia@igalia.com>
7046 * src/hildon-dialog.c
7047 (hildon_dialog_new_with_buttons): New constructor.
7049 * examples/hildon-dialog-example.c
7050 (main): Update the example to use the new
7051 hildon_dialog_new_with_buttons().
7053 * examples/hildon-pannable-area-example.c
7054 (main): Update example.
7056 2008-05-13 Alberto Garcia <agarcia@igalia.com>
7058 * doc/hildon-docs.sgml
7060 Added HildonPannableArea to the documentation.
7062 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
7064 * doc/visual_index.xml
7065 Fix reference to HildonLoginDialog in documentation
7067 * doc/hildon-docs.sgml
7069 * examples/Makefile.am
7070 * examples/hildon-dialog-example.c
7072 * src/hildon-dialog.c
7073 * src/hildon-dialog.h
7075 New HildonDialog widget.
7077 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7079 * src/hildon-pannable-area.c
7080 Merge latest changes (r4318, r4342) from libmokoui trunk
7082 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7084 * examples/Makefile.am
7085 * examples/hildon-pannable-area-example.c
7087 * src/hildon-pannable-area.c
7088 * src/hildon-pannable-area.h
7090 New HildonPannableArea widget.
7092 2008-04-15 18:05:19 <timj@imendio.com>
7094 * src/hildon-banner.c: revert the recent change, that introduced
7095 gtk_window_present() calls. this reopens:
7096 Bug 78481 - [freetest] information banners are hidden under browser menu
7097 But resolves another variant of:
7098 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7100 2008-04-15 13:21:13 <timj@imendio.com>
7102 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
7103 recreated its layout, spotted by Kris. this fixes all remaining
7104 artefacts and stability issues with the banner code. in particular:
7105 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7107 2008-04-14 16:52:59 <timj@imendio.com>
7109 * src/hildon-banner.c: guard force_to_wrap_truncated() against
7110 operating on unrealized widgets, fixes:
7111 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7113 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
7115 2008-04-09 Kristian Rietveld <kris@imendio.com>
7117 Fixes: NB#77775: Media Player, Save Now playing list, too long name
7118 makes banner disappear.
7119 Fixes: NB#79182: info banner flickering with certain message lengts.
7121 * src/hildon-banner.c (hildon_banner_constructor),
7122 (hildon_banner_init), (hildon_banner_set_text),
7123 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
7124 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
7125 FALSE, reset size requests of label and banner,
7126 (force_to_wrap_truncated): when the text is too wide, always enforce
7127 the maximum possible width instead of recalculating it from the
7128 layout; enforce the maximum banner height of 3 lines,
7129 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
7130 nicer wrapping and no truncated chars if space gets tight.
7132 * src/hildon-banner-private.h: add has_been_wrapped and
7133 has_been_truncated fields.
7135 2008-04-07 Sven Herzberg <sven@imendio.com>
7137 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
7138 local values in hildon_date_editor_size_allocate
7140 * src/hildon-date-editor.c: moved the real allocation code into the
7143 2008-04-07 Sven Herzberg <sven@imendio.com>
7145 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7146 local values in hildon_date_editor_size_allocate
7148 * src/hildon-date-editor.c: merged the two if() branches together
7150 2008-04-07 Sven Herzberg <sven@imendio.com>
7152 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7153 local values in hildon_date_editor_size_allocate
7155 * src/hildon-date-editor.c: changed the arguments of the if()
7158 2008-04-07 Sven Herzberg <sven@imendio.com>
7160 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7161 local values in hildon_date_editor_size_allocate
7163 * src/hildon-date-editor.c: split the calculation of the allocation
7164 from the real allocation
7166 2008-03-27 Michael Natterer <mitch@imendio.com>
7168 Fixes: NB#81696: The passcode is not overwritten even after
7171 * src/hildon-code-dialog.c
7172 (hildon_code_dialog_button_clicked)
7173 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
7174 because that doesn't overwrite selected text. Instead, emit the
7175 "commit" signal on the entry's im_context so the entry's normal
7176 insert logic is triggered. Set the cursor to the end of the entry
7177 after each insert operation so that we *only* insert in the middle
7178 of the text if something was selected.
7180 2008-03-27 Michael Natterer <mitch@imendio.com>
7182 Enable fixing: NB#79916 and NB#79918: The help topic for Color
7183 selector cannot be opened
7185 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
7186 when the popup color selector is created. Please connect to this
7187 signal in order to set the dialog's help ID.
7189 2008-03-25 Sven Herzberg <sven@imendio.com>
7191 Fixes: MB#1212: Hide info banners (infoprints) on click
7193 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
7194 extracted the close event simulation into an extra function
7195 (hildon_banner_button_press_event): simulate a close event and destroy
7196 the widget if the event wasn't handled
7197 (hildon_banner_class_init): added the button_press_event handler
7198 (hildon_banner_init): added button-press events to the widget
7200 2008-03-25 Sven Herzberg <sven@imendio.com>
7202 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
7203 Patch from: Mohammad Anwari <mdamt@maemo.org>
7205 * src/hildon-banner.c: let the HildonBanners pop up on the left side
7206 instead of the right in RTL mode
7207 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
7208 breadcrumb button list in RTL mode
7209 * src/hildon-caption.c: mirror the appearance of the caption widget in
7211 * src/hildon-date-editor.c: mirror appearance of the date editor in
7213 * src/hildon-time-editor.c: mirror appearance of the time editor in
7215 * src/hildon-window.c: fix the position of the popup in RTL mode
7217 2008-03-25 Sven Herzberg <sven@imendio.com>
7219 Amendment to the fix of NB#22072. Fix compilation.
7221 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
7223 2008-03-19 Sven Herzberg <sven@imendio.com>
7225 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
7228 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
7229 timeout id properly when the timeout will disappear this leaves no
7230 artifacts around in the destroy(); there will only be the timeout
7231 created by hildon_banner_ensure_timeout() and adding a new timeout
7232 will also work if the timeout gets removed because the timeout_handler
7235 2008-03-19 Michael Natterer <mitch@imendio.com>
7237 Fixes: NB#79791: Cannot set focus to Master volume using stylus
7239 * src/hildon-volumebar.c
7240 * src/hildon-vvolumebar.c
7241 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
7242 the widget becomes focussable at all.
7244 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
7245 set the focus to wither the mute button or the volumebar.
7247 Remove own "can-focus" property and instead listen to
7248 notify::can-focus in order to update the widget's state.
7250 Implement GtkWidget::focus() and make sure we can also *leave* the
7251 widget, not only enter it, depending on volumebar orientation and
7252 requested focus direction.
7254 Clean up set_mute() to cooperate nicely with all the above.
7256 2008-03-04 Michael Natterer <mitch@imendio.com>
7258 Fixes: NB#78481: information banners are hidden under browser menu
7260 * src/hildon-banner.c: call gtk_window_present() on the banners so
7261 they are risen if they are already visible.
7263 2008-03-03 Sven Herzberg <sven@imendio.com>
7265 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
7267 * examples/hildon-window-menu-example.c: (main): extended the window
7268 menu example to serve as a testcase for automatically added
7269 accelerator groups, too
7270 * src/hildon-window.c: (hildon_window_add_accel_group),
7271 (hildon_window_set_menu): added patch by Tommi Komulainen
7273 2008-03-03 Sven Herzberg <sven@imendio.com>
7275 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
7277 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
7278 knowledge about the border allocators used within GTK+
7280 2008-02-26 Sven Herzberg <sven@imendio.com>
7282 Fixes: MB#2981: Build with asserts broken
7284 * src/hildon-date-editor.c,
7285 * src/hildon-number-editor.c,
7286 * src/hildon-time-editor.c,
7287 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
7288 the proper GType instance check
7290 2008-02-25 Sven Herzberg <sven@imendio.com>
7292 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
7294 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
7295 * examples/hildon-window-menu-example.c: (main): explicitly show
7297 * src/hildon-window.c:
7298 (hildon_window_set_main_menu): moved most of the code from set_menu()
7299 to this place; skipped the call to gtk_widget_show_all(); also didn't
7300 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
7301 (hildon_window_set_menu): removed most of the code, just keep the
7302 questionable gtk_widget_show_all()
7303 * src/hildon-window.h: added the new function and deprecate the old
7306 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7312 * debian/changelog: Updating.
7314 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7317 * pkgconfig/Makefile.am:
7318 * pkgconfig/hildon.pc.in:
7321 Do not use PACKAGE_VERSION_MAJOR as the API revision,
7322 use newly created API_MAJOR_VERSION.
7324 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7330 * debian/changelog: Updating.
7332 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7334 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
7336 Add outer_border style property, we use it but don't define it (!).
7340 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
7342 * examples/hildon-bread-crumb-trail-example.c (main):
7346 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
7348 Fix logic for the bread crumb trail node removal.
7352 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7358 * debian/changelog: Updating.
7360 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7362 Patch by Alejandro to get/set passwords dialogs accesibility.
7364 * hildon-1/src/hildon-get-password-dialog.c:
7365 * hildon-1/src/hildon-set-password-dialog.c:
7366 Set atk_set_name to the passwd entries in order to allow
7367 accessibility by name on this entries.
7369 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7374 * debian/control: Updating gtk dep.
7376 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
7378 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
7379 USE_MAEMO_GTK is enabled.
7381 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
7383 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
7384 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
7386 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7392 * debian/changelog: Updating.
7394 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7396 * examples/Makefile.am:
7397 * examples/hildon-logical-color-example.c:
7398 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
7399 applied + adding a test case. Fixes: NB#71660.
7401 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
7403 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
7404 to be visible, fixes warning on map for windows without toolbars.
7406 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
7408 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
7409 2.11.0, add a check for that besides the MAEMO_GTK check.
7411 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7417 * debian/changelog: Updating.
7419 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7421 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
7422 visibility. Fixes: NB#70842 and MB#615.
7424 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7426 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
7427 set the separator as no-show-all so it doesn't unintentionally appear when
7428 someone does a show_all.
7430 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7432 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
7433 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
7434 toplevel item. Fixes: NB#62031
7436 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
7438 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
7439 fix the name of the function in the docs.
7441 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7447 * debian/changelog: Updating.
7449 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7451 * examples/hildon-banner-long-example.c: Adding a test-case for long
7454 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
7456 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7458 * src/hildon-color-chooser-dialog.c:
7459 * src/hildon-color-chooser.c:
7460 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
7461 memory leaks in font selector and color selector. Fixes: NB#70499 and
7464 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
7466 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
7468 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7470 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
7471 little bit bigger. Fixes: #NB63694.
7473 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7479 * debian/changelog: Updating.
7481 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7484 * doc/hildon-docs.sgml:
7485 * doc/images/bread-crumb-trail.png:
7486 * doc/images/calendar-popup.png:
7487 * doc/images/caption.png:
7488 * doc/images/code-dialog.png:
7489 * doc/images/color-button.png:
7490 * doc/images/color-chooser-dialog.png:
7491 * doc/images/color-chooser.png:
7492 * doc/images/controlbar.png:
7493 * doc/images/date-editor.png:
7494 * doc/images/font-selection-dialog.png:
7495 * doc/images/get-password-dialog.png:
7496 * doc/images/hvolumebar.png:
7497 * doc/images/login-dialog.png:
7498 * doc/images/note.png:
7499 * doc/images/number-editor.png:
7500 * doc/images/range-editor.png:
7501 * doc/images/seekbar.png:
7502 * doc/images/set-password-dialog.png:
7503 * doc/images/sort-dialog.png:
7504 * doc/images/time-editor.png:
7505 * doc/images/time-picker.png:
7506 * doc/images/vvolumebar.png:
7507 * doc/images/weekday-picker.png: Adding the new generated widget shots.
7508 Adding the bread-crumb-trial and helpers to the documentation.
7510 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7512 * examples/hildon-find-toolbar-example.c:
7513 * src/hildon-find-toolbar.c:
7514 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
7515 actually continue firing the other handlers if connected. Adding a new
7517 hildon_find_toolbar_get_last_index that gets the index of the most
7518 recently added (last) item. Fixes: NB#52301.
7520 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7522 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
7523 behaviour. Fixes: NB#68610.
7525 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7527 * src/hildon-banner.c: Actually reverting the previous change. It somehow
7530 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7532 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
7533 when realizing the banner. Should make the infonbanner effect a bit more
7536 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7538 * src/hildon-volumebar.c:
7539 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
7540 hildon_volumebar_set_range_insensitive_message and
7541 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
7543 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7545 * src/hildon-window.c: Fixing the border freeing on destroy.
7547 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7549 * src/hildon-code-dialog-private.h:
7550 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
7551 kw keyboard support in HildonCodeDialog.
7553 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7559 * debian/changelog: Updating.
7561 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7563 * src/hildon-date-editor.c:
7564 * src/hildon-number-editor.c:
7565 * src/hildon-private.c:
7566 * src/hildon-private.h:
7567 * src/hildon-time-editor.c:
7568 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
7569 handling in subclassed composite widgets. Fixes: NB#66628.
7571 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7573 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
7574 from destroy_ callback as it introduces problems in async dbus signal
7575 handlers. Fixes NB#66673.
7577 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7579 * examples/hildon-hvolumebar-example.c:
7580 * src/hildon-volumebar.c: Improving the focus handling in the
7581 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
7582 set_property accessor so that "mute" property can be actually set. I'm
7583 scared that nobody noticed it's totally broken.
7585 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7587 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
7590 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7592 * src/hildon-calendar.c:
7593 * src/hildon-number-editor.c:
7594 * src/hildon-time-picker.c: Changing the timeout repeat so that it
7595 matches the spec of 6 chars per second. Fixes: NB#60489.
7597 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7599 * src/hildon-helper.c: Really fixing NB#58352. Looks like
7600 gtk_style_lookup_color sometime returns FALSE even though color was
7601 found and values were filled properly. Weird. Removing the warning for the
7604 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7606 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
7607 expand vertically. Adding some extra space to the find toolbar buttons to
7608 make them thumbable. Fixes NB#66060.
7610 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7612 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
7613 popup with "Ok" and "Cancel". Fixes NB#59299.
7615 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7617 * src/hildon-calendar.c: Process all window updates before executing next
7618 timeout. Fixes: NB#54146.
7620 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7626 * debian/changelog: Updating.
7628 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7630 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
7631 the client event and ignore it, since we use the delete event to close
7634 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7636 * src/hildon-helper.c: Remove the bogus warning about color not being
7637 found. Fixes NB#58352.
7639 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7641 * examples/Makefile.am:
7642 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
7643 HildonSeekbar widget inside a toolbar.
7645 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7647 * src/hildon-banner.c (hildon_banner_init): mark the banners as
7648 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
7649 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
7650 don't want to be closed by non-temporary windows on map.
7652 Also use G_DEFINE_TYPE instead of manually typed code.
7654 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7661 * debian/rules: Updating.
7663 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7665 * examples/Makefile.am:
7666 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
7667 bug NB#61128. Strangely it works.
7669 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7671 * src/hildon-date-editor.c: When the date editor entry has been changed
7672 but the numbers of characters < max, turn off the skip validation flag.
7673 Prevents a situation when we enter first a valid year and later re-write
7674 it with an invalid one. Fixes NB#60154.
7676 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7678 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
7679 code dialog. Fixes NB#64355.
7681 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7683 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
7684 switching the page. Fixes NB#49374.
7686 * examples/Makefile.am:
7687 * examples/hildon-wizard-dialog-example.c: Adding an example for
7688 HildonWizardDialog that shows how to handle manual sensitivity setting on
7691 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7695 * src/hildon-version.h.in:
7696 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
7698 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7700 * src/hildon-volumebar.c: Updating the docs.
7702 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7708 * debian/changelog: Updating.
7710 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7712 * src/hildon-find-toolbar.c:
7713 * src/hildon-find-toolbar.h: Adding a few new functions to control the
7714 selected item: hildon_find_toolbar_set_active,
7715 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
7716 hildon_find_toolbar_get_active_iter . They correspond to respective
7717 GtkComboBox functions.
7719 * examples/Makefile.am:
7720 * examples/hildon-find-toolbar-example.c: Adding the example to test the
7723 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7725 * examples/Makefile.am:
7726 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
7729 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
7730 when font size > 32 and we pack a focusable widget inside. Actually using
7731 the default response would work too, but since we don't show default
7732 response state in any way (no theming) it would not be visible to the
7733 user. Fixes NB#63430.
7735 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7737 * src/hildon-date-editor.c: Adding the missing variable setter in the
7738 set_property handler. Fixes NB#54182.
7740 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7742 * src/hildon-window.h: Changing the long key press time from 1500ms to
7743 800ms as requested in NB#63700. I have a bad feeling about this, let's
7744 see... Fixes NB#63700.
7746 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
7748 * src/hildon-time-picker.c (hildon_time_picker_class_init,
7749 hildon_time_picker_map, hildon_time_picker_realize,
7750 hildon_time_picker_style_set): Split the contents of map to more
7751 appropriate functions; set window decorations on realize and update
7752 arrows' size requisitions on style-set. Avoids unnecessary resizing.
7754 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
7759 * debian/changelog: Updating.
7761 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
7763 * src/Makefile.am: fixed installation of the header files
7765 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7771 * debian/changelog: Updating.
7773 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7775 * configure.ac: Removing some remaining of --enable-xan.
7777 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
7779 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
7780 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
7782 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
7783 2.10.12-osso6 because the move-focus signal needs to be available in
7786 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7788 * examples/Makefile.am:
7789 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
7790 that makes a HildonVolumebar insensitive before mapping it. Seems to work
7791 fine. Prolly NB#61128 is fixed now.
7793 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7795 * src/hildon-volumebar.c:
7796 * src/hildon-volumebar.h: Adding the
7797 hildon_volumebar_set_range_insensitive_message and
7798 hildon_volumebar_set_range_insensitive_messagef functions to set
7799 insensitive message on the slider of the volumebar. Fixes NB#61129.
7801 * examples/Makefile.am:
7802 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
7803 test the new insensitive messsage functionality on HildonVolumebar.
7805 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
7807 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
7810 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
7812 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
7813 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
7814 button on after clearing the trail.
7816 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7818 * src/hildon-code-dialog.c: Removing the separator from the dialog.
7820 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7822 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
7823 by splitting the installed headers in generated and non-generated groups. Use
7824 only the non-generated headers to create the hildon-enum-types.h file.
7826 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
7828 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7830 * src/hildon-window.c: Hide the window before performing the destroy.
7831 Should make the app closing a little tiny bit more snappy.
7833 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7835 * src/hildon-seekbar.c: add gtkrange.h header
7836 * src/hildon-caption.c: remove unused variable
7838 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
7840 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
7843 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7849 * debian/changelog: Updating.
7851 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
7853 * src/hildon-window.c (hildon_window_window_state_event,
7854 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
7855 escape timeout on focus-out-event rather than notify::is-topmost; the
7856 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
7858 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7860 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
7861 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
7863 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7865 * src/hildon-window: actually, you need to use the macro always, there's
7866 no private pointer in the instance structure. We should have cleaned this up
7867 when we had the chance...
7869 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7871 * src/hildon-window.c: do not get the private date from HildonWindow before
7872 it passes the g_return_if_fail check. Once it's passed the test, there's no
7873 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
7874 if you are only going to access the data once. Whitespace cleanups.
7876 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
7878 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
7879 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
7881 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7887 * debian/changelog: Updating.
7889 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7891 * src/hildon-window.c: When destroying the window, remove (if exists) the
7892 escape timeout handler. Fixes #NB59276.
7894 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7896 * src/hildon-banner.c: When realizing the widget, set the window
7897 transiency. Setting the transiency in the gobject constructor is not
7898 good, as the widget is not realized at that point. Fixes: #NB56624.
7900 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7902 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
7903 Add padding for future expansions.
7905 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7907 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
7908 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
7909 will fake an activation on the previous to the last item of the trail, so
7910 the effect can be overrided by the developer as usual.
7911 Also change the callback for the back button to do the same thing, so its
7912 effect can be overrided too. Fixes: NB#58982
7914 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7916 * src/hildon-caption.c: Implementing the proper focus grabbing in the
7917 HildonCaption. Fixes NB#52379.
7919 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7921 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
7922 the internal state of the trail after the user has had the chance of executing
7923 his handler for the signal. Specifically, it may happen that the activated button
7924 is removed and the user still lets the default handler run. This would segfault
7927 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7929 * src/hildon-font-selection-dialog.c: When the font is really big, add the
7930 scrollbar to the preview dialog. Fixes NB#54147.
7932 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7934 * src/hildon-date-editor.c: Changing the default max year to 2037. The
7935 max/min year properties can be altered, so the client can modify it
7936 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
7938 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7940 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
7941 hildonlike by default. Fixing a problem with disappearing arrows when
7942 scrolling through months and years. Fixes NB#54127.
7944 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7946 * examples/hildon-date-editor-example.c: Adding error callback to the date
7949 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7955 * configure.ac: Updating.
7957 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7959 * configure.ac: Adding a special '--enable-xan' configure option that
7960 turns off the -Werror compilation setting. Usefull for development.
7962 * src/hildon-calendar.c:
7963 * src/hildon-number-editor.c:
7964 * src/hildon-time-picker.c: Adding the 5* multiplier to
7967 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
7969 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
7970 instead of g_object_ref + gtk_object_sink.
7972 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7978 * debian/changelog: Updating.
7980 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7982 * src/hildon-color-chooser-dialog.c:
7983 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
7984 straight from Tommi labs.
7986 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7988 * examples/hildon-finger-example.c: Correcting the header file path.
7990 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
7991 the changed signal. Fixes a small memory leak.
7993 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7997 * src/hildon-banner.c: Importing several usefull fixes from the
7998 ubuntu-mobile branch.
8000 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8002 * examples/Makefile.am:
8003 * examples/hildon-finger-example.c: Adding a finger-checking code
8006 * src/hildon-font-selection-dialog.c: Do not allocate the color
8007 structure using the g_new. Fixes NB#54061.
8009 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8011 * src/hildon-helper.c: Correcting tabs in file.
8013 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
8015 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
8016 control the visibility of the children.
8018 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
8020 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8026 * debian/changelog: Updating.
8028 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8030 * src/hildon-bread-crumb-trail.c:
8031 (hildon_bread_crumb_trail_size_allocate):
8033 Make the back button always a square.
8035 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8037 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
8038 from the .c file as it's a private file.
8040 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8042 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
8043 uses slightly bigger height.
8045 * src/hildon-font-selection-dialog.c: Adding some checks before
8046 freeing memory in the font selection dialog.
8048 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8050 * src/hildon-font-selection-dialog.c: Adding a small check when
8053 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
8054 buttons sensitivity on page switching.
8056 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
8058 * src/hildon-bread-crumb-trail.c: make the add method handle all the
8059 internal details of adding a bread crumb to the trail.
8061 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8067 * debian/changelog: Updating.
8069 * src/hildon-bread-crumb-trail.h:
8070 * src/hildon-bread-crumb.h: Changing the API guard to
8071 HILDON_ENABLE_UNSTABLE_API.
8073 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8081 * src/hildon-helper.h: Updating.
8083 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8091 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8095 * src/hildon-helper.h: Small fix to make the package actually compile.
8097 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8099 * src/hildon-bread-crumb-trail.h:
8100 * src/hildon-bread-crumb.h:
8102 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
8103 to define ENABLE_UNSTABLE_API in the code that includes these headers.
8105 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8107 * examples/hildon-bread-crumb-trail-example.c:
8109 * src/hildon-bread-crumb-trail.c:
8110 * src/hildon-bread-crumb-trail.h:
8111 * src/hildon-bread-crumb.c:
8112 * src/hildon-bread-crumb.h:
8113 * src/hildon-marshalers.list:
8114 * src/hildon-bread-crumb-widget.c:
8115 * src/hildon-bread-crumb-widget.h:
8117 Slight change in the widget design. The bread crumb trail API is
8118 unchanged, but HildonBreadCrumb is now an interface. A *private*
8119 implementation, hildon-bread-crumb-widget, is provided and used
8120 internally by the trail for the push_text/push_icon functions.
8122 The generic push API is still available, so anyone can implement
8123 and use its own bread crumb widget.
8125 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8127 * debian/rules: Fixing the shlibs.
8129 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8131 * src/hildon-banner.c: Fixing a problem with timed banners having
8132 their parrent destroyed before they are.
8134 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
8136 * src/hildon-bread-crumb.c:
8137 * src/hildon-bread-crumb.h:
8139 Make the get_natural_size function a vfunc.
8141 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8143 * src/hildon-bread-crumb.c:
8144 * src/hildon-bread-crumb-trail.c:
8148 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8155 * debian/changelog: Updating for release.
8157 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8159 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
8160 don't leak the pango layout.
8162 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8165 * examples/hildon-bread-crumb-trail-example.c:
8169 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8171 * debian/changelog: Removing the bug-fixed entries that were actually
8172 resolved as WONTFIX.
8174 * src/hildon-date-editor.c: Removing a redundant check. Fixes
8177 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8179 * src/hildon-bread-crumb-trail.c:
8180 * src/hildon-bread-crumb-trail.h:
8181 * src/hildon-bread-crumb.c:
8182 * src/hildon-bread-crumb.h:
8186 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8188 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
8189 until it's passed the type check.
8191 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8193 * examples/hildon-bread-crumb-trail-example.c
8197 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8199 * examples/Makefile.am
8200 * examples/hildon-bread-crumb-trail-example.c
8202 * src/hildon-bread-crumb-trail.c
8203 * src/hildon-bread-crumb-trail.h
8204 * src/hildon-bread-crumb.c
8205 * src/hildon-bread-crumb.h
8207 New HildonBreadCrumbTrail widget.
8209 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
8211 * src/hildon-range-editor.c (hildon_range_editor_init),
8212 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
8213 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
8214 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
8215 hildon_time_editor_class_init, hildon_time_editor_init),
8216 src/hildon-get-password-dialog.c (invalid_input,
8217 hildon_get_password_set_property, hildon_get_password_get_property,
8218 create_contents, hildon_get_password_dialog_set_max_characters),
8219 src/hildon-set-password-dialog.c (create_contents),
8220 src/hildon-date-editor.c (hildon_date_editor_init),
8221 src/hildon-login-dialog.c (hildon_login_dialog_init),
8222 src/hildon-number-editor.c (hildon_number_editor_init),
8223 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
8224 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
8225 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
8226 configure option and adding the respective checks in the code.
8227 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
8228 hildon_calendar_drag_data_received): fixed some build warnings.
8230 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8232 * debian/changelog: A 1.0.0 release notes.