1 2009-05-20 Alberto Garcia <agarcia@igalia.com>
3 * hildon/hildon-banner.c
4 (hildon_banner_realize, +hildon_banner_unrealize)
5 (+screen_size_changed, hildon_banner_class_init):
6 Redisplay the banner if the screen is rotated.
8 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
9 on transition from landscape to portrait)
11 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
13 * hildon/hildon-banner.[ch]:
14 (hildon_banner_show_information_override_dnd): remove icon_name from the
15 method definition as it is ignored.
16 * examples/hildon-banner-dnd-example.c: updated with the change on
19 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
21 * hildon/hildon-banner-private.h: new require_override_dnd and
22 overrides_dnd variables
23 * hildon/hildon-banner.h:
24 (hildon_banner_show_information_override_dnd): new method, that shows
25 the information but sets the override flag, in order to show important
27 * hildon/hildon-banner.c
28 (hildon_banner_show_information_override_dnd): new method
29 (hildon_banner_set_override_flag): new utility function
30 (hildon_banner_real_show_information): new utility function, in order to
31 generalize the current hildon_banner_show_information_override_dnd and
32 hildon_banner_show_information_override_dnd
33 * examples/Makefile.am
34 * examples/hildon-banner-dnd-example.c: New example that show how to
35 use the new hildon_banner_show_information_override_dnd
37 Fixes: NB#114874 (There is no possibility to show hildon banners with
40 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
42 * hildon/hildon-pannable-area.c: Add a comment explaining the math
43 behind hildon_pannable_calculate_vel_factor().
45 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
47 * hildon/hildon-pannable-area.c
48 (hildon_pannable_calculate_vel_factor): Correct the sum of the
51 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
53 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
54 Reduce the default value for 'scroll_time' to 1 second, since the
55 current initial scrolling takes too much time.
57 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
59 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
60 calculate velocity factor during initialization, since the properties
63 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
65 * hildon/hildon-pannable-area.c
66 (hildon_pannable_area_set_property): Calculate the velocity factor
67 after setting the deceleration property and not after.
69 2009-05-20 Alberto Garcia <agarcia@igalia.com>
71 * hildon/hildon-entry.c
72 (hildon_entry_class_init, +set_property, hildon_entry_new)
73 * hildon/hildon-check-button.c
74 (hildon_check_button_class_init)
75 (+set_property, hildon_check_button_new):
76 Make the theme size a property.
78 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
79 others) do too much in the _new function)
81 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
83 * configure.ac: post release version bump
84 * debian/changelog: post release version bump
86 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
91 * configure.ac: Bump version.
92 * debian/changelog: Updates.
94 2009-05-15 Alberto Garcia <agarcia@igalia.com>
97 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
98 New API function to take a screenshot of a window
100 Fixes: NB#106374 (Need API to take a loading screenshot)
102 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
104 * hildon/hildon-time-selector.c
105 (update_format_policy): prevent to use hours and minutes unitialized
107 2009-05-15 Alberto Garcia <agarcia@igalia.com>
109 * hildon/hildon-window.c (hildon_window_size_request):
110 Always request the full size of the screen (minus the title bar if
111 not in fullscreen mode).
113 Fixes: NB#107486 (HildonWindow should size itself properly)
115 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
117 * hildon/hildon-note-private.h: Add idle_handler to the private data.
118 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
119 (on_show_cb), (sound_handling): Disconnect the idle handler for
120 the sound when the note is finalized to avoid possible crashes.
122 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
125 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
127 * src/hildon-animation-actor.c,
128 * src/hildon-remote-texture.c:
129 Added proper object cleanup to remove signal handler and object
130 references as HildonAnimationActor and HildonRemoteTexture
131 objects get destroyed.
133 Fixes: NB#116682 (Destroying parented animation actors when
134 parent in unmapped leads to crash)
136 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
138 Based on a patch by Christian Dywan (christian@imendio.com)
140 * doc/hildon-sections.txt:
141 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
142 * hildon/hildon-helper.h: New file size formatting method.
144 * debian/control: Depend on osso-filemanager l10n package for
145 proper localization strings.
147 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
149 * tests/Makefile.am: Include top_srcdir to make possible to build
150 tests in a different builddir.
151 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
152 on a different builddir.
154 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
156 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
157 (hildon_touch_selector_remove): Disconnect model's signal handler
160 Fixes: NB#116289 (Hildon home crashes while adding task
163 2009-05-11 Alberto Garcia <agarcia@igalia.com>
165 * hildon/hildon-button.c
166 (hildon_button_set_title, hildon_button_set_value):
167 Hide labels containing an empty string.
169 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
171 * configure.ac: post release version bump
172 * debian/changelog: post release version bump
174 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
179 * configure.ac: Bump version.
180 * debian/changelog: Updates.
182 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
184 * hildon/hildon-note-private.h: Removed sound_signal_handler
185 * hildon/hildon-note.c
186 (on_show_cb): new callback on note "show" event, this simply adds
187 a idle, with the function sound_handling
188 (sound_handling): removed the sound_signal_handler management
189 (hildon_note_init): connect note "show" event to on_show_cb
190 (hildon_note_realize): remove the connection to "expose-event"
192 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
193 device?' confirmation note)
195 2009-05-08 Alberto Garcia <agarcia@igalia.com>
197 * hildon/hildon-note.c
198 (hildon_note_new_information_with_icon_name)
199 (hildon_note_new_confirmation_with_icon_name):
200 Terminate the list of parameters in g_object_set() calls
202 Fixes: NB#115166 (Formatting memory card is not taking place)
204 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
206 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
207 "dialog-information" role for the sound being played.
209 2009-05-06 Alberto Garcia <agarcia@igalia.com>
211 * hildon/hildon-app-menu.c (hildon_app_menu_init):
212 Don't make the menu a modal window, it causes strange interactions
213 with the pointer grab and it's not really needed.
215 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
217 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
219 * hildon/hildon-touch-selector.[ch]
220 (hildon_touch_selector_optimal_size_request): function added to get a
221 optimal size request from the touch selector, when you want a dialog to
222 show as much of the selector
223 * hildon/hildon-picker-dialog.c:
224 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
225 (hildon_app_menu_class_init):
226 New "max-height-landscape" and "max-height-portrait" style properties
227 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
228 (hildon_picker_dialog_get_max_height): returns the maximum height using
229 the style properties defined and checking the current portrait/landscape
231 (_hildon_picker_dialog_set_selector): removed the set_size_request
233 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
235 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
237 * hildon/hildon-bread-crumb-trail.c:
238 * hildon/hildon-bread-crumb.c:
239 * hildon/hildon-seekbar.c:
240 Add reference to replacements for these deprecated widgets.
242 Fixes: MB#4461 (Documentation: All deprecations should mention
245 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
247 * examples/hildon-remote-texture-example.c
249 Change the include to the hildon-remote-texture in order to compile
250 properly the examples on the installed libhildon1-examples package
252 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
254 * tests/Makefile.am: Add check for HildonPickerButton.
255 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
256 (START_TEST), (create_hildon_picker_button_suite): Add three simple
257 checks for the HildonPickerButton.
258 * tests/check_test.c (configure_tests): Add the test suite.
259 * tests/test_suites.h: likewise.
261 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
263 * hildon/hildon-touch-selector.c
264 (+on_row_changed): Emit HildonTouchSelector:changed when the
265 contents of a selected row change.
266 (_create_new_column), (_hildon_touch_selector_set_model): connect
267 to GtkTreeModel:row-changed on a newly set model.
269 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
271 2009-05-05 Alberto Garcia <agarcia@igalia.com>
273 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
275 * hildon/hildon-banner.c (hildon_banner_destroy)
276 (hildon_banner_show_progress, hildon_banner_set_fraction):
277 Remove the progress bar from HildonBanner and use a progress
280 Fixes: NB#113761 (Update progress banner to use progress
283 2009-05-04 Alberto Garcia <agarcia@igalia.com>
285 * hildon/hildon-banner.c:
286 Calculate size of the banner label using the actual screen width
287 rather than using a fixed value.
289 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
292 2009-05-04 Alejandro G. Castro <alex@igalia.com>
294 * hildon/hildon-pannable-area.c,
295 (hildon_pannable_area_class_init): Fixed signals documentation
298 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
300 * configure.ac: post release version bump
301 * debian/changelog: post release version bump
303 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
308 * configure.ac: Bump version.
309 * debian/changelog: Updates.
311 2009-05-01 Alberto Garcia <agarcia@igalia.com>
313 * hildon/hildon-edit-toolbar.c
314 (hildon_edit_toolbar_init):
315 Don't let buttons in HildonEditToolbar receive focus.
317 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
318 typing on an HW arrows key)
320 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
322 * doc/Makefile.am: Fix build.
324 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
326 * doc/Makefile.am: Do not redefine content_files.
328 2009-04-30 Alberto Garcia <agarcia@igalia.com>
336 Renamed src/ to hildon/
341 Include <hildon/hildon.h> directly in all examples.
343 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
345 * src/hildon-sort-dialog.c
346 (hildon_sort_dialog_add_sort_key_with_sorting)
350 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
352 * src/Makefile.am: Move generated sources to CLEANFILES, so that
353 make distcheck passes.
355 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
357 * Makefile.am: Enable gtk-doc during distcheck.
359 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
361 * Makefile.am: Do not distribute the debian/ directory.
363 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
365 * doc/Makefile.am: Add the extra SGML files to content_files,
366 so that they are distributed properly.
368 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
370 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
373 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
375 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
376 (hildon_note_new_information_with_icon_name): Set the "icon" property
377 to preserve soundness.
379 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
381 * src/hildon-font-selection-dialog.c
382 (hildon_font_selection_dialog_set_property): Fail when the "family"
383 property is set to NULL.
385 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
387 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
390 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
392 * src/hildon-time-selector.h:
393 Added HildonTimeSelectorFormatPolicy
394 * src/hildon-time-selector.c:
395 Added PROP_TIME_FORMAT_POLICY
396 (_check_ampm_format): renamed to check_automatic_ampm_format
397 (update_format_policy), (update_format_dependant_columns): new functions
398 (hildon_time_selector_class_init)
399 (hildon_time_selector_contructor)
400 (hildon_time_selector_init)
401 (hildon_time_selector_get_property)
402 (hildon_time_selector_set_property)
403 (hildon_time_selector_get_time)
404 (hildon_time_selector_set_time)
405 * src/hildon-touch-selector.h: new file
406 * src/hildon-touch-selector.c
407 (hildon_touch_selector_emit_changed)
408 (hildon_touch_selector_block_changed)
409 (hildon_touch_selector_unblock_changed)
410 Added functions to allow to block the emission of the "changed" signal
411 * src/hildon-picker-dialog.c
412 (hildon_picker_dialog_show): call the parent show before the custom code
413 * examples/hildon-time-button-example.c
414 Modified, so now you can configure the time format using the new property
416 Added a new property "time-format-policy" that allow to choose the time
417 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
418 case it uses gconf in order to check if the time selector must use
421 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
424 2009-04-28 Alberto Garcia <agarcia@igalia.com>
426 * src/hildon-note.c (hildon_note_init):
427 Label in HildonNote must be left aligned, not centered. This
428 reverts the last commit in HildonNote.
430 Fixes: NB#112933 (text is not left aligned in confirmation dialog
431 is connectivity dialog)
433 2009-04-27 Alberto Garcia <agarcia@igalia.com>
438 * doc/hildon-sections.txt:
439 Added hildon_gtk_window_set_do_not_disturb()
441 2009-04-27 Alberto Garcia <agarcia@igalia.com>
443 * src/hildon-note.c (hildon_note_init): Center label.
445 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
448 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
453 * configure.ac: Bump version.
454 * debian/changelog: Updates.
456 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
458 * src/hildon-note-private.h: Add button-width to the private data.
459 * src/hildon-note.c (+resize_button),
460 (+hildon_note_orientation_update): methods to repack widgets on orientation
462 (screen_size_changed): Call above method for confirmation notes.
463 (hildon_note_realize): Always connect to the "screen-size" changed signal.
464 (hildon_note_rebuild): Store the original width request from buttons.
466 Fixes: NB#109635 (Confirmation notes do not support portrait)
468 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
470 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
471 when it is a progress note.
473 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
475 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
476 in the note, since there are no horizontally arranged contents.
478 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
480 * src/hildon-gtk.c (+set_flag): new generic method to
481 set/delay a flag setting in a window.
482 (hildon_gtk_window_set_progress_indicator):
483 (hildon_gtk_window_set_do_not_disturb),
484 (hildon_gtk_window_set_portrait_flags): use set_flag() to
485 avoid code redundance.
487 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
489 Based on a patch by Alberto Garcia (agarcia@igalia.com)
491 * src/hildon-gtk.c (set_clear_window_flag),
492 (do_set_progress_indicator), (do_set_do_not_disturb),
493 (do_set_portrait_flags),
494 (hildon_gtk_window_set_progress_indicator),
495 (hildon_gtk_window_set_do_not_disturb),
496 (hildon_gtk_window_set_portrait_flags):
497 Allow setting dnd-flag, progress indicator, and portrait flags
498 when the window is not realized.
500 2009-04-24 Alejandro G. Castro <alex@igalia.com>
502 * src/hildon-pannable-area.c,
503 * src/hildon-pannable-area.h: Add the hildon deprecated define to
504 the size request policy function and defines.
506 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
508 * doc/hildon-sections.txt: Add the new API.
509 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
510 method to set the portrait flags.
511 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
513 Fixes: NB#112328 (Adding helpers for setting portrait properties)
515 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
517 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
518 to allow using this method with other flags.
519 (hildon_gtk_window_set_progress_indicator): Update accordingly.
520 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
522 2009-04-22 Alberto Garcia <agarcia@igalia.com>
524 * src/hildon-touch-selector.c
525 (hildon_touch_selector_append_text_column):
526 Make the cell renderer use the smallest width possible.
528 Fixes: NB#108470 (Selected items in multiple selection are either
529 having a tick that is cut or not visible at all.)
531 2009-04-22 Alberto Garcia <agarcia@igalia.com>
533 * src/hildon-touch-selector.c
534 (hildon_touch_selector_append_text_column):
537 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
539 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
540 Use g_strdup_printf() instead of a fixed size buffer.
542 2009-04-21 Alberto Garcia <agarcia@igalia.com>
544 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
545 Close banners when a HildonAppMenu is popped up.
547 Fixes: NB#111027 (Title menu closed immediately if activated when
548 "Invalid e-mail address" banner is shown)
550 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
555 * configure.ac: Bump version.
556 * debian/changelog: Updates.
558 2009-04-20 Alberto Garcia <agarcia@igalia.com>
560 * src/hildon-banner.c (hildon_banner_realize):
561 Mark HildonBanner as supporting portrait mode.
562 Use GDK to set window properties insetad of direct Xlib calls.
564 Fixes: NB#111830 (HildonBanner should be marked as supporting
567 2009-04-20 Alberto Garcia <agarcia@igalia.com>
569 * src/hildon-note.c (hildon_note_rebuild):
570 Hide action area in information notes. Prevents text from being
571 slightly aligned to the left.
573 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
576 2009-04-20 Alberto Garcia <agarcia@igalia.com>
578 Patch by Mox Soini (ext-mox.soini@nokia.com)
580 * src/hildon-banner.c (hildon_banner_create_animation):
581 Use stylus-sized icons in animation banner.
583 Fixes: NB#111206 (stylus sized icon for animation banner)
585 2009-04-20 Alberto Garcia <agarcia@igalia.com>
589 (+hildon_gtk_window_set_do_not_disturb):
590 New API to set the do-not-disturb flag.
592 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
594 2009-04-20 Alberto Garcia <agarcia@igalia.com>
596 * examples/hildon-progress-indicator-example.c: Fix example
598 * src/hildon-gtk.c (set_clear_window_flag)
599 (hildon_gtk_window_set_progress_indicator):
600 Create a generic function for setting flags to a window.
601 Use GDK instead of direct Xlib calls.
603 2009-04-14 Alberto Garcia <agarcia@igalia.com>
605 * src/hildon-button.c (hildon_button_set_arrangement):
606 Due to NB#88126, if one of the labels is too long it will be
607 painted outside the button. The 'value' label is more likely to be
608 the longest one, so we change its packing options in order to
609 truncate it if necessary. As a side effect, the 'title' label will
610 no longer be truncated.
612 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
614 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
619 * configure.ac: Bump version.
620 * debian/changelog: Updates.
622 2009-04-13 Alejandro G. Castro <alex@igalia.com>
624 Deprecation of the hildon_pannable_area_set_size_request_policy
625 API, the only policy properly supported in gtk+ nowadays is the
628 * src/hildon-pannable-area.c,
629 (hildon_pannable_area_size_request): Added a workaround for the
630 size_request to avoid the problems of huge pixmaps in case someone
631 is still using the function.
632 * src/hildon-pannable-area.h: Deprecated the enum with the
635 Fixes: NB#110244 (Problems with the
636 hildon_pannable_area_set_size_request_policy API)
638 2009-04-08 Alejandro G. Castro <alex@igalia.com>
640 * src/hildon-pannable-area.c,
641 (hildon_pannable_area_init),
642 (hildon_pannable_area_size_request),
643 (hildon_pannable_area_style_set),
644 (hildon_pannable_draw_vscroll),
645 (hildon_pannable_draw_hscroll),
646 (hildon_pannable_area_check_scrollbars): Replaced area_width with
647 indicator_width to clarify the use of the attribute.
649 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
654 * configure.ac: Bump version.
655 * debian/changelog: Updates.
657 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
659 * src/hildon-picker-dialog.c
660 * src/hildon-touch-selector.c
661 Reverting the change that tried to avoid the hardcoded height on
662 the picker dialog, as causes problems on the hildon-touch-selector
665 Fixes: NB#110029 (selectors not scrolling to selected value)
667 2009-04-07 Alberto Garcia <agarcia@igalia.com>
669 * src/hildon-touch-selector.c: Fix typos
671 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
673 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
674 Use the event coordinates instead of gdk_window_get_pointer(). Also,
675 request more motions after using it.
677 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
679 * src/hildon-calendar.c (hildon_calendar_expose),
680 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
681 Remove unused variables.
683 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
685 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
688 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
690 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
691 Check the return value of gtk_tree_selection_get_selected()
694 2009-04-06 Alberto Garcia <agarcia@igalia.com>
696 * src/hildon-animation-actor.c
697 * src/hildon-button.c
699 * src/hildon-pannable-area.c
700 * src/hildon-picker-button.c
701 * src/hildon-program.c
702 * src/hildon-remote-texture.c
703 * src/hildon-text-view.c
704 * src/hildon-touch-selector.c
705 * src/hildon-window-stack.c
706 * src/hildon-window.c:
707 Add missing 'Since: 2.2' tags.
709 * doc/hildon-sections.txt:
710 Add some missing symbols.
712 * doc/hildon-docs.sgml:
713 New 'Other' section for HildonAnimationActor and
716 2009-04-06 Alberto Garcia <agarcia@igalia.com>
718 Patch by Iván Gómez (igomez@igalia.com)
722 * doc/hildon-docs.sgml
723 * doc/hildon-sections.txt
727 New chapters on using the Hildon library.
728 Updated the general structure of the reference manual.
729 Other minor documentation fixes.
731 * src/hildon-calendar-popup.c
732 * src/hildon-calendar.c
733 * src/hildon-controlbar.c
734 * src/hildon-date-editor.c
735 * src/hildon-dialog.c
736 * src/hildon-hvolumebar.c
737 * src/hildon-number-editor.c
738 * src/hildon-range-editor.c
739 * src/hildon-sort-dialog.c
740 * src/hildon-time-editor.c
741 * src/hildon-time-picker.c
742 * src/hildon-volumebar-range.c
743 * src/hildon-volumebar.c
744 * src/hildon-vvolumebar.c
745 * src/hildon-weekday-picker.c:
746 Add deprecation notes
748 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
749 Document 'horizontal-movement' and 'vertical-movement' signals.
751 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
756 * configure.ac: Bump version.
757 * debian/changelog: Updates.
759 2009-04-06 Alejandro G. Castro <alex@igalia.com>
761 * src/hildon-pannable-area.c,
762 (hildon_pannable_area_class_init): increased the minimum velocity.
763 (hildon_pannable_area_button_release_cb): Updated the
764 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
765 setup. Review the code to control that last event.
767 Fixes: NB#109790 (Releasing finger in pannable area easily causes
770 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
772 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
774 * src/hildon-get-password-dialog.c
775 (hildon_get_password_set_property),
776 (hildon_get_password_get_property), (create_contents):
777 * src/hildon-login-dialog-private.h:
778 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
779 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
780 (hildon_login_dialog_get_password):
781 * src/hildon-set-password-dialog-private.h:
782 * src/hildon-set-password-dialog.c
783 (hildon_set_password_set_property),
784 (hildon_set_password_get_property), (create_contents),
785 (hildon_set_password_response_change),
786 (hildon_set_password_response_set), (hildon_checkbox_toggled):
788 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
789 instead and look more Fremantle style.
791 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
793 2009-04-03 Alberto Garcia <agarcia@igalia.com>
795 * doc/hildon-sections.txt
796 * src/hildon-window-stack.h
797 * src/hildon-window-stack.c
798 (+hildon_window_stack_get_windows):
799 New API to obtain the list of windows on a stack.
801 2009-04-02 Alberto Garcia <agarcia@igalia.com>
803 * src/hildon-app-menu.c (hildon_app_menu_popup)
804 (hildon_app_menu_class_init, -hildon_app_menu_show):
805 Remove hildon_app_menu_show() and move all its checks to
806 hildon_app_menu_popup()
808 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
810 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
811 (_hildon_picker_dialog_set_selector): removed call to
812 gtk_widget_set_size_request
813 * src/hildon-touch-selector.c
814 (_create_new_column): change the pannable size request policy
816 Avoid to use a hardcoded height for the hildon picker dialog. In order
817 to get that, we needed to change the hildon pannable size request
819 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
821 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
823 * src/hildon-window.c (hildon_window_map): Check for vbox to be
824 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
827 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
829 * debian/control: Depend on osso-system-lock localization package.
830 * src/hildon-code-dialog.c: Obtain the secu_application_title
831 translation from osso-system-lock.
832 * src/hildon-get-password-dialog.c (create_contents): Do not mark
833 for translation the atk related strings, that's not necessary.
834 * src/hildon-set-password-dialog.c (create_contents): Ditto.
835 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
836 cancel button, it is not required.
838 2009-04-02 Alejandro G. Castro <alex@igalia.com>
840 * src/hildon-pannable-area.c,
841 (hildon_pannable_area_class_init): Modified the default value of
842 the overshooting max speed, we have reduced it.
844 2009-04-02 Alberto Garcia <agarcia@igalia.com>
846 * doc/hildon-sections.txt
847 * src/hildon-window-private.h
848 * src/hildon-window.h
849 * src/hildon-window.c (hildon_window_class_init)
850 (hildon_window_init, hildon_window_finalize)
851 (hildon_window_realize, hildon_window_get_property)
852 (hildon_window_set_property, hildon_window_update_markup)
853 (hildon_window_get_markup, hildon_window_set_markup):
854 New "markup" property and hildon_window_{get,set}_markup() methods.
856 * examples/hildon-stackable-window-example.c (new_window):
857 Update example to use hildon_window_set_markup()
859 Fixes: NB#106375 (Need API to retitle a window with a title
862 2009-04-01 Alejandro G. Castro <alex@igalia.com>
864 * src/hildon-pannable-area.c,
865 (hildon_pannable_area_class_init): Changed the default value of
866 the initial_hint to TRUE.
867 (hildon_pannable_area_initial_effect): Changed the initial effect,
868 not the effect is just the fade-out of the scrollbars.
870 Fixes: NB#107775 (No scrollbars can be seen when several items are
871 available in a dialog)
873 2009-04-01 Alberto Garcia <agarcia@igalia.com>
875 * src/hildon-program.c (hildon_program_update_top_most):
878 Fixes: NB#109179 (Memory leak in Hildon program)
880 2009-04-01 Alberto Garcia <agarcia@igalia.com>
882 * src/hildon-banner.c (-get_current_app_window):
883 Remove unused function.
885 2009-04-01 Alejandro G. Castro <alex@igalia.com>
887 * src/hildon-pannable-area.c: Modified the documentation of the
888 get adjustments functions to explain the problem of using the
890 (hildon_pannable_area_class_init): Improved the explanation about
893 2009-04-01 Alberto Garcia <agarcia@igalia.com>
895 * src/hildon-app-menu-private.h
896 * src/hildon-app-menu.c
897 (hildon_app_menu_class_init):
898 Bring back the 'external-border' style property
899 (hildon_app_menu_class_init, hildon_app_menu_init)
900 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
901 Set a fixed width-request for the menu, independent of the number
904 Fixes: NB#94957 (Smoothly opened application menu)
906 2009-03-30 Alberto Garcia <agarcia@igalia.com>
908 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
910 * src/hildon-banner.c
911 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
913 Make sure that the banner is correctly placed the first time it's
915 (hildon_banner_check_position, -check_fullscreen_state):
916 Show the banner in the same place no matter if the window is in
917 fullscreen mode or not.
919 Fixes: NB#107386 (Odd stacking behaviour for information banners)
921 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
923 * src/hildon-touch-selector.c (_default_print_func): reorder
924 concatenation for clarity.
926 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
928 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
929 for multicolumn selectors.
931 Fixes: NB#109099 (Memory leak in Hildon touch selector)
933 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
938 * configure.ac: Bump version.
939 * debian/changelog: Updates.
941 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
943 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
946 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
948 * configure.ac: removed libcangerra-gtk dependency
949 * debian/control: removed libcanberra-gtk dependency
950 * src/Makefile.am: removed libcanberra gtk related flags
951 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
952 context, and manage a global canberra context instead
954 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
956 2009-03-26 Alberto Garcia <agarcia@igalia.com>
958 Patch by Daniel Borgmann (danielb@openismus.com)
960 * src/hildon-edit-toolbar.c:
961 Adjust the left padding.
962 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
963 Paint background of the edit toolbar.
965 Fixes: NB#107897 (Patch to make editmodetoolbar background
966 themeable and adjust margin)
968 2009-03-25 Alberto Garcia <agarcia@igalia.com>
970 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
972 * src/hildon-program.c (hildon_program_update_top_most):
973 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
975 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
976 change when the user tasks in/out of an application)
978 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
980 * configure.ac: added libcangerra-gtk dependency
981 * debian/control: added libcanberra-gtk dependency
982 * src/Makefile.am: added libcanberra gtk related flags
983 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
986 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
988 2009-03-25 Alberto Garcia <agarcia@igalia.com>
990 * src/hildon-program.c (hildon_program_remove_window)
991 (hildon_program_add_window): Add checks for the window
992 parameter. Don't decrease the window counter if the window is not
995 2009-03-24 Alejandro G. Castro <alex@igalia.com>
997 * src/hildon-pannable-area.c,
998 (hildon_pannable_area_realize): Fixed position of the event_window
999 in the realize method.
1001 2009-03-24 Alberto Garcia <agarcia@igalia.com>
1003 * src/hildon-app-menu-private.h
1004 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
1005 (hildon_app_menu_map, hildon_app_menu_hide_idle)
1006 (hildon_app_menu_key_press, hildon_app_menu_init)
1007 (hildon_app_menu_finalize):
1008 Make sure that all idle functions are removed when the widget is
1011 Fixes: NB#107583 (Hildon app menu crashes in various applications)
1013 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1018 * configure.ac: Bump version.
1019 * debian/changelog: Updates.
1021 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1023 * src/hildon-entry.c
1024 (+hildon_entry_show_placeholder),
1025 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
1026 that replace hildon_entry_update_contents().
1027 (hildon_entry_set_text),
1028 (hildon_entry_set_placeholder),
1029 (hildon_entry_focus_in_event),
1030 (hildon_entry_focus_out_event): Determine when it is needed
1031 either to show or hide the placeholder and call the above methods.
1033 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
1034 when the placeholder text is already set)
1036 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1038 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
1039 simple GdkPixbufAnim using the new icons for the banner.
1040 (hildon_banner_show_animation): Use the above mentioned method to
1041 create the animation widget.
1043 Fixes: NB#103564 (Make hildon animation banner use individual
1044 image files as the animation)
1046 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1048 * src/hildon-pannable-area.c,
1049 (hildon_pannable_leave_notify_event): Check if the child is NULL
1050 to avoid sending the leave.
1052 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1054 * src/hildon-pannable-area.c,
1055 (hildon_pannable_area_class_init),
1056 (hildon_pannable_leave_notify_event): Added a handler of the
1057 leave-notify-signal to consider when no motion notify before
1060 Fixes: NB#107494 (Items stay selected when clicking and moving
1061 away when inside pannable area)
1063 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
1068 * configure.ac: Bump version.
1069 * debian/changelog: Updates.
1071 2009-03-19 Alejandro G. Castro <alex@igalia.com>
1073 Patch by Alberto Garcia (agarcia@igalia.com)
1075 * src/hildon-date-button.c,
1076 (hildon_date_button_class_init),
1077 (hildon_date_button_init): Removed the construct property handling
1078 and created a default selector in the init method.
1079 * src/hildon-picker-button.c,
1080 (hildon_picker_button_class_init): Removed the construct flag of the
1083 2009-03-18 Alberto Garcia <agarcia@igalia.com>
1085 * src/hildon-main.c (hildon_init):
1086 Don't allow hildon_init() to be called more than once.
1088 Fixes: NB#106607 (hildon_init should issue error message upon
1091 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
1093 * examples/hildon-pannable-area-touch-list-example.c
1094 * examples/hildon-pannagle-area-touch-grid-example.c
1095 * examples/hildon-edit-toolbar-example.c
1096 * examples/hildon-touch-selector-multi-cells-example.c
1097 Removed the call to gtk_rc_parse_string, as it is not required since
1100 2009-03-17 Alejandro G. Castro <alex@igalia.com>
1102 * src/hildon-pannable-area.c,
1103 (hildon_pannable_area_class_init): Modified the default panning
1104 threshold of the widget to 6px.
1106 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
1107 than the threshold value ) within the button is not sending the
1110 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1112 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
1113 for the treeview in the new column. This way, the touch list will never
1116 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
1117 be selected manually for the HW keys to work)
1119 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1121 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
1122 comparison instead of using strcmp(). Fixes a compiler warning as well.
1124 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1126 * doc/hildon-docs.sgml: Do not set the library version in the
1127 document title, use the releaseinfo tag for that purpose instead.
1129 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1131 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
1132 Do not jump to the first item if the text in the entry is removed.
1134 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1139 * configure.ac: Bump version.
1140 * debian/changelog: Updates.
1142 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1144 * src/hildon-entry.c (hildon_entry_refresh_contents):
1145 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
1146 Use "ReversedSecondaryTextColor" for the placeholder text.
1148 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1150 * src/hildon-text-view.c: Fix compilation warning.
1152 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1154 * src/hildon-button.c (hildon_button_class_init): Don't make
1155 "title" and "value" construction properties, to prevent them from
1156 overwriting labels set from derived classes.
1158 * src/hildon-picker-button.c
1159 (hildon_picker_button_set_selector): Allow setting a NULL selector.
1160 (hildon_picker_button_class_init): Make touch-selector a
1161 construction property.
1163 * src/hildon-date-button.c (hildon_date_button_class_init)
1164 (+hildon_date_button_constructed): Add a default date selector if
1167 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1169 * src/hildon-touch-selector.c: Small documentation fixes.
1171 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1173 Based on a patch by Daniel Borgmann (danielb@openismus.com)
1175 * src/hildon-entry.c (hildon_entry_refresh_contents),
1176 (hildon_entry_get_text), (hildon_entry_init): Do not use the
1177 widget name, set the logical color directly instead and a boolean
1178 showing_placeholder instead.
1179 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
1180 use the widget name here either.
1182 Fixes: NB#105678 (HildonTextView should use logical colours
1183 instead of setting widget name)
1185 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1187 Patch by Daniel Elster (danielk@openismus.com)
1189 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
1190 Add user_data parameter.
1191 (hildon_touch_selector_set_print_func_full): New function akin
1192 hildon_touch_selector_set_print_func() but with support for user
1193 data and a destroy callback.
1194 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
1195 to clean up the print function user data.
1196 (hildon_touch_selector_class_init): Install dispose function.
1197 (HildonTouchSelectorPrivate::print_user_data),
1198 (HildonTouchSelectorPrivate::print_destroy_func): New private
1200 (hildon_touch_selector_init): Initialize new private members.
1201 (hildon_touch_selector_get_current_text): Pass along user data
1202 to the print function.
1203 (_default_print_func): Add dummy user_data to parameter list.
1204 * hildon-date-selector.c (_custom_print_func): ditto,
1205 * hildon-time-selector.c (_custom_print_func): ditto,
1206 * hildon-touch-selector-entry.c
1207 (hildon_touch_selector_entry_print_func): ditto.
1209 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
1211 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1213 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
1215 2009-03-12 Alejandro G. Castro <alex@igalia.com>
1217 * src/hildon-pannable-area.c,
1218 (hildon_pannable_area_init),
1219 (hildon_pannable_area_button_press_cb),
1220 (hildon_pannable_area_motion_notify_cb): We have added code to
1221 handle the leave and enter events when using the motion events.
1223 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
1225 2009-03-11 Alberto Garcia <agarcia@igalia.com>
1227 * src/hildon-date-button.c (hildon_date_button_get_date)
1228 (hildon_date_button_set_date): Make sure that the button has a
1231 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
1233 2009-03-11 Alejandro G. Castro <alex@igalia.com>
1235 * src/hildon-pannable-area.c,
1236 (hildon_pannable_area_class_init),
1237 (hildon_pannable_area_calculate_velocity): Modify the use of the
1238 force and adapt the value.
1240 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1242 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
1243 (hildon_app_menu_class_init): Hide the menu if it receives a
1244 delete-event, but don't destroy it
1246 Fixes: NB#104485 (Not able to address the call when application
1247 menu is opened at background)
1249 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1251 * src/hildon-app-menu.c
1252 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1253 Remove the "external-border" style property, let the menu take its
1254 natural size (or the one set by the window manager)
1255 (hildon_app_menu_repack_items):
1256 Don't reshow the menu, avoid flickers.
1258 Partially fixes NB#94957 (Smoothly opened application menu)
1260 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
1265 * configure.ac: Bump version.
1266 * debian/changelog: Updates.
1268 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1270 * src/hildon-pannable-area.c,
1271 (hildon_pannable_area_motion_notify_cb): We control that the
1272 direction error margin is used just in case the movement is
1273 allowed in the other direction.
1275 Fixes: NB#105012 (buttons inside a pannable area not getting
1276 release event when dragging/releasing)
1278 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1280 * src/hildon-pannable-area.c,
1281 (hildon_pannable_area_class_init),
1282 (hildon_pannable_area_get_property),
1283 (hildon_pannable_area_set_property),
1284 (hildon_pannable_area_initial_effect),
1285 (hildon_pannable_axis_scroll),
1286 (hildon_pannable_area_button_release_cb): Reviewed the
1287 overshooting effect, now it has its own max
1288 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
1289 speed when bouncing.
1291 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
1296 * configure.ac: Bump version.
1297 * debian/changelog: Updates.
1299 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1301 * src/hildon-pannable-area.c,
1302 (hildon_pannable_area_class_init): Changed the max speed, now
1303 users can launch the widget very fast. Reduced the default force,
1304 that way it is easier to control the launch speed.
1306 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1308 * src/hildon-pannable-area.c,
1309 (hildon_pannable_area_button_release_cb): Removed this check
1310 because it causes problems when the device is overloaded.
1312 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1314 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1315 add a current_text field to store the text entered in the
1316 touch selector entry.
1317 (_clean_current_selection): clean up the current text as well.
1318 (_save_current_selection), (_restore_current_selection):
1319 Save/restore the text in the entry if the selector is a
1320 HildonTouchSelectorEntry.
1322 Fixes: NB#102541 (value entered in the touch selector entry is not
1323 shown when opened for second time)
1325 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1327 * doc/hildon-sections.txt:
1328 * src/hildon-touch-selector-entry.c
1329 (+hildon_touch_selector_entry_get_entry):
1330 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
1332 Fixes: NB#104815 (I need accessor to the entry inside
1333 HildonTouchSelectorEntry)
1335 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1337 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
1338 (hildon_app_menu_class_init):
1339 New "filter-vertical-spacing" style property.
1341 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1343 * src/hildon-find-toolbar.c
1344 (hildon_find_toolbar_emit_close)
1345 (hildon_find_toolbar_emit_invalid_input)
1346 (hildon_find_toolbar_entry_activate):
1347 Use g_signal_emit() instead of g_signal_emit_by_name()
1349 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1351 Patch by Mox Soini (ext-mox.soini@nokia.com)
1353 * tests/TEST-CASES.txt
1354 * tests/check-hildon-banner.c
1355 * tests/check-hildon-note.c
1356 * src/hildon-banner.c
1357 * src/hildon-code-dialog.c
1358 * src/hildon-date-editor.c (real_set_calendar_icon_state)
1359 * src/hildon-time-editor.c
1360 * examples/hildon-lookup-example.c (main):
1361 Replace obsolete icon names with new ones.
1363 * src/hildon-find-toolbar-private.h:
1364 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
1365 (-hildon_find_toolbar_emit_search):
1366 Remove find button and change icon of close button.
1368 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
1370 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1372 * src/hildon-time-button.c (hildon_time_button_new_step):
1373 Use the "touch-selector" property to set the selector directly
1374 when creating the object.
1376 2009-03-05 Alejandro G. Castro <alex@igalia.com>
1378 Added a new example application that allows tuning the pannable
1379 area and replaced defines with properties in order to simplify the
1380 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
1381 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
1382 PROP_DIRECTION_ERROR_MARGIN.
1384 * examples/hildon-pannable-area-tuning-example.c: New example
1386 * src/hildon-pannable-area.c,
1387 (hildon_pannable_area_class_init),
1388 (hildon_pannable_area_init),
1389 (hildon_pannable_area_get_property),
1390 (hildon_pannable_area_set_property),
1391 (hildon_pannable_area_launch_fade_timeout),
1392 (hildon_pannable_area_adjust_value_changed),
1393 (hildon_pannable_axis_scroll),
1394 (hildon_pannable_area_motion_notify_cb),
1395 (hildon_pannable_area_scroll_cb),
1396 (hildon_pannable_area_button_release_cb): We have converted some
1397 of the defines that control the widget to properties to simplify
1400 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1402 * src/hildon-app-menu.c (hildon_app_menu_map)
1403 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
1404 so it's closed if a new window appears.
1406 Fixes: NB#104485 (Not able to address the call when application
1407 menu is opened at background)
1409 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1411 * src/hildon-color-button.c (hildon_color_button_get_property):Add
1412 missing 'break' statement in in 'case' construct to avoid
1415 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1417 * src/hildon-touch-selector-entry.c
1418 (hildon_touch_selector_entry_get_property),
1419 (hildon_touch_selector_entry_set_property): Add missing 'break'
1420 statements in in 'case' constructs to avoid incorrect warnings.
1422 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1424 * src/hildon-time-editor.c
1425 (hildon_time_editor_get_time_separators): Do not crash if
1426 the first label is NULL.
1428 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1430 * src/hildon-date-selector.c (_month_days): Check for month to be
1431 strictly less than 12, since otherwise we may overrun the array.
1433 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1435 * src/hildon-date-button.c (+hildon_date_button_new_full)
1436 (hildon_date_button_new, hildon_date_button_new_with_year_range)
1437 (hildon_date_button_init): Set the date selector using a
1438 construction property, to make it happen after HildonButton's
1439 "value" property is set.
1441 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
1442 current date by default)
1444 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1446 * doc/hildon-sections.txt
1447 * src/hildon-program.c
1448 * src/hildon-stackable-window.c
1449 * src/hildon-window.c:
1450 Documentation updates
1452 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1454 * src/hildon-window-stack.c (hildon_window_stack_get_default)
1455 (hildon_window_stack_new, +hildon_window_stack_set_property)
1456 (+hildon_window_stack_get_property)
1457 (hildon_window_stack_class_init)
1458 (+hildon_window_stack_set_window_group)
1459 (+hildon_window_stack_get_window_group):
1460 Make the window group a construction property.
1462 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1464 * doc/hildon-sections.txt
1465 * src/hildon-stackable-window-private.h
1466 * src/hildon-stackable-window.h
1467 * src/hildon-stackable-window.c
1468 (-hildon_stackable_window_set_app_menu)
1469 (-hildon_stackable_window_get_app_menu)
1470 (-hildon_stackable_window_toggle_menu)
1471 (-hildon_stackable_window_finalize)
1472 (hildon_stackable_window_class_init)
1473 (hildon_stackable_window_init)
1474 * src/hildon-window-private.h
1475 * src/hildon-window.h
1476 * src/hildon-window.c (hildon_window_init)
1477 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
1478 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
1479 (hildon_window_get_main_menu, hildon_window_set_main_menu)
1480 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
1481 Moved all HildonAppMenu code to HildonWindow. The menu does not
1482 require a HildonStackableWindow anymore.
1484 * src/hildon-app-menu.c
1485 * src/hildon-program.c
1486 * examples/hildon-app-menu-example.c (main):
1487 Update examples and documentation to reflect HildonAppMenu
1490 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1492 * src/hildon-remote-texture.c
1493 * src/hildon-animation-actor.c:
1494 Don't include unused private headers.
1496 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1498 * src/hildon-program-private.h
1499 * src/hildon-program.c
1500 (hildon_program_set_common_menu)
1501 (hildon_program_get_common_menu)
1502 (hildon_program_set_common_app_menu)
1503 (hildon_program_get_common_app_menu):
1504 Change common menu pointers from GtkWidget* to GtkMenu* and
1505 HildonAppMenu* to avoid unnecessary casts.
1507 2009-03-03 Alberto Garcia <agarcia@igalia.com>
1509 * src/hildon-window.c (hildon_window_set_main_menu):
1510 Removed incorrect 'Since:' tag
1512 2009-03-03 Alejandro G. Castro <alex@igalia.com>
1514 * src/hildon-pannable-area.c,
1515 (hildon_pannable_area_calculate_velocity): We use now the
1516 RATIO_TOLERANCE here to check the distance, fixed typo in the
1518 (hildon_pannable_area_motion_notify_cb): We have to set the type
1519 and time even if we are not sending the motion.
1521 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1523 * doc/hildon-sections.txt
1524 * src/hildon-app-menu.h
1525 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
1526 (+hildon_app_menu_get_filters): New methods to get the contents of
1529 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
1532 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1534 * src/hildon-app-menu.c (hildon_app_menu_popup):
1537 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1539 * src/hildon-window.h
1540 * src/hildon-window.c (+hildon_window_get_main_menu)
1541 (hildon_window_get_menu): Created hildon_window_get_main_menu()
1542 and deprecated hildon_window_get_menu().
1544 * src/hildon-stackable-window.h
1545 * src/hildon-stackable-window.c
1546 (+hildon_stackable_window_set_app_menu)
1547 (+hildon_stackable_window_get_app_menu)
1548 (hildon_stackable_window_set_main_menu): Created
1549 hildon_stackable_window_{get,set}_app_menu() and deprecated
1550 hildon_stackable_window_set_main_menu().
1552 * doc/hildon-sections.txt
1553 * examples/hildon-app-menu-example.c (main)
1554 * src/hildon-app-menu.c
1555 * src/hildon-program.c:
1556 Updated examples and documentation.
1558 Fixes: NB#103758 (No way to obtain a menu from a
1559 HildonStackableWindow)
1561 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1566 * configure.ac: Bump version.
1567 * debian/changelog: Updates.
1569 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1571 * examples/hildon-remote-texture-example.c: Include
1572 hildon-remote-texture.h explicitely.
1573 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
1574 applications not defining _XOPEN_SOURCE which don't require this header.
1576 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1578 * doc/hildon-sections.txt
1579 * src/hildon-app-menu.h
1580 * src/hildon-app-menu.c (+hildon_app_menu_popup):
1581 New function to pop up a HildonAppMenu
1583 * src/hildon-stackable-window.c
1584 (hildon_stackable_window_toggle_menu):
1585 Use hildon_app_menu_popup() to show the menu.
1587 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1589 * src/hildon-app-menu.c (hildon_app_menu_show)
1590 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
1591 menu if there's another window between it and its parent window.
1593 Fixes: NB#100468 (Application menu window is launched even when a
1594 new secondary-window/dialog is pending to be shown/realized)
1596 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1598 * src/hildon-window-stack.c (hildon_window_stack_push)
1599 (hildon_window_stack_pop_and_push):
1600 Don't forget to push/pop the first window.
1601 Reverse the window list before calling _push_list()
1603 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1605 * src/hildon-picker-button.h
1606 * src/hildon-picker-button.c (hildon_picker_button_class_init):
1607 Remove "value_changed" slot to avoid ABI breakage
1609 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1611 * src/hildon-pannable-area.c,
1612 (hildon_pannable_area_realize),
1613 (hildon_pannable_area_unrealize),
1614 (hildon_pannable_draw_vscroll),
1615 (hildon_pannable_draw_hscroll): Changed the method to handle the
1616 GC used to draw the transparent scrollbar, this way we avoid
1617 creating the GC all the time when drawing the scrollbars.
1619 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1621 * src/hildon-pannable-area.c,
1622 (hildon_pannable_area_init),
1623 (hildon_pannable_area_remove): Removed some unnecessary casts.
1624 (hildon_pannable_area_dispose): Disconnected some signals before
1625 releasing the adjustments.
1627 2009-02-26 Alberto Garcia <agarcia@igalia.com>
1629 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1630 Make sure that all widgets contained in the toolbar are shown.
1632 2009-02-25 Alberto Garcia <agarcia@igalia.com>
1634 * doc/hildon-sections.txt
1635 * src/hildon-picker-button.h
1636 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
1637 (_selection_changed, hildon_picker_button_on_dialog_response)
1638 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
1639 New hildon_picker_button_value_changed() method.
1642 * src/hildon-picker-button-private.h
1643 * src/hildon-picker-button.c (hildon_picker_button_init)
1644 (+hildon_picker_button_disable_value_changed): Add protected
1645 function for disabling the "value-changed" signal.
1647 * src/hildon-date-button.c (hildon_date_button_set_date):
1648 Don't emit "value-changed" for each one of the three columns.
1650 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
1651 before actual change of values)
1653 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1655 * src/hildon-pannable-area.c,
1656 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
1657 for the treeview overshooting.
1659 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1661 * src/hildon-banner.c (+hildon_banner_bind_style):
1662 Renamed from hildon_banner_bind_label_style(), now naming the
1663 banner itself as well.
1664 (hildon_banner_show_information),
1665 (hildon_banner_show_information_with_markup),
1666 (hildon_banner_show_animation), (hildon_banner_show_progress):
1667 Name the widgets and labels, based on their type.
1669 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1672 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1674 * src/hildon-note.c (hildon_note_set_property): call
1675 hildon_note_rename() on HildonNote:note-type set.
1676 (hildon_note_rename): Name the note and its label, based on the
1677 HildonNote:note-type property.
1679 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1682 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1684 * src/hildon-pannable-area.c,
1685 (hildon_pannable_area_class_init),
1686 (hildon_pannable_area_motion_notify_cb): Reviewed the default
1687 panning parameters, increased SPS and deceleration factor. Added
1688 also a margin to control fake directions.
1690 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1692 Patch by Sven Herzberg (sven@imendio.com)
1694 * configure.ac: Add missing AM_PROG_CC_C_0
1695 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
1697 See NB#101420 (Update unit tests and fix make check)
1699 2009-02-23 Alejandro G. Castro <alex@igalia.com>
1701 This patch was applied before but reverted because it caused
1702 problems, we have changed the main condition and tested the
1703 regressions we detected before and they work ok. We have done a
1704 complete review of the topmost algorithm in order to get a more
1707 * src/hildon-pannable-area.c,
1708 (hildon_pannable_area_get_topmost): Added a new parameter to
1709 filter the the windows that do not include those events.
1710 (hildon_pannable_area_button_press_cb),
1711 (hildon_pannable_area_button_release_cb),
1712 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1713 topmost function, we have added the new parameter.
1715 Fixes: NB#97458 (Pannable area prevents propagation of button
1718 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1720 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
1721 if all columns in the selector have an item selected.
1722 (_on_dialog_response): Stop "response" signal emission if there is
1723 any selector column without selected items.
1725 Fixes: NB#101889 (Picker dialog should not close when nothing is
1726 selected in multiple selection list)
1728 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1730 * src/hildon-font-selection-dialog.c
1731 (hildon_font_selection_dialog_class_init),
1732 (hildon_font_selection_dialog_init): Remove the preview
1733 button and dialog, since previewing with default theming is likely
1734 to be overcomplicated. The :preview property has now no effect.
1735 Update documentation blurbs to inform about this.
1737 Fixes: NB#92297 (Preview content is not clearly visible for
1738 default colour text)
1740 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1742 Reviewed the geometry that handles the children size and
1743 scrollbar, now it tries a size and reviews the results depending
1744 on the scrollbars visibility.
1746 * src/hildon-pannable-area.c,
1747 (hildon_pannable_area_realize): Fixed a typo.
1748 (hildon_pannable_area_child_allocate_calculate): Added this
1749 function to calculate the child allocation.
1750 (hildon_pannable_area_size_allocate): Reviewed the allocation
1752 (hildon_pannable_area_check_scrollbars),
1753 (hildon_pannable_area_refresh): Refactored refresh function, this
1754 way we can call the code handling the scrollbars without causing a
1755 size_request, it is interesting in the allocate.
1756 (hildon_pannable_area_init): Replace the callbacks of the
1757 value_changed and changed signals to propertly deal with the
1759 (hildon_pannable_area_grab_notify),
1760 (hildon_pannable_area_initial_effect),
1761 (hildon_pannable_area_launch_fade_timeout),
1762 (hildon_pannable_area_adjust_changed),
1763 (hildon_pannable_area_adjust_value_changed),
1764 (hildon_pannable_area_redraw),
1765 (hildon_pannable_area_button_press_cb),
1766 (hildon_pannable_area_button_release_cb),
1767 (hildon_pannable_area_scroll_cb),
1768 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
1769 code and use the new functions adjust_changed and
1770 adjust_value_changed.
1772 Fixes: NB#101603 (Focus is not even for the text entry boxes in
1773 Contact editor dialog)
1775 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
1780 * configure.ac: Bump version.
1781 * debian/changelog: Updates.
1783 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1785 * src/hildon-pannable-area.c,
1786 (hildon_pannable_area_get_topmost),
1787 (hildon_pannable_area_button_press_cb),
1788 (hildon_pannable_area_button_release_cb),
1789 (hildon_pannable_get_child_widget_at): Reverted the patch for the
1790 topmost function adding the event mask. We have to try a
1791 differente approach because it is still causing problems (NB#9745,
1794 2009-02-19 Alberto Garcia <agarcia@igalia.com>
1796 * src/hildon-banner.c:
1797 Update the maximum width of timed banners.
1798 (force_to_wrap_truncated): Enforce the maximum text width if the
1801 Fixes: NB#102413 (The text margins (wrapping) in information
1802 banner should be HILDON_MARGIN_TRIPLE)
1804 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1806 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
1808 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
1809 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
1810 bound when calculating the scroll indicator position.
1812 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
1813 treat ->lower correctly)
1815 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1817 * src/hildon-caption.c (hildon_caption_class_init): Remove the
1818 expose event handling, since it is not necessary to draw the focus
1821 Fixes: NB#102467 (Do not show highlight on the text in
1824 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1826 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
1827 full height of the toolbar for the button and the label.
1829 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1831 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
1832 padding before the label and after the button.
1834 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1836 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
1838 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1839 Add a GtkVSeparator between the button and the back arrow.
1840 Let the button have automatic size.
1841 Set a name to the widget for theming handling.
1843 Fixes: NB#101793 (Make edit toolbar the same height as window
1844 title bar (use title area theming))
1846 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1848 * src/hildon-helper.c (attach_new_color_element): Fix memory
1851 Fixes: NB#102262 (memory leak in hildon_button_set_style())
1853 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1855 * examples/hildon-button-example.c (common_buttons_window): Don't
1858 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1860 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1861 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
1863 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1865 * src/hildon-gtk.c: Check that the window is realized.
1867 Fixes: NB#102225 (Crash setting the progress indicator to a non
1870 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1872 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
1873 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
1874 instead of modifying the one in the widget style.
1876 Fixes: NB#101043 (Second row of all the command button are
1877 displayed in transparent mode.)
1879 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1881 * src/hildon-date-button.c
1882 * src/hildon-time-button.c: Add gettext macros
1884 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
1886 * src/hildon-date-button.c (hildon_date_button_new):
1887 * src/hildon-time-button.c (hildon_time_button_new_step):
1888 Use new logical strings to set the button default title.
1890 Fixes: NB#99915 (Date and Time options are not localised in Date
1893 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1895 * src/hildon-pannable-area.c
1896 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
1897 the PANNING_THRESHOLD.
1899 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1901 * src/hildon-pannable-area.c,
1902 (hildon_pannable_area_class_init): Increased the maximum speed.
1903 (hildon_pannable_area_get_property),
1904 (hildon_pannable_area_set_property),
1905 (hildon_pannable_area_timeout): Added a new low friction mode, it
1906 allows the user avoid friction when launching the widget fast
1907 enough. It is interesting to traverse long lists.
1909 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1911 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
1912 (+hildon_stackable_window_delete_event): Ignore delete events if
1913 the window is not the topmost one.
1915 Fixes: NB#101698 (Back button long press and delete-event handling)
1917 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1919 * src/hildon-pannable-area.c,
1920 (hildon_pannable_area_motion_notify_cb): Removed the use of the
1921 gtk-dnd-drag-threshold, it was too big. We have defined our own
1922 dnd define and set a smaller value: PANNIG_THRESHOLD.
1924 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1926 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
1927 user-defined icons, use always the default one.
1929 Fixes: NB#101916 (Do not allow custom icons on animation banner)
1931 2009-02-13 Alejandro G. Castro <alex@igalia.com>
1933 This patch was applied before but reverted because it caused
1934 problems, we have changed the main condition and tested the
1935 regressions we detected before and they work ok.
1937 * src/hildon-pannable-area.c,
1938 (hildon_pannable_area_get_topmost): Added a new parameter to
1939 filter the the windows that do not include those events. Added
1940 also a condition when finding the window to filter windows that do
1941 not ask for those events.
1942 (hildon_pannable_area_button_press_cb),
1943 (hildon_pannable_area_button_release_cb),
1944 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1945 topmost function, we have added the new parameter.
1947 Fixes: NB#97458 (Pannable area prevents propagation of button
1950 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1952 * tests/check-hildon-color-button.c (START_TEST): do not leak
1955 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1957 * src/hildon-font-selection-dialog.c
1958 (hildon_font_selection_dialog_get_preview_text): Return NULL
1959 instead of FALSE on the g_return_val_if_fail().
1961 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1963 * src/hildon-time-selector.c (hildon_time_selector_set_time):
1964 * src/hildon-date-selector.c
1965 (hildon_date_selector_select_current_date):
1966 Do not compare unsigned integers to be greater than or equal 0,
1967 because it's always TRUE.
1969 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1971 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
1972 (hildon_date_selector_constructor): Do not select the current
1973 date until we are handle the "changed" signal, to avoid having bogus
1974 elements in the days model.
1976 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1978 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
1979 for num_days, since _month_days() can return a negative value.
1981 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1983 * src/hildon-caption.c (hildon_caption_size_allocate):
1984 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
1985 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
1987 Initialize allocation variables to 0, to avoid eventually using
1988 unitialized variables.
1990 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1992 * src/hildon-bread-crumb-trail.c
1993 (hildon_bread_crumb_trail_size_allocate):
1994 * src/hildon-calendar.c (hildon_calendar_set_background):
1995 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
1996 * src/hildon-range-editor.c (hildon_range_editor_get_range):
1997 * src/hildon-seekbar.c (hildon_seekbar_init):
1998 * src/hildon-time-editor.c (hildon_time_editor_get_time):
1999 * src/hildon-time-selector.c (hildon_time_selector_finalize):
2000 * src/hildon-touch-selector-entry.c
2001 (hildon_touch_selector_get_text_from_model):
2002 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
2003 * src/hildon-window.c (hildon_window_finalize):
2005 Remove many unused variables.
2007 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2009 * src/hildon-seekbar.c: (hildon_seekbar_init),
2010 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
2012 Remove unnecessary g_assert() calls.
2014 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2016 * src/hildon-caption.c: (hildon_caption_expose),
2017 (hildon_caption_set_property), (hildon_caption_init),
2018 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
2019 (hildon_caption_size_request), (hildon_caption_size_allocate),
2020 (hildon_caption_forall), (hildon_caption_set_separator),
2021 (hildon_caption_activate), (hildon_caption_set_child_expand),
2022 (hildon_caption_set_label_text),
2023 (hildon_caption_get_label_alignment):
2025 Remove unnecessary g_assert() calls.
2027 2009-02-12 Alberto Garcia <agarcia@igalia.com>
2029 * src/hildon-banner.c
2030 (hildon_banner_map, hildon_banner_init): Make banner temporary
2031 before mapping it to avoid closing other temporary windows, but
2032 make it non-temporary afterwards to avoid being closed by other
2033 non-temporary windows.
2034 (-hildon_banner_client_event, hildon_banner_init):
2035 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
2037 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
2040 2009-02-11 Alberto Garcia <agarcia@igalia.com>
2042 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
2045 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2047 * src/hildon-remote-texture.c
2048 * src/hildon-remote-texture.h
2049 * src/hildon-remote-texture-private.h
2050 * examples/hildon-remote-texture-example.c:
2051 Updates/fixes to remote-texture and its example.
2053 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
2055 Patch by Mox Soini (ext-mox.soini@nokia.com)
2057 * src/hildon-code-dialog.c: Update logical id.
2058 * src/hildon-set-password-dialog.c: Update logical id.
2060 Fixes: NB#100646 (Logical strings is shown for ok in set
2061 password,Password needed dialogs)
2063 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2066 * src/hildon-remote-texture.c
2067 * src/hildon-remote-texture.h
2068 * src/hildon-remote-texture-private.h
2070 Added remote texture widget (for Clutter shared memory textures)
2072 * examples/hildon-remote-texture-example.c
2073 * examples/Makefile.am
2074 Added example file for remote texture usage
2076 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
2078 * configure.ac: post release version bump.
2079 * debian/changelog: version bump.
2081 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
2086 * configure.ac: Bump version.
2087 * debian/changelog: Updates.
2089 2009-02-06 Alberto Garcia <agarcia@igalia.com>
2091 * src/hildon-date-selector.c (hildon_date_selector_init)
2092 (hildon_date_selector_constructor): Don't connect to the "changed"
2093 signal until the selector is completely constructed.
2095 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2097 * src/hildon-touch-selector.c: (_create_new_column),
2098 (hildon_touch_selector_append_column),
2099 (hildon_touch_selector_set_column_selection_mode),
2100 (hildon_touch_selector_set_active),
2101 (hildon_touch_selector_select_iter):
2102 Emit the HildonTouchSelector::changed signal every time selection
2103 is changed in any of the methods above. This behavior was already
2104 documented but not fully functional.
2106 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
2107 selection is programmatically changed)
2109 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2111 * doc/hildon-sections.txt: Remove obsolete icon
2112 sizes from here as well.
2114 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2116 * examples/hildon-stackable-window-example.c (add_window): Remove
2119 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2121 * src/hildon-app-menu.c
2122 (hildon_app_menu_show): Check whether the parent window of a menu
2123 is topmost before popping it up.
2125 Fixes: NB#100468 (Application menu window is launched even when a
2126 new secondary-window/dialog is pending to be shown/realized.)
2128 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2130 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
2133 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2135 Patch by Mox Soini (ext-mox.soini@nokia.com)
2137 * src/hildon-banner.c: (hildon_banner_show_animation):
2138 use stylus size instead of obsolete note size.
2139 * src/hildon-defines.h: Update icon sizes.
2141 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2143 * src/hildon-touch-selector-entry.c:
2144 (hildon_touch_selector_entry_init): Disable unsupported
2146 (hildon_touch_selector_entry_get_text_column): Emit a warning
2147 if an unsupported input modes is used and explicitile state
2148 these modes in the documentation.
2150 Fixes: NB#99802 (Hildon touch selector entry not working properly
2151 for some of the input modes)
2153 2009-02-05 Alejandro G. Castro <alex@igalia.com>
2155 * src/hildon-pannable-area.c,
2156 (hildon_pannable_area_init): Added the changed signal handlers of
2159 Fixes: NB#100320 (HildonPannableArea does not listen to
2160 GtkAdjustment "change" signals)
2162 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2164 * doc/hildon-sections.txt
2165 * src/hildon-window-private.h
2166 * src/hildon-window.h
2167 * src/hildon-window.c (hildon_window_init)
2168 (hildon_window_realize, hildon_window_unrealize)
2169 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
2170 (hildon_window_size_request, hildon_window_size_allocate)
2171 (hildon_window_forall, hildon_window_show_all)
2172 (hildon_window_destroy, +paint_edit_toolbar)
2173 (+hildon_window_set_edit_toolbar):
2174 New hildon_window_set_edit_toolbar() method, to add a
2175 HildonEditToolbar to a window without having to pack it manually.
2177 Reorganize hildon_window_size_allocate()
2179 * src/hildon-edit-toolbar.c: Update documentation.
2181 * examples/hildon-edit-toolbar-example.c (edit_window): Update
2182 example to use the new API.
2184 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
2186 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2188 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
2189 Remove from stack before calling parent's hide.
2191 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2193 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
2194 window is removed from the middle of the stack, update the
2195 transiency of the previous one.
2197 Fixes: NB#100487 (HildonStackableWindow transiency becomes
2200 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2202 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
2203 block/unblock the signal handler if it's not actually being used.
2204 Fixes some critical warnings.
2206 2009-02-02 Alberto Garcia <agarcia@igalia.com>
2208 Based on a patch by Iván Gómez (igomez@igalia.com)
2210 * src/hildon-banner.c
2214 * src/hildon-pannable-area.c
2215 * src/hildon-picker-dialog.c
2216 * src/hildon-wizard-dialog.h
2217 * src/hildon-wizard-dialog.c: Documentation updates.
2219 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
2220 gtk_dialog_add_button() instead of hildon_dialog_add_button().
2222 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2224 * configure.ac: post release version bump.
2225 * debian/changelog: version bump.
2227 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2232 * configure.ac: Bump version.
2233 * debian/changelog: Updates.
2235 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2237 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
2238 a stock icon nor change the relief of the back arrow.
2240 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2241 graphics from theme)
2243 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2245 * src/hildon-button.c (hildon_button_set_alignment): Use
2246 priv->alignment if the button has no child yet.
2248 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
2250 * src/hildon-button.c: (hildon_button_init): Set the
2251 button style during initialization to give it the proper
2254 Fixes: NB#99713 (HildonButton value label color is wrong)
2256 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2258 * src/hildon-touch-selector.c: Document
2259 hildon_touch_selector_center_on_selected()
2261 2009-01-28 Alberto Garcia <agarcia@igalia.com>
2263 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
2264 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
2265 all menu items, but not the menu itself.
2266 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
2267 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
2268 items after adding them to the menu so keyboard accelerators work.
2269 (hildon_app_menu_show): Don't show the menu if it contains items
2270 but none of them are visible.
2272 * examples/hildon-app-menu-example.c (create_menu): Use
2273 gtk_widget_show_all() to show all menu items.
2275 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2277 * src/hildon-picker-dialog.c:
2278 (-_update_title_on_selector_changed_cb),
2279 (-_dialog_update_title): Removed.
2280 (_select_on_selector_changed_cb), (_on_dialog_response),
2281 (on_selector_columns_changed): Do not update the dialog title.
2282 (setup_interaction_mode): Do not connect to
2283 HildonTouchSelector::changed signal if there's a "done" button, as
2284 the dialog title doesn't need to be updated.
2286 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
2289 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
2291 Patch by Kristian Rietveld (kris@imendio.com)
2293 * src/hildon-touch-selector.c: (_create_new_column): Use new
2294 GtkTreeView::hildon-row-tapped signal to react to user interactions
2295 instead of ::changed.
2297 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
2298 with some dynamic tree model)
2300 2009-01-27 Alberto Garcia <agarcia@igalia.com>
2302 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
2303 (+screen_size_changed, +label_size_request)
2304 (hildon_note_class_init): Make the Hildon information note have a
2305 minimum height, and make its text hvae a maximum width.
2307 Fixes: NB#98614 (Hildon information note (background) should have
2308 minimum height and maximum text width)
2310 2009-01-26 Alberto Garcia <agarcia@igalia.com>
2312 * src/hildon-banner.h
2313 * src/hildon-banner.c (hildon_banner_show_information)
2314 (hildon_banner_show_informationf)
2315 (hildon_banner_show_information_with_markup): Update documentation
2316 to reflect that the icon_name parameter is not used anymore.
2317 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
2318 Remove all code from these functions and mark them as deprecated.
2319 (hildon_banner_show_progress): Mark as deprecated.
2321 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
2323 2009-01-26 Alejandro G. Castro <alex@igalia.com>
2325 * src/hildon-pannable-area.c,
2326 (hildon_pannable_area_class_init),
2327 (tranparency_color),
2328 (hildon_pannable_draw_vscroll),
2329 (hildon_pannable_draw_hscroll),
2330 (hildon_pannable_area_expose_event): Added a new way to render the
2331 scrollbars of the pannable area avoiding using cairo at all. This
2332 way we improve the performance of the pannable area rendering. The
2333 cairo rendering procedure is still in the code, we can control
2334 which one to use changing the value of the define
2335 USE_CAIRO_SCROLLBARS.
2337 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2339 * configure.ac: post release version bump.
2340 * debian/changelog: version bump.
2342 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2347 * configure.ac: Bump version.
2348 * debian/changelog: Updates.
2350 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2352 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
2353 banners instead of destroying them when they receive a button
2356 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2358 Reverted commit 34028, it was causing regressions, probably the
2359 topmost condition is not correct, we have to check it in more
2360 detail. We have reponed the bug: NB#97458 (Pannable area prevents
2361 propagation of button press events)
2363 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2365 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
2366 that the selection is not empty before attempting to retrieve the
2367 current ampm selection.
2369 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2371 * src/hildon-picker-button.c:
2372 (hildon_picker_button_on_dialog_response): Directly update the
2373 button contents when required instead of calling _selection_changed.
2375 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2377 * src/hildon-program.c (hildon_program_update_top_most): Update
2378 'is-topmost' property also when wm_hints is not set.
2380 Fixes: NB#98383 (is-topmost signal is not emitted when task
2381 switcher is clicked.)
2383 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2385 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
2389 * src/hildon-animation-actor.c,
2390 * src/hildon-animation-actor.h: Added the animation actor class,
2391 this widget represents an animation actor for WM-assisted
2392 animation effects in the Hildon framework.
2394 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2396 * src/hildon-window-stack-private.h
2397 * src/hildon-window-stack.c
2398 * src/hildon-stackable-window.c (hildon_stackable_window_show):
2399 Avoid calling gtk_widget_show() again indirectly from
2400 hildon_stackable_window_show()
2402 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2404 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
2407 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2409 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
2410 (hildon_time_selector_init): Move the construction of the hours and
2411 ampm columns to the constructor to preserve the order the columns
2414 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2416 * src/hildon-picker-dialog.c:
2417 (hildon_picker_dialog_class_init): Connect a realize method.
2418 (+hildon_picker_dialog_realize): Setup the interaction mode here
2420 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
2421 yet, do it during the realize instead.
2422 (_on_dialog_response):
2423 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
2424 if the widget is not realized, to avoid the dialog response before it
2427 Avoid premature responses in the HildonPickerDialog that can cause it
2428 to be hidden before it's even shown.
2430 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2432 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
2433 (on_selector_columns_changed), (requires_done_button),
2434 (+prepare_action_area), (setup_interaction_mode),
2435 (_hildon_picker_dialog_set_selector):
2437 Split the interaction mode setup into preparation of the
2438 action area (prepare_action_area()) and the connection of
2439 the signals in setup_interaction_mode() and update the code to
2442 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2444 * src/hildon-pannable-area.c,
2445 (hildon_pannable_area_class_init): Reduced the amount of scrolls
2446 per second to 15, we will check if this is ok regarding
2449 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2451 * src/hildon-pannable-area.c,
2452 (hildon_pannable_axis_scroll): Avoid resize if we already have
2453 reached overshoot_max.
2455 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2457 * src/hildon-pannable-area.c,
2458 (hildon_pannable_area_init),
2459 (hildon_pannable_area_realize),
2460 (hildon_pannable_area_size_allocate),
2461 (hildon_pannable_area_map),
2462 (hildon_pannable_area_unmap),
2463 (hildon_pannable_draw_vscroll),
2464 (hildon_pannable_draw_hscroll),
2465 (hildon_pannable_area_expose_event),
2466 (hildon_pannable_area_refresh): Added a new GdkWindow to the
2467 pannable are to avoid the expose events go to the window and
2468 redraw the window. We save this way that part of the stack and the
2469 paint_boxes. We had to change the positions of the elements when
2472 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
2474 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2475 * src/hildon-color-chooser-dialog.c:
2476 (hildon_color_chooser_dialog_init):
2477 * src/hildon-font-selection-dialog.c:
2478 (hildon_font_selection_dialog_init),
2479 (hildon_font_selection_dialog_show_preview):
2480 * src/hildon-get-password-dialog.c:
2481 * src/hildon-login-dialog.c:
2482 * src/hildon-set-password-dialog.c:
2483 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
2484 * src/hildon-time-picker.c: (hildon_time_picker_init):
2486 Remove obsolete logical string IDs and update to the appropriate ones.
2488 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
2490 2009-01-21 Alberto Garcia <agarcia@igalia.com>
2492 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
2493 that happens if the window hasn't been realized yet.
2495 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
2496 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
2498 2009-01-20 Alberto Garcia <agarcia@igalia.com>
2500 * src/hildon-app-menu.c (hildon_app_menu_class_init)
2501 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
2504 Fixes: NB#98537 (Device hangs in account settings dialog)
2506 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2508 * configure.ac: post release version bump.
2509 * debian/changelog: version bump
2511 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2516 * configure.ac: Bump version.
2517 * debian/changelog: Updates.
2519 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2521 Added a new function to the HildonTimeButton widget that allows to
2522 change the step of the minutes in the selector associated with the
2523 button: hildon_time_button_new_step
2525 * src/hildon-time-button.c,
2526 (hildon_time_button_init),
2527 (hildon_time_button_new),
2528 (hildon_time_button_new_step):
2529 * src/hildon-time-button.h: Added the new function and refactored
2531 * examples/hildon-time-button-example.c,
2532 (main): We have replaced the function without parameters with the
2533 function with the steps set to 5
2535 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
2537 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2539 * src/hildon-time-selector.c,
2540 (hildon_time_selector_class_init),
2541 (hildon_time_selector_constructor),
2542 (hildon_time_selector_get_property),
2543 (hildon_time_selector_set_property),
2544 (_create_minutes_model),
2545 (hildon_time_selector_new_step),
2546 (hildon_time_selector_set_time),
2547 * src/hildon-time-selector.h: Added a new property to the
2548 HildonTimeSelector (minutes-step), we use that property to control
2549 the steps between the minutes in the list of the selector. We have
2550 added a new function to the API to create a widget changing the
2551 step: hildon_time_selector_new_step.
2553 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2555 * src/hildon-time-selector.c,
2556 (hildon_time_selector_class_init),
2557 (hildon_time_selector_constructor),
2558 (hildon_time_selector_init): Overrided the construct function when
2559 creating the time selector object. We have moved the minutes model
2560 handling code from the init to the new construction function:
2561 hildon_time_selector_constructor.
2563 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2565 * examples/hildon-date-button-example.c: (main): Use the new
2566 hildon_date_button_new_with_year_range() method in the example.
2567 * src/hildon-date-button.c:
2568 (+hildon_date_button_new_with_year_range): New public method
2569 to conveniently create a HildonDateButton with a custom year range
2570 in its HildonDateSelector.
2571 * src/hildon-date-button.h: Add the new public method definition.
2573 Fixes: NB#97908 (Not possible to change the year range in
2574 HildonDateSelector/HildonDateButton)
2576 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2578 * src/hildon-date-selector.c:
2579 (+hildon_date_selector_set_property),
2580 (+hildon_date_selector_get_property),
2581 (hildon_date_selector_class_init): Install new properties "min-year"
2582 and "max-year" to define boundaries for the year column.
2583 (_create_year_model): Use the boundary properties to populate the model.
2584 (+hildon_date_selector_new_with_year_range): New public method to
2585 create a HildonDateSelector with a user defined year range.
2586 (hildon_date_selector_select_current_date): Use the new boundaries to
2587 calculate the iterator of current year.
2588 * src/hildon-date-selector.h: Add the new public method definition.
2590 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2592 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
2593 Install a constructor method.
2594 (+hildon_date_selector_construct_ui): construct the widget.
2595 (+hildon_date_selector_constructor): new constructor.
2596 (+hildon_date_selector_init): move out widget construction code to
2597 the new constructor.
2599 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2601 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
2602 that there's actually a month or year selected before obtaining them.
2603 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
2604 of the HildonTouchSelector::changed signal, as it was emitted on every
2605 single item selection.
2607 Fix some warnings and possible crashers due to the selection restoring.
2609 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2611 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
2612 the signal handlers only after creating the dialog instead of on every
2615 2009-01-19 Alberto Garcia <agarcia@igalia.com>
2617 * src/hildon-button.c (hildon_button_init)
2618 * src/hildon-check-button.c (hildon_check_button_init)
2619 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
2620 focus when clicked by default.
2622 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2624 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
2627 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2629 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2630 Alejandro G. Castro (alex@igalia.com)
2632 * src/hildon-picker-dialog.c:
2633 (hildon_picker_dialog_class_init): install new "center-on-show"
2635 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
2636 (hildon_picker_dialog_set_property): add setter code for the new
2638 (hildon_picker_dialog_get_property): add getter code for the new
2640 (hildon_picker_dialog_show): Ensure visibility of selected items in the
2641 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
2644 Fixes: NB#92849 (Selected item is not always visible when
2645 HildonTouchSelector is shown)
2647 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2649 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2650 Alejandro G. Castro (alex@igalia.com)
2652 * src/hildon-touch-selector.c:
2653 (_create_new_column): Do not connect to the "realize" signal of the
2655 (hildon_touch_selector_append_column): center on the selected items
2656 when a new column is appended.
2657 (hildon_touch_selector_select_iter): Factor out the code to select a
2658 column to hildon_touch_selector_scroll_to().
2659 (+search_nearest_element): Method to retrieve the nearest selected
2660 element to the visible area of the pannable area in a column.
2661 (+on_realize_cb): scroll to the initially selected item.
2662 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
2663 the pannable area is realized, otherwise delay this until it is.
2664 (+_hildon_touch_selector_center_on_selected_items): Centers on the
2665 selected items of a given column.
2666 (+hildon_touch_selector_center_on_selected): Public method to center
2667 all columns on the nearest selected item.
2668 * src/hildon-touch-selector.h: Add definition for
2669 hildon_touch_selector_center_on_selected().
2671 Implement public API to ensure visibility of all selected items in
2672 a HildonTouchSelector.
2674 2009-01-16 Alejandro G. Castro <alex@igalia.com>
2676 Fixed a problem in the fading when calling the scroll_to API, and
2677 improve scrollbar fading handling.
2679 * src/hildon-pannable-area.c,
2680 (hildon_pannable_area_grab_notify): avoid the timeout when the
2682 (hildon_pannable_area_button_press_cb),
2683 (hildon_pannable_area_motion_notify_cb): Code style changes.
2684 (hildon_pannable_area_button_release_cb): Review the conditions
2685 when releasing the mouse button to avoid unrequired fading
2687 (hildon_pannable_area_scroll_to): Do not calculate and set the
2688 velocity if the scroll is not required.
2690 2009-01-15 Alberto Garcia <agarcia@igalia.com>
2692 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
2693 Don't check whether the new selector is NULL: it cannot be.
2694 Hold a reference to the selector while doing the replacement.
2696 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2698 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2699 unnecessary size_request in a removed widget.
2701 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2703 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2704 an unnecessary reference tracking that was leaking.
2706 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2708 Added delayed motion notify event handling, this way we can
2709 discard redrawing if more than 25 events arrive per second.
2711 * src/hildon-pannable-area.c,
2712 (hildon_pannable_area_init): Initialized the new private atributes
2713 controlling this timeout
2714 (hildon_pannable_area_dispose): Remove the timeout that controls
2715 the motion notify events.
2716 (hildon_pannable_area_scroll): Added a condition to control the
2717 use of the acceleration.
2718 (hildon_pannable_area_motion_event_scroll_timeout),
2719 (hildon_pannable_area_motion_event_scroll): Added this two
2720 functions, they handle the motion notify events inside the
2722 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
2723 to the scroll method with the new function.
2724 (hildon_pannable_area_button_release_cb): We have to remove the
2725 timeout handler and move to the last position if the last motion
2726 events were not handled.
2728 Fixes: NB#97028 (Pannable area updates on every motion event)
2730 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2732 * src/hildon-pannable-area.c,
2733 (hildon_pannable_area_get_topmost): Added a new parameter to
2734 filter the the windows that do not include those events. Added
2735 also a condition when finding the window to filter windows that do
2736 not ask for those events.
2737 (hildon_pannable_area_button_press_cb),
2738 (hildon_pannable_area_button_release_cb),
2739 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2740 topmost function, we have added the new parameter.
2742 Fixes: NB#97458 (Pannable area prevents propagation of button
2745 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2747 * src/hildon-pannable-area.c,
2748 (hildon_pannable_area_initial_effect): Added controls before
2749 launching the timeout and the idle functions.
2750 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
2751 of the method, in some situations it can return with TRUE and 0 in
2753 (hildon_pannable_area_button_press_cb): We do not need to set
2754 DELAY for fading out here.
2756 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
2758 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2760 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
2761 post-cleaning if the selection is not NULL.
2763 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2765 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
2766 all items before restoring the selection.
2768 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2770 * src/hildon-touch-selector.c:
2771 (+hildon_touch_selector_unselect_all):
2772 * src/hildon-touch-selector.h: New API to unselect all items in a
2773 column of the touch selector.
2775 2009-01-14 Alejandro G. Castro <alex@igalia.com>
2777 * src/hildon-pannable-area.c,
2778 (hildon_pannable_area_redraw): Added a call to the refresh
2779 function inside the redraw because apparently in some cases the
2780 change in the adjustment does not imply a size allocate.
2782 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
2783 despite the view not being scrollable)
2785 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2787 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
2788 leak. Check for NULL before attempting to set the window title.
2790 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2792 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
2793 whether to show or not the 'Done' button each time the dialog is
2794 shown, as it depends on the HildonTouchSelector selection mode.
2796 Fixes: NB#96226 (In multiple selection mode Done button is shown
2797 sometimes in listpicker)
2799 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2801 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
2802 for the number of columns in the HildonTouchSelector more than once.
2804 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2806 * src/hildon-touch-selector.c: Minor documentation fixes.
2808 * src/hildon-picker-dialog.c (+_dialog_update_title)
2809 (_select_on_selector_changed_cb)
2810 (_update_title_on_selector_changed_cb)
2811 (on_selector_columns_changed): Update dialog title when there's no
2812 'Done' button and also when the number of columns in the selector
2816 * src/hildon-picker-button.c (hildon_picker_button_finalize)
2817 (+_selection_changed, hildon_picker_button_on_dialog_response)
2818 (hildon_picker_button_selector_selection_changed)
2819 (+hildon_picker_button_selector_columns_changed)
2820 (hildon_picker_button_set_selector): Update button value and emit
2821 'value-changed' when the number of columns in the selector
2825 Fixes: NB#96225 (Dialog titles are not shown according to the
2826 values selected in the list picker)
2828 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2830 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
2831 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
2832 New "arrow-width" and "arrow-height" style properties to set the
2833 size of the arrow button.
2834 Set name of arrow button ("hildon-edit-toolbar-arrow").
2836 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2837 graphics from theme)
2839 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2841 * src/hildon-picker-button.c:
2842 (hildon_picker_button_selector_selection_changed): Use
2843 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
2844 the dialog is present.
2846 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
2847 the selection is accepted in the dialog)
2849 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2851 * src/hildon-color-chooser.h
2852 * src/hildon-color-chooser-dialog.h:
2853 Added G_BEGIN_DECLS and G_END_DECLS
2855 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2857 (_clean_current_selection): plug a leak in the list.
2859 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2861 * src/hildon-picker-dialog.c:
2862 (+free_path_list): Method to free a GList of GtkTreePaths.
2863 (_clean_current_selection), (_save_current_selection),
2864 (_restore_current_selection): Save the current selection in
2865 as a list of lists, to support multiple selection properly.
2867 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2869 patch by Claudio Saavedra (csaavedra@igalia.com)
2871 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
2872 Store the press position.
2873 (+hildon_text_view_button_release_event): If the release position is
2874 close enough to the press position, move the cursor here. Otherwise,
2876 (hildon_text_view_class_init): Override GtkTextView press, release, and
2877 motion event handlers, disabling this way text selection through
2878 pointer interaction, and allowing the container widget to handle the
2881 Fixes: NB#95828 (HildonTextView functionality)
2883 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2885 Based on a patch by Iván Gómez (igomez@igalia.com)
2887 * src/hildon-button.[ch]
2888 * src/hildon-calendar.c
2889 * src/hildon-check-button.c
2890 * src/hildon-date-editor.c
2891 * src/hildon-date-selector.c
2892 * src/hildon-picker-button.c
2893 * src/hildon-time-editor.c
2894 * src/hildon-time-selector.c
2895 * src/hildon-touch-selector.[ch]:
2896 Documentation updates
2898 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2900 * src/hildon-pannable-area.c,
2901 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
2902 threshold, it was required due to X events handling.
2904 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2906 * src/hildon-pannable-area.c,
2907 (hildon_pannable_area_grab_notify),
2908 (hildon_pannable_area_initial_effect),
2909 (hildon_pannable_area_button_press_cb),
2910 (hildon_pannable_area_button_release_cb),
2911 (hildon_pannable_area_scroll_cb),
2912 (hildon_pannable_area_scroll_to): Review the timeout management of
2913 the scrollbar, the frecuency was incorrectly set.
2915 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
2917 * src/hildon-picker-button.c:
2918 (+hildon_picker_button_on_dialog_response),
2919 (hildon_picker_button_clicked): Present the dialog instead of
2920 running it with gtk_dialog_run().
2922 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
2925 2009-01-07 Alberto Garcia <agarcia@igalia.com>
2927 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2928 (hildon_app_menu_finalize): When a window is hidden it doesn't
2929 emit notify::is-topmost, so make sure than the menu also
2930 disappears in that case.
2931 (parent_window_topmost_notify): Renamed from parent_window_hidden
2933 Fixes: NB#94460 (stackable window's menu is not closed when its
2936 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2938 * src/hildon-touch-selector-entry.c:
2939 (+hildon_touch_selector_entry_set_input_mode),
2940 (+hildon_touch_selector_entry_get_input_mode):
2941 * src/hildon-touch-selector-entry.h: New methods to access the input
2942 mode in the selector's entry.
2944 Fixes: NB#93410 (API required for setting IM mode in
2945 HildonTouchSelectorEntry)
2947 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2949 * configure.ac: post release version bump.
2950 * debian/changelog: version bump
2952 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2957 * configure.ac: Bump version.
2958 * debian/changelog: Updates.
2960 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
2962 * src/hildon-touch-selector.c:
2963 (_hildon_touch_selector_has_multiple_selection): No need
2964 to initialize the variables here.
2966 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2968 * src/hildon-note-private.h
2969 * src/hildon-note.c (event_box_press_event, hildon_note_init)
2970 (hildon_note_finalize, hildon_note_rebuild): Close information
2971 notes when they receive a button press.
2973 Fixes: NB#89890 (Information notes does not get disappeared after
2976 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
2978 * src/hildon-wizard-dialog.c: (create_title): Remove translation
2979 mark from the wizard title, as it's not really necessary. Also,
2980 do not display the page title if not set.
2982 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2984 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2985 (parent_window_hidden): Use the window's "is-topmost" property to
2986 detect when to hide the menu.
2988 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2990 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2991 (hildon_app_menu_finalize): If the parent window of the menu is
2992 hidden, hide the menu too.
2994 Fixes: NB#94460 (stackable window's menu is not closed when its
2997 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3000 * debian/libhildon1-examples.install
3002 * examples/Makefile.am:
3003 Use dh_install to install all examples.
3004 Use DEB_SRCDIR instead of defining SOURCE_DIR
3006 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3008 * configure.ac: post release version bump.
3009 * debian/changelog: version bump
3011 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3016 * configure.ac: bump version
3017 * debian/changelog: updates
3018 * debian/control: bump gtk+ dependency
3020 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3022 patch by Christian Dywan (christian@imendio.com)
3024 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
3025 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
3027 2008-12-15 Alberto Garcia <agarcia@igalia.com>
3029 * src/hildon-check-button.c (hildon_check_button_init)
3030 (hildon_check_button_class_init, hildon_check_button_style_set)
3031 (hildon_check_button_apply_style):
3032 New "checkbox-size" style property.
3034 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
3035 larger / configurable size)
3037 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3039 * configure.ac: post release version bump.
3040 * debian/changelog: version bump
3042 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3047 * configure.ac: bump version
3048 * debian/changelog: updates
3050 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3052 * doc/hildon-sections.txt
3053 * src/hildon-pannable-area.c
3054 * src/hildon-program.c
3055 * src/hildon-time-editor.c
3056 * src/hildon-touch-selector-entry.c:
3058 More documentation updates.
3060 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3062 * doc/hildon-sections.txt
3063 * src/hildon-caption.c
3064 * src/hildon-code-dialog.c
3065 * src/hildon-color-button.c
3066 * src/hildon-controlbar.c
3067 * src/hildon-date-editor.c
3068 * src/hildon-date-selector.c
3069 * src/hildon-edit-toolbar.c
3070 * src/hildon-find-toolbar.c
3071 * src/hildon-font-selection-dialog.c
3073 * src/hildon-program.c
3074 * src/hildon-range-editor.c
3075 * src/hildon-seekbar.c
3076 * src/hildon-time-editor.c
3077 * src/hildon-time-selector.c
3078 * src/hildon-volumebar-range.c
3079 * src/hildon-volumebar.c
3080 * src/hildon-vvolumebar.c
3081 * src/hildon-weekday-picker.c
3082 * src/hildon-window.c
3083 * src/hildon-wizard-dialog.c:
3085 Lots of documentation fixes.
3087 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3089 Patch contributed by Iván Gómez (igomez@igalia.com)
3091 * src/hildon-check-button.c:
3092 * src/hildon-date-button.c:
3093 * src/hildon-date-selector.c:
3094 * src/hildon-dialog.c:
3095 * src/hildon-edit-toolbar.c:
3096 * src/hildon-entry.c:
3097 * src/hildon-picker-button.c:
3098 * src/hildon-program.c:
3099 * src/hildon-text-view.c:
3100 * src/hildon-time-button.c:
3101 * src/hildon-touch-selector-entry.c:
3102 * src/hildon-window-stack.c:
3104 Add more "since" tags to the new API.
3106 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3108 * doc/hildon-sections.txt: Add below method.
3109 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
3110 version for the hildonized scale.
3111 * src/hildon-gtk.h: Add the definition.
3113 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3115 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3117 * doc/hildon-sections.txt: Add missing entries for new methods.
3119 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3121 Added API to pannable are in order to get its adjustments. We
3122 added two properties to manage the values we had in the private
3125 * src/hildon-pannable-area.c:
3126 (hildon_pannable_area_class_init): Added hadjustment and
3127 vadjustment properties in order to expose horizontal and vertical
3129 (hildon_pannable_area_get_property),
3130 (hildon_pannable_area_set_property): Added code to handle the new
3132 (hildon_pannable_area_get_hadjustment),
3133 (hildon_pannable_area_get_vadjustment): API functions to get the
3135 * src/hildon-pannable-area.h:
3136 (hildon_pannable_area_get_hadjustment),
3137 (hildon_pannable_area_get_vadjustment): API functions to get the
3140 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3142 Fixed some leaks, after valgrinding.
3144 * src/hildon-touch-selector.c:
3145 (_default_print_func): Fixed a leak.
3146 (hildon_touch_selector_append_column): Fixed a leak.
3147 * src/hildon-date-button.c:
3148 (hildon_date_button_init): Fixed a leak.
3149 * src/hildon-date-selector.c
3150 (hildon_date_selector_finalize): Fixed a leak.
3152 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3154 Based on a patch by Christian Dywan (christian@imendio.com)
3156 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
3158 * src/hildon-gtk.h: Add definition.
3160 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3162 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3164 * src/hildon-picker-button.c: (hildon_picker_button_init),
3165 (hildon_picker_button_new): Set the HildonButton::style property
3166 in the init method, to propagate the value to the derived classes.
3168 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3170 * src/hildon-button.c: (hildon_button_class_init): Do not make
3171 the "style" property a construct property.
3173 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3175 * src/hildon-wizard-dialog.h
3176 * src/hildon-wizard-dialog.c
3177 (hildon_wizard_dialog_set_forward_page_func)
3178 * src/hildon-pannable-area.h
3179 * src/hildon-pannable-area.c
3180 (hildon_pannable_area_set_size_request_policy):
3181 Documentation fixes.
3183 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3185 * doc/hildon-sections.txt: Fixed warning about unused symbols.
3187 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3189 * doc/hildon-sections.txt: Added sections file.
3191 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3194 * src/*.[ch]: Updates.
3196 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
3198 * examples/hildon-progress-indicator-example.c: new file
3199 * examples/Makefile.am: include the new example program
3201 2008-12-10 Alberto Garcia <agarcia@igalia.com>
3203 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
3205 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3207 * configure.ac: post release version bump
3208 * debian/changelog: version bump
3210 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3215 * configure.ac: bump version
3216 * debian/changelog: updates
3217 * debian/control: bump gtk+ dependency
3219 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3221 * src/hildon-dialog.c: Mark as deprecated.
3222 * src/hildon-dialog.h: Mark as deprecated.
3223 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
3224 from HildonDialog and still work, even if
3225 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
3226 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
3228 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
3229 maemo changes) instead)
3231 2008-12-09 Alejandro G. Castro <alex@igalia.com>
3233 * src/hildon-pannable_area.h:
3234 * src/hildon-pannable_area.c:
3235 (hildon_pannable_area_class_init),
3236 (hildon_pannable_area_set_property),
3237 (hildon_pannable_area_get_property),
3238 (hildon_pannable_area_size_request),
3239 (hildon_pannable_area_get_size_request_policy),
3240 (hildon_pannable_area_set_size_request_policy): Added new API
3241 allowing applications to control the request policy. Now they can
3242 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
3243 children allocation (HILDON_MOVEMENT_CHILDREN).
3245 2008-12-09 Alberto Garcia <agarcia@igalia.com>
3249 (hildon_gtk_tree_view_set_ui_mode)
3250 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
3251 mode of treeviews and iconviews.
3253 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3255 * src/hildon-touch-selector-entry.c:
3256 (hildon_touch_selector_entry_init): Use a HildonEntry instead
3257 of a GtkEntry to get proper theming.
3259 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
3260 widget, not GtkEntry)
3262 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3264 * src/hildon-wizard-dialog.c: (response): Move forward if there is
3265 no HildonWizardDialogPageFunc.
3267 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3269 Patch contributed by Iván Gómez (igomez@igalia.com)
3271 * src/hildon-app-menu.c:
3272 * src/hildon-button.c:
3273 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
3274 * src/hildon-stackable-window.c:
3275 * src/hildon-time-selector.c:
3276 * src/hildon-touch-selector.c:
3277 * src/hildon-window.c:
3279 Add more "since" tags to the new API in hildon 2.2.
3281 2008-12-05 Tim Janik <timj@imendio.com>
3283 Patch contributed by Christian Dywan (christian@imendio.com)
3285 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
3286 HildonSizeType, which are supplied by Gtk+ now.
3288 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
3290 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
3291 (with maemo changes) instead)
3293 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3295 Patch contributed by Iván Gómez (igomez@igalia.com)
3297 * src/hildon-pannable-area.c: Add "since" tags to the new API in
3300 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3302 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
3303 (some_page_func), (main): Update the example to use a
3304 HildonWizardDialogPageFunc function.
3306 * src/hildon-wizard-dialog-private.h: Add private data for
3307 the HildonWizardDialogPageFunc function usage.
3309 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
3310 (destroy), (hildon_wizard_dialog_init), (response),
3311 (hildon_wizard_dialog_set_forward_page_func):
3312 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
3313 that applications can use to stop a HildonWizardDialog to jump to
3316 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
3319 2008-12-04 Alberto Garcia <agarcia@igalia.com>
3321 * src/hildon-program.h
3322 * src/hildon-program-private.h
3323 * src/hildon-program.c (hildon_program_init)
3324 (hildon_program_set_common_app_menu)
3325 (hildon_program_get_common_app_menu):
3326 New API for setting a common HildonAppMenu for all
3327 HildonStackableWindows registered with the HildonProgram.
3329 * src/hildon-stackable-window.c
3330 (hildon_stackable_window_toggle_menu):
3331 Use the common HildonAppMenu if a window doesn't have a specific
3334 * src/hildon-app-menu-private.h
3335 * src/hildon-app-menu.c
3336 (hildon_app_menu_get_parent_window):
3337 Function to obtain the window a HildonAppMenu is attached to.
3338 (hildon_app_menu_set_parent_window):
3339 Hide the menu if the parent window is set to NULL.
3341 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
3343 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
3344 set GtkTreeView::enable-search to FALSE, to avoid the interactive
3345 search widget to popup.
3347 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3349 * configure.ac: post release version bump
3350 * debian/changelog: version bump
3352 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3357 * configure.ac: bump version
3358 * debian/changelog: updates
3360 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3362 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
3364 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
3365 (hildon_window_stack_window_realized)
3366 (hildon_window_stack_remove, _hildon_window_stack_do_push):
3367 Set the leader GdkWindow when a window is stacked and realized,
3368 unset it when it's unstacked.
3369 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
3371 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
3373 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3375 * src/hildon-stackable-window.h
3376 * src/hildon-window-stack.h:
3377 Protect definition of HildonWindowStack using the preprocessor.
3379 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3381 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
3382 Fix warning if all menu items are hidden.
3384 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
3386 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3388 * src/hildon-controlbar.c:
3389 * src/hildon-hvolumebar.c:
3390 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
3391 Multiple scale size defines updates.
3393 Fixes: NB#94322 (Scale Updates)
3395 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3397 * examples/hildon-app-menu-example.c (create_menu)
3398 Show items after adding them to the menu, as in the future the
3399 menu will no longer call gtk_widget_show() on the added items.
3401 * src/hildon-app-menu.c:
3402 Update example as explained above.
3404 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3406 * src/hildon-app-menu.c
3407 (hildon_app_menu_insert, hildon_app_menu_add_filter):
3408 Make sure that all menu items have finger height.
3410 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
3412 * src/hildon-picker-dialog.c:
3413 (_on_dialog_response), (_save_current_selection),
3414 (_restore_current_selection), (_clean_current_selection),
3415 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
3416 Defined new functions in order to save the current internal selector
3417 selection previous open the dialog, in case that the use cancel the
3418 interaction, so the widget restores the previous selection.
3420 Fixes: NB#92032 (In calendar application, date values in 'new event'
3423 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
3425 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3427 * src/hildon-button.c: Add a reference to the button examples in
3428 hildon-button-example.c
3430 * examples/hildon-button-example.c: Added examples of the most
3431 common button layouts.
3433 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3435 * src/hildon-app-menu.c (hildon_app_menu_show)
3436 (hildon_app_menu_class_init): Don't show the menu if it's empty.
3438 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
3440 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3442 * src/hildon-picker-dialog.c:
3443 (hildon_picker_dialog_init): Initialize the signal id for
3444 HildonTouchSelector::columns-changed.
3445 (+on_selector_columns_changed): Set up the interaction mode everytime a
3446 column is added or removed from the HildonTouchSelector.
3447 (_hildon_picker_dialog_set_selector): Connect to
3448 HildonTouchSelector::columns-changed and keep track of it.
3450 Make sure to update the interaction mode of the dialog everytime a
3451 column is added or removed in the HildonTouchSelector.
3453 Fixes: NB#93228 (Done button is not shown always in listpicker)
3455 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3457 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
3458 a new ::columns-changed signal.
3459 (hildon_touch_selector_append_column): Emit ::columns-changed.
3460 (hildon_touch_selector_remove_column): Emit ::columns-changed.
3462 Add a ::columns-changed signal, emitted when the number of columns in a
3463 HildonTouchSelector changes.
3465 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3467 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
3468 (_hildon_picker_dialog_set_selector): Factor out the code
3469 to set up the dialog interaction mode.
3471 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3473 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
3474 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
3475 to signal_changed_id.
3477 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3479 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3482 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
3484 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
3485 Updated the logical ids related to ampm format, as now it is required to
3486 show it correctly localized even on languages with no default
3487 abbreviations for am or pm
3488 (_check_am_pm_format): check correctly the 24h format gconf property
3490 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
3492 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3494 * src/hildon-button.c: Documentation updates.
3496 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3498 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
3499 * src/hildon-caption.c: (hildon_caption_class_init):
3500 * src/hildon-color-button.c: (hildon_color_button_class_init):
3501 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
3502 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3503 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
3504 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
3506 Remove deprecated GTK+ marshalers and replace them with the ones
3507 provided by GLib, for those available, add a marshaler for
3508 BOOLEAN:VOID, which is not available in GLib, and use it.
3510 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3512 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
3513 the text from the previous column if there is no
3514 HildonTouchSelectorColumn::text-property set.
3516 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3518 * src/hildon-button.h
3519 * src/hildon-button.c (hildon_button_set_property)
3520 (hildon_button_get_property, hildon_button_class_init)
3521 (hildon_button_set_style, hildon_button_get_style):
3522 New "style" property to change the visual appearance of the
3525 * src/hildon-picker-button.c (hildon_picker_button_new):
3526 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
3528 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
3529 HildonButton look like PickerButton)
3531 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3533 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
3534 column while building the default string.
3536 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3538 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
3539 scroll indicator by default.
3541 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
3543 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3545 * src/hildon-main.c: Fix the documentation for hildon_init()
3547 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3549 * doc/hildon-docs.sgml
3553 * src/hildon-window-stack-private.h
3554 * src/hildon-window-stack.h
3555 * src/hildon-window-stack.c:
3556 New HildonWindowStack object, that adds support for multiple
3557 stacks of windows per process.
3559 * src/hildon-stackable-window-private.h
3560 * src/hildon-stackable-window.h
3561 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
3562 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
3563 (hildon_stackable_window_show, hildon_stackable_window_hide)
3564 (hildon_stackable_window_class_init)
3565 (hildon_stackable_window_init):
3566 Use HildonWindowStack for stack management.
3568 * src/hildon-program.c (hildon_program_pop_window_stack)
3569 (hildon_program_peek_window_stack)
3570 (hildon_program_go_to_root_window):
3571 Add a fallback implementation to the deprecated functions using
3574 * examples/hildon-stackable-window-example.c:
3575 Use the new HildonWindowStack API.
3577 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3579 * src/hildon-stackable-window-private.h
3580 * src/hildon-stackable-window.c (hildon_stackable_window_show)
3581 (hildon_stackable_window_hide, hildon_stackable_window_init):
3582 Remove all window stack management.
3584 * src/hildon-program-private.h
3585 * src/hildon-program.h
3586 * src/hildon-program.c (hildon_program_init)
3587 (hildon_program_pop_window_stack)
3588 (hildon_program_peek_window_stack)
3589 (hildon_program_go_to_root_window):
3590 Remove all window stack management and mark functions as
3593 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3595 * src/hildon-app-menu.c (hildon_app_menu_realize):
3596 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
3598 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3600 * configure.ac: post release version bump
3601 * debian/changelog: version bump
3603 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3608 * configure.ac: bump version
3609 * debian/changelog: updates
3611 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3613 Based on initial code by Christian Dywan (christian@imendio.com)
3615 * doc/hildon-docs.sgml: Add section for hildon-main.
3616 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
3617 * src/Makefile.am: Add new hildon-main.[ch]
3618 * src/hildon-defines.h: Update the icon sizes.
3619 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
3620 new library initialization files and register icon sizes.
3621 * src/hildon-main.h: New declarations.
3622 * src/hildon.h: Include hildon-main.h
3624 Add new initialization functions to the library. These methods
3625 will register the hildon specific icon sizes and can be used in the
3626 future for other hildon specific bits.
3628 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
3630 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3632 * src/hildon-window.c: (hildon_window_realize),
3633 (hildon_window_notify), (-hildon_window_update_title): Do not set
3634 the application name in the window title.
3636 Fixes: NB#89754 (Applications shouldn't display their names in the
3639 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3641 * src/hildon-note-private.h:
3642 * src/hildon-note.c: (hildon_note_set_property),
3643 (hildon_note_get_property), (hildon_note_class_init),
3644 (hildon_note_init), (hildon_note_finalize),
3645 (hildon_note_new_confirmation_with_icon_name),
3646 (hildon_note_new_information_with_icon_name):
3648 No need to mark as deprecated the actual code. Revert
3649 to avoid missing symbols in widgets using deprecated API.
3651 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3653 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
3655 * src/hildon-volumebar.h
3656 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
3657 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
3659 * src/hildon-helper.h
3660 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
3661 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
3663 * examples/Makefile.am:
3664 Deprecate hildon-insensitive-example
3666 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
3668 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3670 * examples/hildon-pannable-area-buttons-scroll-example.c:
3671 Make all buttons finger height
3673 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
3675 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
3677 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
3678 update the day model only if it is really required, and to avoid the
3679 full-reconstruction aproach. Now it only add or remove the required days.
3681 The purpose of this is avoid superfluous HildonTouchSelector::changed
3684 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
3685 with strange parameters)
3687 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
3689 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
3691 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
3692 the WINDOW_TYPE property.
3694 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
3696 2008-11-19 Alberto Garcia <agarcia@igalia.com>
3699 Fix dependency to allow parallel compilation with make -jX
3701 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
3703 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
3704 color frame and some minor tweaks to make it more consistent with
3707 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
3708 highlighted but not visible)
3710 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3712 * examples/Makefile.am: Fixed typo in the Makefile.am.
3714 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3716 Reviewed the use of MAEMO_GTK define, now we add the define in the
3717 compilation line, and we also add it to the pc file.
3719 * configure.ac: Added MAEMO_GTK define to the compilation command
3720 and removed it from the config.h.
3722 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
3723 do not have to take care about this define if the library was
3727 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
3729 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3731 * examples/Makefile.am,
3732 * examples/hildon-pannable-area-buttons-scroll-example.c,
3733 * examples/hildon-pannable-area-gesture-signals-example.c,
3734 * examples/hildon-pannable-area-scroll-jump-example.c,
3735 * examples/hildon-pannable-area-tree-view-example.c:
3736 Renamed the pannable area examples, now they have more meaningful
3739 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
3741 * src/hildon-touch-selector.c:
3742 (hildon_touch_selector_set_column_selection_mode): Used of
3743 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
3744 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
3745 to avoid re-seting the same selection mode.
3747 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
3748 breaks HildonPickerDialog)
3750 2008-11-13 Alejandro G. Castro <alex@igalia.com>
3752 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
3753 conditional in the Makefile.am
3755 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
3757 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
3758 Remove unused methods.
3760 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3762 * src/hildon-button.c (hildon_button_init):
3763 Make button images center-aligned by default
3765 2008-11-12 Alejandro G. Castro <alex@igalia.com>
3768 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
3769 activated, we have to think about how to deal with both defines
3770 MAEMO_GTK and MAEMO_CHANGES.
3772 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3774 * examples/hildon-app-menu-example.c (create_menu): Make all
3775 buttons finger size.
3777 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3779 Fixed the compilation without maemo gtk adding ifdefs with
3780 MAEMO_GTK define to the code, we have to check this version more
3783 * examples/Makefile.am: Added control to avoid some examples that
3784 just make sense with maemo gtk.
3787 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
3788 hildon modes with the define.
3790 * examples/hildon-edit-toolbar-example.c,
3791 (create_icon_view): Create the icon view without hildon-gtk
3792 helpers if we are not using maemo gtk.
3794 * src/hildon-touch-selector.c,
3795 (_create_new_column): Create the treeview without hildon-gtk
3796 helpers if we are not using maemo gtk.
3798 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3800 * src/hildon-pnnable-area.c,
3801 (hildon_pannable_area_dispose),
3802 (hildon_pannable_area_button_press_cb),
3803 (hildon_pannable_area_child_mapped),
3804 (hildon_pannable_area_add),
3805 (hildon_pannable_area_remove): Added code to control the position
3806 of the event_window when adding and removing children from the
3807 pannable. We have to raise the event window when the child is
3810 Fixes: NB#89811 (Not able to select first image thumbnail in multi
3811 selection mode using custom widget inside pannable)
3813 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3815 * configure.ac: post release version bump
3816 * debian/changelog: version bump
3818 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3823 * configure.ac: bump version
3824 * debian/changelog: updates
3826 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
3828 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
3829 search mode, in order to avoid lose the focus on the treeview when
3830 a hw key (like enter) is pressed.
3832 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
3833 in HildonDateSelector dialog)
3835 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
3837 * debian/rules: Added --enable-maintainer-mode
3838 * Makefile.am: Added ACLOCAL_AMFLAGS
3840 This allows to properly regenerate the Makefiles if you modify the
3841 configure.ac or any Makefile.am.
3843 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3845 * examples/hildon-app-menu-example.c: (main): Do not set RC style
3846 properties, not needed at all.
3848 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3850 * src/hildon-note-private.h: Add strings for the icon and stock_icon
3852 * src/hildon-note.c: (hildon_note_set_property),
3853 (hildon_note_get_property), (hildon_note_class_init),
3854 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
3855 (hildon_note_new_confirmation_add_buttons): Remove icons.
3856 (hildon_note_new_confirmation_with_icon_name): Deprecate.
3857 (hildon_note_new_information_with_icon_name): Deprecate.
3858 (hildon_note_new_confirmation): Act directly, without calling
3859 the deprecated constructor.
3860 (hildon_note_new_information): Act directly, without calling
3861 the deprecated constructor.
3862 * src/hildon-note.h: Mark deprecate methods as such.
3863 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
3864 not run tests on the deprecated methods if built with deprecation
3867 Fixes: NB#91688 (Never show icons in information notes/confirmation
3870 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3872 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
3873 (hildon_app_menu_key_press): Remove leftover usage of the
3874 private structure in HildonAppMenu struct.
3875 * src/hildon-app-menu.h: Remove leftover private structure
3876 from the HildonAppMenu struct.
3878 Fixes a crasher when using the HildonAppMenu.
3880 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3882 * src/hildon-picker-dialog.c: Use appropriate logical id
3883 for the default "Done" text.
3885 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3887 * configure.ac: post release version bump
3888 * debian/changelog: version bump
3890 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
3892 Modified the way to scroll to the current selection just when the touch
3893 selector is shown on the screen, avoiding a g_idle. Added too a property
3894 to configure this behaviour. See hildon_pannable_area_jump_to_child
3895 documentation for more information.
3897 * src/hildon-touch-selector.c
3898 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
3899 Added 'initial-scroll' property
3900 (hildon_touch_selector_set_property): Added
3901 (hildon_touch_selector_map): Removed as not required anymore
3902 (_hildon_touch_selector_on_selected_items): Modified in order to manage
3903 only a concrete column, instead of iterate along all the columns
3905 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3910 * configure.ac: bump version
3911 * debian/changelog: updates
3913 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3915 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
3916 compilation time warnings.
3918 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3920 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
3921 the default value for HildonPannableArea::mov-mode to
3922 HILDON_PANNABLE_AREA_MODE_VERT.
3924 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
3926 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3928 Reverting following commit:
3930 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3932 * src/hildon-app-menu-private.h
3933 * src/hildon-app-menu.[ch]
3934 * src/hildon-button.[ch]
3935 * src/hildon-check-button.[ch]
3936 * src/hildon-entry.[ch]
3937 * src/hildon-pannable-area.[ch]
3938 * src/hildon-text-view.[ch]:
3939 Added private field to the object's structure.
3941 because it causes an ABI breakage. We will need to introduce these
3942 changes later at some point. See NB#91636 for an extensive
3943 explanation and status.
3945 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3947 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3949 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
3950 remove special cases that are no longer necessary.
3952 Fixes: NB#91016 (Change toolbar sizes, simplification)
3954 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3956 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
3957 is shown in the cancel note.
3959 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3961 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
3962 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
3963 (hildon_seekbar_init): Remove steppers, remove expose event.
3964 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
3966 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
3968 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
3970 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
3971 label font to "SmallSystemFont" for vertically arranged buttons.
3973 Fixes: NB#90662 (HildonButton "value" and "detail" text is
3976 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3978 * src/hildon-check-button.c
3979 (hildon_check_button_set_active, hildon_check_button_clicked):
3980 Don't access private parts directly, use getters instead.
3982 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3984 * src/hildon-check-button.c (hildon_check_button_new):
3985 Align the contents of the check button to the left.
3987 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3989 * src/hildon-pannable-area.c,
3990 (hildon_pannable_area_scroll_to),
3991 (hildon_pannable_area_jump_to),
3992 (hildon_pannable_area_scroll_to_child),
3993 (hildon_pannable_area_jump_to_child): Replace the mapped
3994 precondition of these functions with the realized, it is the
3995 correct state of the widget in this case. Changed the
3996 documentation according to this modification.
3998 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4000 Added a new EXTRA_CFLAGS option to add the deprecated define to
4001 the compilation command. This way we can avoid using the define in
4002 the documentation compilation.
4004 * configure.ac: Defined EXTRA_CFLAGS.
4006 * examples/Makefile.am:
4008 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
4010 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
4012 * src/hildon-picker-dialog.c:
4013 Defined a utility macro with the desired touch selector height
4014 Removed currently unused separator, and title_label variables from
4016 (hildon_picker_dialog_init): Removed code related to the creation
4017 of unused private variables title_label and separator.
4018 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
4019 to ensure correct visualization of the touch selector inside the dialog.
4020 * src/hildon-touch-selector.c
4021 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
4022 ensure a concrete height of the widget.
4024 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4027 * tests/Makefile.am:
4029 Remove spurious whitespaces.
4031 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4033 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
4034 compilation warning after the cancel button removal.
4036 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4038 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
4040 * configure.ac: Added an AM_CONDITIONAL in order to use in the
4041 Makefile.am, that way we can choose not to compile some examples
4042 and tests of the deprecated widgets.
4044 * examples/Makefile.am: Divided the sources in deprecated and
4047 * src/Makefile.am: Added undef statement of the deprecated
4048 symbol to the enums file generation process.
4050 * src/hildon-color-chooser-dialog.c
4051 * src/hildon-color-chooser-dialog.h
4052 * src/hildon-color-button.c
4053 * src/hildon-color-button.h
4054 * src/hildon-color-chooser.c
4055 * src/hildon-color-chooser.h
4056 * src/hildon-controlbar.c
4057 * src/hildon-controlbar.h
4058 * src/hildon-date-editor.c
4059 * src/hildon-date-editor.h
4060 * src/hildon-hvolumebar.c
4061 * src/hildon-hvolumebar.h
4062 * src/hildon-private.c
4063 * src/hildon-private.h
4064 * src/hildon-range-editor.c
4065 * src/hildon-range-editor.h
4066 * src/hildon-seekbar.c
4067 * src/hildon-seekbar.h
4068 * src/hildon-time-editor.c
4069 * src/hildon-time-editor.h
4070 * src/hildon-time-picker.c
4071 * src/hildon-time-picker.h
4072 * src/hildon-volumebar.c
4073 * src/hildon-volumebar.h
4074 * src/hildon-vvolumebar.c
4075 * src/hildon-vvolumebar.h
4076 * src/hildon-bread-crumb-trail.h
4077 * src/hildon-bread-crumb-trail.c
4078 * src/hildon-calendar-popup.c
4079 * src/hildon-calendar-popup.h
4080 * src/hildon-weekday-picker.c:
4081 * src/hildon-weekday-picker.h:
4082 * src/hildon-bread-crumb-widget.c:
4083 * src/hildon-bread-crumb-widget.h:
4084 * src/hildon-bread-crumb.c:
4085 * src/hildon-bread-crumb.h:
4086 * src/hildon-calendar.c:
4087 * src/hildon-calendar.h:
4088 * src/hildon-caption.c:
4089 * src/hildon-code-dialog.c:
4090 * src/hildon-code-dialog.h:
4091 * src/hildon-font-selection-dialog.c:
4092 * src/hildon-font-selection-dialog.h:
4093 * src/hildon-get-password-dialog.c:
4094 * src/hildon-get-password-dialog.h:
4095 * src/hildon-login-dialog.c:
4096 * src/hildon-login-dialog.h:
4097 * src/hildon-number-editor.c:
4098 * src/hildon-number-editor.h:
4099 * src/hildon-set-password-dialog.c:
4100 * src/hildon-set-password-dialog.h:
4101 * src/hildon-sort-dialog.c:
4102 * src/hildon-sort-dialog.h: This is the list of deprecated
4105 * src/hildon-touch-selector.c:
4106 * src/hildon-window.c: Added undef statement to avoid compilation
4109 * tests/Makefile.am: Divided the sources in deprecated and
4112 * tests/check_test.c,
4113 (configure_tests): Marked the deprecated code that was adding
4114 suites with deprecated tests.
4116 Fixes: NB#91135 (Deprecate legacy hildon widgets)
4118 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4120 * src/hildon-touch-selector.c: (_default_print_func): Do not
4121 duplicate a string returned by gtk_tree_model_get(), it is already
4124 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
4127 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4129 * src/hildon-pannable-area.c
4130 (hildon_pannable_area_add_with_viewport): Reviewed the complete
4131 method, it had problems when adding a widget with viewport the
4132 second time. Now checks if it already has a viewport and uses it.
4134 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
4137 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4139 * src/hildon-pannable-area.c,
4140 (hildon_pannable_area_scroll_to),
4141 (hildon_pannable_area_jump_to),
4142 (hildon_pannable_area_scroll_to_child),
4143 (hildon_pannable_area_jump_to_child): Added a precondition to the
4144 scroll and jump to functions: the widget must be mapped before we
4145 can safely call these functions. We have also added documentation
4146 to the functions to explain how to use them in this situation.
4149 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4151 Reviewed the threading handling of the pannable widget, we have
4152 used the gdk_threads_add_timeout function instead of the usual
4153 glib handlers. This avoids some problems with the threads.
4155 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
4156 (hildon_pannable_area_initial_effect),
4157 (hildon_pannable_area_scroll_indicator_fade),
4158 (hildon_pannable_area_button_press_cb),
4159 (hildon_pannable_area_timeout),
4160 (hildon_pannable_area_motion_notify_cb),
4161 (hildon_pannable_area_button_release_cb),
4162 (hildon_pannable_area_scroll_cb),
4163 (hildon_pannable_area_scroll_to): Removed the
4164 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
4165 gdk_threads_add_timeout.
4167 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
4169 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4174 * configure.ac: bump version
4175 * debian/changelog: updates
4177 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4179 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4180 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
4181 * src/hildon-color-chooser-dialog.c:
4182 (hildon_color_chooser_dialog_init):
4183 * src/hildon-font-selection-dialog.c:
4184 (hildon_font_selection_dialog_init):
4185 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
4187 Remove all cancel/close-like dialogs, as these are not going to be
4190 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4192 * src/hildon-note.c: (hildon_note_rebuild),
4193 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
4196 Fixes: NB#90661 (Delete dialog is displayed without NO button)
4198 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4200 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
4201 sure all buttons are shown, even the Cancel/Close-like ones.
4203 Fixes: NB#90861 (Custom Confirmation dialogs should be
4204 protected from cancel button removal)
4206 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4208 * debian/control: Change libhildon1-examples dependency from libhildon1
4210 * debian/libhildon1-examples.install
4212 * Makefile.am: Modified the final install directory for the examples on
4213 package libhildon1-examples
4214 * Makefile.static: Update clean target in order to remove all the binary
4217 Changes suggested by Claudio after review new libhildon1-examples package
4219 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
4221 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
4222 * src/hildon-touch-selector.c: Ditto.
4224 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4226 * debian/control: Added new package libhildon1-examples, in order to pack
4227 the current hildon examples as documentation
4228 * debian/rules: Not to compress .c files, modify some includes on the
4229 examples (as normally are compiled locally, but when installed it will
4230 require to include the installed libhildon1 library), and rename
4232 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
4233 install all the example files on the new example package
4234 * examples/Makefile.static: Added static makefile that can be used to
4235 compile the examples, once installed the new example package
4236 * examples: Most of the examples were modified in order to grant that
4237 all use only '#include "hildon.h"', in order to be easy to prepare
4238 it on the example package
4240 2008-10-23 Alberto Garcia <agarcia@igalia.com>
4243 * debian/libhildon1-dev.install
4244 * debian/libhildon1-doc.install:
4245 Move all gtk-doc files to a separate libhildon1-doc package.
4247 2008-10-23 Daniel Borgmann <danielb@openismus.com>
4249 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4251 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
4253 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
4255 * debian/rules: Fixed a error in order to avoid unnecessary calls
4256 to autogen.sh on package building
4258 2008-10-22 Alberto Garcia <agarcia@igalia.com>
4260 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
4262 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4264 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
4267 2008-10-21 Alberto Garcia <agarcia@igalia.com>
4269 * src/hildon-picker-button.c
4270 (hildon_picker_button_finalize):
4271 Free priv->done_button_text
4273 * src/hildon-time-button.c
4274 (hildon_time_button_set_time)
4275 * src/hildon-picker-button.c
4276 (hildon_picker_button_clicked)
4277 (hildon_picker_button_selector_selection_changed)
4278 (hildon_picker_button_set_selector)
4279 * src/hildon-date-button.c
4280 (hildon_date_button_set_date):
4281 Free strings returned by hildon_touch_selector_get_current_text()
4283 * src/hildon-button.c (hildon_button_construct_child):
4284 Fix leaks in priv->image and priv->label_box
4286 Fixes: NB#90535 (Memory leak in picker button)
4288 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4290 * src/hildon-button.c: (hildon_button_get_property): Do not access
4291 private elements directly, use getters instead.
4293 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4295 * src/hildon-app-menu-private.h
4296 * src/hildon-app-menu.c
4297 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
4298 Store the menu's parent window.
4300 * src/hildon-stackable-window.c
4301 (hildon_stackable_window_toggle_menu)
4302 (hildon_stackable_window_finalize):
4303 Set the menu's parent window when the menu is shown, unset it when
4306 * src/hildon-app-menu.c
4307 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
4308 (hildon_app_menu_class_init):
4309 Send unhandled keyboard accelerators to the parent window.
4311 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4313 * src/hildon-stackable-window.c
4314 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
4316 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4318 * configure.ac: post release version bump
4320 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4323 * configure.ac: Bump version
4324 * debian/changelog: Updates
4325 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
4328 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4330 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4333 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
4334 GtkMenu with Hildon style.
4336 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4338 * src/hildon-picker-button.c:
4339 (hildon_picker_button_set_done_button_text): Set the dialog's
4340 done button text here as well.
4342 Fixes: NB#90232 (Picker button does not set the label on done button
4343 for the second time)
4345 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4347 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
4350 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4352 * src/hildon-app-menu.c (hildon_app_menu_insert)
4353 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
4354 the HildonAppMenu to be activatable using keyboard accelerators
4355 when the menu is not being shown.
4357 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
4359 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4361 * src/hildon-stackable-window.c
4362 (hildon_stackable_window_show):
4363 Don't hide old windows automatically when new windows are shown:
4364 this is now a task for the window manager.
4365 (hildon_stackable_window_class_init)
4366 (hildon_stackable_window_hide):
4367 Remove windows from the stack everytime they're hidden.
4368 (hildon_stackable_window_realize):
4369 Don't change the _NET_WM_WINDOW_TYPE property. Use
4370 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
4371 it as a stackable window.
4373 * src/hildon-program.c
4374 (hildon_program_pop_window_stack):
4375 Just hide the window to remove it from the stack.
4376 (hildon_program_go_to_root_window):
4377 Don't call gtk_widget_show(), this is now a task for the window
4380 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
4382 2008-10-15 Alberto Garcia <agarcia@igalia.com>
4384 * src/hildon-button.c
4385 (hildon_button_construct_child):
4386 Don't pack anything in the button until text or image are
4387 set. This allows adding a custom child after creating the button
4388 with hildon_button_new().
4389 (hildon_button_finalize, hildon_button_class_init)
4390 (hildon_button_init, hildon_button_set_arrangement): Destroy the
4391 alignment and the label box even when they're not packed in the
4394 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
4396 * src/hildon-touch-selector.h:
4397 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
4398 currently the type definition was using GTK_TYPE_VBOX
4399 * src/hildon-touch-selector.c:
4400 Added some implementation notes in order to clarify that any other widget
4401 added without the column related API will not be included on the
4402 selection logic, and how the widget is freed, as some people ask about
4404 (hildon_touch_selector_remove): Reimplemented in order to free properly
4405 the column related data when you remove the private hbox.
4406 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
4407 to get a proper HildonTouchSelectorColumn documentation
4409 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4411 * src/hildon-touch-selector-entry.c:
4412 (hildon_touch_selector_entry_print_func): Return NULL if there is no
4413 text in the GtkEntry and there is no item selected. Fixes a
4416 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4418 * src/hildon-app-menu-private.h
4419 * src/hildon-app-menu.[ch]
4420 * src/hildon-button.[ch]
4421 * src/hildon-check-button.[ch]
4422 * src/hildon-entry.[ch]
4423 * src/hildon-pannable-area.[ch]
4424 * src/hildon-text-view.[ch]:
4425 Added private field to the object's structure.
4427 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4429 * configure.ac: post-release version bump
4431 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4435 * configure.ac: pre-release version bump
4437 * debian/changelog: updates.
4439 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4441 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
4442 Disconnect the handler for HildonTouchSelector::changed.
4444 (hildon_picker_button_selector_selection_changed): Update the button
4445 value if the selection change was not triggered by the
4448 (hildon_picker_button_set_selector): connect to
4449 HildonTouchSelector::changed.
4451 Fixes: NB#89650 (Picker button is not updated, when selection in
4452 selector has changed)
4454 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
4456 * src/hildon-picker-dialog.c
4457 (hildon_picker_dialog_realize): Removed as not required
4458 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
4459 * src/hildon-picker-button.c
4460 (_current_selector_empty): New function, checks if the selector is empty
4461 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
4462 if the current selector is empty, in order to avoid to show the dialog
4463 close the dialog in this case (and shows a g_warning).
4465 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
4467 2008-10-09 Alejandro G. Castro <alex@igalia.com>
4469 * src/hildon-pannable-area.c,
4470 (hildon_pannable_area_scroll): Added clause to stop movement when
4471 the child of pannable is smaller than one page.
4472 (hildon_pannable_area_scroll_to): Added conditions to avoid
4473 starting the scrolling movement if the child is smaller than one
4474 page, the complete child is in the screen, we do not have to move.
4476 Fixes: NB#89632 (Picker button selection doesn't change on first click)
4478 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4480 * src/hildon-app-menu.c: Removed the 'columns' property, as now
4481 this is managed automatically by the widget when the size of the
4484 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4486 * src/hildon-picker-button.c
4487 (hildon_picker_button_set_done_button_text): Make a copy of the
4488 text, and free the previous value.
4490 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4492 * src/hildon-touch-selector-entry.c:
4493 (hildon_touch_selector_entry_print_func): Return the selected row's
4494 text if the entry is empty.
4496 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
4499 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4501 * src/hildon-touch-selector-entry.c: Minor docs fixes.
4503 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4506 * src/hildon-check-button.h
4507 * src/hildon-check-button.c
4508 * examples/hildon-check-button-example.c:
4509 HildonCheckButton is now a new widget. 'toggled' signal added.
4511 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4513 * src/hildon-program-private.h
4514 * src/hildon-program.c (hildon_program_init)
4515 (hildon_program_finalize): Removed unused variables group_leader
4516 and name from HildonProgramPrivate.
4518 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4520 * src/hildon-check-button.c (hildon_check_button_set_active)
4521 (hildon_check_button_get_active, hildon_check_button_new): Use
4522 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
4524 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
4526 * src/hildon-touch-selector.h
4527 (hildon_touch_selector_set_column_attributes): added deprecation
4528 guard HILDON_DISABLE_DEPRECATED
4529 * src/hildon-time-selector.c
4530 (hildon_time_selector_set_time)
4531 (hildon_time_selector_get_time): Fixed a typo on documentation
4532 * src/hildon-touch-selector.c: update HildonTouchSelector and
4533 HildonTouchSelectorColumn documentation
4534 * src/hildon-touch-selector-entry.c: update "text-column" property
4536 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
4537 to be added to the general documentation.
4539 2008-10-08 Alejandro G. Castro <alex@igalia.com>
4541 * examples/hildon-pannable-area-example-4.c,
4543 * examples/hildon-pannable-area-example.c,
4544 (main): Modified the code in order to use the container add, with
4545 viewport treeviews could have problems if they are really big.
4547 2008-10-06 Alejandro G. Castro <alex@igalia.com>
4549 * src/hildon-weekday-picker.c,
4550 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
4551 the agreement regarding deprecation in the library.
4553 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4555 * examples/hildon-picker-button-multicolumn-example.c:
4556 (main): Use custom "done" button text.
4558 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4559 (hildon_picker_button_set_property),
4560 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4561 (hildon_picker_button_init),
4562 (+hildon_picker_button_get_done_button_text),
4563 (+hildon_picker_button_set_done_button_text): New methods to customize
4564 the "done" button label in the launched HildonPickerDialog. Also,
4567 * src/hildon-picker-button.h: add the public API.
4569 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4571 * src/hildon-date-selector.h:
4572 * src/hildon-picker-dialog.h:
4573 * src/hildon-time-selector.h:
4574 * src/hildon-touch-selector-column.h:
4575 * src/hildon-touch-selector.h:
4577 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
4578 declarations. Fixes gtk-doc warnings.
4580 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4582 * src/hildon-picker-dialog.h
4583 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
4584 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
4586 Fixes: NB#89329 (selectors in picker dialog are not visible when a
4587 long text is set as label for done button)
4589 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4591 * src/hildon-dialog.c (hildon_dialog_add_button):
4592 Set fixed width to all buttons in the HildonDialog.
4594 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4596 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4598 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
4599 Set widget name using class name plus "-finger" or "-thumb".
4601 2008-10-03 Alberto Garcia <agarcia@igalia.com>
4603 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
4604 'clicked' when the state of the button is manually changed.
4606 2008-10-02 Alberto Garcia <agarcia@igalia.com>
4608 * src/hildon-app-menu.c (hildon_app_menu_realize)
4609 (hildon_app_menu_unrealize, hildon_app_menu_init)
4610 (hildon_app_menu_class_init, item_visibility_changed):
4611 Change the menu layout when the size of the screen changes.
4612 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
4613 Show warning only when changing the number of colums using the
4616 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
4618 * debian/compat: Set to 5
4619 * debian/control: Update dependencies.
4620 * debian/libhildon1-dbg.install: Remove.
4621 * debian/libhildon1-dev.install: Update according to cdbs paths.
4622 * debian/libhildon1.install: Update according to cdbs paths.
4623 * debian/rules: Switch to cdbs.
4625 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4627 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
4628 'item' variable renamed to 'filter'
4630 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4632 * src/hildon-app-menu.c (hildon_app_menu_insert)
4633 (hildon_app_menu_add_filter, remove_item_from_list)
4634 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
4635 Don't leak hidden items when the menu is destroyed.
4637 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4639 * src/hildon-app-menu.c (hildon_app_menu_insert)
4640 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
4641 (hildon_app_menu_set_columns, item_visibility_changed)
4642 (filter_visibility_changed, hildon_app_menu_repack_filters)
4643 (hildon_app_menu_repack_items):
4644 Repack items and filters separately.
4646 Don't repack all items, change only the ones that are needed to
4649 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4651 * src/Makefile.am: added hildon-touch-selector-column.h
4653 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4655 * src/hildon-touch-selector.c: added the property "text-column" to the
4656 class HildonTouchSelectorColumn, and related get/set functions
4657 (_default_printf_func): updated to use "text-column" property
4658 * src/hildon-touch-selector-entry.c: mark as deprecated the property
4659 "text-column" in his documentation, as this is now included on
4660 HildonTouchSelectorColumn. The get/set_property can still be used,
4661 working as a wrapper to the concrete column "text-column" property
4662 (_text_column_modified): callback added in order to handle the signal
4663 "notify::text-column" of the concrete HildonTouchSelectorColumn
4664 (hildon_touch_selector_entry_get_text_column)
4665 (hildon_touch_selector_entry_set_text_column): Added documentation, and
4666 modified in order to use the HildonTouchSelectorColumn "text-column"
4668 * src/hildon-time-selector.c:
4669 * src/hildon-date-selector.c:
4670 * examples/hildon-touch-selector-example.c
4671 * examples/hildon-touch-selector-multi-cells-example.c
4672 * examples/hildon-picker-button-multicolumn-example.c
4673 Set the right value to "text-column" property on the creation of a new
4674 column using hildon_touch_selector_append_column()
4676 Fixes: NB#88644 (Hardcoded first column of the model as text column)
4678 2008-09-30 Alberto Garcia <agarcia@igalia.com>
4680 * src/hildon-app-menu.c
4681 (hildon_app_menu_construct_child, hildon_app_menu_init): When
4682 updating the layout of the menu, don't create all widgets again,
4683 just repack the items in their new places.
4685 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
4687 * src/hildon-time-selector.c
4688 (hildon_time_selector_get_time)
4689 (hildon_time_selector_set_time)
4690 Added documentation of these public methods
4692 * src/hildon-date-button.h
4693 * src/hildon-touch-selector-column.h
4694 * src/hildon-time-button.h
4695 * src/hildon-picker-dialog.h
4696 * src/hildon-time-selector.h
4697 * src/hildon-picker-button.h
4698 * src/hildon-touch-selector.h
4699 * src/hildon-time-picker.h
4700 * src/hildon-date-selector.h
4701 * src/hildon-touch-selector-entry.h
4702 Modified in order to use hildon-widgets code style
4704 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4706 Added deprecated support to the compilation process using
4707 HILDON_DISABLE_DEPRECATED
4709 * configure.ac: Added the --disable-deprecated to the configure
4712 * src/hildon-weekday-picker.c:
4713 * src/hildon-weekday-picker.h: Deprecated widget, example of how
4714 to use the deprecated support. We will update the other deprecated
4715 widgets status in a new patch.
4717 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4719 * configure.ac: Fixed typo with fatal warnings support, the
4720 variable name was not correct
4722 2008-09-29 Alberto Garcia <agarcia@igalia.com>
4724 * src/hildon-app-menu.c
4725 * src/hildon-program.c: Update documentation.
4727 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4729 * configure.ac: Post-release version bump.
4731 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4736 * configure.ac: Pre-release version bump.
4737 * debian/changelog: Updates.
4739 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4741 * NEWS: Update news for previous releases.
4743 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4745 * examples/hildon-touch-selector-multi-cells-example.c:
4746 (create_selector): Update the example to use
4747 hildon_touch_selector_append_column() with a NULL renderer and set
4748 the renderers later.
4749 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
4750 passed a NULL renderer. This is documented behavior now.
4752 Allow passing a NULL renderer to hildon_touch_selector_append_column().
4753 This must be used if the developer wants full control on the layout of
4754 the renderers to be added to the column.
4756 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4758 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4760 * src/hildon-touch-selector.c: Documentation fixes.
4762 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4764 * src/hildon-wizard-dialog-private.h: Remove image and box.
4765 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
4766 (hildon_wizard_dialog_set_property), (response): Completely remove
4767 image/icon support, and the containers required for the layout.
4769 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
4771 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4773 * src/hildon-app-menu.c: Updated documentation.
4775 * src/hildon-stackable-window.c
4776 (hildon_stackable_window_set_main_menu): Unref the old menu after
4777 ref'ing the new one.
4779 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4781 * src/hildon-stackable-window.c
4782 (hildon_stackable_window_set_main_menu): Unref the previous menu
4783 instead of destroying it.
4785 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
4786 floating reference and set has_user_ref_count to FALSE to make
4787 HildonAppMenu act like a normal ref-counted widget and not a
4790 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
4793 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
4795 * src/hildon-touch-selector-column.h: new file
4796 * src/hildon-touch-selector.h
4797 * src/hildon-touch-selector.c
4798 Implemented GtkCellLayout interface, in order to allow to configure
4799 the cell layout on each individual selector column
4800 (hildon_touch_selector_set_column_attributes): marked as deprecated
4801 * examples/hildon-touch-selector-multi-cells-example.c
4802 Example of how to use the GtkCellLayout interface on the selector
4804 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4806 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4808 * src/hildon-app-menu.h
4809 * src/hildon-app-menu.c
4810 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
4811 (hildon_app_menu_append, hildon_app_menu_prepend):
4812 New methods to prepend, insert and move items in the menu.
4814 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4816 * src/hildon-wizard-dialog.c:
4818 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
4820 (create_title): Update logical IDs and related code.
4821 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
4823 * src/hildon-wizard-dialog.h: Note that
4824 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
4825 point, as it is not used anymore.
4827 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
4829 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4831 * src/hildon-note.c:
4832 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
4833 shown. Do not display an icon in confirmation notes nor information
4835 (hildon_note_set_button_text): Update logical ID for cancel button.
4837 Fixes: NB#88850 (Update HildonNote button strings + signals)
4839 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4841 * src/hildon-stackable-window.c
4842 (hildon_stackable_window_set_main_menu): Fix compilation warning.
4844 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4846 * src/hildon-app-menu-private.h
4847 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
4848 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
4849 (hildon_app_menu_init, hildon_app_menu_class_init): Added
4850 temporary property 'columns' to change the number of columns.
4852 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4854 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
4856 * examples/hildon-note-example.c: (on_information_clicked),
4857 (on_confirmation_clicked), (on_progress_clicked), (main): Add
4858 debugging information.
4859 * src/hildon-note-private.h: Remove close_if_pressed_outside,
4861 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
4862 (hildon_note_rebuild): Remove special handling of tapping outside/inside
4863 in order to close: this will be handled by the WM from now on.
4865 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
4867 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4869 * src/hildon-app-menu-private.h
4870 * src/hildon-app-menu.c
4871 (hildon_app_menu_append, hildon_app_menu_add_filter)
4872 (button_visibility_changed, hildon_app_menu_apply_style)
4873 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
4874 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
4875 layout everytime a button (item or filter) is shown or hidden.
4877 * src/hildon-stackable-window.c
4878 (hildon_stackable_window_set_main_menu): Destroy the old menu when
4881 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
4883 * src/hildon-touch-selector.c:
4884 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
4885 that the treeview inside the touch selector is in fremantle hildon mode
4886 * examples/hildon-date-button-example.c
4887 * examples/hildon-picker-button-multicolumn-example.c
4888 * examples/hildon-touch-selector-entry-example.c
4889 * examples/hildon-touch-selector-example.c
4890 * examples/hildon-time-button-example.c
4891 * examples/hildon-picker-button-example.c:
4892 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
4894 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
4896 * examples/hildon-text-view-example.c: (main): Remove the
4897 gtkrc bits, now handled by the theme.
4899 2008-09-22 Alberto Garcia <agarcia@igalia.com>
4901 * src/hildon-picker-button.c (hildon_picker_button_set_active):
4904 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4906 * po/Makefile.am: Install properly the mo files.
4907 * po/en_GB.po: Update translation, to ease testing purposes.
4909 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4911 * examples/hildon-picker-button-example.c: (main): Select an item
4912 in the selector before setting it to the button.
4914 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4916 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
4917 Update button's value if the selector has an item active.
4919 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
4920 'value' with the selector)
4922 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4924 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
4925 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
4926 (hildon_picker_button_class_init): Plug the finalize method.
4927 (hildon_picker_button_set_selector): If there's a previously set
4928 selector, unref'it before setting a new one.
4930 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
4931 HildonTouchSelector)
4933 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
4935 * src/hildon-touch-selector-entry.c:
4936 (hildon_touch_selector_entry_changed): Check if there is no text
4937 selected before setting the entry text.
4940 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4942 * src/hildon-touch-selector.h
4943 * src/hildon-touch-selector.c
4944 (hildon_touch_selector_get_active)
4945 (hildon_touch_selector_set_active): New methods to set/get the
4946 index of the selected item.
4948 * src/hildon-picker-button.h
4949 * src/hildon-picker-button.c
4950 (hildon_picker_button_get_active)
4951 (hildon_picker_button_set_active): New methods to set/get the
4952 index of the selected item.
4954 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4956 * configure.ac: post-release version bump.
4958 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4962 * configure.ac: Pre-release version bump.
4963 * debian/changelog: Updates.
4964 * debian/control: Add myself as maintainer and depend on l10n
4967 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4969 * src/hildon-window.c
4970 (hildon_window_set_main_menu)
4971 * src/hildon-stackable-window.c
4972 (hildon_stackable_window_set_main_menu):
4973 Updated documentation.
4975 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4977 * src/hildon-date-selector.c (hildon_date_selector_finalize):
4978 Don't free selector->priv manually.
4981 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4984 (hildon_gtk_window_set_progress_indicator):
4985 * src/hildon-gtk.h: Added the new API
4986 hildon_gtk_window_set_progress_indicator, it changes the state of
4987 the window progress hint.
4989 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4991 * src/hildon-button.c
4992 * src/hildon-stackable-window.c: Minor documentation updates.
4994 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4996 * src/hildon-stackable-window.c: Updated documentation.
4998 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
5000 * src/hildon-defines.h: Update margins definitions
5001 to the Fremantle sizes.
5004 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5006 * src/hildon-touch-selector.c,
5007 (_hildon_touch_selector_set_model): Cleaning the code after
5008 review, removed g_print and #if 0 from the code.
5010 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5012 * src/hildon-edit-toolbar.c: Update documentation.
5014 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5016 * src/hildon-check-button.h
5017 * src/hildon-check-button.c
5018 (hildon_check_button_set_label, hildon_check_button_get_label)
5019 * examples/hildon-check-button-example.c
5020 (button_clicked_cb):
5021 Removed deprecated methods.
5023 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5025 * src/hildon-text-view.c:
5026 Add sample code to the documentation.
5028 * src/hildon-entry.h
5029 * src/hildon-text-view.h:
5030 Minor cosmetic changes.
5032 * src/hildon-entry.c:
5033 Add sample code to the documentation.
5034 (hildon_entry_init, hildon_entry_refresh_contents):
5035 Don't allow NULL values in the placeholder.
5037 2008-09-10 Alberto Garcia <agarcia@igalia.com>
5039 * doc/hildon-docs.sgml
5041 * examples/Makefile.am
5042 * examples/hildon-text-view-example.c
5044 * src/hildon-text-view.c
5045 * src/hildon-text-view.h
5047 New HildonTextView widget, with example.
5049 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5051 * po/POTFILES.in: Add missing files with translatable strings.
5052 Partially fixes NB#88287.
5054 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5056 * examples/hildon-pannable-area-example-2.c: (main): No need to
5057 set the cellrenderer height inside hildon touch lists, the theme does
5060 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5062 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
5063 they are integrated in the theme.
5065 2008-09-09 Alberto Garcia <agarcia@igalia.com>
5067 * examples/hildon-entry-example.c: Update the example adding
5068 widgets to modify the text and the placeholder of the HildonEntry.
5070 * src/hildon-entry.c: Show the placeholder everytime the widget
5071 is empty and loses the focus.
5073 2008-09-09 Alejandro G. Castro <alex@igalia.com>
5075 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
5077 * src/hildon-pannable-area.c,
5078 (hildon_pannable_area_size_request): Fixed bug in height
5079 requisition, avoid increasing size and add border twice.
5081 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5083 * configure.ac: postrelease version bump.
5085 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5089 * configure.ac: Prerelease version bump.
5090 * debian/changelog: update.
5091 * debian/rules: make -dbg package contain useful debugging symbols.
5093 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5095 * src/hildon-dialog.h
5096 * src/hildon-dialog.c
5097 (hildon_dialog_add_button, hildon_dialog_add_buttons):
5098 New methods to add buttons with finger size.
5099 (hildon_dialog_new_with_buttons):
5100 Create buttons with finger size.
5102 * examples/hildon-dialog-example.c (main): Use HildonDialog
5103 methods to add buttons.
5105 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5107 * src/hildon-entry.c: Updated HildonButton documentation.
5109 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5111 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
5112 button value label with (FALSE, FALSE) to prevent NB#88126 from
5115 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5117 * examples/hildon-pannable-area-example.c,
5118 (main): Removed examples panning a vbox inside a pannable
5119 area. Check bug NB#87965
5121 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5123 Patch contributed by Kris Rietveld (kris@imendio.com)
5125 * src/hildon-pannable-area.c,
5126 (hildon_pannable_area_get_topmost): replaced the get_geometry with
5127 get_size and get_position, this saves an X server roundtrip.
5129 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5131 * doc/hildon-docs.sgml
5133 * examples/Makefile.am
5134 * examples/hildon-entry-example.c
5136 * src/hildon-entry.c
5137 * src/hildon-entry.h
5139 New HildonEntry widget, with example.
5141 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5143 * src/hildon-button.c (hildon_button_construct_child): Pack the
5144 image with expand == fill == FALSE. This is a workaround for a bug
5147 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
5149 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
5150 labels for the text column, to make it more look more dynamic.
5152 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5154 * src/hildon-time-selector.c
5155 Define gettext auxiliar macro N_
5156 (_create_minutes_model)
5157 (_create_hours_model)
5158 (_create_ampm_model): use of strftime in order to fill the model
5159 * src/hildon-date-selector.c
5160 (hildon_date_selector_finalize):
5161 (_locales_init): remove the logic related to get the name of the months
5162 using nl_langinfo, as it is not required anymore
5164 (_create_year_model)
5165 (_create_month_model)
5166 (_update_day_model): use of strftime in order to fill the model properly
5169 2008-09-04 Alberto Garcia <agarcia@igalia.com>
5171 * src/hildon-button.h
5172 * src/hildon-button.c (hildon_button_get_image): New method to
5175 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
5177 * src/hildon-touch-selector.c:
5178 (hildon_touch_selector_remove_column): Remove from the correct parent
5179 and also remove the list element and free it.
5182 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5184 * src/hildon-time-selector.c
5185 (_create_hours_model): change the range on 12h ampm format in order to use
5186 a 12-11 range instead of previous 01-12 range
5187 (hildon_time_selector_set_time): change the way to select the current time
5188 on 12h ampm format, due the change on the range
5189 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
5192 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
5194 * src/hildon-touch-selector.c
5195 (hildon_date_touch_selector_get_selected): fix the selection mode check,
5196 in order to allow use this function on multiple row selection mode if
5197 the column is different that the first one
5200 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
5202 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
5203 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
5205 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5207 * src/hildon-date-selector.h: clean some comments, now on the .c
5208 * src/hildon-date-selector.c
5209 (hildon_date_selector_select_month): first implementation
5210 (hildon_date_selector_select_day): added documentation, reimplemented
5211 using hildon_date_selector_select_current_date to avoid repeat code
5214 2008-09-02 Alejandro G. Castro <alex@igalia.com>
5216 Reviewed interaction logic based on device experiences, refactored
5219 * src/hildon-pannable-area.c,
5220 (hildon_pannable_area_class_init): Updated default vmax speed.
5221 (hildon_pannable_area_calculate_velocity): Added this function, it
5222 avoids duplicate valocity calculation. Adjusted calculation to
5223 avoid problems with zero dist events.
5225 (hildon_pannable_area_motion_notify_cb): Now we use the
5226 calculate_velocity function.
5228 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5230 * src/hildon-date-selector.c
5231 (hildon_date_selector_select_current_date): fix the day range check
5232 as it failed using the last day of the current month
5235 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5237 * src/hildon-touch-selector.c
5238 (hildon_touch_selector_get_num_columns): added a parameter validation
5241 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5243 * examples/Makefile.am
5244 * examples/hildon-edit-toolbar-example.c: Example of the
5245 HildonEditToolbar widget.
5247 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5249 * configure.ac: postrelease version bump.
5251 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5255 * configure.ac: prerelease version bump.
5256 * debian/changelog: update.
5258 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5260 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
5261 renderer to display stock icons in the touch list. Also, set the sizes
5262 to the recommended in the style guide.
5264 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5265 * src/hildon-touch-selector.h
5266 (hildon_touch_selector_set_active_iter): renamed, now is
5267 hildon_touch_selector_select_iter
5268 (hildon_touch_selector_get_active_iter): renamed, now is
5269 hildon_touch_selector_get_selected
5270 (hildon_touch_selector_unselect_iter): added
5271 * src/hildon-touch-selector.c
5272 Update after API modification (methods renamed)
5273 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
5274 order to avoid problems selecting multiple elements on the column
5275 (hildon_touch_selector_unselect_iter): added the implementation
5276 * src/hildon-time-selector.c
5277 * src/hildon-date-selector.c
5278 * src/hildon-touch-selector-entry.c
5279 Update methods calls after hildon-touch-selector.h API modification (methods
5282 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5284 * src/hildon-stackable-window.c
5285 (hildon_stackable_window_finalize): Call the parent class's finalize.
5287 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5289 * examples/hildon-touch-selector-example.c: (create_selector): Use
5290 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
5293 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5295 * examples/hildon-touch-selector-example.c: (create_selector): Do not
5296 set a cell background color, to respect theming.
5298 2008-08-28 Alberto Garcia <agarcia@igalia.com>
5300 * doc/hildon-docs.sgml
5303 * src/hildon-edit-toolbar.c
5304 * src/hildon-edit-toolbar.h
5305 * src/hildon.h: New HildonEditToolbar widget.
5307 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
5309 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
5312 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5313 * src/hildon-touch-selector.c
5314 (_create_new_column): use g_object_set instead of two g_object_set_property
5316 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5317 * src/hildon-touch-selector.c
5318 (_create_new_column): use of hildon_gtk_tree_view_new to create
5319 the treeview, instead of use directly g_object_new
5320 (_create_new_column): update the property name "vindicator-mode" for the
5321 new one "vscrollbar-policy"
5322 * examples/hildon-date-button-example.c
5323 * examples/hildon-picker-button-multicolumn-example.c
5324 * examples/hildon-touch-selector-entry-example.c
5325 * examples/hildon-touch-selector-example.c
5326 * examples/hildon-time-button-example.c
5327 * examples/hildon-picker-button-example.c
5328 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
5329 to all the treeviews inside a pannable area.
5331 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5333 * src/hildon-button.h
5334 * src/hildon-button.c (hildon_button_init)
5335 (hildon_button_set_arrangement, hildon_button_set_alignment)
5336 (hildon_button_set_title_alignment)
5337 (hildon_button_set_value_alignment)
5338 (hildon_button_set_image_alignment)
5339 (hildon_button_construct_child): New methods to set the alignment
5340 of the individual components of the button (title, value,
5341 image). Also, new method to alter the xscale and yscale properties
5342 of the GtkAlignment inside the button, so more complex layouts can
5345 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5347 * src/hildon-button.c (hildon_button_style_set)
5348 (hildon_button_class_init, hildon_button_set_arrangement)
5349 (hildon_button_construct_child): Apply style properties
5350 correctly. Use the 'image-spacing' style property too.
5352 2008-08-26 Alberto Garcia <agarcia@igalia.com>
5354 * src/hildon-app-menu.c (hildon_app_menu_style_set)
5355 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
5358 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5360 * src/hildon-pannable-area.c,
5361 (hildon_pannable_area_size_request): Fixed problem with
5362 pannable-area size_request.
5364 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5366 Added management for the grab-focus to a child widget, like a
5367 range, we need to fade out the scrollbar when releasing.
5369 * src/hildon-pannable-area.c,
5370 (hildon_pannable_area_init): Connected the grab-focus signal to
5372 (hildon_pannable_area_grab_notify): Added this function in order
5373 to manage the situation when the grab-focus ends. We have to
5374 fade-out the scrollbar.
5376 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5378 * src/hildon-app-menu.c: Minor documentation update.
5380 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5382 * src/hildon-app-menu.c
5383 * examples/hildon-app-menu-example.c (create_menu): Update
5384 examples and documentation to explain how to connect callbacks.
5386 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
5388 * examples/hildon-button-example.c
5389 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
5390 hildon_stackable_window_new instead of gtk_window_new
5392 2008-08-22 Alejandro G. Castro <alex@igalia.com>
5394 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
5395 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
5396 (hildon_pannable_area_set_property),
5397 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
5398 (hildon_pannable_area_unrealize),
5399 (hildon_pannable_area_size_request),
5400 (hildon_pannable_area_size_allocate),
5401 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
5402 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
5403 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
5404 (hildon_pannable_area_initial_effect),
5405 (hildon_pannable_area_redraw),
5406 (hildon_pannable_area_scroll_indicator_fade),
5407 (hildon_pannable_area_expose_event),
5408 (hildon_pannable_area_get_topmost), (synth_crossing),
5409 (hildon_pannable_area_button_press_cb),
5410 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
5411 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
5412 (hildon_pannable_area_motion_notify_cb),
5413 (hildon_pannable_area_button_release_cb),
5414 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
5415 (hildon_pannable_area_remove),
5416 (hildon_pannable_calculate_vel_factor): Widget refactorization,
5417 chage the code layout to a more GtkWidget like. Review the use of
5420 2008-08-21 Alejandro G. Castro <alex@igalia.com>
5422 * examples/hildon-pannable-area-example-4.c,
5423 (main): Modified the name of the hindicator_mode to
5426 * src/hildon-pannable-area.c,
5427 (hildon_pannable_area_class_init),
5428 (hildon_pannable_area_motion_notify_cb),
5429 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
5430 we have reduced the amount of signals and managed reviewed its
5431 rationale. Changed the default decelerate value.
5433 (hildon_pannable_area_add),
5434 (hildon_pannable_area_redraw): Refactored functions.
5436 (hildon_pannable_area_init),
5437 (hildon_pannable_area_get_property),
5438 (hildon_pannable_area_set_property):
5439 (hildon_pannable_draw_vscroll),
5440 (hildon_pannable_draw_hscroll),
5441 (hildon_pannable_area_initial_effect),
5442 (hildon_pannable_area_expose_event),
5443 (hildon_pannable_area_scroll),
5444 (hildon_pannable_area_button_press_cb),
5445 (hildon_pannable_area_realize): Replaced the names hindicator_mode
5446 and vindicator_mode with hscrollbar_policy and
5447 vscrollbar_policy. Replaced hscroll and vscroll with
5448 hscroll_visible and vscroll_visible.
5450 (hildon_pannable_area_refresh): Refactor the function, remove
5451 variables and check the calls to this function, added resize
5452 conditions in case the children change their layout.
5454 (hildon_pannable_area_size_request): Added more detailed
5455 size_request calculation.
5458 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
5460 * src/hildon-color-chooser.c
5461 (init_borders): use the correct gtk_border_free instead of g_free, to
5462 avoid a crash when this widget is used (ie: the three color selection
5465 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5467 * src/hildon-check-button.c,
5468 (hildon_check_button_set_active): Fixed problem when setting the
5469 active value, the widget was not redrawn.
5471 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5473 * src/hildon-pannable-area.c,
5474 (hildon_pannable_area_refresh),
5475 (hildon_pannable_area_scroll),
5476 (hildon_pannable_area_motion_notify_cb): Small code style change.
5478 (hildon_pannable_area_class_init): Default initial_hint set to
5479 FALSE, it is not in the specs.
5481 (hildon_pannable_area_initial_effect),
5482 (hildon_pannable_area_expose_event),
5483 (hildon_pannable_area_map),
5484 (hildon_pannable_area_init): Moved the launching point of the
5485 initial effect, it was in map but the sizes where not correct in
5486 that method so we do not know if we have the reproduce it. Now it
5487 is placed in the expose_event method and uses a variable to
5488 reproduce it just once.
5490 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5492 * src/hildon-pannable-area.c,
5493 (hildon_pannable_draw_vscroll),
5494 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
5495 position allowed for the scrollbars.
5497 (hildon_pannable_area_size_allocate): Small style change.
5499 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5501 * src/hildon-pannable-area.c,
5502 (hildon_pannable_area_scroll_indicator_fade),
5503 (hildon_pannable_area_button_press_cb),
5504 (hildon_pannable_area_button_release_cb),
5505 (hildon_pannable_area_scroll_cb),
5506 (hildon_pannable_area_expose_event),
5507 (hildon_pannable_area_init): Added the define parameter
5508 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
5509 and refactor the fade variable.
5511 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5513 * src/hildon-pannable-area.c,
5514 (hildon_pannable_area_redraw),
5515 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
5516 lines, we were reimplemeting the redraw code.
5518 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5520 * src/hildon-pannable-area.c,
5521 (hildon_pannable_area_scroll_cb),
5522 (hildon_pannable_area_realize),
5523 (hildon_pannable_area_class_init): Added scroll_event management
5524 for pannable area, now we can scroll the usual desktop method.
5526 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
5527 initialization of the parameters should depend on idle_id.
5529 (hildon_pannable_area_init),
5530 (hildon_pannable_area_map): Small code style modifications
5532 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5534 * src/hildon-pannable-area.c
5535 (hildon_pannable_area_button_press_cb),
5536 (hildon_pannable_area_motion_notify_cb),
5537 (hildon_pannable_area_button_release_cb),
5538 (hildon_pannable_area_size_allocate),
5539 (hildon_pannable_area_scroll_to): Improved the timeouts
5540 management, we avoid creating them each time.
5542 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5544 * src/hildon-pannable-area.c:
5545 (hildon_pannable_area_refresh),
5546 (hildon_pannable_area_motion_notify_cb),
5547 (hildon_pannable_area_class_init):
5548 * src/hildon-pannable-area.h:
5549 * src/hildon-touch-selector.c
5550 (_create_new_column):
5551 * examples/hildon-pannable-area-example-4.c:
5552 (horizontal_movement),
5553 (vertical_movement),
5555 Replaced the names of enums in the HildonPannableArea:
5556 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
5557 HILDON_MOVEMENT_MODE_*
5558 - HILDON_PANNABLE_AREA_MOV_* ->
5560 - Removed HildonPannableAreaIndicatorMode, now we
5563 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5565 * examples/hildon-pannable-area-touch-grid-example.c
5566 * examples/hildon-pannable-area-touch-list-example.c: Fix
5567 compilation warnings.
5569 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5571 * src/hildon-gtk.c (hildon_gtk_button_new)
5572 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
5573 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
5574 images overriding the value of the "gtk-button-images" setting.
5576 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5578 * src/hildon-check-button.c (hildon_check_button_new):
5579 Instead of using a custom container, display the label and the
5580 checkbox using the standard GtkButton API.
5582 * examples/hildon-check-button-example.c (main): Don't use
5583 hildon_check_button_set_label() anymore
5585 * src/hildon-check-button.h
5586 * src/hildon-check-button.c
5587 (hildon_check_button_set_label, hildon_check_button_get_label):
5588 Set as deprecated, now we're using gtk_button_{get,set}_label()
5590 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5592 * src/hildon-pannable-area.c,
5593 (hildon_pannable_area_get_topmost): Fixed bug with click in the
5594 GtkTreeview first line we detected it after the inclusion of the
5595 GtkWindowImpl in gtk+. We now check if the window is visible, not
5596 just if the pointer is over the window.
5597 (hildon_pannable_axis_scroll),
5598 (hildon_pannable_area_expose_event): Small style changes.
5600 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5602 * src/hildon-button.c: Update documentation.
5604 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5606 * examples/hildon-button-example.c: Add a switch to show images in
5609 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5611 * doc/hildon-docs.sgml: Some docs reorganization.
5613 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5615 * examples/hildon-pannable-area-touch-list-example.c
5617 * examples/hildon-pannable-area-touch-grid-example.c
5618 (create_icon_view): Use gtk_{tree,icon}_view_new() and
5619 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
5620 Fix memory leak when setting the tree model.
5622 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5626 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5628 * doc/hildon.types: Remove duplicated hildon_window_get_type
5629 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
5630 documentation comment.
5632 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5634 * doc/Makefile.am: Complete list of private headers.
5636 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5638 * doc/hildon-docs.sgml
5639 * src/hildon-app-menu.c
5640 * src/hildon-bread-crumb.c
5641 * src/hildon-button.c
5643 * src/hildon-program.c
5644 * src/hildon-stackable-window.c
5645 * src/hildon-window.c: Lots of documentation updates.
5647 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5649 * debian/control: Depend on Gtk 2:2.12.9-0osso3
5651 * configure.ac: Require Gtk+ 2.12.9 at least
5653 2008-08-12 Alejandro G. Castro <alex@igalia.com>
5655 * src/hildon-pannable-area.c
5656 (hildon_pannable_area_scroll_indicator_fade),
5657 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
5658 to protect the return of this timeout callbacks, avoiding deadlocks.
5660 2008-08-12 Christian Dywan <christian@imendio.com>
5663 * src/hildon-*.h: Ensure a consistent include order,
5664 include <gtk/gtk.h> instead of particular files and
5665 only include the topmost header in the gtk stack. See NB #39857
5667 2008-08-12 Christian Dywan <christian@imendio.com>
5669 * src/hildon-picker-dialog.c
5670 * src/hildon-touch-selector.c: Fix warnings about unused and
5671 uninitialized variables.
5673 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5675 * examples/Makefile.am
5676 * examples/hildon-check-button-example.c: Example of the hildon
5679 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5681 * src/hildon-window.h
5682 * src/hildon-window.c (hildon_window_class_init)
5683 (hildon_window_unset_program): Don't make
5684 hildon_window_unset_program a virtual function anymore.
5686 * src/hildon-stackable-window.c: Update documentation
5688 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5691 * doc/hildon-docs.sgml
5692 * doc/visual_index.xml
5693 * src/hildon-defines.c
5695 * src/hildon-helper.c
5696 * src/hildon-range-editor.c: Lots of documentation fixes.
5698 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5700 * examples/hildon-picker-button-multicolumn-example.c
5701 (create_touch_selector): Fix compilation warning.
5703 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5705 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
5706 (hildon_pannable_area_button_release_cb)
5707 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
5709 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5711 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
5714 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5716 * src/hildon-bread-crumb-trail.h
5717 * src/hildon-date-editor.c
5718 * src/hildon-date-selector.c
5719 * src/hildon-pannable-area.c
5720 * src/hildon-picker-dialog.c
5721 * src/hildon-time-selector.c
5722 * src/hildon-touch-selector-entry.c
5723 * src/hildon-touch-selector.c
5724 * src/hildon-touch-selector.h: Misc documentation fixes
5726 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5728 * examples/hildon-date-editor-example.c (main): Updated date
5731 * examples/hildon-note-example.c (on_confirmation_clicked):
5732 Updated confirmation note example.
5734 * src/hildon-date-editor.c
5735 * src/hildon-note.c: Updated sample programs in documentation.
5738 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5740 * src/hildon-date-button.h:
5741 * src/hildon-picker-button.h:
5742 * src/hildon-time-button.c:
5743 * src/hildon-time-button.h:
5745 Some declarations changes to allow gtk-doc to document the widgets
5748 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5750 * src/hildon-date-button.c: Document the widget.
5751 * src/hildon-time-button.c: Document the widget.
5753 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5755 * src/hildon-picker-button.c: Document the widget.
5756 * src/hildon-touch-selector-entry.c: Document the widget.
5758 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5760 * doc/hildon-docs.sgml
5763 * src/hildon-check-button.h
5764 * src/hildon-check-button.c: New functions to create the Hildon
5768 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
5770 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5772 * src/hildon-button.h
5773 * src/hildon-button.c
5774 (hildon_button_add_title_size_group)
5775 (hildon_button_add_value_size_group)
5776 (hildon_button_add_image_size_group)
5777 (hildon_button_add_size_groups): New functions to set size groups
5778 for the button labels and image.
5779 (hildon_button_new_full): Removed
5781 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
5783 * src/hildon-time-selector.c
5784 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
5785 in order to avoid a crash if gconf is not available
5787 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5789 * src/hildon-button.c (hildon_button_set_arrangement)
5790 (hildon_button_construct_child): Don't construct the button child
5791 before setting the arrangement.
5793 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5795 * src/hildon-program-private.h
5796 * src/hildon-program.c
5797 * src/hildon-program.h
5798 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
5799 (hildon_program_peek_window_stack)
5800 (hildon_program_pop_window_stack)
5801 (hildon_program_go_to_root_window): HildonProgram now has a
5802 separate list for stackable windows. Functions are provided to
5803 manage that list with a stack-like API.
5805 * src/hildon-stackable-window.c: Stackable window management is
5806 now much simpler with the new HildonProgram API. Windows no
5807 longer need to be manually added to the program, they're
5808 automatically pushed to the top of the stack when shown.
5810 * examples/hildon-stackable-window-example.c: Updated example to
5811 reflect the API changes.
5813 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5815 * src/hildon-touch-selector.c: Comment out unimplemented
5816 hildon_touch_selector_insert_column() to avoid a compile warning.
5818 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5820 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5821 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
5822 (hildon_touch_selector_set_column_selection_mode),
5823 (_hildon_touch_selector_set_model),
5824 (hildon_touch_selector_set_model):
5826 Complete review of HildonTouchSelector documentation.
5828 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5830 * doc/hildon-docs.sgml
5834 * src/hildon-gtk.c: Convenience functions for standard Gtk
5835 widgets, used to easily perform frequent operations.
5837 * src/hildon-button-helpers.h
5838 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
5840 * src/hildon-helper.h
5841 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
5842 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
5844 * src/hildon-button.h
5845 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
5847 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5849 * src/hildon-button.c (hildon_button_init)
5850 (hildon_button_set_arrangement, hildon_button_construct_child):
5851 Pack the image and the labels inside the same GtkAlignment so
5852 gtk_button_set_alignment() can be used
5854 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5856 * src/hildon-button.h
5857 * src/hildon-button.c
5858 (hildon_button_init, hildon_button_set_image)
5859 (hildon_button_set_image_position)
5860 (hildon_button_construct_child): New functions to add an image to
5863 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5865 * src/hildon-date-button.c
5866 * src/hildon-picker-button.c
5867 * src/hildon-time-button.c
5868 * src/hildon-button.c:
5869 (hildon_button_class_init): "size-flags" renamed to "size"
5870 (hildon_button_set_title): Hide the title label if set to NULL.
5872 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5874 HildonButtonFlags split into HildonButtonArrangement (to set the
5875 button layout) and HildonSizeType (which can be used for any
5878 * src/hildon-button.h
5879 * src/hildon-button.c
5880 (hildon_button_class_init)
5881 (hildon_button_set_arrangement)
5882 (hildon_button_set_property): New "size-flags"
5883 property. "arrangement-flags" renamed to "arrangement".
5884 (hildon_button_new, hildon_button_new_with_text)
5885 (hildon_button_new_full): Constructors updated to reflect type changes.
5887 * src/hildon-helper.h
5888 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
5889 to set the size of a widget.
5893 * src/hildon-button-helpers.c
5894 * src/hildon-button-helpers.h: New hildon-button-helpers module.
5896 * src/hildon-date-button.c
5897 * src/hildon-date-button.h
5898 * src/hildon-picker-button.c
5899 * src/hildon-picker-button.h
5900 * src/hildon-time-button.c
5901 * src/hildon-time-button.h: Updated widgets to reflect
5902 HildonButton API changes.
5904 * examples/hildon-button-example.c
5905 * examples/hildon-date-button-example.c
5906 * examples/hildon-picker-button-example.c
5907 * examples/hildon-picker-button-multicolumn-example.c
5908 * examples/hildon-time-button-example.c
5909 * examples/hildon-touch-selector-entry-example.c
5910 * examples/hildon-touch-selector-example.c: Updated examples to
5911 reflect HildonButton API changes.
5913 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5915 * doc/hildon-docs.sgml:
5917 * examples/Makefile.am:
5918 * examples/hildon-touch-selector-entry-example.c:
5920 * src/hildon-touch-selector-entry.c:
5921 * src/hildon-touch-selector-entry.h:
5924 Moved HildonTouchSelectorEntry from sandbox. Added its
5925 documentation and examples.
5927 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5929 * src/hildon-touch-selector.h:
5930 * examples/hildon-picker-button-multicolumn-example.c:
5931 (hildon_touch_selector_append_text_column): Add a gboolean
5932 parameter to determine if text must be centered in the column.
5934 * src/hildon-date-selector.c: (hildon_date_selector_init):
5935 * src/hildon-time-selector.c: (hildon_time_selector_init):
5936 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
5937 (create_touch_selector): Update widgets and example to reflect
5940 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5942 * src/hildon-touch-selector.c:
5943 (hildon_touch_selector_set_active_iter): Set also the cursor in
5946 2008-08-06 Alberto Garcia <agarcia@igalia.com>
5948 * doc/hildon-docs.sgml
5951 * src/hildon-toggle-button.c
5952 * src/hildon-toggle-button.h
5953 * src/hildon.h: Removed HildonToggleButton widget, a derived
5954 class is not necessary for this.
5956 2008-08-06 Alejandro G. Castro <alex@igalia.com>
5958 * src/hildon-pannable-area.c,
5959 (hildon_pannable_area_realize),
5960 (hildon_pannable_area_size_allocate): Code refactoring, add tests
5963 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
5965 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
5966 "done" button the default widget for the dialog.
5968 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5970 * src/hildon-touch-selector.c:
5971 (hildon_touch_selector_class_init),
5972 (hildon_touch_selector_get_property),
5973 (_hildon_touch_selector_set_model),
5974 (_hildon_touch_selector_has_multiple_selection),
5975 (hildon_touch_selector_has_multiple_selection):
5976 Add a "has-multiple-selection" property with a virtual
5977 has_multiple_selection() method to allow derived classes to
5978 override the default value for it. See the method and property
5979 documentation for details.
5981 * src/hildon-touch-selector.h: Add the new API.
5983 * src/hildon-picker-dialog.c: (requires_done_button): Call
5984 hildon_touch_selector_has_multiple_selection() instead of
5985 determining the need for a button itself.
5987 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5989 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5990 (_hildon_touch_selector_set_model),
5991 (hildon_touch_selector_set_model): Move working code to
5992 _hildon_touch_selector_set_mode(). Call the class method instead.
5994 * src/hildon-touch-selector.h: Add (*set_model) to
5995 HildonTouchSelectorClass.
5997 Make hildon_touch_selector_set_model() a virtual method, so that
5998 derived classes can extend it and do fancy stuff with the model.
6000 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6002 * configure.ac: Set back the tarname in AC_INIT to hildon.
6004 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6008 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
6009 instead of libesd (NB#86876). Volume handling is still an open issue.
6011 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
6014 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6016 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
6017 (hildon_touch_selector_append_column): Make the widget a GtkVBox
6018 derived class to ease placement of an entry widget in
6019 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
6020 end, where the selector columns are packed now.
6022 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6024 * src/hildon-picker-button.c: Removed the simple _text() API.
6025 * src/hildon-picker-button.h: Likewise.
6027 * src/hildon-touch-selector.h:
6028 * src/hildon-touch-selector.c:
6029 (hildon_touch_selector_new_text),
6030 (hildon_touch_selector_append_text),
6031 (hildon_touch_selector_prepend_text),
6032 (hildon_touch_selector_insert_text):
6034 Moved the simple _text() API from HildonPickerButton to
6035 HildonTouchPicker, to provide better escalability and not to tie
6036 that API to HildonPickerButton.
6038 * examples/hildon-picker-button-example.c: (main): Example updated.
6040 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6042 * src/hildon-button.c: Updated documentation.
6044 * examples/hildon-button-example.c: Add the posibility to create
6045 the buttons using horizontal layout for title and value.
6047 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6049 * src/hildon-app-menu-private.h
6050 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
6051 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
6052 GtkSizeGroup for the filters, use the 'homogeneous' property of
6055 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6057 * examples/hildon-button-example.c: Updated example.
6059 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
6061 * doc/hildon-docs.sgml:
6064 Update documentation.
6066 * examples/Makefile.am: Update renamed examples.
6068 * examples/hildon-picker-button-multicolumn-example.c:
6069 (create_touch_selector), (main): Update after the rename.
6071 * examples/hildon-touch-picker-example.c: Removed.
6072 * examples/hildon-touch-selector-example.c: (value_changed),
6073 (create_selector), (get_visible_content), (main): Renamed from
6074 hildon-touch-picker-example.c
6076 * src/Makefile.am: Updated renamed files.
6078 * src/hildon-date-button.c: (hildon_date_button_init),
6079 (hildon_date_button_get_date), (hildon_date_button_set_date):
6080 * src/hildon-date-selector.c: (hildon_date_selector_init),
6081 (_custom_print_func), (_update_day_model),
6082 (_manage_selector_change_cb),
6083 (hildon_date_selector_select_current_date),
6084 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
6085 * src/hildon-date-selector.h:
6086 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6087 (hildon_picker_button_set_property),
6088 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6089 (hildon_picker_button_init), (hildon_picker_button_new_text),
6090 (hildon_picker_button_append_text),
6091 (hildon_picker_button_prepend_text),
6092 (hildon_picker_button_insert_text),
6093 (hildon_picker_button_set_selector),
6094 (hildon_picker_button_get_selector):
6095 * src/hildon-picker-button.h:
6096 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
6097 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
6098 (_update_title_on_selector_changed_cb), (requires_done_button),
6099 (_hildon_picker_dialog_set_selector),
6100 (hildon_picker_dialog_set_selector),
6101 (hildon_picker_dialog_get_selector):
6102 * src/hildon-picker-dialog.h:
6103 * src/hildon-time-button.c: (hildon_time_button_init),
6104 (hildon_time_button_get_time), (hildon_time_button_set_time):
6105 * src/hildon-time-selector.c: (hildon_time_selector_init),
6106 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
6107 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
6108 * src/hildon-time-selector.h:
6111 Massive code updates after the rename.
6113 * src/hildon-touch-picker.c: Removed.
6114 * src/hildon-touch-picker.h: Removed.
6116 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6117 (hildon_touch_selector_init), (hildon_touch_selector_map),
6118 (hildon_touch_selector_remove), (_default_print_func),
6119 (_selection_changed_cb), (_create_new_column),
6120 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
6121 (hildon_touch_selector_append_text_column),
6122 (hildon_touch_selector_remove_column),
6123 (hildon_touch_selector_set_column_attributes),
6124 (hildon_touch_selector_insert_column),
6125 (hildon_touch_selector_get_num_columns),
6126 (hildon_touch_selector_get_column_selection_mode),
6127 (hildon_touch_selector_set_column_selection_mode),
6128 (hildon_touch_selector_set_print_func),
6129 (hildon_touch_selector_get_print_func),
6130 (hildon_touch_selector_get_active_iter),
6131 (hildon_touch_selector_set_active_iter),
6132 (hildon_touch_selector_get_selected_rows),
6133 (hildon_touch_selector_get_model),
6134 (hildon_touch_selector_set_model),
6135 (hildon_touch_selector_get_current_text),
6136 (_hildon_touch_selector_center_on_selected_items):
6137 * src/hildon-touch-selector.h: Renamed from
6138 hildon-touch-picker.[ch]
6140 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
6141 references, code examples, and related documentation.
6143 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6145 * doc/hildon-docs.sgml
6148 * src/hildon-toggle-button.c
6149 * src/hildon-toggle-button.h
6150 * src/hildon.h: New HildonToggleButton widget.
6152 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6154 * src/hildon-button.c: Add API documentation.
6155 (hildon_button_set_size_groups): Check input parameters
6157 2008-07-30 Alejandro G. Castro <alex@igalia.com>
6159 * src/hildon-pannable-area.c
6160 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
6161 effect after reaching the movement thredshold. This way we start
6162 using the distance after passing the thredshold.
6164 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6166 * src/hildon-button.c: (hildon_button_set_property): Use the
6167 appropriate g_value_get_flags() method.
6169 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6171 * doc/hildon-docs.sgml:
6174 Add the touch pickers, picker dialogs, and picker button widgets
6175 to the documentation.
6177 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6179 * src/hildon-button.c: (hildon_button_set_property),
6180 (hildon_button_class_init): Make "arrangement-flags" a proper
6181 G_TYPE_FLAGS derived property.
6183 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6185 * examples/Makefile.am: Add below examples.
6186 * examples/hildon-date-button-example.c:
6187 * examples/hildon-picker-button-example.c:
6188 * examples/hildon-picker-button-multicolumn-example.c:
6189 * examples/hildon-time-button-example.c:
6190 * examples/hildon-touch-picker-example.c:
6192 Add examples for the recently added touch pickers,
6193 picker dialogs, and picker button widgets.
6195 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6197 * src/hildon-button.c: Add some API documentation
6199 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6201 * src/hildon-button.h
6202 * src/hildon-button.c
6204 (hildon_button_new_with_text): New constructor to create a button
6205 with no text at all.
6206 (hildon_button_init, hildon_button_set_arrangement)
6207 (hildon_button_set_title, hildon_button_set_value)
6208 (hildon_button_set_text)
6209 (hildon_button_construct_child): Hide the value when it's not used
6210 so the rest of the text is properly aligned.
6211 Allow creating buttons with arbitrary widgets inside (not just
6212 title/value labels).
6214 * examples/hildon-button-example.c (vertical_buttons_window)
6215 (horizontal_buttons_window): Update example to use new API.
6217 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6219 * src/Makefile.am: Added HildonTimeButton.
6220 * src/hildon-time-button.c: Added missing LGPL header.
6221 * src/hildon-time-button.h: Added missing LGPL header.
6222 * src/hildon.h: Add hildon-time-button.h
6224 Copied HildonTimeButton from sandbox to trunk. Future work on this
6225 widget must take place in trunk.
6227 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6229 * src/Makefile.am: Added HildonDateButton.
6230 * src/hildon-date-button.c: Update includes.
6231 * src/hildon.h: Add hildon-date-button.h
6233 Copied HildonDateButton from sandbox to trunk. Future work on this
6234 widget must take place in trunk.
6236 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6238 * src/Makefile.am: Added HildonPickerButton.
6239 * src/hildon-picker-button.h: Update includes.
6240 * src/hildon.h: Add hildon-picker-button.h
6242 Copied HildonPickerButton from sandbox to trunk. Future work on
6243 this widget must take place in trunk.
6245 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6247 * src/Makefile.am: Added HildonPickerDialog.
6248 * src/hildon-picker-dialog.c: Update includes.
6249 * src/hildon.h: Add hildon-picker-dialog.h
6251 Copied HildonPickerDialog from sandbox to trunk. Future work
6252 on this widget must take place in trunk.
6254 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6256 * src/Makefile.am: Added HildonTimeSelector.
6257 * src/hildon.h: Add hildon-time-selector.h
6259 Copied HildonTimeSelector widget from sandbox to trunk. Future
6260 work on this widget must happen in trunk.
6262 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6264 * src/Makefile.am: Added HildonDateSelector.
6265 * src/hildon.h: Add hildon-date-selector.h
6267 Copied HildonDateSelector widget from sandbox to trunk. Future
6268 work on this widget must happen in trunk.
6270 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6272 * src/Makefile.am: Added HildonTouchPicker.
6273 * src/hildon-touch-picker.c: Update includes.
6274 * src/hildon.h: Add hildon-touch-picker.h
6276 Copied HildonTouchPicker widget from sandbox to trunk. Future work
6277 on this widget must happen in trunk.
6279 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6281 * src/hildon-pannable-area.c:
6282 (hildon_pannable_area_motion_notify_cb): Fix a typo.
6284 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6286 * examples/hildon-app-menu-example.c (main): Let the window
6289 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6291 * src/hildon-pannable-area.c
6292 (hildon_pannable_area_class_init): Set the min value of the
6293 overshoot properties to zero, which points out that not
6294 overshooting allowed.
6296 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6298 Modified the procedure to get the widget at a point inside the
6299 pannable area when using the movement type signals. Now the user
6300 has to call a function to get the child, that way we just
6301 calculate the child in case the user really want to use it and not
6304 * src/hildon-marshalers.list: Modified the marshallers, now we do
6305 not have the widget as a parameter.
6307 * src/hildon-pannable-area.c
6308 (hildon_pannable_area_motion_notify_cb),
6309 (hildon_pannable_area_class_init),
6310 (hildon_pannable_get_child_widget_at): Removed the widget
6311 parameter from the signal callback. We have also refactored the
6312 emission of the signals.
6314 * src/hildon-pannable-area.h: Added a new method to the API to
6315 calculate a widget at a point inside the pannable area,
6316 hildon_pannable_get_child_widget_at.
6318 * examples/hildon-pannable-area-example-4.c
6319 (horizontal_movement): Modified the example to use the new API,
6320 added condition to control which widget is under the event. This
6321 way we can avoid scrolling laterally over other widgets.
6323 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6325 * src/hildon-pannable-area.c
6326 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
6327 modes, we stop getting the pointer events due to returning the
6328 callback without properly calling the get pointer again. Fixed
6329 also an error using the hscroll and vscroll.
6331 2008-07-28 Alberto Garcia <agarcia@igalia.com>
6333 * src/hildon-app-menu-private.h
6334 * src/hildon-app-menu.c (hildon_app_menu_button_press)
6335 (hildon_app_menu_button_release, hildon_app_menu_init)
6336 (hildon_app_menu_class_init): Don't hide the menu on button
6337 release if the user didn't press outside first.
6339 * src/hildon-window.h
6340 * src/hildon-window.c (hildon_window_toggle_menu)
6341 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
6342 hildon_window_toggle_menu a virtual function for the stackable
6343 window to override it.
6345 * src/hildon-stackable-window.h
6346 * src/hildon-stackable-window-private.h
6347 * src/hildon-stackable-window.c
6348 (hildon_stackable_window_realize)
6349 (hildon_stackable_window_finalize)
6350 (hildon_stackable_window_class_init)
6351 (hildon_stackable_window_init)
6352 (hildon_stackable_window_set_main_menu): New function to set the
6353 app menu of a HildonStackableWindow.
6355 * examples/hildon-app-menu-example.c: Remove the button to show
6356 the app menu, now it'll be shown when clicking on the title bar
6359 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6361 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
6362 set the widget name if the arrangement flags do not specify
6365 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6367 * src/hildon-button.c: (hildon_button_set_property),
6368 (hildon_button_class_init), (hildon_button_new_full),
6369 (hildon_button_set_arrangement): Added "arrangement-flags"
6372 Make the HildonButtonFlags a construction-only property, to allow
6373 subclasses to set them properly.
6375 2008-07-21 Tim Janik <timj@imendio.com>
6377 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
6378 insertion position after backspace, so additional digits are appended,
6381 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6383 * src/hildon-pannable-area.c,
6384 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
6385 TODO list, it was complete and removed the g_debug and g_print
6388 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6390 Added the movement modes to the hildon-pannable-area, with this
6391 modes the developers can control in which directions the widget
6392 can scroll. They can also connect to signals in order to do
6393 something when that happens, allowing applications scroll. There
6394 is an example uploaded showing how to use it.
6396 * examples/Makefile.am:
6397 * examples/hildon-pannable-area-example-4.c: Added this example of
6398 an application using the modes.
6400 * src/hildon-marshalers.list: Added a new marshaller for the new
6403 * src/hildon-pannable-area.h: Added new enumerations and flags in
6404 order to control the movement modes and the new signals to warn
6405 about the movements in the area.
6407 * src/hildon-pannable-area.c:
6408 (hildon_pannable_axis_scroll),
6409 (hildon_pannable_area_scroll),
6410 (hildon_pannable_area_motion_notify_cb),
6411 (hildon_pannable_area_get_property),
6412 (hildon_pannable_area_set_property),
6413 (hildon_pannable_area_map),
6414 (hildon_pannable_area_class_init),
6415 (hildon_pannable_area_init),
6416 (hildon_pannable_area_jump_to): Added the modes to control the
6417 movement in the widget. We have added properties to control it,
6418 signals to warn about the movements and refactored some code.
6420 2008-07-15 Alejandro G. Castro <alex@igalia.com>
6422 Changes required in order to allow vfast_factor set to zero to
6425 * src/hildon-pannable-area.c:
6426 (hildon_pannable_area_button_press_cb): Changed the condition, it
6427 is required for not allowing click when vfast_factor is zero.
6428 (hildon_pannable_area_timeout): Initialized velocity variables
6429 when we stop moving, it was less than 1 but not zero and we need
6430 to check zero in some situations.
6431 (hildon_pannable_area_class_init): Changed the default value of
6432 the speed factor, now the button_press is just sent in case the
6433 speed is 2 per cent of the max speed.
6434 (hildon_pannable_area_init): Initialization with 0.
6436 2008-07-04 Alejandro G. Castro <alex@igalia.com>
6438 * src/hildon-pannable-area.c,
6439 (hildon_pannable_area_get_topmost): replaced
6440 gdk_window_get_children with gdk_window_peek_children, this way we
6441 do not have to free the list because it is not a copy.
6443 (hildon_pannable_axis_scroll),
6444 (hildon_pannable_area_scroll),
6445 (hildon_pannable_area_timeout),
6446 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
6447 two parameters that were only used inside the
6448 hildon_pannable_area_scroll function.
6450 * examples/hildon-pannable-area-example.c,
6451 (get_sawtooth_label): Fixed small memory leak.
6453 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6455 More checks for the case where the overshoot is bigger than the
6458 * src/hildon-pannable-area.c:
6459 (hildon_pannable_draw_vscroll),
6460 (hildon_pannable_draw_hscroll): with this new calculation we avoid
6461 to draw the slider of the scrollbar under the other scrollbar.
6462 (hildon_pannable_area_expose_event): added new checks to control
6463 the drawing of the overshooting area rectangle, in case it is too
6464 big for the area of the widget.
6465 (hildon_pannable_area_size_allocate): add more checks to avoid
6466 setting a position to the child widget outside the area.
6468 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6470 * src/hildon-pannable-area.c
6471 (hildon_pannable_area_size_allocate): Added conditions to control
6472 when overshooting is bigger than the allocated space for the
6473 children, this avoids negative allocations.
6475 2008-07-02 Alberto Garcia <agarcia@igalia.com>
6477 * doc/hildon-docs.sgml
6479 * examples/Makefile.am
6480 * examples/hildon-button-example.c
6482 * src/hildon-button.c
6483 * src/hildon-button.h
6484 * src/hildon.h: Initial version of the new HildonButton widget,
6487 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
6489 * src/hildon-pannable-area.c:
6490 (hildon_pannable_area_button_press_cb),
6491 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
6492 (hildon_pannable_area_motion_notify_cb),
6493 (hildon_pannable_area_button_release_cb),
6494 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
6495 (hildon_pannable_area_jump_to_child):
6497 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
6499 2008-07-01 Alberto Garcia <agarcia@igalia.com>
6501 * examples/Makefile.am
6502 * examples/hildon-pannable-area-touch-grid-example.c
6503 * examples/hildon-pannable-area-touch-list-example.c: Examples of
6504 the Hildon Touch List and Hildon Touch Grid using the
6505 HildonPannableArea widget.
6507 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6509 * src/hildon-pannable-area.c,
6510 (hildon_pannable_area_button_press_cb),
6511 (hildon_pannable_area_refresh),
6512 (hildon_pannable_area_scroll),
6513 (hildon_pannable_area_motion_notify_cb),
6514 (hildon_pannable_area_button_release_cb),
6515 (hildon_pannable_area_expose_event),
6516 (hildon_pannable_area_add),
6517 (hildon_pannable_area_remove),
6518 (hildon_pannable_area_realize),
6519 (hildon_pannable_area_size_allocate),
6520 (hildon_pannable_area_class_init),
6521 (hildon_pannable_area_init),
6522 (hildon_pannable_area_scroll_to_child),
6523 (hildon_pannable_area_jump_to_child): Fixed the problem of
6524 removing the child from the GtkBin, we have rearranged the widget
6525 hierarchy, now there is no GtkAlignment which was not doing
6526 anything interesting but breaking some of the assumptions of
6527 GtkContainer. Now developers if they want to add a GtkAlignment
6528 they could, but it is not inside the area.
6530 We had to review the whole allocation/expose process, now it is
6531 improved and we save at least three signals which would be saving
6532 some time when rendering the widget. The allocation of the
6533 scrollbars is now made in the allocate method as usual.
6535 We have also added some conditions in order to control when there
6536 is no child of the pannable area. Maybe we will need more work
6539 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6541 * src/hildon-pannable-area.c,
6542 (hildon_pannable_area_dispose): Released the fade-out timeout when
6543 disposing the widget.
6545 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6547 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
6548 zero, we are going to use that property in order to deactivate the
6550 (hildon_pannable_axis_scroll),
6551 (hildon_pannable_area_size_allocate): Added conditions to control
6552 when overshoot_max is zero. Moved the gtk_adjustment_set_value
6553 call, now it is called in all situations and we can remove calls
6554 in the allocate method.
6555 (hildon_pannable_area_map): Control the situation when
6556 overshoot_max is zero, we do not need the timeout.
6557 (hildon_pannable_area_class_init): Added documentation in order to
6558 point out that setting zero to overshoot_max means deactivate
6561 NOTE: removed trailing whitespaces from my previous comments of
6564 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6566 * src/hildon-pannable-area.c
6567 (hildon_pannable_area_get_property),
6568 (hildon_pannable_area_set_property),
6569 (hildon_pannable_area_map),
6570 (hildon_pannable_area_class_init),
6571 (hildon_pannable_area_init): Add a boolean "initial-hint" property
6572 to cause the widget give a hint about its panning abilities upon
6575 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6577 * src/hildon-pannable-area.c: Several documentation improvements.
6579 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6581 * src/hildon-program.c
6582 * src/hildon-stackable-window.c: Update documentation.
6584 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6586 * src/hildon-stackable-window.c (get_previous_window_if_last):
6587 Renamed get_last_window()
6588 (hildon_stackable_window_map, hildon_stackable_window_unmap)
6589 (hildon_stackable_window_unset_program):
6591 (get_previous_window_if_last):
6592 Detect if the window hasn't been added to a HildonProgram.
6594 2008-06-26 Alejandro G. Castro <alex@igalia.com>
6596 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
6598 * src/hildon-pannable-area.c
6599 (hildon_pannable_area_button_press_cb),
6600 (hildon_pannable_axis_scroll),
6601 (hildon_pannable_area_scroll),
6602 (hildon_pannable_area_timeout),
6603 (hildon_pannable_calculate_vel_factor),
6604 (hildon_pannable_area_get_property),
6605 (hildon_pannable_area_set_property),
6606 (hildon_pannable_area_class_init),
6607 (hildon_pannable_area_init),
6608 (hildon_pannable_area_scroll_to),
6609 (hildon_pannable_area_jump_to),
6610 (hildon_pannable_area_scroll_to_child),
6611 (hildon_pannable_area_jump_to_child):
6612 * src/hildon-pannable-area.h: Added the new API functions:
6613 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
6614 hildon_pannable_area_scroll_to_child,
6615 hildon_pannable_area_jump_to_child
6618 * examples/Makefile.am
6619 * examples/hildon-pannable-area-example-2.c
6620 * examples/hildon-pannable-area-example-3.c: Added these two new
6621 examples in order to test and show how the new APIs work.
6623 2008-06-25 Alberto Garcia <agarcia@igalia.com>
6625 * examples/hildon-stackable-window-example.c (new_window):
6626 * src/Makefile.am (noinst_HEADERS):
6627 * src/hildon-program.c (hildon_program_go_to_root_window):
6628 * src/hildon-program.h:
6629 * src/hildon-stackable-window-private.h:
6630 * src/hildon-stackable-window.c:
6631 * src/hildon-stackable-window.h:
6632 Create hildon-stackable-window-private.h
6633 Move hildon_stackable_window_go_to_root_window() to HildonProgram
6635 * examples/hildon-app-menu-example.c (create_menu):
6636 * examples/hildon-hvolumebar-insensitive-example.c (main):
6637 * examples/hildon-hvolumebar-timer-example.c (on_idle):
6638 * examples/hildon-toolbar-seekbar-example.c (main):
6639 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
6640 * src/hildon-banner.c (hildon_banner_set_property):
6641 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
6642 Fix compilation warnings
6644 * src/hildon-window.c:
6647 2008-06-24 Alberto Garcia <agarcia@igalia.com>
6649 * src/hildon-stackable-window.c
6650 (hildon_stackable_window_unset_program):
6651 Calculate correctly whether to show the previous window if the
6652 last one is removed from the stack.
6653 (hildon_stackable_window_go_to_root_window):
6654 Send delete events starting from the topmost window.
6655 Stop if one of the windows is not destroyed.
6657 (hildon_stackable_window_delete_event)
6658 (hildon_stackable_window_class_init):
6659 Ignore the delete event if the window is not the topmost one.
6661 2008-06-24 Alejandro G. Castro <alex@igalia.com>
6663 * src/hildon-pannable-area.c
6664 (hildon_pannable_area_expose_event): Fixed a problem when
6665 selecting the background color of the scrollbars.
6667 2008-06-23 Alberto Garcia <agarcia@igalia.com>
6669 * examples/hildon-stackable-window-example.c
6670 * src/hildon-stackable-window.c
6671 * src/hildon-stackable-window.h
6672 hildon_stackable_window_go_home() renamed to
6673 hildon_stackable_window_go_to_root_window()
6674 Send delete events to windows rather than closing them with
6675 gtk_widget_destroy()
6677 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6679 * src/hildon-pannable-area.c
6680 (hildon_pannable_area_button_release_cb): Fix overshooting in
6683 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6685 * src/hildon-pannable-area.c
6686 (hildon_pannable_area_init): Initially show the scroll indicators.
6687 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
6689 Add initial effect showing the widget is pannable.
6691 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6693 * src/hildon-pannable-area.c
6694 (hildon_pannable_area_class_init)
6695 (hildon_pannable_area_set_property)
6696 (hildon_pannable_area_get_property)
6697 (hildon_pannable_area_button_press_cb):
6698 New 'velocity_fast_factor' property to decide which velocity is
6701 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6703 * src/hildon-pannable-area.c
6704 (hildon_pannable_draw_hscroll)
6705 (hildon_pannable_draw_vscroll):
6706 Use float variables to calculate the size of the scrollbars to
6707 avoid error propagation and resizing during scrolling.
6709 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6711 * src/hildon-pannable-area.c
6712 (hildon_pannable_draw_vscroll)
6713 (hildon_pannable_draw_hscroll):
6714 Define a minimum size for the scroll bars
6716 * src/hildon-stackable-window.c
6717 (hildon_stackable_window_go_home): Fix compilation warning
6718 (get_last_window): Minor optimizations
6719 (hildon_stackable_window_class_init): Fix initialization of
6722 2008-06-18 Alberto Garcia <agarcia@igalia.com>
6724 * src/hildon-stackable-window.c: Fixed typos in doc
6726 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
6728 * src/hildon-pannable-area.c
6729 (hildon_pannable_area_scroll):
6730 Calculate here whether we need to scroll instead of using the booleans
6731 that tell us whether to /draw/ the scrolling bars.
6733 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
6735 * src/hildon-app-menu.h
6737 * src/hildon-app-menu.c
6738 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
6739 multiple filter groups related code and API. Now we support only
6741 * examples/hildon-app-menu-example.c:
6743 Update to reflect API changes.
6745 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
6747 * src/hildon-stackable-window.c
6748 (hildon_stackable_window_class_init):
6749 Add hildon_stackable_window_realize.
6750 (hildon_stackable_window_realize):
6751 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
6752 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
6753 to apply theming and behavior specific to HildonStackableWindow
6756 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6758 * src/hildon-note.c (hildon_note_button_release):
6759 Close information notes also when tapping on them
6761 2008-06-12 Alejandro G. Castro <alex@igalia.com>
6763 Added BOUNCE_STEPS define to control the overshoot effect. Removed
6764 ELASTICITY, refactor and review, fix some issues with drawing
6767 * src/hildon-pannable-area.c:
6768 (hildon_pannable_area_button_press_cb): removed the conditions to
6769 avoid clicks when overshooting. It is not required
6771 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
6772 define. Refatored and reviewed the code, now we do not need to
6773 manage velocity in motion_notify.
6775 (hildon_pannable_area_motion_notify_cb): We have moved the code
6776 that controls the area_scroll to the axis_scroll function and get
6777 rid of duplicated code.
6779 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
6781 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
6783 (hildon_pannable_draw_vscroll),
6784 (hildon_pannable_draw_hscroll): Fixed the problems with the
6785 scrollbar drawing, now we do not use two surfaces, it is easier
6786 and saves resources.
6788 (hildon_pannable_area_get_property): Style modification.
6790 (hildon_pannable_area_class_init): Changed some default values.
6792 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
6794 * src/hildon-stackable-window.c: Fix some typos in the
6797 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6799 * src/hildon-dialog.c:
6800 Change indentation style
6803 (hildon_note_button_release):
6804 Use root coordinates to check if the release event happened
6807 * src/hildon-app-menu.c
6808 (hildon_app_menu_button_release):
6809 Remove unnecessary check
6811 * examples/hildon-app-menu-example.c
6813 Add cast to fix warning
6815 * src/hildon-app-menu.c
6816 (hildon_app_menu_class_init):
6817 New inner-border style property.
6818 Set all default spacings to 16
6819 (hildon_app_menu_init):
6820 Use vertical-spacing to set the space between filter buttons and
6821 regular menu buttons.
6822 Set the default container border using the inner-border value.
6824 * examples/hildon-app-menu-example.c
6826 Don't set the menu border explicitly, now we have the inner-border
6827 style property for that.
6829 2008-06-11 Alberto Garcia <agarcia@igalia.com>
6831 * src/hildon-app-menu.c (hildon_app_menu_init):
6832 Make the window modal
6834 * src/hildon-note.c (hildon_note_map)
6835 * src/hildon-app-menu.c (hildon_app_menu_map):
6836 Destroy the grab window if we're unable to grab the pointer
6838 * src/hildon-app-menu-private.h
6839 * src/hildon-app-menu.c
6840 (hildon_app_menu_init, hildon_app_menu_finalize)
6841 (hildon_app_menu_map, hildon_app_menu_unmap)
6842 (hildon_app_menu_button_release)
6843 (grab_transfer_window_get):
6844 Bring back the grab window
6845 (hildon_app_menu_realize):
6846 Decorate the window, set WM hint for Matchbox
6848 * src/hildon-note.c (hildon_note_realize):
6849 * src/hildon-banner.c (hildon_banner_realize):
6850 Add WM hints for Matchbox
6852 2008-06-10 Alberto Garcia <agarcia@igalia.com>
6854 * src/hildon-app-menu-private.h
6855 * src/hildon-app-menu.c
6856 (hildon_app_menu_init, hildon_app_menu_finalize)
6857 (hildon_app_menu_map, hildon_app_menu_unmap)
6858 (hildon_app_menu_button_release):
6859 Remove the grab window, it's not needed anymore
6861 * src/hildon-program.c
6862 Fixed typo in documentation
6864 * src/hildon-app-menu.h
6865 * src/hildon-app-menu.c
6866 * examples/hildon-app-menu-example.c
6867 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
6869 2008-06-09 Alberto Garcia <agarcia@igalia.com>
6872 Added new transfer_window and close_if_pressed_outside private
6874 (hildon_note_rebuild):
6875 Don't add a cancel button to the information note. It will be
6876 closed when tapping outside
6877 Remove the comment about the OK button in the documentation
6878 (hildon_note_realize):
6879 Set the notification type hint
6880 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
6881 Grab/ungrab pointer and keyboard if the note has to be closed when
6883 (hildon_note_button_release):
6884 Close the note when tapping outside (if applicable)
6886 * src/hildon-app-menu.c
6887 Grab/ungrab pointer and keyboard on map/unmap
6888 (hildon_app_menu_button_release, hildon_app_menu_class_init):
6889 Close the menu on button release, not button press
6891 * src/hildon-banner.c
6892 (hildon_banner_set_property)
6893 (hildon_banner_check_position):
6894 Make the banner use the full width of the screen
6895 (hildon_banner_show_information)
6896 (hildon_banner_show_information_with_markup):
6897 Don't display an icon by default
6899 2008-06-09 Alejandro G. Castro <alex@igalia.com>
6901 Added fading scrollbars and adapted all the overshooting code to
6902 horizontal scrolling. We have also fixed bugs with overshooting
6903 and current fading implementation.
6905 * src/hildon-pannable-area.c
6906 (hildon_pannable_area_scroll_indicator_fade): Time out function
6907 used to change the transparency of the scrollbars.
6909 (hildon_pannable_area_button_press_cb): Added horizontal overshot
6910 control and fixed a problem with fading, we now remove the fade
6911 timeout before adding a new one.
6913 (hildon_pannable_axis_scroll):
6914 (hildon_pannable_area_scroll):
6915 (hildon_pannable_area_timeout): Added this functions so we can use
6916 the scroll code both for vertical and horizontal.
6918 (hildon_pannable_area_motion_notify_cb):
6919 (hildon_pannable_area_button_release_cb): Added the horizontal
6920 scrolling control, fixed a problem with the overshooting timeout.
6922 (rgb_from_gdkcolor): Added this function, it is used in the cairo
6923 painting of the scrolls.
6925 (hildon_pannable_draw_vscroll):
6926 (hildon_pannable_draw_hscroll):
6927 (hildon_pannable_area_expose_event):
6928 Draw both scrollbars and rectangles in the overshooting area.
6930 (hildon_pannable_area_get_property):
6931 (hildon_pannable_area_set_property):
6932 Modified the overshoot property to overshoot_max
6934 (hildon_pannable_area_map):
6935 Replaced the comments symbols.
6937 (hildon_pannable_area_size_allocate):
6938 (hildon_pannable_area_class_init):
6939 (hildon_pannable_area_init): Added horizontal scroll, fading
6940 effect properties, fixed a problem when overshooting in the bottom
6943 * examples/hildon-pannable-area-example.c:
6944 (get_sawtooth_label): Now we use smaller sawtooths, the effect
6945 looks better in the example.
6947 2008-06-03 Alberto Garcia <agarcia@igalia.com>
6949 * src/hildon-window.c
6950 * src/hildon-window.h
6951 (hildon_window_class_init)
6952 (hildon_window_unset_program)
6953 (hildon_window_unset_program_real):
6954 Make unset_program a virtual function
6956 * src/hildon-stackable-window.c
6957 * src/hildon-stackable-window.h
6958 Added hildon_stackable_window_go_home()
6960 * examples/Makefile.am
6961 * examples/hildon-stackable-window-example.c
6962 HildonStackableWindow example
6964 2008-06-03 Alejandro G. Castro <alex@igalia.com>
6966 * hildon-pannable-area.c: Added the overshoot property and removed
6967 the OVERSHOOT define. Fixed an indent style error.
6968 (hildon_pannable_area_motion_notify_cb):
6969 (hildon_pannable_area_get_property):
6970 (hildon_pannable_area_set_property): Add overshoot property.
6972 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
6975 (hildon_pannable_area_class_init): Installed the new property.
6977 * hildon-pannable-area-example.c: Added a sawtooth function, this
6978 way it is easier to check the movement in the pannable.
6979 (get_sawtooth_label): Added this function.
6980 (main): Now we get the labels from the new get_sawtooth_label
6983 2008-05-26 Alberto Garcia <agarcia@igalia.com>
6985 * src/hildon-app-menu.h
6986 * src/hildon-app-menu.c
6987 Renamed API variables for consistency
6989 (hildon_app_menu_popup): Use also the default window size to
6990 decide where to place the menu
6992 (hildon_app_menu_init, hildon_app_menu_class_init): New
6993 external-border style property
6995 2008-05-26 Michael Natterer <mitch@imendio.com>
6997 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
6998 widget_class->tap_and_hold_setup signal slot doesn't exist any
6999 longer, stop overriding it.
7001 (hildon_time_editor_init): g_signal_connect() to the
7002 tap-and-hold-setup signal instead.
7004 (hildon_time_editor_entry_keypress): add cast to fix warning.
7006 2008-05-23 Alberto Garcia <agarcia@igalia.com>
7008 * doc/hildon-docs.sgml
7010 * examples/Makefile.am
7011 * examples/hildon-app-menu-example.c
7013 * src/hildon-app-menu-private.h
7014 * src/hildon-app-menu.c
7015 * src/hildon-app-menu.h
7017 New HildonAppMenu widget
7019 2008-05-21 Alejandro G. Castro <alex@igalia.com>
7021 Rearranged the inheritance of the pannable area, now it inherits
7022 from GtkBin. This will allow us to control the event_window and
7023 the allocation process of the widget, required for some effects.
7025 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
7026 GtkBin structures. * src/hildon-pannable-area.c: Added the
7027 event_window variable.
7028 (hildon_pannable_area_button_press_cb):
7029 (hildon_pannable_area_button_release_cb):
7030 (hildon_pannable_area_motion_notify_cb):
7031 Changed the signature of the method, now we override the event
7032 callback instead of connecting to the signal.
7034 (hildon_pannable_area_realize):
7035 (hildon_pannable_area_unrealize):
7036 (hildon_pannable_area_map):
7037 (hildon_pannable_area_unmap):
7038 (hildon_pannable_area_size_allocate):
7039 Added functions to control the widget construction. We add a
7040 INPUT_ONLY window and we put it over the widgets inside the
7041 container, this event_window handles the events.
7043 (hildon_pannable_area_class_init):
7044 Replaced the signal connections with overrides of the event
7047 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7049 Bouncing effect added when touching the borders, you can change
7050 the elasticity of the border changing the ELASTICITY define.
7052 * src/hildon-pannable-area.c: Added ELASTICITY define.
7053 (hildon_pannable_area_timeout): Added inverse velocity when
7054 touching the border of the child widget, that causes a bounce.
7056 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7058 Improved performance, we now do not go to the X server in order to
7059 get the list of window children. Apparently the effect is the
7060 same, we have to be careful and check if this breaks something in
7063 * src/hildon-pannable-area.c:
7064 (get_ordered_children): Removed this function.
7065 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
7066 the children windows function with gdk_window_get_children.
7068 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7070 * src/hildon-pannable-area.c:
7071 (hildon_pannable_area_dispose): Fixed a crash when closing the
7072 window and kinetics is activated.
7074 2008-05-19 Alberto Garcia <agarcia@igalia.com>
7076 * src/hildon-pannable-area.h
7077 * src/hildon-pannable-area.c
7078 Changed indentation style to meet the one used in Hildon
7080 2008-05-19 Alejandro G. Castro <alex@igalia.com>
7082 Reviewed the interaction of the AUTO mode, now we use the time
7083 attribute of the events and calculate the velocity in the motion,
7084 doing a gimp like calculation. The velocity is calculated in each
7085 motion event using the last velocity and the current one, the
7086 SMOOTH_FACTOR controls the percentage of the new velocity we use.
7088 * src/hildon-pannable-area.c: Replaced the time based algorithm
7090 (hildon_pannable_area_motion_notify_cb): now we do not launch the
7091 timeout for the AUTO mode when we are still moving the cursor. We
7092 added also the velocity calculation in this function.
7093 (hildon_pannable_area_button_release_cb): launch the timeout in
7094 case we are in AUTO mode. There are still some constants here that
7095 come from the old implementation that should be reviewed and
7098 2008-05-15 Alberto Garcia <agarcia@igalia.com>
7100 * doc/hildon-docs.sgml
7103 * src/hildon-stackable-window.c
7104 * src/hildon-stackable-window.h
7106 New HildonStackableWindow widget
7108 * examples/hildon-dialog-example.c
7109 * examples/hildon-pannable-area-example.c
7112 2008-05-14 Alberto Garcia <agarcia@igalia.com>
7114 * src/hildon-dialog.c
7115 (hildon_dialog_new_with_buttons): New constructor.
7117 * examples/hildon-dialog-example.c
7118 (main): Update the example to use the new
7119 hildon_dialog_new_with_buttons().
7121 * examples/hildon-pannable-area-example.c
7122 (main): Update example.
7124 2008-05-13 Alberto Garcia <agarcia@igalia.com>
7126 * doc/hildon-docs.sgml
7128 Added HildonPannableArea to the documentation.
7130 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
7132 * doc/visual_index.xml
7133 Fix reference to HildonLoginDialog in documentation
7135 * doc/hildon-docs.sgml
7137 * examples/Makefile.am
7138 * examples/hildon-dialog-example.c
7140 * src/hildon-dialog.c
7141 * src/hildon-dialog.h
7143 New HildonDialog widget.
7145 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7147 * src/hildon-pannable-area.c
7148 Merge latest changes (r4318, r4342) from libmokoui trunk
7150 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7152 * examples/Makefile.am
7153 * examples/hildon-pannable-area-example.c
7155 * src/hildon-pannable-area.c
7156 * src/hildon-pannable-area.h
7158 New HildonPannableArea widget.
7160 2008-04-15 18:05:19 <timj@imendio.com>
7162 * src/hildon-banner.c: revert the recent change, that introduced
7163 gtk_window_present() calls. this reopens:
7164 Bug 78481 - [freetest] information banners are hidden under browser menu
7165 But resolves another variant of:
7166 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7168 2008-04-15 13:21:13 <timj@imendio.com>
7170 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
7171 recreated its layout, spotted by Kris. this fixes all remaining
7172 artefacts and stability issues with the banner code. in particular:
7173 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7175 2008-04-14 16:52:59 <timj@imendio.com>
7177 * src/hildon-banner.c: guard force_to_wrap_truncated() against
7178 operating on unrealized widgets, fixes:
7179 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7181 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
7183 2008-04-09 Kristian Rietveld <kris@imendio.com>
7185 Fixes: NB#77775: Media Player, Save Now playing list, too long name
7186 makes banner disappear.
7187 Fixes: NB#79182: info banner flickering with certain message lengts.
7189 * src/hildon-banner.c (hildon_banner_constructor),
7190 (hildon_banner_init), (hildon_banner_set_text),
7191 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
7192 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
7193 FALSE, reset size requests of label and banner,
7194 (force_to_wrap_truncated): when the text is too wide, always enforce
7195 the maximum possible width instead of recalculating it from the
7196 layout; enforce the maximum banner height of 3 lines,
7197 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
7198 nicer wrapping and no truncated chars if space gets tight.
7200 * src/hildon-banner-private.h: add has_been_wrapped and
7201 has_been_truncated fields.
7203 2008-04-07 Sven Herzberg <sven@imendio.com>
7205 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
7206 local values in hildon_date_editor_size_allocate
7208 * src/hildon-date-editor.c: moved the real allocation code into the
7211 2008-04-07 Sven Herzberg <sven@imendio.com>
7213 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7214 local values in hildon_date_editor_size_allocate
7216 * src/hildon-date-editor.c: merged the two if() branches together
7218 2008-04-07 Sven Herzberg <sven@imendio.com>
7220 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7221 local values in hildon_date_editor_size_allocate
7223 * src/hildon-date-editor.c: changed the arguments of the if()
7226 2008-04-07 Sven Herzberg <sven@imendio.com>
7228 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7229 local values in hildon_date_editor_size_allocate
7231 * src/hildon-date-editor.c: split the calculation of the allocation
7232 from the real allocation
7234 2008-03-27 Michael Natterer <mitch@imendio.com>
7236 Fixes: NB#81696: The passcode is not overwritten even after
7239 * src/hildon-code-dialog.c
7240 (hildon_code_dialog_button_clicked)
7241 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
7242 because that doesn't overwrite selected text. Instead, emit the
7243 "commit" signal on the entry's im_context so the entry's normal
7244 insert logic is triggered. Set the cursor to the end of the entry
7245 after each insert operation so that we *only* insert in the middle
7246 of the text if something was selected.
7248 2008-03-27 Michael Natterer <mitch@imendio.com>
7250 Enable fixing: NB#79916 and NB#79918: The help topic for Color
7251 selector cannot be opened
7253 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
7254 when the popup color selector is created. Please connect to this
7255 signal in order to set the dialog's help ID.
7257 2008-03-25 Sven Herzberg <sven@imendio.com>
7259 Fixes: MB#1212: Hide info banners (infoprints) on click
7261 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
7262 extracted the close event simulation into an extra function
7263 (hildon_banner_button_press_event): simulate a close event and destroy
7264 the widget if the event wasn't handled
7265 (hildon_banner_class_init): added the button_press_event handler
7266 (hildon_banner_init): added button-press events to the widget
7268 2008-03-25 Sven Herzberg <sven@imendio.com>
7270 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
7271 Patch from: Mohammad Anwari <mdamt@maemo.org>
7273 * src/hildon-banner.c: let the HildonBanners pop up on the left side
7274 instead of the right in RTL mode
7275 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
7276 breadcrumb button list in RTL mode
7277 * src/hildon-caption.c: mirror the appearance of the caption widget in
7279 * src/hildon-date-editor.c: mirror appearance of the date editor in
7281 * src/hildon-time-editor.c: mirror appearance of the time editor in
7283 * src/hildon-window.c: fix the position of the popup in RTL mode
7285 2008-03-25 Sven Herzberg <sven@imendio.com>
7287 Amendment to the fix of NB#22072. Fix compilation.
7289 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
7291 2008-03-19 Sven Herzberg <sven@imendio.com>
7293 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
7296 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
7297 timeout id properly when the timeout will disappear this leaves no
7298 artifacts around in the destroy(); there will only be the timeout
7299 created by hildon_banner_ensure_timeout() and adding a new timeout
7300 will also work if the timeout gets removed because the timeout_handler
7303 2008-03-19 Michael Natterer <mitch@imendio.com>
7305 Fixes: NB#79791: Cannot set focus to Master volume using stylus
7307 * src/hildon-volumebar.c
7308 * src/hildon-vvolumebar.c
7309 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
7310 the widget becomes focussable at all.
7312 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
7313 set the focus to wither the mute button or the volumebar.
7315 Remove own "can-focus" property and instead listen to
7316 notify::can-focus in order to update the widget's state.
7318 Implement GtkWidget::focus() and make sure we can also *leave* the
7319 widget, not only enter it, depending on volumebar orientation and
7320 requested focus direction.
7322 Clean up set_mute() to cooperate nicely with all the above.
7324 2008-03-04 Michael Natterer <mitch@imendio.com>
7326 Fixes: NB#78481: information banners are hidden under browser menu
7328 * src/hildon-banner.c: call gtk_window_present() on the banners so
7329 they are risen if they are already visible.
7331 2008-03-03 Sven Herzberg <sven@imendio.com>
7333 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
7335 * examples/hildon-window-menu-example.c: (main): extended the window
7336 menu example to serve as a testcase for automatically added
7337 accelerator groups, too
7338 * src/hildon-window.c: (hildon_window_add_accel_group),
7339 (hildon_window_set_menu): added patch by Tommi Komulainen
7341 2008-03-03 Sven Herzberg <sven@imendio.com>
7343 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
7345 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
7346 knowledge about the border allocators used within GTK+
7348 2008-02-26 Sven Herzberg <sven@imendio.com>
7350 Fixes: MB#2981: Build with asserts broken
7352 * src/hildon-date-editor.c,
7353 * src/hildon-number-editor.c,
7354 * src/hildon-time-editor.c,
7355 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
7356 the proper GType instance check
7358 2008-02-25 Sven Herzberg <sven@imendio.com>
7360 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
7362 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
7363 * examples/hildon-window-menu-example.c: (main): explicitly show
7365 * src/hildon-window.c:
7366 (hildon_window_set_main_menu): moved most of the code from set_menu()
7367 to this place; skipped the call to gtk_widget_show_all(); also didn't
7368 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
7369 (hildon_window_set_menu): removed most of the code, just keep the
7370 questionable gtk_widget_show_all()
7371 * src/hildon-window.h: added the new function and deprecate the old
7374 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7380 * debian/changelog: Updating.
7382 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7385 * pkgconfig/Makefile.am:
7386 * pkgconfig/hildon.pc.in:
7389 Do not use PACKAGE_VERSION_MAJOR as the API revision,
7390 use newly created API_MAJOR_VERSION.
7392 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7398 * debian/changelog: Updating.
7400 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7402 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
7404 Add outer_border style property, we use it but don't define it (!).
7408 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
7410 * examples/hildon-bread-crumb-trail-example.c (main):
7414 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
7416 Fix logic for the bread crumb trail node removal.
7420 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7426 * debian/changelog: Updating.
7428 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7430 Patch by Alejandro to get/set passwords dialogs accesibility.
7432 * hildon-1/src/hildon-get-password-dialog.c:
7433 * hildon-1/src/hildon-set-password-dialog.c:
7434 Set atk_set_name to the passwd entries in order to allow
7435 accessibility by name on this entries.
7437 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7442 * debian/control: Updating gtk dep.
7444 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
7446 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
7447 USE_MAEMO_GTK is enabled.
7449 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
7451 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
7452 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
7454 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7460 * debian/changelog: Updating.
7462 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7464 * examples/Makefile.am:
7465 * examples/hildon-logical-color-example.c:
7466 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
7467 applied + adding a test case. Fixes: NB#71660.
7469 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
7471 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
7472 to be visible, fixes warning on map for windows without toolbars.
7474 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
7476 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
7477 2.11.0, add a check for that besides the MAEMO_GTK check.
7479 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7485 * debian/changelog: Updating.
7487 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7489 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
7490 visibility. Fixes: NB#70842 and MB#615.
7492 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7494 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
7495 set the separator as no-show-all so it doesn't unintentionally appear when
7496 someone does a show_all.
7498 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7500 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
7501 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
7502 toplevel item. Fixes: NB#62031
7504 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
7506 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
7507 fix the name of the function in the docs.
7509 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7515 * debian/changelog: Updating.
7517 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7519 * examples/hildon-banner-long-example.c: Adding a test-case for long
7522 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
7524 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7526 * src/hildon-color-chooser-dialog.c:
7527 * src/hildon-color-chooser.c:
7528 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
7529 memory leaks in font selector and color selector. Fixes: NB#70499 and
7532 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
7534 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
7536 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7538 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
7539 little bit bigger. Fixes: #NB63694.
7541 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7547 * debian/changelog: Updating.
7549 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7552 * doc/hildon-docs.sgml:
7553 * doc/images/bread-crumb-trail.png:
7554 * doc/images/calendar-popup.png:
7555 * doc/images/caption.png:
7556 * doc/images/code-dialog.png:
7557 * doc/images/color-button.png:
7558 * doc/images/color-chooser-dialog.png:
7559 * doc/images/color-chooser.png:
7560 * doc/images/controlbar.png:
7561 * doc/images/date-editor.png:
7562 * doc/images/font-selection-dialog.png:
7563 * doc/images/get-password-dialog.png:
7564 * doc/images/hvolumebar.png:
7565 * doc/images/login-dialog.png:
7566 * doc/images/note.png:
7567 * doc/images/number-editor.png:
7568 * doc/images/range-editor.png:
7569 * doc/images/seekbar.png:
7570 * doc/images/set-password-dialog.png:
7571 * doc/images/sort-dialog.png:
7572 * doc/images/time-editor.png:
7573 * doc/images/time-picker.png:
7574 * doc/images/vvolumebar.png:
7575 * doc/images/weekday-picker.png: Adding the new generated widget shots.
7576 Adding the bread-crumb-trial and helpers to the documentation.
7578 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7580 * examples/hildon-find-toolbar-example.c:
7581 * src/hildon-find-toolbar.c:
7582 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
7583 actually continue firing the other handlers if connected. Adding a new
7585 hildon_find_toolbar_get_last_index that gets the index of the most
7586 recently added (last) item. Fixes: NB#52301.
7588 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7590 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
7591 behaviour. Fixes: NB#68610.
7593 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7595 * src/hildon-banner.c: Actually reverting the previous change. It somehow
7598 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7600 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
7601 when realizing the banner. Should make the infonbanner effect a bit more
7604 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7606 * src/hildon-volumebar.c:
7607 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
7608 hildon_volumebar_set_range_insensitive_message and
7609 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
7611 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7613 * src/hildon-window.c: Fixing the border freeing on destroy.
7615 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7617 * src/hildon-code-dialog-private.h:
7618 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
7619 kw keyboard support in HildonCodeDialog.
7621 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7627 * debian/changelog: Updating.
7629 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7631 * src/hildon-date-editor.c:
7632 * src/hildon-number-editor.c:
7633 * src/hildon-private.c:
7634 * src/hildon-private.h:
7635 * src/hildon-time-editor.c:
7636 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
7637 handling in subclassed composite widgets. Fixes: NB#66628.
7639 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7641 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
7642 from destroy_ callback as it introduces problems in async dbus signal
7643 handlers. Fixes NB#66673.
7645 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7647 * examples/hildon-hvolumebar-example.c:
7648 * src/hildon-volumebar.c: Improving the focus handling in the
7649 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
7650 set_property accessor so that "mute" property can be actually set. I'm
7651 scared that nobody noticed it's totally broken.
7653 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7655 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
7658 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7660 * src/hildon-calendar.c:
7661 * src/hildon-number-editor.c:
7662 * src/hildon-time-picker.c: Changing the timeout repeat so that it
7663 matches the spec of 6 chars per second. Fixes: NB#60489.
7665 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7667 * src/hildon-helper.c: Really fixing NB#58352. Looks like
7668 gtk_style_lookup_color sometime returns FALSE even though color was
7669 found and values were filled properly. Weird. Removing the warning for the
7672 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7674 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
7675 expand vertically. Adding some extra space to the find toolbar buttons to
7676 make them thumbable. Fixes NB#66060.
7678 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7680 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
7681 popup with "Ok" and "Cancel". Fixes NB#59299.
7683 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7685 * src/hildon-calendar.c: Process all window updates before executing next
7686 timeout. Fixes: NB#54146.
7688 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7694 * debian/changelog: Updating.
7696 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7698 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
7699 the client event and ignore it, since we use the delete event to close
7702 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7704 * src/hildon-helper.c: Remove the bogus warning about color not being
7705 found. Fixes NB#58352.
7707 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7709 * examples/Makefile.am:
7710 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
7711 HildonSeekbar widget inside a toolbar.
7713 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7715 * src/hildon-banner.c (hildon_banner_init): mark the banners as
7716 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
7717 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
7718 don't want to be closed by non-temporary windows on map.
7720 Also use G_DEFINE_TYPE instead of manually typed code.
7722 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7729 * debian/rules: Updating.
7731 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7733 * examples/Makefile.am:
7734 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
7735 bug NB#61128. Strangely it works.
7737 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7739 * src/hildon-date-editor.c: When the date editor entry has been changed
7740 but the numbers of characters < max, turn off the skip validation flag.
7741 Prevents a situation when we enter first a valid year and later re-write
7742 it with an invalid one. Fixes NB#60154.
7744 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7746 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
7747 code dialog. Fixes NB#64355.
7749 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7751 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
7752 switching the page. Fixes NB#49374.
7754 * examples/Makefile.am:
7755 * examples/hildon-wizard-dialog-example.c: Adding an example for
7756 HildonWizardDialog that shows how to handle manual sensitivity setting on
7759 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7763 * src/hildon-version.h.in:
7764 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
7766 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7768 * src/hildon-volumebar.c: Updating the docs.
7770 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7776 * debian/changelog: Updating.
7778 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7780 * src/hildon-find-toolbar.c:
7781 * src/hildon-find-toolbar.h: Adding a few new functions to control the
7782 selected item: hildon_find_toolbar_set_active,
7783 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
7784 hildon_find_toolbar_get_active_iter . They correspond to respective
7785 GtkComboBox functions.
7787 * examples/Makefile.am:
7788 * examples/hildon-find-toolbar-example.c: Adding the example to test the
7791 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7793 * examples/Makefile.am:
7794 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
7797 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
7798 when font size > 32 and we pack a focusable widget inside. Actually using
7799 the default response would work too, but since we don't show default
7800 response state in any way (no theming) it would not be visible to the
7801 user. Fixes NB#63430.
7803 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7805 * src/hildon-date-editor.c: Adding the missing variable setter in the
7806 set_property handler. Fixes NB#54182.
7808 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7810 * src/hildon-window.h: Changing the long key press time from 1500ms to
7811 800ms as requested in NB#63700. I have a bad feeling about this, let's
7812 see... Fixes NB#63700.
7814 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
7816 * src/hildon-time-picker.c (hildon_time_picker_class_init,
7817 hildon_time_picker_map, hildon_time_picker_realize,
7818 hildon_time_picker_style_set): Split the contents of map to more
7819 appropriate functions; set window decorations on realize and update
7820 arrows' size requisitions on style-set. Avoids unnecessary resizing.
7822 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
7827 * debian/changelog: Updating.
7829 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
7831 * src/Makefile.am: fixed installation of the header files
7833 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7839 * debian/changelog: Updating.
7841 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7843 * configure.ac: Removing some remaining of --enable-xan.
7845 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
7847 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
7848 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
7850 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
7851 2.10.12-osso6 because the move-focus signal needs to be available in
7854 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7856 * examples/Makefile.am:
7857 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
7858 that makes a HildonVolumebar insensitive before mapping it. Seems to work
7859 fine. Prolly NB#61128 is fixed now.
7861 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7863 * src/hildon-volumebar.c:
7864 * src/hildon-volumebar.h: Adding the
7865 hildon_volumebar_set_range_insensitive_message and
7866 hildon_volumebar_set_range_insensitive_messagef functions to set
7867 insensitive message on the slider of the volumebar. Fixes NB#61129.
7869 * examples/Makefile.am:
7870 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
7871 test the new insensitive messsage functionality on HildonVolumebar.
7873 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
7875 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
7878 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
7880 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
7881 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
7882 button on after clearing the trail.
7884 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7886 * src/hildon-code-dialog.c: Removing the separator from the dialog.
7888 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7890 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
7891 by splitting the installed headers in generated and non-generated groups. Use
7892 only the non-generated headers to create the hildon-enum-types.h file.
7894 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
7896 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7898 * src/hildon-window.c: Hide the window before performing the destroy.
7899 Should make the app closing a little tiny bit more snappy.
7901 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7903 * src/hildon-seekbar.c: add gtkrange.h header
7904 * src/hildon-caption.c: remove unused variable
7906 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
7908 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
7911 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7917 * debian/changelog: Updating.
7919 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
7921 * src/hildon-window.c (hildon_window_window_state_event,
7922 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
7923 escape timeout on focus-out-event rather than notify::is-topmost; the
7924 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
7926 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7928 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
7929 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
7931 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7933 * src/hildon-window: actually, you need to use the macro always, there's
7934 no private pointer in the instance structure. We should have cleaned this up
7935 when we had the chance...
7937 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7939 * src/hildon-window.c: do not get the private date from HildonWindow before
7940 it passes the g_return_if_fail check. Once it's passed the test, there's no
7941 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
7942 if you are only going to access the data once. Whitespace cleanups.
7944 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
7946 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
7947 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
7949 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7955 * debian/changelog: Updating.
7957 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7959 * src/hildon-window.c: When destroying the window, remove (if exists) the
7960 escape timeout handler. Fixes #NB59276.
7962 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7964 * src/hildon-banner.c: When realizing the widget, set the window
7965 transiency. Setting the transiency in the gobject constructor is not
7966 good, as the widget is not realized at that point. Fixes: #NB56624.
7968 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7970 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
7971 Add padding for future expansions.
7973 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7975 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
7976 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
7977 will fake an activation on the previous to the last item of the trail, so
7978 the effect can be overrided by the developer as usual.
7979 Also change the callback for the back button to do the same thing, so its
7980 effect can be overrided too. Fixes: NB#58982
7982 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7984 * src/hildon-caption.c: Implementing the proper focus grabbing in the
7985 HildonCaption. Fixes NB#52379.
7987 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7989 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
7990 the internal state of the trail after the user has had the chance of executing
7991 his handler for the signal. Specifically, it may happen that the activated button
7992 is removed and the user still lets the default handler run. This would segfault
7995 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7997 * src/hildon-font-selection-dialog.c: When the font is really big, add the
7998 scrollbar to the preview dialog. Fixes NB#54147.
8000 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8002 * src/hildon-date-editor.c: Changing the default max year to 2037. The
8003 max/min year properties can be altered, so the client can modify it
8004 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
8006 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8008 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
8009 hildonlike by default. Fixing a problem with disappearing arrows when
8010 scrolling through months and years. Fixes NB#54127.
8012 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8014 * examples/hildon-date-editor-example.c: Adding error callback to the date
8017 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8023 * configure.ac: Updating.
8025 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8027 * configure.ac: Adding a special '--enable-xan' configure option that
8028 turns off the -Werror compilation setting. Usefull for development.
8030 * src/hildon-calendar.c:
8031 * src/hildon-number-editor.c:
8032 * src/hildon-time-picker.c: Adding the 5* multiplier to
8035 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
8037 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
8038 instead of g_object_ref + gtk_object_sink.
8040 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8046 * debian/changelog: Updating.
8048 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8050 * src/hildon-color-chooser-dialog.c:
8051 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
8052 straight from Tommi labs.
8054 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8056 * examples/hildon-finger-example.c: Correcting the header file path.
8058 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
8059 the changed signal. Fixes a small memory leak.
8061 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8065 * src/hildon-banner.c: Importing several usefull fixes from the
8066 ubuntu-mobile branch.
8068 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8070 * examples/Makefile.am:
8071 * examples/hildon-finger-example.c: Adding a finger-checking code
8074 * src/hildon-font-selection-dialog.c: Do not allocate the color
8075 structure using the g_new. Fixes NB#54061.
8077 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8079 * src/hildon-helper.c: Correcting tabs in file.
8081 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
8083 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
8084 control the visibility of the children.
8086 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
8088 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8094 * debian/changelog: Updating.
8096 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8098 * src/hildon-bread-crumb-trail.c:
8099 (hildon_bread_crumb_trail_size_allocate):
8101 Make the back button always a square.
8103 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8105 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
8106 from the .c file as it's a private file.
8108 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8110 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
8111 uses slightly bigger height.
8113 * src/hildon-font-selection-dialog.c: Adding some checks before
8114 freeing memory in the font selection dialog.
8116 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8118 * src/hildon-font-selection-dialog.c: Adding a small check when
8121 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
8122 buttons sensitivity on page switching.
8124 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
8126 * src/hildon-bread-crumb-trail.c: make the add method handle all the
8127 internal details of adding a bread crumb to the trail.
8129 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8135 * debian/changelog: Updating.
8137 * src/hildon-bread-crumb-trail.h:
8138 * src/hildon-bread-crumb.h: Changing the API guard to
8139 HILDON_ENABLE_UNSTABLE_API.
8141 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8149 * src/hildon-helper.h: Updating.
8151 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8159 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8163 * src/hildon-helper.h: Small fix to make the package actually compile.
8165 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8167 * src/hildon-bread-crumb-trail.h:
8168 * src/hildon-bread-crumb.h:
8170 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
8171 to define ENABLE_UNSTABLE_API in the code that includes these headers.
8173 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8175 * examples/hildon-bread-crumb-trail-example.c:
8177 * src/hildon-bread-crumb-trail.c:
8178 * src/hildon-bread-crumb-trail.h:
8179 * src/hildon-bread-crumb.c:
8180 * src/hildon-bread-crumb.h:
8181 * src/hildon-marshalers.list:
8182 * src/hildon-bread-crumb-widget.c:
8183 * src/hildon-bread-crumb-widget.h:
8185 Slight change in the widget design. The bread crumb trail API is
8186 unchanged, but HildonBreadCrumb is now an interface. A *private*
8187 implementation, hildon-bread-crumb-widget, is provided and used
8188 internally by the trail for the push_text/push_icon functions.
8190 The generic push API is still available, so anyone can implement
8191 and use its own bread crumb widget.
8193 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8195 * debian/rules: Fixing the shlibs.
8197 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8199 * src/hildon-banner.c: Fixing a problem with timed banners having
8200 their parrent destroyed before they are.
8202 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
8204 * src/hildon-bread-crumb.c:
8205 * src/hildon-bread-crumb.h:
8207 Make the get_natural_size function a vfunc.
8209 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8211 * src/hildon-bread-crumb.c:
8212 * src/hildon-bread-crumb-trail.c:
8216 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8223 * debian/changelog: Updating for release.
8225 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8227 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
8228 don't leak the pango layout.
8230 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8233 * examples/hildon-bread-crumb-trail-example.c:
8237 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8239 * debian/changelog: Removing the bug-fixed entries that were actually
8240 resolved as WONTFIX.
8242 * src/hildon-date-editor.c: Removing a redundant check. Fixes
8245 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8247 * src/hildon-bread-crumb-trail.c:
8248 * src/hildon-bread-crumb-trail.h:
8249 * src/hildon-bread-crumb.c:
8250 * src/hildon-bread-crumb.h:
8254 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8256 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
8257 until it's passed the type check.
8259 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8261 * examples/hildon-bread-crumb-trail-example.c
8265 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8267 * examples/Makefile.am
8268 * examples/hildon-bread-crumb-trail-example.c
8270 * src/hildon-bread-crumb-trail.c
8271 * src/hildon-bread-crumb-trail.h
8272 * src/hildon-bread-crumb.c
8273 * src/hildon-bread-crumb.h
8275 New HildonBreadCrumbTrail widget.
8277 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
8279 * src/hildon-range-editor.c (hildon_range_editor_init),
8280 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
8281 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
8282 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
8283 hildon_time_editor_class_init, hildon_time_editor_init),
8284 src/hildon-get-password-dialog.c (invalid_input,
8285 hildon_get_password_set_property, hildon_get_password_get_property,
8286 create_contents, hildon_get_password_dialog_set_max_characters),
8287 src/hildon-set-password-dialog.c (create_contents),
8288 src/hildon-date-editor.c (hildon_date_editor_init),
8289 src/hildon-login-dialog.c (hildon_login_dialog_init),
8290 src/hildon-number-editor.c (hildon_number_editor_init),
8291 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
8292 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
8293 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
8294 configure option and adding the respective checks in the code.
8295 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
8296 hildon_calendar_drag_data_received): fixed some build warnings.
8298 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8300 * debian/changelog: A 1.0.0 release notes.