1 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
3 * hildon/hildon-banner.c: Remove leftover macro.
5 2009-05-25 Alejandro G. Castro <alex@igalia.com>
7 * hildon/hildon-pannable-area.c,
8 (hildon_pannable_area_scroll_indicator_fade),
9 (hildon_pannable_area_button_release_cb): Reviewed vmin
10 conditions, it could cause problems in the fadeout procedure.
12 2009-05-25 Alejandro G. Castro <alex@igalia.com>
14 * hildon/hildon-pannable-area.c
15 (hildon_pannable_area_button_release_cb): Added a threshold to
16 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
18 2009-05-25 Alejandro G. Castro <alex@igalia.com>
20 * hildon/hildon-pannable-area.c,
21 (hildon_pannable_area_set_property): Added code to sync the gtk
22 dnd threshold with the panning threshold.
24 2009-05-25 Alejandro G. Castro <alex@igalia.com>
26 * hildon/hildon-pannable-area.c,
27 (hildon_pannable_area_class_init): Changed some of the default
28 values, now it should be less responsive and more accurate.
30 2009-05-25 Alejandro G. Castro <alex@igalia.com>
32 * hildon/hildon-pannable-area.c,
33 (hildon_pannable_area_init),
34 (hildon_pannable_area_scroll_indicator_fade),
35 (hildon_pannable_area_button_press_cb),
36 (hildon_pannable_axis_scroll),
37 (hildon_pannable_area_timeout),
38 (hildon_pannable_area_motion_notify_cb),
39 (hildon_pannable_area_button_release_cb): Changed the name of the
40 clicked attribute to button_pressed, it is more clear about its use.
42 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
44 * src/hildon-pannable-area.c
45 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
47 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
48 vertical scrollbar visibility, and use the data on private section instead,
49 remove the initial_hint check
50 (hildon_pannable_area_expose_event): add the initial_hint check here
52 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
54 * src/hildon-pannable-area.c
55 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
56 if the fadeout effect was used
57 (hildon_pannable_area_expose_event): check if it is required to
58 manage the initial effect on the begining of the function. Previously
59 it was made at the end, but this doesn't ensure that the scrollbars
60 will be painted on the first show. Do not set to FALSE initial_effect,
61 to ensure that the initial hint is showed the first time the pannable
63 * examples/Makefile.am
64 * examples/hildon-pannable-area-initial-hint-example.c:
65 New example, to show that the initial-hint is showed when the widget
68 Fixes: NB#116607 (Pannable area should always have scrollbar visible
69 initially if the application can be scrolled)
71 2009-05-25 Alberto Garcia <agarcia@igalia.com>
73 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
74 Resize table before adding new items to make sure that
75 gtk_table_resize() is called just once.
77 2009-05-25 Alberto Garcia <agarcia@igalia.com>
79 * hildon/hildon-app-menu-private.h
80 * hildon/hildon-app-menu.c (item_visibility_changed)
81 (filter_visibility_changed, hildon_app_menu_show_all)
82 (hildon_app_menu_hide_all, hildon_app_menu_init):
83 Rearrange items just once when gtk_widget_show_all()/hide_all()
86 2009-05-25 Alberto Garcia <agarcia@igalia.com>
88 * hildon/hildon-app-menu.c
89 (hildon_app_menu_insert, hildon_app_menu_add_filter):
90 Don't call gtk_widget_show() on added items.
92 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
93 automatically when they're added)
95 2009-05-20 Alberto Garcia <agarcia@igalia.com>
97 * hildon/hildon-banner.c
98 (hildon_banner_realize, +hildon_banner_unrealize)
99 (+screen_size_changed, hildon_banner_class_init):
100 Redisplay the banner if the screen is rotated.
102 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
103 on transition from landscape to portrait)
105 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
107 * hildon/hildon-banner.[ch]:
108 (hildon_banner_show_information_override_dnd): remove icon_name from the
109 method definition as it is ignored.
110 * examples/hildon-banner-dnd-example.c: updated with the change on
113 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
115 * hildon/hildon-banner-private.h: new require_override_dnd and
116 overrides_dnd variables
117 * hildon/hildon-banner.h:
118 (hildon_banner_show_information_override_dnd): new method, that shows
119 the information but sets the override flag, in order to show important
121 * hildon/hildon-banner.c
122 (hildon_banner_show_information_override_dnd): new method
123 (hildon_banner_set_override_flag): new utility function
124 (hildon_banner_real_show_information): new utility function, in order to
125 generalize the current hildon_banner_show_information_override_dnd and
126 hildon_banner_show_information_override_dnd
127 * examples/Makefile.am
128 * examples/hildon-banner-dnd-example.c: New example that show how to
129 use the new hildon_banner_show_information_override_dnd
131 Fixes: NB#114874 (There is no possibility to show hildon banners with
134 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
136 * hildon/hildon-pannable-area.c: Add a comment explaining the math
137 behind hildon_pannable_calculate_vel_factor().
139 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
141 * hildon/hildon-pannable-area.c
142 (hildon_pannable_calculate_vel_factor): Correct the sum of the
143 deceleration factors.
145 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
147 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
148 Reduce the default value for 'scroll_time' to 1 second, since the
149 current initial scrolling takes too much time.
151 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
153 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
154 calculate velocity factor during initialization, since the properties
157 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
159 * hildon/hildon-pannable-area.c
160 (hildon_pannable_area_set_property): Calculate the velocity factor
161 after setting the deceleration property and not after.
163 2009-05-20 Alberto Garcia <agarcia@igalia.com>
165 * hildon/hildon-entry.c
166 (hildon_entry_class_init, +set_property, hildon_entry_new)
167 * hildon/hildon-check-button.c
168 (hildon_check_button_class_init)
169 (+set_property, hildon_check_button_new):
170 Make the theme size a property.
172 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
173 others) do too much in the _new function)
175 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
177 * configure.ac: post release version bump
178 * debian/changelog: post release version bump
180 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
185 * configure.ac: Bump version.
186 * debian/changelog: Updates.
188 2009-05-15 Alberto Garcia <agarcia@igalia.com>
190 * hildon/hildon-gtk.h
191 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
192 New API function to take a screenshot of a window
194 Fixes: NB#106374 (Need API to take a loading screenshot)
196 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
198 * hildon/hildon-time-selector.c
199 (update_format_policy): prevent to use hours and minutes unitialized
201 2009-05-15 Alberto Garcia <agarcia@igalia.com>
203 * hildon/hildon-window.c (hildon_window_size_request):
204 Always request the full size of the screen (minus the title bar if
205 not in fullscreen mode).
207 Fixes: NB#107486 (HildonWindow should size itself properly)
209 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
211 * hildon/hildon-note-private.h: Add idle_handler to the private data.
212 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
213 (on_show_cb), (sound_handling): Disconnect the idle handler for
214 the sound when the note is finalized to avoid possible crashes.
216 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
219 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
221 * src/hildon-animation-actor.c,
222 * src/hildon-remote-texture.c:
223 Added proper object cleanup to remove signal handler and object
224 references as HildonAnimationActor and HildonRemoteTexture
225 objects get destroyed.
227 Fixes: NB#116682 (Destroying parented animation actors when
228 parent in unmapped leads to crash)
230 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
232 Based on a patch by Christian Dywan (christian@imendio.com)
234 * doc/hildon-sections.txt:
235 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
236 * hildon/hildon-helper.h: New file size formatting method.
238 * debian/control: Depend on osso-filemanager l10n package for
239 proper localization strings.
241 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
243 * tests/Makefile.am: Include top_srcdir to make possible to build
244 tests in a different builddir.
245 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
246 on a different builddir.
248 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
250 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
251 (hildon_touch_selector_remove): Disconnect model's signal handler
254 Fixes: NB#116289 (Hildon home crashes while adding task
257 2009-05-11 Alberto Garcia <agarcia@igalia.com>
259 * hildon/hildon-button.c
260 (hildon_button_set_title, hildon_button_set_value):
261 Hide labels containing an empty string.
263 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
265 * configure.ac: post release version bump
266 * debian/changelog: post release version bump
268 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
273 * configure.ac: Bump version.
274 * debian/changelog: Updates.
276 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
278 * hildon/hildon-note-private.h: Removed sound_signal_handler
279 * hildon/hildon-note.c
280 (on_show_cb): new callback on note "show" event, this simply adds
281 a idle, with the function sound_handling
282 (sound_handling): removed the sound_signal_handler management
283 (hildon_note_init): connect note "show" event to on_show_cb
284 (hildon_note_realize): remove the connection to "expose-event"
286 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
287 device?' confirmation note)
289 2009-05-08 Alberto Garcia <agarcia@igalia.com>
291 * hildon/hildon-note.c
292 (hildon_note_new_information_with_icon_name)
293 (hildon_note_new_confirmation_with_icon_name):
294 Terminate the list of parameters in g_object_set() calls
296 Fixes: NB#115166 (Formatting memory card is not taking place)
298 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
300 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
301 "dialog-information" role for the sound being played.
303 2009-05-06 Alberto Garcia <agarcia@igalia.com>
305 * hildon/hildon-app-menu.c (hildon_app_menu_init):
306 Don't make the menu a modal window, it causes strange interactions
307 with the pointer grab and it's not really needed.
309 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
311 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
313 * hildon/hildon-touch-selector.[ch]
314 (hildon_touch_selector_optimal_size_request): function added to get a
315 optimal size request from the touch selector, when you want a dialog to
316 show as much of the selector
317 * hildon/hildon-picker-dialog.c:
318 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
319 (hildon_app_menu_class_init):
320 New "max-height-landscape" and "max-height-portrait" style properties
321 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
322 (hildon_picker_dialog_get_max_height): returns the maximum height using
323 the style properties defined and checking the current portrait/landscape
325 (_hildon_picker_dialog_set_selector): removed the set_size_request
327 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
329 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
331 * hildon/hildon-bread-crumb-trail.c:
332 * hildon/hildon-bread-crumb.c:
333 * hildon/hildon-seekbar.c:
334 Add reference to replacements for these deprecated widgets.
336 Fixes: MB#4461 (Documentation: All deprecations should mention
339 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
341 * examples/hildon-remote-texture-example.c
343 Change the include to the hildon-remote-texture in order to compile
344 properly the examples on the installed libhildon1-examples package
346 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
348 * tests/Makefile.am: Add check for HildonPickerButton.
349 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
350 (START_TEST), (create_hildon_picker_button_suite): Add three simple
351 checks for the HildonPickerButton.
352 * tests/check_test.c (configure_tests): Add the test suite.
353 * tests/test_suites.h: likewise.
355 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
357 * hildon/hildon-touch-selector.c
358 (+on_row_changed): Emit HildonTouchSelector:changed when the
359 contents of a selected row change.
360 (_create_new_column), (_hildon_touch_selector_set_model): connect
361 to GtkTreeModel:row-changed on a newly set model.
363 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
365 2009-05-05 Alberto Garcia <agarcia@igalia.com>
367 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
369 * hildon/hildon-banner.c (hildon_banner_destroy)
370 (hildon_banner_show_progress, hildon_banner_set_fraction):
371 Remove the progress bar from HildonBanner and use a progress
374 Fixes: NB#113761 (Update progress banner to use progress
377 2009-05-04 Alberto Garcia <agarcia@igalia.com>
379 * hildon/hildon-banner.c:
380 Calculate size of the banner label using the actual screen width
381 rather than using a fixed value.
383 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
386 2009-05-04 Alejandro G. Castro <alex@igalia.com>
388 * hildon/hildon-pannable-area.c,
389 (hildon_pannable_area_class_init): Fixed signals documentation
392 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
394 * configure.ac: post release version bump
395 * debian/changelog: post release version bump
397 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
402 * configure.ac: Bump version.
403 * debian/changelog: Updates.
405 2009-05-01 Alberto Garcia <agarcia@igalia.com>
407 * hildon/hildon-edit-toolbar.c
408 (hildon_edit_toolbar_init):
409 Don't let buttons in HildonEditToolbar receive focus.
411 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
412 typing on an HW arrows key)
414 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
416 * doc/Makefile.am: Fix build.
418 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
420 * doc/Makefile.am: Do not redefine content_files.
422 2009-04-30 Alberto Garcia <agarcia@igalia.com>
430 Renamed src/ to hildon/
435 Include <hildon/hildon.h> directly in all examples.
437 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
439 * src/hildon-sort-dialog.c
440 (hildon_sort_dialog_add_sort_key_with_sorting)
444 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
446 * src/Makefile.am: Move generated sources to CLEANFILES, so that
447 make distcheck passes.
449 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
451 * Makefile.am: Enable gtk-doc during distcheck.
453 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
455 * Makefile.am: Do not distribute the debian/ directory.
457 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
459 * doc/Makefile.am: Add the extra SGML files to content_files,
460 so that they are distributed properly.
462 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
464 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
467 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
469 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
470 (hildon_note_new_information_with_icon_name): Set the "icon" property
471 to preserve soundness.
473 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
475 * src/hildon-font-selection-dialog.c
476 (hildon_font_selection_dialog_set_property): Fail when the "family"
477 property is set to NULL.
479 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
481 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
484 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
486 * src/hildon-time-selector.h:
487 Added HildonTimeSelectorFormatPolicy
488 * src/hildon-time-selector.c:
489 Added PROP_TIME_FORMAT_POLICY
490 (_check_ampm_format): renamed to check_automatic_ampm_format
491 (update_format_policy), (update_format_dependant_columns): new functions
492 (hildon_time_selector_class_init)
493 (hildon_time_selector_contructor)
494 (hildon_time_selector_init)
495 (hildon_time_selector_get_property)
496 (hildon_time_selector_set_property)
497 (hildon_time_selector_get_time)
498 (hildon_time_selector_set_time)
499 * src/hildon-touch-selector.h: new file
500 * src/hildon-touch-selector.c
501 (hildon_touch_selector_emit_changed)
502 (hildon_touch_selector_block_changed)
503 (hildon_touch_selector_unblock_changed)
504 Added functions to allow to block the emission of the "changed" signal
505 * src/hildon-picker-dialog.c
506 (hildon_picker_dialog_show): call the parent show before the custom code
507 * examples/hildon-time-button-example.c
508 Modified, so now you can configure the time format using the new property
510 Added a new property "time-format-policy" that allow to choose the time
511 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
512 case it uses gconf in order to check if the time selector must use
515 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
518 2009-04-28 Alberto Garcia <agarcia@igalia.com>
520 * src/hildon-note.c (hildon_note_init):
521 Label in HildonNote must be left aligned, not centered. This
522 reverts the last commit in HildonNote.
524 Fixes: NB#112933 (text is not left aligned in confirmation dialog
525 is connectivity dialog)
527 2009-04-27 Alberto Garcia <agarcia@igalia.com>
532 * doc/hildon-sections.txt:
533 Added hildon_gtk_window_set_do_not_disturb()
535 2009-04-27 Alberto Garcia <agarcia@igalia.com>
537 * src/hildon-note.c (hildon_note_init): Center label.
539 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
542 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
547 * configure.ac: Bump version.
548 * debian/changelog: Updates.
550 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
552 * src/hildon-note-private.h: Add button-width to the private data.
553 * src/hildon-note.c (+resize_button),
554 (+hildon_note_orientation_update): methods to repack widgets on orientation
556 (screen_size_changed): Call above method for confirmation notes.
557 (hildon_note_realize): Always connect to the "screen-size" changed signal.
558 (hildon_note_rebuild): Store the original width request from buttons.
560 Fixes: NB#109635 (Confirmation notes do not support portrait)
562 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
564 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
565 when it is a progress note.
567 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
569 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
570 in the note, since there are no horizontally arranged contents.
572 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
574 * src/hildon-gtk.c (+set_flag): new generic method to
575 set/delay a flag setting in a window.
576 (hildon_gtk_window_set_progress_indicator):
577 (hildon_gtk_window_set_do_not_disturb),
578 (hildon_gtk_window_set_portrait_flags): use set_flag() to
579 avoid code redundance.
581 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
583 Based on a patch by Alberto Garcia (agarcia@igalia.com)
585 * src/hildon-gtk.c (set_clear_window_flag),
586 (do_set_progress_indicator), (do_set_do_not_disturb),
587 (do_set_portrait_flags),
588 (hildon_gtk_window_set_progress_indicator),
589 (hildon_gtk_window_set_do_not_disturb),
590 (hildon_gtk_window_set_portrait_flags):
591 Allow setting dnd-flag, progress indicator, and portrait flags
592 when the window is not realized.
594 2009-04-24 Alejandro G. Castro <alex@igalia.com>
596 * src/hildon-pannable-area.c,
597 * src/hildon-pannable-area.h: Add the hildon deprecated define to
598 the size request policy function and defines.
600 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
602 * doc/hildon-sections.txt: Add the new API.
603 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
604 method to set the portrait flags.
605 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
607 Fixes: NB#112328 (Adding helpers for setting portrait properties)
609 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
611 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
612 to allow using this method with other flags.
613 (hildon_gtk_window_set_progress_indicator): Update accordingly.
614 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
616 2009-04-22 Alberto Garcia <agarcia@igalia.com>
618 * src/hildon-touch-selector.c
619 (hildon_touch_selector_append_text_column):
620 Make the cell renderer use the smallest width possible.
622 Fixes: NB#108470 (Selected items in multiple selection are either
623 having a tick that is cut or not visible at all.)
625 2009-04-22 Alberto Garcia <agarcia@igalia.com>
627 * src/hildon-touch-selector.c
628 (hildon_touch_selector_append_text_column):
631 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
633 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
634 Use g_strdup_printf() instead of a fixed size buffer.
636 2009-04-21 Alberto Garcia <agarcia@igalia.com>
638 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
639 Close banners when a HildonAppMenu is popped up.
641 Fixes: NB#111027 (Title menu closed immediately if activated when
642 "Invalid e-mail address" banner is shown)
644 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
649 * configure.ac: Bump version.
650 * debian/changelog: Updates.
652 2009-04-20 Alberto Garcia <agarcia@igalia.com>
654 * src/hildon-banner.c (hildon_banner_realize):
655 Mark HildonBanner as supporting portrait mode.
656 Use GDK to set window properties insetad of direct Xlib calls.
658 Fixes: NB#111830 (HildonBanner should be marked as supporting
661 2009-04-20 Alberto Garcia <agarcia@igalia.com>
663 * src/hildon-note.c (hildon_note_rebuild):
664 Hide action area in information notes. Prevents text from being
665 slightly aligned to the left.
667 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
670 2009-04-20 Alberto Garcia <agarcia@igalia.com>
672 Patch by Mox Soini (ext-mox.soini@nokia.com)
674 * src/hildon-banner.c (hildon_banner_create_animation):
675 Use stylus-sized icons in animation banner.
677 Fixes: NB#111206 (stylus sized icon for animation banner)
679 2009-04-20 Alberto Garcia <agarcia@igalia.com>
683 (+hildon_gtk_window_set_do_not_disturb):
684 New API to set the do-not-disturb flag.
686 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
688 2009-04-20 Alberto Garcia <agarcia@igalia.com>
690 * examples/hildon-progress-indicator-example.c: Fix example
692 * src/hildon-gtk.c (set_clear_window_flag)
693 (hildon_gtk_window_set_progress_indicator):
694 Create a generic function for setting flags to a window.
695 Use GDK instead of direct Xlib calls.
697 2009-04-14 Alberto Garcia <agarcia@igalia.com>
699 * src/hildon-button.c (hildon_button_set_arrangement):
700 Due to NB#88126, if one of the labels is too long it will be
701 painted outside the button. The 'value' label is more likely to be
702 the longest one, so we change its packing options in order to
703 truncate it if necessary. As a side effect, the 'title' label will
704 no longer be truncated.
706 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
708 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
713 * configure.ac: Bump version.
714 * debian/changelog: Updates.
716 2009-04-13 Alejandro G. Castro <alex@igalia.com>
718 Deprecation of the hildon_pannable_area_set_size_request_policy
719 API, the only policy properly supported in gtk+ nowadays is the
722 * src/hildon-pannable-area.c,
723 (hildon_pannable_area_size_request): Added a workaround for the
724 size_request to avoid the problems of huge pixmaps in case someone
725 is still using the function.
726 * src/hildon-pannable-area.h: Deprecated the enum with the
729 Fixes: NB#110244 (Problems with the
730 hildon_pannable_area_set_size_request_policy API)
732 2009-04-08 Alejandro G. Castro <alex@igalia.com>
734 * src/hildon-pannable-area.c,
735 (hildon_pannable_area_init),
736 (hildon_pannable_area_size_request),
737 (hildon_pannable_area_style_set),
738 (hildon_pannable_draw_vscroll),
739 (hildon_pannable_draw_hscroll),
740 (hildon_pannable_area_check_scrollbars): Replaced area_width with
741 indicator_width to clarify the use of the attribute.
743 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
748 * configure.ac: Bump version.
749 * debian/changelog: Updates.
751 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
753 * src/hildon-picker-dialog.c
754 * src/hildon-touch-selector.c
755 Reverting the change that tried to avoid the hardcoded height on
756 the picker dialog, as causes problems on the hildon-touch-selector
759 Fixes: NB#110029 (selectors not scrolling to selected value)
761 2009-04-07 Alberto Garcia <agarcia@igalia.com>
763 * src/hildon-touch-selector.c: Fix typos
765 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
767 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
768 Use the event coordinates instead of gdk_window_get_pointer(). Also,
769 request more motions after using it.
771 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
773 * src/hildon-calendar.c (hildon_calendar_expose),
774 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
775 Remove unused variables.
777 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
779 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
782 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
784 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
785 Check the return value of gtk_tree_selection_get_selected()
788 2009-04-06 Alberto Garcia <agarcia@igalia.com>
790 * src/hildon-animation-actor.c
791 * src/hildon-button.c
793 * src/hildon-pannable-area.c
794 * src/hildon-picker-button.c
795 * src/hildon-program.c
796 * src/hildon-remote-texture.c
797 * src/hildon-text-view.c
798 * src/hildon-touch-selector.c
799 * src/hildon-window-stack.c
800 * src/hildon-window.c:
801 Add missing 'Since: 2.2' tags.
803 * doc/hildon-sections.txt:
804 Add some missing symbols.
806 * doc/hildon-docs.sgml:
807 New 'Other' section for HildonAnimationActor and
810 2009-04-06 Alberto Garcia <agarcia@igalia.com>
812 Patch by Iván Gómez (igomez@igalia.com)
816 * doc/hildon-docs.sgml
817 * doc/hildon-sections.txt
821 New chapters on using the Hildon library.
822 Updated the general structure of the reference manual.
823 Other minor documentation fixes.
825 * src/hildon-calendar-popup.c
826 * src/hildon-calendar.c
827 * src/hildon-controlbar.c
828 * src/hildon-date-editor.c
829 * src/hildon-dialog.c
830 * src/hildon-hvolumebar.c
831 * src/hildon-number-editor.c
832 * src/hildon-range-editor.c
833 * src/hildon-sort-dialog.c
834 * src/hildon-time-editor.c
835 * src/hildon-time-picker.c
836 * src/hildon-volumebar-range.c
837 * src/hildon-volumebar.c
838 * src/hildon-vvolumebar.c
839 * src/hildon-weekday-picker.c:
840 Add deprecation notes
842 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
843 Document 'horizontal-movement' and 'vertical-movement' signals.
845 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
850 * configure.ac: Bump version.
851 * debian/changelog: Updates.
853 2009-04-06 Alejandro G. Castro <alex@igalia.com>
855 * src/hildon-pannable-area.c,
856 (hildon_pannable_area_class_init): increased the minimum velocity.
857 (hildon_pannable_area_button_release_cb): Updated the
858 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
859 setup. Review the code to control that last event.
861 Fixes: NB#109790 (Releasing finger in pannable area easily causes
864 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
866 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
868 * src/hildon-get-password-dialog.c
869 (hildon_get_password_set_property),
870 (hildon_get_password_get_property), (create_contents):
871 * src/hildon-login-dialog-private.h:
872 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
873 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
874 (hildon_login_dialog_get_password):
875 * src/hildon-set-password-dialog-private.h:
876 * src/hildon-set-password-dialog.c
877 (hildon_set_password_set_property),
878 (hildon_set_password_get_property), (create_contents),
879 (hildon_set_password_response_change),
880 (hildon_set_password_response_set), (hildon_checkbox_toggled):
882 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
883 instead and look more Fremantle style.
885 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
887 2009-04-03 Alberto Garcia <agarcia@igalia.com>
889 * doc/hildon-sections.txt
890 * src/hildon-window-stack.h
891 * src/hildon-window-stack.c
892 (+hildon_window_stack_get_windows):
893 New API to obtain the list of windows on a stack.
895 2009-04-02 Alberto Garcia <agarcia@igalia.com>
897 * src/hildon-app-menu.c (hildon_app_menu_popup)
898 (hildon_app_menu_class_init, -hildon_app_menu_show):
899 Remove hildon_app_menu_show() and move all its checks to
900 hildon_app_menu_popup()
902 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
904 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
905 (_hildon_picker_dialog_set_selector): removed call to
906 gtk_widget_set_size_request
907 * src/hildon-touch-selector.c
908 (_create_new_column): change the pannable size request policy
910 Avoid to use a hardcoded height for the hildon picker dialog. In order
911 to get that, we needed to change the hildon pannable size request
913 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
915 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
917 * src/hildon-window.c (hildon_window_map): Check for vbox to be
918 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
921 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
923 * debian/control: Depend on osso-system-lock localization package.
924 * src/hildon-code-dialog.c: Obtain the secu_application_title
925 translation from osso-system-lock.
926 * src/hildon-get-password-dialog.c (create_contents): Do not mark
927 for translation the atk related strings, that's not necessary.
928 * src/hildon-set-password-dialog.c (create_contents): Ditto.
929 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
930 cancel button, it is not required.
932 2009-04-02 Alejandro G. Castro <alex@igalia.com>
934 * src/hildon-pannable-area.c,
935 (hildon_pannable_area_class_init): Modified the default value of
936 the overshooting max speed, we have reduced it.
938 2009-04-02 Alberto Garcia <agarcia@igalia.com>
940 * doc/hildon-sections.txt
941 * src/hildon-window-private.h
942 * src/hildon-window.h
943 * src/hildon-window.c (hildon_window_class_init)
944 (hildon_window_init, hildon_window_finalize)
945 (hildon_window_realize, hildon_window_get_property)
946 (hildon_window_set_property, hildon_window_update_markup)
947 (hildon_window_get_markup, hildon_window_set_markup):
948 New "markup" property and hildon_window_{get,set}_markup() methods.
950 * examples/hildon-stackable-window-example.c (new_window):
951 Update example to use hildon_window_set_markup()
953 Fixes: NB#106375 (Need API to retitle a window with a title
956 2009-04-01 Alejandro G. Castro <alex@igalia.com>
958 * src/hildon-pannable-area.c,
959 (hildon_pannable_area_class_init): Changed the default value of
960 the initial_hint to TRUE.
961 (hildon_pannable_area_initial_effect): Changed the initial effect,
962 not the effect is just the fade-out of the scrollbars.
964 Fixes: NB#107775 (No scrollbars can be seen when several items are
965 available in a dialog)
967 2009-04-01 Alberto Garcia <agarcia@igalia.com>
969 * src/hildon-program.c (hildon_program_update_top_most):
972 Fixes: NB#109179 (Memory leak in Hildon program)
974 2009-04-01 Alberto Garcia <agarcia@igalia.com>
976 * src/hildon-banner.c (-get_current_app_window):
977 Remove unused function.
979 2009-04-01 Alejandro G. Castro <alex@igalia.com>
981 * src/hildon-pannable-area.c: Modified the documentation of the
982 get adjustments functions to explain the problem of using the
984 (hildon_pannable_area_class_init): Improved the explanation about
987 2009-04-01 Alberto Garcia <agarcia@igalia.com>
989 * src/hildon-app-menu-private.h
990 * src/hildon-app-menu.c
991 (hildon_app_menu_class_init):
992 Bring back the 'external-border' style property
993 (hildon_app_menu_class_init, hildon_app_menu_init)
994 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
995 Set a fixed width-request for the menu, independent of the number
998 Fixes: NB#94957 (Smoothly opened application menu)
1000 2009-03-30 Alberto Garcia <agarcia@igalia.com>
1002 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
1004 * src/hildon-banner.c
1005 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
1007 Make sure that the banner is correctly placed the first time it's
1009 (hildon_banner_check_position, -check_fullscreen_state):
1010 Show the banner in the same place no matter if the window is in
1011 fullscreen mode or not.
1013 Fixes: NB#107386 (Odd stacking behaviour for information banners)
1015 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1017 * src/hildon-touch-selector.c (_default_print_func): reorder
1018 concatenation for clarity.
1020 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1022 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
1023 for multicolumn selectors.
1025 Fixes: NB#109099 (Memory leak in Hildon touch selector)
1027 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
1032 * configure.ac: Bump version.
1033 * debian/changelog: Updates.
1035 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
1037 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
1040 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1042 * configure.ac: removed libcangerra-gtk dependency
1043 * debian/control: removed libcanberra-gtk dependency
1044 * src/Makefile.am: removed libcanberra gtk related flags
1045 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1046 context, and manage a global canberra context instead
1048 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1050 2009-03-26 Alberto Garcia <agarcia@igalia.com>
1052 Patch by Daniel Borgmann (danielb@openismus.com)
1054 * src/hildon-edit-toolbar.c:
1055 Adjust the left padding.
1056 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
1057 Paint background of the edit toolbar.
1059 Fixes: NB#107897 (Patch to make editmodetoolbar background
1060 themeable and adjust margin)
1062 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1064 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1066 * src/hildon-program.c (hildon_program_update_top_most):
1067 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
1069 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
1070 change when the user tasks in/out of an application)
1072 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1074 * configure.ac: added libcangerra-gtk dependency
1075 * debian/control: added libcanberra-gtk dependency
1076 * src/Makefile.am: added libcanberra gtk related flags
1077 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
1080 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1082 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1084 * src/hildon-program.c (hildon_program_remove_window)
1085 (hildon_program_add_window): Add checks for the window
1086 parameter. Don't decrease the window counter if the window is not
1089 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1091 * src/hildon-pannable-area.c,
1092 (hildon_pannable_area_realize): Fixed position of the event_window
1093 in the realize method.
1095 2009-03-24 Alberto Garcia <agarcia@igalia.com>
1097 * src/hildon-app-menu-private.h
1098 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
1099 (hildon_app_menu_map, hildon_app_menu_hide_idle)
1100 (hildon_app_menu_key_press, hildon_app_menu_init)
1101 (hildon_app_menu_finalize):
1102 Make sure that all idle functions are removed when the widget is
1105 Fixes: NB#107583 (Hildon app menu crashes in various applications)
1107 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1112 * configure.ac: Bump version.
1113 * debian/changelog: Updates.
1115 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1117 * src/hildon-entry.c
1118 (+hildon_entry_show_placeholder),
1119 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
1120 that replace hildon_entry_update_contents().
1121 (hildon_entry_set_text),
1122 (hildon_entry_set_placeholder),
1123 (hildon_entry_focus_in_event),
1124 (hildon_entry_focus_out_event): Determine when it is needed
1125 either to show or hide the placeholder and call the above methods.
1127 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
1128 when the placeholder text is already set)
1130 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1132 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
1133 simple GdkPixbufAnim using the new icons for the banner.
1134 (hildon_banner_show_animation): Use the above mentioned method to
1135 create the animation widget.
1137 Fixes: NB#103564 (Make hildon animation banner use individual
1138 image files as the animation)
1140 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1142 * src/hildon-pannable-area.c,
1143 (hildon_pannable_leave_notify_event): Check if the child is NULL
1144 to avoid sending the leave.
1146 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1148 * src/hildon-pannable-area.c,
1149 (hildon_pannable_area_class_init),
1150 (hildon_pannable_leave_notify_event): Added a handler of the
1151 leave-notify-signal to consider when no motion notify before
1154 Fixes: NB#107494 (Items stay selected when clicking and moving
1155 away when inside pannable area)
1157 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
1162 * configure.ac: Bump version.
1163 * debian/changelog: Updates.
1165 2009-03-19 Alejandro G. Castro <alex@igalia.com>
1167 Patch by Alberto Garcia (agarcia@igalia.com)
1169 * src/hildon-date-button.c,
1170 (hildon_date_button_class_init),
1171 (hildon_date_button_init): Removed the construct property handling
1172 and created a default selector in the init method.
1173 * src/hildon-picker-button.c,
1174 (hildon_picker_button_class_init): Removed the construct flag of the
1177 2009-03-18 Alberto Garcia <agarcia@igalia.com>
1179 * src/hildon-main.c (hildon_init):
1180 Don't allow hildon_init() to be called more than once.
1182 Fixes: NB#106607 (hildon_init should issue error message upon
1185 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
1187 * examples/hildon-pannable-area-touch-list-example.c
1188 * examples/hildon-pannagle-area-touch-grid-example.c
1189 * examples/hildon-edit-toolbar-example.c
1190 * examples/hildon-touch-selector-multi-cells-example.c
1191 Removed the call to gtk_rc_parse_string, as it is not required since
1194 2009-03-17 Alejandro G. Castro <alex@igalia.com>
1196 * src/hildon-pannable-area.c,
1197 (hildon_pannable_area_class_init): Modified the default panning
1198 threshold of the widget to 6px.
1200 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
1201 than the threshold value ) within the button is not sending the
1204 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1206 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
1207 for the treeview in the new column. This way, the touch list will never
1210 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
1211 be selected manually for the HW keys to work)
1213 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1215 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
1216 comparison instead of using strcmp(). Fixes a compiler warning as well.
1218 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1220 * doc/hildon-docs.sgml: Do not set the library version in the
1221 document title, use the releaseinfo tag for that purpose instead.
1223 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1225 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
1226 Do not jump to the first item if the text in the entry is removed.
1228 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1233 * configure.ac: Bump version.
1234 * debian/changelog: Updates.
1236 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1238 * src/hildon-entry.c (hildon_entry_refresh_contents):
1239 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
1240 Use "ReversedSecondaryTextColor" for the placeholder text.
1242 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1244 * src/hildon-text-view.c: Fix compilation warning.
1246 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1248 * src/hildon-button.c (hildon_button_class_init): Don't make
1249 "title" and "value" construction properties, to prevent them from
1250 overwriting labels set from derived classes.
1252 * src/hildon-picker-button.c
1253 (hildon_picker_button_set_selector): Allow setting a NULL selector.
1254 (hildon_picker_button_class_init): Make touch-selector a
1255 construction property.
1257 * src/hildon-date-button.c (hildon_date_button_class_init)
1258 (+hildon_date_button_constructed): Add a default date selector if
1261 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1263 * src/hildon-touch-selector.c: Small documentation fixes.
1265 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1267 Based on a patch by Daniel Borgmann (danielb@openismus.com)
1269 * src/hildon-entry.c (hildon_entry_refresh_contents),
1270 (hildon_entry_get_text), (hildon_entry_init): Do not use the
1271 widget name, set the logical color directly instead and a boolean
1272 showing_placeholder instead.
1273 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
1274 use the widget name here either.
1276 Fixes: NB#105678 (HildonTextView should use logical colours
1277 instead of setting widget name)
1279 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1281 Patch by Daniel Elster (danielk@openismus.com)
1283 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
1284 Add user_data parameter.
1285 (hildon_touch_selector_set_print_func_full): New function akin
1286 hildon_touch_selector_set_print_func() but with support for user
1287 data and a destroy callback.
1288 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
1289 to clean up the print function user data.
1290 (hildon_touch_selector_class_init): Install dispose function.
1291 (HildonTouchSelectorPrivate::print_user_data),
1292 (HildonTouchSelectorPrivate::print_destroy_func): New private
1294 (hildon_touch_selector_init): Initialize new private members.
1295 (hildon_touch_selector_get_current_text): Pass along user data
1296 to the print function.
1297 (_default_print_func): Add dummy user_data to parameter list.
1298 * hildon-date-selector.c (_custom_print_func): ditto,
1299 * hildon-time-selector.c (_custom_print_func): ditto,
1300 * hildon-touch-selector-entry.c
1301 (hildon_touch_selector_entry_print_func): ditto.
1303 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
1305 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1307 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
1309 2009-03-12 Alejandro G. Castro <alex@igalia.com>
1311 * src/hildon-pannable-area.c,
1312 (hildon_pannable_area_init),
1313 (hildon_pannable_area_button_press_cb),
1314 (hildon_pannable_area_motion_notify_cb): We have added code to
1315 handle the leave and enter events when using the motion events.
1317 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
1319 2009-03-11 Alberto Garcia <agarcia@igalia.com>
1321 * src/hildon-date-button.c (hildon_date_button_get_date)
1322 (hildon_date_button_set_date): Make sure that the button has a
1325 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
1327 2009-03-11 Alejandro G. Castro <alex@igalia.com>
1329 * src/hildon-pannable-area.c,
1330 (hildon_pannable_area_class_init),
1331 (hildon_pannable_area_calculate_velocity): Modify the use of the
1332 force and adapt the value.
1334 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1336 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
1337 (hildon_app_menu_class_init): Hide the menu if it receives a
1338 delete-event, but don't destroy it
1340 Fixes: NB#104485 (Not able to address the call when application
1341 menu is opened at background)
1343 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1345 * src/hildon-app-menu.c
1346 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1347 Remove the "external-border" style property, let the menu take its
1348 natural size (or the one set by the window manager)
1349 (hildon_app_menu_repack_items):
1350 Don't reshow the menu, avoid flickers.
1352 Partially fixes NB#94957 (Smoothly opened application menu)
1354 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
1359 * configure.ac: Bump version.
1360 * debian/changelog: Updates.
1362 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1364 * src/hildon-pannable-area.c,
1365 (hildon_pannable_area_motion_notify_cb): We control that the
1366 direction error margin is used just in case the movement is
1367 allowed in the other direction.
1369 Fixes: NB#105012 (buttons inside a pannable area not getting
1370 release event when dragging/releasing)
1372 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1374 * src/hildon-pannable-area.c,
1375 (hildon_pannable_area_class_init),
1376 (hildon_pannable_area_get_property),
1377 (hildon_pannable_area_set_property),
1378 (hildon_pannable_area_initial_effect),
1379 (hildon_pannable_axis_scroll),
1380 (hildon_pannable_area_button_release_cb): Reviewed the
1381 overshooting effect, now it has its own max
1382 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
1383 speed when bouncing.
1385 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
1390 * configure.ac: Bump version.
1391 * debian/changelog: Updates.
1393 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1395 * src/hildon-pannable-area.c,
1396 (hildon_pannable_area_class_init): Changed the max speed, now
1397 users can launch the widget very fast. Reduced the default force,
1398 that way it is easier to control the launch speed.
1400 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1402 * src/hildon-pannable-area.c,
1403 (hildon_pannable_area_button_release_cb): Removed this check
1404 because it causes problems when the device is overloaded.
1406 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1408 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1409 add a current_text field to store the text entered in the
1410 touch selector entry.
1411 (_clean_current_selection): clean up the current text as well.
1412 (_save_current_selection), (_restore_current_selection):
1413 Save/restore the text in the entry if the selector is a
1414 HildonTouchSelectorEntry.
1416 Fixes: NB#102541 (value entered in the touch selector entry is not
1417 shown when opened for second time)
1419 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1421 * doc/hildon-sections.txt:
1422 * src/hildon-touch-selector-entry.c
1423 (+hildon_touch_selector_entry_get_entry):
1424 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
1426 Fixes: NB#104815 (I need accessor to the entry inside
1427 HildonTouchSelectorEntry)
1429 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1431 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
1432 (hildon_app_menu_class_init):
1433 New "filter-vertical-spacing" style property.
1435 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1437 * src/hildon-find-toolbar.c
1438 (hildon_find_toolbar_emit_close)
1439 (hildon_find_toolbar_emit_invalid_input)
1440 (hildon_find_toolbar_entry_activate):
1441 Use g_signal_emit() instead of g_signal_emit_by_name()
1443 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1445 Patch by Mox Soini (ext-mox.soini@nokia.com)
1447 * tests/TEST-CASES.txt
1448 * tests/check-hildon-banner.c
1449 * tests/check-hildon-note.c
1450 * src/hildon-banner.c
1451 * src/hildon-code-dialog.c
1452 * src/hildon-date-editor.c (real_set_calendar_icon_state)
1453 * src/hildon-time-editor.c
1454 * examples/hildon-lookup-example.c (main):
1455 Replace obsolete icon names with new ones.
1457 * src/hildon-find-toolbar-private.h:
1458 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
1459 (-hildon_find_toolbar_emit_search):
1460 Remove find button and change icon of close button.
1462 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
1464 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1466 * src/hildon-time-button.c (hildon_time_button_new_step):
1467 Use the "touch-selector" property to set the selector directly
1468 when creating the object.
1470 2009-03-05 Alejandro G. Castro <alex@igalia.com>
1472 Added a new example application that allows tuning the pannable
1473 area and replaced defines with properties in order to simplify the
1474 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
1475 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
1476 PROP_DIRECTION_ERROR_MARGIN.
1478 * examples/hildon-pannable-area-tuning-example.c: New example
1480 * src/hildon-pannable-area.c,
1481 (hildon_pannable_area_class_init),
1482 (hildon_pannable_area_init),
1483 (hildon_pannable_area_get_property),
1484 (hildon_pannable_area_set_property),
1485 (hildon_pannable_area_launch_fade_timeout),
1486 (hildon_pannable_area_adjust_value_changed),
1487 (hildon_pannable_axis_scroll),
1488 (hildon_pannable_area_motion_notify_cb),
1489 (hildon_pannable_area_scroll_cb),
1490 (hildon_pannable_area_button_release_cb): We have converted some
1491 of the defines that control the widget to properties to simplify
1494 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1496 * src/hildon-app-menu.c (hildon_app_menu_map)
1497 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
1498 so it's closed if a new window appears.
1500 Fixes: NB#104485 (Not able to address the call when application
1501 menu is opened at background)
1503 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1505 * src/hildon-color-button.c (hildon_color_button_get_property):Add
1506 missing 'break' statement in in 'case' construct to avoid
1509 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1511 * src/hildon-touch-selector-entry.c
1512 (hildon_touch_selector_entry_get_property),
1513 (hildon_touch_selector_entry_set_property): Add missing 'break'
1514 statements in in 'case' constructs to avoid incorrect warnings.
1516 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1518 * src/hildon-time-editor.c
1519 (hildon_time_editor_get_time_separators): Do not crash if
1520 the first label is NULL.
1522 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1524 * src/hildon-date-selector.c (_month_days): Check for month to be
1525 strictly less than 12, since otherwise we may overrun the array.
1527 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1529 * src/hildon-date-button.c (+hildon_date_button_new_full)
1530 (hildon_date_button_new, hildon_date_button_new_with_year_range)
1531 (hildon_date_button_init): Set the date selector using a
1532 construction property, to make it happen after HildonButton's
1533 "value" property is set.
1535 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
1536 current date by default)
1538 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1540 * doc/hildon-sections.txt
1541 * src/hildon-program.c
1542 * src/hildon-stackable-window.c
1543 * src/hildon-window.c:
1544 Documentation updates
1546 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1548 * src/hildon-window-stack.c (hildon_window_stack_get_default)
1549 (hildon_window_stack_new, +hildon_window_stack_set_property)
1550 (+hildon_window_stack_get_property)
1551 (hildon_window_stack_class_init)
1552 (+hildon_window_stack_set_window_group)
1553 (+hildon_window_stack_get_window_group):
1554 Make the window group a construction property.
1556 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1558 * doc/hildon-sections.txt
1559 * src/hildon-stackable-window-private.h
1560 * src/hildon-stackable-window.h
1561 * src/hildon-stackable-window.c
1562 (-hildon_stackable_window_set_app_menu)
1563 (-hildon_stackable_window_get_app_menu)
1564 (-hildon_stackable_window_toggle_menu)
1565 (-hildon_stackable_window_finalize)
1566 (hildon_stackable_window_class_init)
1567 (hildon_stackable_window_init)
1568 * src/hildon-window-private.h
1569 * src/hildon-window.h
1570 * src/hildon-window.c (hildon_window_init)
1571 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
1572 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
1573 (hildon_window_get_main_menu, hildon_window_set_main_menu)
1574 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
1575 Moved all HildonAppMenu code to HildonWindow. The menu does not
1576 require a HildonStackableWindow anymore.
1578 * src/hildon-app-menu.c
1579 * src/hildon-program.c
1580 * examples/hildon-app-menu-example.c (main):
1581 Update examples and documentation to reflect HildonAppMenu
1584 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1586 * src/hildon-remote-texture.c
1587 * src/hildon-animation-actor.c:
1588 Don't include unused private headers.
1590 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1592 * src/hildon-program-private.h
1593 * src/hildon-program.c
1594 (hildon_program_set_common_menu)
1595 (hildon_program_get_common_menu)
1596 (hildon_program_set_common_app_menu)
1597 (hildon_program_get_common_app_menu):
1598 Change common menu pointers from GtkWidget* to GtkMenu* and
1599 HildonAppMenu* to avoid unnecessary casts.
1601 2009-03-03 Alberto Garcia <agarcia@igalia.com>
1603 * src/hildon-window.c (hildon_window_set_main_menu):
1604 Removed incorrect 'Since:' tag
1606 2009-03-03 Alejandro G. Castro <alex@igalia.com>
1608 * src/hildon-pannable-area.c,
1609 (hildon_pannable_area_calculate_velocity): We use now the
1610 RATIO_TOLERANCE here to check the distance, fixed typo in the
1612 (hildon_pannable_area_motion_notify_cb): We have to set the type
1613 and time even if we are not sending the motion.
1615 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1617 * doc/hildon-sections.txt
1618 * src/hildon-app-menu.h
1619 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
1620 (+hildon_app_menu_get_filters): New methods to get the contents of
1623 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
1626 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1628 * src/hildon-app-menu.c (hildon_app_menu_popup):
1631 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1633 * src/hildon-window.h
1634 * src/hildon-window.c (+hildon_window_get_main_menu)
1635 (hildon_window_get_menu): Created hildon_window_get_main_menu()
1636 and deprecated hildon_window_get_menu().
1638 * src/hildon-stackable-window.h
1639 * src/hildon-stackable-window.c
1640 (+hildon_stackable_window_set_app_menu)
1641 (+hildon_stackable_window_get_app_menu)
1642 (hildon_stackable_window_set_main_menu): Created
1643 hildon_stackable_window_{get,set}_app_menu() and deprecated
1644 hildon_stackable_window_set_main_menu().
1646 * doc/hildon-sections.txt
1647 * examples/hildon-app-menu-example.c (main)
1648 * src/hildon-app-menu.c
1649 * src/hildon-program.c:
1650 Updated examples and documentation.
1652 Fixes: NB#103758 (No way to obtain a menu from a
1653 HildonStackableWindow)
1655 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1660 * configure.ac: Bump version.
1661 * debian/changelog: Updates.
1663 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1665 * examples/hildon-remote-texture-example.c: Include
1666 hildon-remote-texture.h explicitely.
1667 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
1668 applications not defining _XOPEN_SOURCE which don't require this header.
1670 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1672 * doc/hildon-sections.txt
1673 * src/hildon-app-menu.h
1674 * src/hildon-app-menu.c (+hildon_app_menu_popup):
1675 New function to pop up a HildonAppMenu
1677 * src/hildon-stackable-window.c
1678 (hildon_stackable_window_toggle_menu):
1679 Use hildon_app_menu_popup() to show the menu.
1681 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1683 * src/hildon-app-menu.c (hildon_app_menu_show)
1684 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
1685 menu if there's another window between it and its parent window.
1687 Fixes: NB#100468 (Application menu window is launched even when a
1688 new secondary-window/dialog is pending to be shown/realized)
1690 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1692 * src/hildon-window-stack.c (hildon_window_stack_push)
1693 (hildon_window_stack_pop_and_push):
1694 Don't forget to push/pop the first window.
1695 Reverse the window list before calling _push_list()
1697 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1699 * src/hildon-picker-button.h
1700 * src/hildon-picker-button.c (hildon_picker_button_class_init):
1701 Remove "value_changed" slot to avoid ABI breakage
1703 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1705 * src/hildon-pannable-area.c,
1706 (hildon_pannable_area_realize),
1707 (hildon_pannable_area_unrealize),
1708 (hildon_pannable_draw_vscroll),
1709 (hildon_pannable_draw_hscroll): Changed the method to handle the
1710 GC used to draw the transparent scrollbar, this way we avoid
1711 creating the GC all the time when drawing the scrollbars.
1713 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1715 * src/hildon-pannable-area.c,
1716 (hildon_pannable_area_init),
1717 (hildon_pannable_area_remove): Removed some unnecessary casts.
1718 (hildon_pannable_area_dispose): Disconnected some signals before
1719 releasing the adjustments.
1721 2009-02-26 Alberto Garcia <agarcia@igalia.com>
1723 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1724 Make sure that all widgets contained in the toolbar are shown.
1726 2009-02-25 Alberto Garcia <agarcia@igalia.com>
1728 * doc/hildon-sections.txt
1729 * src/hildon-picker-button.h
1730 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
1731 (_selection_changed, hildon_picker_button_on_dialog_response)
1732 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
1733 New hildon_picker_button_value_changed() method.
1736 * src/hildon-picker-button-private.h
1737 * src/hildon-picker-button.c (hildon_picker_button_init)
1738 (+hildon_picker_button_disable_value_changed): Add protected
1739 function for disabling the "value-changed" signal.
1741 * src/hildon-date-button.c (hildon_date_button_set_date):
1742 Don't emit "value-changed" for each one of the three columns.
1744 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
1745 before actual change of values)
1747 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1749 * src/hildon-pannable-area.c,
1750 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
1751 for the treeview overshooting.
1753 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1755 * src/hildon-banner.c (+hildon_banner_bind_style):
1756 Renamed from hildon_banner_bind_label_style(), now naming the
1757 banner itself as well.
1758 (hildon_banner_show_information),
1759 (hildon_banner_show_information_with_markup),
1760 (hildon_banner_show_animation), (hildon_banner_show_progress):
1761 Name the widgets and labels, based on their type.
1763 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1766 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1768 * src/hildon-note.c (hildon_note_set_property): call
1769 hildon_note_rename() on HildonNote:note-type set.
1770 (hildon_note_rename): Name the note and its label, based on the
1771 HildonNote:note-type property.
1773 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1776 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1778 * src/hildon-pannable-area.c,
1779 (hildon_pannable_area_class_init),
1780 (hildon_pannable_area_motion_notify_cb): Reviewed the default
1781 panning parameters, increased SPS and deceleration factor. Added
1782 also a margin to control fake directions.
1784 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1786 Patch by Sven Herzberg (sven@imendio.com)
1788 * configure.ac: Add missing AM_PROG_CC_C_0
1789 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
1791 See NB#101420 (Update unit tests and fix make check)
1793 2009-02-23 Alejandro G. Castro <alex@igalia.com>
1795 This patch was applied before but reverted because it caused
1796 problems, we have changed the main condition and tested the
1797 regressions we detected before and they work ok. We have done a
1798 complete review of the topmost algorithm in order to get a more
1801 * src/hildon-pannable-area.c,
1802 (hildon_pannable_area_get_topmost): Added a new parameter to
1803 filter the the windows that do not include those events.
1804 (hildon_pannable_area_button_press_cb),
1805 (hildon_pannable_area_button_release_cb),
1806 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1807 topmost function, we have added the new parameter.
1809 Fixes: NB#97458 (Pannable area prevents propagation of button
1812 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1814 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
1815 if all columns in the selector have an item selected.
1816 (_on_dialog_response): Stop "response" signal emission if there is
1817 any selector column without selected items.
1819 Fixes: NB#101889 (Picker dialog should not close when nothing is
1820 selected in multiple selection list)
1822 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1824 * src/hildon-font-selection-dialog.c
1825 (hildon_font_selection_dialog_class_init),
1826 (hildon_font_selection_dialog_init): Remove the preview
1827 button and dialog, since previewing with default theming is likely
1828 to be overcomplicated. The :preview property has now no effect.
1829 Update documentation blurbs to inform about this.
1831 Fixes: NB#92297 (Preview content is not clearly visible for
1832 default colour text)
1834 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1836 Reviewed the geometry that handles the children size and
1837 scrollbar, now it tries a size and reviews the results depending
1838 on the scrollbars visibility.
1840 * src/hildon-pannable-area.c,
1841 (hildon_pannable_area_realize): Fixed a typo.
1842 (hildon_pannable_area_child_allocate_calculate): Added this
1843 function to calculate the child allocation.
1844 (hildon_pannable_area_size_allocate): Reviewed the allocation
1846 (hildon_pannable_area_check_scrollbars),
1847 (hildon_pannable_area_refresh): Refactored refresh function, this
1848 way we can call the code handling the scrollbars without causing a
1849 size_request, it is interesting in the allocate.
1850 (hildon_pannable_area_init): Replace the callbacks of the
1851 value_changed and changed signals to propertly deal with the
1853 (hildon_pannable_area_grab_notify),
1854 (hildon_pannable_area_initial_effect),
1855 (hildon_pannable_area_launch_fade_timeout),
1856 (hildon_pannable_area_adjust_changed),
1857 (hildon_pannable_area_adjust_value_changed),
1858 (hildon_pannable_area_redraw),
1859 (hildon_pannable_area_button_press_cb),
1860 (hildon_pannable_area_button_release_cb),
1861 (hildon_pannable_area_scroll_cb),
1862 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
1863 code and use the new functions adjust_changed and
1864 adjust_value_changed.
1866 Fixes: NB#101603 (Focus is not even for the text entry boxes in
1867 Contact editor dialog)
1869 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
1874 * configure.ac: Bump version.
1875 * debian/changelog: Updates.
1877 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1879 * src/hildon-pannable-area.c,
1880 (hildon_pannable_area_get_topmost),
1881 (hildon_pannable_area_button_press_cb),
1882 (hildon_pannable_area_button_release_cb),
1883 (hildon_pannable_get_child_widget_at): Reverted the patch for the
1884 topmost function adding the event mask. We have to try a
1885 differente approach because it is still causing problems (NB#9745,
1888 2009-02-19 Alberto Garcia <agarcia@igalia.com>
1890 * src/hildon-banner.c:
1891 Update the maximum width of timed banners.
1892 (force_to_wrap_truncated): Enforce the maximum text width if the
1895 Fixes: NB#102413 (The text margins (wrapping) in information
1896 banner should be HILDON_MARGIN_TRIPLE)
1898 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1900 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
1902 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
1903 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
1904 bound when calculating the scroll indicator position.
1906 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
1907 treat ->lower correctly)
1909 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1911 * src/hildon-caption.c (hildon_caption_class_init): Remove the
1912 expose event handling, since it is not necessary to draw the focus
1915 Fixes: NB#102467 (Do not show highlight on the text in
1918 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1920 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
1921 full height of the toolbar for the button and the label.
1923 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1925 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
1926 padding before the label and after the button.
1928 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1930 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
1932 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1933 Add a GtkVSeparator between the button and the back arrow.
1934 Let the button have automatic size.
1935 Set a name to the widget for theming handling.
1937 Fixes: NB#101793 (Make edit toolbar the same height as window
1938 title bar (use title area theming))
1940 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1942 * src/hildon-helper.c (attach_new_color_element): Fix memory
1945 Fixes: NB#102262 (memory leak in hildon_button_set_style())
1947 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1949 * examples/hildon-button-example.c (common_buttons_window): Don't
1952 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1954 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1955 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
1957 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1959 * src/hildon-gtk.c: Check that the window is realized.
1961 Fixes: NB#102225 (Crash setting the progress indicator to a non
1964 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1966 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
1967 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
1968 instead of modifying the one in the widget style.
1970 Fixes: NB#101043 (Second row of all the command button are
1971 displayed in transparent mode.)
1973 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1975 * src/hildon-date-button.c
1976 * src/hildon-time-button.c: Add gettext macros
1978 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
1980 * src/hildon-date-button.c (hildon_date_button_new):
1981 * src/hildon-time-button.c (hildon_time_button_new_step):
1982 Use new logical strings to set the button default title.
1984 Fixes: NB#99915 (Date and Time options are not localised in Date
1987 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1989 * src/hildon-pannable-area.c
1990 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
1991 the PANNING_THRESHOLD.
1993 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1995 * src/hildon-pannable-area.c,
1996 (hildon_pannable_area_class_init): Increased the maximum speed.
1997 (hildon_pannable_area_get_property),
1998 (hildon_pannable_area_set_property),
1999 (hildon_pannable_area_timeout): Added a new low friction mode, it
2000 allows the user avoid friction when launching the widget fast
2001 enough. It is interesting to traverse long lists.
2003 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2005 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
2006 (+hildon_stackable_window_delete_event): Ignore delete events if
2007 the window is not the topmost one.
2009 Fixes: NB#101698 (Back button long press and delete-event handling)
2011 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2013 * src/hildon-pannable-area.c,
2014 (hildon_pannable_area_motion_notify_cb): Removed the use of the
2015 gtk-dnd-drag-threshold, it was too big. We have defined our own
2016 dnd define and set a smaller value: PANNIG_THRESHOLD.
2018 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2020 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
2021 user-defined icons, use always the default one.
2023 Fixes: NB#101916 (Do not allow custom icons on animation banner)
2025 2009-02-13 Alejandro G. Castro <alex@igalia.com>
2027 This patch was applied before but reverted because it caused
2028 problems, we have changed the main condition and tested the
2029 regressions we detected before and they work ok.
2031 * src/hildon-pannable-area.c,
2032 (hildon_pannable_area_get_topmost): Added a new parameter to
2033 filter the the windows that do not include those events. Added
2034 also a condition when finding the window to filter windows that do
2035 not ask for those events.
2036 (hildon_pannable_area_button_press_cb),
2037 (hildon_pannable_area_button_release_cb),
2038 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2039 topmost function, we have added the new parameter.
2041 Fixes: NB#97458 (Pannable area prevents propagation of button
2044 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2046 * tests/check-hildon-color-button.c (START_TEST): do not leak
2049 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2051 * src/hildon-font-selection-dialog.c
2052 (hildon_font_selection_dialog_get_preview_text): Return NULL
2053 instead of FALSE on the g_return_val_if_fail().
2055 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2057 * src/hildon-time-selector.c (hildon_time_selector_set_time):
2058 * src/hildon-date-selector.c
2059 (hildon_date_selector_select_current_date):
2060 Do not compare unsigned integers to be greater than or equal 0,
2061 because it's always TRUE.
2063 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2065 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
2066 (hildon_date_selector_constructor): Do not select the current
2067 date until we are handle the "changed" signal, to avoid having bogus
2068 elements in the days model.
2070 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2072 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
2073 for num_days, since _month_days() can return a negative value.
2075 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2077 * src/hildon-caption.c (hildon_caption_size_allocate):
2078 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
2079 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
2081 Initialize allocation variables to 0, to avoid eventually using
2082 unitialized variables.
2084 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2086 * src/hildon-bread-crumb-trail.c
2087 (hildon_bread_crumb_trail_size_allocate):
2088 * src/hildon-calendar.c (hildon_calendar_set_background):
2089 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
2090 * src/hildon-range-editor.c (hildon_range_editor_get_range):
2091 * src/hildon-seekbar.c (hildon_seekbar_init):
2092 * src/hildon-time-editor.c (hildon_time_editor_get_time):
2093 * src/hildon-time-selector.c (hildon_time_selector_finalize):
2094 * src/hildon-touch-selector-entry.c
2095 (hildon_touch_selector_get_text_from_model):
2096 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
2097 * src/hildon-window.c (hildon_window_finalize):
2099 Remove many unused variables.
2101 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2103 * src/hildon-seekbar.c: (hildon_seekbar_init),
2104 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
2106 Remove unnecessary g_assert() calls.
2108 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2110 * src/hildon-caption.c: (hildon_caption_expose),
2111 (hildon_caption_set_property), (hildon_caption_init),
2112 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
2113 (hildon_caption_size_request), (hildon_caption_size_allocate),
2114 (hildon_caption_forall), (hildon_caption_set_separator),
2115 (hildon_caption_activate), (hildon_caption_set_child_expand),
2116 (hildon_caption_set_label_text),
2117 (hildon_caption_get_label_alignment):
2119 Remove unnecessary g_assert() calls.
2121 2009-02-12 Alberto Garcia <agarcia@igalia.com>
2123 * src/hildon-banner.c
2124 (hildon_banner_map, hildon_banner_init): Make banner temporary
2125 before mapping it to avoid closing other temporary windows, but
2126 make it non-temporary afterwards to avoid being closed by other
2127 non-temporary windows.
2128 (-hildon_banner_client_event, hildon_banner_init):
2129 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
2131 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
2134 2009-02-11 Alberto Garcia <agarcia@igalia.com>
2136 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
2139 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2141 * src/hildon-remote-texture.c
2142 * src/hildon-remote-texture.h
2143 * src/hildon-remote-texture-private.h
2144 * examples/hildon-remote-texture-example.c:
2145 Updates/fixes to remote-texture and its example.
2147 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
2149 Patch by Mox Soini (ext-mox.soini@nokia.com)
2151 * src/hildon-code-dialog.c: Update logical id.
2152 * src/hildon-set-password-dialog.c: Update logical id.
2154 Fixes: NB#100646 (Logical strings is shown for ok in set
2155 password,Password needed dialogs)
2157 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2160 * src/hildon-remote-texture.c
2161 * src/hildon-remote-texture.h
2162 * src/hildon-remote-texture-private.h
2164 Added remote texture widget (for Clutter shared memory textures)
2166 * examples/hildon-remote-texture-example.c
2167 * examples/Makefile.am
2168 Added example file for remote texture usage
2170 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
2172 * configure.ac: post release version bump.
2173 * debian/changelog: version bump.
2175 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
2180 * configure.ac: Bump version.
2181 * debian/changelog: Updates.
2183 2009-02-06 Alberto Garcia <agarcia@igalia.com>
2185 * src/hildon-date-selector.c (hildon_date_selector_init)
2186 (hildon_date_selector_constructor): Don't connect to the "changed"
2187 signal until the selector is completely constructed.
2189 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2191 * src/hildon-touch-selector.c: (_create_new_column),
2192 (hildon_touch_selector_append_column),
2193 (hildon_touch_selector_set_column_selection_mode),
2194 (hildon_touch_selector_set_active),
2195 (hildon_touch_selector_select_iter):
2196 Emit the HildonTouchSelector::changed signal every time selection
2197 is changed in any of the methods above. This behavior was already
2198 documented but not fully functional.
2200 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
2201 selection is programmatically changed)
2203 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2205 * doc/hildon-sections.txt: Remove obsolete icon
2206 sizes from here as well.
2208 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2210 * examples/hildon-stackable-window-example.c (add_window): Remove
2213 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2215 * src/hildon-app-menu.c
2216 (hildon_app_menu_show): Check whether the parent window of a menu
2217 is topmost before popping it up.
2219 Fixes: NB#100468 (Application menu window is launched even when a
2220 new secondary-window/dialog is pending to be shown/realized.)
2222 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2224 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
2227 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2229 Patch by Mox Soini (ext-mox.soini@nokia.com)
2231 * src/hildon-banner.c: (hildon_banner_show_animation):
2232 use stylus size instead of obsolete note size.
2233 * src/hildon-defines.h: Update icon sizes.
2235 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2237 * src/hildon-touch-selector-entry.c:
2238 (hildon_touch_selector_entry_init): Disable unsupported
2240 (hildon_touch_selector_entry_get_text_column): Emit a warning
2241 if an unsupported input modes is used and explicitile state
2242 these modes in the documentation.
2244 Fixes: NB#99802 (Hildon touch selector entry not working properly
2245 for some of the input modes)
2247 2009-02-05 Alejandro G. Castro <alex@igalia.com>
2249 * src/hildon-pannable-area.c,
2250 (hildon_pannable_area_init): Added the changed signal handlers of
2253 Fixes: NB#100320 (HildonPannableArea does not listen to
2254 GtkAdjustment "change" signals)
2256 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2258 * doc/hildon-sections.txt
2259 * src/hildon-window-private.h
2260 * src/hildon-window.h
2261 * src/hildon-window.c (hildon_window_init)
2262 (hildon_window_realize, hildon_window_unrealize)
2263 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
2264 (hildon_window_size_request, hildon_window_size_allocate)
2265 (hildon_window_forall, hildon_window_show_all)
2266 (hildon_window_destroy, +paint_edit_toolbar)
2267 (+hildon_window_set_edit_toolbar):
2268 New hildon_window_set_edit_toolbar() method, to add a
2269 HildonEditToolbar to a window without having to pack it manually.
2271 Reorganize hildon_window_size_allocate()
2273 * src/hildon-edit-toolbar.c: Update documentation.
2275 * examples/hildon-edit-toolbar-example.c (edit_window): Update
2276 example to use the new API.
2278 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
2280 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2282 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
2283 Remove from stack before calling parent's hide.
2285 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2287 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
2288 window is removed from the middle of the stack, update the
2289 transiency of the previous one.
2291 Fixes: NB#100487 (HildonStackableWindow transiency becomes
2294 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2296 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
2297 block/unblock the signal handler if it's not actually being used.
2298 Fixes some critical warnings.
2300 2009-02-02 Alberto Garcia <agarcia@igalia.com>
2302 Based on a patch by Iván Gómez (igomez@igalia.com)
2304 * src/hildon-banner.c
2308 * src/hildon-pannable-area.c
2309 * src/hildon-picker-dialog.c
2310 * src/hildon-wizard-dialog.h
2311 * src/hildon-wizard-dialog.c: Documentation updates.
2313 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
2314 gtk_dialog_add_button() instead of hildon_dialog_add_button().
2316 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2318 * configure.ac: post release version bump.
2319 * debian/changelog: version bump.
2321 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2326 * configure.ac: Bump version.
2327 * debian/changelog: Updates.
2329 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2331 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
2332 a stock icon nor change the relief of the back arrow.
2334 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2335 graphics from theme)
2337 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2339 * src/hildon-button.c (hildon_button_set_alignment): Use
2340 priv->alignment if the button has no child yet.
2342 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
2344 * src/hildon-button.c: (hildon_button_init): Set the
2345 button style during initialization to give it the proper
2348 Fixes: NB#99713 (HildonButton value label color is wrong)
2350 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2352 * src/hildon-touch-selector.c: Document
2353 hildon_touch_selector_center_on_selected()
2355 2009-01-28 Alberto Garcia <agarcia@igalia.com>
2357 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
2358 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
2359 all menu items, but not the menu itself.
2360 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
2361 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
2362 items after adding them to the menu so keyboard accelerators work.
2363 (hildon_app_menu_show): Don't show the menu if it contains items
2364 but none of them are visible.
2366 * examples/hildon-app-menu-example.c (create_menu): Use
2367 gtk_widget_show_all() to show all menu items.
2369 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2371 * src/hildon-picker-dialog.c:
2372 (-_update_title_on_selector_changed_cb),
2373 (-_dialog_update_title): Removed.
2374 (_select_on_selector_changed_cb), (_on_dialog_response),
2375 (on_selector_columns_changed): Do not update the dialog title.
2376 (setup_interaction_mode): Do not connect to
2377 HildonTouchSelector::changed signal if there's a "done" button, as
2378 the dialog title doesn't need to be updated.
2380 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
2383 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
2385 Patch by Kristian Rietveld (kris@imendio.com)
2387 * src/hildon-touch-selector.c: (_create_new_column): Use new
2388 GtkTreeView::hildon-row-tapped signal to react to user interactions
2389 instead of ::changed.
2391 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
2392 with some dynamic tree model)
2394 2009-01-27 Alberto Garcia <agarcia@igalia.com>
2396 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
2397 (+screen_size_changed, +label_size_request)
2398 (hildon_note_class_init): Make the Hildon information note have a
2399 minimum height, and make its text hvae a maximum width.
2401 Fixes: NB#98614 (Hildon information note (background) should have
2402 minimum height and maximum text width)
2404 2009-01-26 Alberto Garcia <agarcia@igalia.com>
2406 * src/hildon-banner.h
2407 * src/hildon-banner.c (hildon_banner_show_information)
2408 (hildon_banner_show_informationf)
2409 (hildon_banner_show_information_with_markup): Update documentation
2410 to reflect that the icon_name parameter is not used anymore.
2411 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
2412 Remove all code from these functions and mark them as deprecated.
2413 (hildon_banner_show_progress): Mark as deprecated.
2415 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
2417 2009-01-26 Alejandro G. Castro <alex@igalia.com>
2419 * src/hildon-pannable-area.c,
2420 (hildon_pannable_area_class_init),
2421 (tranparency_color),
2422 (hildon_pannable_draw_vscroll),
2423 (hildon_pannable_draw_hscroll),
2424 (hildon_pannable_area_expose_event): Added a new way to render the
2425 scrollbars of the pannable area avoiding using cairo at all. This
2426 way we improve the performance of the pannable area rendering. The
2427 cairo rendering procedure is still in the code, we can control
2428 which one to use changing the value of the define
2429 USE_CAIRO_SCROLLBARS.
2431 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2433 * configure.ac: post release version bump.
2434 * debian/changelog: version bump.
2436 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2441 * configure.ac: Bump version.
2442 * debian/changelog: Updates.
2444 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2446 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
2447 banners instead of destroying them when they receive a button
2450 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2452 Reverted commit 34028, it was causing regressions, probably the
2453 topmost condition is not correct, we have to check it in more
2454 detail. We have reponed the bug: NB#97458 (Pannable area prevents
2455 propagation of button press events)
2457 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2459 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
2460 that the selection is not empty before attempting to retrieve the
2461 current ampm selection.
2463 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2465 * src/hildon-picker-button.c:
2466 (hildon_picker_button_on_dialog_response): Directly update the
2467 button contents when required instead of calling _selection_changed.
2469 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2471 * src/hildon-program.c (hildon_program_update_top_most): Update
2472 'is-topmost' property also when wm_hints is not set.
2474 Fixes: NB#98383 (is-topmost signal is not emitted when task
2475 switcher is clicked.)
2477 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2479 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
2483 * src/hildon-animation-actor.c,
2484 * src/hildon-animation-actor.h: Added the animation actor class,
2485 this widget represents an animation actor for WM-assisted
2486 animation effects in the Hildon framework.
2488 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2490 * src/hildon-window-stack-private.h
2491 * src/hildon-window-stack.c
2492 * src/hildon-stackable-window.c (hildon_stackable_window_show):
2493 Avoid calling gtk_widget_show() again indirectly from
2494 hildon_stackable_window_show()
2496 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2498 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
2501 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2503 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
2504 (hildon_time_selector_init): Move the construction of the hours and
2505 ampm columns to the constructor to preserve the order the columns
2508 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2510 * src/hildon-picker-dialog.c:
2511 (hildon_picker_dialog_class_init): Connect a realize method.
2512 (+hildon_picker_dialog_realize): Setup the interaction mode here
2514 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
2515 yet, do it during the realize instead.
2516 (_on_dialog_response):
2517 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
2518 if the widget is not realized, to avoid the dialog response before it
2521 Avoid premature responses in the HildonPickerDialog that can cause it
2522 to be hidden before it's even shown.
2524 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2526 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
2527 (on_selector_columns_changed), (requires_done_button),
2528 (+prepare_action_area), (setup_interaction_mode),
2529 (_hildon_picker_dialog_set_selector):
2531 Split the interaction mode setup into preparation of the
2532 action area (prepare_action_area()) and the connection of
2533 the signals in setup_interaction_mode() and update the code to
2536 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2538 * src/hildon-pannable-area.c,
2539 (hildon_pannable_area_class_init): Reduced the amount of scrolls
2540 per second to 15, we will check if this is ok regarding
2543 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2545 * src/hildon-pannable-area.c,
2546 (hildon_pannable_axis_scroll): Avoid resize if we already have
2547 reached overshoot_max.
2549 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2551 * src/hildon-pannable-area.c,
2552 (hildon_pannable_area_init),
2553 (hildon_pannable_area_realize),
2554 (hildon_pannable_area_size_allocate),
2555 (hildon_pannable_area_map),
2556 (hildon_pannable_area_unmap),
2557 (hildon_pannable_draw_vscroll),
2558 (hildon_pannable_draw_hscroll),
2559 (hildon_pannable_area_expose_event),
2560 (hildon_pannable_area_refresh): Added a new GdkWindow to the
2561 pannable are to avoid the expose events go to the window and
2562 redraw the window. We save this way that part of the stack and the
2563 paint_boxes. We had to change the positions of the elements when
2566 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
2568 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2569 * src/hildon-color-chooser-dialog.c:
2570 (hildon_color_chooser_dialog_init):
2571 * src/hildon-font-selection-dialog.c:
2572 (hildon_font_selection_dialog_init),
2573 (hildon_font_selection_dialog_show_preview):
2574 * src/hildon-get-password-dialog.c:
2575 * src/hildon-login-dialog.c:
2576 * src/hildon-set-password-dialog.c:
2577 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
2578 * src/hildon-time-picker.c: (hildon_time_picker_init):
2580 Remove obsolete logical string IDs and update to the appropriate ones.
2582 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
2584 2009-01-21 Alberto Garcia <agarcia@igalia.com>
2586 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
2587 that happens if the window hasn't been realized yet.
2589 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
2590 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
2592 2009-01-20 Alberto Garcia <agarcia@igalia.com>
2594 * src/hildon-app-menu.c (hildon_app_menu_class_init)
2595 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
2598 Fixes: NB#98537 (Device hangs in account settings dialog)
2600 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2602 * configure.ac: post release version bump.
2603 * debian/changelog: version bump
2605 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2610 * configure.ac: Bump version.
2611 * debian/changelog: Updates.
2613 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2615 Added a new function to the HildonTimeButton widget that allows to
2616 change the step of the minutes in the selector associated with the
2617 button: hildon_time_button_new_step
2619 * src/hildon-time-button.c,
2620 (hildon_time_button_init),
2621 (hildon_time_button_new),
2622 (hildon_time_button_new_step):
2623 * src/hildon-time-button.h: Added the new function and refactored
2625 * examples/hildon-time-button-example.c,
2626 (main): We have replaced the function without parameters with the
2627 function with the steps set to 5
2629 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
2631 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2633 * src/hildon-time-selector.c,
2634 (hildon_time_selector_class_init),
2635 (hildon_time_selector_constructor),
2636 (hildon_time_selector_get_property),
2637 (hildon_time_selector_set_property),
2638 (_create_minutes_model),
2639 (hildon_time_selector_new_step),
2640 (hildon_time_selector_set_time),
2641 * src/hildon-time-selector.h: Added a new property to the
2642 HildonTimeSelector (minutes-step), we use that property to control
2643 the steps between the minutes in the list of the selector. We have
2644 added a new function to the API to create a widget changing the
2645 step: hildon_time_selector_new_step.
2647 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2649 * src/hildon-time-selector.c,
2650 (hildon_time_selector_class_init),
2651 (hildon_time_selector_constructor),
2652 (hildon_time_selector_init): Overrided the construct function when
2653 creating the time selector object. We have moved the minutes model
2654 handling code from the init to the new construction function:
2655 hildon_time_selector_constructor.
2657 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2659 * examples/hildon-date-button-example.c: (main): Use the new
2660 hildon_date_button_new_with_year_range() method in the example.
2661 * src/hildon-date-button.c:
2662 (+hildon_date_button_new_with_year_range): New public method
2663 to conveniently create a HildonDateButton with a custom year range
2664 in its HildonDateSelector.
2665 * src/hildon-date-button.h: Add the new public method definition.
2667 Fixes: NB#97908 (Not possible to change the year range in
2668 HildonDateSelector/HildonDateButton)
2670 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2672 * src/hildon-date-selector.c:
2673 (+hildon_date_selector_set_property),
2674 (+hildon_date_selector_get_property),
2675 (hildon_date_selector_class_init): Install new properties "min-year"
2676 and "max-year" to define boundaries for the year column.
2677 (_create_year_model): Use the boundary properties to populate the model.
2678 (+hildon_date_selector_new_with_year_range): New public method to
2679 create a HildonDateSelector with a user defined year range.
2680 (hildon_date_selector_select_current_date): Use the new boundaries to
2681 calculate the iterator of current year.
2682 * src/hildon-date-selector.h: Add the new public method definition.
2684 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2686 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
2687 Install a constructor method.
2688 (+hildon_date_selector_construct_ui): construct the widget.
2689 (+hildon_date_selector_constructor): new constructor.
2690 (+hildon_date_selector_init): move out widget construction code to
2691 the new constructor.
2693 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2695 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
2696 that there's actually a month or year selected before obtaining them.
2697 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
2698 of the HildonTouchSelector::changed signal, as it was emitted on every
2699 single item selection.
2701 Fix some warnings and possible crashers due to the selection restoring.
2703 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2705 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
2706 the signal handlers only after creating the dialog instead of on every
2709 2009-01-19 Alberto Garcia <agarcia@igalia.com>
2711 * src/hildon-button.c (hildon_button_init)
2712 * src/hildon-check-button.c (hildon_check_button_init)
2713 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
2714 focus when clicked by default.
2716 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2718 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
2721 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2723 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2724 Alejandro G. Castro (alex@igalia.com)
2726 * src/hildon-picker-dialog.c:
2727 (hildon_picker_dialog_class_init): install new "center-on-show"
2729 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
2730 (hildon_picker_dialog_set_property): add setter code for the new
2732 (hildon_picker_dialog_get_property): add getter code for the new
2734 (hildon_picker_dialog_show): Ensure visibility of selected items in the
2735 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
2738 Fixes: NB#92849 (Selected item is not always visible when
2739 HildonTouchSelector is shown)
2741 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2743 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2744 Alejandro G. Castro (alex@igalia.com)
2746 * src/hildon-touch-selector.c:
2747 (_create_new_column): Do not connect to the "realize" signal of the
2749 (hildon_touch_selector_append_column): center on the selected items
2750 when a new column is appended.
2751 (hildon_touch_selector_select_iter): Factor out the code to select a
2752 column to hildon_touch_selector_scroll_to().
2753 (+search_nearest_element): Method to retrieve the nearest selected
2754 element to the visible area of the pannable area in a column.
2755 (+on_realize_cb): scroll to the initially selected item.
2756 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
2757 the pannable area is realized, otherwise delay this until it is.
2758 (+_hildon_touch_selector_center_on_selected_items): Centers on the
2759 selected items of a given column.
2760 (+hildon_touch_selector_center_on_selected): Public method to center
2761 all columns on the nearest selected item.
2762 * src/hildon-touch-selector.h: Add definition for
2763 hildon_touch_selector_center_on_selected().
2765 Implement public API to ensure visibility of all selected items in
2766 a HildonTouchSelector.
2768 2009-01-16 Alejandro G. Castro <alex@igalia.com>
2770 Fixed a problem in the fading when calling the scroll_to API, and
2771 improve scrollbar fading handling.
2773 * src/hildon-pannable-area.c,
2774 (hildon_pannable_area_grab_notify): avoid the timeout when the
2776 (hildon_pannable_area_button_press_cb),
2777 (hildon_pannable_area_motion_notify_cb): Code style changes.
2778 (hildon_pannable_area_button_release_cb): Review the conditions
2779 when releasing the mouse button to avoid unrequired fading
2781 (hildon_pannable_area_scroll_to): Do not calculate and set the
2782 velocity if the scroll is not required.
2784 2009-01-15 Alberto Garcia <agarcia@igalia.com>
2786 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
2787 Don't check whether the new selector is NULL: it cannot be.
2788 Hold a reference to the selector while doing the replacement.
2790 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2792 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2793 unnecessary size_request in a removed widget.
2795 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2797 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2798 an unnecessary reference tracking that was leaking.
2800 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2802 Added delayed motion notify event handling, this way we can
2803 discard redrawing if more than 25 events arrive per second.
2805 * src/hildon-pannable-area.c,
2806 (hildon_pannable_area_init): Initialized the new private atributes
2807 controlling this timeout
2808 (hildon_pannable_area_dispose): Remove the timeout that controls
2809 the motion notify events.
2810 (hildon_pannable_area_scroll): Added a condition to control the
2811 use of the acceleration.
2812 (hildon_pannable_area_motion_event_scroll_timeout),
2813 (hildon_pannable_area_motion_event_scroll): Added this two
2814 functions, they handle the motion notify events inside the
2816 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
2817 to the scroll method with the new function.
2818 (hildon_pannable_area_button_release_cb): We have to remove the
2819 timeout handler and move to the last position if the last motion
2820 events were not handled.
2822 Fixes: NB#97028 (Pannable area updates on every motion event)
2824 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2826 * src/hildon-pannable-area.c,
2827 (hildon_pannable_area_get_topmost): Added a new parameter to
2828 filter the the windows that do not include those events. Added
2829 also a condition when finding the window to filter windows that do
2830 not ask for those events.
2831 (hildon_pannable_area_button_press_cb),
2832 (hildon_pannable_area_button_release_cb),
2833 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2834 topmost function, we have added the new parameter.
2836 Fixes: NB#97458 (Pannable area prevents propagation of button
2839 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2841 * src/hildon-pannable-area.c,
2842 (hildon_pannable_area_initial_effect): Added controls before
2843 launching the timeout and the idle functions.
2844 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
2845 of the method, in some situations it can return with TRUE and 0 in
2847 (hildon_pannable_area_button_press_cb): We do not need to set
2848 DELAY for fading out here.
2850 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
2852 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2854 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
2855 post-cleaning if the selection is not NULL.
2857 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2859 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
2860 all items before restoring the selection.
2862 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2864 * src/hildon-touch-selector.c:
2865 (+hildon_touch_selector_unselect_all):
2866 * src/hildon-touch-selector.h: New API to unselect all items in a
2867 column of the touch selector.
2869 2009-01-14 Alejandro G. Castro <alex@igalia.com>
2871 * src/hildon-pannable-area.c,
2872 (hildon_pannable_area_redraw): Added a call to the refresh
2873 function inside the redraw because apparently in some cases the
2874 change in the adjustment does not imply a size allocate.
2876 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
2877 despite the view not being scrollable)
2879 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2881 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
2882 leak. Check for NULL before attempting to set the window title.
2884 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2886 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
2887 whether to show or not the 'Done' button each time the dialog is
2888 shown, as it depends on the HildonTouchSelector selection mode.
2890 Fixes: NB#96226 (In multiple selection mode Done button is shown
2891 sometimes in listpicker)
2893 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2895 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
2896 for the number of columns in the HildonTouchSelector more than once.
2898 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2900 * src/hildon-touch-selector.c: Minor documentation fixes.
2902 * src/hildon-picker-dialog.c (+_dialog_update_title)
2903 (_select_on_selector_changed_cb)
2904 (_update_title_on_selector_changed_cb)
2905 (on_selector_columns_changed): Update dialog title when there's no
2906 'Done' button and also when the number of columns in the selector
2910 * src/hildon-picker-button.c (hildon_picker_button_finalize)
2911 (+_selection_changed, hildon_picker_button_on_dialog_response)
2912 (hildon_picker_button_selector_selection_changed)
2913 (+hildon_picker_button_selector_columns_changed)
2914 (hildon_picker_button_set_selector): Update button value and emit
2915 'value-changed' when the number of columns in the selector
2919 Fixes: NB#96225 (Dialog titles are not shown according to the
2920 values selected in the list picker)
2922 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2924 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
2925 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
2926 New "arrow-width" and "arrow-height" style properties to set the
2927 size of the arrow button.
2928 Set name of arrow button ("hildon-edit-toolbar-arrow").
2930 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2931 graphics from theme)
2933 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2935 * src/hildon-picker-button.c:
2936 (hildon_picker_button_selector_selection_changed): Use
2937 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
2938 the dialog is present.
2940 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
2941 the selection is accepted in the dialog)
2943 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2945 * src/hildon-color-chooser.h
2946 * src/hildon-color-chooser-dialog.h:
2947 Added G_BEGIN_DECLS and G_END_DECLS
2949 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2951 (_clean_current_selection): plug a leak in the list.
2953 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2955 * src/hildon-picker-dialog.c:
2956 (+free_path_list): Method to free a GList of GtkTreePaths.
2957 (_clean_current_selection), (_save_current_selection),
2958 (_restore_current_selection): Save the current selection in
2959 as a list of lists, to support multiple selection properly.
2961 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2963 patch by Claudio Saavedra (csaavedra@igalia.com)
2965 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
2966 Store the press position.
2967 (+hildon_text_view_button_release_event): If the release position is
2968 close enough to the press position, move the cursor here. Otherwise,
2970 (hildon_text_view_class_init): Override GtkTextView press, release, and
2971 motion event handlers, disabling this way text selection through
2972 pointer interaction, and allowing the container widget to handle the
2975 Fixes: NB#95828 (HildonTextView functionality)
2977 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2979 Based on a patch by Iván Gómez (igomez@igalia.com)
2981 * src/hildon-button.[ch]
2982 * src/hildon-calendar.c
2983 * src/hildon-check-button.c
2984 * src/hildon-date-editor.c
2985 * src/hildon-date-selector.c
2986 * src/hildon-picker-button.c
2987 * src/hildon-time-editor.c
2988 * src/hildon-time-selector.c
2989 * src/hildon-touch-selector.[ch]:
2990 Documentation updates
2992 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2994 * src/hildon-pannable-area.c,
2995 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
2996 threshold, it was required due to X events handling.
2998 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3000 * src/hildon-pannable-area.c,
3001 (hildon_pannable_area_grab_notify),
3002 (hildon_pannable_area_initial_effect),
3003 (hildon_pannable_area_button_press_cb),
3004 (hildon_pannable_area_button_release_cb),
3005 (hildon_pannable_area_scroll_cb),
3006 (hildon_pannable_area_scroll_to): Review the timeout management of
3007 the scrollbar, the frecuency was incorrectly set.
3009 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
3011 * src/hildon-picker-button.c:
3012 (+hildon_picker_button_on_dialog_response),
3013 (hildon_picker_button_clicked): Present the dialog instead of
3014 running it with gtk_dialog_run().
3016 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
3019 2009-01-07 Alberto Garcia <agarcia@igalia.com>
3021 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3022 (hildon_app_menu_finalize): When a window is hidden it doesn't
3023 emit notify::is-topmost, so make sure than the menu also
3024 disappears in that case.
3025 (parent_window_topmost_notify): Renamed from parent_window_hidden
3027 Fixes: NB#94460 (stackable window's menu is not closed when its
3030 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3032 * src/hildon-touch-selector-entry.c:
3033 (+hildon_touch_selector_entry_set_input_mode),
3034 (+hildon_touch_selector_entry_get_input_mode):
3035 * src/hildon-touch-selector-entry.h: New methods to access the input
3036 mode in the selector's entry.
3038 Fixes: NB#93410 (API required for setting IM mode in
3039 HildonTouchSelectorEntry)
3041 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3043 * configure.ac: post release version bump.
3044 * debian/changelog: version bump
3046 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3051 * configure.ac: Bump version.
3052 * debian/changelog: Updates.
3054 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
3056 * src/hildon-touch-selector.c:
3057 (_hildon_touch_selector_has_multiple_selection): No need
3058 to initialize the variables here.
3060 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3062 * src/hildon-note-private.h
3063 * src/hildon-note.c (event_box_press_event, hildon_note_init)
3064 (hildon_note_finalize, hildon_note_rebuild): Close information
3065 notes when they receive a button press.
3067 Fixes: NB#89890 (Information notes does not get disappeared after
3070 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
3072 * src/hildon-wizard-dialog.c: (create_title): Remove translation
3073 mark from the wizard title, as it's not really necessary. Also,
3074 do not display the page title if not set.
3076 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3078 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3079 (parent_window_hidden): Use the window's "is-topmost" property to
3080 detect when to hide the menu.
3082 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3084 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3085 (hildon_app_menu_finalize): If the parent window of the menu is
3086 hidden, hide the menu too.
3088 Fixes: NB#94460 (stackable window's menu is not closed when its
3091 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3094 * debian/libhildon1-examples.install
3096 * examples/Makefile.am:
3097 Use dh_install to install all examples.
3098 Use DEB_SRCDIR instead of defining SOURCE_DIR
3100 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3102 * configure.ac: post release version bump.
3103 * debian/changelog: version bump
3105 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3110 * configure.ac: bump version
3111 * debian/changelog: updates
3112 * debian/control: bump gtk+ dependency
3114 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3116 patch by Christian Dywan (christian@imendio.com)
3118 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
3119 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
3121 2008-12-15 Alberto Garcia <agarcia@igalia.com>
3123 * src/hildon-check-button.c (hildon_check_button_init)
3124 (hildon_check_button_class_init, hildon_check_button_style_set)
3125 (hildon_check_button_apply_style):
3126 New "checkbox-size" style property.
3128 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
3129 larger / configurable size)
3131 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3133 * configure.ac: post release version bump.
3134 * debian/changelog: version bump
3136 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3141 * configure.ac: bump version
3142 * debian/changelog: updates
3144 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3146 * doc/hildon-sections.txt
3147 * src/hildon-pannable-area.c
3148 * src/hildon-program.c
3149 * src/hildon-time-editor.c
3150 * src/hildon-touch-selector-entry.c:
3152 More documentation updates.
3154 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3156 * doc/hildon-sections.txt
3157 * src/hildon-caption.c
3158 * src/hildon-code-dialog.c
3159 * src/hildon-color-button.c
3160 * src/hildon-controlbar.c
3161 * src/hildon-date-editor.c
3162 * src/hildon-date-selector.c
3163 * src/hildon-edit-toolbar.c
3164 * src/hildon-find-toolbar.c
3165 * src/hildon-font-selection-dialog.c
3167 * src/hildon-program.c
3168 * src/hildon-range-editor.c
3169 * src/hildon-seekbar.c
3170 * src/hildon-time-editor.c
3171 * src/hildon-time-selector.c
3172 * src/hildon-volumebar-range.c
3173 * src/hildon-volumebar.c
3174 * src/hildon-vvolumebar.c
3175 * src/hildon-weekday-picker.c
3176 * src/hildon-window.c
3177 * src/hildon-wizard-dialog.c:
3179 Lots of documentation fixes.
3181 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3183 Patch contributed by Iván Gómez (igomez@igalia.com)
3185 * src/hildon-check-button.c:
3186 * src/hildon-date-button.c:
3187 * src/hildon-date-selector.c:
3188 * src/hildon-dialog.c:
3189 * src/hildon-edit-toolbar.c:
3190 * src/hildon-entry.c:
3191 * src/hildon-picker-button.c:
3192 * src/hildon-program.c:
3193 * src/hildon-text-view.c:
3194 * src/hildon-time-button.c:
3195 * src/hildon-touch-selector-entry.c:
3196 * src/hildon-window-stack.c:
3198 Add more "since" tags to the new API.
3200 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3202 * doc/hildon-sections.txt: Add below method.
3203 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
3204 version for the hildonized scale.
3205 * src/hildon-gtk.h: Add the definition.
3207 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3209 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3211 * doc/hildon-sections.txt: Add missing entries for new methods.
3213 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3215 Added API to pannable are in order to get its adjustments. We
3216 added two properties to manage the values we had in the private
3219 * src/hildon-pannable-area.c:
3220 (hildon_pannable_area_class_init): Added hadjustment and
3221 vadjustment properties in order to expose horizontal and vertical
3223 (hildon_pannable_area_get_property),
3224 (hildon_pannable_area_set_property): Added code to handle the new
3226 (hildon_pannable_area_get_hadjustment),
3227 (hildon_pannable_area_get_vadjustment): API functions to get the
3229 * src/hildon-pannable-area.h:
3230 (hildon_pannable_area_get_hadjustment),
3231 (hildon_pannable_area_get_vadjustment): API functions to get the
3234 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3236 Fixed some leaks, after valgrinding.
3238 * src/hildon-touch-selector.c:
3239 (_default_print_func): Fixed a leak.
3240 (hildon_touch_selector_append_column): Fixed a leak.
3241 * src/hildon-date-button.c:
3242 (hildon_date_button_init): Fixed a leak.
3243 * src/hildon-date-selector.c
3244 (hildon_date_selector_finalize): Fixed a leak.
3246 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3248 Based on a patch by Christian Dywan (christian@imendio.com)
3250 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
3252 * src/hildon-gtk.h: Add definition.
3254 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3256 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3258 * src/hildon-picker-button.c: (hildon_picker_button_init),
3259 (hildon_picker_button_new): Set the HildonButton::style property
3260 in the init method, to propagate the value to the derived classes.
3262 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3264 * src/hildon-button.c: (hildon_button_class_init): Do not make
3265 the "style" property a construct property.
3267 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3269 * src/hildon-wizard-dialog.h
3270 * src/hildon-wizard-dialog.c
3271 (hildon_wizard_dialog_set_forward_page_func)
3272 * src/hildon-pannable-area.h
3273 * src/hildon-pannable-area.c
3274 (hildon_pannable_area_set_size_request_policy):
3275 Documentation fixes.
3277 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3279 * doc/hildon-sections.txt: Fixed warning about unused symbols.
3281 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3283 * doc/hildon-sections.txt: Added sections file.
3285 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3288 * src/*.[ch]: Updates.
3290 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
3292 * examples/hildon-progress-indicator-example.c: new file
3293 * examples/Makefile.am: include the new example program
3295 2008-12-10 Alberto Garcia <agarcia@igalia.com>
3297 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
3299 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3301 * configure.ac: post release version bump
3302 * debian/changelog: version bump
3304 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3309 * configure.ac: bump version
3310 * debian/changelog: updates
3311 * debian/control: bump gtk+ dependency
3313 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3315 * src/hildon-dialog.c: Mark as deprecated.
3316 * src/hildon-dialog.h: Mark as deprecated.
3317 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
3318 from HildonDialog and still work, even if
3319 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
3320 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
3322 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
3323 maemo changes) instead)
3325 2008-12-09 Alejandro G. Castro <alex@igalia.com>
3327 * src/hildon-pannable_area.h:
3328 * src/hildon-pannable_area.c:
3329 (hildon_pannable_area_class_init),
3330 (hildon_pannable_area_set_property),
3331 (hildon_pannable_area_get_property),
3332 (hildon_pannable_area_size_request),
3333 (hildon_pannable_area_get_size_request_policy),
3334 (hildon_pannable_area_set_size_request_policy): Added new API
3335 allowing applications to control the request policy. Now they can
3336 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
3337 children allocation (HILDON_MOVEMENT_CHILDREN).
3339 2008-12-09 Alberto Garcia <agarcia@igalia.com>
3343 (hildon_gtk_tree_view_set_ui_mode)
3344 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
3345 mode of treeviews and iconviews.
3347 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3349 * src/hildon-touch-selector-entry.c:
3350 (hildon_touch_selector_entry_init): Use a HildonEntry instead
3351 of a GtkEntry to get proper theming.
3353 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
3354 widget, not GtkEntry)
3356 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3358 * src/hildon-wizard-dialog.c: (response): Move forward if there is
3359 no HildonWizardDialogPageFunc.
3361 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3363 Patch contributed by Iván Gómez (igomez@igalia.com)
3365 * src/hildon-app-menu.c:
3366 * src/hildon-button.c:
3367 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
3368 * src/hildon-stackable-window.c:
3369 * src/hildon-time-selector.c:
3370 * src/hildon-touch-selector.c:
3371 * src/hildon-window.c:
3373 Add more "since" tags to the new API in hildon 2.2.
3375 2008-12-05 Tim Janik <timj@imendio.com>
3377 Patch contributed by Christian Dywan (christian@imendio.com)
3379 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
3380 HildonSizeType, which are supplied by Gtk+ now.
3382 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
3384 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
3385 (with maemo changes) instead)
3387 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3389 Patch contributed by Iván Gómez (igomez@igalia.com)
3391 * src/hildon-pannable-area.c: Add "since" tags to the new API in
3394 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3396 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
3397 (some_page_func), (main): Update the example to use a
3398 HildonWizardDialogPageFunc function.
3400 * src/hildon-wizard-dialog-private.h: Add private data for
3401 the HildonWizardDialogPageFunc function usage.
3403 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
3404 (destroy), (hildon_wizard_dialog_init), (response),
3405 (hildon_wizard_dialog_set_forward_page_func):
3406 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
3407 that applications can use to stop a HildonWizardDialog to jump to
3410 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
3413 2008-12-04 Alberto Garcia <agarcia@igalia.com>
3415 * src/hildon-program.h
3416 * src/hildon-program-private.h
3417 * src/hildon-program.c (hildon_program_init)
3418 (hildon_program_set_common_app_menu)
3419 (hildon_program_get_common_app_menu):
3420 New API for setting a common HildonAppMenu for all
3421 HildonStackableWindows registered with the HildonProgram.
3423 * src/hildon-stackable-window.c
3424 (hildon_stackable_window_toggle_menu):
3425 Use the common HildonAppMenu if a window doesn't have a specific
3428 * src/hildon-app-menu-private.h
3429 * src/hildon-app-menu.c
3430 (hildon_app_menu_get_parent_window):
3431 Function to obtain the window a HildonAppMenu is attached to.
3432 (hildon_app_menu_set_parent_window):
3433 Hide the menu if the parent window is set to NULL.
3435 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
3437 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
3438 set GtkTreeView::enable-search to FALSE, to avoid the interactive
3439 search widget to popup.
3441 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3443 * configure.ac: post release version bump
3444 * debian/changelog: version bump
3446 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3451 * configure.ac: bump version
3452 * debian/changelog: updates
3454 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3456 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
3458 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
3459 (hildon_window_stack_window_realized)
3460 (hildon_window_stack_remove, _hildon_window_stack_do_push):
3461 Set the leader GdkWindow when a window is stacked and realized,
3462 unset it when it's unstacked.
3463 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
3465 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
3467 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3469 * src/hildon-stackable-window.h
3470 * src/hildon-window-stack.h:
3471 Protect definition of HildonWindowStack using the preprocessor.
3473 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3475 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
3476 Fix warning if all menu items are hidden.
3478 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
3480 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3482 * src/hildon-controlbar.c:
3483 * src/hildon-hvolumebar.c:
3484 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
3485 Multiple scale size defines updates.
3487 Fixes: NB#94322 (Scale Updates)
3489 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3491 * examples/hildon-app-menu-example.c (create_menu)
3492 Show items after adding them to the menu, as in the future the
3493 menu will no longer call gtk_widget_show() on the added items.
3495 * src/hildon-app-menu.c:
3496 Update example as explained above.
3498 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3500 * src/hildon-app-menu.c
3501 (hildon_app_menu_insert, hildon_app_menu_add_filter):
3502 Make sure that all menu items have finger height.
3504 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
3506 * src/hildon-picker-dialog.c:
3507 (_on_dialog_response), (_save_current_selection),
3508 (_restore_current_selection), (_clean_current_selection),
3509 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
3510 Defined new functions in order to save the current internal selector
3511 selection previous open the dialog, in case that the use cancel the
3512 interaction, so the widget restores the previous selection.
3514 Fixes: NB#92032 (In calendar application, date values in 'new event'
3517 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
3519 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3521 * src/hildon-button.c: Add a reference to the button examples in
3522 hildon-button-example.c
3524 * examples/hildon-button-example.c: Added examples of the most
3525 common button layouts.
3527 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3529 * src/hildon-app-menu.c (hildon_app_menu_show)
3530 (hildon_app_menu_class_init): Don't show the menu if it's empty.
3532 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
3534 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3536 * src/hildon-picker-dialog.c:
3537 (hildon_picker_dialog_init): Initialize the signal id for
3538 HildonTouchSelector::columns-changed.
3539 (+on_selector_columns_changed): Set up the interaction mode everytime a
3540 column is added or removed from the HildonTouchSelector.
3541 (_hildon_picker_dialog_set_selector): Connect to
3542 HildonTouchSelector::columns-changed and keep track of it.
3544 Make sure to update the interaction mode of the dialog everytime a
3545 column is added or removed in the HildonTouchSelector.
3547 Fixes: NB#93228 (Done button is not shown always in listpicker)
3549 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3551 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
3552 a new ::columns-changed signal.
3553 (hildon_touch_selector_append_column): Emit ::columns-changed.
3554 (hildon_touch_selector_remove_column): Emit ::columns-changed.
3556 Add a ::columns-changed signal, emitted when the number of columns in a
3557 HildonTouchSelector changes.
3559 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3561 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
3562 (_hildon_picker_dialog_set_selector): Factor out the code
3563 to set up the dialog interaction mode.
3565 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3567 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
3568 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
3569 to signal_changed_id.
3571 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3573 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3576 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
3578 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
3579 Updated the logical ids related to ampm format, as now it is required to
3580 show it correctly localized even on languages with no default
3581 abbreviations for am or pm
3582 (_check_am_pm_format): check correctly the 24h format gconf property
3584 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
3586 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3588 * src/hildon-button.c: Documentation updates.
3590 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3592 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
3593 * src/hildon-caption.c: (hildon_caption_class_init):
3594 * src/hildon-color-button.c: (hildon_color_button_class_init):
3595 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
3596 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3597 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
3598 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
3600 Remove deprecated GTK+ marshalers and replace them with the ones
3601 provided by GLib, for those available, add a marshaler for
3602 BOOLEAN:VOID, which is not available in GLib, and use it.
3604 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3606 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
3607 the text from the previous column if there is no
3608 HildonTouchSelectorColumn::text-property set.
3610 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3612 * src/hildon-button.h
3613 * src/hildon-button.c (hildon_button_set_property)
3614 (hildon_button_get_property, hildon_button_class_init)
3615 (hildon_button_set_style, hildon_button_get_style):
3616 New "style" property to change the visual appearance of the
3619 * src/hildon-picker-button.c (hildon_picker_button_new):
3620 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
3622 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
3623 HildonButton look like PickerButton)
3625 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3627 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
3628 column while building the default string.
3630 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3632 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
3633 scroll indicator by default.
3635 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
3637 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3639 * src/hildon-main.c: Fix the documentation for hildon_init()
3641 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3643 * doc/hildon-docs.sgml
3647 * src/hildon-window-stack-private.h
3648 * src/hildon-window-stack.h
3649 * src/hildon-window-stack.c:
3650 New HildonWindowStack object, that adds support for multiple
3651 stacks of windows per process.
3653 * src/hildon-stackable-window-private.h
3654 * src/hildon-stackable-window.h
3655 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
3656 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
3657 (hildon_stackable_window_show, hildon_stackable_window_hide)
3658 (hildon_stackable_window_class_init)
3659 (hildon_stackable_window_init):
3660 Use HildonWindowStack for stack management.
3662 * src/hildon-program.c (hildon_program_pop_window_stack)
3663 (hildon_program_peek_window_stack)
3664 (hildon_program_go_to_root_window):
3665 Add a fallback implementation to the deprecated functions using
3668 * examples/hildon-stackable-window-example.c:
3669 Use the new HildonWindowStack API.
3671 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3673 * src/hildon-stackable-window-private.h
3674 * src/hildon-stackable-window.c (hildon_stackable_window_show)
3675 (hildon_stackable_window_hide, hildon_stackable_window_init):
3676 Remove all window stack management.
3678 * src/hildon-program-private.h
3679 * src/hildon-program.h
3680 * src/hildon-program.c (hildon_program_init)
3681 (hildon_program_pop_window_stack)
3682 (hildon_program_peek_window_stack)
3683 (hildon_program_go_to_root_window):
3684 Remove all window stack management and mark functions as
3687 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3689 * src/hildon-app-menu.c (hildon_app_menu_realize):
3690 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
3692 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3694 * configure.ac: post release version bump
3695 * debian/changelog: version bump
3697 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3702 * configure.ac: bump version
3703 * debian/changelog: updates
3705 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3707 Based on initial code by Christian Dywan (christian@imendio.com)
3709 * doc/hildon-docs.sgml: Add section for hildon-main.
3710 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
3711 * src/Makefile.am: Add new hildon-main.[ch]
3712 * src/hildon-defines.h: Update the icon sizes.
3713 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
3714 new library initialization files and register icon sizes.
3715 * src/hildon-main.h: New declarations.
3716 * src/hildon.h: Include hildon-main.h
3718 Add new initialization functions to the library. These methods
3719 will register the hildon specific icon sizes and can be used in the
3720 future for other hildon specific bits.
3722 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
3724 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3726 * src/hildon-window.c: (hildon_window_realize),
3727 (hildon_window_notify), (-hildon_window_update_title): Do not set
3728 the application name in the window title.
3730 Fixes: NB#89754 (Applications shouldn't display their names in the
3733 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3735 * src/hildon-note-private.h:
3736 * src/hildon-note.c: (hildon_note_set_property),
3737 (hildon_note_get_property), (hildon_note_class_init),
3738 (hildon_note_init), (hildon_note_finalize),
3739 (hildon_note_new_confirmation_with_icon_name),
3740 (hildon_note_new_information_with_icon_name):
3742 No need to mark as deprecated the actual code. Revert
3743 to avoid missing symbols in widgets using deprecated API.
3745 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3747 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
3749 * src/hildon-volumebar.h
3750 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
3751 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
3753 * src/hildon-helper.h
3754 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
3755 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
3757 * examples/Makefile.am:
3758 Deprecate hildon-insensitive-example
3760 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
3762 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3764 * examples/hildon-pannable-area-buttons-scroll-example.c:
3765 Make all buttons finger height
3767 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
3769 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
3771 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
3772 update the day model only if it is really required, and to avoid the
3773 full-reconstruction aproach. Now it only add or remove the required days.
3775 The purpose of this is avoid superfluous HildonTouchSelector::changed
3778 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
3779 with strange parameters)
3781 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
3783 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
3785 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
3786 the WINDOW_TYPE property.
3788 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
3790 2008-11-19 Alberto Garcia <agarcia@igalia.com>
3793 Fix dependency to allow parallel compilation with make -jX
3795 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
3797 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
3798 color frame and some minor tweaks to make it more consistent with
3801 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
3802 highlighted but not visible)
3804 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3806 * examples/Makefile.am: Fixed typo in the Makefile.am.
3808 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3810 Reviewed the use of MAEMO_GTK define, now we add the define in the
3811 compilation line, and we also add it to the pc file.
3813 * configure.ac: Added MAEMO_GTK define to the compilation command
3814 and removed it from the config.h.
3816 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
3817 do not have to take care about this define if the library was
3821 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
3823 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3825 * examples/Makefile.am,
3826 * examples/hildon-pannable-area-buttons-scroll-example.c,
3827 * examples/hildon-pannable-area-gesture-signals-example.c,
3828 * examples/hildon-pannable-area-scroll-jump-example.c,
3829 * examples/hildon-pannable-area-tree-view-example.c:
3830 Renamed the pannable area examples, now they have more meaningful
3833 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
3835 * src/hildon-touch-selector.c:
3836 (hildon_touch_selector_set_column_selection_mode): Used of
3837 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
3838 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
3839 to avoid re-seting the same selection mode.
3841 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
3842 breaks HildonPickerDialog)
3844 2008-11-13 Alejandro G. Castro <alex@igalia.com>
3846 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
3847 conditional in the Makefile.am
3849 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
3851 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
3852 Remove unused methods.
3854 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3856 * src/hildon-button.c (hildon_button_init):
3857 Make button images center-aligned by default
3859 2008-11-12 Alejandro G. Castro <alex@igalia.com>
3862 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
3863 activated, we have to think about how to deal with both defines
3864 MAEMO_GTK and MAEMO_CHANGES.
3866 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3868 * examples/hildon-app-menu-example.c (create_menu): Make all
3869 buttons finger size.
3871 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3873 Fixed the compilation without maemo gtk adding ifdefs with
3874 MAEMO_GTK define to the code, we have to check this version more
3877 * examples/Makefile.am: Added control to avoid some examples that
3878 just make sense with maemo gtk.
3881 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
3882 hildon modes with the define.
3884 * examples/hildon-edit-toolbar-example.c,
3885 (create_icon_view): Create the icon view without hildon-gtk
3886 helpers if we are not using maemo gtk.
3888 * src/hildon-touch-selector.c,
3889 (_create_new_column): Create the treeview without hildon-gtk
3890 helpers if we are not using maemo gtk.
3892 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3894 * src/hildon-pnnable-area.c,
3895 (hildon_pannable_area_dispose),
3896 (hildon_pannable_area_button_press_cb),
3897 (hildon_pannable_area_child_mapped),
3898 (hildon_pannable_area_add),
3899 (hildon_pannable_area_remove): Added code to control the position
3900 of the event_window when adding and removing children from the
3901 pannable. We have to raise the event window when the child is
3904 Fixes: NB#89811 (Not able to select first image thumbnail in multi
3905 selection mode using custom widget inside pannable)
3907 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3909 * configure.ac: post release version bump
3910 * debian/changelog: version bump
3912 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3917 * configure.ac: bump version
3918 * debian/changelog: updates
3920 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
3922 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
3923 search mode, in order to avoid lose the focus on the treeview when
3924 a hw key (like enter) is pressed.
3926 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
3927 in HildonDateSelector dialog)
3929 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
3931 * debian/rules: Added --enable-maintainer-mode
3932 * Makefile.am: Added ACLOCAL_AMFLAGS
3934 This allows to properly regenerate the Makefiles if you modify the
3935 configure.ac or any Makefile.am.
3937 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3939 * examples/hildon-app-menu-example.c: (main): Do not set RC style
3940 properties, not needed at all.
3942 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3944 * src/hildon-note-private.h: Add strings for the icon and stock_icon
3946 * src/hildon-note.c: (hildon_note_set_property),
3947 (hildon_note_get_property), (hildon_note_class_init),
3948 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
3949 (hildon_note_new_confirmation_add_buttons): Remove icons.
3950 (hildon_note_new_confirmation_with_icon_name): Deprecate.
3951 (hildon_note_new_information_with_icon_name): Deprecate.
3952 (hildon_note_new_confirmation): Act directly, without calling
3953 the deprecated constructor.
3954 (hildon_note_new_information): Act directly, without calling
3955 the deprecated constructor.
3956 * src/hildon-note.h: Mark deprecate methods as such.
3957 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
3958 not run tests on the deprecated methods if built with deprecation
3961 Fixes: NB#91688 (Never show icons in information notes/confirmation
3964 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3966 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
3967 (hildon_app_menu_key_press): Remove leftover usage of the
3968 private structure in HildonAppMenu struct.
3969 * src/hildon-app-menu.h: Remove leftover private structure
3970 from the HildonAppMenu struct.
3972 Fixes a crasher when using the HildonAppMenu.
3974 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3976 * src/hildon-picker-dialog.c: Use appropriate logical id
3977 for the default "Done" text.
3979 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3981 * configure.ac: post release version bump
3982 * debian/changelog: version bump
3984 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
3986 Modified the way to scroll to the current selection just when the touch
3987 selector is shown on the screen, avoiding a g_idle. Added too a property
3988 to configure this behaviour. See hildon_pannable_area_jump_to_child
3989 documentation for more information.
3991 * src/hildon-touch-selector.c
3992 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
3993 Added 'initial-scroll' property
3994 (hildon_touch_selector_set_property): Added
3995 (hildon_touch_selector_map): Removed as not required anymore
3996 (_hildon_touch_selector_on_selected_items): Modified in order to manage
3997 only a concrete column, instead of iterate along all the columns
3999 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4004 * configure.ac: bump version
4005 * debian/changelog: updates
4007 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4009 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
4010 compilation time warnings.
4012 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4014 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4015 the default value for HildonPannableArea::mov-mode to
4016 HILDON_PANNABLE_AREA_MODE_VERT.
4018 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
4020 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4022 Reverting following commit:
4024 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4026 * src/hildon-app-menu-private.h
4027 * src/hildon-app-menu.[ch]
4028 * src/hildon-button.[ch]
4029 * src/hildon-check-button.[ch]
4030 * src/hildon-entry.[ch]
4031 * src/hildon-pannable-area.[ch]
4032 * src/hildon-text-view.[ch]:
4033 Added private field to the object's structure.
4035 because it causes an ABI breakage. We will need to introduce these
4036 changes later at some point. See NB#91636 for an extensive
4037 explanation and status.
4039 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4041 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4043 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4044 remove special cases that are no longer necessary.
4046 Fixes: NB#91016 (Change toolbar sizes, simplification)
4048 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4050 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4051 is shown in the cancel note.
4053 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4055 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
4056 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
4057 (hildon_seekbar_init): Remove steppers, remove expose event.
4058 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
4060 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
4062 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
4064 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
4065 label font to "SmallSystemFont" for vertically arranged buttons.
4067 Fixes: NB#90662 (HildonButton "value" and "detail" text is
4070 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4072 * src/hildon-check-button.c
4073 (hildon_check_button_set_active, hildon_check_button_clicked):
4074 Don't access private parts directly, use getters instead.
4076 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4078 * src/hildon-check-button.c (hildon_check_button_new):
4079 Align the contents of the check button to the left.
4081 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4083 * src/hildon-pannable-area.c,
4084 (hildon_pannable_area_scroll_to),
4085 (hildon_pannable_area_jump_to),
4086 (hildon_pannable_area_scroll_to_child),
4087 (hildon_pannable_area_jump_to_child): Replace the mapped
4088 precondition of these functions with the realized, it is the
4089 correct state of the widget in this case. Changed the
4090 documentation according to this modification.
4092 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4094 Added a new EXTRA_CFLAGS option to add the deprecated define to
4095 the compilation command. This way we can avoid using the define in
4096 the documentation compilation.
4098 * configure.ac: Defined EXTRA_CFLAGS.
4100 * examples/Makefile.am:
4102 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
4104 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
4106 * src/hildon-picker-dialog.c:
4107 Defined a utility macro with the desired touch selector height
4108 Removed currently unused separator, and title_label variables from
4110 (hildon_picker_dialog_init): Removed code related to the creation
4111 of unused private variables title_label and separator.
4112 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
4113 to ensure correct visualization of the touch selector inside the dialog.
4114 * src/hildon-touch-selector.c
4115 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
4116 ensure a concrete height of the widget.
4118 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4121 * tests/Makefile.am:
4123 Remove spurious whitespaces.
4125 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4127 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
4128 compilation warning after the cancel button removal.
4130 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4132 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
4134 * configure.ac: Added an AM_CONDITIONAL in order to use in the
4135 Makefile.am, that way we can choose not to compile some examples
4136 and tests of the deprecated widgets.
4138 * examples/Makefile.am: Divided the sources in deprecated and
4141 * src/Makefile.am: Added undef statement of the deprecated
4142 symbol to the enums file generation process.
4144 * src/hildon-color-chooser-dialog.c
4145 * src/hildon-color-chooser-dialog.h
4146 * src/hildon-color-button.c
4147 * src/hildon-color-button.h
4148 * src/hildon-color-chooser.c
4149 * src/hildon-color-chooser.h
4150 * src/hildon-controlbar.c
4151 * src/hildon-controlbar.h
4152 * src/hildon-date-editor.c
4153 * src/hildon-date-editor.h
4154 * src/hildon-hvolumebar.c
4155 * src/hildon-hvolumebar.h
4156 * src/hildon-private.c
4157 * src/hildon-private.h
4158 * src/hildon-range-editor.c
4159 * src/hildon-range-editor.h
4160 * src/hildon-seekbar.c
4161 * src/hildon-seekbar.h
4162 * src/hildon-time-editor.c
4163 * src/hildon-time-editor.h
4164 * src/hildon-time-picker.c
4165 * src/hildon-time-picker.h
4166 * src/hildon-volumebar.c
4167 * src/hildon-volumebar.h
4168 * src/hildon-vvolumebar.c
4169 * src/hildon-vvolumebar.h
4170 * src/hildon-bread-crumb-trail.h
4171 * src/hildon-bread-crumb-trail.c
4172 * src/hildon-calendar-popup.c
4173 * src/hildon-calendar-popup.h
4174 * src/hildon-weekday-picker.c:
4175 * src/hildon-weekday-picker.h:
4176 * src/hildon-bread-crumb-widget.c:
4177 * src/hildon-bread-crumb-widget.h:
4178 * src/hildon-bread-crumb.c:
4179 * src/hildon-bread-crumb.h:
4180 * src/hildon-calendar.c:
4181 * src/hildon-calendar.h:
4182 * src/hildon-caption.c:
4183 * src/hildon-code-dialog.c:
4184 * src/hildon-code-dialog.h:
4185 * src/hildon-font-selection-dialog.c:
4186 * src/hildon-font-selection-dialog.h:
4187 * src/hildon-get-password-dialog.c:
4188 * src/hildon-get-password-dialog.h:
4189 * src/hildon-login-dialog.c:
4190 * src/hildon-login-dialog.h:
4191 * src/hildon-number-editor.c:
4192 * src/hildon-number-editor.h:
4193 * src/hildon-set-password-dialog.c:
4194 * src/hildon-set-password-dialog.h:
4195 * src/hildon-sort-dialog.c:
4196 * src/hildon-sort-dialog.h: This is the list of deprecated
4199 * src/hildon-touch-selector.c:
4200 * src/hildon-window.c: Added undef statement to avoid compilation
4203 * tests/Makefile.am: Divided the sources in deprecated and
4206 * tests/check_test.c,
4207 (configure_tests): Marked the deprecated code that was adding
4208 suites with deprecated tests.
4210 Fixes: NB#91135 (Deprecate legacy hildon widgets)
4212 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4214 * src/hildon-touch-selector.c: (_default_print_func): Do not
4215 duplicate a string returned by gtk_tree_model_get(), it is already
4218 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
4221 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4223 * src/hildon-pannable-area.c
4224 (hildon_pannable_area_add_with_viewport): Reviewed the complete
4225 method, it had problems when adding a widget with viewport the
4226 second time. Now checks if it already has a viewport and uses it.
4228 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
4231 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4233 * src/hildon-pannable-area.c,
4234 (hildon_pannable_area_scroll_to),
4235 (hildon_pannable_area_jump_to),
4236 (hildon_pannable_area_scroll_to_child),
4237 (hildon_pannable_area_jump_to_child): Added a precondition to the
4238 scroll and jump to functions: the widget must be mapped before we
4239 can safely call these functions. We have also added documentation
4240 to the functions to explain how to use them in this situation.
4243 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4245 Reviewed the threading handling of the pannable widget, we have
4246 used the gdk_threads_add_timeout function instead of the usual
4247 glib handlers. This avoids some problems with the threads.
4249 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
4250 (hildon_pannable_area_initial_effect),
4251 (hildon_pannable_area_scroll_indicator_fade),
4252 (hildon_pannable_area_button_press_cb),
4253 (hildon_pannable_area_timeout),
4254 (hildon_pannable_area_motion_notify_cb),
4255 (hildon_pannable_area_button_release_cb),
4256 (hildon_pannable_area_scroll_cb),
4257 (hildon_pannable_area_scroll_to): Removed the
4258 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
4259 gdk_threads_add_timeout.
4261 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
4263 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4268 * configure.ac: bump version
4269 * debian/changelog: updates
4271 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4273 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4274 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
4275 * src/hildon-color-chooser-dialog.c:
4276 (hildon_color_chooser_dialog_init):
4277 * src/hildon-font-selection-dialog.c:
4278 (hildon_font_selection_dialog_init):
4279 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
4281 Remove all cancel/close-like dialogs, as these are not going to be
4284 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4286 * src/hildon-note.c: (hildon_note_rebuild),
4287 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
4290 Fixes: NB#90661 (Delete dialog is displayed without NO button)
4292 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4294 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
4295 sure all buttons are shown, even the Cancel/Close-like ones.
4297 Fixes: NB#90861 (Custom Confirmation dialogs should be
4298 protected from cancel button removal)
4300 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4302 * debian/control: Change libhildon1-examples dependency from libhildon1
4304 * debian/libhildon1-examples.install
4306 * Makefile.am: Modified the final install directory for the examples on
4307 package libhildon1-examples
4308 * Makefile.static: Update clean target in order to remove all the binary
4311 Changes suggested by Claudio after review new libhildon1-examples package
4313 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
4315 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
4316 * src/hildon-touch-selector.c: Ditto.
4318 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4320 * debian/control: Added new package libhildon1-examples, in order to pack
4321 the current hildon examples as documentation
4322 * debian/rules: Not to compress .c files, modify some includes on the
4323 examples (as normally are compiled locally, but when installed it will
4324 require to include the installed libhildon1 library), and rename
4326 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
4327 install all the example files on the new example package
4328 * examples/Makefile.static: Added static makefile that can be used to
4329 compile the examples, once installed the new example package
4330 * examples: Most of the examples were modified in order to grant that
4331 all use only '#include "hildon.h"', in order to be easy to prepare
4332 it on the example package
4334 2008-10-23 Alberto Garcia <agarcia@igalia.com>
4337 * debian/libhildon1-dev.install
4338 * debian/libhildon1-doc.install:
4339 Move all gtk-doc files to a separate libhildon1-doc package.
4341 2008-10-23 Daniel Borgmann <danielb@openismus.com>
4343 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4345 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
4347 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
4349 * debian/rules: Fixed a error in order to avoid unnecessary calls
4350 to autogen.sh on package building
4352 2008-10-22 Alberto Garcia <agarcia@igalia.com>
4354 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
4356 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4358 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
4361 2008-10-21 Alberto Garcia <agarcia@igalia.com>
4363 * src/hildon-picker-button.c
4364 (hildon_picker_button_finalize):
4365 Free priv->done_button_text
4367 * src/hildon-time-button.c
4368 (hildon_time_button_set_time)
4369 * src/hildon-picker-button.c
4370 (hildon_picker_button_clicked)
4371 (hildon_picker_button_selector_selection_changed)
4372 (hildon_picker_button_set_selector)
4373 * src/hildon-date-button.c
4374 (hildon_date_button_set_date):
4375 Free strings returned by hildon_touch_selector_get_current_text()
4377 * src/hildon-button.c (hildon_button_construct_child):
4378 Fix leaks in priv->image and priv->label_box
4380 Fixes: NB#90535 (Memory leak in picker button)
4382 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4384 * src/hildon-button.c: (hildon_button_get_property): Do not access
4385 private elements directly, use getters instead.
4387 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4389 * src/hildon-app-menu-private.h
4390 * src/hildon-app-menu.c
4391 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
4392 Store the menu's parent window.
4394 * src/hildon-stackable-window.c
4395 (hildon_stackable_window_toggle_menu)
4396 (hildon_stackable_window_finalize):
4397 Set the menu's parent window when the menu is shown, unset it when
4400 * src/hildon-app-menu.c
4401 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
4402 (hildon_app_menu_class_init):
4403 Send unhandled keyboard accelerators to the parent window.
4405 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4407 * src/hildon-stackable-window.c
4408 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
4410 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4412 * configure.ac: post release version bump
4414 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4417 * configure.ac: Bump version
4418 * debian/changelog: Updates
4419 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
4422 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4424 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4427 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
4428 GtkMenu with Hildon style.
4430 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4432 * src/hildon-picker-button.c:
4433 (hildon_picker_button_set_done_button_text): Set the dialog's
4434 done button text here as well.
4436 Fixes: NB#90232 (Picker button does not set the label on done button
4437 for the second time)
4439 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4441 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
4444 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4446 * src/hildon-app-menu.c (hildon_app_menu_insert)
4447 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
4448 the HildonAppMenu to be activatable using keyboard accelerators
4449 when the menu is not being shown.
4451 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
4453 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4455 * src/hildon-stackable-window.c
4456 (hildon_stackable_window_show):
4457 Don't hide old windows automatically when new windows are shown:
4458 this is now a task for the window manager.
4459 (hildon_stackable_window_class_init)
4460 (hildon_stackable_window_hide):
4461 Remove windows from the stack everytime they're hidden.
4462 (hildon_stackable_window_realize):
4463 Don't change the _NET_WM_WINDOW_TYPE property. Use
4464 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
4465 it as a stackable window.
4467 * src/hildon-program.c
4468 (hildon_program_pop_window_stack):
4469 Just hide the window to remove it from the stack.
4470 (hildon_program_go_to_root_window):
4471 Don't call gtk_widget_show(), this is now a task for the window
4474 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
4476 2008-10-15 Alberto Garcia <agarcia@igalia.com>
4478 * src/hildon-button.c
4479 (hildon_button_construct_child):
4480 Don't pack anything in the button until text or image are
4481 set. This allows adding a custom child after creating the button
4482 with hildon_button_new().
4483 (hildon_button_finalize, hildon_button_class_init)
4484 (hildon_button_init, hildon_button_set_arrangement): Destroy the
4485 alignment and the label box even when they're not packed in the
4488 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
4490 * src/hildon-touch-selector.h:
4491 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
4492 currently the type definition was using GTK_TYPE_VBOX
4493 * src/hildon-touch-selector.c:
4494 Added some implementation notes in order to clarify that any other widget
4495 added without the column related API will not be included on the
4496 selection logic, and how the widget is freed, as some people ask about
4498 (hildon_touch_selector_remove): Reimplemented in order to free properly
4499 the column related data when you remove the private hbox.
4500 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
4501 to get a proper HildonTouchSelectorColumn documentation
4503 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4505 * src/hildon-touch-selector-entry.c:
4506 (hildon_touch_selector_entry_print_func): Return NULL if there is no
4507 text in the GtkEntry and there is no item selected. Fixes a
4510 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4512 * src/hildon-app-menu-private.h
4513 * src/hildon-app-menu.[ch]
4514 * src/hildon-button.[ch]
4515 * src/hildon-check-button.[ch]
4516 * src/hildon-entry.[ch]
4517 * src/hildon-pannable-area.[ch]
4518 * src/hildon-text-view.[ch]:
4519 Added private field to the object's structure.
4521 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4523 * configure.ac: post-release version bump
4525 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4529 * configure.ac: pre-release version bump
4531 * debian/changelog: updates.
4533 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4535 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
4536 Disconnect the handler for HildonTouchSelector::changed.
4538 (hildon_picker_button_selector_selection_changed): Update the button
4539 value if the selection change was not triggered by the
4542 (hildon_picker_button_set_selector): connect to
4543 HildonTouchSelector::changed.
4545 Fixes: NB#89650 (Picker button is not updated, when selection in
4546 selector has changed)
4548 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
4550 * src/hildon-picker-dialog.c
4551 (hildon_picker_dialog_realize): Removed as not required
4552 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
4553 * src/hildon-picker-button.c
4554 (_current_selector_empty): New function, checks if the selector is empty
4555 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
4556 if the current selector is empty, in order to avoid to show the dialog
4557 close the dialog in this case (and shows a g_warning).
4559 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
4561 2008-10-09 Alejandro G. Castro <alex@igalia.com>
4563 * src/hildon-pannable-area.c,
4564 (hildon_pannable_area_scroll): Added clause to stop movement when
4565 the child of pannable is smaller than one page.
4566 (hildon_pannable_area_scroll_to): Added conditions to avoid
4567 starting the scrolling movement if the child is smaller than one
4568 page, the complete child is in the screen, we do not have to move.
4570 Fixes: NB#89632 (Picker button selection doesn't change on first click)
4572 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4574 * src/hildon-app-menu.c: Removed the 'columns' property, as now
4575 this is managed automatically by the widget when the size of the
4578 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4580 * src/hildon-picker-button.c
4581 (hildon_picker_button_set_done_button_text): Make a copy of the
4582 text, and free the previous value.
4584 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4586 * src/hildon-touch-selector-entry.c:
4587 (hildon_touch_selector_entry_print_func): Return the selected row's
4588 text if the entry is empty.
4590 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
4593 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4595 * src/hildon-touch-selector-entry.c: Minor docs fixes.
4597 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4600 * src/hildon-check-button.h
4601 * src/hildon-check-button.c
4602 * examples/hildon-check-button-example.c:
4603 HildonCheckButton is now a new widget. 'toggled' signal added.
4605 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4607 * src/hildon-program-private.h
4608 * src/hildon-program.c (hildon_program_init)
4609 (hildon_program_finalize): Removed unused variables group_leader
4610 and name from HildonProgramPrivate.
4612 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4614 * src/hildon-check-button.c (hildon_check_button_set_active)
4615 (hildon_check_button_get_active, hildon_check_button_new): Use
4616 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
4618 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
4620 * src/hildon-touch-selector.h
4621 (hildon_touch_selector_set_column_attributes): added deprecation
4622 guard HILDON_DISABLE_DEPRECATED
4623 * src/hildon-time-selector.c
4624 (hildon_time_selector_set_time)
4625 (hildon_time_selector_get_time): Fixed a typo on documentation
4626 * src/hildon-touch-selector.c: update HildonTouchSelector and
4627 HildonTouchSelectorColumn documentation
4628 * src/hildon-touch-selector-entry.c: update "text-column" property
4630 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
4631 to be added to the general documentation.
4633 2008-10-08 Alejandro G. Castro <alex@igalia.com>
4635 * examples/hildon-pannable-area-example-4.c,
4637 * examples/hildon-pannable-area-example.c,
4638 (main): Modified the code in order to use the container add, with
4639 viewport treeviews could have problems if they are really big.
4641 2008-10-06 Alejandro G. Castro <alex@igalia.com>
4643 * src/hildon-weekday-picker.c,
4644 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
4645 the agreement regarding deprecation in the library.
4647 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4649 * examples/hildon-picker-button-multicolumn-example.c:
4650 (main): Use custom "done" button text.
4652 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4653 (hildon_picker_button_set_property),
4654 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4655 (hildon_picker_button_init),
4656 (+hildon_picker_button_get_done_button_text),
4657 (+hildon_picker_button_set_done_button_text): New methods to customize
4658 the "done" button label in the launched HildonPickerDialog. Also,
4661 * src/hildon-picker-button.h: add the public API.
4663 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4665 * src/hildon-date-selector.h:
4666 * src/hildon-picker-dialog.h:
4667 * src/hildon-time-selector.h:
4668 * src/hildon-touch-selector-column.h:
4669 * src/hildon-touch-selector.h:
4671 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
4672 declarations. Fixes gtk-doc warnings.
4674 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4676 * src/hildon-picker-dialog.h
4677 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
4678 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
4680 Fixes: NB#89329 (selectors in picker dialog are not visible when a
4681 long text is set as label for done button)
4683 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4685 * src/hildon-dialog.c (hildon_dialog_add_button):
4686 Set fixed width to all buttons in the HildonDialog.
4688 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4690 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4692 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
4693 Set widget name using class name plus "-finger" or "-thumb".
4695 2008-10-03 Alberto Garcia <agarcia@igalia.com>
4697 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
4698 'clicked' when the state of the button is manually changed.
4700 2008-10-02 Alberto Garcia <agarcia@igalia.com>
4702 * src/hildon-app-menu.c (hildon_app_menu_realize)
4703 (hildon_app_menu_unrealize, hildon_app_menu_init)
4704 (hildon_app_menu_class_init, item_visibility_changed):
4705 Change the menu layout when the size of the screen changes.
4706 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
4707 Show warning only when changing the number of colums using the
4710 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
4712 * debian/compat: Set to 5
4713 * debian/control: Update dependencies.
4714 * debian/libhildon1-dbg.install: Remove.
4715 * debian/libhildon1-dev.install: Update according to cdbs paths.
4716 * debian/libhildon1.install: Update according to cdbs paths.
4717 * debian/rules: Switch to cdbs.
4719 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4721 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
4722 'item' variable renamed to 'filter'
4724 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4726 * src/hildon-app-menu.c (hildon_app_menu_insert)
4727 (hildon_app_menu_add_filter, remove_item_from_list)
4728 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
4729 Don't leak hidden items when the menu is destroyed.
4731 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4733 * src/hildon-app-menu.c (hildon_app_menu_insert)
4734 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
4735 (hildon_app_menu_set_columns, item_visibility_changed)
4736 (filter_visibility_changed, hildon_app_menu_repack_filters)
4737 (hildon_app_menu_repack_items):
4738 Repack items and filters separately.
4740 Don't repack all items, change only the ones that are needed to
4743 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4745 * src/Makefile.am: added hildon-touch-selector-column.h
4747 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4749 * src/hildon-touch-selector.c: added the property "text-column" to the
4750 class HildonTouchSelectorColumn, and related get/set functions
4751 (_default_printf_func): updated to use "text-column" property
4752 * src/hildon-touch-selector-entry.c: mark as deprecated the property
4753 "text-column" in his documentation, as this is now included on
4754 HildonTouchSelectorColumn. The get/set_property can still be used,
4755 working as a wrapper to the concrete column "text-column" property
4756 (_text_column_modified): callback added in order to handle the signal
4757 "notify::text-column" of the concrete HildonTouchSelectorColumn
4758 (hildon_touch_selector_entry_get_text_column)
4759 (hildon_touch_selector_entry_set_text_column): Added documentation, and
4760 modified in order to use the HildonTouchSelectorColumn "text-column"
4762 * src/hildon-time-selector.c:
4763 * src/hildon-date-selector.c:
4764 * examples/hildon-touch-selector-example.c
4765 * examples/hildon-touch-selector-multi-cells-example.c
4766 * examples/hildon-picker-button-multicolumn-example.c
4767 Set the right value to "text-column" property on the creation of a new
4768 column using hildon_touch_selector_append_column()
4770 Fixes: NB#88644 (Hardcoded first column of the model as text column)
4772 2008-09-30 Alberto Garcia <agarcia@igalia.com>
4774 * src/hildon-app-menu.c
4775 (hildon_app_menu_construct_child, hildon_app_menu_init): When
4776 updating the layout of the menu, don't create all widgets again,
4777 just repack the items in their new places.
4779 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
4781 * src/hildon-time-selector.c
4782 (hildon_time_selector_get_time)
4783 (hildon_time_selector_set_time)
4784 Added documentation of these public methods
4786 * src/hildon-date-button.h
4787 * src/hildon-touch-selector-column.h
4788 * src/hildon-time-button.h
4789 * src/hildon-picker-dialog.h
4790 * src/hildon-time-selector.h
4791 * src/hildon-picker-button.h
4792 * src/hildon-touch-selector.h
4793 * src/hildon-time-picker.h
4794 * src/hildon-date-selector.h
4795 * src/hildon-touch-selector-entry.h
4796 Modified in order to use hildon-widgets code style
4798 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4800 Added deprecated support to the compilation process using
4801 HILDON_DISABLE_DEPRECATED
4803 * configure.ac: Added the --disable-deprecated to the configure
4806 * src/hildon-weekday-picker.c:
4807 * src/hildon-weekday-picker.h: Deprecated widget, example of how
4808 to use the deprecated support. We will update the other deprecated
4809 widgets status in a new patch.
4811 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4813 * configure.ac: Fixed typo with fatal warnings support, the
4814 variable name was not correct
4816 2008-09-29 Alberto Garcia <agarcia@igalia.com>
4818 * src/hildon-app-menu.c
4819 * src/hildon-program.c: Update documentation.
4821 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4823 * configure.ac: Post-release version bump.
4825 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4830 * configure.ac: Pre-release version bump.
4831 * debian/changelog: Updates.
4833 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4835 * NEWS: Update news for previous releases.
4837 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4839 * examples/hildon-touch-selector-multi-cells-example.c:
4840 (create_selector): Update the example to use
4841 hildon_touch_selector_append_column() with a NULL renderer and set
4842 the renderers later.
4843 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
4844 passed a NULL renderer. This is documented behavior now.
4846 Allow passing a NULL renderer to hildon_touch_selector_append_column().
4847 This must be used if the developer wants full control on the layout of
4848 the renderers to be added to the column.
4850 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4852 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4854 * src/hildon-touch-selector.c: Documentation fixes.
4856 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4858 * src/hildon-wizard-dialog-private.h: Remove image and box.
4859 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
4860 (hildon_wizard_dialog_set_property), (response): Completely remove
4861 image/icon support, and the containers required for the layout.
4863 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
4865 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4867 * src/hildon-app-menu.c: Updated documentation.
4869 * src/hildon-stackable-window.c
4870 (hildon_stackable_window_set_main_menu): Unref the old menu after
4871 ref'ing the new one.
4873 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4875 * src/hildon-stackable-window.c
4876 (hildon_stackable_window_set_main_menu): Unref the previous menu
4877 instead of destroying it.
4879 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
4880 floating reference and set has_user_ref_count to FALSE to make
4881 HildonAppMenu act like a normal ref-counted widget and not a
4884 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
4887 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
4889 * src/hildon-touch-selector-column.h: new file
4890 * src/hildon-touch-selector.h
4891 * src/hildon-touch-selector.c
4892 Implemented GtkCellLayout interface, in order to allow to configure
4893 the cell layout on each individual selector column
4894 (hildon_touch_selector_set_column_attributes): marked as deprecated
4895 * examples/hildon-touch-selector-multi-cells-example.c
4896 Example of how to use the GtkCellLayout interface on the selector
4898 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4900 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4902 * src/hildon-app-menu.h
4903 * src/hildon-app-menu.c
4904 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
4905 (hildon_app_menu_append, hildon_app_menu_prepend):
4906 New methods to prepend, insert and move items in the menu.
4908 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4910 * src/hildon-wizard-dialog.c:
4912 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
4914 (create_title): Update logical IDs and related code.
4915 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
4917 * src/hildon-wizard-dialog.h: Note that
4918 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
4919 point, as it is not used anymore.
4921 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
4923 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4925 * src/hildon-note.c:
4926 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
4927 shown. Do not display an icon in confirmation notes nor information
4929 (hildon_note_set_button_text): Update logical ID for cancel button.
4931 Fixes: NB#88850 (Update HildonNote button strings + signals)
4933 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4935 * src/hildon-stackable-window.c
4936 (hildon_stackable_window_set_main_menu): Fix compilation warning.
4938 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4940 * src/hildon-app-menu-private.h
4941 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
4942 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
4943 (hildon_app_menu_init, hildon_app_menu_class_init): Added
4944 temporary property 'columns' to change the number of columns.
4946 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4948 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
4950 * examples/hildon-note-example.c: (on_information_clicked),
4951 (on_confirmation_clicked), (on_progress_clicked), (main): Add
4952 debugging information.
4953 * src/hildon-note-private.h: Remove close_if_pressed_outside,
4955 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
4956 (hildon_note_rebuild): Remove special handling of tapping outside/inside
4957 in order to close: this will be handled by the WM from now on.
4959 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
4961 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4963 * src/hildon-app-menu-private.h
4964 * src/hildon-app-menu.c
4965 (hildon_app_menu_append, hildon_app_menu_add_filter)
4966 (button_visibility_changed, hildon_app_menu_apply_style)
4967 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
4968 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
4969 layout everytime a button (item or filter) is shown or hidden.
4971 * src/hildon-stackable-window.c
4972 (hildon_stackable_window_set_main_menu): Destroy the old menu when
4975 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
4977 * src/hildon-touch-selector.c:
4978 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
4979 that the treeview inside the touch selector is in fremantle hildon mode
4980 * examples/hildon-date-button-example.c
4981 * examples/hildon-picker-button-multicolumn-example.c
4982 * examples/hildon-touch-selector-entry-example.c
4983 * examples/hildon-touch-selector-example.c
4984 * examples/hildon-time-button-example.c
4985 * examples/hildon-picker-button-example.c:
4986 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
4988 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
4990 * examples/hildon-text-view-example.c: (main): Remove the
4991 gtkrc bits, now handled by the theme.
4993 2008-09-22 Alberto Garcia <agarcia@igalia.com>
4995 * src/hildon-picker-button.c (hildon_picker_button_set_active):
4998 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5000 * po/Makefile.am: Install properly the mo files.
5001 * po/en_GB.po: Update translation, to ease testing purposes.
5003 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5005 * examples/hildon-picker-button-example.c: (main): Select an item
5006 in the selector before setting it to the button.
5008 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5010 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
5011 Update button's value if the selector has an item active.
5013 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
5014 'value' with the selector)
5016 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5018 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
5019 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
5020 (hildon_picker_button_class_init): Plug the finalize method.
5021 (hildon_picker_button_set_selector): If there's a previously set
5022 selector, unref'it before setting a new one.
5024 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
5025 HildonTouchSelector)
5027 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
5029 * src/hildon-touch-selector-entry.c:
5030 (hildon_touch_selector_entry_changed): Check if there is no text
5031 selected before setting the entry text.
5034 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5036 * src/hildon-touch-selector.h
5037 * src/hildon-touch-selector.c
5038 (hildon_touch_selector_get_active)
5039 (hildon_touch_selector_set_active): New methods to set/get the
5040 index of the selected item.
5042 * src/hildon-picker-button.h
5043 * src/hildon-picker-button.c
5044 (hildon_picker_button_get_active)
5045 (hildon_picker_button_set_active): New methods to set/get the
5046 index of the selected item.
5048 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5050 * configure.ac: post-release version bump.
5052 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5056 * configure.ac: Pre-release version bump.
5057 * debian/changelog: Updates.
5058 * debian/control: Add myself as maintainer and depend on l10n
5061 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5063 * src/hildon-window.c
5064 (hildon_window_set_main_menu)
5065 * src/hildon-stackable-window.c
5066 (hildon_stackable_window_set_main_menu):
5067 Updated documentation.
5069 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5071 * src/hildon-date-selector.c (hildon_date_selector_finalize):
5072 Don't free selector->priv manually.
5075 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5078 (hildon_gtk_window_set_progress_indicator):
5079 * src/hildon-gtk.h: Added the new API
5080 hildon_gtk_window_set_progress_indicator, it changes the state of
5081 the window progress hint.
5083 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5085 * src/hildon-button.c
5086 * src/hildon-stackable-window.c: Minor documentation updates.
5088 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5090 * src/hildon-stackable-window.c: Updated documentation.
5092 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
5094 * src/hildon-defines.h: Update margins definitions
5095 to the Fremantle sizes.
5098 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5100 * src/hildon-touch-selector.c,
5101 (_hildon_touch_selector_set_model): Cleaning the code after
5102 review, removed g_print and #if 0 from the code.
5104 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5106 * src/hildon-edit-toolbar.c: Update documentation.
5108 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5110 * src/hildon-check-button.h
5111 * src/hildon-check-button.c
5112 (hildon_check_button_set_label, hildon_check_button_get_label)
5113 * examples/hildon-check-button-example.c
5114 (button_clicked_cb):
5115 Removed deprecated methods.
5117 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5119 * src/hildon-text-view.c:
5120 Add sample code to the documentation.
5122 * src/hildon-entry.h
5123 * src/hildon-text-view.h:
5124 Minor cosmetic changes.
5126 * src/hildon-entry.c:
5127 Add sample code to the documentation.
5128 (hildon_entry_init, hildon_entry_refresh_contents):
5129 Don't allow NULL values in the placeholder.
5131 2008-09-10 Alberto Garcia <agarcia@igalia.com>
5133 * doc/hildon-docs.sgml
5135 * examples/Makefile.am
5136 * examples/hildon-text-view-example.c
5138 * src/hildon-text-view.c
5139 * src/hildon-text-view.h
5141 New HildonTextView widget, with example.
5143 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5145 * po/POTFILES.in: Add missing files with translatable strings.
5146 Partially fixes NB#88287.
5148 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5150 * examples/hildon-pannable-area-example-2.c: (main): No need to
5151 set the cellrenderer height inside hildon touch lists, the theme does
5154 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5156 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
5157 they are integrated in the theme.
5159 2008-09-09 Alberto Garcia <agarcia@igalia.com>
5161 * examples/hildon-entry-example.c: Update the example adding
5162 widgets to modify the text and the placeholder of the HildonEntry.
5164 * src/hildon-entry.c: Show the placeholder everytime the widget
5165 is empty and loses the focus.
5167 2008-09-09 Alejandro G. Castro <alex@igalia.com>
5169 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
5171 * src/hildon-pannable-area.c,
5172 (hildon_pannable_area_size_request): Fixed bug in height
5173 requisition, avoid increasing size and add border twice.
5175 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5177 * configure.ac: postrelease version bump.
5179 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5183 * configure.ac: Prerelease version bump.
5184 * debian/changelog: update.
5185 * debian/rules: make -dbg package contain useful debugging symbols.
5187 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5189 * src/hildon-dialog.h
5190 * src/hildon-dialog.c
5191 (hildon_dialog_add_button, hildon_dialog_add_buttons):
5192 New methods to add buttons with finger size.
5193 (hildon_dialog_new_with_buttons):
5194 Create buttons with finger size.
5196 * examples/hildon-dialog-example.c (main): Use HildonDialog
5197 methods to add buttons.
5199 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5201 * src/hildon-entry.c: Updated HildonButton documentation.
5203 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5205 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
5206 button value label with (FALSE, FALSE) to prevent NB#88126 from
5209 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5211 * examples/hildon-pannable-area-example.c,
5212 (main): Removed examples panning a vbox inside a pannable
5213 area. Check bug NB#87965
5215 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5217 Patch contributed by Kris Rietveld (kris@imendio.com)
5219 * src/hildon-pannable-area.c,
5220 (hildon_pannable_area_get_topmost): replaced the get_geometry with
5221 get_size and get_position, this saves an X server roundtrip.
5223 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5225 * doc/hildon-docs.sgml
5227 * examples/Makefile.am
5228 * examples/hildon-entry-example.c
5230 * src/hildon-entry.c
5231 * src/hildon-entry.h
5233 New HildonEntry widget, with example.
5235 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5237 * src/hildon-button.c (hildon_button_construct_child): Pack the
5238 image with expand == fill == FALSE. This is a workaround for a bug
5241 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
5243 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
5244 labels for the text column, to make it more look more dynamic.
5246 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5248 * src/hildon-time-selector.c
5249 Define gettext auxiliar macro N_
5250 (_create_minutes_model)
5251 (_create_hours_model)
5252 (_create_ampm_model): use of strftime in order to fill the model
5253 * src/hildon-date-selector.c
5254 (hildon_date_selector_finalize):
5255 (_locales_init): remove the logic related to get the name of the months
5256 using nl_langinfo, as it is not required anymore
5258 (_create_year_model)
5259 (_create_month_model)
5260 (_update_day_model): use of strftime in order to fill the model properly
5263 2008-09-04 Alberto Garcia <agarcia@igalia.com>
5265 * src/hildon-button.h
5266 * src/hildon-button.c (hildon_button_get_image): New method to
5269 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
5271 * src/hildon-touch-selector.c:
5272 (hildon_touch_selector_remove_column): Remove from the correct parent
5273 and also remove the list element and free it.
5276 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5278 * src/hildon-time-selector.c
5279 (_create_hours_model): change the range on 12h ampm format in order to use
5280 a 12-11 range instead of previous 01-12 range
5281 (hildon_time_selector_set_time): change the way to select the current time
5282 on 12h ampm format, due the change on the range
5283 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
5286 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
5288 * src/hildon-touch-selector.c
5289 (hildon_date_touch_selector_get_selected): fix the selection mode check,
5290 in order to allow use this function on multiple row selection mode if
5291 the column is different that the first one
5294 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
5296 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
5297 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
5299 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5301 * src/hildon-date-selector.h: clean some comments, now on the .c
5302 * src/hildon-date-selector.c
5303 (hildon_date_selector_select_month): first implementation
5304 (hildon_date_selector_select_day): added documentation, reimplemented
5305 using hildon_date_selector_select_current_date to avoid repeat code
5308 2008-09-02 Alejandro G. Castro <alex@igalia.com>
5310 Reviewed interaction logic based on device experiences, refactored
5313 * src/hildon-pannable-area.c,
5314 (hildon_pannable_area_class_init): Updated default vmax speed.
5315 (hildon_pannable_area_calculate_velocity): Added this function, it
5316 avoids duplicate valocity calculation. Adjusted calculation to
5317 avoid problems with zero dist events.
5319 (hildon_pannable_area_motion_notify_cb): Now we use the
5320 calculate_velocity function.
5322 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5324 * src/hildon-date-selector.c
5325 (hildon_date_selector_select_current_date): fix the day range check
5326 as it failed using the last day of the current month
5329 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5331 * src/hildon-touch-selector.c
5332 (hildon_touch_selector_get_num_columns): added a parameter validation
5335 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5337 * examples/Makefile.am
5338 * examples/hildon-edit-toolbar-example.c: Example of the
5339 HildonEditToolbar widget.
5341 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5343 * configure.ac: postrelease version bump.
5345 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5349 * configure.ac: prerelease version bump.
5350 * debian/changelog: update.
5352 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5354 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
5355 renderer to display stock icons in the touch list. Also, set the sizes
5356 to the recommended in the style guide.
5358 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5359 * src/hildon-touch-selector.h
5360 (hildon_touch_selector_set_active_iter): renamed, now is
5361 hildon_touch_selector_select_iter
5362 (hildon_touch_selector_get_active_iter): renamed, now is
5363 hildon_touch_selector_get_selected
5364 (hildon_touch_selector_unselect_iter): added
5365 * src/hildon-touch-selector.c
5366 Update after API modification (methods renamed)
5367 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
5368 order to avoid problems selecting multiple elements on the column
5369 (hildon_touch_selector_unselect_iter): added the implementation
5370 * src/hildon-time-selector.c
5371 * src/hildon-date-selector.c
5372 * src/hildon-touch-selector-entry.c
5373 Update methods calls after hildon-touch-selector.h API modification (methods
5376 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5378 * src/hildon-stackable-window.c
5379 (hildon_stackable_window_finalize): Call the parent class's finalize.
5381 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5383 * examples/hildon-touch-selector-example.c: (create_selector): Use
5384 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
5387 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5389 * examples/hildon-touch-selector-example.c: (create_selector): Do not
5390 set a cell background color, to respect theming.
5392 2008-08-28 Alberto Garcia <agarcia@igalia.com>
5394 * doc/hildon-docs.sgml
5397 * src/hildon-edit-toolbar.c
5398 * src/hildon-edit-toolbar.h
5399 * src/hildon.h: New HildonEditToolbar widget.
5401 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
5403 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
5406 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5407 * src/hildon-touch-selector.c
5408 (_create_new_column): use g_object_set instead of two g_object_set_property
5410 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5411 * src/hildon-touch-selector.c
5412 (_create_new_column): use of hildon_gtk_tree_view_new to create
5413 the treeview, instead of use directly g_object_new
5414 (_create_new_column): update the property name "vindicator-mode" for the
5415 new one "vscrollbar-policy"
5416 * examples/hildon-date-button-example.c
5417 * examples/hildon-picker-button-multicolumn-example.c
5418 * examples/hildon-touch-selector-entry-example.c
5419 * examples/hildon-touch-selector-example.c
5420 * examples/hildon-time-button-example.c
5421 * examples/hildon-picker-button-example.c
5422 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
5423 to all the treeviews inside a pannable area.
5425 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5427 * src/hildon-button.h
5428 * src/hildon-button.c (hildon_button_init)
5429 (hildon_button_set_arrangement, hildon_button_set_alignment)
5430 (hildon_button_set_title_alignment)
5431 (hildon_button_set_value_alignment)
5432 (hildon_button_set_image_alignment)
5433 (hildon_button_construct_child): New methods to set the alignment
5434 of the individual components of the button (title, value,
5435 image). Also, new method to alter the xscale and yscale properties
5436 of the GtkAlignment inside the button, so more complex layouts can
5439 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5441 * src/hildon-button.c (hildon_button_style_set)
5442 (hildon_button_class_init, hildon_button_set_arrangement)
5443 (hildon_button_construct_child): Apply style properties
5444 correctly. Use the 'image-spacing' style property too.
5446 2008-08-26 Alberto Garcia <agarcia@igalia.com>
5448 * src/hildon-app-menu.c (hildon_app_menu_style_set)
5449 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
5452 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5454 * src/hildon-pannable-area.c,
5455 (hildon_pannable_area_size_request): Fixed problem with
5456 pannable-area size_request.
5458 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5460 Added management for the grab-focus to a child widget, like a
5461 range, we need to fade out the scrollbar when releasing.
5463 * src/hildon-pannable-area.c,
5464 (hildon_pannable_area_init): Connected the grab-focus signal to
5466 (hildon_pannable_area_grab_notify): Added this function in order
5467 to manage the situation when the grab-focus ends. We have to
5468 fade-out the scrollbar.
5470 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5472 * src/hildon-app-menu.c: Minor documentation update.
5474 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5476 * src/hildon-app-menu.c
5477 * examples/hildon-app-menu-example.c (create_menu): Update
5478 examples and documentation to explain how to connect callbacks.
5480 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
5482 * examples/hildon-button-example.c
5483 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
5484 hildon_stackable_window_new instead of gtk_window_new
5486 2008-08-22 Alejandro G. Castro <alex@igalia.com>
5488 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
5489 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
5490 (hildon_pannable_area_set_property),
5491 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
5492 (hildon_pannable_area_unrealize),
5493 (hildon_pannable_area_size_request),
5494 (hildon_pannable_area_size_allocate),
5495 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
5496 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
5497 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
5498 (hildon_pannable_area_initial_effect),
5499 (hildon_pannable_area_redraw),
5500 (hildon_pannable_area_scroll_indicator_fade),
5501 (hildon_pannable_area_expose_event),
5502 (hildon_pannable_area_get_topmost), (synth_crossing),
5503 (hildon_pannable_area_button_press_cb),
5504 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
5505 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
5506 (hildon_pannable_area_motion_notify_cb),
5507 (hildon_pannable_area_button_release_cb),
5508 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
5509 (hildon_pannable_area_remove),
5510 (hildon_pannable_calculate_vel_factor): Widget refactorization,
5511 chage the code layout to a more GtkWidget like. Review the use of
5514 2008-08-21 Alejandro G. Castro <alex@igalia.com>
5516 * examples/hildon-pannable-area-example-4.c,
5517 (main): Modified the name of the hindicator_mode to
5520 * src/hildon-pannable-area.c,
5521 (hildon_pannable_area_class_init),
5522 (hildon_pannable_area_motion_notify_cb),
5523 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
5524 we have reduced the amount of signals and managed reviewed its
5525 rationale. Changed the default decelerate value.
5527 (hildon_pannable_area_add),
5528 (hildon_pannable_area_redraw): Refactored functions.
5530 (hildon_pannable_area_init),
5531 (hildon_pannable_area_get_property),
5532 (hildon_pannable_area_set_property):
5533 (hildon_pannable_draw_vscroll),
5534 (hildon_pannable_draw_hscroll),
5535 (hildon_pannable_area_initial_effect),
5536 (hildon_pannable_area_expose_event),
5537 (hildon_pannable_area_scroll),
5538 (hildon_pannable_area_button_press_cb),
5539 (hildon_pannable_area_realize): Replaced the names hindicator_mode
5540 and vindicator_mode with hscrollbar_policy and
5541 vscrollbar_policy. Replaced hscroll and vscroll with
5542 hscroll_visible and vscroll_visible.
5544 (hildon_pannable_area_refresh): Refactor the function, remove
5545 variables and check the calls to this function, added resize
5546 conditions in case the children change their layout.
5548 (hildon_pannable_area_size_request): Added more detailed
5549 size_request calculation.
5552 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
5554 * src/hildon-color-chooser.c
5555 (init_borders): use the correct gtk_border_free instead of g_free, to
5556 avoid a crash when this widget is used (ie: the three color selection
5559 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5561 * src/hildon-check-button.c,
5562 (hildon_check_button_set_active): Fixed problem when setting the
5563 active value, the widget was not redrawn.
5565 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5567 * src/hildon-pannable-area.c,
5568 (hildon_pannable_area_refresh),
5569 (hildon_pannable_area_scroll),
5570 (hildon_pannable_area_motion_notify_cb): Small code style change.
5572 (hildon_pannable_area_class_init): Default initial_hint set to
5573 FALSE, it is not in the specs.
5575 (hildon_pannable_area_initial_effect),
5576 (hildon_pannable_area_expose_event),
5577 (hildon_pannable_area_map),
5578 (hildon_pannable_area_init): Moved the launching point of the
5579 initial effect, it was in map but the sizes where not correct in
5580 that method so we do not know if we have the reproduce it. Now it
5581 is placed in the expose_event method and uses a variable to
5582 reproduce it just once.
5584 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5586 * src/hildon-pannable-area.c,
5587 (hildon_pannable_draw_vscroll),
5588 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
5589 position allowed for the scrollbars.
5591 (hildon_pannable_area_size_allocate): Small style change.
5593 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5595 * src/hildon-pannable-area.c,
5596 (hildon_pannable_area_scroll_indicator_fade),
5597 (hildon_pannable_area_button_press_cb),
5598 (hildon_pannable_area_button_release_cb),
5599 (hildon_pannable_area_scroll_cb),
5600 (hildon_pannable_area_expose_event),
5601 (hildon_pannable_area_init): Added the define parameter
5602 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
5603 and refactor the fade variable.
5605 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5607 * src/hildon-pannable-area.c,
5608 (hildon_pannable_area_redraw),
5609 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
5610 lines, we were reimplemeting the redraw code.
5612 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5614 * src/hildon-pannable-area.c,
5615 (hildon_pannable_area_scroll_cb),
5616 (hildon_pannable_area_realize),
5617 (hildon_pannable_area_class_init): Added scroll_event management
5618 for pannable area, now we can scroll the usual desktop method.
5620 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
5621 initialization of the parameters should depend on idle_id.
5623 (hildon_pannable_area_init),
5624 (hildon_pannable_area_map): Small code style modifications
5626 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5628 * src/hildon-pannable-area.c
5629 (hildon_pannable_area_button_press_cb),
5630 (hildon_pannable_area_motion_notify_cb),
5631 (hildon_pannable_area_button_release_cb),
5632 (hildon_pannable_area_size_allocate),
5633 (hildon_pannable_area_scroll_to): Improved the timeouts
5634 management, we avoid creating them each time.
5636 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5638 * src/hildon-pannable-area.c:
5639 (hildon_pannable_area_refresh),
5640 (hildon_pannable_area_motion_notify_cb),
5641 (hildon_pannable_area_class_init):
5642 * src/hildon-pannable-area.h:
5643 * src/hildon-touch-selector.c
5644 (_create_new_column):
5645 * examples/hildon-pannable-area-example-4.c:
5646 (horizontal_movement),
5647 (vertical_movement),
5649 Replaced the names of enums in the HildonPannableArea:
5650 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
5651 HILDON_MOVEMENT_MODE_*
5652 - HILDON_PANNABLE_AREA_MOV_* ->
5654 - Removed HildonPannableAreaIndicatorMode, now we
5657 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5659 * examples/hildon-pannable-area-touch-grid-example.c
5660 * examples/hildon-pannable-area-touch-list-example.c: Fix
5661 compilation warnings.
5663 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5665 * src/hildon-gtk.c (hildon_gtk_button_new)
5666 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
5667 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
5668 images overriding the value of the "gtk-button-images" setting.
5670 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5672 * src/hildon-check-button.c (hildon_check_button_new):
5673 Instead of using a custom container, display the label and the
5674 checkbox using the standard GtkButton API.
5676 * examples/hildon-check-button-example.c (main): Don't use
5677 hildon_check_button_set_label() anymore
5679 * src/hildon-check-button.h
5680 * src/hildon-check-button.c
5681 (hildon_check_button_set_label, hildon_check_button_get_label):
5682 Set as deprecated, now we're using gtk_button_{get,set}_label()
5684 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5686 * src/hildon-pannable-area.c,
5687 (hildon_pannable_area_get_topmost): Fixed bug with click in the
5688 GtkTreeview first line we detected it after the inclusion of the
5689 GtkWindowImpl in gtk+. We now check if the window is visible, not
5690 just if the pointer is over the window.
5691 (hildon_pannable_axis_scroll),
5692 (hildon_pannable_area_expose_event): Small style changes.
5694 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5696 * src/hildon-button.c: Update documentation.
5698 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5700 * examples/hildon-button-example.c: Add a switch to show images in
5703 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5705 * doc/hildon-docs.sgml: Some docs reorganization.
5707 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5709 * examples/hildon-pannable-area-touch-list-example.c
5711 * examples/hildon-pannable-area-touch-grid-example.c
5712 (create_icon_view): Use gtk_{tree,icon}_view_new() and
5713 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
5714 Fix memory leak when setting the tree model.
5716 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5720 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5722 * doc/hildon.types: Remove duplicated hildon_window_get_type
5723 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
5724 documentation comment.
5726 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5728 * doc/Makefile.am: Complete list of private headers.
5730 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5732 * doc/hildon-docs.sgml
5733 * src/hildon-app-menu.c
5734 * src/hildon-bread-crumb.c
5735 * src/hildon-button.c
5737 * src/hildon-program.c
5738 * src/hildon-stackable-window.c
5739 * src/hildon-window.c: Lots of documentation updates.
5741 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5743 * debian/control: Depend on Gtk 2:2.12.9-0osso3
5745 * configure.ac: Require Gtk+ 2.12.9 at least
5747 2008-08-12 Alejandro G. Castro <alex@igalia.com>
5749 * src/hildon-pannable-area.c
5750 (hildon_pannable_area_scroll_indicator_fade),
5751 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
5752 to protect the return of this timeout callbacks, avoiding deadlocks.
5754 2008-08-12 Christian Dywan <christian@imendio.com>
5757 * src/hildon-*.h: Ensure a consistent include order,
5758 include <gtk/gtk.h> instead of particular files and
5759 only include the topmost header in the gtk stack. See NB #39857
5761 2008-08-12 Christian Dywan <christian@imendio.com>
5763 * src/hildon-picker-dialog.c
5764 * src/hildon-touch-selector.c: Fix warnings about unused and
5765 uninitialized variables.
5767 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5769 * examples/Makefile.am
5770 * examples/hildon-check-button-example.c: Example of the hildon
5773 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5775 * src/hildon-window.h
5776 * src/hildon-window.c (hildon_window_class_init)
5777 (hildon_window_unset_program): Don't make
5778 hildon_window_unset_program a virtual function anymore.
5780 * src/hildon-stackable-window.c: Update documentation
5782 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5785 * doc/hildon-docs.sgml
5786 * doc/visual_index.xml
5787 * src/hildon-defines.c
5789 * src/hildon-helper.c
5790 * src/hildon-range-editor.c: Lots of documentation fixes.
5792 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5794 * examples/hildon-picker-button-multicolumn-example.c
5795 (create_touch_selector): Fix compilation warning.
5797 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5799 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
5800 (hildon_pannable_area_button_release_cb)
5801 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
5803 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5805 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
5808 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5810 * src/hildon-bread-crumb-trail.h
5811 * src/hildon-date-editor.c
5812 * src/hildon-date-selector.c
5813 * src/hildon-pannable-area.c
5814 * src/hildon-picker-dialog.c
5815 * src/hildon-time-selector.c
5816 * src/hildon-touch-selector-entry.c
5817 * src/hildon-touch-selector.c
5818 * src/hildon-touch-selector.h: Misc documentation fixes
5820 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5822 * examples/hildon-date-editor-example.c (main): Updated date
5825 * examples/hildon-note-example.c (on_confirmation_clicked):
5826 Updated confirmation note example.
5828 * src/hildon-date-editor.c
5829 * src/hildon-note.c: Updated sample programs in documentation.
5832 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5834 * src/hildon-date-button.h:
5835 * src/hildon-picker-button.h:
5836 * src/hildon-time-button.c:
5837 * src/hildon-time-button.h:
5839 Some declarations changes to allow gtk-doc to document the widgets
5842 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5844 * src/hildon-date-button.c: Document the widget.
5845 * src/hildon-time-button.c: Document the widget.
5847 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5849 * src/hildon-picker-button.c: Document the widget.
5850 * src/hildon-touch-selector-entry.c: Document the widget.
5852 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5854 * doc/hildon-docs.sgml
5857 * src/hildon-check-button.h
5858 * src/hildon-check-button.c: New functions to create the Hildon
5862 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
5864 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5866 * src/hildon-button.h
5867 * src/hildon-button.c
5868 (hildon_button_add_title_size_group)
5869 (hildon_button_add_value_size_group)
5870 (hildon_button_add_image_size_group)
5871 (hildon_button_add_size_groups): New functions to set size groups
5872 for the button labels and image.
5873 (hildon_button_new_full): Removed
5875 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
5877 * src/hildon-time-selector.c
5878 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
5879 in order to avoid a crash if gconf is not available
5881 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5883 * src/hildon-button.c (hildon_button_set_arrangement)
5884 (hildon_button_construct_child): Don't construct the button child
5885 before setting the arrangement.
5887 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5889 * src/hildon-program-private.h
5890 * src/hildon-program.c
5891 * src/hildon-program.h
5892 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
5893 (hildon_program_peek_window_stack)
5894 (hildon_program_pop_window_stack)
5895 (hildon_program_go_to_root_window): HildonProgram now has a
5896 separate list for stackable windows. Functions are provided to
5897 manage that list with a stack-like API.
5899 * src/hildon-stackable-window.c: Stackable window management is
5900 now much simpler with the new HildonProgram API. Windows no
5901 longer need to be manually added to the program, they're
5902 automatically pushed to the top of the stack when shown.
5904 * examples/hildon-stackable-window-example.c: Updated example to
5905 reflect the API changes.
5907 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5909 * src/hildon-touch-selector.c: Comment out unimplemented
5910 hildon_touch_selector_insert_column() to avoid a compile warning.
5912 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5914 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5915 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
5916 (hildon_touch_selector_set_column_selection_mode),
5917 (_hildon_touch_selector_set_model),
5918 (hildon_touch_selector_set_model):
5920 Complete review of HildonTouchSelector documentation.
5922 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5924 * doc/hildon-docs.sgml
5928 * src/hildon-gtk.c: Convenience functions for standard Gtk
5929 widgets, used to easily perform frequent operations.
5931 * src/hildon-button-helpers.h
5932 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
5934 * src/hildon-helper.h
5935 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
5936 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
5938 * src/hildon-button.h
5939 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
5941 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5943 * src/hildon-button.c (hildon_button_init)
5944 (hildon_button_set_arrangement, hildon_button_construct_child):
5945 Pack the image and the labels inside the same GtkAlignment so
5946 gtk_button_set_alignment() can be used
5948 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5950 * src/hildon-button.h
5951 * src/hildon-button.c
5952 (hildon_button_init, hildon_button_set_image)
5953 (hildon_button_set_image_position)
5954 (hildon_button_construct_child): New functions to add an image to
5957 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5959 * src/hildon-date-button.c
5960 * src/hildon-picker-button.c
5961 * src/hildon-time-button.c
5962 * src/hildon-button.c:
5963 (hildon_button_class_init): "size-flags" renamed to "size"
5964 (hildon_button_set_title): Hide the title label if set to NULL.
5966 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5968 HildonButtonFlags split into HildonButtonArrangement (to set the
5969 button layout) and HildonSizeType (which can be used for any
5972 * src/hildon-button.h
5973 * src/hildon-button.c
5974 (hildon_button_class_init)
5975 (hildon_button_set_arrangement)
5976 (hildon_button_set_property): New "size-flags"
5977 property. "arrangement-flags" renamed to "arrangement".
5978 (hildon_button_new, hildon_button_new_with_text)
5979 (hildon_button_new_full): Constructors updated to reflect type changes.
5981 * src/hildon-helper.h
5982 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
5983 to set the size of a widget.
5987 * src/hildon-button-helpers.c
5988 * src/hildon-button-helpers.h: New hildon-button-helpers module.
5990 * src/hildon-date-button.c
5991 * src/hildon-date-button.h
5992 * src/hildon-picker-button.c
5993 * src/hildon-picker-button.h
5994 * src/hildon-time-button.c
5995 * src/hildon-time-button.h: Updated widgets to reflect
5996 HildonButton API changes.
5998 * examples/hildon-button-example.c
5999 * examples/hildon-date-button-example.c
6000 * examples/hildon-picker-button-example.c
6001 * examples/hildon-picker-button-multicolumn-example.c
6002 * examples/hildon-time-button-example.c
6003 * examples/hildon-touch-selector-entry-example.c
6004 * examples/hildon-touch-selector-example.c: Updated examples to
6005 reflect HildonButton API changes.
6007 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6009 * doc/hildon-docs.sgml:
6011 * examples/Makefile.am:
6012 * examples/hildon-touch-selector-entry-example.c:
6014 * src/hildon-touch-selector-entry.c:
6015 * src/hildon-touch-selector-entry.h:
6018 Moved HildonTouchSelectorEntry from sandbox. Added its
6019 documentation and examples.
6021 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6023 * src/hildon-touch-selector.h:
6024 * examples/hildon-picker-button-multicolumn-example.c:
6025 (hildon_touch_selector_append_text_column): Add a gboolean
6026 parameter to determine if text must be centered in the column.
6028 * src/hildon-date-selector.c: (hildon_date_selector_init):
6029 * src/hildon-time-selector.c: (hildon_time_selector_init):
6030 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
6031 (create_touch_selector): Update widgets and example to reflect
6034 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6036 * src/hildon-touch-selector.c:
6037 (hildon_touch_selector_set_active_iter): Set also the cursor in
6040 2008-08-06 Alberto Garcia <agarcia@igalia.com>
6042 * doc/hildon-docs.sgml
6045 * src/hildon-toggle-button.c
6046 * src/hildon-toggle-button.h
6047 * src/hildon.h: Removed HildonToggleButton widget, a derived
6048 class is not necessary for this.
6050 2008-08-06 Alejandro G. Castro <alex@igalia.com>
6052 * src/hildon-pannable-area.c,
6053 (hildon_pannable_area_realize),
6054 (hildon_pannable_area_size_allocate): Code refactoring, add tests
6057 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
6059 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
6060 "done" button the default widget for the dialog.
6062 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6064 * src/hildon-touch-selector.c:
6065 (hildon_touch_selector_class_init),
6066 (hildon_touch_selector_get_property),
6067 (_hildon_touch_selector_set_model),
6068 (_hildon_touch_selector_has_multiple_selection),
6069 (hildon_touch_selector_has_multiple_selection):
6070 Add a "has-multiple-selection" property with a virtual
6071 has_multiple_selection() method to allow derived classes to
6072 override the default value for it. See the method and property
6073 documentation for details.
6075 * src/hildon-touch-selector.h: Add the new API.
6077 * src/hildon-picker-dialog.c: (requires_done_button): Call
6078 hildon_touch_selector_has_multiple_selection() instead of
6079 determining the need for a button itself.
6081 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6083 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6084 (_hildon_touch_selector_set_model),
6085 (hildon_touch_selector_set_model): Move working code to
6086 _hildon_touch_selector_set_mode(). Call the class method instead.
6088 * src/hildon-touch-selector.h: Add (*set_model) to
6089 HildonTouchSelectorClass.
6091 Make hildon_touch_selector_set_model() a virtual method, so that
6092 derived classes can extend it and do fancy stuff with the model.
6094 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6096 * configure.ac: Set back the tarname in AC_INIT to hildon.
6098 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6102 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
6103 instead of libesd (NB#86876). Volume handling is still an open issue.
6105 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
6108 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6110 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
6111 (hildon_touch_selector_append_column): Make the widget a GtkVBox
6112 derived class to ease placement of an entry widget in
6113 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
6114 end, where the selector columns are packed now.
6116 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6118 * src/hildon-picker-button.c: Removed the simple _text() API.
6119 * src/hildon-picker-button.h: Likewise.
6121 * src/hildon-touch-selector.h:
6122 * src/hildon-touch-selector.c:
6123 (hildon_touch_selector_new_text),
6124 (hildon_touch_selector_append_text),
6125 (hildon_touch_selector_prepend_text),
6126 (hildon_touch_selector_insert_text):
6128 Moved the simple _text() API from HildonPickerButton to
6129 HildonTouchPicker, to provide better escalability and not to tie
6130 that API to HildonPickerButton.
6132 * examples/hildon-picker-button-example.c: (main): Example updated.
6134 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6136 * src/hildon-button.c: Updated documentation.
6138 * examples/hildon-button-example.c: Add the posibility to create
6139 the buttons using horizontal layout for title and value.
6141 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6143 * src/hildon-app-menu-private.h
6144 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
6145 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
6146 GtkSizeGroup for the filters, use the 'homogeneous' property of
6149 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6151 * examples/hildon-button-example.c: Updated example.
6153 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
6155 * doc/hildon-docs.sgml:
6158 Update documentation.
6160 * examples/Makefile.am: Update renamed examples.
6162 * examples/hildon-picker-button-multicolumn-example.c:
6163 (create_touch_selector), (main): Update after the rename.
6165 * examples/hildon-touch-picker-example.c: Removed.
6166 * examples/hildon-touch-selector-example.c: (value_changed),
6167 (create_selector), (get_visible_content), (main): Renamed from
6168 hildon-touch-picker-example.c
6170 * src/Makefile.am: Updated renamed files.
6172 * src/hildon-date-button.c: (hildon_date_button_init),
6173 (hildon_date_button_get_date), (hildon_date_button_set_date):
6174 * src/hildon-date-selector.c: (hildon_date_selector_init),
6175 (_custom_print_func), (_update_day_model),
6176 (_manage_selector_change_cb),
6177 (hildon_date_selector_select_current_date),
6178 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
6179 * src/hildon-date-selector.h:
6180 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6181 (hildon_picker_button_set_property),
6182 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6183 (hildon_picker_button_init), (hildon_picker_button_new_text),
6184 (hildon_picker_button_append_text),
6185 (hildon_picker_button_prepend_text),
6186 (hildon_picker_button_insert_text),
6187 (hildon_picker_button_set_selector),
6188 (hildon_picker_button_get_selector):
6189 * src/hildon-picker-button.h:
6190 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
6191 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
6192 (_update_title_on_selector_changed_cb), (requires_done_button),
6193 (_hildon_picker_dialog_set_selector),
6194 (hildon_picker_dialog_set_selector),
6195 (hildon_picker_dialog_get_selector):
6196 * src/hildon-picker-dialog.h:
6197 * src/hildon-time-button.c: (hildon_time_button_init),
6198 (hildon_time_button_get_time), (hildon_time_button_set_time):
6199 * src/hildon-time-selector.c: (hildon_time_selector_init),
6200 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
6201 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
6202 * src/hildon-time-selector.h:
6205 Massive code updates after the rename.
6207 * src/hildon-touch-picker.c: Removed.
6208 * src/hildon-touch-picker.h: Removed.
6210 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6211 (hildon_touch_selector_init), (hildon_touch_selector_map),
6212 (hildon_touch_selector_remove), (_default_print_func),
6213 (_selection_changed_cb), (_create_new_column),
6214 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
6215 (hildon_touch_selector_append_text_column),
6216 (hildon_touch_selector_remove_column),
6217 (hildon_touch_selector_set_column_attributes),
6218 (hildon_touch_selector_insert_column),
6219 (hildon_touch_selector_get_num_columns),
6220 (hildon_touch_selector_get_column_selection_mode),
6221 (hildon_touch_selector_set_column_selection_mode),
6222 (hildon_touch_selector_set_print_func),
6223 (hildon_touch_selector_get_print_func),
6224 (hildon_touch_selector_get_active_iter),
6225 (hildon_touch_selector_set_active_iter),
6226 (hildon_touch_selector_get_selected_rows),
6227 (hildon_touch_selector_get_model),
6228 (hildon_touch_selector_set_model),
6229 (hildon_touch_selector_get_current_text),
6230 (_hildon_touch_selector_center_on_selected_items):
6231 * src/hildon-touch-selector.h: Renamed from
6232 hildon-touch-picker.[ch]
6234 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
6235 references, code examples, and related documentation.
6237 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6239 * doc/hildon-docs.sgml
6242 * src/hildon-toggle-button.c
6243 * src/hildon-toggle-button.h
6244 * src/hildon.h: New HildonToggleButton widget.
6246 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6248 * src/hildon-button.c: Add API documentation.
6249 (hildon_button_set_size_groups): Check input parameters
6251 2008-07-30 Alejandro G. Castro <alex@igalia.com>
6253 * src/hildon-pannable-area.c
6254 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
6255 effect after reaching the movement thredshold. This way we start
6256 using the distance after passing the thredshold.
6258 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6260 * src/hildon-button.c: (hildon_button_set_property): Use the
6261 appropriate g_value_get_flags() method.
6263 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6265 * doc/hildon-docs.sgml:
6268 Add the touch pickers, picker dialogs, and picker button widgets
6269 to the documentation.
6271 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6273 * src/hildon-button.c: (hildon_button_set_property),
6274 (hildon_button_class_init): Make "arrangement-flags" a proper
6275 G_TYPE_FLAGS derived property.
6277 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6279 * examples/Makefile.am: Add below examples.
6280 * examples/hildon-date-button-example.c:
6281 * examples/hildon-picker-button-example.c:
6282 * examples/hildon-picker-button-multicolumn-example.c:
6283 * examples/hildon-time-button-example.c:
6284 * examples/hildon-touch-picker-example.c:
6286 Add examples for the recently added touch pickers,
6287 picker dialogs, and picker button widgets.
6289 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6291 * src/hildon-button.c: Add some API documentation
6293 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6295 * src/hildon-button.h
6296 * src/hildon-button.c
6298 (hildon_button_new_with_text): New constructor to create a button
6299 with no text at all.
6300 (hildon_button_init, hildon_button_set_arrangement)
6301 (hildon_button_set_title, hildon_button_set_value)
6302 (hildon_button_set_text)
6303 (hildon_button_construct_child): Hide the value when it's not used
6304 so the rest of the text is properly aligned.
6305 Allow creating buttons with arbitrary widgets inside (not just
6306 title/value labels).
6308 * examples/hildon-button-example.c (vertical_buttons_window)
6309 (horizontal_buttons_window): Update example to use new API.
6311 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6313 * src/Makefile.am: Added HildonTimeButton.
6314 * src/hildon-time-button.c: Added missing LGPL header.
6315 * src/hildon-time-button.h: Added missing LGPL header.
6316 * src/hildon.h: Add hildon-time-button.h
6318 Copied HildonTimeButton from sandbox to trunk. Future work on this
6319 widget must take place in trunk.
6321 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6323 * src/Makefile.am: Added HildonDateButton.
6324 * src/hildon-date-button.c: Update includes.
6325 * src/hildon.h: Add hildon-date-button.h
6327 Copied HildonDateButton from sandbox to trunk. Future work on this
6328 widget must take place in trunk.
6330 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6332 * src/Makefile.am: Added HildonPickerButton.
6333 * src/hildon-picker-button.h: Update includes.
6334 * src/hildon.h: Add hildon-picker-button.h
6336 Copied HildonPickerButton from sandbox to trunk. Future work on
6337 this widget must take place in trunk.
6339 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6341 * src/Makefile.am: Added HildonPickerDialog.
6342 * src/hildon-picker-dialog.c: Update includes.
6343 * src/hildon.h: Add hildon-picker-dialog.h
6345 Copied HildonPickerDialog from sandbox to trunk. Future work
6346 on this widget must take place in trunk.
6348 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6350 * src/Makefile.am: Added HildonTimeSelector.
6351 * src/hildon.h: Add hildon-time-selector.h
6353 Copied HildonTimeSelector widget from sandbox to trunk. Future
6354 work on this widget must happen in trunk.
6356 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6358 * src/Makefile.am: Added HildonDateSelector.
6359 * src/hildon.h: Add hildon-date-selector.h
6361 Copied HildonDateSelector widget from sandbox to trunk. Future
6362 work on this widget must happen in trunk.
6364 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6366 * src/Makefile.am: Added HildonTouchPicker.
6367 * src/hildon-touch-picker.c: Update includes.
6368 * src/hildon.h: Add hildon-touch-picker.h
6370 Copied HildonTouchPicker widget from sandbox to trunk. Future work
6371 on this widget must happen in trunk.
6373 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6375 * src/hildon-pannable-area.c:
6376 (hildon_pannable_area_motion_notify_cb): Fix a typo.
6378 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6380 * examples/hildon-app-menu-example.c (main): Let the window
6383 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6385 * src/hildon-pannable-area.c
6386 (hildon_pannable_area_class_init): Set the min value of the
6387 overshoot properties to zero, which points out that not
6388 overshooting allowed.
6390 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6392 Modified the procedure to get the widget at a point inside the
6393 pannable area when using the movement type signals. Now the user
6394 has to call a function to get the child, that way we just
6395 calculate the child in case the user really want to use it and not
6398 * src/hildon-marshalers.list: Modified the marshallers, now we do
6399 not have the widget as a parameter.
6401 * src/hildon-pannable-area.c
6402 (hildon_pannable_area_motion_notify_cb),
6403 (hildon_pannable_area_class_init),
6404 (hildon_pannable_get_child_widget_at): Removed the widget
6405 parameter from the signal callback. We have also refactored the
6406 emission of the signals.
6408 * src/hildon-pannable-area.h: Added a new method to the API to
6409 calculate a widget at a point inside the pannable area,
6410 hildon_pannable_get_child_widget_at.
6412 * examples/hildon-pannable-area-example-4.c
6413 (horizontal_movement): Modified the example to use the new API,
6414 added condition to control which widget is under the event. This
6415 way we can avoid scrolling laterally over other widgets.
6417 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6419 * src/hildon-pannable-area.c
6420 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
6421 modes, we stop getting the pointer events due to returning the
6422 callback without properly calling the get pointer again. Fixed
6423 also an error using the hscroll and vscroll.
6425 2008-07-28 Alberto Garcia <agarcia@igalia.com>
6427 * src/hildon-app-menu-private.h
6428 * src/hildon-app-menu.c (hildon_app_menu_button_press)
6429 (hildon_app_menu_button_release, hildon_app_menu_init)
6430 (hildon_app_menu_class_init): Don't hide the menu on button
6431 release if the user didn't press outside first.
6433 * src/hildon-window.h
6434 * src/hildon-window.c (hildon_window_toggle_menu)
6435 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
6436 hildon_window_toggle_menu a virtual function for the stackable
6437 window to override it.
6439 * src/hildon-stackable-window.h
6440 * src/hildon-stackable-window-private.h
6441 * src/hildon-stackable-window.c
6442 (hildon_stackable_window_realize)
6443 (hildon_stackable_window_finalize)
6444 (hildon_stackable_window_class_init)
6445 (hildon_stackable_window_init)
6446 (hildon_stackable_window_set_main_menu): New function to set the
6447 app menu of a HildonStackableWindow.
6449 * examples/hildon-app-menu-example.c: Remove the button to show
6450 the app menu, now it'll be shown when clicking on the title bar
6453 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6455 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
6456 set the widget name if the arrangement flags do not specify
6459 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6461 * src/hildon-button.c: (hildon_button_set_property),
6462 (hildon_button_class_init), (hildon_button_new_full),
6463 (hildon_button_set_arrangement): Added "arrangement-flags"
6466 Make the HildonButtonFlags a construction-only property, to allow
6467 subclasses to set them properly.
6469 2008-07-21 Tim Janik <timj@imendio.com>
6471 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
6472 insertion position after backspace, so additional digits are appended,
6475 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6477 * src/hildon-pannable-area.c,
6478 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
6479 TODO list, it was complete and removed the g_debug and g_print
6482 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6484 Added the movement modes to the hildon-pannable-area, with this
6485 modes the developers can control in which directions the widget
6486 can scroll. They can also connect to signals in order to do
6487 something when that happens, allowing applications scroll. There
6488 is an example uploaded showing how to use it.
6490 * examples/Makefile.am:
6491 * examples/hildon-pannable-area-example-4.c: Added this example of
6492 an application using the modes.
6494 * src/hildon-marshalers.list: Added a new marshaller for the new
6497 * src/hildon-pannable-area.h: Added new enumerations and flags in
6498 order to control the movement modes and the new signals to warn
6499 about the movements in the area.
6501 * src/hildon-pannable-area.c:
6502 (hildon_pannable_axis_scroll),
6503 (hildon_pannable_area_scroll),
6504 (hildon_pannable_area_motion_notify_cb),
6505 (hildon_pannable_area_get_property),
6506 (hildon_pannable_area_set_property),
6507 (hildon_pannable_area_map),
6508 (hildon_pannable_area_class_init),
6509 (hildon_pannable_area_init),
6510 (hildon_pannable_area_jump_to): Added the modes to control the
6511 movement in the widget. We have added properties to control it,
6512 signals to warn about the movements and refactored some code.
6514 2008-07-15 Alejandro G. Castro <alex@igalia.com>
6516 Changes required in order to allow vfast_factor set to zero to
6519 * src/hildon-pannable-area.c:
6520 (hildon_pannable_area_button_press_cb): Changed the condition, it
6521 is required for not allowing click when vfast_factor is zero.
6522 (hildon_pannable_area_timeout): Initialized velocity variables
6523 when we stop moving, it was less than 1 but not zero and we need
6524 to check zero in some situations.
6525 (hildon_pannable_area_class_init): Changed the default value of
6526 the speed factor, now the button_press is just sent in case the
6527 speed is 2 per cent of the max speed.
6528 (hildon_pannable_area_init): Initialization with 0.
6530 2008-07-04 Alejandro G. Castro <alex@igalia.com>
6532 * src/hildon-pannable-area.c,
6533 (hildon_pannable_area_get_topmost): replaced
6534 gdk_window_get_children with gdk_window_peek_children, this way we
6535 do not have to free the list because it is not a copy.
6537 (hildon_pannable_axis_scroll),
6538 (hildon_pannable_area_scroll),
6539 (hildon_pannable_area_timeout),
6540 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
6541 two parameters that were only used inside the
6542 hildon_pannable_area_scroll function.
6544 * examples/hildon-pannable-area-example.c,
6545 (get_sawtooth_label): Fixed small memory leak.
6547 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6549 More checks for the case where the overshoot is bigger than the
6552 * src/hildon-pannable-area.c:
6553 (hildon_pannable_draw_vscroll),
6554 (hildon_pannable_draw_hscroll): with this new calculation we avoid
6555 to draw the slider of the scrollbar under the other scrollbar.
6556 (hildon_pannable_area_expose_event): added new checks to control
6557 the drawing of the overshooting area rectangle, in case it is too
6558 big for the area of the widget.
6559 (hildon_pannable_area_size_allocate): add more checks to avoid
6560 setting a position to the child widget outside the area.
6562 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6564 * src/hildon-pannable-area.c
6565 (hildon_pannable_area_size_allocate): Added conditions to control
6566 when overshooting is bigger than the allocated space for the
6567 children, this avoids negative allocations.
6569 2008-07-02 Alberto Garcia <agarcia@igalia.com>
6571 * doc/hildon-docs.sgml
6573 * examples/Makefile.am
6574 * examples/hildon-button-example.c
6576 * src/hildon-button.c
6577 * src/hildon-button.h
6578 * src/hildon.h: Initial version of the new HildonButton widget,
6581 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
6583 * src/hildon-pannable-area.c:
6584 (hildon_pannable_area_button_press_cb),
6585 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
6586 (hildon_pannable_area_motion_notify_cb),
6587 (hildon_pannable_area_button_release_cb),
6588 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
6589 (hildon_pannable_area_jump_to_child):
6591 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
6593 2008-07-01 Alberto Garcia <agarcia@igalia.com>
6595 * examples/Makefile.am
6596 * examples/hildon-pannable-area-touch-grid-example.c
6597 * examples/hildon-pannable-area-touch-list-example.c: Examples of
6598 the Hildon Touch List and Hildon Touch Grid using the
6599 HildonPannableArea widget.
6601 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6603 * src/hildon-pannable-area.c,
6604 (hildon_pannable_area_button_press_cb),
6605 (hildon_pannable_area_refresh),
6606 (hildon_pannable_area_scroll),
6607 (hildon_pannable_area_motion_notify_cb),
6608 (hildon_pannable_area_button_release_cb),
6609 (hildon_pannable_area_expose_event),
6610 (hildon_pannable_area_add),
6611 (hildon_pannable_area_remove),
6612 (hildon_pannable_area_realize),
6613 (hildon_pannable_area_size_allocate),
6614 (hildon_pannable_area_class_init),
6615 (hildon_pannable_area_init),
6616 (hildon_pannable_area_scroll_to_child),
6617 (hildon_pannable_area_jump_to_child): Fixed the problem of
6618 removing the child from the GtkBin, we have rearranged the widget
6619 hierarchy, now there is no GtkAlignment which was not doing
6620 anything interesting but breaking some of the assumptions of
6621 GtkContainer. Now developers if they want to add a GtkAlignment
6622 they could, but it is not inside the area.
6624 We had to review the whole allocation/expose process, now it is
6625 improved and we save at least three signals which would be saving
6626 some time when rendering the widget. The allocation of the
6627 scrollbars is now made in the allocate method as usual.
6629 We have also added some conditions in order to control when there
6630 is no child of the pannable area. Maybe we will need more work
6633 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6635 * src/hildon-pannable-area.c,
6636 (hildon_pannable_area_dispose): Released the fade-out timeout when
6637 disposing the widget.
6639 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6641 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
6642 zero, we are going to use that property in order to deactivate the
6644 (hildon_pannable_axis_scroll),
6645 (hildon_pannable_area_size_allocate): Added conditions to control
6646 when overshoot_max is zero. Moved the gtk_adjustment_set_value
6647 call, now it is called in all situations and we can remove calls
6648 in the allocate method.
6649 (hildon_pannable_area_map): Control the situation when
6650 overshoot_max is zero, we do not need the timeout.
6651 (hildon_pannable_area_class_init): Added documentation in order to
6652 point out that setting zero to overshoot_max means deactivate
6655 NOTE: removed trailing whitespaces from my previous comments of
6658 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6660 * src/hildon-pannable-area.c
6661 (hildon_pannable_area_get_property),
6662 (hildon_pannable_area_set_property),
6663 (hildon_pannable_area_map),
6664 (hildon_pannable_area_class_init),
6665 (hildon_pannable_area_init): Add a boolean "initial-hint" property
6666 to cause the widget give a hint about its panning abilities upon
6669 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6671 * src/hildon-pannable-area.c: Several documentation improvements.
6673 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6675 * src/hildon-program.c
6676 * src/hildon-stackable-window.c: Update documentation.
6678 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6680 * src/hildon-stackable-window.c (get_previous_window_if_last):
6681 Renamed get_last_window()
6682 (hildon_stackable_window_map, hildon_stackable_window_unmap)
6683 (hildon_stackable_window_unset_program):
6685 (get_previous_window_if_last):
6686 Detect if the window hasn't been added to a HildonProgram.
6688 2008-06-26 Alejandro G. Castro <alex@igalia.com>
6690 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
6692 * src/hildon-pannable-area.c
6693 (hildon_pannable_area_button_press_cb),
6694 (hildon_pannable_axis_scroll),
6695 (hildon_pannable_area_scroll),
6696 (hildon_pannable_area_timeout),
6697 (hildon_pannable_calculate_vel_factor),
6698 (hildon_pannable_area_get_property),
6699 (hildon_pannable_area_set_property),
6700 (hildon_pannable_area_class_init),
6701 (hildon_pannable_area_init),
6702 (hildon_pannable_area_scroll_to),
6703 (hildon_pannable_area_jump_to),
6704 (hildon_pannable_area_scroll_to_child),
6705 (hildon_pannable_area_jump_to_child):
6706 * src/hildon-pannable-area.h: Added the new API functions:
6707 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
6708 hildon_pannable_area_scroll_to_child,
6709 hildon_pannable_area_jump_to_child
6712 * examples/Makefile.am
6713 * examples/hildon-pannable-area-example-2.c
6714 * examples/hildon-pannable-area-example-3.c: Added these two new
6715 examples in order to test and show how the new APIs work.
6717 2008-06-25 Alberto Garcia <agarcia@igalia.com>
6719 * examples/hildon-stackable-window-example.c (new_window):
6720 * src/Makefile.am (noinst_HEADERS):
6721 * src/hildon-program.c (hildon_program_go_to_root_window):
6722 * src/hildon-program.h:
6723 * src/hildon-stackable-window-private.h:
6724 * src/hildon-stackable-window.c:
6725 * src/hildon-stackable-window.h:
6726 Create hildon-stackable-window-private.h
6727 Move hildon_stackable_window_go_to_root_window() to HildonProgram
6729 * examples/hildon-app-menu-example.c (create_menu):
6730 * examples/hildon-hvolumebar-insensitive-example.c (main):
6731 * examples/hildon-hvolumebar-timer-example.c (on_idle):
6732 * examples/hildon-toolbar-seekbar-example.c (main):
6733 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
6734 * src/hildon-banner.c (hildon_banner_set_property):
6735 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
6736 Fix compilation warnings
6738 * src/hildon-window.c:
6741 2008-06-24 Alberto Garcia <agarcia@igalia.com>
6743 * src/hildon-stackable-window.c
6744 (hildon_stackable_window_unset_program):
6745 Calculate correctly whether to show the previous window if the
6746 last one is removed from the stack.
6747 (hildon_stackable_window_go_to_root_window):
6748 Send delete events starting from the topmost window.
6749 Stop if one of the windows is not destroyed.
6751 (hildon_stackable_window_delete_event)
6752 (hildon_stackable_window_class_init):
6753 Ignore the delete event if the window is not the topmost one.
6755 2008-06-24 Alejandro G. Castro <alex@igalia.com>
6757 * src/hildon-pannable-area.c
6758 (hildon_pannable_area_expose_event): Fixed a problem when
6759 selecting the background color of the scrollbars.
6761 2008-06-23 Alberto Garcia <agarcia@igalia.com>
6763 * examples/hildon-stackable-window-example.c
6764 * src/hildon-stackable-window.c
6765 * src/hildon-stackable-window.h
6766 hildon_stackable_window_go_home() renamed to
6767 hildon_stackable_window_go_to_root_window()
6768 Send delete events to windows rather than closing them with
6769 gtk_widget_destroy()
6771 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6773 * src/hildon-pannable-area.c
6774 (hildon_pannable_area_button_release_cb): Fix overshooting in
6777 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6779 * src/hildon-pannable-area.c
6780 (hildon_pannable_area_init): Initially show the scroll indicators.
6781 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
6783 Add initial effect showing the widget is pannable.
6785 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6787 * src/hildon-pannable-area.c
6788 (hildon_pannable_area_class_init)
6789 (hildon_pannable_area_set_property)
6790 (hildon_pannable_area_get_property)
6791 (hildon_pannable_area_button_press_cb):
6792 New 'velocity_fast_factor' property to decide which velocity is
6795 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6797 * src/hildon-pannable-area.c
6798 (hildon_pannable_draw_hscroll)
6799 (hildon_pannable_draw_vscroll):
6800 Use float variables to calculate the size of the scrollbars to
6801 avoid error propagation and resizing during scrolling.
6803 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6805 * src/hildon-pannable-area.c
6806 (hildon_pannable_draw_vscroll)
6807 (hildon_pannable_draw_hscroll):
6808 Define a minimum size for the scroll bars
6810 * src/hildon-stackable-window.c
6811 (hildon_stackable_window_go_home): Fix compilation warning
6812 (get_last_window): Minor optimizations
6813 (hildon_stackable_window_class_init): Fix initialization of
6816 2008-06-18 Alberto Garcia <agarcia@igalia.com>
6818 * src/hildon-stackable-window.c: Fixed typos in doc
6820 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
6822 * src/hildon-pannable-area.c
6823 (hildon_pannable_area_scroll):
6824 Calculate here whether we need to scroll instead of using the booleans
6825 that tell us whether to /draw/ the scrolling bars.
6827 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
6829 * src/hildon-app-menu.h
6831 * src/hildon-app-menu.c
6832 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
6833 multiple filter groups related code and API. Now we support only
6835 * examples/hildon-app-menu-example.c:
6837 Update to reflect API changes.
6839 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
6841 * src/hildon-stackable-window.c
6842 (hildon_stackable_window_class_init):
6843 Add hildon_stackable_window_realize.
6844 (hildon_stackable_window_realize):
6845 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
6846 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
6847 to apply theming and behavior specific to HildonStackableWindow
6850 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6852 * src/hildon-note.c (hildon_note_button_release):
6853 Close information notes also when tapping on them
6855 2008-06-12 Alejandro G. Castro <alex@igalia.com>
6857 Added BOUNCE_STEPS define to control the overshoot effect. Removed
6858 ELASTICITY, refactor and review, fix some issues with drawing
6861 * src/hildon-pannable-area.c:
6862 (hildon_pannable_area_button_press_cb): removed the conditions to
6863 avoid clicks when overshooting. It is not required
6865 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
6866 define. Refatored and reviewed the code, now we do not need to
6867 manage velocity in motion_notify.
6869 (hildon_pannable_area_motion_notify_cb): We have moved the code
6870 that controls the area_scroll to the axis_scroll function and get
6871 rid of duplicated code.
6873 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
6875 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
6877 (hildon_pannable_draw_vscroll),
6878 (hildon_pannable_draw_hscroll): Fixed the problems with the
6879 scrollbar drawing, now we do not use two surfaces, it is easier
6880 and saves resources.
6882 (hildon_pannable_area_get_property): Style modification.
6884 (hildon_pannable_area_class_init): Changed some default values.
6886 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
6888 * src/hildon-stackable-window.c: Fix some typos in the
6891 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6893 * src/hildon-dialog.c:
6894 Change indentation style
6897 (hildon_note_button_release):
6898 Use root coordinates to check if the release event happened
6901 * src/hildon-app-menu.c
6902 (hildon_app_menu_button_release):
6903 Remove unnecessary check
6905 * examples/hildon-app-menu-example.c
6907 Add cast to fix warning
6909 * src/hildon-app-menu.c
6910 (hildon_app_menu_class_init):
6911 New inner-border style property.
6912 Set all default spacings to 16
6913 (hildon_app_menu_init):
6914 Use vertical-spacing to set the space between filter buttons and
6915 regular menu buttons.
6916 Set the default container border using the inner-border value.
6918 * examples/hildon-app-menu-example.c
6920 Don't set the menu border explicitly, now we have the inner-border
6921 style property for that.
6923 2008-06-11 Alberto Garcia <agarcia@igalia.com>
6925 * src/hildon-app-menu.c (hildon_app_menu_init):
6926 Make the window modal
6928 * src/hildon-note.c (hildon_note_map)
6929 * src/hildon-app-menu.c (hildon_app_menu_map):
6930 Destroy the grab window if we're unable to grab the pointer
6932 * src/hildon-app-menu-private.h
6933 * src/hildon-app-menu.c
6934 (hildon_app_menu_init, hildon_app_menu_finalize)
6935 (hildon_app_menu_map, hildon_app_menu_unmap)
6936 (hildon_app_menu_button_release)
6937 (grab_transfer_window_get):
6938 Bring back the grab window
6939 (hildon_app_menu_realize):
6940 Decorate the window, set WM hint for Matchbox
6942 * src/hildon-note.c (hildon_note_realize):
6943 * src/hildon-banner.c (hildon_banner_realize):
6944 Add WM hints for Matchbox
6946 2008-06-10 Alberto Garcia <agarcia@igalia.com>
6948 * src/hildon-app-menu-private.h
6949 * src/hildon-app-menu.c
6950 (hildon_app_menu_init, hildon_app_menu_finalize)
6951 (hildon_app_menu_map, hildon_app_menu_unmap)
6952 (hildon_app_menu_button_release):
6953 Remove the grab window, it's not needed anymore
6955 * src/hildon-program.c
6956 Fixed typo in documentation
6958 * src/hildon-app-menu.h
6959 * src/hildon-app-menu.c
6960 * examples/hildon-app-menu-example.c
6961 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
6963 2008-06-09 Alberto Garcia <agarcia@igalia.com>
6966 Added new transfer_window and close_if_pressed_outside private
6968 (hildon_note_rebuild):
6969 Don't add a cancel button to the information note. It will be
6970 closed when tapping outside
6971 Remove the comment about the OK button in the documentation
6972 (hildon_note_realize):
6973 Set the notification type hint
6974 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
6975 Grab/ungrab pointer and keyboard if the note has to be closed when
6977 (hildon_note_button_release):
6978 Close the note when tapping outside (if applicable)
6980 * src/hildon-app-menu.c
6981 Grab/ungrab pointer and keyboard on map/unmap
6982 (hildon_app_menu_button_release, hildon_app_menu_class_init):
6983 Close the menu on button release, not button press
6985 * src/hildon-banner.c
6986 (hildon_banner_set_property)
6987 (hildon_banner_check_position):
6988 Make the banner use the full width of the screen
6989 (hildon_banner_show_information)
6990 (hildon_banner_show_information_with_markup):
6991 Don't display an icon by default
6993 2008-06-09 Alejandro G. Castro <alex@igalia.com>
6995 Added fading scrollbars and adapted all the overshooting code to
6996 horizontal scrolling. We have also fixed bugs with overshooting
6997 and current fading implementation.
6999 * src/hildon-pannable-area.c
7000 (hildon_pannable_area_scroll_indicator_fade): Time out function
7001 used to change the transparency of the scrollbars.
7003 (hildon_pannable_area_button_press_cb): Added horizontal overshot
7004 control and fixed a problem with fading, we now remove the fade
7005 timeout before adding a new one.
7007 (hildon_pannable_axis_scroll):
7008 (hildon_pannable_area_scroll):
7009 (hildon_pannable_area_timeout): Added this functions so we can use
7010 the scroll code both for vertical and horizontal.
7012 (hildon_pannable_area_motion_notify_cb):
7013 (hildon_pannable_area_button_release_cb): Added the horizontal
7014 scrolling control, fixed a problem with the overshooting timeout.
7016 (rgb_from_gdkcolor): Added this function, it is used in the cairo
7017 painting of the scrolls.
7019 (hildon_pannable_draw_vscroll):
7020 (hildon_pannable_draw_hscroll):
7021 (hildon_pannable_area_expose_event):
7022 Draw both scrollbars and rectangles in the overshooting area.
7024 (hildon_pannable_area_get_property):
7025 (hildon_pannable_area_set_property):
7026 Modified the overshoot property to overshoot_max
7028 (hildon_pannable_area_map):
7029 Replaced the comments symbols.
7031 (hildon_pannable_area_size_allocate):
7032 (hildon_pannable_area_class_init):
7033 (hildon_pannable_area_init): Added horizontal scroll, fading
7034 effect properties, fixed a problem when overshooting in the bottom
7037 * examples/hildon-pannable-area-example.c:
7038 (get_sawtooth_label): Now we use smaller sawtooths, the effect
7039 looks better in the example.
7041 2008-06-03 Alberto Garcia <agarcia@igalia.com>
7043 * src/hildon-window.c
7044 * src/hildon-window.h
7045 (hildon_window_class_init)
7046 (hildon_window_unset_program)
7047 (hildon_window_unset_program_real):
7048 Make unset_program a virtual function
7050 * src/hildon-stackable-window.c
7051 * src/hildon-stackable-window.h
7052 Added hildon_stackable_window_go_home()
7054 * examples/Makefile.am
7055 * examples/hildon-stackable-window-example.c
7056 HildonStackableWindow example
7058 2008-06-03 Alejandro G. Castro <alex@igalia.com>
7060 * hildon-pannable-area.c: Added the overshoot property and removed
7061 the OVERSHOOT define. Fixed an indent style error.
7062 (hildon_pannable_area_motion_notify_cb):
7063 (hildon_pannable_area_get_property):
7064 (hildon_pannable_area_set_property): Add overshoot property.
7066 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
7069 (hildon_pannable_area_class_init): Installed the new property.
7071 * hildon-pannable-area-example.c: Added a sawtooth function, this
7072 way it is easier to check the movement in the pannable.
7073 (get_sawtooth_label): Added this function.
7074 (main): Now we get the labels from the new get_sawtooth_label
7077 2008-05-26 Alberto Garcia <agarcia@igalia.com>
7079 * src/hildon-app-menu.h
7080 * src/hildon-app-menu.c
7081 Renamed API variables for consistency
7083 (hildon_app_menu_popup): Use also the default window size to
7084 decide where to place the menu
7086 (hildon_app_menu_init, hildon_app_menu_class_init): New
7087 external-border style property
7089 2008-05-26 Michael Natterer <mitch@imendio.com>
7091 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
7092 widget_class->tap_and_hold_setup signal slot doesn't exist any
7093 longer, stop overriding it.
7095 (hildon_time_editor_init): g_signal_connect() to the
7096 tap-and-hold-setup signal instead.
7098 (hildon_time_editor_entry_keypress): add cast to fix warning.
7100 2008-05-23 Alberto Garcia <agarcia@igalia.com>
7102 * doc/hildon-docs.sgml
7104 * examples/Makefile.am
7105 * examples/hildon-app-menu-example.c
7107 * src/hildon-app-menu-private.h
7108 * src/hildon-app-menu.c
7109 * src/hildon-app-menu.h
7111 New HildonAppMenu widget
7113 2008-05-21 Alejandro G. Castro <alex@igalia.com>
7115 Rearranged the inheritance of the pannable area, now it inherits
7116 from GtkBin. This will allow us to control the event_window and
7117 the allocation process of the widget, required for some effects.
7119 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
7120 GtkBin structures. * src/hildon-pannable-area.c: Added the
7121 event_window variable.
7122 (hildon_pannable_area_button_press_cb):
7123 (hildon_pannable_area_button_release_cb):
7124 (hildon_pannable_area_motion_notify_cb):
7125 Changed the signature of the method, now we override the event
7126 callback instead of connecting to the signal.
7128 (hildon_pannable_area_realize):
7129 (hildon_pannable_area_unrealize):
7130 (hildon_pannable_area_map):
7131 (hildon_pannable_area_unmap):
7132 (hildon_pannable_area_size_allocate):
7133 Added functions to control the widget construction. We add a
7134 INPUT_ONLY window and we put it over the widgets inside the
7135 container, this event_window handles the events.
7137 (hildon_pannable_area_class_init):
7138 Replaced the signal connections with overrides of the event
7141 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7143 Bouncing effect added when touching the borders, you can change
7144 the elasticity of the border changing the ELASTICITY define.
7146 * src/hildon-pannable-area.c: Added ELASTICITY define.
7147 (hildon_pannable_area_timeout): Added inverse velocity when
7148 touching the border of the child widget, that causes a bounce.
7150 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7152 Improved performance, we now do not go to the X server in order to
7153 get the list of window children. Apparently the effect is the
7154 same, we have to be careful and check if this breaks something in
7157 * src/hildon-pannable-area.c:
7158 (get_ordered_children): Removed this function.
7159 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
7160 the children windows function with gdk_window_get_children.
7162 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7164 * src/hildon-pannable-area.c:
7165 (hildon_pannable_area_dispose): Fixed a crash when closing the
7166 window and kinetics is activated.
7168 2008-05-19 Alberto Garcia <agarcia@igalia.com>
7170 * src/hildon-pannable-area.h
7171 * src/hildon-pannable-area.c
7172 Changed indentation style to meet the one used in Hildon
7174 2008-05-19 Alejandro G. Castro <alex@igalia.com>
7176 Reviewed the interaction of the AUTO mode, now we use the time
7177 attribute of the events and calculate the velocity in the motion,
7178 doing a gimp like calculation. The velocity is calculated in each
7179 motion event using the last velocity and the current one, the
7180 SMOOTH_FACTOR controls the percentage of the new velocity we use.
7182 * src/hildon-pannable-area.c: Replaced the time based algorithm
7184 (hildon_pannable_area_motion_notify_cb): now we do not launch the
7185 timeout for the AUTO mode when we are still moving the cursor. We
7186 added also the velocity calculation in this function.
7187 (hildon_pannable_area_button_release_cb): launch the timeout in
7188 case we are in AUTO mode. There are still some constants here that
7189 come from the old implementation that should be reviewed and
7192 2008-05-15 Alberto Garcia <agarcia@igalia.com>
7194 * doc/hildon-docs.sgml
7197 * src/hildon-stackable-window.c
7198 * src/hildon-stackable-window.h
7200 New HildonStackableWindow widget
7202 * examples/hildon-dialog-example.c
7203 * examples/hildon-pannable-area-example.c
7206 2008-05-14 Alberto Garcia <agarcia@igalia.com>
7208 * src/hildon-dialog.c
7209 (hildon_dialog_new_with_buttons): New constructor.
7211 * examples/hildon-dialog-example.c
7212 (main): Update the example to use the new
7213 hildon_dialog_new_with_buttons().
7215 * examples/hildon-pannable-area-example.c
7216 (main): Update example.
7218 2008-05-13 Alberto Garcia <agarcia@igalia.com>
7220 * doc/hildon-docs.sgml
7222 Added HildonPannableArea to the documentation.
7224 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
7226 * doc/visual_index.xml
7227 Fix reference to HildonLoginDialog in documentation
7229 * doc/hildon-docs.sgml
7231 * examples/Makefile.am
7232 * examples/hildon-dialog-example.c
7234 * src/hildon-dialog.c
7235 * src/hildon-dialog.h
7237 New HildonDialog widget.
7239 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7241 * src/hildon-pannable-area.c
7242 Merge latest changes (r4318, r4342) from libmokoui trunk
7244 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7246 * examples/Makefile.am
7247 * examples/hildon-pannable-area-example.c
7249 * src/hildon-pannable-area.c
7250 * src/hildon-pannable-area.h
7252 New HildonPannableArea widget.
7254 2008-04-15 18:05:19 <timj@imendio.com>
7256 * src/hildon-banner.c: revert the recent change, that introduced
7257 gtk_window_present() calls. this reopens:
7258 Bug 78481 - [freetest] information banners are hidden under browser menu
7259 But resolves another variant of:
7260 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7262 2008-04-15 13:21:13 <timj@imendio.com>
7264 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
7265 recreated its layout, spotted by Kris. this fixes all remaining
7266 artefacts and stability issues with the banner code. in particular:
7267 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7269 2008-04-14 16:52:59 <timj@imendio.com>
7271 * src/hildon-banner.c: guard force_to_wrap_truncated() against
7272 operating on unrealized widgets, fixes:
7273 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7275 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
7277 2008-04-09 Kristian Rietveld <kris@imendio.com>
7279 Fixes: NB#77775: Media Player, Save Now playing list, too long name
7280 makes banner disappear.
7281 Fixes: NB#79182: info banner flickering with certain message lengts.
7283 * src/hildon-banner.c (hildon_banner_constructor),
7284 (hildon_banner_init), (hildon_banner_set_text),
7285 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
7286 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
7287 FALSE, reset size requests of label and banner,
7288 (force_to_wrap_truncated): when the text is too wide, always enforce
7289 the maximum possible width instead of recalculating it from the
7290 layout; enforce the maximum banner height of 3 lines,
7291 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
7292 nicer wrapping and no truncated chars if space gets tight.
7294 * src/hildon-banner-private.h: add has_been_wrapped and
7295 has_been_truncated fields.
7297 2008-04-07 Sven Herzberg <sven@imendio.com>
7299 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
7300 local values in hildon_date_editor_size_allocate
7302 * src/hildon-date-editor.c: moved the real allocation code into the
7305 2008-04-07 Sven Herzberg <sven@imendio.com>
7307 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7308 local values in hildon_date_editor_size_allocate
7310 * src/hildon-date-editor.c: merged the two if() branches together
7312 2008-04-07 Sven Herzberg <sven@imendio.com>
7314 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7315 local values in hildon_date_editor_size_allocate
7317 * src/hildon-date-editor.c: changed the arguments of the if()
7320 2008-04-07 Sven Herzberg <sven@imendio.com>
7322 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7323 local values in hildon_date_editor_size_allocate
7325 * src/hildon-date-editor.c: split the calculation of the allocation
7326 from the real allocation
7328 2008-03-27 Michael Natterer <mitch@imendio.com>
7330 Fixes: NB#81696: The passcode is not overwritten even after
7333 * src/hildon-code-dialog.c
7334 (hildon_code_dialog_button_clicked)
7335 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
7336 because that doesn't overwrite selected text. Instead, emit the
7337 "commit" signal on the entry's im_context so the entry's normal
7338 insert logic is triggered. Set the cursor to the end of the entry
7339 after each insert operation so that we *only* insert in the middle
7340 of the text if something was selected.
7342 2008-03-27 Michael Natterer <mitch@imendio.com>
7344 Enable fixing: NB#79916 and NB#79918: The help topic for Color
7345 selector cannot be opened
7347 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
7348 when the popup color selector is created. Please connect to this
7349 signal in order to set the dialog's help ID.
7351 2008-03-25 Sven Herzberg <sven@imendio.com>
7353 Fixes: MB#1212: Hide info banners (infoprints) on click
7355 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
7356 extracted the close event simulation into an extra function
7357 (hildon_banner_button_press_event): simulate a close event and destroy
7358 the widget if the event wasn't handled
7359 (hildon_banner_class_init): added the button_press_event handler
7360 (hildon_banner_init): added button-press events to the widget
7362 2008-03-25 Sven Herzberg <sven@imendio.com>
7364 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
7365 Patch from: Mohammad Anwari <mdamt@maemo.org>
7367 * src/hildon-banner.c: let the HildonBanners pop up on the left side
7368 instead of the right in RTL mode
7369 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
7370 breadcrumb button list in RTL mode
7371 * src/hildon-caption.c: mirror the appearance of the caption widget in
7373 * src/hildon-date-editor.c: mirror appearance of the date editor in
7375 * src/hildon-time-editor.c: mirror appearance of the time editor in
7377 * src/hildon-window.c: fix the position of the popup in RTL mode
7379 2008-03-25 Sven Herzberg <sven@imendio.com>
7381 Amendment to the fix of NB#22072. Fix compilation.
7383 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
7385 2008-03-19 Sven Herzberg <sven@imendio.com>
7387 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
7390 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
7391 timeout id properly when the timeout will disappear this leaves no
7392 artifacts around in the destroy(); there will only be the timeout
7393 created by hildon_banner_ensure_timeout() and adding a new timeout
7394 will also work if the timeout gets removed because the timeout_handler
7397 2008-03-19 Michael Natterer <mitch@imendio.com>
7399 Fixes: NB#79791: Cannot set focus to Master volume using stylus
7401 * src/hildon-volumebar.c
7402 * src/hildon-vvolumebar.c
7403 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
7404 the widget becomes focussable at all.
7406 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
7407 set the focus to wither the mute button or the volumebar.
7409 Remove own "can-focus" property and instead listen to
7410 notify::can-focus in order to update the widget's state.
7412 Implement GtkWidget::focus() and make sure we can also *leave* the
7413 widget, not only enter it, depending on volumebar orientation and
7414 requested focus direction.
7416 Clean up set_mute() to cooperate nicely with all the above.
7418 2008-03-04 Michael Natterer <mitch@imendio.com>
7420 Fixes: NB#78481: information banners are hidden under browser menu
7422 * src/hildon-banner.c: call gtk_window_present() on the banners so
7423 they are risen if they are already visible.
7425 2008-03-03 Sven Herzberg <sven@imendio.com>
7427 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
7429 * examples/hildon-window-menu-example.c: (main): extended the window
7430 menu example to serve as a testcase for automatically added
7431 accelerator groups, too
7432 * src/hildon-window.c: (hildon_window_add_accel_group),
7433 (hildon_window_set_menu): added patch by Tommi Komulainen
7435 2008-03-03 Sven Herzberg <sven@imendio.com>
7437 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
7439 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
7440 knowledge about the border allocators used within GTK+
7442 2008-02-26 Sven Herzberg <sven@imendio.com>
7444 Fixes: MB#2981: Build with asserts broken
7446 * src/hildon-date-editor.c,
7447 * src/hildon-number-editor.c,
7448 * src/hildon-time-editor.c,
7449 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
7450 the proper GType instance check
7452 2008-02-25 Sven Herzberg <sven@imendio.com>
7454 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
7456 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
7457 * examples/hildon-window-menu-example.c: (main): explicitly show
7459 * src/hildon-window.c:
7460 (hildon_window_set_main_menu): moved most of the code from set_menu()
7461 to this place; skipped the call to gtk_widget_show_all(); also didn't
7462 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
7463 (hildon_window_set_menu): removed most of the code, just keep the
7464 questionable gtk_widget_show_all()
7465 * src/hildon-window.h: added the new function and deprecate the old
7468 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7474 * debian/changelog: Updating.
7476 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7479 * pkgconfig/Makefile.am:
7480 * pkgconfig/hildon.pc.in:
7483 Do not use PACKAGE_VERSION_MAJOR as the API revision,
7484 use newly created API_MAJOR_VERSION.
7486 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7492 * debian/changelog: Updating.
7494 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7496 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
7498 Add outer_border style property, we use it but don't define it (!).
7502 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
7504 * examples/hildon-bread-crumb-trail-example.c (main):
7508 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
7510 Fix logic for the bread crumb trail node removal.
7514 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7520 * debian/changelog: Updating.
7522 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7524 Patch by Alejandro to get/set passwords dialogs accesibility.
7526 * hildon-1/src/hildon-get-password-dialog.c:
7527 * hildon-1/src/hildon-set-password-dialog.c:
7528 Set atk_set_name to the passwd entries in order to allow
7529 accessibility by name on this entries.
7531 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7536 * debian/control: Updating gtk dep.
7538 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
7540 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
7541 USE_MAEMO_GTK is enabled.
7543 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
7545 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
7546 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
7548 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7554 * debian/changelog: Updating.
7556 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7558 * examples/Makefile.am:
7559 * examples/hildon-logical-color-example.c:
7560 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
7561 applied + adding a test case. Fixes: NB#71660.
7563 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
7565 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
7566 to be visible, fixes warning on map for windows without toolbars.
7568 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
7570 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
7571 2.11.0, add a check for that besides the MAEMO_GTK check.
7573 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7579 * debian/changelog: Updating.
7581 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7583 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
7584 visibility. Fixes: NB#70842 and MB#615.
7586 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7588 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
7589 set the separator as no-show-all so it doesn't unintentionally appear when
7590 someone does a show_all.
7592 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7594 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
7595 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
7596 toplevel item. Fixes: NB#62031
7598 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
7600 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
7601 fix the name of the function in the docs.
7603 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7609 * debian/changelog: Updating.
7611 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7613 * examples/hildon-banner-long-example.c: Adding a test-case for long
7616 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
7618 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7620 * src/hildon-color-chooser-dialog.c:
7621 * src/hildon-color-chooser.c:
7622 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
7623 memory leaks in font selector and color selector. Fixes: NB#70499 and
7626 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
7628 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
7630 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7632 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
7633 little bit bigger. Fixes: #NB63694.
7635 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7641 * debian/changelog: Updating.
7643 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7646 * doc/hildon-docs.sgml:
7647 * doc/images/bread-crumb-trail.png:
7648 * doc/images/calendar-popup.png:
7649 * doc/images/caption.png:
7650 * doc/images/code-dialog.png:
7651 * doc/images/color-button.png:
7652 * doc/images/color-chooser-dialog.png:
7653 * doc/images/color-chooser.png:
7654 * doc/images/controlbar.png:
7655 * doc/images/date-editor.png:
7656 * doc/images/font-selection-dialog.png:
7657 * doc/images/get-password-dialog.png:
7658 * doc/images/hvolumebar.png:
7659 * doc/images/login-dialog.png:
7660 * doc/images/note.png:
7661 * doc/images/number-editor.png:
7662 * doc/images/range-editor.png:
7663 * doc/images/seekbar.png:
7664 * doc/images/set-password-dialog.png:
7665 * doc/images/sort-dialog.png:
7666 * doc/images/time-editor.png:
7667 * doc/images/time-picker.png:
7668 * doc/images/vvolumebar.png:
7669 * doc/images/weekday-picker.png: Adding the new generated widget shots.
7670 Adding the bread-crumb-trial and helpers to the documentation.
7672 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7674 * examples/hildon-find-toolbar-example.c:
7675 * src/hildon-find-toolbar.c:
7676 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
7677 actually continue firing the other handlers if connected. Adding a new
7679 hildon_find_toolbar_get_last_index that gets the index of the most
7680 recently added (last) item. Fixes: NB#52301.
7682 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7684 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
7685 behaviour. Fixes: NB#68610.
7687 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7689 * src/hildon-banner.c: Actually reverting the previous change. It somehow
7692 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7694 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
7695 when realizing the banner. Should make the infonbanner effect a bit more
7698 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7700 * src/hildon-volumebar.c:
7701 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
7702 hildon_volumebar_set_range_insensitive_message and
7703 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
7705 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7707 * src/hildon-window.c: Fixing the border freeing on destroy.
7709 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7711 * src/hildon-code-dialog-private.h:
7712 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
7713 kw keyboard support in HildonCodeDialog.
7715 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7721 * debian/changelog: Updating.
7723 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7725 * src/hildon-date-editor.c:
7726 * src/hildon-number-editor.c:
7727 * src/hildon-private.c:
7728 * src/hildon-private.h:
7729 * src/hildon-time-editor.c:
7730 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
7731 handling in subclassed composite widgets. Fixes: NB#66628.
7733 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7735 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
7736 from destroy_ callback as it introduces problems in async dbus signal
7737 handlers. Fixes NB#66673.
7739 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7741 * examples/hildon-hvolumebar-example.c:
7742 * src/hildon-volumebar.c: Improving the focus handling in the
7743 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
7744 set_property accessor so that "mute" property can be actually set. I'm
7745 scared that nobody noticed it's totally broken.
7747 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7749 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
7752 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7754 * src/hildon-calendar.c:
7755 * src/hildon-number-editor.c:
7756 * src/hildon-time-picker.c: Changing the timeout repeat so that it
7757 matches the spec of 6 chars per second. Fixes: NB#60489.
7759 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7761 * src/hildon-helper.c: Really fixing NB#58352. Looks like
7762 gtk_style_lookup_color sometime returns FALSE even though color was
7763 found and values were filled properly. Weird. Removing the warning for the
7766 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7768 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
7769 expand vertically. Adding some extra space to the find toolbar buttons to
7770 make them thumbable. Fixes NB#66060.
7772 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7774 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
7775 popup with "Ok" and "Cancel". Fixes NB#59299.
7777 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7779 * src/hildon-calendar.c: Process all window updates before executing next
7780 timeout. Fixes: NB#54146.
7782 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7788 * debian/changelog: Updating.
7790 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7792 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
7793 the client event and ignore it, since we use the delete event to close
7796 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7798 * src/hildon-helper.c: Remove the bogus warning about color not being
7799 found. Fixes NB#58352.
7801 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7803 * examples/Makefile.am:
7804 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
7805 HildonSeekbar widget inside a toolbar.
7807 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7809 * src/hildon-banner.c (hildon_banner_init): mark the banners as
7810 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
7811 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
7812 don't want to be closed by non-temporary windows on map.
7814 Also use G_DEFINE_TYPE instead of manually typed code.
7816 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7823 * debian/rules: Updating.
7825 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7827 * examples/Makefile.am:
7828 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
7829 bug NB#61128. Strangely it works.
7831 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7833 * src/hildon-date-editor.c: When the date editor entry has been changed
7834 but the numbers of characters < max, turn off the skip validation flag.
7835 Prevents a situation when we enter first a valid year and later re-write
7836 it with an invalid one. Fixes NB#60154.
7838 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7840 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
7841 code dialog. Fixes NB#64355.
7843 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7845 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
7846 switching the page. Fixes NB#49374.
7848 * examples/Makefile.am:
7849 * examples/hildon-wizard-dialog-example.c: Adding an example for
7850 HildonWizardDialog that shows how to handle manual sensitivity setting on
7853 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7857 * src/hildon-version.h.in:
7858 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
7860 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7862 * src/hildon-volumebar.c: Updating the docs.
7864 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7870 * debian/changelog: Updating.
7872 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7874 * src/hildon-find-toolbar.c:
7875 * src/hildon-find-toolbar.h: Adding a few new functions to control the
7876 selected item: hildon_find_toolbar_set_active,
7877 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
7878 hildon_find_toolbar_get_active_iter . They correspond to respective
7879 GtkComboBox functions.
7881 * examples/Makefile.am:
7882 * examples/hildon-find-toolbar-example.c: Adding the example to test the
7885 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7887 * examples/Makefile.am:
7888 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
7891 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
7892 when font size > 32 and we pack a focusable widget inside. Actually using
7893 the default response would work too, but since we don't show default
7894 response state in any way (no theming) it would not be visible to the
7895 user. Fixes NB#63430.
7897 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7899 * src/hildon-date-editor.c: Adding the missing variable setter in the
7900 set_property handler. Fixes NB#54182.
7902 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7904 * src/hildon-window.h: Changing the long key press time from 1500ms to
7905 800ms as requested in NB#63700. I have a bad feeling about this, let's
7906 see... Fixes NB#63700.
7908 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
7910 * src/hildon-time-picker.c (hildon_time_picker_class_init,
7911 hildon_time_picker_map, hildon_time_picker_realize,
7912 hildon_time_picker_style_set): Split the contents of map to more
7913 appropriate functions; set window decorations on realize and update
7914 arrows' size requisitions on style-set. Avoids unnecessary resizing.
7916 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
7921 * debian/changelog: Updating.
7923 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
7925 * src/Makefile.am: fixed installation of the header files
7927 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7933 * debian/changelog: Updating.
7935 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7937 * configure.ac: Removing some remaining of --enable-xan.
7939 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
7941 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
7942 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
7944 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
7945 2.10.12-osso6 because the move-focus signal needs to be available in
7948 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7950 * examples/Makefile.am:
7951 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
7952 that makes a HildonVolumebar insensitive before mapping it. Seems to work
7953 fine. Prolly NB#61128 is fixed now.
7955 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7957 * src/hildon-volumebar.c:
7958 * src/hildon-volumebar.h: Adding the
7959 hildon_volumebar_set_range_insensitive_message and
7960 hildon_volumebar_set_range_insensitive_messagef functions to set
7961 insensitive message on the slider of the volumebar. Fixes NB#61129.
7963 * examples/Makefile.am:
7964 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
7965 test the new insensitive messsage functionality on HildonVolumebar.
7967 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
7969 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
7972 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
7974 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
7975 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
7976 button on after clearing the trail.
7978 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7980 * src/hildon-code-dialog.c: Removing the separator from the dialog.
7982 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7984 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
7985 by splitting the installed headers in generated and non-generated groups. Use
7986 only the non-generated headers to create the hildon-enum-types.h file.
7988 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
7990 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7992 * src/hildon-window.c: Hide the window before performing the destroy.
7993 Should make the app closing a little tiny bit more snappy.
7995 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7997 * src/hildon-seekbar.c: add gtkrange.h header
7998 * src/hildon-caption.c: remove unused variable
8000 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
8002 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
8005 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8011 * debian/changelog: Updating.
8013 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
8015 * src/hildon-window.c (hildon_window_window_state_event,
8016 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
8017 escape timeout on focus-out-event rather than notify::is-topmost; the
8018 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
8020 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8022 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
8023 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
8025 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8027 * src/hildon-window: actually, you need to use the macro always, there's
8028 no private pointer in the instance structure. We should have cleaned this up
8029 when we had the chance...
8031 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8033 * src/hildon-window.c: do not get the private date from HildonWindow before
8034 it passes the g_return_if_fail check. Once it's passed the test, there's no
8035 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
8036 if you are only going to access the data once. Whitespace cleanups.
8038 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
8040 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8041 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8043 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8049 * debian/changelog: Updating.
8051 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8053 * src/hildon-window.c: When destroying the window, remove (if exists) the
8054 escape timeout handler. Fixes #NB59276.
8056 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8058 * src/hildon-banner.c: When realizing the widget, set the window
8059 transiency. Setting the transiency in the gobject constructor is not
8060 good, as the widget is not realized at that point. Fixes: #NB56624.
8062 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8064 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
8065 Add padding for future expansions.
8067 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8069 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
8070 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
8071 will fake an activation on the previous to the last item of the trail, so
8072 the effect can be overrided by the developer as usual.
8073 Also change the callback for the back button to do the same thing, so its
8074 effect can be overrided too. Fixes: NB#58982
8076 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8078 * src/hildon-caption.c: Implementing the proper focus grabbing in the
8079 HildonCaption. Fixes NB#52379.
8081 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8083 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
8084 the internal state of the trail after the user has had the chance of executing
8085 his handler for the signal. Specifically, it may happen that the activated button
8086 is removed and the user still lets the default handler run. This would segfault
8089 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8091 * src/hildon-font-selection-dialog.c: When the font is really big, add the
8092 scrollbar to the preview dialog. Fixes NB#54147.
8094 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8096 * src/hildon-date-editor.c: Changing the default max year to 2037. The
8097 max/min year properties can be altered, so the client can modify it
8098 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
8100 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8102 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
8103 hildonlike by default. Fixing a problem with disappearing arrows when
8104 scrolling through months and years. Fixes NB#54127.
8106 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8108 * examples/hildon-date-editor-example.c: Adding error callback to the date
8111 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8117 * configure.ac: Updating.
8119 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8121 * configure.ac: Adding a special '--enable-xan' configure option that
8122 turns off the -Werror compilation setting. Usefull for development.
8124 * src/hildon-calendar.c:
8125 * src/hildon-number-editor.c:
8126 * src/hildon-time-picker.c: Adding the 5* multiplier to
8129 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
8131 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
8132 instead of g_object_ref + gtk_object_sink.
8134 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8140 * debian/changelog: Updating.
8142 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8144 * src/hildon-color-chooser-dialog.c:
8145 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
8146 straight from Tommi labs.
8148 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8150 * examples/hildon-finger-example.c: Correcting the header file path.
8152 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
8153 the changed signal. Fixes a small memory leak.
8155 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8159 * src/hildon-banner.c: Importing several usefull fixes from the
8160 ubuntu-mobile branch.
8162 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8164 * examples/Makefile.am:
8165 * examples/hildon-finger-example.c: Adding a finger-checking code
8168 * src/hildon-font-selection-dialog.c: Do not allocate the color
8169 structure using the g_new. Fixes NB#54061.
8171 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8173 * src/hildon-helper.c: Correcting tabs in file.
8175 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
8177 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
8178 control the visibility of the children.
8180 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
8182 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8188 * debian/changelog: Updating.
8190 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8192 * src/hildon-bread-crumb-trail.c:
8193 (hildon_bread_crumb_trail_size_allocate):
8195 Make the back button always a square.
8197 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8199 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
8200 from the .c file as it's a private file.
8202 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8204 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
8205 uses slightly bigger height.
8207 * src/hildon-font-selection-dialog.c: Adding some checks before
8208 freeing memory in the font selection dialog.
8210 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8212 * src/hildon-font-selection-dialog.c: Adding a small check when
8215 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
8216 buttons sensitivity on page switching.
8218 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
8220 * src/hildon-bread-crumb-trail.c: make the add method handle all the
8221 internal details of adding a bread crumb to the trail.
8223 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8229 * debian/changelog: Updating.
8231 * src/hildon-bread-crumb-trail.h:
8232 * src/hildon-bread-crumb.h: Changing the API guard to
8233 HILDON_ENABLE_UNSTABLE_API.
8235 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8243 * src/hildon-helper.h: Updating.
8245 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8253 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8257 * src/hildon-helper.h: Small fix to make the package actually compile.
8259 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8261 * src/hildon-bread-crumb-trail.h:
8262 * src/hildon-bread-crumb.h:
8264 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
8265 to define ENABLE_UNSTABLE_API in the code that includes these headers.
8267 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8269 * examples/hildon-bread-crumb-trail-example.c:
8271 * src/hildon-bread-crumb-trail.c:
8272 * src/hildon-bread-crumb-trail.h:
8273 * src/hildon-bread-crumb.c:
8274 * src/hildon-bread-crumb.h:
8275 * src/hildon-marshalers.list:
8276 * src/hildon-bread-crumb-widget.c:
8277 * src/hildon-bread-crumb-widget.h:
8279 Slight change in the widget design. The bread crumb trail API is
8280 unchanged, but HildonBreadCrumb is now an interface. A *private*
8281 implementation, hildon-bread-crumb-widget, is provided and used
8282 internally by the trail for the push_text/push_icon functions.
8284 The generic push API is still available, so anyone can implement
8285 and use its own bread crumb widget.
8287 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8289 * debian/rules: Fixing the shlibs.
8291 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8293 * src/hildon-banner.c: Fixing a problem with timed banners having
8294 their parrent destroyed before they are.
8296 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
8298 * src/hildon-bread-crumb.c:
8299 * src/hildon-bread-crumb.h:
8301 Make the get_natural_size function a vfunc.
8303 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8305 * src/hildon-bread-crumb.c:
8306 * src/hildon-bread-crumb-trail.c:
8310 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8317 * debian/changelog: Updating for release.
8319 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8321 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
8322 don't leak the pango layout.
8324 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8327 * examples/hildon-bread-crumb-trail-example.c:
8331 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8333 * debian/changelog: Removing the bug-fixed entries that were actually
8334 resolved as WONTFIX.
8336 * src/hildon-date-editor.c: Removing a redundant check. Fixes
8339 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8341 * src/hildon-bread-crumb-trail.c:
8342 * src/hildon-bread-crumb-trail.h:
8343 * src/hildon-bread-crumb.c:
8344 * src/hildon-bread-crumb.h:
8348 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8350 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
8351 until it's passed the type check.
8353 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8355 * examples/hildon-bread-crumb-trail-example.c
8359 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8361 * examples/Makefile.am
8362 * examples/hildon-bread-crumb-trail-example.c
8364 * src/hildon-bread-crumb-trail.c
8365 * src/hildon-bread-crumb-trail.h
8366 * src/hildon-bread-crumb.c
8367 * src/hildon-bread-crumb.h
8369 New HildonBreadCrumbTrail widget.
8371 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
8373 * src/hildon-range-editor.c (hildon_range_editor_init),
8374 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
8375 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
8376 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
8377 hildon_time_editor_class_init, hildon_time_editor_init),
8378 src/hildon-get-password-dialog.c (invalid_input,
8379 hildon_get_password_set_property, hildon_get_password_get_property,
8380 create_contents, hildon_get_password_dialog_set_max_characters),
8381 src/hildon-set-password-dialog.c (create_contents),
8382 src/hildon-date-editor.c (hildon_date_editor_init),
8383 src/hildon-login-dialog.c (hildon_login_dialog_init),
8384 src/hildon-number-editor.c (hildon_number_editor_init),
8385 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
8386 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
8387 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
8388 configure option and adding the respective checks in the code.
8389 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
8390 hildon_calendar_drag_data_received): fixed some build warnings.
8392 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8394 * debian/changelog: A 1.0.0 release notes.