1 2009-05-25 Alejandro G. Castro <alex@igalia.com>
3 * hildon/hildon-pannable-area.c,
4 (hildon_pannable_area_init),
5 (hildon_pannable_area_scroll_indicator_fade),
6 (hildon_pannable_area_button_press_cb),
7 (hildon_pannable_axis_scroll),
8 (hildon_pannable_area_timeout),
9 (hildon_pannable_area_motion_notify_cb),
10 (hildon_pannable_area_button_release_cb): Changed the name of the
11 clicked attribute to button_pressed, it is more clear about its use.
13 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
15 * src/hildon-pannable-area.c
16 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
18 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
19 vertical scrollbar visibility, and use the data on private section instead,
20 remove the initial_hint check
21 (hildon_pannable_area_expose_event): add the initial_hint check here
23 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
25 * src/hildon-pannable-area.c
26 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
27 if the fadeout effect was used
28 (hildon_pannable_area_expose_event): check if it is required to
29 manage the initial effect on the begining of the function. Previously
30 it was made at the end, but this doesn't ensure that the scrollbars
31 will be painted on the first show. Do not set to FALSE initial_effect,
32 to ensure that the initial hint is showed the first time the pannable
34 * examples/Makefile.am
35 * examples/hildon-pannable-area-initial-hint-example.c:
36 New example, to show that the initial-hint is showed when the widget
39 Fixes: NB#116607 (Pannable area should always have scrollbar visible
40 initially if the application can be scrolled)
42 2009-05-25 Alberto Garcia <agarcia@igalia.com>
44 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
45 Resize table before adding new items to make sure that
46 gtk_table_resize() is called just once.
48 2009-05-25 Alberto Garcia <agarcia@igalia.com>
50 * hildon/hildon-app-menu-private.h
51 * hildon/hildon-app-menu.c (item_visibility_changed)
52 (filter_visibility_changed, hildon_app_menu_show_all)
53 (hildon_app_menu_hide_all, hildon_app_menu_init):
54 Rearrange items just once when gtk_widget_show_all()/hide_all()
57 2009-05-25 Alberto Garcia <agarcia@igalia.com>
59 * hildon/hildon-app-menu.c
60 (hildon_app_menu_insert, hildon_app_menu_add_filter):
61 Don't call gtk_widget_show() on added items.
63 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
64 automatically when they're added)
66 2009-05-20 Alberto Garcia <agarcia@igalia.com>
68 * hildon/hildon-banner.c
69 (hildon_banner_realize, +hildon_banner_unrealize)
70 (+screen_size_changed, hildon_banner_class_init):
71 Redisplay the banner if the screen is rotated.
73 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
74 on transition from landscape to portrait)
76 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
78 * hildon/hildon-banner.[ch]:
79 (hildon_banner_show_information_override_dnd): remove icon_name from the
80 method definition as it is ignored.
81 * examples/hildon-banner-dnd-example.c: updated with the change on
84 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
86 * hildon/hildon-banner-private.h: new require_override_dnd and
87 overrides_dnd variables
88 * hildon/hildon-banner.h:
89 (hildon_banner_show_information_override_dnd): new method, that shows
90 the information but sets the override flag, in order to show important
92 * hildon/hildon-banner.c
93 (hildon_banner_show_information_override_dnd): new method
94 (hildon_banner_set_override_flag): new utility function
95 (hildon_banner_real_show_information): new utility function, in order to
96 generalize the current hildon_banner_show_information_override_dnd and
97 hildon_banner_show_information_override_dnd
98 * examples/Makefile.am
99 * examples/hildon-banner-dnd-example.c: New example that show how to
100 use the new hildon_banner_show_information_override_dnd
102 Fixes: NB#114874 (There is no possibility to show hildon banners with
105 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
107 * hildon/hildon-pannable-area.c: Add a comment explaining the math
108 behind hildon_pannable_calculate_vel_factor().
110 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
112 * hildon/hildon-pannable-area.c
113 (hildon_pannable_calculate_vel_factor): Correct the sum of the
114 deceleration factors.
116 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
118 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
119 Reduce the default value for 'scroll_time' to 1 second, since the
120 current initial scrolling takes too much time.
122 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
124 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
125 calculate velocity factor during initialization, since the properties
128 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
130 * hildon/hildon-pannable-area.c
131 (hildon_pannable_area_set_property): Calculate the velocity factor
132 after setting the deceleration property and not after.
134 2009-05-20 Alberto Garcia <agarcia@igalia.com>
136 * hildon/hildon-entry.c
137 (hildon_entry_class_init, +set_property, hildon_entry_new)
138 * hildon/hildon-check-button.c
139 (hildon_check_button_class_init)
140 (+set_property, hildon_check_button_new):
141 Make the theme size a property.
143 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
144 others) do too much in the _new function)
146 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
148 * configure.ac: post release version bump
149 * debian/changelog: post release version bump
151 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
156 * configure.ac: Bump version.
157 * debian/changelog: Updates.
159 2009-05-15 Alberto Garcia <agarcia@igalia.com>
161 * hildon/hildon-gtk.h
162 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
163 New API function to take a screenshot of a window
165 Fixes: NB#106374 (Need API to take a loading screenshot)
167 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
169 * hildon/hildon-time-selector.c
170 (update_format_policy): prevent to use hours and minutes unitialized
172 2009-05-15 Alberto Garcia <agarcia@igalia.com>
174 * hildon/hildon-window.c (hildon_window_size_request):
175 Always request the full size of the screen (minus the title bar if
176 not in fullscreen mode).
178 Fixes: NB#107486 (HildonWindow should size itself properly)
180 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
182 * hildon/hildon-note-private.h: Add idle_handler to the private data.
183 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
184 (on_show_cb), (sound_handling): Disconnect the idle handler for
185 the sound when the note is finalized to avoid possible crashes.
187 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
190 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
192 * src/hildon-animation-actor.c,
193 * src/hildon-remote-texture.c:
194 Added proper object cleanup to remove signal handler and object
195 references as HildonAnimationActor and HildonRemoteTexture
196 objects get destroyed.
198 Fixes: NB#116682 (Destroying parented animation actors when
199 parent in unmapped leads to crash)
201 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
203 Based on a patch by Christian Dywan (christian@imendio.com)
205 * doc/hildon-sections.txt:
206 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
207 * hildon/hildon-helper.h: New file size formatting method.
209 * debian/control: Depend on osso-filemanager l10n package for
210 proper localization strings.
212 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
214 * tests/Makefile.am: Include top_srcdir to make possible to build
215 tests in a different builddir.
216 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
217 on a different builddir.
219 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
221 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
222 (hildon_touch_selector_remove): Disconnect model's signal handler
225 Fixes: NB#116289 (Hildon home crashes while adding task
228 2009-05-11 Alberto Garcia <agarcia@igalia.com>
230 * hildon/hildon-button.c
231 (hildon_button_set_title, hildon_button_set_value):
232 Hide labels containing an empty string.
234 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
236 * configure.ac: post release version bump
237 * debian/changelog: post release version bump
239 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
244 * configure.ac: Bump version.
245 * debian/changelog: Updates.
247 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
249 * hildon/hildon-note-private.h: Removed sound_signal_handler
250 * hildon/hildon-note.c
251 (on_show_cb): new callback on note "show" event, this simply adds
252 a idle, with the function sound_handling
253 (sound_handling): removed the sound_signal_handler management
254 (hildon_note_init): connect note "show" event to on_show_cb
255 (hildon_note_realize): remove the connection to "expose-event"
257 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
258 device?' confirmation note)
260 2009-05-08 Alberto Garcia <agarcia@igalia.com>
262 * hildon/hildon-note.c
263 (hildon_note_new_information_with_icon_name)
264 (hildon_note_new_confirmation_with_icon_name):
265 Terminate the list of parameters in g_object_set() calls
267 Fixes: NB#115166 (Formatting memory card is not taking place)
269 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
271 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
272 "dialog-information" role for the sound being played.
274 2009-05-06 Alberto Garcia <agarcia@igalia.com>
276 * hildon/hildon-app-menu.c (hildon_app_menu_init):
277 Don't make the menu a modal window, it causes strange interactions
278 with the pointer grab and it's not really needed.
280 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
282 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
284 * hildon/hildon-touch-selector.[ch]
285 (hildon_touch_selector_optimal_size_request): function added to get a
286 optimal size request from the touch selector, when you want a dialog to
287 show as much of the selector
288 * hildon/hildon-picker-dialog.c:
289 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
290 (hildon_app_menu_class_init):
291 New "max-height-landscape" and "max-height-portrait" style properties
292 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
293 (hildon_picker_dialog_get_max_height): returns the maximum height using
294 the style properties defined and checking the current portrait/landscape
296 (_hildon_picker_dialog_set_selector): removed the set_size_request
298 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
300 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
302 * hildon/hildon-bread-crumb-trail.c:
303 * hildon/hildon-bread-crumb.c:
304 * hildon/hildon-seekbar.c:
305 Add reference to replacements for these deprecated widgets.
307 Fixes: MB#4461 (Documentation: All deprecations should mention
310 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
312 * examples/hildon-remote-texture-example.c
314 Change the include to the hildon-remote-texture in order to compile
315 properly the examples on the installed libhildon1-examples package
317 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
319 * tests/Makefile.am: Add check for HildonPickerButton.
320 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
321 (START_TEST), (create_hildon_picker_button_suite): Add three simple
322 checks for the HildonPickerButton.
323 * tests/check_test.c (configure_tests): Add the test suite.
324 * tests/test_suites.h: likewise.
326 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
328 * hildon/hildon-touch-selector.c
329 (+on_row_changed): Emit HildonTouchSelector:changed when the
330 contents of a selected row change.
331 (_create_new_column), (_hildon_touch_selector_set_model): connect
332 to GtkTreeModel:row-changed on a newly set model.
334 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
336 2009-05-05 Alberto Garcia <agarcia@igalia.com>
338 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
340 * hildon/hildon-banner.c (hildon_banner_destroy)
341 (hildon_banner_show_progress, hildon_banner_set_fraction):
342 Remove the progress bar from HildonBanner and use a progress
345 Fixes: NB#113761 (Update progress banner to use progress
348 2009-05-04 Alberto Garcia <agarcia@igalia.com>
350 * hildon/hildon-banner.c:
351 Calculate size of the banner label using the actual screen width
352 rather than using a fixed value.
354 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
357 2009-05-04 Alejandro G. Castro <alex@igalia.com>
359 * hildon/hildon-pannable-area.c,
360 (hildon_pannable_area_class_init): Fixed signals documentation
363 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
365 * configure.ac: post release version bump
366 * debian/changelog: post release version bump
368 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
373 * configure.ac: Bump version.
374 * debian/changelog: Updates.
376 2009-05-01 Alberto Garcia <agarcia@igalia.com>
378 * hildon/hildon-edit-toolbar.c
379 (hildon_edit_toolbar_init):
380 Don't let buttons in HildonEditToolbar receive focus.
382 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
383 typing on an HW arrows key)
385 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
387 * doc/Makefile.am: Fix build.
389 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
391 * doc/Makefile.am: Do not redefine content_files.
393 2009-04-30 Alberto Garcia <agarcia@igalia.com>
401 Renamed src/ to hildon/
406 Include <hildon/hildon.h> directly in all examples.
408 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
410 * src/hildon-sort-dialog.c
411 (hildon_sort_dialog_add_sort_key_with_sorting)
415 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
417 * src/Makefile.am: Move generated sources to CLEANFILES, so that
418 make distcheck passes.
420 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
422 * Makefile.am: Enable gtk-doc during distcheck.
424 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
426 * Makefile.am: Do not distribute the debian/ directory.
428 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
430 * doc/Makefile.am: Add the extra SGML files to content_files,
431 so that they are distributed properly.
433 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
435 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
438 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
440 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
441 (hildon_note_new_information_with_icon_name): Set the "icon" property
442 to preserve soundness.
444 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
446 * src/hildon-font-selection-dialog.c
447 (hildon_font_selection_dialog_set_property): Fail when the "family"
448 property is set to NULL.
450 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
452 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
455 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
457 * src/hildon-time-selector.h:
458 Added HildonTimeSelectorFormatPolicy
459 * src/hildon-time-selector.c:
460 Added PROP_TIME_FORMAT_POLICY
461 (_check_ampm_format): renamed to check_automatic_ampm_format
462 (update_format_policy), (update_format_dependant_columns): new functions
463 (hildon_time_selector_class_init)
464 (hildon_time_selector_contructor)
465 (hildon_time_selector_init)
466 (hildon_time_selector_get_property)
467 (hildon_time_selector_set_property)
468 (hildon_time_selector_get_time)
469 (hildon_time_selector_set_time)
470 * src/hildon-touch-selector.h: new file
471 * src/hildon-touch-selector.c
472 (hildon_touch_selector_emit_changed)
473 (hildon_touch_selector_block_changed)
474 (hildon_touch_selector_unblock_changed)
475 Added functions to allow to block the emission of the "changed" signal
476 * src/hildon-picker-dialog.c
477 (hildon_picker_dialog_show): call the parent show before the custom code
478 * examples/hildon-time-button-example.c
479 Modified, so now you can configure the time format using the new property
481 Added a new property "time-format-policy" that allow to choose the time
482 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
483 case it uses gconf in order to check if the time selector must use
486 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
489 2009-04-28 Alberto Garcia <agarcia@igalia.com>
491 * src/hildon-note.c (hildon_note_init):
492 Label in HildonNote must be left aligned, not centered. This
493 reverts the last commit in HildonNote.
495 Fixes: NB#112933 (text is not left aligned in confirmation dialog
496 is connectivity dialog)
498 2009-04-27 Alberto Garcia <agarcia@igalia.com>
503 * doc/hildon-sections.txt:
504 Added hildon_gtk_window_set_do_not_disturb()
506 2009-04-27 Alberto Garcia <agarcia@igalia.com>
508 * src/hildon-note.c (hildon_note_init): Center label.
510 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
513 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
518 * configure.ac: Bump version.
519 * debian/changelog: Updates.
521 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
523 * src/hildon-note-private.h: Add button-width to the private data.
524 * src/hildon-note.c (+resize_button),
525 (+hildon_note_orientation_update): methods to repack widgets on orientation
527 (screen_size_changed): Call above method for confirmation notes.
528 (hildon_note_realize): Always connect to the "screen-size" changed signal.
529 (hildon_note_rebuild): Store the original width request from buttons.
531 Fixes: NB#109635 (Confirmation notes do not support portrait)
533 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
535 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
536 when it is a progress note.
538 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
540 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
541 in the note, since there are no horizontally arranged contents.
543 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
545 * src/hildon-gtk.c (+set_flag): new generic method to
546 set/delay a flag setting in a window.
547 (hildon_gtk_window_set_progress_indicator):
548 (hildon_gtk_window_set_do_not_disturb),
549 (hildon_gtk_window_set_portrait_flags): use set_flag() to
550 avoid code redundance.
552 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
554 Based on a patch by Alberto Garcia (agarcia@igalia.com)
556 * src/hildon-gtk.c (set_clear_window_flag),
557 (do_set_progress_indicator), (do_set_do_not_disturb),
558 (do_set_portrait_flags),
559 (hildon_gtk_window_set_progress_indicator),
560 (hildon_gtk_window_set_do_not_disturb),
561 (hildon_gtk_window_set_portrait_flags):
562 Allow setting dnd-flag, progress indicator, and portrait flags
563 when the window is not realized.
565 2009-04-24 Alejandro G. Castro <alex@igalia.com>
567 * src/hildon-pannable-area.c,
568 * src/hildon-pannable-area.h: Add the hildon deprecated define to
569 the size request policy function and defines.
571 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
573 * doc/hildon-sections.txt: Add the new API.
574 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
575 method to set the portrait flags.
576 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
578 Fixes: NB#112328 (Adding helpers for setting portrait properties)
580 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
582 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
583 to allow using this method with other flags.
584 (hildon_gtk_window_set_progress_indicator): Update accordingly.
585 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
587 2009-04-22 Alberto Garcia <agarcia@igalia.com>
589 * src/hildon-touch-selector.c
590 (hildon_touch_selector_append_text_column):
591 Make the cell renderer use the smallest width possible.
593 Fixes: NB#108470 (Selected items in multiple selection are either
594 having a tick that is cut or not visible at all.)
596 2009-04-22 Alberto Garcia <agarcia@igalia.com>
598 * src/hildon-touch-selector.c
599 (hildon_touch_selector_append_text_column):
602 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
604 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
605 Use g_strdup_printf() instead of a fixed size buffer.
607 2009-04-21 Alberto Garcia <agarcia@igalia.com>
609 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
610 Close banners when a HildonAppMenu is popped up.
612 Fixes: NB#111027 (Title menu closed immediately if activated when
613 "Invalid e-mail address" banner is shown)
615 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
620 * configure.ac: Bump version.
621 * debian/changelog: Updates.
623 2009-04-20 Alberto Garcia <agarcia@igalia.com>
625 * src/hildon-banner.c (hildon_banner_realize):
626 Mark HildonBanner as supporting portrait mode.
627 Use GDK to set window properties insetad of direct Xlib calls.
629 Fixes: NB#111830 (HildonBanner should be marked as supporting
632 2009-04-20 Alberto Garcia <agarcia@igalia.com>
634 * src/hildon-note.c (hildon_note_rebuild):
635 Hide action area in information notes. Prevents text from being
636 slightly aligned to the left.
638 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
641 2009-04-20 Alberto Garcia <agarcia@igalia.com>
643 Patch by Mox Soini (ext-mox.soini@nokia.com)
645 * src/hildon-banner.c (hildon_banner_create_animation):
646 Use stylus-sized icons in animation banner.
648 Fixes: NB#111206 (stylus sized icon for animation banner)
650 2009-04-20 Alberto Garcia <agarcia@igalia.com>
654 (+hildon_gtk_window_set_do_not_disturb):
655 New API to set the do-not-disturb flag.
657 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
659 2009-04-20 Alberto Garcia <agarcia@igalia.com>
661 * examples/hildon-progress-indicator-example.c: Fix example
663 * src/hildon-gtk.c (set_clear_window_flag)
664 (hildon_gtk_window_set_progress_indicator):
665 Create a generic function for setting flags to a window.
666 Use GDK instead of direct Xlib calls.
668 2009-04-14 Alberto Garcia <agarcia@igalia.com>
670 * src/hildon-button.c (hildon_button_set_arrangement):
671 Due to NB#88126, if one of the labels is too long it will be
672 painted outside the button. The 'value' label is more likely to be
673 the longest one, so we change its packing options in order to
674 truncate it if necessary. As a side effect, the 'title' label will
675 no longer be truncated.
677 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
679 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
684 * configure.ac: Bump version.
685 * debian/changelog: Updates.
687 2009-04-13 Alejandro G. Castro <alex@igalia.com>
689 Deprecation of the hildon_pannable_area_set_size_request_policy
690 API, the only policy properly supported in gtk+ nowadays is the
693 * src/hildon-pannable-area.c,
694 (hildon_pannable_area_size_request): Added a workaround for the
695 size_request to avoid the problems of huge pixmaps in case someone
696 is still using the function.
697 * src/hildon-pannable-area.h: Deprecated the enum with the
700 Fixes: NB#110244 (Problems with the
701 hildon_pannable_area_set_size_request_policy API)
703 2009-04-08 Alejandro G. Castro <alex@igalia.com>
705 * src/hildon-pannable-area.c,
706 (hildon_pannable_area_init),
707 (hildon_pannable_area_size_request),
708 (hildon_pannable_area_style_set),
709 (hildon_pannable_draw_vscroll),
710 (hildon_pannable_draw_hscroll),
711 (hildon_pannable_area_check_scrollbars): Replaced area_width with
712 indicator_width to clarify the use of the attribute.
714 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
719 * configure.ac: Bump version.
720 * debian/changelog: Updates.
722 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
724 * src/hildon-picker-dialog.c
725 * src/hildon-touch-selector.c
726 Reverting the change that tried to avoid the hardcoded height on
727 the picker dialog, as causes problems on the hildon-touch-selector
730 Fixes: NB#110029 (selectors not scrolling to selected value)
732 2009-04-07 Alberto Garcia <agarcia@igalia.com>
734 * src/hildon-touch-selector.c: Fix typos
736 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
738 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
739 Use the event coordinates instead of gdk_window_get_pointer(). Also,
740 request more motions after using it.
742 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
744 * src/hildon-calendar.c (hildon_calendar_expose),
745 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
746 Remove unused variables.
748 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
750 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
753 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
755 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
756 Check the return value of gtk_tree_selection_get_selected()
759 2009-04-06 Alberto Garcia <agarcia@igalia.com>
761 * src/hildon-animation-actor.c
762 * src/hildon-button.c
764 * src/hildon-pannable-area.c
765 * src/hildon-picker-button.c
766 * src/hildon-program.c
767 * src/hildon-remote-texture.c
768 * src/hildon-text-view.c
769 * src/hildon-touch-selector.c
770 * src/hildon-window-stack.c
771 * src/hildon-window.c:
772 Add missing 'Since: 2.2' tags.
774 * doc/hildon-sections.txt:
775 Add some missing symbols.
777 * doc/hildon-docs.sgml:
778 New 'Other' section for HildonAnimationActor and
781 2009-04-06 Alberto Garcia <agarcia@igalia.com>
783 Patch by Iván Gómez (igomez@igalia.com)
787 * doc/hildon-docs.sgml
788 * doc/hildon-sections.txt
792 New chapters on using the Hildon library.
793 Updated the general structure of the reference manual.
794 Other minor documentation fixes.
796 * src/hildon-calendar-popup.c
797 * src/hildon-calendar.c
798 * src/hildon-controlbar.c
799 * src/hildon-date-editor.c
800 * src/hildon-dialog.c
801 * src/hildon-hvolumebar.c
802 * src/hildon-number-editor.c
803 * src/hildon-range-editor.c
804 * src/hildon-sort-dialog.c
805 * src/hildon-time-editor.c
806 * src/hildon-time-picker.c
807 * src/hildon-volumebar-range.c
808 * src/hildon-volumebar.c
809 * src/hildon-vvolumebar.c
810 * src/hildon-weekday-picker.c:
811 Add deprecation notes
813 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
814 Document 'horizontal-movement' and 'vertical-movement' signals.
816 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
821 * configure.ac: Bump version.
822 * debian/changelog: Updates.
824 2009-04-06 Alejandro G. Castro <alex@igalia.com>
826 * src/hildon-pannable-area.c,
827 (hildon_pannable_area_class_init): increased the minimum velocity.
828 (hildon_pannable_area_button_release_cb): Updated the
829 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
830 setup. Review the code to control that last event.
832 Fixes: NB#109790 (Releasing finger in pannable area easily causes
835 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
837 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
839 * src/hildon-get-password-dialog.c
840 (hildon_get_password_set_property),
841 (hildon_get_password_get_property), (create_contents):
842 * src/hildon-login-dialog-private.h:
843 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
844 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
845 (hildon_login_dialog_get_password):
846 * src/hildon-set-password-dialog-private.h:
847 * src/hildon-set-password-dialog.c
848 (hildon_set_password_set_property),
849 (hildon_set_password_get_property), (create_contents),
850 (hildon_set_password_response_change),
851 (hildon_set_password_response_set), (hildon_checkbox_toggled):
853 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
854 instead and look more Fremantle style.
856 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
858 2009-04-03 Alberto Garcia <agarcia@igalia.com>
860 * doc/hildon-sections.txt
861 * src/hildon-window-stack.h
862 * src/hildon-window-stack.c
863 (+hildon_window_stack_get_windows):
864 New API to obtain the list of windows on a stack.
866 2009-04-02 Alberto Garcia <agarcia@igalia.com>
868 * src/hildon-app-menu.c (hildon_app_menu_popup)
869 (hildon_app_menu_class_init, -hildon_app_menu_show):
870 Remove hildon_app_menu_show() and move all its checks to
871 hildon_app_menu_popup()
873 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
875 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
876 (_hildon_picker_dialog_set_selector): removed call to
877 gtk_widget_set_size_request
878 * src/hildon-touch-selector.c
879 (_create_new_column): change the pannable size request policy
881 Avoid to use a hardcoded height for the hildon picker dialog. In order
882 to get that, we needed to change the hildon pannable size request
884 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
886 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
888 * src/hildon-window.c (hildon_window_map): Check for vbox to be
889 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
892 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
894 * debian/control: Depend on osso-system-lock localization package.
895 * src/hildon-code-dialog.c: Obtain the secu_application_title
896 translation from osso-system-lock.
897 * src/hildon-get-password-dialog.c (create_contents): Do not mark
898 for translation the atk related strings, that's not necessary.
899 * src/hildon-set-password-dialog.c (create_contents): Ditto.
900 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
901 cancel button, it is not required.
903 2009-04-02 Alejandro G. Castro <alex@igalia.com>
905 * src/hildon-pannable-area.c,
906 (hildon_pannable_area_class_init): Modified the default value of
907 the overshooting max speed, we have reduced it.
909 2009-04-02 Alberto Garcia <agarcia@igalia.com>
911 * doc/hildon-sections.txt
912 * src/hildon-window-private.h
913 * src/hildon-window.h
914 * src/hildon-window.c (hildon_window_class_init)
915 (hildon_window_init, hildon_window_finalize)
916 (hildon_window_realize, hildon_window_get_property)
917 (hildon_window_set_property, hildon_window_update_markup)
918 (hildon_window_get_markup, hildon_window_set_markup):
919 New "markup" property and hildon_window_{get,set}_markup() methods.
921 * examples/hildon-stackable-window-example.c (new_window):
922 Update example to use hildon_window_set_markup()
924 Fixes: NB#106375 (Need API to retitle a window with a title
927 2009-04-01 Alejandro G. Castro <alex@igalia.com>
929 * src/hildon-pannable-area.c,
930 (hildon_pannable_area_class_init): Changed the default value of
931 the initial_hint to TRUE.
932 (hildon_pannable_area_initial_effect): Changed the initial effect,
933 not the effect is just the fade-out of the scrollbars.
935 Fixes: NB#107775 (No scrollbars can be seen when several items are
936 available in a dialog)
938 2009-04-01 Alberto Garcia <agarcia@igalia.com>
940 * src/hildon-program.c (hildon_program_update_top_most):
943 Fixes: NB#109179 (Memory leak in Hildon program)
945 2009-04-01 Alberto Garcia <agarcia@igalia.com>
947 * src/hildon-banner.c (-get_current_app_window):
948 Remove unused function.
950 2009-04-01 Alejandro G. Castro <alex@igalia.com>
952 * src/hildon-pannable-area.c: Modified the documentation of the
953 get adjustments functions to explain the problem of using the
955 (hildon_pannable_area_class_init): Improved the explanation about
958 2009-04-01 Alberto Garcia <agarcia@igalia.com>
960 * src/hildon-app-menu-private.h
961 * src/hildon-app-menu.c
962 (hildon_app_menu_class_init):
963 Bring back the 'external-border' style property
964 (hildon_app_menu_class_init, hildon_app_menu_init)
965 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
966 Set a fixed width-request for the menu, independent of the number
969 Fixes: NB#94957 (Smoothly opened application menu)
971 2009-03-30 Alberto Garcia <agarcia@igalia.com>
973 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
975 * src/hildon-banner.c
976 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
978 Make sure that the banner is correctly placed the first time it's
980 (hildon_banner_check_position, -check_fullscreen_state):
981 Show the banner in the same place no matter if the window is in
982 fullscreen mode or not.
984 Fixes: NB#107386 (Odd stacking behaviour for information banners)
986 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
988 * src/hildon-touch-selector.c (_default_print_func): reorder
989 concatenation for clarity.
991 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
993 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
994 for multicolumn selectors.
996 Fixes: NB#109099 (Memory leak in Hildon touch selector)
998 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
1003 * configure.ac: Bump version.
1004 * debian/changelog: Updates.
1006 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
1008 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
1011 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1013 * configure.ac: removed libcangerra-gtk dependency
1014 * debian/control: removed libcanberra-gtk dependency
1015 * src/Makefile.am: removed libcanberra gtk related flags
1016 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1017 context, and manage a global canberra context instead
1019 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1021 2009-03-26 Alberto Garcia <agarcia@igalia.com>
1023 Patch by Daniel Borgmann (danielb@openismus.com)
1025 * src/hildon-edit-toolbar.c:
1026 Adjust the left padding.
1027 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
1028 Paint background of the edit toolbar.
1030 Fixes: NB#107897 (Patch to make editmodetoolbar background
1031 themeable and adjust margin)
1033 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1035 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1037 * src/hildon-program.c (hildon_program_update_top_most):
1038 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
1040 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
1041 change when the user tasks in/out of an application)
1043 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1045 * configure.ac: added libcangerra-gtk dependency
1046 * debian/control: added libcanberra-gtk dependency
1047 * src/Makefile.am: added libcanberra gtk related flags
1048 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
1051 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1053 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1055 * src/hildon-program.c (hildon_program_remove_window)
1056 (hildon_program_add_window): Add checks for the window
1057 parameter. Don't decrease the window counter if the window is not
1060 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1062 * src/hildon-pannable-area.c,
1063 (hildon_pannable_area_realize): Fixed position of the event_window
1064 in the realize method.
1066 2009-03-24 Alberto Garcia <agarcia@igalia.com>
1068 * src/hildon-app-menu-private.h
1069 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
1070 (hildon_app_menu_map, hildon_app_menu_hide_idle)
1071 (hildon_app_menu_key_press, hildon_app_menu_init)
1072 (hildon_app_menu_finalize):
1073 Make sure that all idle functions are removed when the widget is
1076 Fixes: NB#107583 (Hildon app menu crashes in various applications)
1078 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1083 * configure.ac: Bump version.
1084 * debian/changelog: Updates.
1086 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1088 * src/hildon-entry.c
1089 (+hildon_entry_show_placeholder),
1090 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
1091 that replace hildon_entry_update_contents().
1092 (hildon_entry_set_text),
1093 (hildon_entry_set_placeholder),
1094 (hildon_entry_focus_in_event),
1095 (hildon_entry_focus_out_event): Determine when it is needed
1096 either to show or hide the placeholder and call the above methods.
1098 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
1099 when the placeholder text is already set)
1101 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1103 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
1104 simple GdkPixbufAnim using the new icons for the banner.
1105 (hildon_banner_show_animation): Use the above mentioned method to
1106 create the animation widget.
1108 Fixes: NB#103564 (Make hildon animation banner use individual
1109 image files as the animation)
1111 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1113 * src/hildon-pannable-area.c,
1114 (hildon_pannable_leave_notify_event): Check if the child is NULL
1115 to avoid sending the leave.
1117 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1119 * src/hildon-pannable-area.c,
1120 (hildon_pannable_area_class_init),
1121 (hildon_pannable_leave_notify_event): Added a handler of the
1122 leave-notify-signal to consider when no motion notify before
1125 Fixes: NB#107494 (Items stay selected when clicking and moving
1126 away when inside pannable area)
1128 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
1133 * configure.ac: Bump version.
1134 * debian/changelog: Updates.
1136 2009-03-19 Alejandro G. Castro <alex@igalia.com>
1138 Patch by Alberto Garcia (agarcia@igalia.com)
1140 * src/hildon-date-button.c,
1141 (hildon_date_button_class_init),
1142 (hildon_date_button_init): Removed the construct property handling
1143 and created a default selector in the init method.
1144 * src/hildon-picker-button.c,
1145 (hildon_picker_button_class_init): Removed the construct flag of the
1148 2009-03-18 Alberto Garcia <agarcia@igalia.com>
1150 * src/hildon-main.c (hildon_init):
1151 Don't allow hildon_init() to be called more than once.
1153 Fixes: NB#106607 (hildon_init should issue error message upon
1156 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
1158 * examples/hildon-pannable-area-touch-list-example.c
1159 * examples/hildon-pannagle-area-touch-grid-example.c
1160 * examples/hildon-edit-toolbar-example.c
1161 * examples/hildon-touch-selector-multi-cells-example.c
1162 Removed the call to gtk_rc_parse_string, as it is not required since
1165 2009-03-17 Alejandro G. Castro <alex@igalia.com>
1167 * src/hildon-pannable-area.c,
1168 (hildon_pannable_area_class_init): Modified the default panning
1169 threshold of the widget to 6px.
1171 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
1172 than the threshold value ) within the button is not sending the
1175 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1177 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
1178 for the treeview in the new column. This way, the touch list will never
1181 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
1182 be selected manually for the HW keys to work)
1184 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1186 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
1187 comparison instead of using strcmp(). Fixes a compiler warning as well.
1189 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1191 * doc/hildon-docs.sgml: Do not set the library version in the
1192 document title, use the releaseinfo tag for that purpose instead.
1194 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1196 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
1197 Do not jump to the first item if the text in the entry is removed.
1199 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1204 * configure.ac: Bump version.
1205 * debian/changelog: Updates.
1207 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1209 * src/hildon-entry.c (hildon_entry_refresh_contents):
1210 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
1211 Use "ReversedSecondaryTextColor" for the placeholder text.
1213 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1215 * src/hildon-text-view.c: Fix compilation warning.
1217 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1219 * src/hildon-button.c (hildon_button_class_init): Don't make
1220 "title" and "value" construction properties, to prevent them from
1221 overwriting labels set from derived classes.
1223 * src/hildon-picker-button.c
1224 (hildon_picker_button_set_selector): Allow setting a NULL selector.
1225 (hildon_picker_button_class_init): Make touch-selector a
1226 construction property.
1228 * src/hildon-date-button.c (hildon_date_button_class_init)
1229 (+hildon_date_button_constructed): Add a default date selector if
1232 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1234 * src/hildon-touch-selector.c: Small documentation fixes.
1236 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1238 Based on a patch by Daniel Borgmann (danielb@openismus.com)
1240 * src/hildon-entry.c (hildon_entry_refresh_contents),
1241 (hildon_entry_get_text), (hildon_entry_init): Do not use the
1242 widget name, set the logical color directly instead and a boolean
1243 showing_placeholder instead.
1244 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
1245 use the widget name here either.
1247 Fixes: NB#105678 (HildonTextView should use logical colours
1248 instead of setting widget name)
1250 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1252 Patch by Daniel Elster (danielk@openismus.com)
1254 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
1255 Add user_data parameter.
1256 (hildon_touch_selector_set_print_func_full): New function akin
1257 hildon_touch_selector_set_print_func() but with support for user
1258 data and a destroy callback.
1259 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
1260 to clean up the print function user data.
1261 (hildon_touch_selector_class_init): Install dispose function.
1262 (HildonTouchSelectorPrivate::print_user_data),
1263 (HildonTouchSelectorPrivate::print_destroy_func): New private
1265 (hildon_touch_selector_init): Initialize new private members.
1266 (hildon_touch_selector_get_current_text): Pass along user data
1267 to the print function.
1268 (_default_print_func): Add dummy user_data to parameter list.
1269 * hildon-date-selector.c (_custom_print_func): ditto,
1270 * hildon-time-selector.c (_custom_print_func): ditto,
1271 * hildon-touch-selector-entry.c
1272 (hildon_touch_selector_entry_print_func): ditto.
1274 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
1276 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1278 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
1280 2009-03-12 Alejandro G. Castro <alex@igalia.com>
1282 * src/hildon-pannable-area.c,
1283 (hildon_pannable_area_init),
1284 (hildon_pannable_area_button_press_cb),
1285 (hildon_pannable_area_motion_notify_cb): We have added code to
1286 handle the leave and enter events when using the motion events.
1288 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
1290 2009-03-11 Alberto Garcia <agarcia@igalia.com>
1292 * src/hildon-date-button.c (hildon_date_button_get_date)
1293 (hildon_date_button_set_date): Make sure that the button has a
1296 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
1298 2009-03-11 Alejandro G. Castro <alex@igalia.com>
1300 * src/hildon-pannable-area.c,
1301 (hildon_pannable_area_class_init),
1302 (hildon_pannable_area_calculate_velocity): Modify the use of the
1303 force and adapt the value.
1305 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1307 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
1308 (hildon_app_menu_class_init): Hide the menu if it receives a
1309 delete-event, but don't destroy it
1311 Fixes: NB#104485 (Not able to address the call when application
1312 menu is opened at background)
1314 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1316 * src/hildon-app-menu.c
1317 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1318 Remove the "external-border" style property, let the menu take its
1319 natural size (or the one set by the window manager)
1320 (hildon_app_menu_repack_items):
1321 Don't reshow the menu, avoid flickers.
1323 Partially fixes NB#94957 (Smoothly opened application menu)
1325 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
1330 * configure.ac: Bump version.
1331 * debian/changelog: Updates.
1333 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1335 * src/hildon-pannable-area.c,
1336 (hildon_pannable_area_motion_notify_cb): We control that the
1337 direction error margin is used just in case the movement is
1338 allowed in the other direction.
1340 Fixes: NB#105012 (buttons inside a pannable area not getting
1341 release event when dragging/releasing)
1343 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1345 * src/hildon-pannable-area.c,
1346 (hildon_pannable_area_class_init),
1347 (hildon_pannable_area_get_property),
1348 (hildon_pannable_area_set_property),
1349 (hildon_pannable_area_initial_effect),
1350 (hildon_pannable_axis_scroll),
1351 (hildon_pannable_area_button_release_cb): Reviewed the
1352 overshooting effect, now it has its own max
1353 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
1354 speed when bouncing.
1356 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
1361 * configure.ac: Bump version.
1362 * debian/changelog: Updates.
1364 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1366 * src/hildon-pannable-area.c,
1367 (hildon_pannable_area_class_init): Changed the max speed, now
1368 users can launch the widget very fast. Reduced the default force,
1369 that way it is easier to control the launch speed.
1371 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1373 * src/hildon-pannable-area.c,
1374 (hildon_pannable_area_button_release_cb): Removed this check
1375 because it causes problems when the device is overloaded.
1377 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1379 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1380 add a current_text field to store the text entered in the
1381 touch selector entry.
1382 (_clean_current_selection): clean up the current text as well.
1383 (_save_current_selection), (_restore_current_selection):
1384 Save/restore the text in the entry if the selector is a
1385 HildonTouchSelectorEntry.
1387 Fixes: NB#102541 (value entered in the touch selector entry is not
1388 shown when opened for second time)
1390 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1392 * doc/hildon-sections.txt:
1393 * src/hildon-touch-selector-entry.c
1394 (+hildon_touch_selector_entry_get_entry):
1395 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
1397 Fixes: NB#104815 (I need accessor to the entry inside
1398 HildonTouchSelectorEntry)
1400 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1402 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
1403 (hildon_app_menu_class_init):
1404 New "filter-vertical-spacing" style property.
1406 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1408 * src/hildon-find-toolbar.c
1409 (hildon_find_toolbar_emit_close)
1410 (hildon_find_toolbar_emit_invalid_input)
1411 (hildon_find_toolbar_entry_activate):
1412 Use g_signal_emit() instead of g_signal_emit_by_name()
1414 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1416 Patch by Mox Soini (ext-mox.soini@nokia.com)
1418 * tests/TEST-CASES.txt
1419 * tests/check-hildon-banner.c
1420 * tests/check-hildon-note.c
1421 * src/hildon-banner.c
1422 * src/hildon-code-dialog.c
1423 * src/hildon-date-editor.c (real_set_calendar_icon_state)
1424 * src/hildon-time-editor.c
1425 * examples/hildon-lookup-example.c (main):
1426 Replace obsolete icon names with new ones.
1428 * src/hildon-find-toolbar-private.h:
1429 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
1430 (-hildon_find_toolbar_emit_search):
1431 Remove find button and change icon of close button.
1433 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
1435 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1437 * src/hildon-time-button.c (hildon_time_button_new_step):
1438 Use the "touch-selector" property to set the selector directly
1439 when creating the object.
1441 2009-03-05 Alejandro G. Castro <alex@igalia.com>
1443 Added a new example application that allows tuning the pannable
1444 area and replaced defines with properties in order to simplify the
1445 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
1446 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
1447 PROP_DIRECTION_ERROR_MARGIN.
1449 * examples/hildon-pannable-area-tuning-example.c: New example
1451 * src/hildon-pannable-area.c,
1452 (hildon_pannable_area_class_init),
1453 (hildon_pannable_area_init),
1454 (hildon_pannable_area_get_property),
1455 (hildon_pannable_area_set_property),
1456 (hildon_pannable_area_launch_fade_timeout),
1457 (hildon_pannable_area_adjust_value_changed),
1458 (hildon_pannable_axis_scroll),
1459 (hildon_pannable_area_motion_notify_cb),
1460 (hildon_pannable_area_scroll_cb),
1461 (hildon_pannable_area_button_release_cb): We have converted some
1462 of the defines that control the widget to properties to simplify
1465 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1467 * src/hildon-app-menu.c (hildon_app_menu_map)
1468 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
1469 so it's closed if a new window appears.
1471 Fixes: NB#104485 (Not able to address the call when application
1472 menu is opened at background)
1474 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1476 * src/hildon-color-button.c (hildon_color_button_get_property):Add
1477 missing 'break' statement in in 'case' construct to avoid
1480 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1482 * src/hildon-touch-selector-entry.c
1483 (hildon_touch_selector_entry_get_property),
1484 (hildon_touch_selector_entry_set_property): Add missing 'break'
1485 statements in in 'case' constructs to avoid incorrect warnings.
1487 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1489 * src/hildon-time-editor.c
1490 (hildon_time_editor_get_time_separators): Do not crash if
1491 the first label is NULL.
1493 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1495 * src/hildon-date-selector.c (_month_days): Check for month to be
1496 strictly less than 12, since otherwise we may overrun the array.
1498 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1500 * src/hildon-date-button.c (+hildon_date_button_new_full)
1501 (hildon_date_button_new, hildon_date_button_new_with_year_range)
1502 (hildon_date_button_init): Set the date selector using a
1503 construction property, to make it happen after HildonButton's
1504 "value" property is set.
1506 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
1507 current date by default)
1509 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1511 * doc/hildon-sections.txt
1512 * src/hildon-program.c
1513 * src/hildon-stackable-window.c
1514 * src/hildon-window.c:
1515 Documentation updates
1517 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1519 * src/hildon-window-stack.c (hildon_window_stack_get_default)
1520 (hildon_window_stack_new, +hildon_window_stack_set_property)
1521 (+hildon_window_stack_get_property)
1522 (hildon_window_stack_class_init)
1523 (+hildon_window_stack_set_window_group)
1524 (+hildon_window_stack_get_window_group):
1525 Make the window group a construction property.
1527 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1529 * doc/hildon-sections.txt
1530 * src/hildon-stackable-window-private.h
1531 * src/hildon-stackable-window.h
1532 * src/hildon-stackable-window.c
1533 (-hildon_stackable_window_set_app_menu)
1534 (-hildon_stackable_window_get_app_menu)
1535 (-hildon_stackable_window_toggle_menu)
1536 (-hildon_stackable_window_finalize)
1537 (hildon_stackable_window_class_init)
1538 (hildon_stackable_window_init)
1539 * src/hildon-window-private.h
1540 * src/hildon-window.h
1541 * src/hildon-window.c (hildon_window_init)
1542 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
1543 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
1544 (hildon_window_get_main_menu, hildon_window_set_main_menu)
1545 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
1546 Moved all HildonAppMenu code to HildonWindow. The menu does not
1547 require a HildonStackableWindow anymore.
1549 * src/hildon-app-menu.c
1550 * src/hildon-program.c
1551 * examples/hildon-app-menu-example.c (main):
1552 Update examples and documentation to reflect HildonAppMenu
1555 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1557 * src/hildon-remote-texture.c
1558 * src/hildon-animation-actor.c:
1559 Don't include unused private headers.
1561 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1563 * src/hildon-program-private.h
1564 * src/hildon-program.c
1565 (hildon_program_set_common_menu)
1566 (hildon_program_get_common_menu)
1567 (hildon_program_set_common_app_menu)
1568 (hildon_program_get_common_app_menu):
1569 Change common menu pointers from GtkWidget* to GtkMenu* and
1570 HildonAppMenu* to avoid unnecessary casts.
1572 2009-03-03 Alberto Garcia <agarcia@igalia.com>
1574 * src/hildon-window.c (hildon_window_set_main_menu):
1575 Removed incorrect 'Since:' tag
1577 2009-03-03 Alejandro G. Castro <alex@igalia.com>
1579 * src/hildon-pannable-area.c,
1580 (hildon_pannable_area_calculate_velocity): We use now the
1581 RATIO_TOLERANCE here to check the distance, fixed typo in the
1583 (hildon_pannable_area_motion_notify_cb): We have to set the type
1584 and time even if we are not sending the motion.
1586 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1588 * doc/hildon-sections.txt
1589 * src/hildon-app-menu.h
1590 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
1591 (+hildon_app_menu_get_filters): New methods to get the contents of
1594 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
1597 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1599 * src/hildon-app-menu.c (hildon_app_menu_popup):
1602 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1604 * src/hildon-window.h
1605 * src/hildon-window.c (+hildon_window_get_main_menu)
1606 (hildon_window_get_menu): Created hildon_window_get_main_menu()
1607 and deprecated hildon_window_get_menu().
1609 * src/hildon-stackable-window.h
1610 * src/hildon-stackable-window.c
1611 (+hildon_stackable_window_set_app_menu)
1612 (+hildon_stackable_window_get_app_menu)
1613 (hildon_stackable_window_set_main_menu): Created
1614 hildon_stackable_window_{get,set}_app_menu() and deprecated
1615 hildon_stackable_window_set_main_menu().
1617 * doc/hildon-sections.txt
1618 * examples/hildon-app-menu-example.c (main)
1619 * src/hildon-app-menu.c
1620 * src/hildon-program.c:
1621 Updated examples and documentation.
1623 Fixes: NB#103758 (No way to obtain a menu from a
1624 HildonStackableWindow)
1626 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1631 * configure.ac: Bump version.
1632 * debian/changelog: Updates.
1634 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1636 * examples/hildon-remote-texture-example.c: Include
1637 hildon-remote-texture.h explicitely.
1638 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
1639 applications not defining _XOPEN_SOURCE which don't require this header.
1641 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1643 * doc/hildon-sections.txt
1644 * src/hildon-app-menu.h
1645 * src/hildon-app-menu.c (+hildon_app_menu_popup):
1646 New function to pop up a HildonAppMenu
1648 * src/hildon-stackable-window.c
1649 (hildon_stackable_window_toggle_menu):
1650 Use hildon_app_menu_popup() to show the menu.
1652 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1654 * src/hildon-app-menu.c (hildon_app_menu_show)
1655 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
1656 menu if there's another window between it and its parent window.
1658 Fixes: NB#100468 (Application menu window is launched even when a
1659 new secondary-window/dialog is pending to be shown/realized)
1661 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1663 * src/hildon-window-stack.c (hildon_window_stack_push)
1664 (hildon_window_stack_pop_and_push):
1665 Don't forget to push/pop the first window.
1666 Reverse the window list before calling _push_list()
1668 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1670 * src/hildon-picker-button.h
1671 * src/hildon-picker-button.c (hildon_picker_button_class_init):
1672 Remove "value_changed" slot to avoid ABI breakage
1674 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1676 * src/hildon-pannable-area.c,
1677 (hildon_pannable_area_realize),
1678 (hildon_pannable_area_unrealize),
1679 (hildon_pannable_draw_vscroll),
1680 (hildon_pannable_draw_hscroll): Changed the method to handle the
1681 GC used to draw the transparent scrollbar, this way we avoid
1682 creating the GC all the time when drawing the scrollbars.
1684 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1686 * src/hildon-pannable-area.c,
1687 (hildon_pannable_area_init),
1688 (hildon_pannable_area_remove): Removed some unnecessary casts.
1689 (hildon_pannable_area_dispose): Disconnected some signals before
1690 releasing the adjustments.
1692 2009-02-26 Alberto Garcia <agarcia@igalia.com>
1694 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1695 Make sure that all widgets contained in the toolbar are shown.
1697 2009-02-25 Alberto Garcia <agarcia@igalia.com>
1699 * doc/hildon-sections.txt
1700 * src/hildon-picker-button.h
1701 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
1702 (_selection_changed, hildon_picker_button_on_dialog_response)
1703 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
1704 New hildon_picker_button_value_changed() method.
1707 * src/hildon-picker-button-private.h
1708 * src/hildon-picker-button.c (hildon_picker_button_init)
1709 (+hildon_picker_button_disable_value_changed): Add protected
1710 function for disabling the "value-changed" signal.
1712 * src/hildon-date-button.c (hildon_date_button_set_date):
1713 Don't emit "value-changed" for each one of the three columns.
1715 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
1716 before actual change of values)
1718 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1720 * src/hildon-pannable-area.c,
1721 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
1722 for the treeview overshooting.
1724 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1726 * src/hildon-banner.c (+hildon_banner_bind_style):
1727 Renamed from hildon_banner_bind_label_style(), now naming the
1728 banner itself as well.
1729 (hildon_banner_show_information),
1730 (hildon_banner_show_information_with_markup),
1731 (hildon_banner_show_animation), (hildon_banner_show_progress):
1732 Name the widgets and labels, based on their type.
1734 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1737 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1739 * src/hildon-note.c (hildon_note_set_property): call
1740 hildon_note_rename() on HildonNote:note-type set.
1741 (hildon_note_rename): Name the note and its label, based on the
1742 HildonNote:note-type property.
1744 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1747 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1749 * src/hildon-pannable-area.c,
1750 (hildon_pannable_area_class_init),
1751 (hildon_pannable_area_motion_notify_cb): Reviewed the default
1752 panning parameters, increased SPS and deceleration factor. Added
1753 also a margin to control fake directions.
1755 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1757 Patch by Sven Herzberg (sven@imendio.com)
1759 * configure.ac: Add missing AM_PROG_CC_C_0
1760 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
1762 See NB#101420 (Update unit tests and fix make check)
1764 2009-02-23 Alejandro G. Castro <alex@igalia.com>
1766 This patch was applied before but reverted because it caused
1767 problems, we have changed the main condition and tested the
1768 regressions we detected before and they work ok. We have done a
1769 complete review of the topmost algorithm in order to get a more
1772 * src/hildon-pannable-area.c,
1773 (hildon_pannable_area_get_topmost): Added a new parameter to
1774 filter the the windows that do not include those events.
1775 (hildon_pannable_area_button_press_cb),
1776 (hildon_pannable_area_button_release_cb),
1777 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1778 topmost function, we have added the new parameter.
1780 Fixes: NB#97458 (Pannable area prevents propagation of button
1783 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1785 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
1786 if all columns in the selector have an item selected.
1787 (_on_dialog_response): Stop "response" signal emission if there is
1788 any selector column without selected items.
1790 Fixes: NB#101889 (Picker dialog should not close when nothing is
1791 selected in multiple selection list)
1793 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1795 * src/hildon-font-selection-dialog.c
1796 (hildon_font_selection_dialog_class_init),
1797 (hildon_font_selection_dialog_init): Remove the preview
1798 button and dialog, since previewing with default theming is likely
1799 to be overcomplicated. The :preview property has now no effect.
1800 Update documentation blurbs to inform about this.
1802 Fixes: NB#92297 (Preview content is not clearly visible for
1803 default colour text)
1805 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1807 Reviewed the geometry that handles the children size and
1808 scrollbar, now it tries a size and reviews the results depending
1809 on the scrollbars visibility.
1811 * src/hildon-pannable-area.c,
1812 (hildon_pannable_area_realize): Fixed a typo.
1813 (hildon_pannable_area_child_allocate_calculate): Added this
1814 function to calculate the child allocation.
1815 (hildon_pannable_area_size_allocate): Reviewed the allocation
1817 (hildon_pannable_area_check_scrollbars),
1818 (hildon_pannable_area_refresh): Refactored refresh function, this
1819 way we can call the code handling the scrollbars without causing a
1820 size_request, it is interesting in the allocate.
1821 (hildon_pannable_area_init): Replace the callbacks of the
1822 value_changed and changed signals to propertly deal with the
1824 (hildon_pannable_area_grab_notify),
1825 (hildon_pannable_area_initial_effect),
1826 (hildon_pannable_area_launch_fade_timeout),
1827 (hildon_pannable_area_adjust_changed),
1828 (hildon_pannable_area_adjust_value_changed),
1829 (hildon_pannable_area_redraw),
1830 (hildon_pannable_area_button_press_cb),
1831 (hildon_pannable_area_button_release_cb),
1832 (hildon_pannable_area_scroll_cb),
1833 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
1834 code and use the new functions adjust_changed and
1835 adjust_value_changed.
1837 Fixes: NB#101603 (Focus is not even for the text entry boxes in
1838 Contact editor dialog)
1840 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
1845 * configure.ac: Bump version.
1846 * debian/changelog: Updates.
1848 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1850 * src/hildon-pannable-area.c,
1851 (hildon_pannable_area_get_topmost),
1852 (hildon_pannable_area_button_press_cb),
1853 (hildon_pannable_area_button_release_cb),
1854 (hildon_pannable_get_child_widget_at): Reverted the patch for the
1855 topmost function adding the event mask. We have to try a
1856 differente approach because it is still causing problems (NB#9745,
1859 2009-02-19 Alberto Garcia <agarcia@igalia.com>
1861 * src/hildon-banner.c:
1862 Update the maximum width of timed banners.
1863 (force_to_wrap_truncated): Enforce the maximum text width if the
1866 Fixes: NB#102413 (The text margins (wrapping) in information
1867 banner should be HILDON_MARGIN_TRIPLE)
1869 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1871 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
1873 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
1874 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
1875 bound when calculating the scroll indicator position.
1877 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
1878 treat ->lower correctly)
1880 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1882 * src/hildon-caption.c (hildon_caption_class_init): Remove the
1883 expose event handling, since it is not necessary to draw the focus
1886 Fixes: NB#102467 (Do not show highlight on the text in
1889 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1891 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
1892 full height of the toolbar for the button and the label.
1894 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1896 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
1897 padding before the label and after the button.
1899 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1901 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
1903 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1904 Add a GtkVSeparator between the button and the back arrow.
1905 Let the button have automatic size.
1906 Set a name to the widget for theming handling.
1908 Fixes: NB#101793 (Make edit toolbar the same height as window
1909 title bar (use title area theming))
1911 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1913 * src/hildon-helper.c (attach_new_color_element): Fix memory
1916 Fixes: NB#102262 (memory leak in hildon_button_set_style())
1918 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1920 * examples/hildon-button-example.c (common_buttons_window): Don't
1923 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1925 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1926 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
1928 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1930 * src/hildon-gtk.c: Check that the window is realized.
1932 Fixes: NB#102225 (Crash setting the progress indicator to a non
1935 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1937 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
1938 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
1939 instead of modifying the one in the widget style.
1941 Fixes: NB#101043 (Second row of all the command button are
1942 displayed in transparent mode.)
1944 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1946 * src/hildon-date-button.c
1947 * src/hildon-time-button.c: Add gettext macros
1949 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
1951 * src/hildon-date-button.c (hildon_date_button_new):
1952 * src/hildon-time-button.c (hildon_time_button_new_step):
1953 Use new logical strings to set the button default title.
1955 Fixes: NB#99915 (Date and Time options are not localised in Date
1958 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1960 * src/hildon-pannable-area.c
1961 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
1962 the PANNING_THRESHOLD.
1964 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1966 * src/hildon-pannable-area.c,
1967 (hildon_pannable_area_class_init): Increased the maximum speed.
1968 (hildon_pannable_area_get_property),
1969 (hildon_pannable_area_set_property),
1970 (hildon_pannable_area_timeout): Added a new low friction mode, it
1971 allows the user avoid friction when launching the widget fast
1972 enough. It is interesting to traverse long lists.
1974 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1976 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
1977 (+hildon_stackable_window_delete_event): Ignore delete events if
1978 the window is not the topmost one.
1980 Fixes: NB#101698 (Back button long press and delete-event handling)
1982 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1984 * src/hildon-pannable-area.c,
1985 (hildon_pannable_area_motion_notify_cb): Removed the use of the
1986 gtk-dnd-drag-threshold, it was too big. We have defined our own
1987 dnd define and set a smaller value: PANNIG_THRESHOLD.
1989 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1991 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
1992 user-defined icons, use always the default one.
1994 Fixes: NB#101916 (Do not allow custom icons on animation banner)
1996 2009-02-13 Alejandro G. Castro <alex@igalia.com>
1998 This patch was applied before but reverted because it caused
1999 problems, we have changed the main condition and tested the
2000 regressions we detected before and they work ok.
2002 * src/hildon-pannable-area.c,
2003 (hildon_pannable_area_get_topmost): Added a new parameter to
2004 filter the the windows that do not include those events. Added
2005 also a condition when finding the window to filter windows that do
2006 not ask for those events.
2007 (hildon_pannable_area_button_press_cb),
2008 (hildon_pannable_area_button_release_cb),
2009 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2010 topmost function, we have added the new parameter.
2012 Fixes: NB#97458 (Pannable area prevents propagation of button
2015 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2017 * tests/check-hildon-color-button.c (START_TEST): do not leak
2020 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2022 * src/hildon-font-selection-dialog.c
2023 (hildon_font_selection_dialog_get_preview_text): Return NULL
2024 instead of FALSE on the g_return_val_if_fail().
2026 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2028 * src/hildon-time-selector.c (hildon_time_selector_set_time):
2029 * src/hildon-date-selector.c
2030 (hildon_date_selector_select_current_date):
2031 Do not compare unsigned integers to be greater than or equal 0,
2032 because it's always TRUE.
2034 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2036 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
2037 (hildon_date_selector_constructor): Do not select the current
2038 date until we are handle the "changed" signal, to avoid having bogus
2039 elements in the days model.
2041 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2043 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
2044 for num_days, since _month_days() can return a negative value.
2046 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2048 * src/hildon-caption.c (hildon_caption_size_allocate):
2049 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
2050 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
2052 Initialize allocation variables to 0, to avoid eventually using
2053 unitialized variables.
2055 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2057 * src/hildon-bread-crumb-trail.c
2058 (hildon_bread_crumb_trail_size_allocate):
2059 * src/hildon-calendar.c (hildon_calendar_set_background):
2060 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
2061 * src/hildon-range-editor.c (hildon_range_editor_get_range):
2062 * src/hildon-seekbar.c (hildon_seekbar_init):
2063 * src/hildon-time-editor.c (hildon_time_editor_get_time):
2064 * src/hildon-time-selector.c (hildon_time_selector_finalize):
2065 * src/hildon-touch-selector-entry.c
2066 (hildon_touch_selector_get_text_from_model):
2067 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
2068 * src/hildon-window.c (hildon_window_finalize):
2070 Remove many unused variables.
2072 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2074 * src/hildon-seekbar.c: (hildon_seekbar_init),
2075 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
2077 Remove unnecessary g_assert() calls.
2079 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2081 * src/hildon-caption.c: (hildon_caption_expose),
2082 (hildon_caption_set_property), (hildon_caption_init),
2083 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
2084 (hildon_caption_size_request), (hildon_caption_size_allocate),
2085 (hildon_caption_forall), (hildon_caption_set_separator),
2086 (hildon_caption_activate), (hildon_caption_set_child_expand),
2087 (hildon_caption_set_label_text),
2088 (hildon_caption_get_label_alignment):
2090 Remove unnecessary g_assert() calls.
2092 2009-02-12 Alberto Garcia <agarcia@igalia.com>
2094 * src/hildon-banner.c
2095 (hildon_banner_map, hildon_banner_init): Make banner temporary
2096 before mapping it to avoid closing other temporary windows, but
2097 make it non-temporary afterwards to avoid being closed by other
2098 non-temporary windows.
2099 (-hildon_banner_client_event, hildon_banner_init):
2100 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
2102 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
2105 2009-02-11 Alberto Garcia <agarcia@igalia.com>
2107 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
2110 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2112 * src/hildon-remote-texture.c
2113 * src/hildon-remote-texture.h
2114 * src/hildon-remote-texture-private.h
2115 * examples/hildon-remote-texture-example.c:
2116 Updates/fixes to remote-texture and its example.
2118 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
2120 Patch by Mox Soini (ext-mox.soini@nokia.com)
2122 * src/hildon-code-dialog.c: Update logical id.
2123 * src/hildon-set-password-dialog.c: Update logical id.
2125 Fixes: NB#100646 (Logical strings is shown for ok in set
2126 password,Password needed dialogs)
2128 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2131 * src/hildon-remote-texture.c
2132 * src/hildon-remote-texture.h
2133 * src/hildon-remote-texture-private.h
2135 Added remote texture widget (for Clutter shared memory textures)
2137 * examples/hildon-remote-texture-example.c
2138 * examples/Makefile.am
2139 Added example file for remote texture usage
2141 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
2143 * configure.ac: post release version bump.
2144 * debian/changelog: version bump.
2146 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
2151 * configure.ac: Bump version.
2152 * debian/changelog: Updates.
2154 2009-02-06 Alberto Garcia <agarcia@igalia.com>
2156 * src/hildon-date-selector.c (hildon_date_selector_init)
2157 (hildon_date_selector_constructor): Don't connect to the "changed"
2158 signal until the selector is completely constructed.
2160 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2162 * src/hildon-touch-selector.c: (_create_new_column),
2163 (hildon_touch_selector_append_column),
2164 (hildon_touch_selector_set_column_selection_mode),
2165 (hildon_touch_selector_set_active),
2166 (hildon_touch_selector_select_iter):
2167 Emit the HildonTouchSelector::changed signal every time selection
2168 is changed in any of the methods above. This behavior was already
2169 documented but not fully functional.
2171 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
2172 selection is programmatically changed)
2174 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2176 * doc/hildon-sections.txt: Remove obsolete icon
2177 sizes from here as well.
2179 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2181 * examples/hildon-stackable-window-example.c (add_window): Remove
2184 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2186 * src/hildon-app-menu.c
2187 (hildon_app_menu_show): Check whether the parent window of a menu
2188 is topmost before popping it up.
2190 Fixes: NB#100468 (Application menu window is launched even when a
2191 new secondary-window/dialog is pending to be shown/realized.)
2193 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2195 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
2198 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2200 Patch by Mox Soini (ext-mox.soini@nokia.com)
2202 * src/hildon-banner.c: (hildon_banner_show_animation):
2203 use stylus size instead of obsolete note size.
2204 * src/hildon-defines.h: Update icon sizes.
2206 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2208 * src/hildon-touch-selector-entry.c:
2209 (hildon_touch_selector_entry_init): Disable unsupported
2211 (hildon_touch_selector_entry_get_text_column): Emit a warning
2212 if an unsupported input modes is used and explicitile state
2213 these modes in the documentation.
2215 Fixes: NB#99802 (Hildon touch selector entry not working properly
2216 for some of the input modes)
2218 2009-02-05 Alejandro G. Castro <alex@igalia.com>
2220 * src/hildon-pannable-area.c,
2221 (hildon_pannable_area_init): Added the changed signal handlers of
2224 Fixes: NB#100320 (HildonPannableArea does not listen to
2225 GtkAdjustment "change" signals)
2227 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2229 * doc/hildon-sections.txt
2230 * src/hildon-window-private.h
2231 * src/hildon-window.h
2232 * src/hildon-window.c (hildon_window_init)
2233 (hildon_window_realize, hildon_window_unrealize)
2234 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
2235 (hildon_window_size_request, hildon_window_size_allocate)
2236 (hildon_window_forall, hildon_window_show_all)
2237 (hildon_window_destroy, +paint_edit_toolbar)
2238 (+hildon_window_set_edit_toolbar):
2239 New hildon_window_set_edit_toolbar() method, to add a
2240 HildonEditToolbar to a window without having to pack it manually.
2242 Reorganize hildon_window_size_allocate()
2244 * src/hildon-edit-toolbar.c: Update documentation.
2246 * examples/hildon-edit-toolbar-example.c (edit_window): Update
2247 example to use the new API.
2249 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
2251 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2253 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
2254 Remove from stack before calling parent's hide.
2256 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2258 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
2259 window is removed from the middle of the stack, update the
2260 transiency of the previous one.
2262 Fixes: NB#100487 (HildonStackableWindow transiency becomes
2265 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2267 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
2268 block/unblock the signal handler if it's not actually being used.
2269 Fixes some critical warnings.
2271 2009-02-02 Alberto Garcia <agarcia@igalia.com>
2273 Based on a patch by Iván Gómez (igomez@igalia.com)
2275 * src/hildon-banner.c
2279 * src/hildon-pannable-area.c
2280 * src/hildon-picker-dialog.c
2281 * src/hildon-wizard-dialog.h
2282 * src/hildon-wizard-dialog.c: Documentation updates.
2284 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
2285 gtk_dialog_add_button() instead of hildon_dialog_add_button().
2287 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2289 * configure.ac: post release version bump.
2290 * debian/changelog: version bump.
2292 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2297 * configure.ac: Bump version.
2298 * debian/changelog: Updates.
2300 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2302 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
2303 a stock icon nor change the relief of the back arrow.
2305 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2306 graphics from theme)
2308 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2310 * src/hildon-button.c (hildon_button_set_alignment): Use
2311 priv->alignment if the button has no child yet.
2313 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
2315 * src/hildon-button.c: (hildon_button_init): Set the
2316 button style during initialization to give it the proper
2319 Fixes: NB#99713 (HildonButton value label color is wrong)
2321 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2323 * src/hildon-touch-selector.c: Document
2324 hildon_touch_selector_center_on_selected()
2326 2009-01-28 Alberto Garcia <agarcia@igalia.com>
2328 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
2329 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
2330 all menu items, but not the menu itself.
2331 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
2332 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
2333 items after adding them to the menu so keyboard accelerators work.
2334 (hildon_app_menu_show): Don't show the menu if it contains items
2335 but none of them are visible.
2337 * examples/hildon-app-menu-example.c (create_menu): Use
2338 gtk_widget_show_all() to show all menu items.
2340 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2342 * src/hildon-picker-dialog.c:
2343 (-_update_title_on_selector_changed_cb),
2344 (-_dialog_update_title): Removed.
2345 (_select_on_selector_changed_cb), (_on_dialog_response),
2346 (on_selector_columns_changed): Do not update the dialog title.
2347 (setup_interaction_mode): Do not connect to
2348 HildonTouchSelector::changed signal if there's a "done" button, as
2349 the dialog title doesn't need to be updated.
2351 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
2354 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
2356 Patch by Kristian Rietveld (kris@imendio.com)
2358 * src/hildon-touch-selector.c: (_create_new_column): Use new
2359 GtkTreeView::hildon-row-tapped signal to react to user interactions
2360 instead of ::changed.
2362 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
2363 with some dynamic tree model)
2365 2009-01-27 Alberto Garcia <agarcia@igalia.com>
2367 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
2368 (+screen_size_changed, +label_size_request)
2369 (hildon_note_class_init): Make the Hildon information note have a
2370 minimum height, and make its text hvae a maximum width.
2372 Fixes: NB#98614 (Hildon information note (background) should have
2373 minimum height and maximum text width)
2375 2009-01-26 Alberto Garcia <agarcia@igalia.com>
2377 * src/hildon-banner.h
2378 * src/hildon-banner.c (hildon_banner_show_information)
2379 (hildon_banner_show_informationf)
2380 (hildon_banner_show_information_with_markup): Update documentation
2381 to reflect that the icon_name parameter is not used anymore.
2382 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
2383 Remove all code from these functions and mark them as deprecated.
2384 (hildon_banner_show_progress): Mark as deprecated.
2386 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
2388 2009-01-26 Alejandro G. Castro <alex@igalia.com>
2390 * src/hildon-pannable-area.c,
2391 (hildon_pannable_area_class_init),
2392 (tranparency_color),
2393 (hildon_pannable_draw_vscroll),
2394 (hildon_pannable_draw_hscroll),
2395 (hildon_pannable_area_expose_event): Added a new way to render the
2396 scrollbars of the pannable area avoiding using cairo at all. This
2397 way we improve the performance of the pannable area rendering. The
2398 cairo rendering procedure is still in the code, we can control
2399 which one to use changing the value of the define
2400 USE_CAIRO_SCROLLBARS.
2402 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2404 * configure.ac: post release version bump.
2405 * debian/changelog: version bump.
2407 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2412 * configure.ac: Bump version.
2413 * debian/changelog: Updates.
2415 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2417 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
2418 banners instead of destroying them when they receive a button
2421 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2423 Reverted commit 34028, it was causing regressions, probably the
2424 topmost condition is not correct, we have to check it in more
2425 detail. We have reponed the bug: NB#97458 (Pannable area prevents
2426 propagation of button press events)
2428 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2430 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
2431 that the selection is not empty before attempting to retrieve the
2432 current ampm selection.
2434 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2436 * src/hildon-picker-button.c:
2437 (hildon_picker_button_on_dialog_response): Directly update the
2438 button contents when required instead of calling _selection_changed.
2440 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2442 * src/hildon-program.c (hildon_program_update_top_most): Update
2443 'is-topmost' property also when wm_hints is not set.
2445 Fixes: NB#98383 (is-topmost signal is not emitted when task
2446 switcher is clicked.)
2448 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2450 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
2454 * src/hildon-animation-actor.c,
2455 * src/hildon-animation-actor.h: Added the animation actor class,
2456 this widget represents an animation actor for WM-assisted
2457 animation effects in the Hildon framework.
2459 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2461 * src/hildon-window-stack-private.h
2462 * src/hildon-window-stack.c
2463 * src/hildon-stackable-window.c (hildon_stackable_window_show):
2464 Avoid calling gtk_widget_show() again indirectly from
2465 hildon_stackable_window_show()
2467 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2469 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
2472 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2474 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
2475 (hildon_time_selector_init): Move the construction of the hours and
2476 ampm columns to the constructor to preserve the order the columns
2479 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2481 * src/hildon-picker-dialog.c:
2482 (hildon_picker_dialog_class_init): Connect a realize method.
2483 (+hildon_picker_dialog_realize): Setup the interaction mode here
2485 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
2486 yet, do it during the realize instead.
2487 (_on_dialog_response):
2488 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
2489 if the widget is not realized, to avoid the dialog response before it
2492 Avoid premature responses in the HildonPickerDialog that can cause it
2493 to be hidden before it's even shown.
2495 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2497 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
2498 (on_selector_columns_changed), (requires_done_button),
2499 (+prepare_action_area), (setup_interaction_mode),
2500 (_hildon_picker_dialog_set_selector):
2502 Split the interaction mode setup into preparation of the
2503 action area (prepare_action_area()) and the connection of
2504 the signals in setup_interaction_mode() and update the code to
2507 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2509 * src/hildon-pannable-area.c,
2510 (hildon_pannable_area_class_init): Reduced the amount of scrolls
2511 per second to 15, we will check if this is ok regarding
2514 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2516 * src/hildon-pannable-area.c,
2517 (hildon_pannable_axis_scroll): Avoid resize if we already have
2518 reached overshoot_max.
2520 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2522 * src/hildon-pannable-area.c,
2523 (hildon_pannable_area_init),
2524 (hildon_pannable_area_realize),
2525 (hildon_pannable_area_size_allocate),
2526 (hildon_pannable_area_map),
2527 (hildon_pannable_area_unmap),
2528 (hildon_pannable_draw_vscroll),
2529 (hildon_pannable_draw_hscroll),
2530 (hildon_pannable_area_expose_event),
2531 (hildon_pannable_area_refresh): Added a new GdkWindow to the
2532 pannable are to avoid the expose events go to the window and
2533 redraw the window. We save this way that part of the stack and the
2534 paint_boxes. We had to change the positions of the elements when
2537 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
2539 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2540 * src/hildon-color-chooser-dialog.c:
2541 (hildon_color_chooser_dialog_init):
2542 * src/hildon-font-selection-dialog.c:
2543 (hildon_font_selection_dialog_init),
2544 (hildon_font_selection_dialog_show_preview):
2545 * src/hildon-get-password-dialog.c:
2546 * src/hildon-login-dialog.c:
2547 * src/hildon-set-password-dialog.c:
2548 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
2549 * src/hildon-time-picker.c: (hildon_time_picker_init):
2551 Remove obsolete logical string IDs and update to the appropriate ones.
2553 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
2555 2009-01-21 Alberto Garcia <agarcia@igalia.com>
2557 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
2558 that happens if the window hasn't been realized yet.
2560 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
2561 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
2563 2009-01-20 Alberto Garcia <agarcia@igalia.com>
2565 * src/hildon-app-menu.c (hildon_app_menu_class_init)
2566 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
2569 Fixes: NB#98537 (Device hangs in account settings dialog)
2571 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2573 * configure.ac: post release version bump.
2574 * debian/changelog: version bump
2576 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2581 * configure.ac: Bump version.
2582 * debian/changelog: Updates.
2584 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2586 Added a new function to the HildonTimeButton widget that allows to
2587 change the step of the minutes in the selector associated with the
2588 button: hildon_time_button_new_step
2590 * src/hildon-time-button.c,
2591 (hildon_time_button_init),
2592 (hildon_time_button_new),
2593 (hildon_time_button_new_step):
2594 * src/hildon-time-button.h: Added the new function and refactored
2596 * examples/hildon-time-button-example.c,
2597 (main): We have replaced the function without parameters with the
2598 function with the steps set to 5
2600 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
2602 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2604 * src/hildon-time-selector.c,
2605 (hildon_time_selector_class_init),
2606 (hildon_time_selector_constructor),
2607 (hildon_time_selector_get_property),
2608 (hildon_time_selector_set_property),
2609 (_create_minutes_model),
2610 (hildon_time_selector_new_step),
2611 (hildon_time_selector_set_time),
2612 * src/hildon-time-selector.h: Added a new property to the
2613 HildonTimeSelector (minutes-step), we use that property to control
2614 the steps between the minutes in the list of the selector. We have
2615 added a new function to the API to create a widget changing the
2616 step: hildon_time_selector_new_step.
2618 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2620 * src/hildon-time-selector.c,
2621 (hildon_time_selector_class_init),
2622 (hildon_time_selector_constructor),
2623 (hildon_time_selector_init): Overrided the construct function when
2624 creating the time selector object. We have moved the minutes model
2625 handling code from the init to the new construction function:
2626 hildon_time_selector_constructor.
2628 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2630 * examples/hildon-date-button-example.c: (main): Use the new
2631 hildon_date_button_new_with_year_range() method in the example.
2632 * src/hildon-date-button.c:
2633 (+hildon_date_button_new_with_year_range): New public method
2634 to conveniently create a HildonDateButton with a custom year range
2635 in its HildonDateSelector.
2636 * src/hildon-date-button.h: Add the new public method definition.
2638 Fixes: NB#97908 (Not possible to change the year range in
2639 HildonDateSelector/HildonDateButton)
2641 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2643 * src/hildon-date-selector.c:
2644 (+hildon_date_selector_set_property),
2645 (+hildon_date_selector_get_property),
2646 (hildon_date_selector_class_init): Install new properties "min-year"
2647 and "max-year" to define boundaries for the year column.
2648 (_create_year_model): Use the boundary properties to populate the model.
2649 (+hildon_date_selector_new_with_year_range): New public method to
2650 create a HildonDateSelector with a user defined year range.
2651 (hildon_date_selector_select_current_date): Use the new boundaries to
2652 calculate the iterator of current year.
2653 * src/hildon-date-selector.h: Add the new public method definition.
2655 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2657 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
2658 Install a constructor method.
2659 (+hildon_date_selector_construct_ui): construct the widget.
2660 (+hildon_date_selector_constructor): new constructor.
2661 (+hildon_date_selector_init): move out widget construction code to
2662 the new constructor.
2664 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2666 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
2667 that there's actually a month or year selected before obtaining them.
2668 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
2669 of the HildonTouchSelector::changed signal, as it was emitted on every
2670 single item selection.
2672 Fix some warnings and possible crashers due to the selection restoring.
2674 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2676 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
2677 the signal handlers only after creating the dialog instead of on every
2680 2009-01-19 Alberto Garcia <agarcia@igalia.com>
2682 * src/hildon-button.c (hildon_button_init)
2683 * src/hildon-check-button.c (hildon_check_button_init)
2684 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
2685 focus when clicked by default.
2687 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2689 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
2692 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2694 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2695 Alejandro G. Castro (alex@igalia.com)
2697 * src/hildon-picker-dialog.c:
2698 (hildon_picker_dialog_class_init): install new "center-on-show"
2700 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
2701 (hildon_picker_dialog_set_property): add setter code for the new
2703 (hildon_picker_dialog_get_property): add getter code for the new
2705 (hildon_picker_dialog_show): Ensure visibility of selected items in the
2706 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
2709 Fixes: NB#92849 (Selected item is not always visible when
2710 HildonTouchSelector is shown)
2712 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2714 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2715 Alejandro G. Castro (alex@igalia.com)
2717 * src/hildon-touch-selector.c:
2718 (_create_new_column): Do not connect to the "realize" signal of the
2720 (hildon_touch_selector_append_column): center on the selected items
2721 when a new column is appended.
2722 (hildon_touch_selector_select_iter): Factor out the code to select a
2723 column to hildon_touch_selector_scroll_to().
2724 (+search_nearest_element): Method to retrieve the nearest selected
2725 element to the visible area of the pannable area in a column.
2726 (+on_realize_cb): scroll to the initially selected item.
2727 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
2728 the pannable area is realized, otherwise delay this until it is.
2729 (+_hildon_touch_selector_center_on_selected_items): Centers on the
2730 selected items of a given column.
2731 (+hildon_touch_selector_center_on_selected): Public method to center
2732 all columns on the nearest selected item.
2733 * src/hildon-touch-selector.h: Add definition for
2734 hildon_touch_selector_center_on_selected().
2736 Implement public API to ensure visibility of all selected items in
2737 a HildonTouchSelector.
2739 2009-01-16 Alejandro G. Castro <alex@igalia.com>
2741 Fixed a problem in the fading when calling the scroll_to API, and
2742 improve scrollbar fading handling.
2744 * src/hildon-pannable-area.c,
2745 (hildon_pannable_area_grab_notify): avoid the timeout when the
2747 (hildon_pannable_area_button_press_cb),
2748 (hildon_pannable_area_motion_notify_cb): Code style changes.
2749 (hildon_pannable_area_button_release_cb): Review the conditions
2750 when releasing the mouse button to avoid unrequired fading
2752 (hildon_pannable_area_scroll_to): Do not calculate and set the
2753 velocity if the scroll is not required.
2755 2009-01-15 Alberto Garcia <agarcia@igalia.com>
2757 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
2758 Don't check whether the new selector is NULL: it cannot be.
2759 Hold a reference to the selector while doing the replacement.
2761 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2763 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2764 unnecessary size_request in a removed widget.
2766 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2768 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2769 an unnecessary reference tracking that was leaking.
2771 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2773 Added delayed motion notify event handling, this way we can
2774 discard redrawing if more than 25 events arrive per second.
2776 * src/hildon-pannable-area.c,
2777 (hildon_pannable_area_init): Initialized the new private atributes
2778 controlling this timeout
2779 (hildon_pannable_area_dispose): Remove the timeout that controls
2780 the motion notify events.
2781 (hildon_pannable_area_scroll): Added a condition to control the
2782 use of the acceleration.
2783 (hildon_pannable_area_motion_event_scroll_timeout),
2784 (hildon_pannable_area_motion_event_scroll): Added this two
2785 functions, they handle the motion notify events inside the
2787 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
2788 to the scroll method with the new function.
2789 (hildon_pannable_area_button_release_cb): We have to remove the
2790 timeout handler and move to the last position if the last motion
2791 events were not handled.
2793 Fixes: NB#97028 (Pannable area updates on every motion event)
2795 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2797 * src/hildon-pannable-area.c,
2798 (hildon_pannable_area_get_topmost): Added a new parameter to
2799 filter the the windows that do not include those events. Added
2800 also a condition when finding the window to filter windows that do
2801 not ask for those events.
2802 (hildon_pannable_area_button_press_cb),
2803 (hildon_pannable_area_button_release_cb),
2804 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2805 topmost function, we have added the new parameter.
2807 Fixes: NB#97458 (Pannable area prevents propagation of button
2810 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2812 * src/hildon-pannable-area.c,
2813 (hildon_pannable_area_initial_effect): Added controls before
2814 launching the timeout and the idle functions.
2815 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
2816 of the method, in some situations it can return with TRUE and 0 in
2818 (hildon_pannable_area_button_press_cb): We do not need to set
2819 DELAY for fading out here.
2821 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
2823 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2825 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
2826 post-cleaning if the selection is not NULL.
2828 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2830 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
2831 all items before restoring the selection.
2833 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2835 * src/hildon-touch-selector.c:
2836 (+hildon_touch_selector_unselect_all):
2837 * src/hildon-touch-selector.h: New API to unselect all items in a
2838 column of the touch selector.
2840 2009-01-14 Alejandro G. Castro <alex@igalia.com>
2842 * src/hildon-pannable-area.c,
2843 (hildon_pannable_area_redraw): Added a call to the refresh
2844 function inside the redraw because apparently in some cases the
2845 change in the adjustment does not imply a size allocate.
2847 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
2848 despite the view not being scrollable)
2850 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2852 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
2853 leak. Check for NULL before attempting to set the window title.
2855 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2857 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
2858 whether to show or not the 'Done' button each time the dialog is
2859 shown, as it depends on the HildonTouchSelector selection mode.
2861 Fixes: NB#96226 (In multiple selection mode Done button is shown
2862 sometimes in listpicker)
2864 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2866 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
2867 for the number of columns in the HildonTouchSelector more than once.
2869 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2871 * src/hildon-touch-selector.c: Minor documentation fixes.
2873 * src/hildon-picker-dialog.c (+_dialog_update_title)
2874 (_select_on_selector_changed_cb)
2875 (_update_title_on_selector_changed_cb)
2876 (on_selector_columns_changed): Update dialog title when there's no
2877 'Done' button and also when the number of columns in the selector
2881 * src/hildon-picker-button.c (hildon_picker_button_finalize)
2882 (+_selection_changed, hildon_picker_button_on_dialog_response)
2883 (hildon_picker_button_selector_selection_changed)
2884 (+hildon_picker_button_selector_columns_changed)
2885 (hildon_picker_button_set_selector): Update button value and emit
2886 'value-changed' when the number of columns in the selector
2890 Fixes: NB#96225 (Dialog titles are not shown according to the
2891 values selected in the list picker)
2893 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2895 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
2896 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
2897 New "arrow-width" and "arrow-height" style properties to set the
2898 size of the arrow button.
2899 Set name of arrow button ("hildon-edit-toolbar-arrow").
2901 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2902 graphics from theme)
2904 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2906 * src/hildon-picker-button.c:
2907 (hildon_picker_button_selector_selection_changed): Use
2908 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
2909 the dialog is present.
2911 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
2912 the selection is accepted in the dialog)
2914 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2916 * src/hildon-color-chooser.h
2917 * src/hildon-color-chooser-dialog.h:
2918 Added G_BEGIN_DECLS and G_END_DECLS
2920 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2922 (_clean_current_selection): plug a leak in the list.
2924 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2926 * src/hildon-picker-dialog.c:
2927 (+free_path_list): Method to free a GList of GtkTreePaths.
2928 (_clean_current_selection), (_save_current_selection),
2929 (_restore_current_selection): Save the current selection in
2930 as a list of lists, to support multiple selection properly.
2932 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2934 patch by Claudio Saavedra (csaavedra@igalia.com)
2936 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
2937 Store the press position.
2938 (+hildon_text_view_button_release_event): If the release position is
2939 close enough to the press position, move the cursor here. Otherwise,
2941 (hildon_text_view_class_init): Override GtkTextView press, release, and
2942 motion event handlers, disabling this way text selection through
2943 pointer interaction, and allowing the container widget to handle the
2946 Fixes: NB#95828 (HildonTextView functionality)
2948 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2950 Based on a patch by Iván Gómez (igomez@igalia.com)
2952 * src/hildon-button.[ch]
2953 * src/hildon-calendar.c
2954 * src/hildon-check-button.c
2955 * src/hildon-date-editor.c
2956 * src/hildon-date-selector.c
2957 * src/hildon-picker-button.c
2958 * src/hildon-time-editor.c
2959 * src/hildon-time-selector.c
2960 * src/hildon-touch-selector.[ch]:
2961 Documentation updates
2963 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2965 * src/hildon-pannable-area.c,
2966 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
2967 threshold, it was required due to X events handling.
2969 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2971 * src/hildon-pannable-area.c,
2972 (hildon_pannable_area_grab_notify),
2973 (hildon_pannable_area_initial_effect),
2974 (hildon_pannable_area_button_press_cb),
2975 (hildon_pannable_area_button_release_cb),
2976 (hildon_pannable_area_scroll_cb),
2977 (hildon_pannable_area_scroll_to): Review the timeout management of
2978 the scrollbar, the frecuency was incorrectly set.
2980 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
2982 * src/hildon-picker-button.c:
2983 (+hildon_picker_button_on_dialog_response),
2984 (hildon_picker_button_clicked): Present the dialog instead of
2985 running it with gtk_dialog_run().
2987 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
2990 2009-01-07 Alberto Garcia <agarcia@igalia.com>
2992 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2993 (hildon_app_menu_finalize): When a window is hidden it doesn't
2994 emit notify::is-topmost, so make sure than the menu also
2995 disappears in that case.
2996 (parent_window_topmost_notify): Renamed from parent_window_hidden
2998 Fixes: NB#94460 (stackable window's menu is not closed when its
3001 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3003 * src/hildon-touch-selector-entry.c:
3004 (+hildon_touch_selector_entry_set_input_mode),
3005 (+hildon_touch_selector_entry_get_input_mode):
3006 * src/hildon-touch-selector-entry.h: New methods to access the input
3007 mode in the selector's entry.
3009 Fixes: NB#93410 (API required for setting IM mode in
3010 HildonTouchSelectorEntry)
3012 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3014 * configure.ac: post release version bump.
3015 * debian/changelog: version bump
3017 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3022 * configure.ac: Bump version.
3023 * debian/changelog: Updates.
3025 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
3027 * src/hildon-touch-selector.c:
3028 (_hildon_touch_selector_has_multiple_selection): No need
3029 to initialize the variables here.
3031 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3033 * src/hildon-note-private.h
3034 * src/hildon-note.c (event_box_press_event, hildon_note_init)
3035 (hildon_note_finalize, hildon_note_rebuild): Close information
3036 notes when they receive a button press.
3038 Fixes: NB#89890 (Information notes does not get disappeared after
3041 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
3043 * src/hildon-wizard-dialog.c: (create_title): Remove translation
3044 mark from the wizard title, as it's not really necessary. Also,
3045 do not display the page title if not set.
3047 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3049 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3050 (parent_window_hidden): Use the window's "is-topmost" property to
3051 detect when to hide the menu.
3053 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3055 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3056 (hildon_app_menu_finalize): If the parent window of the menu is
3057 hidden, hide the menu too.
3059 Fixes: NB#94460 (stackable window's menu is not closed when its
3062 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3065 * debian/libhildon1-examples.install
3067 * examples/Makefile.am:
3068 Use dh_install to install all examples.
3069 Use DEB_SRCDIR instead of defining SOURCE_DIR
3071 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3073 * configure.ac: post release version bump.
3074 * debian/changelog: version bump
3076 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3081 * configure.ac: bump version
3082 * debian/changelog: updates
3083 * debian/control: bump gtk+ dependency
3085 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3087 patch by Christian Dywan (christian@imendio.com)
3089 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
3090 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
3092 2008-12-15 Alberto Garcia <agarcia@igalia.com>
3094 * src/hildon-check-button.c (hildon_check_button_init)
3095 (hildon_check_button_class_init, hildon_check_button_style_set)
3096 (hildon_check_button_apply_style):
3097 New "checkbox-size" style property.
3099 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
3100 larger / configurable size)
3102 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3104 * configure.ac: post release version bump.
3105 * debian/changelog: version bump
3107 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3112 * configure.ac: bump version
3113 * debian/changelog: updates
3115 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3117 * doc/hildon-sections.txt
3118 * src/hildon-pannable-area.c
3119 * src/hildon-program.c
3120 * src/hildon-time-editor.c
3121 * src/hildon-touch-selector-entry.c:
3123 More documentation updates.
3125 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3127 * doc/hildon-sections.txt
3128 * src/hildon-caption.c
3129 * src/hildon-code-dialog.c
3130 * src/hildon-color-button.c
3131 * src/hildon-controlbar.c
3132 * src/hildon-date-editor.c
3133 * src/hildon-date-selector.c
3134 * src/hildon-edit-toolbar.c
3135 * src/hildon-find-toolbar.c
3136 * src/hildon-font-selection-dialog.c
3138 * src/hildon-program.c
3139 * src/hildon-range-editor.c
3140 * src/hildon-seekbar.c
3141 * src/hildon-time-editor.c
3142 * src/hildon-time-selector.c
3143 * src/hildon-volumebar-range.c
3144 * src/hildon-volumebar.c
3145 * src/hildon-vvolumebar.c
3146 * src/hildon-weekday-picker.c
3147 * src/hildon-window.c
3148 * src/hildon-wizard-dialog.c:
3150 Lots of documentation fixes.
3152 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3154 Patch contributed by Iván Gómez (igomez@igalia.com)
3156 * src/hildon-check-button.c:
3157 * src/hildon-date-button.c:
3158 * src/hildon-date-selector.c:
3159 * src/hildon-dialog.c:
3160 * src/hildon-edit-toolbar.c:
3161 * src/hildon-entry.c:
3162 * src/hildon-picker-button.c:
3163 * src/hildon-program.c:
3164 * src/hildon-text-view.c:
3165 * src/hildon-time-button.c:
3166 * src/hildon-touch-selector-entry.c:
3167 * src/hildon-window-stack.c:
3169 Add more "since" tags to the new API.
3171 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3173 * doc/hildon-sections.txt: Add below method.
3174 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
3175 version for the hildonized scale.
3176 * src/hildon-gtk.h: Add the definition.
3178 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3180 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3182 * doc/hildon-sections.txt: Add missing entries for new methods.
3184 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3186 Added API to pannable are in order to get its adjustments. We
3187 added two properties to manage the values we had in the private
3190 * src/hildon-pannable-area.c:
3191 (hildon_pannable_area_class_init): Added hadjustment and
3192 vadjustment properties in order to expose horizontal and vertical
3194 (hildon_pannable_area_get_property),
3195 (hildon_pannable_area_set_property): Added code to handle the new
3197 (hildon_pannable_area_get_hadjustment),
3198 (hildon_pannable_area_get_vadjustment): API functions to get the
3200 * src/hildon-pannable-area.h:
3201 (hildon_pannable_area_get_hadjustment),
3202 (hildon_pannable_area_get_vadjustment): API functions to get the
3205 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3207 Fixed some leaks, after valgrinding.
3209 * src/hildon-touch-selector.c:
3210 (_default_print_func): Fixed a leak.
3211 (hildon_touch_selector_append_column): Fixed a leak.
3212 * src/hildon-date-button.c:
3213 (hildon_date_button_init): Fixed a leak.
3214 * src/hildon-date-selector.c
3215 (hildon_date_selector_finalize): Fixed a leak.
3217 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3219 Based on a patch by Christian Dywan (christian@imendio.com)
3221 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
3223 * src/hildon-gtk.h: Add definition.
3225 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3227 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3229 * src/hildon-picker-button.c: (hildon_picker_button_init),
3230 (hildon_picker_button_new): Set the HildonButton::style property
3231 in the init method, to propagate the value to the derived classes.
3233 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3235 * src/hildon-button.c: (hildon_button_class_init): Do not make
3236 the "style" property a construct property.
3238 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3240 * src/hildon-wizard-dialog.h
3241 * src/hildon-wizard-dialog.c
3242 (hildon_wizard_dialog_set_forward_page_func)
3243 * src/hildon-pannable-area.h
3244 * src/hildon-pannable-area.c
3245 (hildon_pannable_area_set_size_request_policy):
3246 Documentation fixes.
3248 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3250 * doc/hildon-sections.txt: Fixed warning about unused symbols.
3252 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3254 * doc/hildon-sections.txt: Added sections file.
3256 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3259 * src/*.[ch]: Updates.
3261 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
3263 * examples/hildon-progress-indicator-example.c: new file
3264 * examples/Makefile.am: include the new example program
3266 2008-12-10 Alberto Garcia <agarcia@igalia.com>
3268 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
3270 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3272 * configure.ac: post release version bump
3273 * debian/changelog: version bump
3275 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3280 * configure.ac: bump version
3281 * debian/changelog: updates
3282 * debian/control: bump gtk+ dependency
3284 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3286 * src/hildon-dialog.c: Mark as deprecated.
3287 * src/hildon-dialog.h: Mark as deprecated.
3288 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
3289 from HildonDialog and still work, even if
3290 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
3291 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
3293 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
3294 maemo changes) instead)
3296 2008-12-09 Alejandro G. Castro <alex@igalia.com>
3298 * src/hildon-pannable_area.h:
3299 * src/hildon-pannable_area.c:
3300 (hildon_pannable_area_class_init),
3301 (hildon_pannable_area_set_property),
3302 (hildon_pannable_area_get_property),
3303 (hildon_pannable_area_size_request),
3304 (hildon_pannable_area_get_size_request_policy),
3305 (hildon_pannable_area_set_size_request_policy): Added new API
3306 allowing applications to control the request policy. Now they can
3307 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
3308 children allocation (HILDON_MOVEMENT_CHILDREN).
3310 2008-12-09 Alberto Garcia <agarcia@igalia.com>
3314 (hildon_gtk_tree_view_set_ui_mode)
3315 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
3316 mode of treeviews and iconviews.
3318 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3320 * src/hildon-touch-selector-entry.c:
3321 (hildon_touch_selector_entry_init): Use a HildonEntry instead
3322 of a GtkEntry to get proper theming.
3324 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
3325 widget, not GtkEntry)
3327 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3329 * src/hildon-wizard-dialog.c: (response): Move forward if there is
3330 no HildonWizardDialogPageFunc.
3332 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3334 Patch contributed by Iván Gómez (igomez@igalia.com)
3336 * src/hildon-app-menu.c:
3337 * src/hildon-button.c:
3338 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
3339 * src/hildon-stackable-window.c:
3340 * src/hildon-time-selector.c:
3341 * src/hildon-touch-selector.c:
3342 * src/hildon-window.c:
3344 Add more "since" tags to the new API in hildon 2.2.
3346 2008-12-05 Tim Janik <timj@imendio.com>
3348 Patch contributed by Christian Dywan (christian@imendio.com)
3350 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
3351 HildonSizeType, which are supplied by Gtk+ now.
3353 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
3355 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
3356 (with maemo changes) instead)
3358 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3360 Patch contributed by Iván Gómez (igomez@igalia.com)
3362 * src/hildon-pannable-area.c: Add "since" tags to the new API in
3365 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3367 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
3368 (some_page_func), (main): Update the example to use a
3369 HildonWizardDialogPageFunc function.
3371 * src/hildon-wizard-dialog-private.h: Add private data for
3372 the HildonWizardDialogPageFunc function usage.
3374 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
3375 (destroy), (hildon_wizard_dialog_init), (response),
3376 (hildon_wizard_dialog_set_forward_page_func):
3377 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
3378 that applications can use to stop a HildonWizardDialog to jump to
3381 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
3384 2008-12-04 Alberto Garcia <agarcia@igalia.com>
3386 * src/hildon-program.h
3387 * src/hildon-program-private.h
3388 * src/hildon-program.c (hildon_program_init)
3389 (hildon_program_set_common_app_menu)
3390 (hildon_program_get_common_app_menu):
3391 New API for setting a common HildonAppMenu for all
3392 HildonStackableWindows registered with the HildonProgram.
3394 * src/hildon-stackable-window.c
3395 (hildon_stackable_window_toggle_menu):
3396 Use the common HildonAppMenu if a window doesn't have a specific
3399 * src/hildon-app-menu-private.h
3400 * src/hildon-app-menu.c
3401 (hildon_app_menu_get_parent_window):
3402 Function to obtain the window a HildonAppMenu is attached to.
3403 (hildon_app_menu_set_parent_window):
3404 Hide the menu if the parent window is set to NULL.
3406 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
3408 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
3409 set GtkTreeView::enable-search to FALSE, to avoid the interactive
3410 search widget to popup.
3412 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3414 * configure.ac: post release version bump
3415 * debian/changelog: version bump
3417 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3422 * configure.ac: bump version
3423 * debian/changelog: updates
3425 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3427 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
3429 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
3430 (hildon_window_stack_window_realized)
3431 (hildon_window_stack_remove, _hildon_window_stack_do_push):
3432 Set the leader GdkWindow when a window is stacked and realized,
3433 unset it when it's unstacked.
3434 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
3436 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
3438 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3440 * src/hildon-stackable-window.h
3441 * src/hildon-window-stack.h:
3442 Protect definition of HildonWindowStack using the preprocessor.
3444 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3446 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
3447 Fix warning if all menu items are hidden.
3449 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
3451 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3453 * src/hildon-controlbar.c:
3454 * src/hildon-hvolumebar.c:
3455 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
3456 Multiple scale size defines updates.
3458 Fixes: NB#94322 (Scale Updates)
3460 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3462 * examples/hildon-app-menu-example.c (create_menu)
3463 Show items after adding them to the menu, as in the future the
3464 menu will no longer call gtk_widget_show() on the added items.
3466 * src/hildon-app-menu.c:
3467 Update example as explained above.
3469 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3471 * src/hildon-app-menu.c
3472 (hildon_app_menu_insert, hildon_app_menu_add_filter):
3473 Make sure that all menu items have finger height.
3475 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
3477 * src/hildon-picker-dialog.c:
3478 (_on_dialog_response), (_save_current_selection),
3479 (_restore_current_selection), (_clean_current_selection),
3480 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
3481 Defined new functions in order to save the current internal selector
3482 selection previous open the dialog, in case that the use cancel the
3483 interaction, so the widget restores the previous selection.
3485 Fixes: NB#92032 (In calendar application, date values in 'new event'
3488 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
3490 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3492 * src/hildon-button.c: Add a reference to the button examples in
3493 hildon-button-example.c
3495 * examples/hildon-button-example.c: Added examples of the most
3496 common button layouts.
3498 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3500 * src/hildon-app-menu.c (hildon_app_menu_show)
3501 (hildon_app_menu_class_init): Don't show the menu if it's empty.
3503 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
3505 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3507 * src/hildon-picker-dialog.c:
3508 (hildon_picker_dialog_init): Initialize the signal id for
3509 HildonTouchSelector::columns-changed.
3510 (+on_selector_columns_changed): Set up the interaction mode everytime a
3511 column is added or removed from the HildonTouchSelector.
3512 (_hildon_picker_dialog_set_selector): Connect to
3513 HildonTouchSelector::columns-changed and keep track of it.
3515 Make sure to update the interaction mode of the dialog everytime a
3516 column is added or removed in the HildonTouchSelector.
3518 Fixes: NB#93228 (Done button is not shown always in listpicker)
3520 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3522 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
3523 a new ::columns-changed signal.
3524 (hildon_touch_selector_append_column): Emit ::columns-changed.
3525 (hildon_touch_selector_remove_column): Emit ::columns-changed.
3527 Add a ::columns-changed signal, emitted when the number of columns in a
3528 HildonTouchSelector changes.
3530 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3532 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
3533 (_hildon_picker_dialog_set_selector): Factor out the code
3534 to set up the dialog interaction mode.
3536 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3538 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
3539 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
3540 to signal_changed_id.
3542 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3544 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3547 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
3549 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
3550 Updated the logical ids related to ampm format, as now it is required to
3551 show it correctly localized even on languages with no default
3552 abbreviations for am or pm
3553 (_check_am_pm_format): check correctly the 24h format gconf property
3555 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
3557 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3559 * src/hildon-button.c: Documentation updates.
3561 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3563 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
3564 * src/hildon-caption.c: (hildon_caption_class_init):
3565 * src/hildon-color-button.c: (hildon_color_button_class_init):
3566 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
3567 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3568 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
3569 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
3571 Remove deprecated GTK+ marshalers and replace them with the ones
3572 provided by GLib, for those available, add a marshaler for
3573 BOOLEAN:VOID, which is not available in GLib, and use it.
3575 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3577 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
3578 the text from the previous column if there is no
3579 HildonTouchSelectorColumn::text-property set.
3581 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3583 * src/hildon-button.h
3584 * src/hildon-button.c (hildon_button_set_property)
3585 (hildon_button_get_property, hildon_button_class_init)
3586 (hildon_button_set_style, hildon_button_get_style):
3587 New "style" property to change the visual appearance of the
3590 * src/hildon-picker-button.c (hildon_picker_button_new):
3591 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
3593 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
3594 HildonButton look like PickerButton)
3596 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3598 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
3599 column while building the default string.
3601 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3603 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
3604 scroll indicator by default.
3606 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
3608 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3610 * src/hildon-main.c: Fix the documentation for hildon_init()
3612 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3614 * doc/hildon-docs.sgml
3618 * src/hildon-window-stack-private.h
3619 * src/hildon-window-stack.h
3620 * src/hildon-window-stack.c:
3621 New HildonWindowStack object, that adds support for multiple
3622 stacks of windows per process.
3624 * src/hildon-stackable-window-private.h
3625 * src/hildon-stackable-window.h
3626 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
3627 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
3628 (hildon_stackable_window_show, hildon_stackable_window_hide)
3629 (hildon_stackable_window_class_init)
3630 (hildon_stackable_window_init):
3631 Use HildonWindowStack for stack management.
3633 * src/hildon-program.c (hildon_program_pop_window_stack)
3634 (hildon_program_peek_window_stack)
3635 (hildon_program_go_to_root_window):
3636 Add a fallback implementation to the deprecated functions using
3639 * examples/hildon-stackable-window-example.c:
3640 Use the new HildonWindowStack API.
3642 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3644 * src/hildon-stackable-window-private.h
3645 * src/hildon-stackable-window.c (hildon_stackable_window_show)
3646 (hildon_stackable_window_hide, hildon_stackable_window_init):
3647 Remove all window stack management.
3649 * src/hildon-program-private.h
3650 * src/hildon-program.h
3651 * src/hildon-program.c (hildon_program_init)
3652 (hildon_program_pop_window_stack)
3653 (hildon_program_peek_window_stack)
3654 (hildon_program_go_to_root_window):
3655 Remove all window stack management and mark functions as
3658 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3660 * src/hildon-app-menu.c (hildon_app_menu_realize):
3661 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
3663 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3665 * configure.ac: post release version bump
3666 * debian/changelog: version bump
3668 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3673 * configure.ac: bump version
3674 * debian/changelog: updates
3676 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3678 Based on initial code by Christian Dywan (christian@imendio.com)
3680 * doc/hildon-docs.sgml: Add section for hildon-main.
3681 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
3682 * src/Makefile.am: Add new hildon-main.[ch]
3683 * src/hildon-defines.h: Update the icon sizes.
3684 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
3685 new library initialization files and register icon sizes.
3686 * src/hildon-main.h: New declarations.
3687 * src/hildon.h: Include hildon-main.h
3689 Add new initialization functions to the library. These methods
3690 will register the hildon specific icon sizes and can be used in the
3691 future for other hildon specific bits.
3693 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
3695 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3697 * src/hildon-window.c: (hildon_window_realize),
3698 (hildon_window_notify), (-hildon_window_update_title): Do not set
3699 the application name in the window title.
3701 Fixes: NB#89754 (Applications shouldn't display their names in the
3704 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3706 * src/hildon-note-private.h:
3707 * src/hildon-note.c: (hildon_note_set_property),
3708 (hildon_note_get_property), (hildon_note_class_init),
3709 (hildon_note_init), (hildon_note_finalize),
3710 (hildon_note_new_confirmation_with_icon_name),
3711 (hildon_note_new_information_with_icon_name):
3713 No need to mark as deprecated the actual code. Revert
3714 to avoid missing symbols in widgets using deprecated API.
3716 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3718 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
3720 * src/hildon-volumebar.h
3721 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
3722 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
3724 * src/hildon-helper.h
3725 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
3726 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
3728 * examples/Makefile.am:
3729 Deprecate hildon-insensitive-example
3731 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
3733 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3735 * examples/hildon-pannable-area-buttons-scroll-example.c:
3736 Make all buttons finger height
3738 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
3740 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
3742 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
3743 update the day model only if it is really required, and to avoid the
3744 full-reconstruction aproach. Now it only add or remove the required days.
3746 The purpose of this is avoid superfluous HildonTouchSelector::changed
3749 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
3750 with strange parameters)
3752 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
3754 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
3756 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
3757 the WINDOW_TYPE property.
3759 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
3761 2008-11-19 Alberto Garcia <agarcia@igalia.com>
3764 Fix dependency to allow parallel compilation with make -jX
3766 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
3768 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
3769 color frame and some minor tweaks to make it more consistent with
3772 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
3773 highlighted but not visible)
3775 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3777 * examples/Makefile.am: Fixed typo in the Makefile.am.
3779 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3781 Reviewed the use of MAEMO_GTK define, now we add the define in the
3782 compilation line, and we also add it to the pc file.
3784 * configure.ac: Added MAEMO_GTK define to the compilation command
3785 and removed it from the config.h.
3787 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
3788 do not have to take care about this define if the library was
3792 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
3794 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3796 * examples/Makefile.am,
3797 * examples/hildon-pannable-area-buttons-scroll-example.c,
3798 * examples/hildon-pannable-area-gesture-signals-example.c,
3799 * examples/hildon-pannable-area-scroll-jump-example.c,
3800 * examples/hildon-pannable-area-tree-view-example.c:
3801 Renamed the pannable area examples, now they have more meaningful
3804 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
3806 * src/hildon-touch-selector.c:
3807 (hildon_touch_selector_set_column_selection_mode): Used of
3808 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
3809 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
3810 to avoid re-seting the same selection mode.
3812 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
3813 breaks HildonPickerDialog)
3815 2008-11-13 Alejandro G. Castro <alex@igalia.com>
3817 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
3818 conditional in the Makefile.am
3820 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
3822 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
3823 Remove unused methods.
3825 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3827 * src/hildon-button.c (hildon_button_init):
3828 Make button images center-aligned by default
3830 2008-11-12 Alejandro G. Castro <alex@igalia.com>
3833 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
3834 activated, we have to think about how to deal with both defines
3835 MAEMO_GTK and MAEMO_CHANGES.
3837 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3839 * examples/hildon-app-menu-example.c (create_menu): Make all
3840 buttons finger size.
3842 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3844 Fixed the compilation without maemo gtk adding ifdefs with
3845 MAEMO_GTK define to the code, we have to check this version more
3848 * examples/Makefile.am: Added control to avoid some examples that
3849 just make sense with maemo gtk.
3852 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
3853 hildon modes with the define.
3855 * examples/hildon-edit-toolbar-example.c,
3856 (create_icon_view): Create the icon view without hildon-gtk
3857 helpers if we are not using maemo gtk.
3859 * src/hildon-touch-selector.c,
3860 (_create_new_column): Create the treeview without hildon-gtk
3861 helpers if we are not using maemo gtk.
3863 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3865 * src/hildon-pnnable-area.c,
3866 (hildon_pannable_area_dispose),
3867 (hildon_pannable_area_button_press_cb),
3868 (hildon_pannable_area_child_mapped),
3869 (hildon_pannable_area_add),
3870 (hildon_pannable_area_remove): Added code to control the position
3871 of the event_window when adding and removing children from the
3872 pannable. We have to raise the event window when the child is
3875 Fixes: NB#89811 (Not able to select first image thumbnail in multi
3876 selection mode using custom widget inside pannable)
3878 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3880 * configure.ac: post release version bump
3881 * debian/changelog: version bump
3883 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3888 * configure.ac: bump version
3889 * debian/changelog: updates
3891 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
3893 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
3894 search mode, in order to avoid lose the focus on the treeview when
3895 a hw key (like enter) is pressed.
3897 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
3898 in HildonDateSelector dialog)
3900 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
3902 * debian/rules: Added --enable-maintainer-mode
3903 * Makefile.am: Added ACLOCAL_AMFLAGS
3905 This allows to properly regenerate the Makefiles if you modify the
3906 configure.ac or any Makefile.am.
3908 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3910 * examples/hildon-app-menu-example.c: (main): Do not set RC style
3911 properties, not needed at all.
3913 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3915 * src/hildon-note-private.h: Add strings for the icon and stock_icon
3917 * src/hildon-note.c: (hildon_note_set_property),
3918 (hildon_note_get_property), (hildon_note_class_init),
3919 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
3920 (hildon_note_new_confirmation_add_buttons): Remove icons.
3921 (hildon_note_new_confirmation_with_icon_name): Deprecate.
3922 (hildon_note_new_information_with_icon_name): Deprecate.
3923 (hildon_note_new_confirmation): Act directly, without calling
3924 the deprecated constructor.
3925 (hildon_note_new_information): Act directly, without calling
3926 the deprecated constructor.
3927 * src/hildon-note.h: Mark deprecate methods as such.
3928 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
3929 not run tests on the deprecated methods if built with deprecation
3932 Fixes: NB#91688 (Never show icons in information notes/confirmation
3935 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3937 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
3938 (hildon_app_menu_key_press): Remove leftover usage of the
3939 private structure in HildonAppMenu struct.
3940 * src/hildon-app-menu.h: Remove leftover private structure
3941 from the HildonAppMenu struct.
3943 Fixes a crasher when using the HildonAppMenu.
3945 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3947 * src/hildon-picker-dialog.c: Use appropriate logical id
3948 for the default "Done" text.
3950 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3952 * configure.ac: post release version bump
3953 * debian/changelog: version bump
3955 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
3957 Modified the way to scroll to the current selection just when the touch
3958 selector is shown on the screen, avoiding a g_idle. Added too a property
3959 to configure this behaviour. See hildon_pannable_area_jump_to_child
3960 documentation for more information.
3962 * src/hildon-touch-selector.c
3963 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
3964 Added 'initial-scroll' property
3965 (hildon_touch_selector_set_property): Added
3966 (hildon_touch_selector_map): Removed as not required anymore
3967 (_hildon_touch_selector_on_selected_items): Modified in order to manage
3968 only a concrete column, instead of iterate along all the columns
3970 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3975 * configure.ac: bump version
3976 * debian/changelog: updates
3978 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3980 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
3981 compilation time warnings.
3983 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3985 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
3986 the default value for HildonPannableArea::mov-mode to
3987 HILDON_PANNABLE_AREA_MODE_VERT.
3989 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
3991 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3993 Reverting following commit:
3995 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3997 * src/hildon-app-menu-private.h
3998 * src/hildon-app-menu.[ch]
3999 * src/hildon-button.[ch]
4000 * src/hildon-check-button.[ch]
4001 * src/hildon-entry.[ch]
4002 * src/hildon-pannable-area.[ch]
4003 * src/hildon-text-view.[ch]:
4004 Added private field to the object's structure.
4006 because it causes an ABI breakage. We will need to introduce these
4007 changes later at some point. See NB#91636 for an extensive
4008 explanation and status.
4010 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4012 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4014 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4015 remove special cases that are no longer necessary.
4017 Fixes: NB#91016 (Change toolbar sizes, simplification)
4019 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4021 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4022 is shown in the cancel note.
4024 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4026 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
4027 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
4028 (hildon_seekbar_init): Remove steppers, remove expose event.
4029 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
4031 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
4033 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
4035 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
4036 label font to "SmallSystemFont" for vertically arranged buttons.
4038 Fixes: NB#90662 (HildonButton "value" and "detail" text is
4041 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4043 * src/hildon-check-button.c
4044 (hildon_check_button_set_active, hildon_check_button_clicked):
4045 Don't access private parts directly, use getters instead.
4047 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4049 * src/hildon-check-button.c (hildon_check_button_new):
4050 Align the contents of the check button to the left.
4052 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4054 * src/hildon-pannable-area.c,
4055 (hildon_pannable_area_scroll_to),
4056 (hildon_pannable_area_jump_to),
4057 (hildon_pannable_area_scroll_to_child),
4058 (hildon_pannable_area_jump_to_child): Replace the mapped
4059 precondition of these functions with the realized, it is the
4060 correct state of the widget in this case. Changed the
4061 documentation according to this modification.
4063 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4065 Added a new EXTRA_CFLAGS option to add the deprecated define to
4066 the compilation command. This way we can avoid using the define in
4067 the documentation compilation.
4069 * configure.ac: Defined EXTRA_CFLAGS.
4071 * examples/Makefile.am:
4073 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
4075 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
4077 * src/hildon-picker-dialog.c:
4078 Defined a utility macro with the desired touch selector height
4079 Removed currently unused separator, and title_label variables from
4081 (hildon_picker_dialog_init): Removed code related to the creation
4082 of unused private variables title_label and separator.
4083 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
4084 to ensure correct visualization of the touch selector inside the dialog.
4085 * src/hildon-touch-selector.c
4086 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
4087 ensure a concrete height of the widget.
4089 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4092 * tests/Makefile.am:
4094 Remove spurious whitespaces.
4096 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4098 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
4099 compilation warning after the cancel button removal.
4101 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4103 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
4105 * configure.ac: Added an AM_CONDITIONAL in order to use in the
4106 Makefile.am, that way we can choose not to compile some examples
4107 and tests of the deprecated widgets.
4109 * examples/Makefile.am: Divided the sources in deprecated and
4112 * src/Makefile.am: Added undef statement of the deprecated
4113 symbol to the enums file generation process.
4115 * src/hildon-color-chooser-dialog.c
4116 * src/hildon-color-chooser-dialog.h
4117 * src/hildon-color-button.c
4118 * src/hildon-color-button.h
4119 * src/hildon-color-chooser.c
4120 * src/hildon-color-chooser.h
4121 * src/hildon-controlbar.c
4122 * src/hildon-controlbar.h
4123 * src/hildon-date-editor.c
4124 * src/hildon-date-editor.h
4125 * src/hildon-hvolumebar.c
4126 * src/hildon-hvolumebar.h
4127 * src/hildon-private.c
4128 * src/hildon-private.h
4129 * src/hildon-range-editor.c
4130 * src/hildon-range-editor.h
4131 * src/hildon-seekbar.c
4132 * src/hildon-seekbar.h
4133 * src/hildon-time-editor.c
4134 * src/hildon-time-editor.h
4135 * src/hildon-time-picker.c
4136 * src/hildon-time-picker.h
4137 * src/hildon-volumebar.c
4138 * src/hildon-volumebar.h
4139 * src/hildon-vvolumebar.c
4140 * src/hildon-vvolumebar.h
4141 * src/hildon-bread-crumb-trail.h
4142 * src/hildon-bread-crumb-trail.c
4143 * src/hildon-calendar-popup.c
4144 * src/hildon-calendar-popup.h
4145 * src/hildon-weekday-picker.c:
4146 * src/hildon-weekday-picker.h:
4147 * src/hildon-bread-crumb-widget.c:
4148 * src/hildon-bread-crumb-widget.h:
4149 * src/hildon-bread-crumb.c:
4150 * src/hildon-bread-crumb.h:
4151 * src/hildon-calendar.c:
4152 * src/hildon-calendar.h:
4153 * src/hildon-caption.c:
4154 * src/hildon-code-dialog.c:
4155 * src/hildon-code-dialog.h:
4156 * src/hildon-font-selection-dialog.c:
4157 * src/hildon-font-selection-dialog.h:
4158 * src/hildon-get-password-dialog.c:
4159 * src/hildon-get-password-dialog.h:
4160 * src/hildon-login-dialog.c:
4161 * src/hildon-login-dialog.h:
4162 * src/hildon-number-editor.c:
4163 * src/hildon-number-editor.h:
4164 * src/hildon-set-password-dialog.c:
4165 * src/hildon-set-password-dialog.h:
4166 * src/hildon-sort-dialog.c:
4167 * src/hildon-sort-dialog.h: This is the list of deprecated
4170 * src/hildon-touch-selector.c:
4171 * src/hildon-window.c: Added undef statement to avoid compilation
4174 * tests/Makefile.am: Divided the sources in deprecated and
4177 * tests/check_test.c,
4178 (configure_tests): Marked the deprecated code that was adding
4179 suites with deprecated tests.
4181 Fixes: NB#91135 (Deprecate legacy hildon widgets)
4183 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4185 * src/hildon-touch-selector.c: (_default_print_func): Do not
4186 duplicate a string returned by gtk_tree_model_get(), it is already
4189 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
4192 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4194 * src/hildon-pannable-area.c
4195 (hildon_pannable_area_add_with_viewport): Reviewed the complete
4196 method, it had problems when adding a widget with viewport the
4197 second time. Now checks if it already has a viewport and uses it.
4199 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
4202 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4204 * src/hildon-pannable-area.c,
4205 (hildon_pannable_area_scroll_to),
4206 (hildon_pannable_area_jump_to),
4207 (hildon_pannable_area_scroll_to_child),
4208 (hildon_pannable_area_jump_to_child): Added a precondition to the
4209 scroll and jump to functions: the widget must be mapped before we
4210 can safely call these functions. We have also added documentation
4211 to the functions to explain how to use them in this situation.
4214 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4216 Reviewed the threading handling of the pannable widget, we have
4217 used the gdk_threads_add_timeout function instead of the usual
4218 glib handlers. This avoids some problems with the threads.
4220 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
4221 (hildon_pannable_area_initial_effect),
4222 (hildon_pannable_area_scroll_indicator_fade),
4223 (hildon_pannable_area_button_press_cb),
4224 (hildon_pannable_area_timeout),
4225 (hildon_pannable_area_motion_notify_cb),
4226 (hildon_pannable_area_button_release_cb),
4227 (hildon_pannable_area_scroll_cb),
4228 (hildon_pannable_area_scroll_to): Removed the
4229 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
4230 gdk_threads_add_timeout.
4232 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
4234 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4239 * configure.ac: bump version
4240 * debian/changelog: updates
4242 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4244 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4245 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
4246 * src/hildon-color-chooser-dialog.c:
4247 (hildon_color_chooser_dialog_init):
4248 * src/hildon-font-selection-dialog.c:
4249 (hildon_font_selection_dialog_init):
4250 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
4252 Remove all cancel/close-like dialogs, as these are not going to be
4255 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4257 * src/hildon-note.c: (hildon_note_rebuild),
4258 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
4261 Fixes: NB#90661 (Delete dialog is displayed without NO button)
4263 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4265 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
4266 sure all buttons are shown, even the Cancel/Close-like ones.
4268 Fixes: NB#90861 (Custom Confirmation dialogs should be
4269 protected from cancel button removal)
4271 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4273 * debian/control: Change libhildon1-examples dependency from libhildon1
4275 * debian/libhildon1-examples.install
4277 * Makefile.am: Modified the final install directory for the examples on
4278 package libhildon1-examples
4279 * Makefile.static: Update clean target in order to remove all the binary
4282 Changes suggested by Claudio after review new libhildon1-examples package
4284 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
4286 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
4287 * src/hildon-touch-selector.c: Ditto.
4289 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4291 * debian/control: Added new package libhildon1-examples, in order to pack
4292 the current hildon examples as documentation
4293 * debian/rules: Not to compress .c files, modify some includes on the
4294 examples (as normally are compiled locally, but when installed it will
4295 require to include the installed libhildon1 library), and rename
4297 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
4298 install all the example files on the new example package
4299 * examples/Makefile.static: Added static makefile that can be used to
4300 compile the examples, once installed the new example package
4301 * examples: Most of the examples were modified in order to grant that
4302 all use only '#include "hildon.h"', in order to be easy to prepare
4303 it on the example package
4305 2008-10-23 Alberto Garcia <agarcia@igalia.com>
4308 * debian/libhildon1-dev.install
4309 * debian/libhildon1-doc.install:
4310 Move all gtk-doc files to a separate libhildon1-doc package.
4312 2008-10-23 Daniel Borgmann <danielb@openismus.com>
4314 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4316 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
4318 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
4320 * debian/rules: Fixed a error in order to avoid unnecessary calls
4321 to autogen.sh on package building
4323 2008-10-22 Alberto Garcia <agarcia@igalia.com>
4325 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
4327 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4329 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
4332 2008-10-21 Alberto Garcia <agarcia@igalia.com>
4334 * src/hildon-picker-button.c
4335 (hildon_picker_button_finalize):
4336 Free priv->done_button_text
4338 * src/hildon-time-button.c
4339 (hildon_time_button_set_time)
4340 * src/hildon-picker-button.c
4341 (hildon_picker_button_clicked)
4342 (hildon_picker_button_selector_selection_changed)
4343 (hildon_picker_button_set_selector)
4344 * src/hildon-date-button.c
4345 (hildon_date_button_set_date):
4346 Free strings returned by hildon_touch_selector_get_current_text()
4348 * src/hildon-button.c (hildon_button_construct_child):
4349 Fix leaks in priv->image and priv->label_box
4351 Fixes: NB#90535 (Memory leak in picker button)
4353 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4355 * src/hildon-button.c: (hildon_button_get_property): Do not access
4356 private elements directly, use getters instead.
4358 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4360 * src/hildon-app-menu-private.h
4361 * src/hildon-app-menu.c
4362 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
4363 Store the menu's parent window.
4365 * src/hildon-stackable-window.c
4366 (hildon_stackable_window_toggle_menu)
4367 (hildon_stackable_window_finalize):
4368 Set the menu's parent window when the menu is shown, unset it when
4371 * src/hildon-app-menu.c
4372 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
4373 (hildon_app_menu_class_init):
4374 Send unhandled keyboard accelerators to the parent window.
4376 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4378 * src/hildon-stackable-window.c
4379 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
4381 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4383 * configure.ac: post release version bump
4385 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4388 * configure.ac: Bump version
4389 * debian/changelog: Updates
4390 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
4393 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4395 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4398 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
4399 GtkMenu with Hildon style.
4401 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4403 * src/hildon-picker-button.c:
4404 (hildon_picker_button_set_done_button_text): Set the dialog's
4405 done button text here as well.
4407 Fixes: NB#90232 (Picker button does not set the label on done button
4408 for the second time)
4410 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4412 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
4415 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4417 * src/hildon-app-menu.c (hildon_app_menu_insert)
4418 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
4419 the HildonAppMenu to be activatable using keyboard accelerators
4420 when the menu is not being shown.
4422 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
4424 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4426 * src/hildon-stackable-window.c
4427 (hildon_stackable_window_show):
4428 Don't hide old windows automatically when new windows are shown:
4429 this is now a task for the window manager.
4430 (hildon_stackable_window_class_init)
4431 (hildon_stackable_window_hide):
4432 Remove windows from the stack everytime they're hidden.
4433 (hildon_stackable_window_realize):
4434 Don't change the _NET_WM_WINDOW_TYPE property. Use
4435 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
4436 it as a stackable window.
4438 * src/hildon-program.c
4439 (hildon_program_pop_window_stack):
4440 Just hide the window to remove it from the stack.
4441 (hildon_program_go_to_root_window):
4442 Don't call gtk_widget_show(), this is now a task for the window
4445 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
4447 2008-10-15 Alberto Garcia <agarcia@igalia.com>
4449 * src/hildon-button.c
4450 (hildon_button_construct_child):
4451 Don't pack anything in the button until text or image are
4452 set. This allows adding a custom child after creating the button
4453 with hildon_button_new().
4454 (hildon_button_finalize, hildon_button_class_init)
4455 (hildon_button_init, hildon_button_set_arrangement): Destroy the
4456 alignment and the label box even when they're not packed in the
4459 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
4461 * src/hildon-touch-selector.h:
4462 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
4463 currently the type definition was using GTK_TYPE_VBOX
4464 * src/hildon-touch-selector.c:
4465 Added some implementation notes in order to clarify that any other widget
4466 added without the column related API will not be included on the
4467 selection logic, and how the widget is freed, as some people ask about
4469 (hildon_touch_selector_remove): Reimplemented in order to free properly
4470 the column related data when you remove the private hbox.
4471 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
4472 to get a proper HildonTouchSelectorColumn documentation
4474 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4476 * src/hildon-touch-selector-entry.c:
4477 (hildon_touch_selector_entry_print_func): Return NULL if there is no
4478 text in the GtkEntry and there is no item selected. Fixes a
4481 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4483 * src/hildon-app-menu-private.h
4484 * src/hildon-app-menu.[ch]
4485 * src/hildon-button.[ch]
4486 * src/hildon-check-button.[ch]
4487 * src/hildon-entry.[ch]
4488 * src/hildon-pannable-area.[ch]
4489 * src/hildon-text-view.[ch]:
4490 Added private field to the object's structure.
4492 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4494 * configure.ac: post-release version bump
4496 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4500 * configure.ac: pre-release version bump
4502 * debian/changelog: updates.
4504 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4506 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
4507 Disconnect the handler for HildonTouchSelector::changed.
4509 (hildon_picker_button_selector_selection_changed): Update the button
4510 value if the selection change was not triggered by the
4513 (hildon_picker_button_set_selector): connect to
4514 HildonTouchSelector::changed.
4516 Fixes: NB#89650 (Picker button is not updated, when selection in
4517 selector has changed)
4519 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
4521 * src/hildon-picker-dialog.c
4522 (hildon_picker_dialog_realize): Removed as not required
4523 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
4524 * src/hildon-picker-button.c
4525 (_current_selector_empty): New function, checks if the selector is empty
4526 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
4527 if the current selector is empty, in order to avoid to show the dialog
4528 close the dialog in this case (and shows a g_warning).
4530 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
4532 2008-10-09 Alejandro G. Castro <alex@igalia.com>
4534 * src/hildon-pannable-area.c,
4535 (hildon_pannable_area_scroll): Added clause to stop movement when
4536 the child of pannable is smaller than one page.
4537 (hildon_pannable_area_scroll_to): Added conditions to avoid
4538 starting the scrolling movement if the child is smaller than one
4539 page, the complete child is in the screen, we do not have to move.
4541 Fixes: NB#89632 (Picker button selection doesn't change on first click)
4543 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4545 * src/hildon-app-menu.c: Removed the 'columns' property, as now
4546 this is managed automatically by the widget when the size of the
4549 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4551 * src/hildon-picker-button.c
4552 (hildon_picker_button_set_done_button_text): Make a copy of the
4553 text, and free the previous value.
4555 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4557 * src/hildon-touch-selector-entry.c:
4558 (hildon_touch_selector_entry_print_func): Return the selected row's
4559 text if the entry is empty.
4561 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
4564 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4566 * src/hildon-touch-selector-entry.c: Minor docs fixes.
4568 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4571 * src/hildon-check-button.h
4572 * src/hildon-check-button.c
4573 * examples/hildon-check-button-example.c:
4574 HildonCheckButton is now a new widget. 'toggled' signal added.
4576 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4578 * src/hildon-program-private.h
4579 * src/hildon-program.c (hildon_program_init)
4580 (hildon_program_finalize): Removed unused variables group_leader
4581 and name from HildonProgramPrivate.
4583 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4585 * src/hildon-check-button.c (hildon_check_button_set_active)
4586 (hildon_check_button_get_active, hildon_check_button_new): Use
4587 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
4589 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
4591 * src/hildon-touch-selector.h
4592 (hildon_touch_selector_set_column_attributes): added deprecation
4593 guard HILDON_DISABLE_DEPRECATED
4594 * src/hildon-time-selector.c
4595 (hildon_time_selector_set_time)
4596 (hildon_time_selector_get_time): Fixed a typo on documentation
4597 * src/hildon-touch-selector.c: update HildonTouchSelector and
4598 HildonTouchSelectorColumn documentation
4599 * src/hildon-touch-selector-entry.c: update "text-column" property
4601 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
4602 to be added to the general documentation.
4604 2008-10-08 Alejandro G. Castro <alex@igalia.com>
4606 * examples/hildon-pannable-area-example-4.c,
4608 * examples/hildon-pannable-area-example.c,
4609 (main): Modified the code in order to use the container add, with
4610 viewport treeviews could have problems if they are really big.
4612 2008-10-06 Alejandro G. Castro <alex@igalia.com>
4614 * src/hildon-weekday-picker.c,
4615 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
4616 the agreement regarding deprecation in the library.
4618 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4620 * examples/hildon-picker-button-multicolumn-example.c:
4621 (main): Use custom "done" button text.
4623 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4624 (hildon_picker_button_set_property),
4625 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4626 (hildon_picker_button_init),
4627 (+hildon_picker_button_get_done_button_text),
4628 (+hildon_picker_button_set_done_button_text): New methods to customize
4629 the "done" button label in the launched HildonPickerDialog. Also,
4632 * src/hildon-picker-button.h: add the public API.
4634 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4636 * src/hildon-date-selector.h:
4637 * src/hildon-picker-dialog.h:
4638 * src/hildon-time-selector.h:
4639 * src/hildon-touch-selector-column.h:
4640 * src/hildon-touch-selector.h:
4642 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
4643 declarations. Fixes gtk-doc warnings.
4645 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4647 * src/hildon-picker-dialog.h
4648 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
4649 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
4651 Fixes: NB#89329 (selectors in picker dialog are not visible when a
4652 long text is set as label for done button)
4654 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4656 * src/hildon-dialog.c (hildon_dialog_add_button):
4657 Set fixed width to all buttons in the HildonDialog.
4659 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4661 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4663 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
4664 Set widget name using class name plus "-finger" or "-thumb".
4666 2008-10-03 Alberto Garcia <agarcia@igalia.com>
4668 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
4669 'clicked' when the state of the button is manually changed.
4671 2008-10-02 Alberto Garcia <agarcia@igalia.com>
4673 * src/hildon-app-menu.c (hildon_app_menu_realize)
4674 (hildon_app_menu_unrealize, hildon_app_menu_init)
4675 (hildon_app_menu_class_init, item_visibility_changed):
4676 Change the menu layout when the size of the screen changes.
4677 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
4678 Show warning only when changing the number of colums using the
4681 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
4683 * debian/compat: Set to 5
4684 * debian/control: Update dependencies.
4685 * debian/libhildon1-dbg.install: Remove.
4686 * debian/libhildon1-dev.install: Update according to cdbs paths.
4687 * debian/libhildon1.install: Update according to cdbs paths.
4688 * debian/rules: Switch to cdbs.
4690 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4692 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
4693 'item' variable renamed to 'filter'
4695 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4697 * src/hildon-app-menu.c (hildon_app_menu_insert)
4698 (hildon_app_menu_add_filter, remove_item_from_list)
4699 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
4700 Don't leak hidden items when the menu is destroyed.
4702 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4704 * src/hildon-app-menu.c (hildon_app_menu_insert)
4705 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
4706 (hildon_app_menu_set_columns, item_visibility_changed)
4707 (filter_visibility_changed, hildon_app_menu_repack_filters)
4708 (hildon_app_menu_repack_items):
4709 Repack items and filters separately.
4711 Don't repack all items, change only the ones that are needed to
4714 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4716 * src/Makefile.am: added hildon-touch-selector-column.h
4718 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4720 * src/hildon-touch-selector.c: added the property "text-column" to the
4721 class HildonTouchSelectorColumn, and related get/set functions
4722 (_default_printf_func): updated to use "text-column" property
4723 * src/hildon-touch-selector-entry.c: mark as deprecated the property
4724 "text-column" in his documentation, as this is now included on
4725 HildonTouchSelectorColumn. The get/set_property can still be used,
4726 working as a wrapper to the concrete column "text-column" property
4727 (_text_column_modified): callback added in order to handle the signal
4728 "notify::text-column" of the concrete HildonTouchSelectorColumn
4729 (hildon_touch_selector_entry_get_text_column)
4730 (hildon_touch_selector_entry_set_text_column): Added documentation, and
4731 modified in order to use the HildonTouchSelectorColumn "text-column"
4733 * src/hildon-time-selector.c:
4734 * src/hildon-date-selector.c:
4735 * examples/hildon-touch-selector-example.c
4736 * examples/hildon-touch-selector-multi-cells-example.c
4737 * examples/hildon-picker-button-multicolumn-example.c
4738 Set the right value to "text-column" property on the creation of a new
4739 column using hildon_touch_selector_append_column()
4741 Fixes: NB#88644 (Hardcoded first column of the model as text column)
4743 2008-09-30 Alberto Garcia <agarcia@igalia.com>
4745 * src/hildon-app-menu.c
4746 (hildon_app_menu_construct_child, hildon_app_menu_init): When
4747 updating the layout of the menu, don't create all widgets again,
4748 just repack the items in their new places.
4750 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
4752 * src/hildon-time-selector.c
4753 (hildon_time_selector_get_time)
4754 (hildon_time_selector_set_time)
4755 Added documentation of these public methods
4757 * src/hildon-date-button.h
4758 * src/hildon-touch-selector-column.h
4759 * src/hildon-time-button.h
4760 * src/hildon-picker-dialog.h
4761 * src/hildon-time-selector.h
4762 * src/hildon-picker-button.h
4763 * src/hildon-touch-selector.h
4764 * src/hildon-time-picker.h
4765 * src/hildon-date-selector.h
4766 * src/hildon-touch-selector-entry.h
4767 Modified in order to use hildon-widgets code style
4769 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4771 Added deprecated support to the compilation process using
4772 HILDON_DISABLE_DEPRECATED
4774 * configure.ac: Added the --disable-deprecated to the configure
4777 * src/hildon-weekday-picker.c:
4778 * src/hildon-weekday-picker.h: Deprecated widget, example of how
4779 to use the deprecated support. We will update the other deprecated
4780 widgets status in a new patch.
4782 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4784 * configure.ac: Fixed typo with fatal warnings support, the
4785 variable name was not correct
4787 2008-09-29 Alberto Garcia <agarcia@igalia.com>
4789 * src/hildon-app-menu.c
4790 * src/hildon-program.c: Update documentation.
4792 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4794 * configure.ac: Post-release version bump.
4796 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4801 * configure.ac: Pre-release version bump.
4802 * debian/changelog: Updates.
4804 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4806 * NEWS: Update news for previous releases.
4808 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4810 * examples/hildon-touch-selector-multi-cells-example.c:
4811 (create_selector): Update the example to use
4812 hildon_touch_selector_append_column() with a NULL renderer and set
4813 the renderers later.
4814 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
4815 passed a NULL renderer. This is documented behavior now.
4817 Allow passing a NULL renderer to hildon_touch_selector_append_column().
4818 This must be used if the developer wants full control on the layout of
4819 the renderers to be added to the column.
4821 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4823 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4825 * src/hildon-touch-selector.c: Documentation fixes.
4827 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4829 * src/hildon-wizard-dialog-private.h: Remove image and box.
4830 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
4831 (hildon_wizard_dialog_set_property), (response): Completely remove
4832 image/icon support, and the containers required for the layout.
4834 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
4836 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4838 * src/hildon-app-menu.c: Updated documentation.
4840 * src/hildon-stackable-window.c
4841 (hildon_stackable_window_set_main_menu): Unref the old menu after
4842 ref'ing the new one.
4844 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4846 * src/hildon-stackable-window.c
4847 (hildon_stackable_window_set_main_menu): Unref the previous menu
4848 instead of destroying it.
4850 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
4851 floating reference and set has_user_ref_count to FALSE to make
4852 HildonAppMenu act like a normal ref-counted widget and not a
4855 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
4858 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
4860 * src/hildon-touch-selector-column.h: new file
4861 * src/hildon-touch-selector.h
4862 * src/hildon-touch-selector.c
4863 Implemented GtkCellLayout interface, in order to allow to configure
4864 the cell layout on each individual selector column
4865 (hildon_touch_selector_set_column_attributes): marked as deprecated
4866 * examples/hildon-touch-selector-multi-cells-example.c
4867 Example of how to use the GtkCellLayout interface on the selector
4869 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4871 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4873 * src/hildon-app-menu.h
4874 * src/hildon-app-menu.c
4875 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
4876 (hildon_app_menu_append, hildon_app_menu_prepend):
4877 New methods to prepend, insert and move items in the menu.
4879 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4881 * src/hildon-wizard-dialog.c:
4883 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
4885 (create_title): Update logical IDs and related code.
4886 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
4888 * src/hildon-wizard-dialog.h: Note that
4889 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
4890 point, as it is not used anymore.
4892 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
4894 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4896 * src/hildon-note.c:
4897 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
4898 shown. Do not display an icon in confirmation notes nor information
4900 (hildon_note_set_button_text): Update logical ID for cancel button.
4902 Fixes: NB#88850 (Update HildonNote button strings + signals)
4904 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4906 * src/hildon-stackable-window.c
4907 (hildon_stackable_window_set_main_menu): Fix compilation warning.
4909 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4911 * src/hildon-app-menu-private.h
4912 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
4913 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
4914 (hildon_app_menu_init, hildon_app_menu_class_init): Added
4915 temporary property 'columns' to change the number of columns.
4917 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4919 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
4921 * examples/hildon-note-example.c: (on_information_clicked),
4922 (on_confirmation_clicked), (on_progress_clicked), (main): Add
4923 debugging information.
4924 * src/hildon-note-private.h: Remove close_if_pressed_outside,
4926 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
4927 (hildon_note_rebuild): Remove special handling of tapping outside/inside
4928 in order to close: this will be handled by the WM from now on.
4930 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
4932 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4934 * src/hildon-app-menu-private.h
4935 * src/hildon-app-menu.c
4936 (hildon_app_menu_append, hildon_app_menu_add_filter)
4937 (button_visibility_changed, hildon_app_menu_apply_style)
4938 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
4939 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
4940 layout everytime a button (item or filter) is shown or hidden.
4942 * src/hildon-stackable-window.c
4943 (hildon_stackable_window_set_main_menu): Destroy the old menu when
4946 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
4948 * src/hildon-touch-selector.c:
4949 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
4950 that the treeview inside the touch selector is in fremantle hildon mode
4951 * examples/hildon-date-button-example.c
4952 * examples/hildon-picker-button-multicolumn-example.c
4953 * examples/hildon-touch-selector-entry-example.c
4954 * examples/hildon-touch-selector-example.c
4955 * examples/hildon-time-button-example.c
4956 * examples/hildon-picker-button-example.c:
4957 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
4959 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
4961 * examples/hildon-text-view-example.c: (main): Remove the
4962 gtkrc bits, now handled by the theme.
4964 2008-09-22 Alberto Garcia <agarcia@igalia.com>
4966 * src/hildon-picker-button.c (hildon_picker_button_set_active):
4969 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4971 * po/Makefile.am: Install properly the mo files.
4972 * po/en_GB.po: Update translation, to ease testing purposes.
4974 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4976 * examples/hildon-picker-button-example.c: (main): Select an item
4977 in the selector before setting it to the button.
4979 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4981 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
4982 Update button's value if the selector has an item active.
4984 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
4985 'value' with the selector)
4987 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4989 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
4990 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
4991 (hildon_picker_button_class_init): Plug the finalize method.
4992 (hildon_picker_button_set_selector): If there's a previously set
4993 selector, unref'it before setting a new one.
4995 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
4996 HildonTouchSelector)
4998 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
5000 * src/hildon-touch-selector-entry.c:
5001 (hildon_touch_selector_entry_changed): Check if there is no text
5002 selected before setting the entry text.
5005 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5007 * src/hildon-touch-selector.h
5008 * src/hildon-touch-selector.c
5009 (hildon_touch_selector_get_active)
5010 (hildon_touch_selector_set_active): New methods to set/get the
5011 index of the selected item.
5013 * src/hildon-picker-button.h
5014 * src/hildon-picker-button.c
5015 (hildon_picker_button_get_active)
5016 (hildon_picker_button_set_active): New methods to set/get the
5017 index of the selected item.
5019 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5021 * configure.ac: post-release version bump.
5023 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5027 * configure.ac: Pre-release version bump.
5028 * debian/changelog: Updates.
5029 * debian/control: Add myself as maintainer and depend on l10n
5032 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5034 * src/hildon-window.c
5035 (hildon_window_set_main_menu)
5036 * src/hildon-stackable-window.c
5037 (hildon_stackable_window_set_main_menu):
5038 Updated documentation.
5040 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5042 * src/hildon-date-selector.c (hildon_date_selector_finalize):
5043 Don't free selector->priv manually.
5046 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5049 (hildon_gtk_window_set_progress_indicator):
5050 * src/hildon-gtk.h: Added the new API
5051 hildon_gtk_window_set_progress_indicator, it changes the state of
5052 the window progress hint.
5054 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5056 * src/hildon-button.c
5057 * src/hildon-stackable-window.c: Minor documentation updates.
5059 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5061 * src/hildon-stackable-window.c: Updated documentation.
5063 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
5065 * src/hildon-defines.h: Update margins definitions
5066 to the Fremantle sizes.
5069 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5071 * src/hildon-touch-selector.c,
5072 (_hildon_touch_selector_set_model): Cleaning the code after
5073 review, removed g_print and #if 0 from the code.
5075 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5077 * src/hildon-edit-toolbar.c: Update documentation.
5079 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5081 * src/hildon-check-button.h
5082 * src/hildon-check-button.c
5083 (hildon_check_button_set_label, hildon_check_button_get_label)
5084 * examples/hildon-check-button-example.c
5085 (button_clicked_cb):
5086 Removed deprecated methods.
5088 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5090 * src/hildon-text-view.c:
5091 Add sample code to the documentation.
5093 * src/hildon-entry.h
5094 * src/hildon-text-view.h:
5095 Minor cosmetic changes.
5097 * src/hildon-entry.c:
5098 Add sample code to the documentation.
5099 (hildon_entry_init, hildon_entry_refresh_contents):
5100 Don't allow NULL values in the placeholder.
5102 2008-09-10 Alberto Garcia <agarcia@igalia.com>
5104 * doc/hildon-docs.sgml
5106 * examples/Makefile.am
5107 * examples/hildon-text-view-example.c
5109 * src/hildon-text-view.c
5110 * src/hildon-text-view.h
5112 New HildonTextView widget, with example.
5114 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5116 * po/POTFILES.in: Add missing files with translatable strings.
5117 Partially fixes NB#88287.
5119 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5121 * examples/hildon-pannable-area-example-2.c: (main): No need to
5122 set the cellrenderer height inside hildon touch lists, the theme does
5125 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5127 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
5128 they are integrated in the theme.
5130 2008-09-09 Alberto Garcia <agarcia@igalia.com>
5132 * examples/hildon-entry-example.c: Update the example adding
5133 widgets to modify the text and the placeholder of the HildonEntry.
5135 * src/hildon-entry.c: Show the placeholder everytime the widget
5136 is empty and loses the focus.
5138 2008-09-09 Alejandro G. Castro <alex@igalia.com>
5140 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
5142 * src/hildon-pannable-area.c,
5143 (hildon_pannable_area_size_request): Fixed bug in height
5144 requisition, avoid increasing size and add border twice.
5146 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5148 * configure.ac: postrelease version bump.
5150 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5154 * configure.ac: Prerelease version bump.
5155 * debian/changelog: update.
5156 * debian/rules: make -dbg package contain useful debugging symbols.
5158 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5160 * src/hildon-dialog.h
5161 * src/hildon-dialog.c
5162 (hildon_dialog_add_button, hildon_dialog_add_buttons):
5163 New methods to add buttons with finger size.
5164 (hildon_dialog_new_with_buttons):
5165 Create buttons with finger size.
5167 * examples/hildon-dialog-example.c (main): Use HildonDialog
5168 methods to add buttons.
5170 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5172 * src/hildon-entry.c: Updated HildonButton documentation.
5174 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5176 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
5177 button value label with (FALSE, FALSE) to prevent NB#88126 from
5180 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5182 * examples/hildon-pannable-area-example.c,
5183 (main): Removed examples panning a vbox inside a pannable
5184 area. Check bug NB#87965
5186 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5188 Patch contributed by Kris Rietveld (kris@imendio.com)
5190 * src/hildon-pannable-area.c,
5191 (hildon_pannable_area_get_topmost): replaced the get_geometry with
5192 get_size and get_position, this saves an X server roundtrip.
5194 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5196 * doc/hildon-docs.sgml
5198 * examples/Makefile.am
5199 * examples/hildon-entry-example.c
5201 * src/hildon-entry.c
5202 * src/hildon-entry.h
5204 New HildonEntry widget, with example.
5206 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5208 * src/hildon-button.c (hildon_button_construct_child): Pack the
5209 image with expand == fill == FALSE. This is a workaround for a bug
5212 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
5214 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
5215 labels for the text column, to make it more look more dynamic.
5217 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5219 * src/hildon-time-selector.c
5220 Define gettext auxiliar macro N_
5221 (_create_minutes_model)
5222 (_create_hours_model)
5223 (_create_ampm_model): use of strftime in order to fill the model
5224 * src/hildon-date-selector.c
5225 (hildon_date_selector_finalize):
5226 (_locales_init): remove the logic related to get the name of the months
5227 using nl_langinfo, as it is not required anymore
5229 (_create_year_model)
5230 (_create_month_model)
5231 (_update_day_model): use of strftime in order to fill the model properly
5234 2008-09-04 Alberto Garcia <agarcia@igalia.com>
5236 * src/hildon-button.h
5237 * src/hildon-button.c (hildon_button_get_image): New method to
5240 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
5242 * src/hildon-touch-selector.c:
5243 (hildon_touch_selector_remove_column): Remove from the correct parent
5244 and also remove the list element and free it.
5247 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5249 * src/hildon-time-selector.c
5250 (_create_hours_model): change the range on 12h ampm format in order to use
5251 a 12-11 range instead of previous 01-12 range
5252 (hildon_time_selector_set_time): change the way to select the current time
5253 on 12h ampm format, due the change on the range
5254 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
5257 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
5259 * src/hildon-touch-selector.c
5260 (hildon_date_touch_selector_get_selected): fix the selection mode check,
5261 in order to allow use this function on multiple row selection mode if
5262 the column is different that the first one
5265 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
5267 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
5268 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
5270 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5272 * src/hildon-date-selector.h: clean some comments, now on the .c
5273 * src/hildon-date-selector.c
5274 (hildon_date_selector_select_month): first implementation
5275 (hildon_date_selector_select_day): added documentation, reimplemented
5276 using hildon_date_selector_select_current_date to avoid repeat code
5279 2008-09-02 Alejandro G. Castro <alex@igalia.com>
5281 Reviewed interaction logic based on device experiences, refactored
5284 * src/hildon-pannable-area.c,
5285 (hildon_pannable_area_class_init): Updated default vmax speed.
5286 (hildon_pannable_area_calculate_velocity): Added this function, it
5287 avoids duplicate valocity calculation. Adjusted calculation to
5288 avoid problems with zero dist events.
5290 (hildon_pannable_area_motion_notify_cb): Now we use the
5291 calculate_velocity function.
5293 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5295 * src/hildon-date-selector.c
5296 (hildon_date_selector_select_current_date): fix the day range check
5297 as it failed using the last day of the current month
5300 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5302 * src/hildon-touch-selector.c
5303 (hildon_touch_selector_get_num_columns): added a parameter validation
5306 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5308 * examples/Makefile.am
5309 * examples/hildon-edit-toolbar-example.c: Example of the
5310 HildonEditToolbar widget.
5312 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5314 * configure.ac: postrelease version bump.
5316 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5320 * configure.ac: prerelease version bump.
5321 * debian/changelog: update.
5323 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5325 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
5326 renderer to display stock icons in the touch list. Also, set the sizes
5327 to the recommended in the style guide.
5329 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5330 * src/hildon-touch-selector.h
5331 (hildon_touch_selector_set_active_iter): renamed, now is
5332 hildon_touch_selector_select_iter
5333 (hildon_touch_selector_get_active_iter): renamed, now is
5334 hildon_touch_selector_get_selected
5335 (hildon_touch_selector_unselect_iter): added
5336 * src/hildon-touch-selector.c
5337 Update after API modification (methods renamed)
5338 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
5339 order to avoid problems selecting multiple elements on the column
5340 (hildon_touch_selector_unselect_iter): added the implementation
5341 * src/hildon-time-selector.c
5342 * src/hildon-date-selector.c
5343 * src/hildon-touch-selector-entry.c
5344 Update methods calls after hildon-touch-selector.h API modification (methods
5347 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5349 * src/hildon-stackable-window.c
5350 (hildon_stackable_window_finalize): Call the parent class's finalize.
5352 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5354 * examples/hildon-touch-selector-example.c: (create_selector): Use
5355 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
5358 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5360 * examples/hildon-touch-selector-example.c: (create_selector): Do not
5361 set a cell background color, to respect theming.
5363 2008-08-28 Alberto Garcia <agarcia@igalia.com>
5365 * doc/hildon-docs.sgml
5368 * src/hildon-edit-toolbar.c
5369 * src/hildon-edit-toolbar.h
5370 * src/hildon.h: New HildonEditToolbar widget.
5372 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
5374 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
5377 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5378 * src/hildon-touch-selector.c
5379 (_create_new_column): use g_object_set instead of two g_object_set_property
5381 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5382 * src/hildon-touch-selector.c
5383 (_create_new_column): use of hildon_gtk_tree_view_new to create
5384 the treeview, instead of use directly g_object_new
5385 (_create_new_column): update the property name "vindicator-mode" for the
5386 new one "vscrollbar-policy"
5387 * examples/hildon-date-button-example.c
5388 * examples/hildon-picker-button-multicolumn-example.c
5389 * examples/hildon-touch-selector-entry-example.c
5390 * examples/hildon-touch-selector-example.c
5391 * examples/hildon-time-button-example.c
5392 * examples/hildon-picker-button-example.c
5393 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
5394 to all the treeviews inside a pannable area.
5396 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5398 * src/hildon-button.h
5399 * src/hildon-button.c (hildon_button_init)
5400 (hildon_button_set_arrangement, hildon_button_set_alignment)
5401 (hildon_button_set_title_alignment)
5402 (hildon_button_set_value_alignment)
5403 (hildon_button_set_image_alignment)
5404 (hildon_button_construct_child): New methods to set the alignment
5405 of the individual components of the button (title, value,
5406 image). Also, new method to alter the xscale and yscale properties
5407 of the GtkAlignment inside the button, so more complex layouts can
5410 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5412 * src/hildon-button.c (hildon_button_style_set)
5413 (hildon_button_class_init, hildon_button_set_arrangement)
5414 (hildon_button_construct_child): Apply style properties
5415 correctly. Use the 'image-spacing' style property too.
5417 2008-08-26 Alberto Garcia <agarcia@igalia.com>
5419 * src/hildon-app-menu.c (hildon_app_menu_style_set)
5420 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
5423 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5425 * src/hildon-pannable-area.c,
5426 (hildon_pannable_area_size_request): Fixed problem with
5427 pannable-area size_request.
5429 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5431 Added management for the grab-focus to a child widget, like a
5432 range, we need to fade out the scrollbar when releasing.
5434 * src/hildon-pannable-area.c,
5435 (hildon_pannable_area_init): Connected the grab-focus signal to
5437 (hildon_pannable_area_grab_notify): Added this function in order
5438 to manage the situation when the grab-focus ends. We have to
5439 fade-out the scrollbar.
5441 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5443 * src/hildon-app-menu.c: Minor documentation update.
5445 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5447 * src/hildon-app-menu.c
5448 * examples/hildon-app-menu-example.c (create_menu): Update
5449 examples and documentation to explain how to connect callbacks.
5451 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
5453 * examples/hildon-button-example.c
5454 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
5455 hildon_stackable_window_new instead of gtk_window_new
5457 2008-08-22 Alejandro G. Castro <alex@igalia.com>
5459 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
5460 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
5461 (hildon_pannable_area_set_property),
5462 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
5463 (hildon_pannable_area_unrealize),
5464 (hildon_pannable_area_size_request),
5465 (hildon_pannable_area_size_allocate),
5466 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
5467 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
5468 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
5469 (hildon_pannable_area_initial_effect),
5470 (hildon_pannable_area_redraw),
5471 (hildon_pannable_area_scroll_indicator_fade),
5472 (hildon_pannable_area_expose_event),
5473 (hildon_pannable_area_get_topmost), (synth_crossing),
5474 (hildon_pannable_area_button_press_cb),
5475 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
5476 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
5477 (hildon_pannable_area_motion_notify_cb),
5478 (hildon_pannable_area_button_release_cb),
5479 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
5480 (hildon_pannable_area_remove),
5481 (hildon_pannable_calculate_vel_factor): Widget refactorization,
5482 chage the code layout to a more GtkWidget like. Review the use of
5485 2008-08-21 Alejandro G. Castro <alex@igalia.com>
5487 * examples/hildon-pannable-area-example-4.c,
5488 (main): Modified the name of the hindicator_mode to
5491 * src/hildon-pannable-area.c,
5492 (hildon_pannable_area_class_init),
5493 (hildon_pannable_area_motion_notify_cb),
5494 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
5495 we have reduced the amount of signals and managed reviewed its
5496 rationale. Changed the default decelerate value.
5498 (hildon_pannable_area_add),
5499 (hildon_pannable_area_redraw): Refactored functions.
5501 (hildon_pannable_area_init),
5502 (hildon_pannable_area_get_property),
5503 (hildon_pannable_area_set_property):
5504 (hildon_pannable_draw_vscroll),
5505 (hildon_pannable_draw_hscroll),
5506 (hildon_pannable_area_initial_effect),
5507 (hildon_pannable_area_expose_event),
5508 (hildon_pannable_area_scroll),
5509 (hildon_pannable_area_button_press_cb),
5510 (hildon_pannable_area_realize): Replaced the names hindicator_mode
5511 and vindicator_mode with hscrollbar_policy and
5512 vscrollbar_policy. Replaced hscroll and vscroll with
5513 hscroll_visible and vscroll_visible.
5515 (hildon_pannable_area_refresh): Refactor the function, remove
5516 variables and check the calls to this function, added resize
5517 conditions in case the children change their layout.
5519 (hildon_pannable_area_size_request): Added more detailed
5520 size_request calculation.
5523 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
5525 * src/hildon-color-chooser.c
5526 (init_borders): use the correct gtk_border_free instead of g_free, to
5527 avoid a crash when this widget is used (ie: the three color selection
5530 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5532 * src/hildon-check-button.c,
5533 (hildon_check_button_set_active): Fixed problem when setting the
5534 active value, the widget was not redrawn.
5536 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5538 * src/hildon-pannable-area.c,
5539 (hildon_pannable_area_refresh),
5540 (hildon_pannable_area_scroll),
5541 (hildon_pannable_area_motion_notify_cb): Small code style change.
5543 (hildon_pannable_area_class_init): Default initial_hint set to
5544 FALSE, it is not in the specs.
5546 (hildon_pannable_area_initial_effect),
5547 (hildon_pannable_area_expose_event),
5548 (hildon_pannable_area_map),
5549 (hildon_pannable_area_init): Moved the launching point of the
5550 initial effect, it was in map but the sizes where not correct in
5551 that method so we do not know if we have the reproduce it. Now it
5552 is placed in the expose_event method and uses a variable to
5553 reproduce it just once.
5555 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5557 * src/hildon-pannable-area.c,
5558 (hildon_pannable_draw_vscroll),
5559 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
5560 position allowed for the scrollbars.
5562 (hildon_pannable_area_size_allocate): Small style change.
5564 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5566 * src/hildon-pannable-area.c,
5567 (hildon_pannable_area_scroll_indicator_fade),
5568 (hildon_pannable_area_button_press_cb),
5569 (hildon_pannable_area_button_release_cb),
5570 (hildon_pannable_area_scroll_cb),
5571 (hildon_pannable_area_expose_event),
5572 (hildon_pannable_area_init): Added the define parameter
5573 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
5574 and refactor the fade variable.
5576 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5578 * src/hildon-pannable-area.c,
5579 (hildon_pannable_area_redraw),
5580 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
5581 lines, we were reimplemeting the redraw code.
5583 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5585 * src/hildon-pannable-area.c,
5586 (hildon_pannable_area_scroll_cb),
5587 (hildon_pannable_area_realize),
5588 (hildon_pannable_area_class_init): Added scroll_event management
5589 for pannable area, now we can scroll the usual desktop method.
5591 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
5592 initialization of the parameters should depend on idle_id.
5594 (hildon_pannable_area_init),
5595 (hildon_pannable_area_map): Small code style modifications
5597 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5599 * src/hildon-pannable-area.c
5600 (hildon_pannable_area_button_press_cb),
5601 (hildon_pannable_area_motion_notify_cb),
5602 (hildon_pannable_area_button_release_cb),
5603 (hildon_pannable_area_size_allocate),
5604 (hildon_pannable_area_scroll_to): Improved the timeouts
5605 management, we avoid creating them each time.
5607 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5609 * src/hildon-pannable-area.c:
5610 (hildon_pannable_area_refresh),
5611 (hildon_pannable_area_motion_notify_cb),
5612 (hildon_pannable_area_class_init):
5613 * src/hildon-pannable-area.h:
5614 * src/hildon-touch-selector.c
5615 (_create_new_column):
5616 * examples/hildon-pannable-area-example-4.c:
5617 (horizontal_movement),
5618 (vertical_movement),
5620 Replaced the names of enums in the HildonPannableArea:
5621 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
5622 HILDON_MOVEMENT_MODE_*
5623 - HILDON_PANNABLE_AREA_MOV_* ->
5625 - Removed HildonPannableAreaIndicatorMode, now we
5628 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5630 * examples/hildon-pannable-area-touch-grid-example.c
5631 * examples/hildon-pannable-area-touch-list-example.c: Fix
5632 compilation warnings.
5634 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5636 * src/hildon-gtk.c (hildon_gtk_button_new)
5637 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
5638 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
5639 images overriding the value of the "gtk-button-images" setting.
5641 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5643 * src/hildon-check-button.c (hildon_check_button_new):
5644 Instead of using a custom container, display the label and the
5645 checkbox using the standard GtkButton API.
5647 * examples/hildon-check-button-example.c (main): Don't use
5648 hildon_check_button_set_label() anymore
5650 * src/hildon-check-button.h
5651 * src/hildon-check-button.c
5652 (hildon_check_button_set_label, hildon_check_button_get_label):
5653 Set as deprecated, now we're using gtk_button_{get,set}_label()
5655 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5657 * src/hildon-pannable-area.c,
5658 (hildon_pannable_area_get_topmost): Fixed bug with click in the
5659 GtkTreeview first line we detected it after the inclusion of the
5660 GtkWindowImpl in gtk+. We now check if the window is visible, not
5661 just if the pointer is over the window.
5662 (hildon_pannable_axis_scroll),
5663 (hildon_pannable_area_expose_event): Small style changes.
5665 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5667 * src/hildon-button.c: Update documentation.
5669 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5671 * examples/hildon-button-example.c: Add a switch to show images in
5674 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5676 * doc/hildon-docs.sgml: Some docs reorganization.
5678 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5680 * examples/hildon-pannable-area-touch-list-example.c
5682 * examples/hildon-pannable-area-touch-grid-example.c
5683 (create_icon_view): Use gtk_{tree,icon}_view_new() and
5684 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
5685 Fix memory leak when setting the tree model.
5687 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5691 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5693 * doc/hildon.types: Remove duplicated hildon_window_get_type
5694 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
5695 documentation comment.
5697 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5699 * doc/Makefile.am: Complete list of private headers.
5701 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5703 * doc/hildon-docs.sgml
5704 * src/hildon-app-menu.c
5705 * src/hildon-bread-crumb.c
5706 * src/hildon-button.c
5708 * src/hildon-program.c
5709 * src/hildon-stackable-window.c
5710 * src/hildon-window.c: Lots of documentation updates.
5712 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5714 * debian/control: Depend on Gtk 2:2.12.9-0osso3
5716 * configure.ac: Require Gtk+ 2.12.9 at least
5718 2008-08-12 Alejandro G. Castro <alex@igalia.com>
5720 * src/hildon-pannable-area.c
5721 (hildon_pannable_area_scroll_indicator_fade),
5722 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
5723 to protect the return of this timeout callbacks, avoiding deadlocks.
5725 2008-08-12 Christian Dywan <christian@imendio.com>
5728 * src/hildon-*.h: Ensure a consistent include order,
5729 include <gtk/gtk.h> instead of particular files and
5730 only include the topmost header in the gtk stack. See NB #39857
5732 2008-08-12 Christian Dywan <christian@imendio.com>
5734 * src/hildon-picker-dialog.c
5735 * src/hildon-touch-selector.c: Fix warnings about unused and
5736 uninitialized variables.
5738 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5740 * examples/Makefile.am
5741 * examples/hildon-check-button-example.c: Example of the hildon
5744 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5746 * src/hildon-window.h
5747 * src/hildon-window.c (hildon_window_class_init)
5748 (hildon_window_unset_program): Don't make
5749 hildon_window_unset_program a virtual function anymore.
5751 * src/hildon-stackable-window.c: Update documentation
5753 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5756 * doc/hildon-docs.sgml
5757 * doc/visual_index.xml
5758 * src/hildon-defines.c
5760 * src/hildon-helper.c
5761 * src/hildon-range-editor.c: Lots of documentation fixes.
5763 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5765 * examples/hildon-picker-button-multicolumn-example.c
5766 (create_touch_selector): Fix compilation warning.
5768 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5770 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
5771 (hildon_pannable_area_button_release_cb)
5772 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
5774 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5776 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
5779 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5781 * src/hildon-bread-crumb-trail.h
5782 * src/hildon-date-editor.c
5783 * src/hildon-date-selector.c
5784 * src/hildon-pannable-area.c
5785 * src/hildon-picker-dialog.c
5786 * src/hildon-time-selector.c
5787 * src/hildon-touch-selector-entry.c
5788 * src/hildon-touch-selector.c
5789 * src/hildon-touch-selector.h: Misc documentation fixes
5791 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5793 * examples/hildon-date-editor-example.c (main): Updated date
5796 * examples/hildon-note-example.c (on_confirmation_clicked):
5797 Updated confirmation note example.
5799 * src/hildon-date-editor.c
5800 * src/hildon-note.c: Updated sample programs in documentation.
5803 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5805 * src/hildon-date-button.h:
5806 * src/hildon-picker-button.h:
5807 * src/hildon-time-button.c:
5808 * src/hildon-time-button.h:
5810 Some declarations changes to allow gtk-doc to document the widgets
5813 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5815 * src/hildon-date-button.c: Document the widget.
5816 * src/hildon-time-button.c: Document the widget.
5818 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5820 * src/hildon-picker-button.c: Document the widget.
5821 * src/hildon-touch-selector-entry.c: Document the widget.
5823 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5825 * doc/hildon-docs.sgml
5828 * src/hildon-check-button.h
5829 * src/hildon-check-button.c: New functions to create the Hildon
5833 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
5835 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5837 * src/hildon-button.h
5838 * src/hildon-button.c
5839 (hildon_button_add_title_size_group)
5840 (hildon_button_add_value_size_group)
5841 (hildon_button_add_image_size_group)
5842 (hildon_button_add_size_groups): New functions to set size groups
5843 for the button labels and image.
5844 (hildon_button_new_full): Removed
5846 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
5848 * src/hildon-time-selector.c
5849 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
5850 in order to avoid a crash if gconf is not available
5852 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5854 * src/hildon-button.c (hildon_button_set_arrangement)
5855 (hildon_button_construct_child): Don't construct the button child
5856 before setting the arrangement.
5858 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5860 * src/hildon-program-private.h
5861 * src/hildon-program.c
5862 * src/hildon-program.h
5863 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
5864 (hildon_program_peek_window_stack)
5865 (hildon_program_pop_window_stack)
5866 (hildon_program_go_to_root_window): HildonProgram now has a
5867 separate list for stackable windows. Functions are provided to
5868 manage that list with a stack-like API.
5870 * src/hildon-stackable-window.c: Stackable window management is
5871 now much simpler with the new HildonProgram API. Windows no
5872 longer need to be manually added to the program, they're
5873 automatically pushed to the top of the stack when shown.
5875 * examples/hildon-stackable-window-example.c: Updated example to
5876 reflect the API changes.
5878 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5880 * src/hildon-touch-selector.c: Comment out unimplemented
5881 hildon_touch_selector_insert_column() to avoid a compile warning.
5883 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5885 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5886 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
5887 (hildon_touch_selector_set_column_selection_mode),
5888 (_hildon_touch_selector_set_model),
5889 (hildon_touch_selector_set_model):
5891 Complete review of HildonTouchSelector documentation.
5893 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5895 * doc/hildon-docs.sgml
5899 * src/hildon-gtk.c: Convenience functions for standard Gtk
5900 widgets, used to easily perform frequent operations.
5902 * src/hildon-button-helpers.h
5903 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
5905 * src/hildon-helper.h
5906 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
5907 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
5909 * src/hildon-button.h
5910 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
5912 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5914 * src/hildon-button.c (hildon_button_init)
5915 (hildon_button_set_arrangement, hildon_button_construct_child):
5916 Pack the image and the labels inside the same GtkAlignment so
5917 gtk_button_set_alignment() can be used
5919 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5921 * src/hildon-button.h
5922 * src/hildon-button.c
5923 (hildon_button_init, hildon_button_set_image)
5924 (hildon_button_set_image_position)
5925 (hildon_button_construct_child): New functions to add an image to
5928 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5930 * src/hildon-date-button.c
5931 * src/hildon-picker-button.c
5932 * src/hildon-time-button.c
5933 * src/hildon-button.c:
5934 (hildon_button_class_init): "size-flags" renamed to "size"
5935 (hildon_button_set_title): Hide the title label if set to NULL.
5937 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5939 HildonButtonFlags split into HildonButtonArrangement (to set the
5940 button layout) and HildonSizeType (which can be used for any
5943 * src/hildon-button.h
5944 * src/hildon-button.c
5945 (hildon_button_class_init)
5946 (hildon_button_set_arrangement)
5947 (hildon_button_set_property): New "size-flags"
5948 property. "arrangement-flags" renamed to "arrangement".
5949 (hildon_button_new, hildon_button_new_with_text)
5950 (hildon_button_new_full): Constructors updated to reflect type changes.
5952 * src/hildon-helper.h
5953 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
5954 to set the size of a widget.
5958 * src/hildon-button-helpers.c
5959 * src/hildon-button-helpers.h: New hildon-button-helpers module.
5961 * src/hildon-date-button.c
5962 * src/hildon-date-button.h
5963 * src/hildon-picker-button.c
5964 * src/hildon-picker-button.h
5965 * src/hildon-time-button.c
5966 * src/hildon-time-button.h: Updated widgets to reflect
5967 HildonButton API changes.
5969 * examples/hildon-button-example.c
5970 * examples/hildon-date-button-example.c
5971 * examples/hildon-picker-button-example.c
5972 * examples/hildon-picker-button-multicolumn-example.c
5973 * examples/hildon-time-button-example.c
5974 * examples/hildon-touch-selector-entry-example.c
5975 * examples/hildon-touch-selector-example.c: Updated examples to
5976 reflect HildonButton API changes.
5978 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5980 * doc/hildon-docs.sgml:
5982 * examples/Makefile.am:
5983 * examples/hildon-touch-selector-entry-example.c:
5985 * src/hildon-touch-selector-entry.c:
5986 * src/hildon-touch-selector-entry.h:
5989 Moved HildonTouchSelectorEntry from sandbox. Added its
5990 documentation and examples.
5992 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5994 * src/hildon-touch-selector.h:
5995 * examples/hildon-picker-button-multicolumn-example.c:
5996 (hildon_touch_selector_append_text_column): Add a gboolean
5997 parameter to determine if text must be centered in the column.
5999 * src/hildon-date-selector.c: (hildon_date_selector_init):
6000 * src/hildon-time-selector.c: (hildon_time_selector_init):
6001 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
6002 (create_touch_selector): Update widgets and example to reflect
6005 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6007 * src/hildon-touch-selector.c:
6008 (hildon_touch_selector_set_active_iter): Set also the cursor in
6011 2008-08-06 Alberto Garcia <agarcia@igalia.com>
6013 * doc/hildon-docs.sgml
6016 * src/hildon-toggle-button.c
6017 * src/hildon-toggle-button.h
6018 * src/hildon.h: Removed HildonToggleButton widget, a derived
6019 class is not necessary for this.
6021 2008-08-06 Alejandro G. Castro <alex@igalia.com>
6023 * src/hildon-pannable-area.c,
6024 (hildon_pannable_area_realize),
6025 (hildon_pannable_area_size_allocate): Code refactoring, add tests
6028 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
6030 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
6031 "done" button the default widget for the dialog.
6033 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6035 * src/hildon-touch-selector.c:
6036 (hildon_touch_selector_class_init),
6037 (hildon_touch_selector_get_property),
6038 (_hildon_touch_selector_set_model),
6039 (_hildon_touch_selector_has_multiple_selection),
6040 (hildon_touch_selector_has_multiple_selection):
6041 Add a "has-multiple-selection" property with a virtual
6042 has_multiple_selection() method to allow derived classes to
6043 override the default value for it. See the method and property
6044 documentation for details.
6046 * src/hildon-touch-selector.h: Add the new API.
6048 * src/hildon-picker-dialog.c: (requires_done_button): Call
6049 hildon_touch_selector_has_multiple_selection() instead of
6050 determining the need for a button itself.
6052 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6054 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6055 (_hildon_touch_selector_set_model),
6056 (hildon_touch_selector_set_model): Move working code to
6057 _hildon_touch_selector_set_mode(). Call the class method instead.
6059 * src/hildon-touch-selector.h: Add (*set_model) to
6060 HildonTouchSelectorClass.
6062 Make hildon_touch_selector_set_model() a virtual method, so that
6063 derived classes can extend it and do fancy stuff with the model.
6065 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6067 * configure.ac: Set back the tarname in AC_INIT to hildon.
6069 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6073 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
6074 instead of libesd (NB#86876). Volume handling is still an open issue.
6076 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
6079 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6081 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
6082 (hildon_touch_selector_append_column): Make the widget a GtkVBox
6083 derived class to ease placement of an entry widget in
6084 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
6085 end, where the selector columns are packed now.
6087 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6089 * src/hildon-picker-button.c: Removed the simple _text() API.
6090 * src/hildon-picker-button.h: Likewise.
6092 * src/hildon-touch-selector.h:
6093 * src/hildon-touch-selector.c:
6094 (hildon_touch_selector_new_text),
6095 (hildon_touch_selector_append_text),
6096 (hildon_touch_selector_prepend_text),
6097 (hildon_touch_selector_insert_text):
6099 Moved the simple _text() API from HildonPickerButton to
6100 HildonTouchPicker, to provide better escalability and not to tie
6101 that API to HildonPickerButton.
6103 * examples/hildon-picker-button-example.c: (main): Example updated.
6105 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6107 * src/hildon-button.c: Updated documentation.
6109 * examples/hildon-button-example.c: Add the posibility to create
6110 the buttons using horizontal layout for title and value.
6112 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6114 * src/hildon-app-menu-private.h
6115 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
6116 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
6117 GtkSizeGroup for the filters, use the 'homogeneous' property of
6120 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6122 * examples/hildon-button-example.c: Updated example.
6124 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
6126 * doc/hildon-docs.sgml:
6129 Update documentation.
6131 * examples/Makefile.am: Update renamed examples.
6133 * examples/hildon-picker-button-multicolumn-example.c:
6134 (create_touch_selector), (main): Update after the rename.
6136 * examples/hildon-touch-picker-example.c: Removed.
6137 * examples/hildon-touch-selector-example.c: (value_changed),
6138 (create_selector), (get_visible_content), (main): Renamed from
6139 hildon-touch-picker-example.c
6141 * src/Makefile.am: Updated renamed files.
6143 * src/hildon-date-button.c: (hildon_date_button_init),
6144 (hildon_date_button_get_date), (hildon_date_button_set_date):
6145 * src/hildon-date-selector.c: (hildon_date_selector_init),
6146 (_custom_print_func), (_update_day_model),
6147 (_manage_selector_change_cb),
6148 (hildon_date_selector_select_current_date),
6149 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
6150 * src/hildon-date-selector.h:
6151 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6152 (hildon_picker_button_set_property),
6153 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6154 (hildon_picker_button_init), (hildon_picker_button_new_text),
6155 (hildon_picker_button_append_text),
6156 (hildon_picker_button_prepend_text),
6157 (hildon_picker_button_insert_text),
6158 (hildon_picker_button_set_selector),
6159 (hildon_picker_button_get_selector):
6160 * src/hildon-picker-button.h:
6161 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
6162 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
6163 (_update_title_on_selector_changed_cb), (requires_done_button),
6164 (_hildon_picker_dialog_set_selector),
6165 (hildon_picker_dialog_set_selector),
6166 (hildon_picker_dialog_get_selector):
6167 * src/hildon-picker-dialog.h:
6168 * src/hildon-time-button.c: (hildon_time_button_init),
6169 (hildon_time_button_get_time), (hildon_time_button_set_time):
6170 * src/hildon-time-selector.c: (hildon_time_selector_init),
6171 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
6172 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
6173 * src/hildon-time-selector.h:
6176 Massive code updates after the rename.
6178 * src/hildon-touch-picker.c: Removed.
6179 * src/hildon-touch-picker.h: Removed.
6181 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6182 (hildon_touch_selector_init), (hildon_touch_selector_map),
6183 (hildon_touch_selector_remove), (_default_print_func),
6184 (_selection_changed_cb), (_create_new_column),
6185 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
6186 (hildon_touch_selector_append_text_column),
6187 (hildon_touch_selector_remove_column),
6188 (hildon_touch_selector_set_column_attributes),
6189 (hildon_touch_selector_insert_column),
6190 (hildon_touch_selector_get_num_columns),
6191 (hildon_touch_selector_get_column_selection_mode),
6192 (hildon_touch_selector_set_column_selection_mode),
6193 (hildon_touch_selector_set_print_func),
6194 (hildon_touch_selector_get_print_func),
6195 (hildon_touch_selector_get_active_iter),
6196 (hildon_touch_selector_set_active_iter),
6197 (hildon_touch_selector_get_selected_rows),
6198 (hildon_touch_selector_get_model),
6199 (hildon_touch_selector_set_model),
6200 (hildon_touch_selector_get_current_text),
6201 (_hildon_touch_selector_center_on_selected_items):
6202 * src/hildon-touch-selector.h: Renamed from
6203 hildon-touch-picker.[ch]
6205 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
6206 references, code examples, and related documentation.
6208 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6210 * doc/hildon-docs.sgml
6213 * src/hildon-toggle-button.c
6214 * src/hildon-toggle-button.h
6215 * src/hildon.h: New HildonToggleButton widget.
6217 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6219 * src/hildon-button.c: Add API documentation.
6220 (hildon_button_set_size_groups): Check input parameters
6222 2008-07-30 Alejandro G. Castro <alex@igalia.com>
6224 * src/hildon-pannable-area.c
6225 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
6226 effect after reaching the movement thredshold. This way we start
6227 using the distance after passing the thredshold.
6229 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6231 * src/hildon-button.c: (hildon_button_set_property): Use the
6232 appropriate g_value_get_flags() method.
6234 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6236 * doc/hildon-docs.sgml:
6239 Add the touch pickers, picker dialogs, and picker button widgets
6240 to the documentation.
6242 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6244 * src/hildon-button.c: (hildon_button_set_property),
6245 (hildon_button_class_init): Make "arrangement-flags" a proper
6246 G_TYPE_FLAGS derived property.
6248 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6250 * examples/Makefile.am: Add below examples.
6251 * examples/hildon-date-button-example.c:
6252 * examples/hildon-picker-button-example.c:
6253 * examples/hildon-picker-button-multicolumn-example.c:
6254 * examples/hildon-time-button-example.c:
6255 * examples/hildon-touch-picker-example.c:
6257 Add examples for the recently added touch pickers,
6258 picker dialogs, and picker button widgets.
6260 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6262 * src/hildon-button.c: Add some API documentation
6264 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6266 * src/hildon-button.h
6267 * src/hildon-button.c
6269 (hildon_button_new_with_text): New constructor to create a button
6270 with no text at all.
6271 (hildon_button_init, hildon_button_set_arrangement)
6272 (hildon_button_set_title, hildon_button_set_value)
6273 (hildon_button_set_text)
6274 (hildon_button_construct_child): Hide the value when it's not used
6275 so the rest of the text is properly aligned.
6276 Allow creating buttons with arbitrary widgets inside (not just
6277 title/value labels).
6279 * examples/hildon-button-example.c (vertical_buttons_window)
6280 (horizontal_buttons_window): Update example to use new API.
6282 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6284 * src/Makefile.am: Added HildonTimeButton.
6285 * src/hildon-time-button.c: Added missing LGPL header.
6286 * src/hildon-time-button.h: Added missing LGPL header.
6287 * src/hildon.h: Add hildon-time-button.h
6289 Copied HildonTimeButton from sandbox to trunk. Future work on this
6290 widget must take place in trunk.
6292 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6294 * src/Makefile.am: Added HildonDateButton.
6295 * src/hildon-date-button.c: Update includes.
6296 * src/hildon.h: Add hildon-date-button.h
6298 Copied HildonDateButton from sandbox to trunk. Future work on this
6299 widget must take place in trunk.
6301 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6303 * src/Makefile.am: Added HildonPickerButton.
6304 * src/hildon-picker-button.h: Update includes.
6305 * src/hildon.h: Add hildon-picker-button.h
6307 Copied HildonPickerButton from sandbox to trunk. Future work on
6308 this widget must take place in trunk.
6310 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6312 * src/Makefile.am: Added HildonPickerDialog.
6313 * src/hildon-picker-dialog.c: Update includes.
6314 * src/hildon.h: Add hildon-picker-dialog.h
6316 Copied HildonPickerDialog from sandbox to trunk. Future work
6317 on this widget must take place in trunk.
6319 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6321 * src/Makefile.am: Added HildonTimeSelector.
6322 * src/hildon.h: Add hildon-time-selector.h
6324 Copied HildonTimeSelector widget from sandbox to trunk. Future
6325 work on this widget must happen in trunk.
6327 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6329 * src/Makefile.am: Added HildonDateSelector.
6330 * src/hildon.h: Add hildon-date-selector.h
6332 Copied HildonDateSelector widget from sandbox to trunk. Future
6333 work on this widget must happen in trunk.
6335 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6337 * src/Makefile.am: Added HildonTouchPicker.
6338 * src/hildon-touch-picker.c: Update includes.
6339 * src/hildon.h: Add hildon-touch-picker.h
6341 Copied HildonTouchPicker widget from sandbox to trunk. Future work
6342 on this widget must happen in trunk.
6344 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6346 * src/hildon-pannable-area.c:
6347 (hildon_pannable_area_motion_notify_cb): Fix a typo.
6349 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6351 * examples/hildon-app-menu-example.c (main): Let the window
6354 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6356 * src/hildon-pannable-area.c
6357 (hildon_pannable_area_class_init): Set the min value of the
6358 overshoot properties to zero, which points out that not
6359 overshooting allowed.
6361 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6363 Modified the procedure to get the widget at a point inside the
6364 pannable area when using the movement type signals. Now the user
6365 has to call a function to get the child, that way we just
6366 calculate the child in case the user really want to use it and not
6369 * src/hildon-marshalers.list: Modified the marshallers, now we do
6370 not have the widget as a parameter.
6372 * src/hildon-pannable-area.c
6373 (hildon_pannable_area_motion_notify_cb),
6374 (hildon_pannable_area_class_init),
6375 (hildon_pannable_get_child_widget_at): Removed the widget
6376 parameter from the signal callback. We have also refactored the
6377 emission of the signals.
6379 * src/hildon-pannable-area.h: Added a new method to the API to
6380 calculate a widget at a point inside the pannable area,
6381 hildon_pannable_get_child_widget_at.
6383 * examples/hildon-pannable-area-example-4.c
6384 (horizontal_movement): Modified the example to use the new API,
6385 added condition to control which widget is under the event. This
6386 way we can avoid scrolling laterally over other widgets.
6388 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6390 * src/hildon-pannable-area.c
6391 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
6392 modes, we stop getting the pointer events due to returning the
6393 callback without properly calling the get pointer again. Fixed
6394 also an error using the hscroll and vscroll.
6396 2008-07-28 Alberto Garcia <agarcia@igalia.com>
6398 * src/hildon-app-menu-private.h
6399 * src/hildon-app-menu.c (hildon_app_menu_button_press)
6400 (hildon_app_menu_button_release, hildon_app_menu_init)
6401 (hildon_app_menu_class_init): Don't hide the menu on button
6402 release if the user didn't press outside first.
6404 * src/hildon-window.h
6405 * src/hildon-window.c (hildon_window_toggle_menu)
6406 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
6407 hildon_window_toggle_menu a virtual function for the stackable
6408 window to override it.
6410 * src/hildon-stackable-window.h
6411 * src/hildon-stackable-window-private.h
6412 * src/hildon-stackable-window.c
6413 (hildon_stackable_window_realize)
6414 (hildon_stackable_window_finalize)
6415 (hildon_stackable_window_class_init)
6416 (hildon_stackable_window_init)
6417 (hildon_stackable_window_set_main_menu): New function to set the
6418 app menu of a HildonStackableWindow.
6420 * examples/hildon-app-menu-example.c: Remove the button to show
6421 the app menu, now it'll be shown when clicking on the title bar
6424 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6426 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
6427 set the widget name if the arrangement flags do not specify
6430 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6432 * src/hildon-button.c: (hildon_button_set_property),
6433 (hildon_button_class_init), (hildon_button_new_full),
6434 (hildon_button_set_arrangement): Added "arrangement-flags"
6437 Make the HildonButtonFlags a construction-only property, to allow
6438 subclasses to set them properly.
6440 2008-07-21 Tim Janik <timj@imendio.com>
6442 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
6443 insertion position after backspace, so additional digits are appended,
6446 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6448 * src/hildon-pannable-area.c,
6449 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
6450 TODO list, it was complete and removed the g_debug and g_print
6453 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6455 Added the movement modes to the hildon-pannable-area, with this
6456 modes the developers can control in which directions the widget
6457 can scroll. They can also connect to signals in order to do
6458 something when that happens, allowing applications scroll. There
6459 is an example uploaded showing how to use it.
6461 * examples/Makefile.am:
6462 * examples/hildon-pannable-area-example-4.c: Added this example of
6463 an application using the modes.
6465 * src/hildon-marshalers.list: Added a new marshaller for the new
6468 * src/hildon-pannable-area.h: Added new enumerations and flags in
6469 order to control the movement modes and the new signals to warn
6470 about the movements in the area.
6472 * src/hildon-pannable-area.c:
6473 (hildon_pannable_axis_scroll),
6474 (hildon_pannable_area_scroll),
6475 (hildon_pannable_area_motion_notify_cb),
6476 (hildon_pannable_area_get_property),
6477 (hildon_pannable_area_set_property),
6478 (hildon_pannable_area_map),
6479 (hildon_pannable_area_class_init),
6480 (hildon_pannable_area_init),
6481 (hildon_pannable_area_jump_to): Added the modes to control the
6482 movement in the widget. We have added properties to control it,
6483 signals to warn about the movements and refactored some code.
6485 2008-07-15 Alejandro G. Castro <alex@igalia.com>
6487 Changes required in order to allow vfast_factor set to zero to
6490 * src/hildon-pannable-area.c:
6491 (hildon_pannable_area_button_press_cb): Changed the condition, it
6492 is required for not allowing click when vfast_factor is zero.
6493 (hildon_pannable_area_timeout): Initialized velocity variables
6494 when we stop moving, it was less than 1 but not zero and we need
6495 to check zero in some situations.
6496 (hildon_pannable_area_class_init): Changed the default value of
6497 the speed factor, now the button_press is just sent in case the
6498 speed is 2 per cent of the max speed.
6499 (hildon_pannable_area_init): Initialization with 0.
6501 2008-07-04 Alejandro G. Castro <alex@igalia.com>
6503 * src/hildon-pannable-area.c,
6504 (hildon_pannable_area_get_topmost): replaced
6505 gdk_window_get_children with gdk_window_peek_children, this way we
6506 do not have to free the list because it is not a copy.
6508 (hildon_pannable_axis_scroll),
6509 (hildon_pannable_area_scroll),
6510 (hildon_pannable_area_timeout),
6511 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
6512 two parameters that were only used inside the
6513 hildon_pannable_area_scroll function.
6515 * examples/hildon-pannable-area-example.c,
6516 (get_sawtooth_label): Fixed small memory leak.
6518 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6520 More checks for the case where the overshoot is bigger than the
6523 * src/hildon-pannable-area.c:
6524 (hildon_pannable_draw_vscroll),
6525 (hildon_pannable_draw_hscroll): with this new calculation we avoid
6526 to draw the slider of the scrollbar under the other scrollbar.
6527 (hildon_pannable_area_expose_event): added new checks to control
6528 the drawing of the overshooting area rectangle, in case it is too
6529 big for the area of the widget.
6530 (hildon_pannable_area_size_allocate): add more checks to avoid
6531 setting a position to the child widget outside the area.
6533 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6535 * src/hildon-pannable-area.c
6536 (hildon_pannable_area_size_allocate): Added conditions to control
6537 when overshooting is bigger than the allocated space for the
6538 children, this avoids negative allocations.
6540 2008-07-02 Alberto Garcia <agarcia@igalia.com>
6542 * doc/hildon-docs.sgml
6544 * examples/Makefile.am
6545 * examples/hildon-button-example.c
6547 * src/hildon-button.c
6548 * src/hildon-button.h
6549 * src/hildon.h: Initial version of the new HildonButton widget,
6552 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
6554 * src/hildon-pannable-area.c:
6555 (hildon_pannable_area_button_press_cb),
6556 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
6557 (hildon_pannable_area_motion_notify_cb),
6558 (hildon_pannable_area_button_release_cb),
6559 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
6560 (hildon_pannable_area_jump_to_child):
6562 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
6564 2008-07-01 Alberto Garcia <agarcia@igalia.com>
6566 * examples/Makefile.am
6567 * examples/hildon-pannable-area-touch-grid-example.c
6568 * examples/hildon-pannable-area-touch-list-example.c: Examples of
6569 the Hildon Touch List and Hildon Touch Grid using the
6570 HildonPannableArea widget.
6572 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6574 * src/hildon-pannable-area.c,
6575 (hildon_pannable_area_button_press_cb),
6576 (hildon_pannable_area_refresh),
6577 (hildon_pannable_area_scroll),
6578 (hildon_pannable_area_motion_notify_cb),
6579 (hildon_pannable_area_button_release_cb),
6580 (hildon_pannable_area_expose_event),
6581 (hildon_pannable_area_add),
6582 (hildon_pannable_area_remove),
6583 (hildon_pannable_area_realize),
6584 (hildon_pannable_area_size_allocate),
6585 (hildon_pannable_area_class_init),
6586 (hildon_pannable_area_init),
6587 (hildon_pannable_area_scroll_to_child),
6588 (hildon_pannable_area_jump_to_child): Fixed the problem of
6589 removing the child from the GtkBin, we have rearranged the widget
6590 hierarchy, now there is no GtkAlignment which was not doing
6591 anything interesting but breaking some of the assumptions of
6592 GtkContainer. Now developers if they want to add a GtkAlignment
6593 they could, but it is not inside the area.
6595 We had to review the whole allocation/expose process, now it is
6596 improved and we save at least three signals which would be saving
6597 some time when rendering the widget. The allocation of the
6598 scrollbars is now made in the allocate method as usual.
6600 We have also added some conditions in order to control when there
6601 is no child of the pannable area. Maybe we will need more work
6604 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6606 * src/hildon-pannable-area.c,
6607 (hildon_pannable_area_dispose): Released the fade-out timeout when
6608 disposing the widget.
6610 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6612 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
6613 zero, we are going to use that property in order to deactivate the
6615 (hildon_pannable_axis_scroll),
6616 (hildon_pannable_area_size_allocate): Added conditions to control
6617 when overshoot_max is zero. Moved the gtk_adjustment_set_value
6618 call, now it is called in all situations and we can remove calls
6619 in the allocate method.
6620 (hildon_pannable_area_map): Control the situation when
6621 overshoot_max is zero, we do not need the timeout.
6622 (hildon_pannable_area_class_init): Added documentation in order to
6623 point out that setting zero to overshoot_max means deactivate
6626 NOTE: removed trailing whitespaces from my previous comments of
6629 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6631 * src/hildon-pannable-area.c
6632 (hildon_pannable_area_get_property),
6633 (hildon_pannable_area_set_property),
6634 (hildon_pannable_area_map),
6635 (hildon_pannable_area_class_init),
6636 (hildon_pannable_area_init): Add a boolean "initial-hint" property
6637 to cause the widget give a hint about its panning abilities upon
6640 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6642 * src/hildon-pannable-area.c: Several documentation improvements.
6644 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6646 * src/hildon-program.c
6647 * src/hildon-stackable-window.c: Update documentation.
6649 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6651 * src/hildon-stackable-window.c (get_previous_window_if_last):
6652 Renamed get_last_window()
6653 (hildon_stackable_window_map, hildon_stackable_window_unmap)
6654 (hildon_stackable_window_unset_program):
6656 (get_previous_window_if_last):
6657 Detect if the window hasn't been added to a HildonProgram.
6659 2008-06-26 Alejandro G. Castro <alex@igalia.com>
6661 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
6663 * src/hildon-pannable-area.c
6664 (hildon_pannable_area_button_press_cb),
6665 (hildon_pannable_axis_scroll),
6666 (hildon_pannable_area_scroll),
6667 (hildon_pannable_area_timeout),
6668 (hildon_pannable_calculate_vel_factor),
6669 (hildon_pannable_area_get_property),
6670 (hildon_pannable_area_set_property),
6671 (hildon_pannable_area_class_init),
6672 (hildon_pannable_area_init),
6673 (hildon_pannable_area_scroll_to),
6674 (hildon_pannable_area_jump_to),
6675 (hildon_pannable_area_scroll_to_child),
6676 (hildon_pannable_area_jump_to_child):
6677 * src/hildon-pannable-area.h: Added the new API functions:
6678 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
6679 hildon_pannable_area_scroll_to_child,
6680 hildon_pannable_area_jump_to_child
6683 * examples/Makefile.am
6684 * examples/hildon-pannable-area-example-2.c
6685 * examples/hildon-pannable-area-example-3.c: Added these two new
6686 examples in order to test and show how the new APIs work.
6688 2008-06-25 Alberto Garcia <agarcia@igalia.com>
6690 * examples/hildon-stackable-window-example.c (new_window):
6691 * src/Makefile.am (noinst_HEADERS):
6692 * src/hildon-program.c (hildon_program_go_to_root_window):
6693 * src/hildon-program.h:
6694 * src/hildon-stackable-window-private.h:
6695 * src/hildon-stackable-window.c:
6696 * src/hildon-stackable-window.h:
6697 Create hildon-stackable-window-private.h
6698 Move hildon_stackable_window_go_to_root_window() to HildonProgram
6700 * examples/hildon-app-menu-example.c (create_menu):
6701 * examples/hildon-hvolumebar-insensitive-example.c (main):
6702 * examples/hildon-hvolumebar-timer-example.c (on_idle):
6703 * examples/hildon-toolbar-seekbar-example.c (main):
6704 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
6705 * src/hildon-banner.c (hildon_banner_set_property):
6706 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
6707 Fix compilation warnings
6709 * src/hildon-window.c:
6712 2008-06-24 Alberto Garcia <agarcia@igalia.com>
6714 * src/hildon-stackable-window.c
6715 (hildon_stackable_window_unset_program):
6716 Calculate correctly whether to show the previous window if the
6717 last one is removed from the stack.
6718 (hildon_stackable_window_go_to_root_window):
6719 Send delete events starting from the topmost window.
6720 Stop if one of the windows is not destroyed.
6722 (hildon_stackable_window_delete_event)
6723 (hildon_stackable_window_class_init):
6724 Ignore the delete event if the window is not the topmost one.
6726 2008-06-24 Alejandro G. Castro <alex@igalia.com>
6728 * src/hildon-pannable-area.c
6729 (hildon_pannable_area_expose_event): Fixed a problem when
6730 selecting the background color of the scrollbars.
6732 2008-06-23 Alberto Garcia <agarcia@igalia.com>
6734 * examples/hildon-stackable-window-example.c
6735 * src/hildon-stackable-window.c
6736 * src/hildon-stackable-window.h
6737 hildon_stackable_window_go_home() renamed to
6738 hildon_stackable_window_go_to_root_window()
6739 Send delete events to windows rather than closing them with
6740 gtk_widget_destroy()
6742 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6744 * src/hildon-pannable-area.c
6745 (hildon_pannable_area_button_release_cb): Fix overshooting in
6748 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6750 * src/hildon-pannable-area.c
6751 (hildon_pannable_area_init): Initially show the scroll indicators.
6752 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
6754 Add initial effect showing the widget is pannable.
6756 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6758 * src/hildon-pannable-area.c
6759 (hildon_pannable_area_class_init)
6760 (hildon_pannable_area_set_property)
6761 (hildon_pannable_area_get_property)
6762 (hildon_pannable_area_button_press_cb):
6763 New 'velocity_fast_factor' property to decide which velocity is
6766 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6768 * src/hildon-pannable-area.c
6769 (hildon_pannable_draw_hscroll)
6770 (hildon_pannable_draw_vscroll):
6771 Use float variables to calculate the size of the scrollbars to
6772 avoid error propagation and resizing during scrolling.
6774 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6776 * src/hildon-pannable-area.c
6777 (hildon_pannable_draw_vscroll)
6778 (hildon_pannable_draw_hscroll):
6779 Define a minimum size for the scroll bars
6781 * src/hildon-stackable-window.c
6782 (hildon_stackable_window_go_home): Fix compilation warning
6783 (get_last_window): Minor optimizations
6784 (hildon_stackable_window_class_init): Fix initialization of
6787 2008-06-18 Alberto Garcia <agarcia@igalia.com>
6789 * src/hildon-stackable-window.c: Fixed typos in doc
6791 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
6793 * src/hildon-pannable-area.c
6794 (hildon_pannable_area_scroll):
6795 Calculate here whether we need to scroll instead of using the booleans
6796 that tell us whether to /draw/ the scrolling bars.
6798 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
6800 * src/hildon-app-menu.h
6802 * src/hildon-app-menu.c
6803 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
6804 multiple filter groups related code and API. Now we support only
6806 * examples/hildon-app-menu-example.c:
6808 Update to reflect API changes.
6810 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
6812 * src/hildon-stackable-window.c
6813 (hildon_stackable_window_class_init):
6814 Add hildon_stackable_window_realize.
6815 (hildon_stackable_window_realize):
6816 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
6817 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
6818 to apply theming and behavior specific to HildonStackableWindow
6821 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6823 * src/hildon-note.c (hildon_note_button_release):
6824 Close information notes also when tapping on them
6826 2008-06-12 Alejandro G. Castro <alex@igalia.com>
6828 Added BOUNCE_STEPS define to control the overshoot effect. Removed
6829 ELASTICITY, refactor and review, fix some issues with drawing
6832 * src/hildon-pannable-area.c:
6833 (hildon_pannable_area_button_press_cb): removed the conditions to
6834 avoid clicks when overshooting. It is not required
6836 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
6837 define. Refatored and reviewed the code, now we do not need to
6838 manage velocity in motion_notify.
6840 (hildon_pannable_area_motion_notify_cb): We have moved the code
6841 that controls the area_scroll to the axis_scroll function and get
6842 rid of duplicated code.
6844 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
6846 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
6848 (hildon_pannable_draw_vscroll),
6849 (hildon_pannable_draw_hscroll): Fixed the problems with the
6850 scrollbar drawing, now we do not use two surfaces, it is easier
6851 and saves resources.
6853 (hildon_pannable_area_get_property): Style modification.
6855 (hildon_pannable_area_class_init): Changed some default values.
6857 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
6859 * src/hildon-stackable-window.c: Fix some typos in the
6862 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6864 * src/hildon-dialog.c:
6865 Change indentation style
6868 (hildon_note_button_release):
6869 Use root coordinates to check if the release event happened
6872 * src/hildon-app-menu.c
6873 (hildon_app_menu_button_release):
6874 Remove unnecessary check
6876 * examples/hildon-app-menu-example.c
6878 Add cast to fix warning
6880 * src/hildon-app-menu.c
6881 (hildon_app_menu_class_init):
6882 New inner-border style property.
6883 Set all default spacings to 16
6884 (hildon_app_menu_init):
6885 Use vertical-spacing to set the space between filter buttons and
6886 regular menu buttons.
6887 Set the default container border using the inner-border value.
6889 * examples/hildon-app-menu-example.c
6891 Don't set the menu border explicitly, now we have the inner-border
6892 style property for that.
6894 2008-06-11 Alberto Garcia <agarcia@igalia.com>
6896 * src/hildon-app-menu.c (hildon_app_menu_init):
6897 Make the window modal
6899 * src/hildon-note.c (hildon_note_map)
6900 * src/hildon-app-menu.c (hildon_app_menu_map):
6901 Destroy the grab window if we're unable to grab the pointer
6903 * src/hildon-app-menu-private.h
6904 * src/hildon-app-menu.c
6905 (hildon_app_menu_init, hildon_app_menu_finalize)
6906 (hildon_app_menu_map, hildon_app_menu_unmap)
6907 (hildon_app_menu_button_release)
6908 (grab_transfer_window_get):
6909 Bring back the grab window
6910 (hildon_app_menu_realize):
6911 Decorate the window, set WM hint for Matchbox
6913 * src/hildon-note.c (hildon_note_realize):
6914 * src/hildon-banner.c (hildon_banner_realize):
6915 Add WM hints for Matchbox
6917 2008-06-10 Alberto Garcia <agarcia@igalia.com>
6919 * src/hildon-app-menu-private.h
6920 * src/hildon-app-menu.c
6921 (hildon_app_menu_init, hildon_app_menu_finalize)
6922 (hildon_app_menu_map, hildon_app_menu_unmap)
6923 (hildon_app_menu_button_release):
6924 Remove the grab window, it's not needed anymore
6926 * src/hildon-program.c
6927 Fixed typo in documentation
6929 * src/hildon-app-menu.h
6930 * src/hildon-app-menu.c
6931 * examples/hildon-app-menu-example.c
6932 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
6934 2008-06-09 Alberto Garcia <agarcia@igalia.com>
6937 Added new transfer_window and close_if_pressed_outside private
6939 (hildon_note_rebuild):
6940 Don't add a cancel button to the information note. It will be
6941 closed when tapping outside
6942 Remove the comment about the OK button in the documentation
6943 (hildon_note_realize):
6944 Set the notification type hint
6945 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
6946 Grab/ungrab pointer and keyboard if the note has to be closed when
6948 (hildon_note_button_release):
6949 Close the note when tapping outside (if applicable)
6951 * src/hildon-app-menu.c
6952 Grab/ungrab pointer and keyboard on map/unmap
6953 (hildon_app_menu_button_release, hildon_app_menu_class_init):
6954 Close the menu on button release, not button press
6956 * src/hildon-banner.c
6957 (hildon_banner_set_property)
6958 (hildon_banner_check_position):
6959 Make the banner use the full width of the screen
6960 (hildon_banner_show_information)
6961 (hildon_banner_show_information_with_markup):
6962 Don't display an icon by default
6964 2008-06-09 Alejandro G. Castro <alex@igalia.com>
6966 Added fading scrollbars and adapted all the overshooting code to
6967 horizontal scrolling. We have also fixed bugs with overshooting
6968 and current fading implementation.
6970 * src/hildon-pannable-area.c
6971 (hildon_pannable_area_scroll_indicator_fade): Time out function
6972 used to change the transparency of the scrollbars.
6974 (hildon_pannable_area_button_press_cb): Added horizontal overshot
6975 control and fixed a problem with fading, we now remove the fade
6976 timeout before adding a new one.
6978 (hildon_pannable_axis_scroll):
6979 (hildon_pannable_area_scroll):
6980 (hildon_pannable_area_timeout): Added this functions so we can use
6981 the scroll code both for vertical and horizontal.
6983 (hildon_pannable_area_motion_notify_cb):
6984 (hildon_pannable_area_button_release_cb): Added the horizontal
6985 scrolling control, fixed a problem with the overshooting timeout.
6987 (rgb_from_gdkcolor): Added this function, it is used in the cairo
6988 painting of the scrolls.
6990 (hildon_pannable_draw_vscroll):
6991 (hildon_pannable_draw_hscroll):
6992 (hildon_pannable_area_expose_event):
6993 Draw both scrollbars and rectangles in the overshooting area.
6995 (hildon_pannable_area_get_property):
6996 (hildon_pannable_area_set_property):
6997 Modified the overshoot property to overshoot_max
6999 (hildon_pannable_area_map):
7000 Replaced the comments symbols.
7002 (hildon_pannable_area_size_allocate):
7003 (hildon_pannable_area_class_init):
7004 (hildon_pannable_area_init): Added horizontal scroll, fading
7005 effect properties, fixed a problem when overshooting in the bottom
7008 * examples/hildon-pannable-area-example.c:
7009 (get_sawtooth_label): Now we use smaller sawtooths, the effect
7010 looks better in the example.
7012 2008-06-03 Alberto Garcia <agarcia@igalia.com>
7014 * src/hildon-window.c
7015 * src/hildon-window.h
7016 (hildon_window_class_init)
7017 (hildon_window_unset_program)
7018 (hildon_window_unset_program_real):
7019 Make unset_program a virtual function
7021 * src/hildon-stackable-window.c
7022 * src/hildon-stackable-window.h
7023 Added hildon_stackable_window_go_home()
7025 * examples/Makefile.am
7026 * examples/hildon-stackable-window-example.c
7027 HildonStackableWindow example
7029 2008-06-03 Alejandro G. Castro <alex@igalia.com>
7031 * hildon-pannable-area.c: Added the overshoot property and removed
7032 the OVERSHOOT define. Fixed an indent style error.
7033 (hildon_pannable_area_motion_notify_cb):
7034 (hildon_pannable_area_get_property):
7035 (hildon_pannable_area_set_property): Add overshoot property.
7037 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
7040 (hildon_pannable_area_class_init): Installed the new property.
7042 * hildon-pannable-area-example.c: Added a sawtooth function, this
7043 way it is easier to check the movement in the pannable.
7044 (get_sawtooth_label): Added this function.
7045 (main): Now we get the labels from the new get_sawtooth_label
7048 2008-05-26 Alberto Garcia <agarcia@igalia.com>
7050 * src/hildon-app-menu.h
7051 * src/hildon-app-menu.c
7052 Renamed API variables for consistency
7054 (hildon_app_menu_popup): Use also the default window size to
7055 decide where to place the menu
7057 (hildon_app_menu_init, hildon_app_menu_class_init): New
7058 external-border style property
7060 2008-05-26 Michael Natterer <mitch@imendio.com>
7062 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
7063 widget_class->tap_and_hold_setup signal slot doesn't exist any
7064 longer, stop overriding it.
7066 (hildon_time_editor_init): g_signal_connect() to the
7067 tap-and-hold-setup signal instead.
7069 (hildon_time_editor_entry_keypress): add cast to fix warning.
7071 2008-05-23 Alberto Garcia <agarcia@igalia.com>
7073 * doc/hildon-docs.sgml
7075 * examples/Makefile.am
7076 * examples/hildon-app-menu-example.c
7078 * src/hildon-app-menu-private.h
7079 * src/hildon-app-menu.c
7080 * src/hildon-app-menu.h
7082 New HildonAppMenu widget
7084 2008-05-21 Alejandro G. Castro <alex@igalia.com>
7086 Rearranged the inheritance of the pannable area, now it inherits
7087 from GtkBin. This will allow us to control the event_window and
7088 the allocation process of the widget, required for some effects.
7090 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
7091 GtkBin structures. * src/hildon-pannable-area.c: Added the
7092 event_window variable.
7093 (hildon_pannable_area_button_press_cb):
7094 (hildon_pannable_area_button_release_cb):
7095 (hildon_pannable_area_motion_notify_cb):
7096 Changed the signature of the method, now we override the event
7097 callback instead of connecting to the signal.
7099 (hildon_pannable_area_realize):
7100 (hildon_pannable_area_unrealize):
7101 (hildon_pannable_area_map):
7102 (hildon_pannable_area_unmap):
7103 (hildon_pannable_area_size_allocate):
7104 Added functions to control the widget construction. We add a
7105 INPUT_ONLY window and we put it over the widgets inside the
7106 container, this event_window handles the events.
7108 (hildon_pannable_area_class_init):
7109 Replaced the signal connections with overrides of the event
7112 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7114 Bouncing effect added when touching the borders, you can change
7115 the elasticity of the border changing the ELASTICITY define.
7117 * src/hildon-pannable-area.c: Added ELASTICITY define.
7118 (hildon_pannable_area_timeout): Added inverse velocity when
7119 touching the border of the child widget, that causes a bounce.
7121 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7123 Improved performance, we now do not go to the X server in order to
7124 get the list of window children. Apparently the effect is the
7125 same, we have to be careful and check if this breaks something in
7128 * src/hildon-pannable-area.c:
7129 (get_ordered_children): Removed this function.
7130 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
7131 the children windows function with gdk_window_get_children.
7133 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7135 * src/hildon-pannable-area.c:
7136 (hildon_pannable_area_dispose): Fixed a crash when closing the
7137 window and kinetics is activated.
7139 2008-05-19 Alberto Garcia <agarcia@igalia.com>
7141 * src/hildon-pannable-area.h
7142 * src/hildon-pannable-area.c
7143 Changed indentation style to meet the one used in Hildon
7145 2008-05-19 Alejandro G. Castro <alex@igalia.com>
7147 Reviewed the interaction of the AUTO mode, now we use the time
7148 attribute of the events and calculate the velocity in the motion,
7149 doing a gimp like calculation. The velocity is calculated in each
7150 motion event using the last velocity and the current one, the
7151 SMOOTH_FACTOR controls the percentage of the new velocity we use.
7153 * src/hildon-pannable-area.c: Replaced the time based algorithm
7155 (hildon_pannable_area_motion_notify_cb): now we do not launch the
7156 timeout for the AUTO mode when we are still moving the cursor. We
7157 added also the velocity calculation in this function.
7158 (hildon_pannable_area_button_release_cb): launch the timeout in
7159 case we are in AUTO mode. There are still some constants here that
7160 come from the old implementation that should be reviewed and
7163 2008-05-15 Alberto Garcia <agarcia@igalia.com>
7165 * doc/hildon-docs.sgml
7168 * src/hildon-stackable-window.c
7169 * src/hildon-stackable-window.h
7171 New HildonStackableWindow widget
7173 * examples/hildon-dialog-example.c
7174 * examples/hildon-pannable-area-example.c
7177 2008-05-14 Alberto Garcia <agarcia@igalia.com>
7179 * src/hildon-dialog.c
7180 (hildon_dialog_new_with_buttons): New constructor.
7182 * examples/hildon-dialog-example.c
7183 (main): Update the example to use the new
7184 hildon_dialog_new_with_buttons().
7186 * examples/hildon-pannable-area-example.c
7187 (main): Update example.
7189 2008-05-13 Alberto Garcia <agarcia@igalia.com>
7191 * doc/hildon-docs.sgml
7193 Added HildonPannableArea to the documentation.
7195 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
7197 * doc/visual_index.xml
7198 Fix reference to HildonLoginDialog in documentation
7200 * doc/hildon-docs.sgml
7202 * examples/Makefile.am
7203 * examples/hildon-dialog-example.c
7205 * src/hildon-dialog.c
7206 * src/hildon-dialog.h
7208 New HildonDialog widget.
7210 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7212 * src/hildon-pannable-area.c
7213 Merge latest changes (r4318, r4342) from libmokoui trunk
7215 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7217 * examples/Makefile.am
7218 * examples/hildon-pannable-area-example.c
7220 * src/hildon-pannable-area.c
7221 * src/hildon-pannable-area.h
7223 New HildonPannableArea widget.
7225 2008-04-15 18:05:19 <timj@imendio.com>
7227 * src/hildon-banner.c: revert the recent change, that introduced
7228 gtk_window_present() calls. this reopens:
7229 Bug 78481 - [freetest] information banners are hidden under browser menu
7230 But resolves another variant of:
7231 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7233 2008-04-15 13:21:13 <timj@imendio.com>
7235 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
7236 recreated its layout, spotted by Kris. this fixes all remaining
7237 artefacts and stability issues with the banner code. in particular:
7238 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7240 2008-04-14 16:52:59 <timj@imendio.com>
7242 * src/hildon-banner.c: guard force_to_wrap_truncated() against
7243 operating on unrealized widgets, fixes:
7244 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7246 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
7248 2008-04-09 Kristian Rietveld <kris@imendio.com>
7250 Fixes: NB#77775: Media Player, Save Now playing list, too long name
7251 makes banner disappear.
7252 Fixes: NB#79182: info banner flickering with certain message lengts.
7254 * src/hildon-banner.c (hildon_banner_constructor),
7255 (hildon_banner_init), (hildon_banner_set_text),
7256 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
7257 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
7258 FALSE, reset size requests of label and banner,
7259 (force_to_wrap_truncated): when the text is too wide, always enforce
7260 the maximum possible width instead of recalculating it from the
7261 layout; enforce the maximum banner height of 3 lines,
7262 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
7263 nicer wrapping and no truncated chars if space gets tight.
7265 * src/hildon-banner-private.h: add has_been_wrapped and
7266 has_been_truncated fields.
7268 2008-04-07 Sven Herzberg <sven@imendio.com>
7270 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
7271 local values in hildon_date_editor_size_allocate
7273 * src/hildon-date-editor.c: moved the real allocation code into the
7276 2008-04-07 Sven Herzberg <sven@imendio.com>
7278 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7279 local values in hildon_date_editor_size_allocate
7281 * src/hildon-date-editor.c: merged the two if() branches together
7283 2008-04-07 Sven Herzberg <sven@imendio.com>
7285 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7286 local values in hildon_date_editor_size_allocate
7288 * src/hildon-date-editor.c: changed the arguments of the if()
7291 2008-04-07 Sven Herzberg <sven@imendio.com>
7293 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7294 local values in hildon_date_editor_size_allocate
7296 * src/hildon-date-editor.c: split the calculation of the allocation
7297 from the real allocation
7299 2008-03-27 Michael Natterer <mitch@imendio.com>
7301 Fixes: NB#81696: The passcode is not overwritten even after
7304 * src/hildon-code-dialog.c
7305 (hildon_code_dialog_button_clicked)
7306 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
7307 because that doesn't overwrite selected text. Instead, emit the
7308 "commit" signal on the entry's im_context so the entry's normal
7309 insert logic is triggered. Set the cursor to the end of the entry
7310 after each insert operation so that we *only* insert in the middle
7311 of the text if something was selected.
7313 2008-03-27 Michael Natterer <mitch@imendio.com>
7315 Enable fixing: NB#79916 and NB#79918: The help topic for Color
7316 selector cannot be opened
7318 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
7319 when the popup color selector is created. Please connect to this
7320 signal in order to set the dialog's help ID.
7322 2008-03-25 Sven Herzberg <sven@imendio.com>
7324 Fixes: MB#1212: Hide info banners (infoprints) on click
7326 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
7327 extracted the close event simulation into an extra function
7328 (hildon_banner_button_press_event): simulate a close event and destroy
7329 the widget if the event wasn't handled
7330 (hildon_banner_class_init): added the button_press_event handler
7331 (hildon_banner_init): added button-press events to the widget
7333 2008-03-25 Sven Herzberg <sven@imendio.com>
7335 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
7336 Patch from: Mohammad Anwari <mdamt@maemo.org>
7338 * src/hildon-banner.c: let the HildonBanners pop up on the left side
7339 instead of the right in RTL mode
7340 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
7341 breadcrumb button list in RTL mode
7342 * src/hildon-caption.c: mirror the appearance of the caption widget in
7344 * src/hildon-date-editor.c: mirror appearance of the date editor in
7346 * src/hildon-time-editor.c: mirror appearance of the time editor in
7348 * src/hildon-window.c: fix the position of the popup in RTL mode
7350 2008-03-25 Sven Herzberg <sven@imendio.com>
7352 Amendment to the fix of NB#22072. Fix compilation.
7354 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
7356 2008-03-19 Sven Herzberg <sven@imendio.com>
7358 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
7361 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
7362 timeout id properly when the timeout will disappear this leaves no
7363 artifacts around in the destroy(); there will only be the timeout
7364 created by hildon_banner_ensure_timeout() and adding a new timeout
7365 will also work if the timeout gets removed because the timeout_handler
7368 2008-03-19 Michael Natterer <mitch@imendio.com>
7370 Fixes: NB#79791: Cannot set focus to Master volume using stylus
7372 * src/hildon-volumebar.c
7373 * src/hildon-vvolumebar.c
7374 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
7375 the widget becomes focussable at all.
7377 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
7378 set the focus to wither the mute button or the volumebar.
7380 Remove own "can-focus" property and instead listen to
7381 notify::can-focus in order to update the widget's state.
7383 Implement GtkWidget::focus() and make sure we can also *leave* the
7384 widget, not only enter it, depending on volumebar orientation and
7385 requested focus direction.
7387 Clean up set_mute() to cooperate nicely with all the above.
7389 2008-03-04 Michael Natterer <mitch@imendio.com>
7391 Fixes: NB#78481: information banners are hidden under browser menu
7393 * src/hildon-banner.c: call gtk_window_present() on the banners so
7394 they are risen if they are already visible.
7396 2008-03-03 Sven Herzberg <sven@imendio.com>
7398 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
7400 * examples/hildon-window-menu-example.c: (main): extended the window
7401 menu example to serve as a testcase for automatically added
7402 accelerator groups, too
7403 * src/hildon-window.c: (hildon_window_add_accel_group),
7404 (hildon_window_set_menu): added patch by Tommi Komulainen
7406 2008-03-03 Sven Herzberg <sven@imendio.com>
7408 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
7410 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
7411 knowledge about the border allocators used within GTK+
7413 2008-02-26 Sven Herzberg <sven@imendio.com>
7415 Fixes: MB#2981: Build with asserts broken
7417 * src/hildon-date-editor.c,
7418 * src/hildon-number-editor.c,
7419 * src/hildon-time-editor.c,
7420 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
7421 the proper GType instance check
7423 2008-02-25 Sven Herzberg <sven@imendio.com>
7425 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
7427 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
7428 * examples/hildon-window-menu-example.c: (main): explicitly show
7430 * src/hildon-window.c:
7431 (hildon_window_set_main_menu): moved most of the code from set_menu()
7432 to this place; skipped the call to gtk_widget_show_all(); also didn't
7433 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
7434 (hildon_window_set_menu): removed most of the code, just keep the
7435 questionable gtk_widget_show_all()
7436 * src/hildon-window.h: added the new function and deprecate the old
7439 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7445 * debian/changelog: Updating.
7447 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7450 * pkgconfig/Makefile.am:
7451 * pkgconfig/hildon.pc.in:
7454 Do not use PACKAGE_VERSION_MAJOR as the API revision,
7455 use newly created API_MAJOR_VERSION.
7457 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7463 * debian/changelog: Updating.
7465 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7467 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
7469 Add outer_border style property, we use it but don't define it (!).
7473 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
7475 * examples/hildon-bread-crumb-trail-example.c (main):
7479 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
7481 Fix logic for the bread crumb trail node removal.
7485 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7491 * debian/changelog: Updating.
7493 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7495 Patch by Alejandro to get/set passwords dialogs accesibility.
7497 * hildon-1/src/hildon-get-password-dialog.c:
7498 * hildon-1/src/hildon-set-password-dialog.c:
7499 Set atk_set_name to the passwd entries in order to allow
7500 accessibility by name on this entries.
7502 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7507 * debian/control: Updating gtk dep.
7509 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
7511 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
7512 USE_MAEMO_GTK is enabled.
7514 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
7516 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
7517 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
7519 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7525 * debian/changelog: Updating.
7527 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7529 * examples/Makefile.am:
7530 * examples/hildon-logical-color-example.c:
7531 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
7532 applied + adding a test case. Fixes: NB#71660.
7534 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
7536 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
7537 to be visible, fixes warning on map for windows without toolbars.
7539 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
7541 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
7542 2.11.0, add a check for that besides the MAEMO_GTK check.
7544 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7550 * debian/changelog: Updating.
7552 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7554 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
7555 visibility. Fixes: NB#70842 and MB#615.
7557 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7559 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
7560 set the separator as no-show-all so it doesn't unintentionally appear when
7561 someone does a show_all.
7563 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7565 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
7566 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
7567 toplevel item. Fixes: NB#62031
7569 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
7571 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
7572 fix the name of the function in the docs.
7574 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7580 * debian/changelog: Updating.
7582 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7584 * examples/hildon-banner-long-example.c: Adding a test-case for long
7587 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
7589 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7591 * src/hildon-color-chooser-dialog.c:
7592 * src/hildon-color-chooser.c:
7593 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
7594 memory leaks in font selector and color selector. Fixes: NB#70499 and
7597 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
7599 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
7601 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7603 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
7604 little bit bigger. Fixes: #NB63694.
7606 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7612 * debian/changelog: Updating.
7614 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7617 * doc/hildon-docs.sgml:
7618 * doc/images/bread-crumb-trail.png:
7619 * doc/images/calendar-popup.png:
7620 * doc/images/caption.png:
7621 * doc/images/code-dialog.png:
7622 * doc/images/color-button.png:
7623 * doc/images/color-chooser-dialog.png:
7624 * doc/images/color-chooser.png:
7625 * doc/images/controlbar.png:
7626 * doc/images/date-editor.png:
7627 * doc/images/font-selection-dialog.png:
7628 * doc/images/get-password-dialog.png:
7629 * doc/images/hvolumebar.png:
7630 * doc/images/login-dialog.png:
7631 * doc/images/note.png:
7632 * doc/images/number-editor.png:
7633 * doc/images/range-editor.png:
7634 * doc/images/seekbar.png:
7635 * doc/images/set-password-dialog.png:
7636 * doc/images/sort-dialog.png:
7637 * doc/images/time-editor.png:
7638 * doc/images/time-picker.png:
7639 * doc/images/vvolumebar.png:
7640 * doc/images/weekday-picker.png: Adding the new generated widget shots.
7641 Adding the bread-crumb-trial and helpers to the documentation.
7643 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7645 * examples/hildon-find-toolbar-example.c:
7646 * src/hildon-find-toolbar.c:
7647 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
7648 actually continue firing the other handlers if connected. Adding a new
7650 hildon_find_toolbar_get_last_index that gets the index of the most
7651 recently added (last) item. Fixes: NB#52301.
7653 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7655 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
7656 behaviour. Fixes: NB#68610.
7658 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7660 * src/hildon-banner.c: Actually reverting the previous change. It somehow
7663 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7665 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
7666 when realizing the banner. Should make the infonbanner effect a bit more
7669 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7671 * src/hildon-volumebar.c:
7672 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
7673 hildon_volumebar_set_range_insensitive_message and
7674 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
7676 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7678 * src/hildon-window.c: Fixing the border freeing on destroy.
7680 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7682 * src/hildon-code-dialog-private.h:
7683 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
7684 kw keyboard support in HildonCodeDialog.
7686 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7692 * debian/changelog: Updating.
7694 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7696 * src/hildon-date-editor.c:
7697 * src/hildon-number-editor.c:
7698 * src/hildon-private.c:
7699 * src/hildon-private.h:
7700 * src/hildon-time-editor.c:
7701 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
7702 handling in subclassed composite widgets. Fixes: NB#66628.
7704 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7706 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
7707 from destroy_ callback as it introduces problems in async dbus signal
7708 handlers. Fixes NB#66673.
7710 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7712 * examples/hildon-hvolumebar-example.c:
7713 * src/hildon-volumebar.c: Improving the focus handling in the
7714 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
7715 set_property accessor so that "mute" property can be actually set. I'm
7716 scared that nobody noticed it's totally broken.
7718 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7720 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
7723 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7725 * src/hildon-calendar.c:
7726 * src/hildon-number-editor.c:
7727 * src/hildon-time-picker.c: Changing the timeout repeat so that it
7728 matches the spec of 6 chars per second. Fixes: NB#60489.
7730 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7732 * src/hildon-helper.c: Really fixing NB#58352. Looks like
7733 gtk_style_lookup_color sometime returns FALSE even though color was
7734 found and values were filled properly. Weird. Removing the warning for the
7737 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7739 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
7740 expand vertically. Adding some extra space to the find toolbar buttons to
7741 make them thumbable. Fixes NB#66060.
7743 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7745 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
7746 popup with "Ok" and "Cancel". Fixes NB#59299.
7748 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7750 * src/hildon-calendar.c: Process all window updates before executing next
7751 timeout. Fixes: NB#54146.
7753 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7759 * debian/changelog: Updating.
7761 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7763 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
7764 the client event and ignore it, since we use the delete event to close
7767 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7769 * src/hildon-helper.c: Remove the bogus warning about color not being
7770 found. Fixes NB#58352.
7772 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7774 * examples/Makefile.am:
7775 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
7776 HildonSeekbar widget inside a toolbar.
7778 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7780 * src/hildon-banner.c (hildon_banner_init): mark the banners as
7781 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
7782 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
7783 don't want to be closed by non-temporary windows on map.
7785 Also use G_DEFINE_TYPE instead of manually typed code.
7787 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7794 * debian/rules: Updating.
7796 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7798 * examples/Makefile.am:
7799 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
7800 bug NB#61128. Strangely it works.
7802 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7804 * src/hildon-date-editor.c: When the date editor entry has been changed
7805 but the numbers of characters < max, turn off the skip validation flag.
7806 Prevents a situation when we enter first a valid year and later re-write
7807 it with an invalid one. Fixes NB#60154.
7809 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7811 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
7812 code dialog. Fixes NB#64355.
7814 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7816 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
7817 switching the page. Fixes NB#49374.
7819 * examples/Makefile.am:
7820 * examples/hildon-wizard-dialog-example.c: Adding an example for
7821 HildonWizardDialog that shows how to handle manual sensitivity setting on
7824 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7828 * src/hildon-version.h.in:
7829 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
7831 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7833 * src/hildon-volumebar.c: Updating the docs.
7835 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7841 * debian/changelog: Updating.
7843 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7845 * src/hildon-find-toolbar.c:
7846 * src/hildon-find-toolbar.h: Adding a few new functions to control the
7847 selected item: hildon_find_toolbar_set_active,
7848 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
7849 hildon_find_toolbar_get_active_iter . They correspond to respective
7850 GtkComboBox functions.
7852 * examples/Makefile.am:
7853 * examples/hildon-find-toolbar-example.c: Adding the example to test the
7856 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7858 * examples/Makefile.am:
7859 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
7862 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
7863 when font size > 32 and we pack a focusable widget inside. Actually using
7864 the default response would work too, but since we don't show default
7865 response state in any way (no theming) it would not be visible to the
7866 user. Fixes NB#63430.
7868 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7870 * src/hildon-date-editor.c: Adding the missing variable setter in the
7871 set_property handler. Fixes NB#54182.
7873 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7875 * src/hildon-window.h: Changing the long key press time from 1500ms to
7876 800ms as requested in NB#63700. I have a bad feeling about this, let's
7877 see... Fixes NB#63700.
7879 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
7881 * src/hildon-time-picker.c (hildon_time_picker_class_init,
7882 hildon_time_picker_map, hildon_time_picker_realize,
7883 hildon_time_picker_style_set): Split the contents of map to more
7884 appropriate functions; set window decorations on realize and update
7885 arrows' size requisitions on style-set. Avoids unnecessary resizing.
7887 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
7892 * debian/changelog: Updating.
7894 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
7896 * src/Makefile.am: fixed installation of the header files
7898 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7904 * debian/changelog: Updating.
7906 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7908 * configure.ac: Removing some remaining of --enable-xan.
7910 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
7912 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
7913 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
7915 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
7916 2.10.12-osso6 because the move-focus signal needs to be available in
7919 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7921 * examples/Makefile.am:
7922 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
7923 that makes a HildonVolumebar insensitive before mapping it. Seems to work
7924 fine. Prolly NB#61128 is fixed now.
7926 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7928 * src/hildon-volumebar.c:
7929 * src/hildon-volumebar.h: Adding the
7930 hildon_volumebar_set_range_insensitive_message and
7931 hildon_volumebar_set_range_insensitive_messagef functions to set
7932 insensitive message on the slider of the volumebar. Fixes NB#61129.
7934 * examples/Makefile.am:
7935 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
7936 test the new insensitive messsage functionality on HildonVolumebar.
7938 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
7940 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
7943 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
7945 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
7946 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
7947 button on after clearing the trail.
7949 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7951 * src/hildon-code-dialog.c: Removing the separator from the dialog.
7953 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7955 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
7956 by splitting the installed headers in generated and non-generated groups. Use
7957 only the non-generated headers to create the hildon-enum-types.h file.
7959 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
7961 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7963 * src/hildon-window.c: Hide the window before performing the destroy.
7964 Should make the app closing a little tiny bit more snappy.
7966 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7968 * src/hildon-seekbar.c: add gtkrange.h header
7969 * src/hildon-caption.c: remove unused variable
7971 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
7973 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
7976 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7982 * debian/changelog: Updating.
7984 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
7986 * src/hildon-window.c (hildon_window_window_state_event,
7987 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
7988 escape timeout on focus-out-event rather than notify::is-topmost; the
7989 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
7991 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7993 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
7994 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
7996 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7998 * src/hildon-window: actually, you need to use the macro always, there's
7999 no private pointer in the instance structure. We should have cleaned this up
8000 when we had the chance...
8002 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8004 * src/hildon-window.c: do not get the private date from HildonWindow before
8005 it passes the g_return_if_fail check. Once it's passed the test, there's no
8006 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
8007 if you are only going to access the data once. Whitespace cleanups.
8009 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
8011 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8012 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8014 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8020 * debian/changelog: Updating.
8022 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8024 * src/hildon-window.c: When destroying the window, remove (if exists) the
8025 escape timeout handler. Fixes #NB59276.
8027 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8029 * src/hildon-banner.c: When realizing the widget, set the window
8030 transiency. Setting the transiency in the gobject constructor is not
8031 good, as the widget is not realized at that point. Fixes: #NB56624.
8033 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8035 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
8036 Add padding for future expansions.
8038 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8040 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
8041 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
8042 will fake an activation on the previous to the last item of the trail, so
8043 the effect can be overrided by the developer as usual.
8044 Also change the callback for the back button to do the same thing, so its
8045 effect can be overrided too. Fixes: NB#58982
8047 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8049 * src/hildon-caption.c: Implementing the proper focus grabbing in the
8050 HildonCaption. Fixes NB#52379.
8052 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8054 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
8055 the internal state of the trail after the user has had the chance of executing
8056 his handler for the signal. Specifically, it may happen that the activated button
8057 is removed and the user still lets the default handler run. This would segfault
8060 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8062 * src/hildon-font-selection-dialog.c: When the font is really big, add the
8063 scrollbar to the preview dialog. Fixes NB#54147.
8065 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8067 * src/hildon-date-editor.c: Changing the default max year to 2037. The
8068 max/min year properties can be altered, so the client can modify it
8069 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
8071 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8073 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
8074 hildonlike by default. Fixing a problem with disappearing arrows when
8075 scrolling through months and years. Fixes NB#54127.
8077 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8079 * examples/hildon-date-editor-example.c: Adding error callback to the date
8082 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8088 * configure.ac: Updating.
8090 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8092 * configure.ac: Adding a special '--enable-xan' configure option that
8093 turns off the -Werror compilation setting. Usefull for development.
8095 * src/hildon-calendar.c:
8096 * src/hildon-number-editor.c:
8097 * src/hildon-time-picker.c: Adding the 5* multiplier to
8100 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
8102 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
8103 instead of g_object_ref + gtk_object_sink.
8105 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8111 * debian/changelog: Updating.
8113 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8115 * src/hildon-color-chooser-dialog.c:
8116 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
8117 straight from Tommi labs.
8119 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8121 * examples/hildon-finger-example.c: Correcting the header file path.
8123 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
8124 the changed signal. Fixes a small memory leak.
8126 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8130 * src/hildon-banner.c: Importing several usefull fixes from the
8131 ubuntu-mobile branch.
8133 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8135 * examples/Makefile.am:
8136 * examples/hildon-finger-example.c: Adding a finger-checking code
8139 * src/hildon-font-selection-dialog.c: Do not allocate the color
8140 structure using the g_new. Fixes NB#54061.
8142 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8144 * src/hildon-helper.c: Correcting tabs in file.
8146 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
8148 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
8149 control the visibility of the children.
8151 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
8153 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8159 * debian/changelog: Updating.
8161 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8163 * src/hildon-bread-crumb-trail.c:
8164 (hildon_bread_crumb_trail_size_allocate):
8166 Make the back button always a square.
8168 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8170 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
8171 from the .c file as it's a private file.
8173 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8175 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
8176 uses slightly bigger height.
8178 * src/hildon-font-selection-dialog.c: Adding some checks before
8179 freeing memory in the font selection dialog.
8181 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8183 * src/hildon-font-selection-dialog.c: Adding a small check when
8186 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
8187 buttons sensitivity on page switching.
8189 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
8191 * src/hildon-bread-crumb-trail.c: make the add method handle all the
8192 internal details of adding a bread crumb to the trail.
8194 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8200 * debian/changelog: Updating.
8202 * src/hildon-bread-crumb-trail.h:
8203 * src/hildon-bread-crumb.h: Changing the API guard to
8204 HILDON_ENABLE_UNSTABLE_API.
8206 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8214 * src/hildon-helper.h: Updating.
8216 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8224 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8228 * src/hildon-helper.h: Small fix to make the package actually compile.
8230 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8232 * src/hildon-bread-crumb-trail.h:
8233 * src/hildon-bread-crumb.h:
8235 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
8236 to define ENABLE_UNSTABLE_API in the code that includes these headers.
8238 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8240 * examples/hildon-bread-crumb-trail-example.c:
8242 * src/hildon-bread-crumb-trail.c:
8243 * src/hildon-bread-crumb-trail.h:
8244 * src/hildon-bread-crumb.c:
8245 * src/hildon-bread-crumb.h:
8246 * src/hildon-marshalers.list:
8247 * src/hildon-bread-crumb-widget.c:
8248 * src/hildon-bread-crumb-widget.h:
8250 Slight change in the widget design. The bread crumb trail API is
8251 unchanged, but HildonBreadCrumb is now an interface. A *private*
8252 implementation, hildon-bread-crumb-widget, is provided and used
8253 internally by the trail for the push_text/push_icon functions.
8255 The generic push API is still available, so anyone can implement
8256 and use its own bread crumb widget.
8258 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8260 * debian/rules: Fixing the shlibs.
8262 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8264 * src/hildon-banner.c: Fixing a problem with timed banners having
8265 their parrent destroyed before they are.
8267 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
8269 * src/hildon-bread-crumb.c:
8270 * src/hildon-bread-crumb.h:
8272 Make the get_natural_size function a vfunc.
8274 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8276 * src/hildon-bread-crumb.c:
8277 * src/hildon-bread-crumb-trail.c:
8281 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8288 * debian/changelog: Updating for release.
8290 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8292 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
8293 don't leak the pango layout.
8295 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8298 * examples/hildon-bread-crumb-trail-example.c:
8302 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8304 * debian/changelog: Removing the bug-fixed entries that were actually
8305 resolved as WONTFIX.
8307 * src/hildon-date-editor.c: Removing a redundant check. Fixes
8310 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8312 * src/hildon-bread-crumb-trail.c:
8313 * src/hildon-bread-crumb-trail.h:
8314 * src/hildon-bread-crumb.c:
8315 * src/hildon-bread-crumb.h:
8319 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8321 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
8322 until it's passed the type check.
8324 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8326 * examples/hildon-bread-crumb-trail-example.c
8330 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8332 * examples/Makefile.am
8333 * examples/hildon-bread-crumb-trail-example.c
8335 * src/hildon-bread-crumb-trail.c
8336 * src/hildon-bread-crumb-trail.h
8337 * src/hildon-bread-crumb.c
8338 * src/hildon-bread-crumb.h
8340 New HildonBreadCrumbTrail widget.
8342 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
8344 * src/hildon-range-editor.c (hildon_range_editor_init),
8345 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
8346 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
8347 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
8348 hildon_time_editor_class_init, hildon_time_editor_init),
8349 src/hildon-get-password-dialog.c (invalid_input,
8350 hildon_get_password_set_property, hildon_get_password_get_property,
8351 create_contents, hildon_get_password_dialog_set_max_characters),
8352 src/hildon-set-password-dialog.c (create_contents),
8353 src/hildon-date-editor.c (hildon_date_editor_init),
8354 src/hildon-login-dialog.c (hildon_login_dialog_init),
8355 src/hildon-number-editor.c (hildon_number_editor_init),
8356 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
8357 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
8358 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
8359 configure option and adding the respective checks in the code.
8360 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
8361 hildon_calendar_drag_data_received): fixed some build warnings.
8363 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8365 * debian/changelog: A 1.0.0 release notes.