1 2009-06-08 Alberto Garcia <agarcia@igalia.com>
3 * doc/hildon-sections.txt
4 * hildon/hildon-pannable-area.c
5 * hildon/hildon-banner.h
6 * hildon/hildon-banner.c: Documentation updates.
8 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
11 2009-06-05 Alejandro G. Castro <alex@igalia.com>
13 * hildon/hildon-calendar-popup.h:
14 * hildon/hildon-caption.h:
15 * hildon/hildon-code-dialog.h:
16 * hildon/hildon-controlbar.h:
17 * hildon/hildon-date-editor.h:
18 * hildon/hildon-dialog.h:
19 * hildon/hildon-get-password-dialog.h:
20 * hildon/hildon-hvolumebar.h:
21 * hildon/hildon-login-dialog.h:
22 * hildon/hildon-note.h:
23 * hildon/hildon-number-editor.h:
24 * hildon/hildon-range-editor.h:
25 * hildon/hildon-seekbar.h:
26 * hildon/hildon-set-password-dialog.h:
27 * hildon/hildon-sort-dialog.h:
28 * hildon/hildon-time-editor.h:
29 * hildon/hildon-time-picker.h:
30 * hildon/hildon-volumebar-range.h:
31 * hildon/hildon-volumebar.h:
32 * hildon/hildon-vvolumebar.h:
33 * hildon/hildon-weekday-picker.h:
34 * hildon/hildon-window.h:
35 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
36 macros with the current replacements
38 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
40 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
42 * hildon/hildon-color-button.c (hildon_color_button_init): Use
43 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
44 itself, to make it fit better with Fremantle style.
46 Fixes: NB#109878 (height and width of focus on color icon is not
47 consistent with other item in the application tool bar)
49 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
51 * hildon/hildon-touch-selector.c:
52 (hildon_touch_selector_optimal_size_request): use the current requisition
53 as the base, in order to include any possible extra widget, like the
54 hildon entry on HildonTouchSelectorEntry
56 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
58 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
60 * configure.ac: post release version bump
61 * debian/changelog: post release version bump
63 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
68 * configure.ac: Bump version.
69 * debian/changelog: Updates.
71 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
73 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
75 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
76 to ensure the banner contents are centered, instead of relying on
77 the expand and fill properties in GtkHBox.
78 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
80 Fixes: NB#108265 (Animation banner not properly centered)
82 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
84 * hildon/hildon-pannable-area.c
85 (hildon_pannable_area_initial_effect): Remove the initial_effect
86 management, check initial_hint
87 (hildon_pannable_are_expose_event): Remove the initial_hint management,
88 set initial_effect to FALSE
89 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
90 by launching the fade_timeout if the scrollbars state has changed and are
92 * examples/hildon-pannable-area-initial-hint-example.c
93 Modified to allow to remove rows too. Add and remove rows one by one.
95 2009-05-28 Alberto Garcia <agarcia@igalia.com>
97 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
98 Don't close the menu if there's an animation actor below it.
100 Fixes: NB#117927 (Application menu not usable with animation
103 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
105 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
106 "focus-on-click" from the dialog button, to avoid stealing the
107 focus from the entry.
109 Fixes: NB#118903 (Account setup wizard: Text in Search field
110 should be focused when "Region" touch list picker is reopened
113 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
115 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
116 (prepare_action_area): Completely hide the dialog separator.
118 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
120 * hildon/hildon-touch-selector-entry.c
121 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
122 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
123 now that the entry is exposed.
125 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
127 * hildon/hildon-touch-selector-entry.c
128 (hildon_touch_selector_entry_init): Change the entry's size
129 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
131 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
133 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
134 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
135 avoid unnecessary scaling.
137 2009-05-27 Alberto Garcia <agarcia@igalia.com>
139 * hildon/hildon-app-menu.c (hildon_app_menu_map):
140 Create grab transfer window before calling parent's map function.
142 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
143 "crushed" button(s) in the top left corner)
145 2009-05-26 Alberto Garcia <agarcia@igalia.com>
147 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
148 Check if the window is already realized when pushing it.
150 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
152 * configure.ac: post release version bump
153 * debian/changelog: post release version bump
155 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
160 * configure.ac: Bump version.
161 * debian/changelog: Updates.
163 2009-05-25 Alberto Garcia <agarcia@igalia.com>
165 * hildon/hildon-app-menu.c: Doc updates.
167 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
169 * hildon/hildon-banner.c: Remove leftover macro.
171 2009-05-25 Alejandro G. Castro <alex@igalia.com>
173 * hildon/hildon-pannable-area.c,
174 (hildon_pannable_area_scroll_indicator_fade),
175 (hildon_pannable_area_button_release_cb): Reviewed vmin
176 conditions, it could cause problems in the fadeout procedure.
178 2009-05-25 Alejandro G. Castro <alex@igalia.com>
180 * hildon/hildon-pannable-area.c
181 (hildon_pannable_area_button_release_cb): Added a threshold to
182 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
184 2009-05-25 Alejandro G. Castro <alex@igalia.com>
186 * hildon/hildon-pannable-area.c,
187 (hildon_pannable_area_set_property): Added code to sync the gtk
188 dnd threshold with the panning threshold.
190 2009-05-25 Alejandro G. Castro <alex@igalia.com>
192 * hildon/hildon-pannable-area.c,
193 (hildon_pannable_area_class_init): Changed some of the default
194 values, now it should be less responsive and more accurate.
196 2009-05-25 Alejandro G. Castro <alex@igalia.com>
198 * hildon/hildon-pannable-area.c,
199 (hildon_pannable_area_init),
200 (hildon_pannable_area_scroll_indicator_fade),
201 (hildon_pannable_area_button_press_cb),
202 (hildon_pannable_axis_scroll),
203 (hildon_pannable_area_timeout),
204 (hildon_pannable_area_motion_notify_cb),
205 (hildon_pannable_area_button_release_cb): Changed the name of the
206 clicked attribute to button_pressed, it is more clear about its use.
208 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
210 * src/hildon-pannable-area.c
211 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
213 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
214 vertical scrollbar visibility, and use the data on private section instead,
215 remove the initial_hint check
216 (hildon_pannable_area_expose_event): add the initial_hint check here
218 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
220 * src/hildon-pannable-area.c
221 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
222 if the fadeout effect was used
223 (hildon_pannable_area_expose_event): check if it is required to
224 manage the initial effect on the begining of the function. Previously
225 it was made at the end, but this doesn't ensure that the scrollbars
226 will be painted on the first show. Do not set to FALSE initial_effect,
227 to ensure that the initial hint is showed the first time the pannable
229 * examples/Makefile.am
230 * examples/hildon-pannable-area-initial-hint-example.c:
231 New example, to show that the initial-hint is showed when the widget
234 Fixes: NB#116607 (Pannable area should always have scrollbar visible
235 initially if the application can be scrolled)
237 2009-05-25 Alberto Garcia <agarcia@igalia.com>
239 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
240 Resize table before adding new items to make sure that
241 gtk_table_resize() is called just once.
243 2009-05-25 Alberto Garcia <agarcia@igalia.com>
245 * hildon/hildon-app-menu-private.h
246 * hildon/hildon-app-menu.c (item_visibility_changed)
247 (filter_visibility_changed, hildon_app_menu_show_all)
248 (hildon_app_menu_hide_all, hildon_app_menu_init):
249 Rearrange items just once when gtk_widget_show_all()/hide_all()
252 2009-05-25 Alberto Garcia <agarcia@igalia.com>
254 * hildon/hildon-app-menu.c
255 (hildon_app_menu_insert, hildon_app_menu_add_filter):
256 Don't call gtk_widget_show() on added items.
258 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
259 automatically when they're added)
261 2009-05-20 Alberto Garcia <agarcia@igalia.com>
263 * hildon/hildon-banner.c
264 (hildon_banner_realize, +hildon_banner_unrealize)
265 (+screen_size_changed, hildon_banner_class_init):
266 Redisplay the banner if the screen is rotated.
268 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
269 on transition from landscape to portrait)
271 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
273 * hildon/hildon-banner.[ch]:
274 (hildon_banner_show_information_override_dnd): remove icon_name from the
275 method definition as it is ignored.
276 * examples/hildon-banner-dnd-example.c: updated with the change on
279 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
281 * hildon/hildon-banner-private.h: new require_override_dnd and
282 overrides_dnd variables
283 * hildon/hildon-banner.h:
284 (hildon_banner_show_information_override_dnd): new method, that shows
285 the information but sets the override flag, in order to show important
287 * hildon/hildon-banner.c
288 (hildon_banner_show_information_override_dnd): new method
289 (hildon_banner_set_override_flag): new utility function
290 (hildon_banner_real_show_information): new utility function, in order to
291 generalize the current hildon_banner_show_information_override_dnd and
292 hildon_banner_show_information_override_dnd
293 * examples/Makefile.am
294 * examples/hildon-banner-dnd-example.c: New example that show how to
295 use the new hildon_banner_show_information_override_dnd
297 Fixes: NB#114874 (There is no possibility to show hildon banners with
300 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
302 * hildon/hildon-pannable-area.c: Add a comment explaining the math
303 behind hildon_pannable_calculate_vel_factor().
305 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
307 * hildon/hildon-pannable-area.c
308 (hildon_pannable_calculate_vel_factor): Correct the sum of the
309 deceleration factors.
311 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
313 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
314 Reduce the default value for 'scroll_time' to 1 second, since the
315 current initial scrolling takes too much time.
317 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
319 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
320 calculate velocity factor during initialization, since the properties
323 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
325 * hildon/hildon-pannable-area.c
326 (hildon_pannable_area_set_property): Calculate the velocity factor
327 after setting the deceleration property and not after.
329 2009-05-20 Alberto Garcia <agarcia@igalia.com>
331 * hildon/hildon-entry.c
332 (hildon_entry_class_init, +set_property, hildon_entry_new)
333 * hildon/hildon-check-button.c
334 (hildon_check_button_class_init)
335 (+set_property, hildon_check_button_new):
336 Make the theme size a property.
338 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
339 others) do too much in the _new function)
341 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
343 * configure.ac: post release version bump
344 * debian/changelog: post release version bump
346 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
351 * configure.ac: Bump version.
352 * debian/changelog: Updates.
354 2009-05-15 Alberto Garcia <agarcia@igalia.com>
356 * hildon/hildon-gtk.h
357 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
358 New API function to take a screenshot of a window
360 Fixes: NB#106374 (Need API to take a loading screenshot)
362 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
364 * hildon/hildon-time-selector.c
365 (update_format_policy): prevent to use hours and minutes unitialized
367 2009-05-15 Alberto Garcia <agarcia@igalia.com>
369 * hildon/hildon-window.c (hildon_window_size_request):
370 Always request the full size of the screen (minus the title bar if
371 not in fullscreen mode).
373 Fixes: NB#107486 (HildonWindow should size itself properly)
375 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
377 * hildon/hildon-note-private.h: Add idle_handler to the private data.
378 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
379 (on_show_cb), (sound_handling): Disconnect the idle handler for
380 the sound when the note is finalized to avoid possible crashes.
382 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
385 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
387 * src/hildon-animation-actor.c,
388 * src/hildon-remote-texture.c:
389 Added proper object cleanup to remove signal handler and object
390 references as HildonAnimationActor and HildonRemoteTexture
391 objects get destroyed.
393 Fixes: NB#116682 (Destroying parented animation actors when
394 parent in unmapped leads to crash)
396 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
398 Based on a patch by Christian Dywan (christian@imendio.com)
400 * doc/hildon-sections.txt:
401 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
402 * hildon/hildon-helper.h: New file size formatting method.
404 * debian/control: Depend on osso-filemanager l10n package for
405 proper localization strings.
407 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
409 * tests/Makefile.am: Include top_srcdir to make possible to build
410 tests in a different builddir.
411 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
412 on a different builddir.
414 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
416 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
417 (hildon_touch_selector_remove): Disconnect model's signal handler
420 Fixes: NB#116289 (Hildon home crashes while adding task
423 2009-05-11 Alberto Garcia <agarcia@igalia.com>
425 * hildon/hildon-button.c
426 (hildon_button_set_title, hildon_button_set_value):
427 Hide labels containing an empty string.
429 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
431 * configure.ac: post release version bump
432 * debian/changelog: post release version bump
434 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
439 * configure.ac: Bump version.
440 * debian/changelog: Updates.
442 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
444 * hildon/hildon-note-private.h: Removed sound_signal_handler
445 * hildon/hildon-note.c
446 (on_show_cb): new callback on note "show" event, this simply adds
447 a idle, with the function sound_handling
448 (sound_handling): removed the sound_signal_handler management
449 (hildon_note_init): connect note "show" event to on_show_cb
450 (hildon_note_realize): remove the connection to "expose-event"
452 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
453 device?' confirmation note)
455 2009-05-08 Alberto Garcia <agarcia@igalia.com>
457 * hildon/hildon-note.c
458 (hildon_note_new_information_with_icon_name)
459 (hildon_note_new_confirmation_with_icon_name):
460 Terminate the list of parameters in g_object_set() calls
462 Fixes: NB#115166 (Formatting memory card is not taking place)
464 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
466 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
467 "dialog-information" role for the sound being played.
469 2009-05-06 Alberto Garcia <agarcia@igalia.com>
471 * hildon/hildon-app-menu.c (hildon_app_menu_init):
472 Don't make the menu a modal window, it causes strange interactions
473 with the pointer grab and it's not really needed.
475 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
477 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
479 * hildon/hildon-touch-selector.[ch]
480 (hildon_touch_selector_optimal_size_request): function added to get a
481 optimal size request from the touch selector, when you want a dialog to
482 show as much of the selector
483 * hildon/hildon-picker-dialog.c:
484 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
485 (hildon_app_menu_class_init):
486 New "max-height-landscape" and "max-height-portrait" style properties
487 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
488 (hildon_picker_dialog_get_max_height): returns the maximum height using
489 the style properties defined and checking the current portrait/landscape
491 (_hildon_picker_dialog_set_selector): removed the set_size_request
493 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
495 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
497 * hildon/hildon-bread-crumb-trail.c:
498 * hildon/hildon-bread-crumb.c:
499 * hildon/hildon-seekbar.c:
500 Add reference to replacements for these deprecated widgets.
502 Fixes: MB#4461 (Documentation: All deprecations should mention
505 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
507 * examples/hildon-remote-texture-example.c
509 Change the include to the hildon-remote-texture in order to compile
510 properly the examples on the installed libhildon1-examples package
512 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
514 * tests/Makefile.am: Add check for HildonPickerButton.
515 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
516 (START_TEST), (create_hildon_picker_button_suite): Add three simple
517 checks for the HildonPickerButton.
518 * tests/check_test.c (configure_tests): Add the test suite.
519 * tests/test_suites.h: likewise.
521 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
523 * hildon/hildon-touch-selector.c
524 (+on_row_changed): Emit HildonTouchSelector:changed when the
525 contents of a selected row change.
526 (_create_new_column), (_hildon_touch_selector_set_model): connect
527 to GtkTreeModel:row-changed on a newly set model.
529 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
531 2009-05-05 Alberto Garcia <agarcia@igalia.com>
533 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
535 * hildon/hildon-banner.c (hildon_banner_destroy)
536 (hildon_banner_show_progress, hildon_banner_set_fraction):
537 Remove the progress bar from HildonBanner and use a progress
540 Fixes: NB#113761 (Update progress banner to use progress
543 2009-05-04 Alberto Garcia <agarcia@igalia.com>
545 * hildon/hildon-banner.c:
546 Calculate size of the banner label using the actual screen width
547 rather than using a fixed value.
549 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
552 2009-05-04 Alejandro G. Castro <alex@igalia.com>
554 * hildon/hildon-pannable-area.c,
555 (hildon_pannable_area_class_init): Fixed signals documentation
558 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
560 * configure.ac: post release version bump
561 * debian/changelog: post release version bump
563 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
568 * configure.ac: Bump version.
569 * debian/changelog: Updates.
571 2009-05-01 Alberto Garcia <agarcia@igalia.com>
573 * hildon/hildon-edit-toolbar.c
574 (hildon_edit_toolbar_init):
575 Don't let buttons in HildonEditToolbar receive focus.
577 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
578 typing on an HW arrows key)
580 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
582 * doc/Makefile.am: Fix build.
584 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
586 * doc/Makefile.am: Do not redefine content_files.
588 2009-04-30 Alberto Garcia <agarcia@igalia.com>
596 Renamed src/ to hildon/
601 Include <hildon/hildon.h> directly in all examples.
603 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
605 * src/hildon-sort-dialog.c
606 (hildon_sort_dialog_add_sort_key_with_sorting)
610 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
612 * src/Makefile.am: Move generated sources to CLEANFILES, so that
613 make distcheck passes.
615 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
617 * Makefile.am: Enable gtk-doc during distcheck.
619 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
621 * Makefile.am: Do not distribute the debian/ directory.
623 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
625 * doc/Makefile.am: Add the extra SGML files to content_files,
626 so that they are distributed properly.
628 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
630 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
633 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
635 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
636 (hildon_note_new_information_with_icon_name): Set the "icon" property
637 to preserve soundness.
639 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
641 * src/hildon-font-selection-dialog.c
642 (hildon_font_selection_dialog_set_property): Fail when the "family"
643 property is set to NULL.
645 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
647 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
650 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
652 * src/hildon-time-selector.h:
653 Added HildonTimeSelectorFormatPolicy
654 * src/hildon-time-selector.c:
655 Added PROP_TIME_FORMAT_POLICY
656 (_check_ampm_format): renamed to check_automatic_ampm_format
657 (update_format_policy), (update_format_dependant_columns): new functions
658 (hildon_time_selector_class_init)
659 (hildon_time_selector_contructor)
660 (hildon_time_selector_init)
661 (hildon_time_selector_get_property)
662 (hildon_time_selector_set_property)
663 (hildon_time_selector_get_time)
664 (hildon_time_selector_set_time)
665 * src/hildon-touch-selector.h: new file
666 * src/hildon-touch-selector.c
667 (hildon_touch_selector_emit_changed)
668 (hildon_touch_selector_block_changed)
669 (hildon_touch_selector_unblock_changed)
670 Added functions to allow to block the emission of the "changed" signal
671 * src/hildon-picker-dialog.c
672 (hildon_picker_dialog_show): call the parent show before the custom code
673 * examples/hildon-time-button-example.c
674 Modified, so now you can configure the time format using the new property
676 Added a new property "time-format-policy" that allow to choose the time
677 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
678 case it uses gconf in order to check if the time selector must use
681 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
684 2009-04-28 Alberto Garcia <agarcia@igalia.com>
686 * src/hildon-note.c (hildon_note_init):
687 Label in HildonNote must be left aligned, not centered. This
688 reverts the last commit in HildonNote.
690 Fixes: NB#112933 (text is not left aligned in confirmation dialog
691 is connectivity dialog)
693 2009-04-27 Alberto Garcia <agarcia@igalia.com>
698 * doc/hildon-sections.txt:
699 Added hildon_gtk_window_set_do_not_disturb()
701 2009-04-27 Alberto Garcia <agarcia@igalia.com>
703 * src/hildon-note.c (hildon_note_init): Center label.
705 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
708 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
713 * configure.ac: Bump version.
714 * debian/changelog: Updates.
716 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
718 * src/hildon-note-private.h: Add button-width to the private data.
719 * src/hildon-note.c (+resize_button),
720 (+hildon_note_orientation_update): methods to repack widgets on orientation
722 (screen_size_changed): Call above method for confirmation notes.
723 (hildon_note_realize): Always connect to the "screen-size" changed signal.
724 (hildon_note_rebuild): Store the original width request from buttons.
726 Fixes: NB#109635 (Confirmation notes do not support portrait)
728 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
730 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
731 when it is a progress note.
733 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
735 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
736 in the note, since there are no horizontally arranged contents.
738 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
740 * src/hildon-gtk.c (+set_flag): new generic method to
741 set/delay a flag setting in a window.
742 (hildon_gtk_window_set_progress_indicator):
743 (hildon_gtk_window_set_do_not_disturb),
744 (hildon_gtk_window_set_portrait_flags): use set_flag() to
745 avoid code redundance.
747 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
749 Based on a patch by Alberto Garcia (agarcia@igalia.com)
751 * src/hildon-gtk.c (set_clear_window_flag),
752 (do_set_progress_indicator), (do_set_do_not_disturb),
753 (do_set_portrait_flags),
754 (hildon_gtk_window_set_progress_indicator),
755 (hildon_gtk_window_set_do_not_disturb),
756 (hildon_gtk_window_set_portrait_flags):
757 Allow setting dnd-flag, progress indicator, and portrait flags
758 when the window is not realized.
760 2009-04-24 Alejandro G. Castro <alex@igalia.com>
762 * src/hildon-pannable-area.c,
763 * src/hildon-pannable-area.h: Add the hildon deprecated define to
764 the size request policy function and defines.
766 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
768 * doc/hildon-sections.txt: Add the new API.
769 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
770 method to set the portrait flags.
771 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
773 Fixes: NB#112328 (Adding helpers for setting portrait properties)
775 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
777 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
778 to allow using this method with other flags.
779 (hildon_gtk_window_set_progress_indicator): Update accordingly.
780 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
782 2009-04-22 Alberto Garcia <agarcia@igalia.com>
784 * src/hildon-touch-selector.c
785 (hildon_touch_selector_append_text_column):
786 Make the cell renderer use the smallest width possible.
788 Fixes: NB#108470 (Selected items in multiple selection are either
789 having a tick that is cut or not visible at all.)
791 2009-04-22 Alberto Garcia <agarcia@igalia.com>
793 * src/hildon-touch-selector.c
794 (hildon_touch_selector_append_text_column):
797 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
799 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
800 Use g_strdup_printf() instead of a fixed size buffer.
802 2009-04-21 Alberto Garcia <agarcia@igalia.com>
804 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
805 Close banners when a HildonAppMenu is popped up.
807 Fixes: NB#111027 (Title menu closed immediately if activated when
808 "Invalid e-mail address" banner is shown)
810 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
815 * configure.ac: Bump version.
816 * debian/changelog: Updates.
818 2009-04-20 Alberto Garcia <agarcia@igalia.com>
820 * src/hildon-banner.c (hildon_banner_realize):
821 Mark HildonBanner as supporting portrait mode.
822 Use GDK to set window properties insetad of direct Xlib calls.
824 Fixes: NB#111830 (HildonBanner should be marked as supporting
827 2009-04-20 Alberto Garcia <agarcia@igalia.com>
829 * src/hildon-note.c (hildon_note_rebuild):
830 Hide action area in information notes. Prevents text from being
831 slightly aligned to the left.
833 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
836 2009-04-20 Alberto Garcia <agarcia@igalia.com>
838 Patch by Mox Soini (ext-mox.soini@nokia.com)
840 * src/hildon-banner.c (hildon_banner_create_animation):
841 Use stylus-sized icons in animation banner.
843 Fixes: NB#111206 (stylus sized icon for animation banner)
845 2009-04-20 Alberto Garcia <agarcia@igalia.com>
849 (+hildon_gtk_window_set_do_not_disturb):
850 New API to set the do-not-disturb flag.
852 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
854 2009-04-20 Alberto Garcia <agarcia@igalia.com>
856 * examples/hildon-progress-indicator-example.c: Fix example
858 * src/hildon-gtk.c (set_clear_window_flag)
859 (hildon_gtk_window_set_progress_indicator):
860 Create a generic function for setting flags to a window.
861 Use GDK instead of direct Xlib calls.
863 2009-04-14 Alberto Garcia <agarcia@igalia.com>
865 * src/hildon-button.c (hildon_button_set_arrangement):
866 Due to NB#88126, if one of the labels is too long it will be
867 painted outside the button. The 'value' label is more likely to be
868 the longest one, so we change its packing options in order to
869 truncate it if necessary. As a side effect, the 'title' label will
870 no longer be truncated.
872 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
874 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
879 * configure.ac: Bump version.
880 * debian/changelog: Updates.
882 2009-04-13 Alejandro G. Castro <alex@igalia.com>
884 Deprecation of the hildon_pannable_area_set_size_request_policy
885 API, the only policy properly supported in gtk+ nowadays is the
888 * src/hildon-pannable-area.c,
889 (hildon_pannable_area_size_request): Added a workaround for the
890 size_request to avoid the problems of huge pixmaps in case someone
891 is still using the function.
892 * src/hildon-pannable-area.h: Deprecated the enum with the
895 Fixes: NB#110244 (Problems with the
896 hildon_pannable_area_set_size_request_policy API)
898 2009-04-08 Alejandro G. Castro <alex@igalia.com>
900 * src/hildon-pannable-area.c,
901 (hildon_pannable_area_init),
902 (hildon_pannable_area_size_request),
903 (hildon_pannable_area_style_set),
904 (hildon_pannable_draw_vscroll),
905 (hildon_pannable_draw_hscroll),
906 (hildon_pannable_area_check_scrollbars): Replaced area_width with
907 indicator_width to clarify the use of the attribute.
909 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
914 * configure.ac: Bump version.
915 * debian/changelog: Updates.
917 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
919 * src/hildon-picker-dialog.c
920 * src/hildon-touch-selector.c
921 Reverting the change that tried to avoid the hardcoded height on
922 the picker dialog, as causes problems on the hildon-touch-selector
925 Fixes: NB#110029 (selectors not scrolling to selected value)
927 2009-04-07 Alberto Garcia <agarcia@igalia.com>
929 * src/hildon-touch-selector.c: Fix typos
931 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
933 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
934 Use the event coordinates instead of gdk_window_get_pointer(). Also,
935 request more motions after using it.
937 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
939 * src/hildon-calendar.c (hildon_calendar_expose),
940 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
941 Remove unused variables.
943 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
945 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
948 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
950 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
951 Check the return value of gtk_tree_selection_get_selected()
954 2009-04-06 Alberto Garcia <agarcia@igalia.com>
956 * src/hildon-animation-actor.c
957 * src/hildon-button.c
959 * src/hildon-pannable-area.c
960 * src/hildon-picker-button.c
961 * src/hildon-program.c
962 * src/hildon-remote-texture.c
963 * src/hildon-text-view.c
964 * src/hildon-touch-selector.c
965 * src/hildon-window-stack.c
966 * src/hildon-window.c:
967 Add missing 'Since: 2.2' tags.
969 * doc/hildon-sections.txt:
970 Add some missing symbols.
972 * doc/hildon-docs.sgml:
973 New 'Other' section for HildonAnimationActor and
976 2009-04-06 Alberto Garcia <agarcia@igalia.com>
978 Patch by Iván Gómez (igomez@igalia.com)
982 * doc/hildon-docs.sgml
983 * doc/hildon-sections.txt
987 New chapters on using the Hildon library.
988 Updated the general structure of the reference manual.
989 Other minor documentation fixes.
991 * src/hildon-calendar-popup.c
992 * src/hildon-calendar.c
993 * src/hildon-controlbar.c
994 * src/hildon-date-editor.c
995 * src/hildon-dialog.c
996 * src/hildon-hvolumebar.c
997 * src/hildon-number-editor.c
998 * src/hildon-range-editor.c
999 * src/hildon-sort-dialog.c
1000 * src/hildon-time-editor.c
1001 * src/hildon-time-picker.c
1002 * src/hildon-volumebar-range.c
1003 * src/hildon-volumebar.c
1004 * src/hildon-vvolumebar.c
1005 * src/hildon-weekday-picker.c:
1006 Add deprecation notes
1008 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1009 Document 'horizontal-movement' and 'vertical-movement' signals.
1011 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
1016 * configure.ac: Bump version.
1017 * debian/changelog: Updates.
1019 2009-04-06 Alejandro G. Castro <alex@igalia.com>
1021 * src/hildon-pannable-area.c,
1022 (hildon_pannable_area_class_init): increased the minimum velocity.
1023 (hildon_pannable_area_button_release_cb): Updated the
1024 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
1025 setup. Review the code to control that last event.
1027 Fixes: NB#109790 (Releasing finger in pannable area easily causes
1030 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
1032 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1034 * src/hildon-get-password-dialog.c
1035 (hildon_get_password_set_property),
1036 (hildon_get_password_get_property), (create_contents):
1037 * src/hildon-login-dialog-private.h:
1038 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
1039 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
1040 (hildon_login_dialog_get_password):
1041 * src/hildon-set-password-dialog-private.h:
1042 * src/hildon-set-password-dialog.c
1043 (hildon_set_password_set_property),
1044 (hildon_set_password_get_property), (create_contents),
1045 (hildon_set_password_response_change),
1046 (hildon_set_password_response_set), (hildon_checkbox_toggled):
1048 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
1049 instead and look more Fremantle style.
1051 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
1053 2009-04-03 Alberto Garcia <agarcia@igalia.com>
1055 * doc/hildon-sections.txt
1056 * src/hildon-window-stack.h
1057 * src/hildon-window-stack.c
1058 (+hildon_window_stack_get_windows):
1059 New API to obtain the list of windows on a stack.
1061 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1063 * src/hildon-app-menu.c (hildon_app_menu_popup)
1064 (hildon_app_menu_class_init, -hildon_app_menu_show):
1065 Remove hildon_app_menu_show() and move all its checks to
1066 hildon_app_menu_popup()
1068 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
1070 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
1071 (_hildon_picker_dialog_set_selector): removed call to
1072 gtk_widget_set_size_request
1073 * src/hildon-touch-selector.c
1074 (_create_new_column): change the pannable size request policy
1076 Avoid to use a hardcoded height for the hildon picker dialog. In order
1077 to get that, we needed to change the hildon pannable size request
1079 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1081 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1083 * src/hildon-window.c (hildon_window_map): Check for vbox to be
1084 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
1087 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1089 * debian/control: Depend on osso-system-lock localization package.
1090 * src/hildon-code-dialog.c: Obtain the secu_application_title
1091 translation from osso-system-lock.
1092 * src/hildon-get-password-dialog.c (create_contents): Do not mark
1093 for translation the atk related strings, that's not necessary.
1094 * src/hildon-set-password-dialog.c (create_contents): Ditto.
1095 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
1096 cancel button, it is not required.
1098 2009-04-02 Alejandro G. Castro <alex@igalia.com>
1100 * src/hildon-pannable-area.c,
1101 (hildon_pannable_area_class_init): Modified the default value of
1102 the overshooting max speed, we have reduced it.
1104 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1106 * doc/hildon-sections.txt
1107 * src/hildon-window-private.h
1108 * src/hildon-window.h
1109 * src/hildon-window.c (hildon_window_class_init)
1110 (hildon_window_init, hildon_window_finalize)
1111 (hildon_window_realize, hildon_window_get_property)
1112 (hildon_window_set_property, hildon_window_update_markup)
1113 (hildon_window_get_markup, hildon_window_set_markup):
1114 New "markup" property and hildon_window_{get,set}_markup() methods.
1116 * examples/hildon-stackable-window-example.c (new_window):
1117 Update example to use hildon_window_set_markup()
1119 Fixes: NB#106375 (Need API to retitle a window with a title
1122 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1124 * src/hildon-pannable-area.c,
1125 (hildon_pannable_area_class_init): Changed the default value of
1126 the initial_hint to TRUE.
1127 (hildon_pannable_area_initial_effect): Changed the initial effect,
1128 not the effect is just the fade-out of the scrollbars.
1130 Fixes: NB#107775 (No scrollbars can be seen when several items are
1131 available in a dialog)
1133 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1135 * src/hildon-program.c (hildon_program_update_top_most):
1138 Fixes: NB#109179 (Memory leak in Hildon program)
1140 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1142 * src/hildon-banner.c (-get_current_app_window):
1143 Remove unused function.
1145 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1147 * src/hildon-pannable-area.c: Modified the documentation of the
1148 get adjustments functions to explain the problem of using the
1149 adjustment directly.
1150 (hildon_pannable_area_class_init): Improved the explanation about
1153 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1155 * src/hildon-app-menu-private.h
1156 * src/hildon-app-menu.c
1157 (hildon_app_menu_class_init):
1158 Bring back the 'external-border' style property
1159 (hildon_app_menu_class_init, hildon_app_menu_init)
1160 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
1161 Set a fixed width-request for the menu, independent of the number
1164 Fixes: NB#94957 (Smoothly opened application menu)
1166 2009-03-30 Alberto Garcia <agarcia@igalia.com>
1168 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
1170 * src/hildon-banner.c
1171 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
1173 Make sure that the banner is correctly placed the first time it's
1175 (hildon_banner_check_position, -check_fullscreen_state):
1176 Show the banner in the same place no matter if the window is in
1177 fullscreen mode or not.
1179 Fixes: NB#107386 (Odd stacking behaviour for information banners)
1181 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1183 * src/hildon-touch-selector.c (_default_print_func): reorder
1184 concatenation for clarity.
1186 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1188 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
1189 for multicolumn selectors.
1191 Fixes: NB#109099 (Memory leak in Hildon touch selector)
1193 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
1198 * configure.ac: Bump version.
1199 * debian/changelog: Updates.
1201 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
1203 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
1206 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1208 * configure.ac: removed libcangerra-gtk dependency
1209 * debian/control: removed libcanberra-gtk dependency
1210 * src/Makefile.am: removed libcanberra gtk related flags
1211 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1212 context, and manage a global canberra context instead
1214 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1216 2009-03-26 Alberto Garcia <agarcia@igalia.com>
1218 Patch by Daniel Borgmann (danielb@openismus.com)
1220 * src/hildon-edit-toolbar.c:
1221 Adjust the left padding.
1222 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
1223 Paint background of the edit toolbar.
1225 Fixes: NB#107897 (Patch to make editmodetoolbar background
1226 themeable and adjust margin)
1228 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1230 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1232 * src/hildon-program.c (hildon_program_update_top_most):
1233 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
1235 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
1236 change when the user tasks in/out of an application)
1238 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1240 * configure.ac: added libcangerra-gtk dependency
1241 * debian/control: added libcanberra-gtk dependency
1242 * src/Makefile.am: added libcanberra gtk related flags
1243 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
1246 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1248 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1250 * src/hildon-program.c (hildon_program_remove_window)
1251 (hildon_program_add_window): Add checks for the window
1252 parameter. Don't decrease the window counter if the window is not
1255 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1257 * src/hildon-pannable-area.c,
1258 (hildon_pannable_area_realize): Fixed position of the event_window
1259 in the realize method.
1261 2009-03-24 Alberto Garcia <agarcia@igalia.com>
1263 * src/hildon-app-menu-private.h
1264 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
1265 (hildon_app_menu_map, hildon_app_menu_hide_idle)
1266 (hildon_app_menu_key_press, hildon_app_menu_init)
1267 (hildon_app_menu_finalize):
1268 Make sure that all idle functions are removed when the widget is
1271 Fixes: NB#107583 (Hildon app menu crashes in various applications)
1273 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1278 * configure.ac: Bump version.
1279 * debian/changelog: Updates.
1281 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1283 * src/hildon-entry.c
1284 (+hildon_entry_show_placeholder),
1285 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
1286 that replace hildon_entry_update_contents().
1287 (hildon_entry_set_text),
1288 (hildon_entry_set_placeholder),
1289 (hildon_entry_focus_in_event),
1290 (hildon_entry_focus_out_event): Determine when it is needed
1291 either to show or hide the placeholder and call the above methods.
1293 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
1294 when the placeholder text is already set)
1296 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1298 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
1299 simple GdkPixbufAnim using the new icons for the banner.
1300 (hildon_banner_show_animation): Use the above mentioned method to
1301 create the animation widget.
1303 Fixes: NB#103564 (Make hildon animation banner use individual
1304 image files as the animation)
1306 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1308 * src/hildon-pannable-area.c,
1309 (hildon_pannable_leave_notify_event): Check if the child is NULL
1310 to avoid sending the leave.
1312 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1314 * src/hildon-pannable-area.c,
1315 (hildon_pannable_area_class_init),
1316 (hildon_pannable_leave_notify_event): Added a handler of the
1317 leave-notify-signal to consider when no motion notify before
1320 Fixes: NB#107494 (Items stay selected when clicking and moving
1321 away when inside pannable area)
1323 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
1328 * configure.ac: Bump version.
1329 * debian/changelog: Updates.
1331 2009-03-19 Alejandro G. Castro <alex@igalia.com>
1333 Patch by Alberto Garcia (agarcia@igalia.com)
1335 * src/hildon-date-button.c,
1336 (hildon_date_button_class_init),
1337 (hildon_date_button_init): Removed the construct property handling
1338 and created a default selector in the init method.
1339 * src/hildon-picker-button.c,
1340 (hildon_picker_button_class_init): Removed the construct flag of the
1343 2009-03-18 Alberto Garcia <agarcia@igalia.com>
1345 * src/hildon-main.c (hildon_init):
1346 Don't allow hildon_init() to be called more than once.
1348 Fixes: NB#106607 (hildon_init should issue error message upon
1351 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
1353 * examples/hildon-pannable-area-touch-list-example.c
1354 * examples/hildon-pannagle-area-touch-grid-example.c
1355 * examples/hildon-edit-toolbar-example.c
1356 * examples/hildon-touch-selector-multi-cells-example.c
1357 Removed the call to gtk_rc_parse_string, as it is not required since
1360 2009-03-17 Alejandro G. Castro <alex@igalia.com>
1362 * src/hildon-pannable-area.c,
1363 (hildon_pannable_area_class_init): Modified the default panning
1364 threshold of the widget to 6px.
1366 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
1367 than the threshold value ) within the button is not sending the
1370 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1372 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
1373 for the treeview in the new column. This way, the touch list will never
1376 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
1377 be selected manually for the HW keys to work)
1379 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1381 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
1382 comparison instead of using strcmp(). Fixes a compiler warning as well.
1384 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1386 * doc/hildon-docs.sgml: Do not set the library version in the
1387 document title, use the releaseinfo tag for that purpose instead.
1389 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1391 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
1392 Do not jump to the first item if the text in the entry is removed.
1394 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1399 * configure.ac: Bump version.
1400 * debian/changelog: Updates.
1402 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1404 * src/hildon-entry.c (hildon_entry_refresh_contents):
1405 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
1406 Use "ReversedSecondaryTextColor" for the placeholder text.
1408 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1410 * src/hildon-text-view.c: Fix compilation warning.
1412 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1414 * src/hildon-button.c (hildon_button_class_init): Don't make
1415 "title" and "value" construction properties, to prevent them from
1416 overwriting labels set from derived classes.
1418 * src/hildon-picker-button.c
1419 (hildon_picker_button_set_selector): Allow setting a NULL selector.
1420 (hildon_picker_button_class_init): Make touch-selector a
1421 construction property.
1423 * src/hildon-date-button.c (hildon_date_button_class_init)
1424 (+hildon_date_button_constructed): Add a default date selector if
1427 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1429 * src/hildon-touch-selector.c: Small documentation fixes.
1431 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1433 Based on a patch by Daniel Borgmann (danielb@openismus.com)
1435 * src/hildon-entry.c (hildon_entry_refresh_contents),
1436 (hildon_entry_get_text), (hildon_entry_init): Do not use the
1437 widget name, set the logical color directly instead and a boolean
1438 showing_placeholder instead.
1439 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
1440 use the widget name here either.
1442 Fixes: NB#105678 (HildonTextView should use logical colours
1443 instead of setting widget name)
1445 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1447 Patch by Daniel Elster (danielk@openismus.com)
1449 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
1450 Add user_data parameter.
1451 (hildon_touch_selector_set_print_func_full): New function akin
1452 hildon_touch_selector_set_print_func() but with support for user
1453 data and a destroy callback.
1454 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
1455 to clean up the print function user data.
1456 (hildon_touch_selector_class_init): Install dispose function.
1457 (HildonTouchSelectorPrivate::print_user_data),
1458 (HildonTouchSelectorPrivate::print_destroy_func): New private
1460 (hildon_touch_selector_init): Initialize new private members.
1461 (hildon_touch_selector_get_current_text): Pass along user data
1462 to the print function.
1463 (_default_print_func): Add dummy user_data to parameter list.
1464 * hildon-date-selector.c (_custom_print_func): ditto,
1465 * hildon-time-selector.c (_custom_print_func): ditto,
1466 * hildon-touch-selector-entry.c
1467 (hildon_touch_selector_entry_print_func): ditto.
1469 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
1471 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1473 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
1475 2009-03-12 Alejandro G. Castro <alex@igalia.com>
1477 * src/hildon-pannable-area.c,
1478 (hildon_pannable_area_init),
1479 (hildon_pannable_area_button_press_cb),
1480 (hildon_pannable_area_motion_notify_cb): We have added code to
1481 handle the leave and enter events when using the motion events.
1483 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
1485 2009-03-11 Alberto Garcia <agarcia@igalia.com>
1487 * src/hildon-date-button.c (hildon_date_button_get_date)
1488 (hildon_date_button_set_date): Make sure that the button has a
1491 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
1493 2009-03-11 Alejandro G. Castro <alex@igalia.com>
1495 * src/hildon-pannable-area.c,
1496 (hildon_pannable_area_class_init),
1497 (hildon_pannable_area_calculate_velocity): Modify the use of the
1498 force and adapt the value.
1500 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1502 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
1503 (hildon_app_menu_class_init): Hide the menu if it receives a
1504 delete-event, but don't destroy it
1506 Fixes: NB#104485 (Not able to address the call when application
1507 menu is opened at background)
1509 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1511 * src/hildon-app-menu.c
1512 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1513 Remove the "external-border" style property, let the menu take its
1514 natural size (or the one set by the window manager)
1515 (hildon_app_menu_repack_items):
1516 Don't reshow the menu, avoid flickers.
1518 Partially fixes NB#94957 (Smoothly opened application menu)
1520 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
1525 * configure.ac: Bump version.
1526 * debian/changelog: Updates.
1528 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1530 * src/hildon-pannable-area.c,
1531 (hildon_pannable_area_motion_notify_cb): We control that the
1532 direction error margin is used just in case the movement is
1533 allowed in the other direction.
1535 Fixes: NB#105012 (buttons inside a pannable area not getting
1536 release event when dragging/releasing)
1538 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1540 * src/hildon-pannable-area.c,
1541 (hildon_pannable_area_class_init),
1542 (hildon_pannable_area_get_property),
1543 (hildon_pannable_area_set_property),
1544 (hildon_pannable_area_initial_effect),
1545 (hildon_pannable_axis_scroll),
1546 (hildon_pannable_area_button_release_cb): Reviewed the
1547 overshooting effect, now it has its own max
1548 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
1549 speed when bouncing.
1551 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
1556 * configure.ac: Bump version.
1557 * debian/changelog: Updates.
1559 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1561 * src/hildon-pannable-area.c,
1562 (hildon_pannable_area_class_init): Changed the max speed, now
1563 users can launch the widget very fast. Reduced the default force,
1564 that way it is easier to control the launch speed.
1566 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1568 * src/hildon-pannable-area.c,
1569 (hildon_pannable_area_button_release_cb): Removed this check
1570 because it causes problems when the device is overloaded.
1572 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1574 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1575 add a current_text field to store the text entered in the
1576 touch selector entry.
1577 (_clean_current_selection): clean up the current text as well.
1578 (_save_current_selection), (_restore_current_selection):
1579 Save/restore the text in the entry if the selector is a
1580 HildonTouchSelectorEntry.
1582 Fixes: NB#102541 (value entered in the touch selector entry is not
1583 shown when opened for second time)
1585 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1587 * doc/hildon-sections.txt:
1588 * src/hildon-touch-selector-entry.c
1589 (+hildon_touch_selector_entry_get_entry):
1590 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
1592 Fixes: NB#104815 (I need accessor to the entry inside
1593 HildonTouchSelectorEntry)
1595 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1597 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
1598 (hildon_app_menu_class_init):
1599 New "filter-vertical-spacing" style property.
1601 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1603 * src/hildon-find-toolbar.c
1604 (hildon_find_toolbar_emit_close)
1605 (hildon_find_toolbar_emit_invalid_input)
1606 (hildon_find_toolbar_entry_activate):
1607 Use g_signal_emit() instead of g_signal_emit_by_name()
1609 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1611 Patch by Mox Soini (ext-mox.soini@nokia.com)
1613 * tests/TEST-CASES.txt
1614 * tests/check-hildon-banner.c
1615 * tests/check-hildon-note.c
1616 * src/hildon-banner.c
1617 * src/hildon-code-dialog.c
1618 * src/hildon-date-editor.c (real_set_calendar_icon_state)
1619 * src/hildon-time-editor.c
1620 * examples/hildon-lookup-example.c (main):
1621 Replace obsolete icon names with new ones.
1623 * src/hildon-find-toolbar-private.h:
1624 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
1625 (-hildon_find_toolbar_emit_search):
1626 Remove find button and change icon of close button.
1628 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
1630 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1632 * src/hildon-time-button.c (hildon_time_button_new_step):
1633 Use the "touch-selector" property to set the selector directly
1634 when creating the object.
1636 2009-03-05 Alejandro G. Castro <alex@igalia.com>
1638 Added a new example application that allows tuning the pannable
1639 area and replaced defines with properties in order to simplify the
1640 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
1641 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
1642 PROP_DIRECTION_ERROR_MARGIN.
1644 * examples/hildon-pannable-area-tuning-example.c: New example
1646 * src/hildon-pannable-area.c,
1647 (hildon_pannable_area_class_init),
1648 (hildon_pannable_area_init),
1649 (hildon_pannable_area_get_property),
1650 (hildon_pannable_area_set_property),
1651 (hildon_pannable_area_launch_fade_timeout),
1652 (hildon_pannable_area_adjust_value_changed),
1653 (hildon_pannable_axis_scroll),
1654 (hildon_pannable_area_motion_notify_cb),
1655 (hildon_pannable_area_scroll_cb),
1656 (hildon_pannable_area_button_release_cb): We have converted some
1657 of the defines that control the widget to properties to simplify
1660 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1662 * src/hildon-app-menu.c (hildon_app_menu_map)
1663 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
1664 so it's closed if a new window appears.
1666 Fixes: NB#104485 (Not able to address the call when application
1667 menu is opened at background)
1669 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1671 * src/hildon-color-button.c (hildon_color_button_get_property):Add
1672 missing 'break' statement in in 'case' construct to avoid
1675 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1677 * src/hildon-touch-selector-entry.c
1678 (hildon_touch_selector_entry_get_property),
1679 (hildon_touch_selector_entry_set_property): Add missing 'break'
1680 statements in in 'case' constructs to avoid incorrect warnings.
1682 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1684 * src/hildon-time-editor.c
1685 (hildon_time_editor_get_time_separators): Do not crash if
1686 the first label is NULL.
1688 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1690 * src/hildon-date-selector.c (_month_days): Check for month to be
1691 strictly less than 12, since otherwise we may overrun the array.
1693 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1695 * src/hildon-date-button.c (+hildon_date_button_new_full)
1696 (hildon_date_button_new, hildon_date_button_new_with_year_range)
1697 (hildon_date_button_init): Set the date selector using a
1698 construction property, to make it happen after HildonButton's
1699 "value" property is set.
1701 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
1702 current date by default)
1704 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1706 * doc/hildon-sections.txt
1707 * src/hildon-program.c
1708 * src/hildon-stackable-window.c
1709 * src/hildon-window.c:
1710 Documentation updates
1712 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1714 * src/hildon-window-stack.c (hildon_window_stack_get_default)
1715 (hildon_window_stack_new, +hildon_window_stack_set_property)
1716 (+hildon_window_stack_get_property)
1717 (hildon_window_stack_class_init)
1718 (+hildon_window_stack_set_window_group)
1719 (+hildon_window_stack_get_window_group):
1720 Make the window group a construction property.
1722 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1724 * doc/hildon-sections.txt
1725 * src/hildon-stackable-window-private.h
1726 * src/hildon-stackable-window.h
1727 * src/hildon-stackable-window.c
1728 (-hildon_stackable_window_set_app_menu)
1729 (-hildon_stackable_window_get_app_menu)
1730 (-hildon_stackable_window_toggle_menu)
1731 (-hildon_stackable_window_finalize)
1732 (hildon_stackable_window_class_init)
1733 (hildon_stackable_window_init)
1734 * src/hildon-window-private.h
1735 * src/hildon-window.h
1736 * src/hildon-window.c (hildon_window_init)
1737 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
1738 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
1739 (hildon_window_get_main_menu, hildon_window_set_main_menu)
1740 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
1741 Moved all HildonAppMenu code to HildonWindow. The menu does not
1742 require a HildonStackableWindow anymore.
1744 * src/hildon-app-menu.c
1745 * src/hildon-program.c
1746 * examples/hildon-app-menu-example.c (main):
1747 Update examples and documentation to reflect HildonAppMenu
1750 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1752 * src/hildon-remote-texture.c
1753 * src/hildon-animation-actor.c:
1754 Don't include unused private headers.
1756 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1758 * src/hildon-program-private.h
1759 * src/hildon-program.c
1760 (hildon_program_set_common_menu)
1761 (hildon_program_get_common_menu)
1762 (hildon_program_set_common_app_menu)
1763 (hildon_program_get_common_app_menu):
1764 Change common menu pointers from GtkWidget* to GtkMenu* and
1765 HildonAppMenu* to avoid unnecessary casts.
1767 2009-03-03 Alberto Garcia <agarcia@igalia.com>
1769 * src/hildon-window.c (hildon_window_set_main_menu):
1770 Removed incorrect 'Since:' tag
1772 2009-03-03 Alejandro G. Castro <alex@igalia.com>
1774 * src/hildon-pannable-area.c,
1775 (hildon_pannable_area_calculate_velocity): We use now the
1776 RATIO_TOLERANCE here to check the distance, fixed typo in the
1778 (hildon_pannable_area_motion_notify_cb): We have to set the type
1779 and time even if we are not sending the motion.
1781 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1783 * doc/hildon-sections.txt
1784 * src/hildon-app-menu.h
1785 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
1786 (+hildon_app_menu_get_filters): New methods to get the contents of
1789 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
1792 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1794 * src/hildon-app-menu.c (hildon_app_menu_popup):
1797 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1799 * src/hildon-window.h
1800 * src/hildon-window.c (+hildon_window_get_main_menu)
1801 (hildon_window_get_menu): Created hildon_window_get_main_menu()
1802 and deprecated hildon_window_get_menu().
1804 * src/hildon-stackable-window.h
1805 * src/hildon-stackable-window.c
1806 (+hildon_stackable_window_set_app_menu)
1807 (+hildon_stackable_window_get_app_menu)
1808 (hildon_stackable_window_set_main_menu): Created
1809 hildon_stackable_window_{get,set}_app_menu() and deprecated
1810 hildon_stackable_window_set_main_menu().
1812 * doc/hildon-sections.txt
1813 * examples/hildon-app-menu-example.c (main)
1814 * src/hildon-app-menu.c
1815 * src/hildon-program.c:
1816 Updated examples and documentation.
1818 Fixes: NB#103758 (No way to obtain a menu from a
1819 HildonStackableWindow)
1821 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1826 * configure.ac: Bump version.
1827 * debian/changelog: Updates.
1829 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1831 * examples/hildon-remote-texture-example.c: Include
1832 hildon-remote-texture.h explicitely.
1833 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
1834 applications not defining _XOPEN_SOURCE which don't require this header.
1836 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1838 * doc/hildon-sections.txt
1839 * src/hildon-app-menu.h
1840 * src/hildon-app-menu.c (+hildon_app_menu_popup):
1841 New function to pop up a HildonAppMenu
1843 * src/hildon-stackable-window.c
1844 (hildon_stackable_window_toggle_menu):
1845 Use hildon_app_menu_popup() to show the menu.
1847 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1849 * src/hildon-app-menu.c (hildon_app_menu_show)
1850 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
1851 menu if there's another window between it and its parent window.
1853 Fixes: NB#100468 (Application menu window is launched even when a
1854 new secondary-window/dialog is pending to be shown/realized)
1856 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1858 * src/hildon-window-stack.c (hildon_window_stack_push)
1859 (hildon_window_stack_pop_and_push):
1860 Don't forget to push/pop the first window.
1861 Reverse the window list before calling _push_list()
1863 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1865 * src/hildon-picker-button.h
1866 * src/hildon-picker-button.c (hildon_picker_button_class_init):
1867 Remove "value_changed" slot to avoid ABI breakage
1869 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1871 * src/hildon-pannable-area.c,
1872 (hildon_pannable_area_realize),
1873 (hildon_pannable_area_unrealize),
1874 (hildon_pannable_draw_vscroll),
1875 (hildon_pannable_draw_hscroll): Changed the method to handle the
1876 GC used to draw the transparent scrollbar, this way we avoid
1877 creating the GC all the time when drawing the scrollbars.
1879 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1881 * src/hildon-pannable-area.c,
1882 (hildon_pannable_area_init),
1883 (hildon_pannable_area_remove): Removed some unnecessary casts.
1884 (hildon_pannable_area_dispose): Disconnected some signals before
1885 releasing the adjustments.
1887 2009-02-26 Alberto Garcia <agarcia@igalia.com>
1889 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1890 Make sure that all widgets contained in the toolbar are shown.
1892 2009-02-25 Alberto Garcia <agarcia@igalia.com>
1894 * doc/hildon-sections.txt
1895 * src/hildon-picker-button.h
1896 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
1897 (_selection_changed, hildon_picker_button_on_dialog_response)
1898 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
1899 New hildon_picker_button_value_changed() method.
1902 * src/hildon-picker-button-private.h
1903 * src/hildon-picker-button.c (hildon_picker_button_init)
1904 (+hildon_picker_button_disable_value_changed): Add protected
1905 function for disabling the "value-changed" signal.
1907 * src/hildon-date-button.c (hildon_date_button_set_date):
1908 Don't emit "value-changed" for each one of the three columns.
1910 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
1911 before actual change of values)
1913 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1915 * src/hildon-pannable-area.c,
1916 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
1917 for the treeview overshooting.
1919 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1921 * src/hildon-banner.c (+hildon_banner_bind_style):
1922 Renamed from hildon_banner_bind_label_style(), now naming the
1923 banner itself as well.
1924 (hildon_banner_show_information),
1925 (hildon_banner_show_information_with_markup),
1926 (hildon_banner_show_animation), (hildon_banner_show_progress):
1927 Name the widgets and labels, based on their type.
1929 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1932 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1934 * src/hildon-note.c (hildon_note_set_property): call
1935 hildon_note_rename() on HildonNote:note-type set.
1936 (hildon_note_rename): Name the note and its label, based on the
1937 HildonNote:note-type property.
1939 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1942 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1944 * src/hildon-pannable-area.c,
1945 (hildon_pannable_area_class_init),
1946 (hildon_pannable_area_motion_notify_cb): Reviewed the default
1947 panning parameters, increased SPS and deceleration factor. Added
1948 also a margin to control fake directions.
1950 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1952 Patch by Sven Herzberg (sven@imendio.com)
1954 * configure.ac: Add missing AM_PROG_CC_C_0
1955 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
1957 See NB#101420 (Update unit tests and fix make check)
1959 2009-02-23 Alejandro G. Castro <alex@igalia.com>
1961 This patch was applied before but reverted because it caused
1962 problems, we have changed the main condition and tested the
1963 regressions we detected before and they work ok. We have done a
1964 complete review of the topmost algorithm in order to get a more
1967 * src/hildon-pannable-area.c,
1968 (hildon_pannable_area_get_topmost): Added a new parameter to
1969 filter the the windows that do not include those events.
1970 (hildon_pannable_area_button_press_cb),
1971 (hildon_pannable_area_button_release_cb),
1972 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1973 topmost function, we have added the new parameter.
1975 Fixes: NB#97458 (Pannable area prevents propagation of button
1978 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1980 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
1981 if all columns in the selector have an item selected.
1982 (_on_dialog_response): Stop "response" signal emission if there is
1983 any selector column without selected items.
1985 Fixes: NB#101889 (Picker dialog should not close when nothing is
1986 selected in multiple selection list)
1988 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1990 * src/hildon-font-selection-dialog.c
1991 (hildon_font_selection_dialog_class_init),
1992 (hildon_font_selection_dialog_init): Remove the preview
1993 button and dialog, since previewing with default theming is likely
1994 to be overcomplicated. The :preview property has now no effect.
1995 Update documentation blurbs to inform about this.
1997 Fixes: NB#92297 (Preview content is not clearly visible for
1998 default colour text)
2000 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2002 Reviewed the geometry that handles the children size and
2003 scrollbar, now it tries a size and reviews the results depending
2004 on the scrollbars visibility.
2006 * src/hildon-pannable-area.c,
2007 (hildon_pannable_area_realize): Fixed a typo.
2008 (hildon_pannable_area_child_allocate_calculate): Added this
2009 function to calculate the child allocation.
2010 (hildon_pannable_area_size_allocate): Reviewed the allocation
2012 (hildon_pannable_area_check_scrollbars),
2013 (hildon_pannable_area_refresh): Refactored refresh function, this
2014 way we can call the code handling the scrollbars without causing a
2015 size_request, it is interesting in the allocate.
2016 (hildon_pannable_area_init): Replace the callbacks of the
2017 value_changed and changed signals to propertly deal with the
2019 (hildon_pannable_area_grab_notify),
2020 (hildon_pannable_area_initial_effect),
2021 (hildon_pannable_area_launch_fade_timeout),
2022 (hildon_pannable_area_adjust_changed),
2023 (hildon_pannable_area_adjust_value_changed),
2024 (hildon_pannable_area_redraw),
2025 (hildon_pannable_area_button_press_cb),
2026 (hildon_pannable_area_button_release_cb),
2027 (hildon_pannable_area_scroll_cb),
2028 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
2029 code and use the new functions adjust_changed and
2030 adjust_value_changed.
2032 Fixes: NB#101603 (Focus is not even for the text entry boxes in
2033 Contact editor dialog)
2035 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
2040 * configure.ac: Bump version.
2041 * debian/changelog: Updates.
2043 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2045 * src/hildon-pannable-area.c,
2046 (hildon_pannable_area_get_topmost),
2047 (hildon_pannable_area_button_press_cb),
2048 (hildon_pannable_area_button_release_cb),
2049 (hildon_pannable_get_child_widget_at): Reverted the patch for the
2050 topmost function adding the event mask. We have to try a
2051 differente approach because it is still causing problems (NB#9745,
2054 2009-02-19 Alberto Garcia <agarcia@igalia.com>
2056 * src/hildon-banner.c:
2057 Update the maximum width of timed banners.
2058 (force_to_wrap_truncated): Enforce the maximum text width if the
2061 Fixes: NB#102413 (The text margins (wrapping) in information
2062 banner should be HILDON_MARGIN_TRIPLE)
2064 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2066 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
2068 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
2069 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
2070 bound when calculating the scroll indicator position.
2072 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
2073 treat ->lower correctly)
2075 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2077 * src/hildon-caption.c (hildon_caption_class_init): Remove the
2078 expose event handling, since it is not necessary to draw the focus
2081 Fixes: NB#102467 (Do not show highlight on the text in
2084 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2086 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
2087 full height of the toolbar for the button and the label.
2089 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2091 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
2092 padding before the label and after the button.
2094 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2096 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
2098 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2099 Add a GtkVSeparator between the button and the back arrow.
2100 Let the button have automatic size.
2101 Set a name to the widget for theming handling.
2103 Fixes: NB#101793 (Make edit toolbar the same height as window
2104 title bar (use title area theming))
2106 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2108 * src/hildon-helper.c (attach_new_color_element): Fix memory
2111 Fixes: NB#102262 (memory leak in hildon_button_set_style())
2113 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2115 * examples/hildon-button-example.c (common_buttons_window): Don't
2118 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2120 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2121 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
2123 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2125 * src/hildon-gtk.c: Check that the window is realized.
2127 Fixes: NB#102225 (Crash setting the progress indicator to a non
2130 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2132 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
2133 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
2134 instead of modifying the one in the widget style.
2136 Fixes: NB#101043 (Second row of all the command button are
2137 displayed in transparent mode.)
2139 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2141 * src/hildon-date-button.c
2142 * src/hildon-time-button.c: Add gettext macros
2144 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
2146 * src/hildon-date-button.c (hildon_date_button_new):
2147 * src/hildon-time-button.c (hildon_time_button_new_step):
2148 Use new logical strings to set the button default title.
2150 Fixes: NB#99915 (Date and Time options are not localised in Date
2153 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2155 * src/hildon-pannable-area.c
2156 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
2157 the PANNING_THRESHOLD.
2159 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2161 * src/hildon-pannable-area.c,
2162 (hildon_pannable_area_class_init): Increased the maximum speed.
2163 (hildon_pannable_area_get_property),
2164 (hildon_pannable_area_set_property),
2165 (hildon_pannable_area_timeout): Added a new low friction mode, it
2166 allows the user avoid friction when launching the widget fast
2167 enough. It is interesting to traverse long lists.
2169 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2171 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
2172 (+hildon_stackable_window_delete_event): Ignore delete events if
2173 the window is not the topmost one.
2175 Fixes: NB#101698 (Back button long press and delete-event handling)
2177 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2179 * src/hildon-pannable-area.c,
2180 (hildon_pannable_area_motion_notify_cb): Removed the use of the
2181 gtk-dnd-drag-threshold, it was too big. We have defined our own
2182 dnd define and set a smaller value: PANNIG_THRESHOLD.
2184 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2186 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
2187 user-defined icons, use always the default one.
2189 Fixes: NB#101916 (Do not allow custom icons on animation banner)
2191 2009-02-13 Alejandro G. Castro <alex@igalia.com>
2193 This patch was applied before but reverted because it caused
2194 problems, we have changed the main condition and tested the
2195 regressions we detected before and they work ok.
2197 * src/hildon-pannable-area.c,
2198 (hildon_pannable_area_get_topmost): Added a new parameter to
2199 filter the the windows that do not include those events. Added
2200 also a condition when finding the window to filter windows that do
2201 not ask for those events.
2202 (hildon_pannable_area_button_press_cb),
2203 (hildon_pannable_area_button_release_cb),
2204 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2205 topmost function, we have added the new parameter.
2207 Fixes: NB#97458 (Pannable area prevents propagation of button
2210 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2212 * tests/check-hildon-color-button.c (START_TEST): do not leak
2215 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2217 * src/hildon-font-selection-dialog.c
2218 (hildon_font_selection_dialog_get_preview_text): Return NULL
2219 instead of FALSE on the g_return_val_if_fail().
2221 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2223 * src/hildon-time-selector.c (hildon_time_selector_set_time):
2224 * src/hildon-date-selector.c
2225 (hildon_date_selector_select_current_date):
2226 Do not compare unsigned integers to be greater than or equal 0,
2227 because it's always TRUE.
2229 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2231 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
2232 (hildon_date_selector_constructor): Do not select the current
2233 date until we are handle the "changed" signal, to avoid having bogus
2234 elements in the days model.
2236 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2238 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
2239 for num_days, since _month_days() can return a negative value.
2241 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2243 * src/hildon-caption.c (hildon_caption_size_allocate):
2244 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
2245 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
2247 Initialize allocation variables to 0, to avoid eventually using
2248 unitialized variables.
2250 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2252 * src/hildon-bread-crumb-trail.c
2253 (hildon_bread_crumb_trail_size_allocate):
2254 * src/hildon-calendar.c (hildon_calendar_set_background):
2255 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
2256 * src/hildon-range-editor.c (hildon_range_editor_get_range):
2257 * src/hildon-seekbar.c (hildon_seekbar_init):
2258 * src/hildon-time-editor.c (hildon_time_editor_get_time):
2259 * src/hildon-time-selector.c (hildon_time_selector_finalize):
2260 * src/hildon-touch-selector-entry.c
2261 (hildon_touch_selector_get_text_from_model):
2262 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
2263 * src/hildon-window.c (hildon_window_finalize):
2265 Remove many unused variables.
2267 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2269 * src/hildon-seekbar.c: (hildon_seekbar_init),
2270 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
2272 Remove unnecessary g_assert() calls.
2274 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2276 * src/hildon-caption.c: (hildon_caption_expose),
2277 (hildon_caption_set_property), (hildon_caption_init),
2278 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
2279 (hildon_caption_size_request), (hildon_caption_size_allocate),
2280 (hildon_caption_forall), (hildon_caption_set_separator),
2281 (hildon_caption_activate), (hildon_caption_set_child_expand),
2282 (hildon_caption_set_label_text),
2283 (hildon_caption_get_label_alignment):
2285 Remove unnecessary g_assert() calls.
2287 2009-02-12 Alberto Garcia <agarcia@igalia.com>
2289 * src/hildon-banner.c
2290 (hildon_banner_map, hildon_banner_init): Make banner temporary
2291 before mapping it to avoid closing other temporary windows, but
2292 make it non-temporary afterwards to avoid being closed by other
2293 non-temporary windows.
2294 (-hildon_banner_client_event, hildon_banner_init):
2295 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
2297 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
2300 2009-02-11 Alberto Garcia <agarcia@igalia.com>
2302 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
2305 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2307 * src/hildon-remote-texture.c
2308 * src/hildon-remote-texture.h
2309 * src/hildon-remote-texture-private.h
2310 * examples/hildon-remote-texture-example.c:
2311 Updates/fixes to remote-texture and its example.
2313 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
2315 Patch by Mox Soini (ext-mox.soini@nokia.com)
2317 * src/hildon-code-dialog.c: Update logical id.
2318 * src/hildon-set-password-dialog.c: Update logical id.
2320 Fixes: NB#100646 (Logical strings is shown for ok in set
2321 password,Password needed dialogs)
2323 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2326 * src/hildon-remote-texture.c
2327 * src/hildon-remote-texture.h
2328 * src/hildon-remote-texture-private.h
2330 Added remote texture widget (for Clutter shared memory textures)
2332 * examples/hildon-remote-texture-example.c
2333 * examples/Makefile.am
2334 Added example file for remote texture usage
2336 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
2338 * configure.ac: post release version bump.
2339 * debian/changelog: version bump.
2341 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
2346 * configure.ac: Bump version.
2347 * debian/changelog: Updates.
2349 2009-02-06 Alberto Garcia <agarcia@igalia.com>
2351 * src/hildon-date-selector.c (hildon_date_selector_init)
2352 (hildon_date_selector_constructor): Don't connect to the "changed"
2353 signal until the selector is completely constructed.
2355 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2357 * src/hildon-touch-selector.c: (_create_new_column),
2358 (hildon_touch_selector_append_column),
2359 (hildon_touch_selector_set_column_selection_mode),
2360 (hildon_touch_selector_set_active),
2361 (hildon_touch_selector_select_iter):
2362 Emit the HildonTouchSelector::changed signal every time selection
2363 is changed in any of the methods above. This behavior was already
2364 documented but not fully functional.
2366 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
2367 selection is programmatically changed)
2369 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2371 * doc/hildon-sections.txt: Remove obsolete icon
2372 sizes from here as well.
2374 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2376 * examples/hildon-stackable-window-example.c (add_window): Remove
2379 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2381 * src/hildon-app-menu.c
2382 (hildon_app_menu_show): Check whether the parent window of a menu
2383 is topmost before popping it up.
2385 Fixes: NB#100468 (Application menu window is launched even when a
2386 new secondary-window/dialog is pending to be shown/realized.)
2388 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2390 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
2393 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2395 Patch by Mox Soini (ext-mox.soini@nokia.com)
2397 * src/hildon-banner.c: (hildon_banner_show_animation):
2398 use stylus size instead of obsolete note size.
2399 * src/hildon-defines.h: Update icon sizes.
2401 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2403 * src/hildon-touch-selector-entry.c:
2404 (hildon_touch_selector_entry_init): Disable unsupported
2406 (hildon_touch_selector_entry_get_text_column): Emit a warning
2407 if an unsupported input modes is used and explicitile state
2408 these modes in the documentation.
2410 Fixes: NB#99802 (Hildon touch selector entry not working properly
2411 for some of the input modes)
2413 2009-02-05 Alejandro G. Castro <alex@igalia.com>
2415 * src/hildon-pannable-area.c,
2416 (hildon_pannable_area_init): Added the changed signal handlers of
2419 Fixes: NB#100320 (HildonPannableArea does not listen to
2420 GtkAdjustment "change" signals)
2422 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2424 * doc/hildon-sections.txt
2425 * src/hildon-window-private.h
2426 * src/hildon-window.h
2427 * src/hildon-window.c (hildon_window_init)
2428 (hildon_window_realize, hildon_window_unrealize)
2429 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
2430 (hildon_window_size_request, hildon_window_size_allocate)
2431 (hildon_window_forall, hildon_window_show_all)
2432 (hildon_window_destroy, +paint_edit_toolbar)
2433 (+hildon_window_set_edit_toolbar):
2434 New hildon_window_set_edit_toolbar() method, to add a
2435 HildonEditToolbar to a window without having to pack it manually.
2437 Reorganize hildon_window_size_allocate()
2439 * src/hildon-edit-toolbar.c: Update documentation.
2441 * examples/hildon-edit-toolbar-example.c (edit_window): Update
2442 example to use the new API.
2444 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
2446 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2448 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
2449 Remove from stack before calling parent's hide.
2451 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2453 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
2454 window is removed from the middle of the stack, update the
2455 transiency of the previous one.
2457 Fixes: NB#100487 (HildonStackableWindow transiency becomes
2460 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2462 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
2463 block/unblock the signal handler if it's not actually being used.
2464 Fixes some critical warnings.
2466 2009-02-02 Alberto Garcia <agarcia@igalia.com>
2468 Based on a patch by Iván Gómez (igomez@igalia.com)
2470 * src/hildon-banner.c
2474 * src/hildon-pannable-area.c
2475 * src/hildon-picker-dialog.c
2476 * src/hildon-wizard-dialog.h
2477 * src/hildon-wizard-dialog.c: Documentation updates.
2479 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
2480 gtk_dialog_add_button() instead of hildon_dialog_add_button().
2482 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2484 * configure.ac: post release version bump.
2485 * debian/changelog: version bump.
2487 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2492 * configure.ac: Bump version.
2493 * debian/changelog: Updates.
2495 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2497 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
2498 a stock icon nor change the relief of the back arrow.
2500 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2501 graphics from theme)
2503 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2505 * src/hildon-button.c (hildon_button_set_alignment): Use
2506 priv->alignment if the button has no child yet.
2508 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
2510 * src/hildon-button.c: (hildon_button_init): Set the
2511 button style during initialization to give it the proper
2514 Fixes: NB#99713 (HildonButton value label color is wrong)
2516 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2518 * src/hildon-touch-selector.c: Document
2519 hildon_touch_selector_center_on_selected()
2521 2009-01-28 Alberto Garcia <agarcia@igalia.com>
2523 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
2524 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
2525 all menu items, but not the menu itself.
2526 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
2527 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
2528 items after adding them to the menu so keyboard accelerators work.
2529 (hildon_app_menu_show): Don't show the menu if it contains items
2530 but none of them are visible.
2532 * examples/hildon-app-menu-example.c (create_menu): Use
2533 gtk_widget_show_all() to show all menu items.
2535 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2537 * src/hildon-picker-dialog.c:
2538 (-_update_title_on_selector_changed_cb),
2539 (-_dialog_update_title): Removed.
2540 (_select_on_selector_changed_cb), (_on_dialog_response),
2541 (on_selector_columns_changed): Do not update the dialog title.
2542 (setup_interaction_mode): Do not connect to
2543 HildonTouchSelector::changed signal if there's a "done" button, as
2544 the dialog title doesn't need to be updated.
2546 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
2549 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
2551 Patch by Kristian Rietveld (kris@imendio.com)
2553 * src/hildon-touch-selector.c: (_create_new_column): Use new
2554 GtkTreeView::hildon-row-tapped signal to react to user interactions
2555 instead of ::changed.
2557 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
2558 with some dynamic tree model)
2560 2009-01-27 Alberto Garcia <agarcia@igalia.com>
2562 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
2563 (+screen_size_changed, +label_size_request)
2564 (hildon_note_class_init): Make the Hildon information note have a
2565 minimum height, and make its text hvae a maximum width.
2567 Fixes: NB#98614 (Hildon information note (background) should have
2568 minimum height and maximum text width)
2570 2009-01-26 Alberto Garcia <agarcia@igalia.com>
2572 * src/hildon-banner.h
2573 * src/hildon-banner.c (hildon_banner_show_information)
2574 (hildon_banner_show_informationf)
2575 (hildon_banner_show_information_with_markup): Update documentation
2576 to reflect that the icon_name parameter is not used anymore.
2577 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
2578 Remove all code from these functions and mark them as deprecated.
2579 (hildon_banner_show_progress): Mark as deprecated.
2581 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
2583 2009-01-26 Alejandro G. Castro <alex@igalia.com>
2585 * src/hildon-pannable-area.c,
2586 (hildon_pannable_area_class_init),
2587 (tranparency_color),
2588 (hildon_pannable_draw_vscroll),
2589 (hildon_pannable_draw_hscroll),
2590 (hildon_pannable_area_expose_event): Added a new way to render the
2591 scrollbars of the pannable area avoiding using cairo at all. This
2592 way we improve the performance of the pannable area rendering. The
2593 cairo rendering procedure is still in the code, we can control
2594 which one to use changing the value of the define
2595 USE_CAIRO_SCROLLBARS.
2597 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2599 * configure.ac: post release version bump.
2600 * debian/changelog: version bump.
2602 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2607 * configure.ac: Bump version.
2608 * debian/changelog: Updates.
2610 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2612 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
2613 banners instead of destroying them when they receive a button
2616 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2618 Reverted commit 34028, it was causing regressions, probably the
2619 topmost condition is not correct, we have to check it in more
2620 detail. We have reponed the bug: NB#97458 (Pannable area prevents
2621 propagation of button press events)
2623 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2625 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
2626 that the selection is not empty before attempting to retrieve the
2627 current ampm selection.
2629 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2631 * src/hildon-picker-button.c:
2632 (hildon_picker_button_on_dialog_response): Directly update the
2633 button contents when required instead of calling _selection_changed.
2635 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2637 * src/hildon-program.c (hildon_program_update_top_most): Update
2638 'is-topmost' property also when wm_hints is not set.
2640 Fixes: NB#98383 (is-topmost signal is not emitted when task
2641 switcher is clicked.)
2643 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2645 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
2649 * src/hildon-animation-actor.c,
2650 * src/hildon-animation-actor.h: Added the animation actor class,
2651 this widget represents an animation actor for WM-assisted
2652 animation effects in the Hildon framework.
2654 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2656 * src/hildon-window-stack-private.h
2657 * src/hildon-window-stack.c
2658 * src/hildon-stackable-window.c (hildon_stackable_window_show):
2659 Avoid calling gtk_widget_show() again indirectly from
2660 hildon_stackable_window_show()
2662 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2664 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
2667 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2669 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
2670 (hildon_time_selector_init): Move the construction of the hours and
2671 ampm columns to the constructor to preserve the order the columns
2674 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2676 * src/hildon-picker-dialog.c:
2677 (hildon_picker_dialog_class_init): Connect a realize method.
2678 (+hildon_picker_dialog_realize): Setup the interaction mode here
2680 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
2681 yet, do it during the realize instead.
2682 (_on_dialog_response):
2683 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
2684 if the widget is not realized, to avoid the dialog response before it
2687 Avoid premature responses in the HildonPickerDialog that can cause it
2688 to be hidden before it's even shown.
2690 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2692 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
2693 (on_selector_columns_changed), (requires_done_button),
2694 (+prepare_action_area), (setup_interaction_mode),
2695 (_hildon_picker_dialog_set_selector):
2697 Split the interaction mode setup into preparation of the
2698 action area (prepare_action_area()) and the connection of
2699 the signals in setup_interaction_mode() and update the code to
2702 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2704 * src/hildon-pannable-area.c,
2705 (hildon_pannable_area_class_init): Reduced the amount of scrolls
2706 per second to 15, we will check if this is ok regarding
2709 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2711 * src/hildon-pannable-area.c,
2712 (hildon_pannable_axis_scroll): Avoid resize if we already have
2713 reached overshoot_max.
2715 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2717 * src/hildon-pannable-area.c,
2718 (hildon_pannable_area_init),
2719 (hildon_pannable_area_realize),
2720 (hildon_pannable_area_size_allocate),
2721 (hildon_pannable_area_map),
2722 (hildon_pannable_area_unmap),
2723 (hildon_pannable_draw_vscroll),
2724 (hildon_pannable_draw_hscroll),
2725 (hildon_pannable_area_expose_event),
2726 (hildon_pannable_area_refresh): Added a new GdkWindow to the
2727 pannable are to avoid the expose events go to the window and
2728 redraw the window. We save this way that part of the stack and the
2729 paint_boxes. We had to change the positions of the elements when
2732 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
2734 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2735 * src/hildon-color-chooser-dialog.c:
2736 (hildon_color_chooser_dialog_init):
2737 * src/hildon-font-selection-dialog.c:
2738 (hildon_font_selection_dialog_init),
2739 (hildon_font_selection_dialog_show_preview):
2740 * src/hildon-get-password-dialog.c:
2741 * src/hildon-login-dialog.c:
2742 * src/hildon-set-password-dialog.c:
2743 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
2744 * src/hildon-time-picker.c: (hildon_time_picker_init):
2746 Remove obsolete logical string IDs and update to the appropriate ones.
2748 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
2750 2009-01-21 Alberto Garcia <agarcia@igalia.com>
2752 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
2753 that happens if the window hasn't been realized yet.
2755 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
2756 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
2758 2009-01-20 Alberto Garcia <agarcia@igalia.com>
2760 * src/hildon-app-menu.c (hildon_app_menu_class_init)
2761 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
2764 Fixes: NB#98537 (Device hangs in account settings dialog)
2766 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2768 * configure.ac: post release version bump.
2769 * debian/changelog: version bump
2771 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2776 * configure.ac: Bump version.
2777 * debian/changelog: Updates.
2779 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2781 Added a new function to the HildonTimeButton widget that allows to
2782 change the step of the minutes in the selector associated with the
2783 button: hildon_time_button_new_step
2785 * src/hildon-time-button.c,
2786 (hildon_time_button_init),
2787 (hildon_time_button_new),
2788 (hildon_time_button_new_step):
2789 * src/hildon-time-button.h: Added the new function and refactored
2791 * examples/hildon-time-button-example.c,
2792 (main): We have replaced the function without parameters with the
2793 function with the steps set to 5
2795 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
2797 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2799 * src/hildon-time-selector.c,
2800 (hildon_time_selector_class_init),
2801 (hildon_time_selector_constructor),
2802 (hildon_time_selector_get_property),
2803 (hildon_time_selector_set_property),
2804 (_create_minutes_model),
2805 (hildon_time_selector_new_step),
2806 (hildon_time_selector_set_time),
2807 * src/hildon-time-selector.h: Added a new property to the
2808 HildonTimeSelector (minutes-step), we use that property to control
2809 the steps between the minutes in the list of the selector. We have
2810 added a new function to the API to create a widget changing the
2811 step: hildon_time_selector_new_step.
2813 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2815 * src/hildon-time-selector.c,
2816 (hildon_time_selector_class_init),
2817 (hildon_time_selector_constructor),
2818 (hildon_time_selector_init): Overrided the construct function when
2819 creating the time selector object. We have moved the minutes model
2820 handling code from the init to the new construction function:
2821 hildon_time_selector_constructor.
2823 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2825 * examples/hildon-date-button-example.c: (main): Use the new
2826 hildon_date_button_new_with_year_range() method in the example.
2827 * src/hildon-date-button.c:
2828 (+hildon_date_button_new_with_year_range): New public method
2829 to conveniently create a HildonDateButton with a custom year range
2830 in its HildonDateSelector.
2831 * src/hildon-date-button.h: Add the new public method definition.
2833 Fixes: NB#97908 (Not possible to change the year range in
2834 HildonDateSelector/HildonDateButton)
2836 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2838 * src/hildon-date-selector.c:
2839 (+hildon_date_selector_set_property),
2840 (+hildon_date_selector_get_property),
2841 (hildon_date_selector_class_init): Install new properties "min-year"
2842 and "max-year" to define boundaries for the year column.
2843 (_create_year_model): Use the boundary properties to populate the model.
2844 (+hildon_date_selector_new_with_year_range): New public method to
2845 create a HildonDateSelector with a user defined year range.
2846 (hildon_date_selector_select_current_date): Use the new boundaries to
2847 calculate the iterator of current year.
2848 * src/hildon-date-selector.h: Add the new public method definition.
2850 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2852 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
2853 Install a constructor method.
2854 (+hildon_date_selector_construct_ui): construct the widget.
2855 (+hildon_date_selector_constructor): new constructor.
2856 (+hildon_date_selector_init): move out widget construction code to
2857 the new constructor.
2859 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2861 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
2862 that there's actually a month or year selected before obtaining them.
2863 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
2864 of the HildonTouchSelector::changed signal, as it was emitted on every
2865 single item selection.
2867 Fix some warnings and possible crashers due to the selection restoring.
2869 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2871 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
2872 the signal handlers only after creating the dialog instead of on every
2875 2009-01-19 Alberto Garcia <agarcia@igalia.com>
2877 * src/hildon-button.c (hildon_button_init)
2878 * src/hildon-check-button.c (hildon_check_button_init)
2879 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
2880 focus when clicked by default.
2882 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2884 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
2887 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2889 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2890 Alejandro G. Castro (alex@igalia.com)
2892 * src/hildon-picker-dialog.c:
2893 (hildon_picker_dialog_class_init): install new "center-on-show"
2895 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
2896 (hildon_picker_dialog_set_property): add setter code for the new
2898 (hildon_picker_dialog_get_property): add getter code for the new
2900 (hildon_picker_dialog_show): Ensure visibility of selected items in the
2901 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
2904 Fixes: NB#92849 (Selected item is not always visible when
2905 HildonTouchSelector is shown)
2907 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2909 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2910 Alejandro G. Castro (alex@igalia.com)
2912 * src/hildon-touch-selector.c:
2913 (_create_new_column): Do not connect to the "realize" signal of the
2915 (hildon_touch_selector_append_column): center on the selected items
2916 when a new column is appended.
2917 (hildon_touch_selector_select_iter): Factor out the code to select a
2918 column to hildon_touch_selector_scroll_to().
2919 (+search_nearest_element): Method to retrieve the nearest selected
2920 element to the visible area of the pannable area in a column.
2921 (+on_realize_cb): scroll to the initially selected item.
2922 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
2923 the pannable area is realized, otherwise delay this until it is.
2924 (+_hildon_touch_selector_center_on_selected_items): Centers on the
2925 selected items of a given column.
2926 (+hildon_touch_selector_center_on_selected): Public method to center
2927 all columns on the nearest selected item.
2928 * src/hildon-touch-selector.h: Add definition for
2929 hildon_touch_selector_center_on_selected().
2931 Implement public API to ensure visibility of all selected items in
2932 a HildonTouchSelector.
2934 2009-01-16 Alejandro G. Castro <alex@igalia.com>
2936 Fixed a problem in the fading when calling the scroll_to API, and
2937 improve scrollbar fading handling.
2939 * src/hildon-pannable-area.c,
2940 (hildon_pannable_area_grab_notify): avoid the timeout when the
2942 (hildon_pannable_area_button_press_cb),
2943 (hildon_pannable_area_motion_notify_cb): Code style changes.
2944 (hildon_pannable_area_button_release_cb): Review the conditions
2945 when releasing the mouse button to avoid unrequired fading
2947 (hildon_pannable_area_scroll_to): Do not calculate and set the
2948 velocity if the scroll is not required.
2950 2009-01-15 Alberto Garcia <agarcia@igalia.com>
2952 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
2953 Don't check whether the new selector is NULL: it cannot be.
2954 Hold a reference to the selector while doing the replacement.
2956 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2958 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2959 unnecessary size_request in a removed widget.
2961 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2963 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2964 an unnecessary reference tracking that was leaking.
2966 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2968 Added delayed motion notify event handling, this way we can
2969 discard redrawing if more than 25 events arrive per second.
2971 * src/hildon-pannable-area.c,
2972 (hildon_pannable_area_init): Initialized the new private atributes
2973 controlling this timeout
2974 (hildon_pannable_area_dispose): Remove the timeout that controls
2975 the motion notify events.
2976 (hildon_pannable_area_scroll): Added a condition to control the
2977 use of the acceleration.
2978 (hildon_pannable_area_motion_event_scroll_timeout),
2979 (hildon_pannable_area_motion_event_scroll): Added this two
2980 functions, they handle the motion notify events inside the
2982 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
2983 to the scroll method with the new function.
2984 (hildon_pannable_area_button_release_cb): We have to remove the
2985 timeout handler and move to the last position if the last motion
2986 events were not handled.
2988 Fixes: NB#97028 (Pannable area updates on every motion event)
2990 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2992 * src/hildon-pannable-area.c,
2993 (hildon_pannable_area_get_topmost): Added a new parameter to
2994 filter the the windows that do not include those events. Added
2995 also a condition when finding the window to filter windows that do
2996 not ask for those events.
2997 (hildon_pannable_area_button_press_cb),
2998 (hildon_pannable_area_button_release_cb),
2999 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3000 topmost function, we have added the new parameter.
3002 Fixes: NB#97458 (Pannable area prevents propagation of button
3005 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3007 * src/hildon-pannable-area.c,
3008 (hildon_pannable_area_initial_effect): Added controls before
3009 launching the timeout and the idle functions.
3010 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
3011 of the method, in some situations it can return with TRUE and 0 in
3013 (hildon_pannable_area_button_press_cb): We do not need to set
3014 DELAY for fading out here.
3016 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
3018 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3020 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
3021 post-cleaning if the selection is not NULL.
3023 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3025 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
3026 all items before restoring the selection.
3028 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3030 * src/hildon-touch-selector.c:
3031 (+hildon_touch_selector_unselect_all):
3032 * src/hildon-touch-selector.h: New API to unselect all items in a
3033 column of the touch selector.
3035 2009-01-14 Alejandro G. Castro <alex@igalia.com>
3037 * src/hildon-pannable-area.c,
3038 (hildon_pannable_area_redraw): Added a call to the refresh
3039 function inside the redraw because apparently in some cases the
3040 change in the adjustment does not imply a size allocate.
3042 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
3043 despite the view not being scrollable)
3045 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3047 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
3048 leak. Check for NULL before attempting to set the window title.
3050 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3052 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
3053 whether to show or not the 'Done' button each time the dialog is
3054 shown, as it depends on the HildonTouchSelector selection mode.
3056 Fixes: NB#96226 (In multiple selection mode Done button is shown
3057 sometimes in listpicker)
3059 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3061 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3062 for the number of columns in the HildonTouchSelector more than once.
3064 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3066 * src/hildon-touch-selector.c: Minor documentation fixes.
3068 * src/hildon-picker-dialog.c (+_dialog_update_title)
3069 (_select_on_selector_changed_cb)
3070 (_update_title_on_selector_changed_cb)
3071 (on_selector_columns_changed): Update dialog title when there's no
3072 'Done' button and also when the number of columns in the selector
3076 * src/hildon-picker-button.c (hildon_picker_button_finalize)
3077 (+_selection_changed, hildon_picker_button_on_dialog_response)
3078 (hildon_picker_button_selector_selection_changed)
3079 (+hildon_picker_button_selector_columns_changed)
3080 (hildon_picker_button_set_selector): Update button value and emit
3081 'value-changed' when the number of columns in the selector
3085 Fixes: NB#96225 (Dialog titles are not shown according to the
3086 values selected in the list picker)
3088 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3090 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
3091 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
3092 New "arrow-width" and "arrow-height" style properties to set the
3093 size of the arrow button.
3094 Set name of arrow button ("hildon-edit-toolbar-arrow").
3096 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3097 graphics from theme)
3099 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3101 * src/hildon-picker-button.c:
3102 (hildon_picker_button_selector_selection_changed): Use
3103 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
3104 the dialog is present.
3106 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
3107 the selection is accepted in the dialog)
3109 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3111 * src/hildon-color-chooser.h
3112 * src/hildon-color-chooser-dialog.h:
3113 Added G_BEGIN_DECLS and G_END_DECLS
3115 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3117 (_clean_current_selection): plug a leak in the list.
3119 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3121 * src/hildon-picker-dialog.c:
3122 (+free_path_list): Method to free a GList of GtkTreePaths.
3123 (_clean_current_selection), (_save_current_selection),
3124 (_restore_current_selection): Save the current selection in
3125 as a list of lists, to support multiple selection properly.
3127 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3129 patch by Claudio Saavedra (csaavedra@igalia.com)
3131 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
3132 Store the press position.
3133 (+hildon_text_view_button_release_event): If the release position is
3134 close enough to the press position, move the cursor here. Otherwise,
3136 (hildon_text_view_class_init): Override GtkTextView press, release, and
3137 motion event handlers, disabling this way text selection through
3138 pointer interaction, and allowing the container widget to handle the
3141 Fixes: NB#95828 (HildonTextView functionality)
3143 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3145 Based on a patch by Iván Gómez (igomez@igalia.com)
3147 * src/hildon-button.[ch]
3148 * src/hildon-calendar.c
3149 * src/hildon-check-button.c
3150 * src/hildon-date-editor.c
3151 * src/hildon-date-selector.c
3152 * src/hildon-picker-button.c
3153 * src/hildon-time-editor.c
3154 * src/hildon-time-selector.c
3155 * src/hildon-touch-selector.[ch]:
3156 Documentation updates
3158 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3160 * src/hildon-pannable-area.c,
3161 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
3162 threshold, it was required due to X events handling.
3164 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3166 * src/hildon-pannable-area.c,
3167 (hildon_pannable_area_grab_notify),
3168 (hildon_pannable_area_initial_effect),
3169 (hildon_pannable_area_button_press_cb),
3170 (hildon_pannable_area_button_release_cb),
3171 (hildon_pannable_area_scroll_cb),
3172 (hildon_pannable_area_scroll_to): Review the timeout management of
3173 the scrollbar, the frecuency was incorrectly set.
3175 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
3177 * src/hildon-picker-button.c:
3178 (+hildon_picker_button_on_dialog_response),
3179 (hildon_picker_button_clicked): Present the dialog instead of
3180 running it with gtk_dialog_run().
3182 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
3185 2009-01-07 Alberto Garcia <agarcia@igalia.com>
3187 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3188 (hildon_app_menu_finalize): When a window is hidden it doesn't
3189 emit notify::is-topmost, so make sure than the menu also
3190 disappears in that case.
3191 (parent_window_topmost_notify): Renamed from parent_window_hidden
3193 Fixes: NB#94460 (stackable window's menu is not closed when its
3196 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3198 * src/hildon-touch-selector-entry.c:
3199 (+hildon_touch_selector_entry_set_input_mode),
3200 (+hildon_touch_selector_entry_get_input_mode):
3201 * src/hildon-touch-selector-entry.h: New methods to access the input
3202 mode in the selector's entry.
3204 Fixes: NB#93410 (API required for setting IM mode in
3205 HildonTouchSelectorEntry)
3207 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3209 * configure.ac: post release version bump.
3210 * debian/changelog: version bump
3212 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3217 * configure.ac: Bump version.
3218 * debian/changelog: Updates.
3220 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
3222 * src/hildon-touch-selector.c:
3223 (_hildon_touch_selector_has_multiple_selection): No need
3224 to initialize the variables here.
3226 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3228 * src/hildon-note-private.h
3229 * src/hildon-note.c (event_box_press_event, hildon_note_init)
3230 (hildon_note_finalize, hildon_note_rebuild): Close information
3231 notes when they receive a button press.
3233 Fixes: NB#89890 (Information notes does not get disappeared after
3236 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
3238 * src/hildon-wizard-dialog.c: (create_title): Remove translation
3239 mark from the wizard title, as it's not really necessary. Also,
3240 do not display the page title if not set.
3242 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3244 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3245 (parent_window_hidden): Use the window's "is-topmost" property to
3246 detect when to hide the menu.
3248 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3250 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3251 (hildon_app_menu_finalize): If the parent window of the menu is
3252 hidden, hide the menu too.
3254 Fixes: NB#94460 (stackable window's menu is not closed when its
3257 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3260 * debian/libhildon1-examples.install
3262 * examples/Makefile.am:
3263 Use dh_install to install all examples.
3264 Use DEB_SRCDIR instead of defining SOURCE_DIR
3266 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3268 * configure.ac: post release version bump.
3269 * debian/changelog: version bump
3271 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3276 * configure.ac: bump version
3277 * debian/changelog: updates
3278 * debian/control: bump gtk+ dependency
3280 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3282 patch by Christian Dywan (christian@imendio.com)
3284 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
3285 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
3287 2008-12-15 Alberto Garcia <agarcia@igalia.com>
3289 * src/hildon-check-button.c (hildon_check_button_init)
3290 (hildon_check_button_class_init, hildon_check_button_style_set)
3291 (hildon_check_button_apply_style):
3292 New "checkbox-size" style property.
3294 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
3295 larger / configurable size)
3297 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3299 * configure.ac: post release version bump.
3300 * debian/changelog: version bump
3302 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3307 * configure.ac: bump version
3308 * debian/changelog: updates
3310 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3312 * doc/hildon-sections.txt
3313 * src/hildon-pannable-area.c
3314 * src/hildon-program.c
3315 * src/hildon-time-editor.c
3316 * src/hildon-touch-selector-entry.c:
3318 More documentation updates.
3320 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3322 * doc/hildon-sections.txt
3323 * src/hildon-caption.c
3324 * src/hildon-code-dialog.c
3325 * src/hildon-color-button.c
3326 * src/hildon-controlbar.c
3327 * src/hildon-date-editor.c
3328 * src/hildon-date-selector.c
3329 * src/hildon-edit-toolbar.c
3330 * src/hildon-find-toolbar.c
3331 * src/hildon-font-selection-dialog.c
3333 * src/hildon-program.c
3334 * src/hildon-range-editor.c
3335 * src/hildon-seekbar.c
3336 * src/hildon-time-editor.c
3337 * src/hildon-time-selector.c
3338 * src/hildon-volumebar-range.c
3339 * src/hildon-volumebar.c
3340 * src/hildon-vvolumebar.c
3341 * src/hildon-weekday-picker.c
3342 * src/hildon-window.c
3343 * src/hildon-wizard-dialog.c:
3345 Lots of documentation fixes.
3347 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3349 Patch contributed by Iván Gómez (igomez@igalia.com)
3351 * src/hildon-check-button.c:
3352 * src/hildon-date-button.c:
3353 * src/hildon-date-selector.c:
3354 * src/hildon-dialog.c:
3355 * src/hildon-edit-toolbar.c:
3356 * src/hildon-entry.c:
3357 * src/hildon-picker-button.c:
3358 * src/hildon-program.c:
3359 * src/hildon-text-view.c:
3360 * src/hildon-time-button.c:
3361 * src/hildon-touch-selector-entry.c:
3362 * src/hildon-window-stack.c:
3364 Add more "since" tags to the new API.
3366 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3368 * doc/hildon-sections.txt: Add below method.
3369 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
3370 version for the hildonized scale.
3371 * src/hildon-gtk.h: Add the definition.
3373 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3375 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3377 * doc/hildon-sections.txt: Add missing entries for new methods.
3379 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3381 Added API to pannable are in order to get its adjustments. We
3382 added two properties to manage the values we had in the private
3385 * src/hildon-pannable-area.c:
3386 (hildon_pannable_area_class_init): Added hadjustment and
3387 vadjustment properties in order to expose horizontal and vertical
3389 (hildon_pannable_area_get_property),
3390 (hildon_pannable_area_set_property): Added code to handle the new
3392 (hildon_pannable_area_get_hadjustment),
3393 (hildon_pannable_area_get_vadjustment): API functions to get the
3395 * src/hildon-pannable-area.h:
3396 (hildon_pannable_area_get_hadjustment),
3397 (hildon_pannable_area_get_vadjustment): API functions to get the
3400 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3402 Fixed some leaks, after valgrinding.
3404 * src/hildon-touch-selector.c:
3405 (_default_print_func): Fixed a leak.
3406 (hildon_touch_selector_append_column): Fixed a leak.
3407 * src/hildon-date-button.c:
3408 (hildon_date_button_init): Fixed a leak.
3409 * src/hildon-date-selector.c
3410 (hildon_date_selector_finalize): Fixed a leak.
3412 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3414 Based on a patch by Christian Dywan (christian@imendio.com)
3416 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
3418 * src/hildon-gtk.h: Add definition.
3420 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3422 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3424 * src/hildon-picker-button.c: (hildon_picker_button_init),
3425 (hildon_picker_button_new): Set the HildonButton::style property
3426 in the init method, to propagate the value to the derived classes.
3428 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3430 * src/hildon-button.c: (hildon_button_class_init): Do not make
3431 the "style" property a construct property.
3433 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3435 * src/hildon-wizard-dialog.h
3436 * src/hildon-wizard-dialog.c
3437 (hildon_wizard_dialog_set_forward_page_func)
3438 * src/hildon-pannable-area.h
3439 * src/hildon-pannable-area.c
3440 (hildon_pannable_area_set_size_request_policy):
3441 Documentation fixes.
3443 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3445 * doc/hildon-sections.txt: Fixed warning about unused symbols.
3447 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3449 * doc/hildon-sections.txt: Added sections file.
3451 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3454 * src/*.[ch]: Updates.
3456 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
3458 * examples/hildon-progress-indicator-example.c: new file
3459 * examples/Makefile.am: include the new example program
3461 2008-12-10 Alberto Garcia <agarcia@igalia.com>
3463 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
3465 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3467 * configure.ac: post release version bump
3468 * debian/changelog: version bump
3470 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3475 * configure.ac: bump version
3476 * debian/changelog: updates
3477 * debian/control: bump gtk+ dependency
3479 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3481 * src/hildon-dialog.c: Mark as deprecated.
3482 * src/hildon-dialog.h: Mark as deprecated.
3483 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
3484 from HildonDialog and still work, even if
3485 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
3486 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
3488 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
3489 maemo changes) instead)
3491 2008-12-09 Alejandro G. Castro <alex@igalia.com>
3493 * src/hildon-pannable_area.h:
3494 * src/hildon-pannable_area.c:
3495 (hildon_pannable_area_class_init),
3496 (hildon_pannable_area_set_property),
3497 (hildon_pannable_area_get_property),
3498 (hildon_pannable_area_size_request),
3499 (hildon_pannable_area_get_size_request_policy),
3500 (hildon_pannable_area_set_size_request_policy): Added new API
3501 allowing applications to control the request policy. Now they can
3502 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
3503 children allocation (HILDON_MOVEMENT_CHILDREN).
3505 2008-12-09 Alberto Garcia <agarcia@igalia.com>
3509 (hildon_gtk_tree_view_set_ui_mode)
3510 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
3511 mode of treeviews and iconviews.
3513 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3515 * src/hildon-touch-selector-entry.c:
3516 (hildon_touch_selector_entry_init): Use a HildonEntry instead
3517 of a GtkEntry to get proper theming.
3519 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
3520 widget, not GtkEntry)
3522 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3524 * src/hildon-wizard-dialog.c: (response): Move forward if there is
3525 no HildonWizardDialogPageFunc.
3527 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3529 Patch contributed by Iván Gómez (igomez@igalia.com)
3531 * src/hildon-app-menu.c:
3532 * src/hildon-button.c:
3533 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
3534 * src/hildon-stackable-window.c:
3535 * src/hildon-time-selector.c:
3536 * src/hildon-touch-selector.c:
3537 * src/hildon-window.c:
3539 Add more "since" tags to the new API in hildon 2.2.
3541 2008-12-05 Tim Janik <timj@imendio.com>
3543 Patch contributed by Christian Dywan (christian@imendio.com)
3545 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
3546 HildonSizeType, which are supplied by Gtk+ now.
3548 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
3550 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
3551 (with maemo changes) instead)
3553 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3555 Patch contributed by Iván Gómez (igomez@igalia.com)
3557 * src/hildon-pannable-area.c: Add "since" tags to the new API in
3560 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3562 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
3563 (some_page_func), (main): Update the example to use a
3564 HildonWizardDialogPageFunc function.
3566 * src/hildon-wizard-dialog-private.h: Add private data for
3567 the HildonWizardDialogPageFunc function usage.
3569 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
3570 (destroy), (hildon_wizard_dialog_init), (response),
3571 (hildon_wizard_dialog_set_forward_page_func):
3572 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
3573 that applications can use to stop a HildonWizardDialog to jump to
3576 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
3579 2008-12-04 Alberto Garcia <agarcia@igalia.com>
3581 * src/hildon-program.h
3582 * src/hildon-program-private.h
3583 * src/hildon-program.c (hildon_program_init)
3584 (hildon_program_set_common_app_menu)
3585 (hildon_program_get_common_app_menu):
3586 New API for setting a common HildonAppMenu for all
3587 HildonStackableWindows registered with the HildonProgram.
3589 * src/hildon-stackable-window.c
3590 (hildon_stackable_window_toggle_menu):
3591 Use the common HildonAppMenu if a window doesn't have a specific
3594 * src/hildon-app-menu-private.h
3595 * src/hildon-app-menu.c
3596 (hildon_app_menu_get_parent_window):
3597 Function to obtain the window a HildonAppMenu is attached to.
3598 (hildon_app_menu_set_parent_window):
3599 Hide the menu if the parent window is set to NULL.
3601 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
3603 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
3604 set GtkTreeView::enable-search to FALSE, to avoid the interactive
3605 search widget to popup.
3607 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3609 * configure.ac: post release version bump
3610 * debian/changelog: version bump
3612 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3617 * configure.ac: bump version
3618 * debian/changelog: updates
3620 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3622 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
3624 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
3625 (hildon_window_stack_window_realized)
3626 (hildon_window_stack_remove, _hildon_window_stack_do_push):
3627 Set the leader GdkWindow when a window is stacked and realized,
3628 unset it when it's unstacked.
3629 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
3631 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
3633 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3635 * src/hildon-stackable-window.h
3636 * src/hildon-window-stack.h:
3637 Protect definition of HildonWindowStack using the preprocessor.
3639 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3641 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
3642 Fix warning if all menu items are hidden.
3644 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
3646 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3648 * src/hildon-controlbar.c:
3649 * src/hildon-hvolumebar.c:
3650 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
3651 Multiple scale size defines updates.
3653 Fixes: NB#94322 (Scale Updates)
3655 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3657 * examples/hildon-app-menu-example.c (create_menu)
3658 Show items after adding them to the menu, as in the future the
3659 menu will no longer call gtk_widget_show() on the added items.
3661 * src/hildon-app-menu.c:
3662 Update example as explained above.
3664 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3666 * src/hildon-app-menu.c
3667 (hildon_app_menu_insert, hildon_app_menu_add_filter):
3668 Make sure that all menu items have finger height.
3670 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
3672 * src/hildon-picker-dialog.c:
3673 (_on_dialog_response), (_save_current_selection),
3674 (_restore_current_selection), (_clean_current_selection),
3675 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
3676 Defined new functions in order to save the current internal selector
3677 selection previous open the dialog, in case that the use cancel the
3678 interaction, so the widget restores the previous selection.
3680 Fixes: NB#92032 (In calendar application, date values in 'new event'
3683 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
3685 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3687 * src/hildon-button.c: Add a reference to the button examples in
3688 hildon-button-example.c
3690 * examples/hildon-button-example.c: Added examples of the most
3691 common button layouts.
3693 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3695 * src/hildon-app-menu.c (hildon_app_menu_show)
3696 (hildon_app_menu_class_init): Don't show the menu if it's empty.
3698 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
3700 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3702 * src/hildon-picker-dialog.c:
3703 (hildon_picker_dialog_init): Initialize the signal id for
3704 HildonTouchSelector::columns-changed.
3705 (+on_selector_columns_changed): Set up the interaction mode everytime a
3706 column is added or removed from the HildonTouchSelector.
3707 (_hildon_picker_dialog_set_selector): Connect to
3708 HildonTouchSelector::columns-changed and keep track of it.
3710 Make sure to update the interaction mode of the dialog everytime a
3711 column is added or removed in the HildonTouchSelector.
3713 Fixes: NB#93228 (Done button is not shown always in listpicker)
3715 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3717 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
3718 a new ::columns-changed signal.
3719 (hildon_touch_selector_append_column): Emit ::columns-changed.
3720 (hildon_touch_selector_remove_column): Emit ::columns-changed.
3722 Add a ::columns-changed signal, emitted when the number of columns in a
3723 HildonTouchSelector changes.
3725 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3727 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
3728 (_hildon_picker_dialog_set_selector): Factor out the code
3729 to set up the dialog interaction mode.
3731 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3733 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
3734 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
3735 to signal_changed_id.
3737 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3739 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3742 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
3744 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
3745 Updated the logical ids related to ampm format, as now it is required to
3746 show it correctly localized even on languages with no default
3747 abbreviations for am or pm
3748 (_check_am_pm_format): check correctly the 24h format gconf property
3750 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
3752 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3754 * src/hildon-button.c: Documentation updates.
3756 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3758 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
3759 * src/hildon-caption.c: (hildon_caption_class_init):
3760 * src/hildon-color-button.c: (hildon_color_button_class_init):
3761 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
3762 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3763 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
3764 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
3766 Remove deprecated GTK+ marshalers and replace them with the ones
3767 provided by GLib, for those available, add a marshaler for
3768 BOOLEAN:VOID, which is not available in GLib, and use it.
3770 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3772 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
3773 the text from the previous column if there is no
3774 HildonTouchSelectorColumn::text-property set.
3776 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3778 * src/hildon-button.h
3779 * src/hildon-button.c (hildon_button_set_property)
3780 (hildon_button_get_property, hildon_button_class_init)
3781 (hildon_button_set_style, hildon_button_get_style):
3782 New "style" property to change the visual appearance of the
3785 * src/hildon-picker-button.c (hildon_picker_button_new):
3786 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
3788 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
3789 HildonButton look like PickerButton)
3791 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3793 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
3794 column while building the default string.
3796 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3798 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
3799 scroll indicator by default.
3801 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
3803 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3805 * src/hildon-main.c: Fix the documentation for hildon_init()
3807 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3809 * doc/hildon-docs.sgml
3813 * src/hildon-window-stack-private.h
3814 * src/hildon-window-stack.h
3815 * src/hildon-window-stack.c:
3816 New HildonWindowStack object, that adds support for multiple
3817 stacks of windows per process.
3819 * src/hildon-stackable-window-private.h
3820 * src/hildon-stackable-window.h
3821 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
3822 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
3823 (hildon_stackable_window_show, hildon_stackable_window_hide)
3824 (hildon_stackable_window_class_init)
3825 (hildon_stackable_window_init):
3826 Use HildonWindowStack for stack management.
3828 * src/hildon-program.c (hildon_program_pop_window_stack)
3829 (hildon_program_peek_window_stack)
3830 (hildon_program_go_to_root_window):
3831 Add a fallback implementation to the deprecated functions using
3834 * examples/hildon-stackable-window-example.c:
3835 Use the new HildonWindowStack API.
3837 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3839 * src/hildon-stackable-window-private.h
3840 * src/hildon-stackable-window.c (hildon_stackable_window_show)
3841 (hildon_stackable_window_hide, hildon_stackable_window_init):
3842 Remove all window stack management.
3844 * src/hildon-program-private.h
3845 * src/hildon-program.h
3846 * src/hildon-program.c (hildon_program_init)
3847 (hildon_program_pop_window_stack)
3848 (hildon_program_peek_window_stack)
3849 (hildon_program_go_to_root_window):
3850 Remove all window stack management and mark functions as
3853 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3855 * src/hildon-app-menu.c (hildon_app_menu_realize):
3856 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
3858 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3860 * configure.ac: post release version bump
3861 * debian/changelog: version bump
3863 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3868 * configure.ac: bump version
3869 * debian/changelog: updates
3871 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3873 Based on initial code by Christian Dywan (christian@imendio.com)
3875 * doc/hildon-docs.sgml: Add section for hildon-main.
3876 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
3877 * src/Makefile.am: Add new hildon-main.[ch]
3878 * src/hildon-defines.h: Update the icon sizes.
3879 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
3880 new library initialization files and register icon sizes.
3881 * src/hildon-main.h: New declarations.
3882 * src/hildon.h: Include hildon-main.h
3884 Add new initialization functions to the library. These methods
3885 will register the hildon specific icon sizes and can be used in the
3886 future for other hildon specific bits.
3888 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
3890 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3892 * src/hildon-window.c: (hildon_window_realize),
3893 (hildon_window_notify), (-hildon_window_update_title): Do not set
3894 the application name in the window title.
3896 Fixes: NB#89754 (Applications shouldn't display their names in the
3899 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3901 * src/hildon-note-private.h:
3902 * src/hildon-note.c: (hildon_note_set_property),
3903 (hildon_note_get_property), (hildon_note_class_init),
3904 (hildon_note_init), (hildon_note_finalize),
3905 (hildon_note_new_confirmation_with_icon_name),
3906 (hildon_note_new_information_with_icon_name):
3908 No need to mark as deprecated the actual code. Revert
3909 to avoid missing symbols in widgets using deprecated API.
3911 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3913 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
3915 * src/hildon-volumebar.h
3916 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
3917 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
3919 * src/hildon-helper.h
3920 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
3921 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
3923 * examples/Makefile.am:
3924 Deprecate hildon-insensitive-example
3926 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
3928 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3930 * examples/hildon-pannable-area-buttons-scroll-example.c:
3931 Make all buttons finger height
3933 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
3935 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
3937 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
3938 update the day model only if it is really required, and to avoid the
3939 full-reconstruction aproach. Now it only add or remove the required days.
3941 The purpose of this is avoid superfluous HildonTouchSelector::changed
3944 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
3945 with strange parameters)
3947 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
3949 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
3951 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
3952 the WINDOW_TYPE property.
3954 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
3956 2008-11-19 Alberto Garcia <agarcia@igalia.com>
3959 Fix dependency to allow parallel compilation with make -jX
3961 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
3963 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
3964 color frame and some minor tweaks to make it more consistent with
3967 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
3968 highlighted but not visible)
3970 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3972 * examples/Makefile.am: Fixed typo in the Makefile.am.
3974 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3976 Reviewed the use of MAEMO_GTK define, now we add the define in the
3977 compilation line, and we also add it to the pc file.
3979 * configure.ac: Added MAEMO_GTK define to the compilation command
3980 and removed it from the config.h.
3982 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
3983 do not have to take care about this define if the library was
3987 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
3989 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3991 * examples/Makefile.am,
3992 * examples/hildon-pannable-area-buttons-scroll-example.c,
3993 * examples/hildon-pannable-area-gesture-signals-example.c,
3994 * examples/hildon-pannable-area-scroll-jump-example.c,
3995 * examples/hildon-pannable-area-tree-view-example.c:
3996 Renamed the pannable area examples, now they have more meaningful
3999 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
4001 * src/hildon-touch-selector.c:
4002 (hildon_touch_selector_set_column_selection_mode): Used of
4003 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
4004 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
4005 to avoid re-seting the same selection mode.
4007 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
4008 breaks HildonPickerDialog)
4010 2008-11-13 Alejandro G. Castro <alex@igalia.com>
4012 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
4013 conditional in the Makefile.am
4015 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
4017 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
4018 Remove unused methods.
4020 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4022 * src/hildon-button.c (hildon_button_init):
4023 Make button images center-aligned by default
4025 2008-11-12 Alejandro G. Castro <alex@igalia.com>
4028 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
4029 activated, we have to think about how to deal with both defines
4030 MAEMO_GTK and MAEMO_CHANGES.
4032 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4034 * examples/hildon-app-menu-example.c (create_menu): Make all
4035 buttons finger size.
4037 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4039 Fixed the compilation without maemo gtk adding ifdefs with
4040 MAEMO_GTK define to the code, we have to check this version more
4043 * examples/Makefile.am: Added control to avoid some examples that
4044 just make sense with maemo gtk.
4047 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
4048 hildon modes with the define.
4050 * examples/hildon-edit-toolbar-example.c,
4051 (create_icon_view): Create the icon view without hildon-gtk
4052 helpers if we are not using maemo gtk.
4054 * src/hildon-touch-selector.c,
4055 (_create_new_column): Create the treeview without hildon-gtk
4056 helpers if we are not using maemo gtk.
4058 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4060 * src/hildon-pnnable-area.c,
4061 (hildon_pannable_area_dispose),
4062 (hildon_pannable_area_button_press_cb),
4063 (hildon_pannable_area_child_mapped),
4064 (hildon_pannable_area_add),
4065 (hildon_pannable_area_remove): Added code to control the position
4066 of the event_window when adding and removing children from the
4067 pannable. We have to raise the event window when the child is
4070 Fixes: NB#89811 (Not able to select first image thumbnail in multi
4071 selection mode using custom widget inside pannable)
4073 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4075 * configure.ac: post release version bump
4076 * debian/changelog: version bump
4078 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4083 * configure.ac: bump version
4084 * debian/changelog: updates
4086 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
4088 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
4089 search mode, in order to avoid lose the focus on the treeview when
4090 a hw key (like enter) is pressed.
4092 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
4093 in HildonDateSelector dialog)
4095 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
4097 * debian/rules: Added --enable-maintainer-mode
4098 * Makefile.am: Added ACLOCAL_AMFLAGS
4100 This allows to properly regenerate the Makefiles if you modify the
4101 configure.ac or any Makefile.am.
4103 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4105 * examples/hildon-app-menu-example.c: (main): Do not set RC style
4106 properties, not needed at all.
4108 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4110 * src/hildon-note-private.h: Add strings for the icon and stock_icon
4112 * src/hildon-note.c: (hildon_note_set_property),
4113 (hildon_note_get_property), (hildon_note_class_init),
4114 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
4115 (hildon_note_new_confirmation_add_buttons): Remove icons.
4116 (hildon_note_new_confirmation_with_icon_name): Deprecate.
4117 (hildon_note_new_information_with_icon_name): Deprecate.
4118 (hildon_note_new_confirmation): Act directly, without calling
4119 the deprecated constructor.
4120 (hildon_note_new_information): Act directly, without calling
4121 the deprecated constructor.
4122 * src/hildon-note.h: Mark deprecate methods as such.
4123 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
4124 not run tests on the deprecated methods if built with deprecation
4127 Fixes: NB#91688 (Never show icons in information notes/confirmation
4130 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4132 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
4133 (hildon_app_menu_key_press): Remove leftover usage of the
4134 private structure in HildonAppMenu struct.
4135 * src/hildon-app-menu.h: Remove leftover private structure
4136 from the HildonAppMenu struct.
4138 Fixes a crasher when using the HildonAppMenu.
4140 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4142 * src/hildon-picker-dialog.c: Use appropriate logical id
4143 for the default "Done" text.
4145 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4147 * configure.ac: post release version bump
4148 * debian/changelog: version bump
4150 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
4152 Modified the way to scroll to the current selection just when the touch
4153 selector is shown on the screen, avoiding a g_idle. Added too a property
4154 to configure this behaviour. See hildon_pannable_area_jump_to_child
4155 documentation for more information.
4157 * src/hildon-touch-selector.c
4158 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
4159 Added 'initial-scroll' property
4160 (hildon_touch_selector_set_property): Added
4161 (hildon_touch_selector_map): Removed as not required anymore
4162 (_hildon_touch_selector_on_selected_items): Modified in order to manage
4163 only a concrete column, instead of iterate along all the columns
4165 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4170 * configure.ac: bump version
4171 * debian/changelog: updates
4173 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4175 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
4176 compilation time warnings.
4178 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4180 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4181 the default value for HildonPannableArea::mov-mode to
4182 HILDON_PANNABLE_AREA_MODE_VERT.
4184 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
4186 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4188 Reverting following commit:
4190 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4192 * src/hildon-app-menu-private.h
4193 * src/hildon-app-menu.[ch]
4194 * src/hildon-button.[ch]
4195 * src/hildon-check-button.[ch]
4196 * src/hildon-entry.[ch]
4197 * src/hildon-pannable-area.[ch]
4198 * src/hildon-text-view.[ch]:
4199 Added private field to the object's structure.
4201 because it causes an ABI breakage. We will need to introduce these
4202 changes later at some point. See NB#91636 for an extensive
4203 explanation and status.
4205 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4207 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4209 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4210 remove special cases that are no longer necessary.
4212 Fixes: NB#91016 (Change toolbar sizes, simplification)
4214 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4216 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4217 is shown in the cancel note.
4219 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4221 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
4222 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
4223 (hildon_seekbar_init): Remove steppers, remove expose event.
4224 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
4226 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
4228 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
4230 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
4231 label font to "SmallSystemFont" for vertically arranged buttons.
4233 Fixes: NB#90662 (HildonButton "value" and "detail" text is
4236 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4238 * src/hildon-check-button.c
4239 (hildon_check_button_set_active, hildon_check_button_clicked):
4240 Don't access private parts directly, use getters instead.
4242 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4244 * src/hildon-check-button.c (hildon_check_button_new):
4245 Align the contents of the check button to the left.
4247 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4249 * src/hildon-pannable-area.c,
4250 (hildon_pannable_area_scroll_to),
4251 (hildon_pannable_area_jump_to),
4252 (hildon_pannable_area_scroll_to_child),
4253 (hildon_pannable_area_jump_to_child): Replace the mapped
4254 precondition of these functions with the realized, it is the
4255 correct state of the widget in this case. Changed the
4256 documentation according to this modification.
4258 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4260 Added a new EXTRA_CFLAGS option to add the deprecated define to
4261 the compilation command. This way we can avoid using the define in
4262 the documentation compilation.
4264 * configure.ac: Defined EXTRA_CFLAGS.
4266 * examples/Makefile.am:
4268 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
4270 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
4272 * src/hildon-picker-dialog.c:
4273 Defined a utility macro with the desired touch selector height
4274 Removed currently unused separator, and title_label variables from
4276 (hildon_picker_dialog_init): Removed code related to the creation
4277 of unused private variables title_label and separator.
4278 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
4279 to ensure correct visualization of the touch selector inside the dialog.
4280 * src/hildon-touch-selector.c
4281 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
4282 ensure a concrete height of the widget.
4284 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4287 * tests/Makefile.am:
4289 Remove spurious whitespaces.
4291 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4293 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
4294 compilation warning after the cancel button removal.
4296 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4298 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
4300 * configure.ac: Added an AM_CONDITIONAL in order to use in the
4301 Makefile.am, that way we can choose not to compile some examples
4302 and tests of the deprecated widgets.
4304 * examples/Makefile.am: Divided the sources in deprecated and
4307 * src/Makefile.am: Added undef statement of the deprecated
4308 symbol to the enums file generation process.
4310 * src/hildon-color-chooser-dialog.c
4311 * src/hildon-color-chooser-dialog.h
4312 * src/hildon-color-button.c
4313 * src/hildon-color-button.h
4314 * src/hildon-color-chooser.c
4315 * src/hildon-color-chooser.h
4316 * src/hildon-controlbar.c
4317 * src/hildon-controlbar.h
4318 * src/hildon-date-editor.c
4319 * src/hildon-date-editor.h
4320 * src/hildon-hvolumebar.c
4321 * src/hildon-hvolumebar.h
4322 * src/hildon-private.c
4323 * src/hildon-private.h
4324 * src/hildon-range-editor.c
4325 * src/hildon-range-editor.h
4326 * src/hildon-seekbar.c
4327 * src/hildon-seekbar.h
4328 * src/hildon-time-editor.c
4329 * src/hildon-time-editor.h
4330 * src/hildon-time-picker.c
4331 * src/hildon-time-picker.h
4332 * src/hildon-volumebar.c
4333 * src/hildon-volumebar.h
4334 * src/hildon-vvolumebar.c
4335 * src/hildon-vvolumebar.h
4336 * src/hildon-bread-crumb-trail.h
4337 * src/hildon-bread-crumb-trail.c
4338 * src/hildon-calendar-popup.c
4339 * src/hildon-calendar-popup.h
4340 * src/hildon-weekday-picker.c:
4341 * src/hildon-weekday-picker.h:
4342 * src/hildon-bread-crumb-widget.c:
4343 * src/hildon-bread-crumb-widget.h:
4344 * src/hildon-bread-crumb.c:
4345 * src/hildon-bread-crumb.h:
4346 * src/hildon-calendar.c:
4347 * src/hildon-calendar.h:
4348 * src/hildon-caption.c:
4349 * src/hildon-code-dialog.c:
4350 * src/hildon-code-dialog.h:
4351 * src/hildon-font-selection-dialog.c:
4352 * src/hildon-font-selection-dialog.h:
4353 * src/hildon-get-password-dialog.c:
4354 * src/hildon-get-password-dialog.h:
4355 * src/hildon-login-dialog.c:
4356 * src/hildon-login-dialog.h:
4357 * src/hildon-number-editor.c:
4358 * src/hildon-number-editor.h:
4359 * src/hildon-set-password-dialog.c:
4360 * src/hildon-set-password-dialog.h:
4361 * src/hildon-sort-dialog.c:
4362 * src/hildon-sort-dialog.h: This is the list of deprecated
4365 * src/hildon-touch-selector.c:
4366 * src/hildon-window.c: Added undef statement to avoid compilation
4369 * tests/Makefile.am: Divided the sources in deprecated and
4372 * tests/check_test.c,
4373 (configure_tests): Marked the deprecated code that was adding
4374 suites with deprecated tests.
4376 Fixes: NB#91135 (Deprecate legacy hildon widgets)
4378 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4380 * src/hildon-touch-selector.c: (_default_print_func): Do not
4381 duplicate a string returned by gtk_tree_model_get(), it is already
4384 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
4387 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4389 * src/hildon-pannable-area.c
4390 (hildon_pannable_area_add_with_viewport): Reviewed the complete
4391 method, it had problems when adding a widget with viewport the
4392 second time. Now checks if it already has a viewport and uses it.
4394 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
4397 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4399 * src/hildon-pannable-area.c,
4400 (hildon_pannable_area_scroll_to),
4401 (hildon_pannable_area_jump_to),
4402 (hildon_pannable_area_scroll_to_child),
4403 (hildon_pannable_area_jump_to_child): Added a precondition to the
4404 scroll and jump to functions: the widget must be mapped before we
4405 can safely call these functions. We have also added documentation
4406 to the functions to explain how to use them in this situation.
4409 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4411 Reviewed the threading handling of the pannable widget, we have
4412 used the gdk_threads_add_timeout function instead of the usual
4413 glib handlers. This avoids some problems with the threads.
4415 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
4416 (hildon_pannable_area_initial_effect),
4417 (hildon_pannable_area_scroll_indicator_fade),
4418 (hildon_pannable_area_button_press_cb),
4419 (hildon_pannable_area_timeout),
4420 (hildon_pannable_area_motion_notify_cb),
4421 (hildon_pannable_area_button_release_cb),
4422 (hildon_pannable_area_scroll_cb),
4423 (hildon_pannable_area_scroll_to): Removed the
4424 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
4425 gdk_threads_add_timeout.
4427 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
4429 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4434 * configure.ac: bump version
4435 * debian/changelog: updates
4437 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4439 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4440 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
4441 * src/hildon-color-chooser-dialog.c:
4442 (hildon_color_chooser_dialog_init):
4443 * src/hildon-font-selection-dialog.c:
4444 (hildon_font_selection_dialog_init):
4445 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
4447 Remove all cancel/close-like dialogs, as these are not going to be
4450 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4452 * src/hildon-note.c: (hildon_note_rebuild),
4453 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
4456 Fixes: NB#90661 (Delete dialog is displayed without NO button)
4458 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4460 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
4461 sure all buttons are shown, even the Cancel/Close-like ones.
4463 Fixes: NB#90861 (Custom Confirmation dialogs should be
4464 protected from cancel button removal)
4466 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4468 * debian/control: Change libhildon1-examples dependency from libhildon1
4470 * debian/libhildon1-examples.install
4472 * Makefile.am: Modified the final install directory for the examples on
4473 package libhildon1-examples
4474 * Makefile.static: Update clean target in order to remove all the binary
4477 Changes suggested by Claudio after review new libhildon1-examples package
4479 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
4481 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
4482 * src/hildon-touch-selector.c: Ditto.
4484 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4486 * debian/control: Added new package libhildon1-examples, in order to pack
4487 the current hildon examples as documentation
4488 * debian/rules: Not to compress .c files, modify some includes on the
4489 examples (as normally are compiled locally, but when installed it will
4490 require to include the installed libhildon1 library), and rename
4492 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
4493 install all the example files on the new example package
4494 * examples/Makefile.static: Added static makefile that can be used to
4495 compile the examples, once installed the new example package
4496 * examples: Most of the examples were modified in order to grant that
4497 all use only '#include "hildon.h"', in order to be easy to prepare
4498 it on the example package
4500 2008-10-23 Alberto Garcia <agarcia@igalia.com>
4503 * debian/libhildon1-dev.install
4504 * debian/libhildon1-doc.install:
4505 Move all gtk-doc files to a separate libhildon1-doc package.
4507 2008-10-23 Daniel Borgmann <danielb@openismus.com>
4509 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4511 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
4513 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
4515 * debian/rules: Fixed a error in order to avoid unnecessary calls
4516 to autogen.sh on package building
4518 2008-10-22 Alberto Garcia <agarcia@igalia.com>
4520 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
4522 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4524 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
4527 2008-10-21 Alberto Garcia <agarcia@igalia.com>
4529 * src/hildon-picker-button.c
4530 (hildon_picker_button_finalize):
4531 Free priv->done_button_text
4533 * src/hildon-time-button.c
4534 (hildon_time_button_set_time)
4535 * src/hildon-picker-button.c
4536 (hildon_picker_button_clicked)
4537 (hildon_picker_button_selector_selection_changed)
4538 (hildon_picker_button_set_selector)
4539 * src/hildon-date-button.c
4540 (hildon_date_button_set_date):
4541 Free strings returned by hildon_touch_selector_get_current_text()
4543 * src/hildon-button.c (hildon_button_construct_child):
4544 Fix leaks in priv->image and priv->label_box
4546 Fixes: NB#90535 (Memory leak in picker button)
4548 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4550 * src/hildon-button.c: (hildon_button_get_property): Do not access
4551 private elements directly, use getters instead.
4553 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4555 * src/hildon-app-menu-private.h
4556 * src/hildon-app-menu.c
4557 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
4558 Store the menu's parent window.
4560 * src/hildon-stackable-window.c
4561 (hildon_stackable_window_toggle_menu)
4562 (hildon_stackable_window_finalize):
4563 Set the menu's parent window when the menu is shown, unset it when
4566 * src/hildon-app-menu.c
4567 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
4568 (hildon_app_menu_class_init):
4569 Send unhandled keyboard accelerators to the parent window.
4571 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4573 * src/hildon-stackable-window.c
4574 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
4576 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4578 * configure.ac: post release version bump
4580 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4583 * configure.ac: Bump version
4584 * debian/changelog: Updates
4585 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
4588 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4590 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4593 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
4594 GtkMenu with Hildon style.
4596 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4598 * src/hildon-picker-button.c:
4599 (hildon_picker_button_set_done_button_text): Set the dialog's
4600 done button text here as well.
4602 Fixes: NB#90232 (Picker button does not set the label on done button
4603 for the second time)
4605 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4607 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
4610 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4612 * src/hildon-app-menu.c (hildon_app_menu_insert)
4613 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
4614 the HildonAppMenu to be activatable using keyboard accelerators
4615 when the menu is not being shown.
4617 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
4619 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4621 * src/hildon-stackable-window.c
4622 (hildon_stackable_window_show):
4623 Don't hide old windows automatically when new windows are shown:
4624 this is now a task for the window manager.
4625 (hildon_stackable_window_class_init)
4626 (hildon_stackable_window_hide):
4627 Remove windows from the stack everytime they're hidden.
4628 (hildon_stackable_window_realize):
4629 Don't change the _NET_WM_WINDOW_TYPE property. Use
4630 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
4631 it as a stackable window.
4633 * src/hildon-program.c
4634 (hildon_program_pop_window_stack):
4635 Just hide the window to remove it from the stack.
4636 (hildon_program_go_to_root_window):
4637 Don't call gtk_widget_show(), this is now a task for the window
4640 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
4642 2008-10-15 Alberto Garcia <agarcia@igalia.com>
4644 * src/hildon-button.c
4645 (hildon_button_construct_child):
4646 Don't pack anything in the button until text or image are
4647 set. This allows adding a custom child after creating the button
4648 with hildon_button_new().
4649 (hildon_button_finalize, hildon_button_class_init)
4650 (hildon_button_init, hildon_button_set_arrangement): Destroy the
4651 alignment and the label box even when they're not packed in the
4654 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
4656 * src/hildon-touch-selector.h:
4657 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
4658 currently the type definition was using GTK_TYPE_VBOX
4659 * src/hildon-touch-selector.c:
4660 Added some implementation notes in order to clarify that any other widget
4661 added without the column related API will not be included on the
4662 selection logic, and how the widget is freed, as some people ask about
4664 (hildon_touch_selector_remove): Reimplemented in order to free properly
4665 the column related data when you remove the private hbox.
4666 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
4667 to get a proper HildonTouchSelectorColumn documentation
4669 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4671 * src/hildon-touch-selector-entry.c:
4672 (hildon_touch_selector_entry_print_func): Return NULL if there is no
4673 text in the GtkEntry and there is no item selected. Fixes a
4676 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4678 * src/hildon-app-menu-private.h
4679 * src/hildon-app-menu.[ch]
4680 * src/hildon-button.[ch]
4681 * src/hildon-check-button.[ch]
4682 * src/hildon-entry.[ch]
4683 * src/hildon-pannable-area.[ch]
4684 * src/hildon-text-view.[ch]:
4685 Added private field to the object's structure.
4687 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4689 * configure.ac: post-release version bump
4691 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4695 * configure.ac: pre-release version bump
4697 * debian/changelog: updates.
4699 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4701 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
4702 Disconnect the handler for HildonTouchSelector::changed.
4704 (hildon_picker_button_selector_selection_changed): Update the button
4705 value if the selection change was not triggered by the
4708 (hildon_picker_button_set_selector): connect to
4709 HildonTouchSelector::changed.
4711 Fixes: NB#89650 (Picker button is not updated, when selection in
4712 selector has changed)
4714 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
4716 * src/hildon-picker-dialog.c
4717 (hildon_picker_dialog_realize): Removed as not required
4718 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
4719 * src/hildon-picker-button.c
4720 (_current_selector_empty): New function, checks if the selector is empty
4721 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
4722 if the current selector is empty, in order to avoid to show the dialog
4723 close the dialog in this case (and shows a g_warning).
4725 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
4727 2008-10-09 Alejandro G. Castro <alex@igalia.com>
4729 * src/hildon-pannable-area.c,
4730 (hildon_pannable_area_scroll): Added clause to stop movement when
4731 the child of pannable is smaller than one page.
4732 (hildon_pannable_area_scroll_to): Added conditions to avoid
4733 starting the scrolling movement if the child is smaller than one
4734 page, the complete child is in the screen, we do not have to move.
4736 Fixes: NB#89632 (Picker button selection doesn't change on first click)
4738 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4740 * src/hildon-app-menu.c: Removed the 'columns' property, as now
4741 this is managed automatically by the widget when the size of the
4744 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4746 * src/hildon-picker-button.c
4747 (hildon_picker_button_set_done_button_text): Make a copy of the
4748 text, and free the previous value.
4750 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4752 * src/hildon-touch-selector-entry.c:
4753 (hildon_touch_selector_entry_print_func): Return the selected row's
4754 text if the entry is empty.
4756 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
4759 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4761 * src/hildon-touch-selector-entry.c: Minor docs fixes.
4763 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4766 * src/hildon-check-button.h
4767 * src/hildon-check-button.c
4768 * examples/hildon-check-button-example.c:
4769 HildonCheckButton is now a new widget. 'toggled' signal added.
4771 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4773 * src/hildon-program-private.h
4774 * src/hildon-program.c (hildon_program_init)
4775 (hildon_program_finalize): Removed unused variables group_leader
4776 and name from HildonProgramPrivate.
4778 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4780 * src/hildon-check-button.c (hildon_check_button_set_active)
4781 (hildon_check_button_get_active, hildon_check_button_new): Use
4782 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
4784 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
4786 * src/hildon-touch-selector.h
4787 (hildon_touch_selector_set_column_attributes): added deprecation
4788 guard HILDON_DISABLE_DEPRECATED
4789 * src/hildon-time-selector.c
4790 (hildon_time_selector_set_time)
4791 (hildon_time_selector_get_time): Fixed a typo on documentation
4792 * src/hildon-touch-selector.c: update HildonTouchSelector and
4793 HildonTouchSelectorColumn documentation
4794 * src/hildon-touch-selector-entry.c: update "text-column" property
4796 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
4797 to be added to the general documentation.
4799 2008-10-08 Alejandro G. Castro <alex@igalia.com>
4801 * examples/hildon-pannable-area-example-4.c,
4803 * examples/hildon-pannable-area-example.c,
4804 (main): Modified the code in order to use the container add, with
4805 viewport treeviews could have problems if they are really big.
4807 2008-10-06 Alejandro G. Castro <alex@igalia.com>
4809 * src/hildon-weekday-picker.c,
4810 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
4811 the agreement regarding deprecation in the library.
4813 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4815 * examples/hildon-picker-button-multicolumn-example.c:
4816 (main): Use custom "done" button text.
4818 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4819 (hildon_picker_button_set_property),
4820 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4821 (hildon_picker_button_init),
4822 (+hildon_picker_button_get_done_button_text),
4823 (+hildon_picker_button_set_done_button_text): New methods to customize
4824 the "done" button label in the launched HildonPickerDialog. Also,
4827 * src/hildon-picker-button.h: add the public API.
4829 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4831 * src/hildon-date-selector.h:
4832 * src/hildon-picker-dialog.h:
4833 * src/hildon-time-selector.h:
4834 * src/hildon-touch-selector-column.h:
4835 * src/hildon-touch-selector.h:
4837 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
4838 declarations. Fixes gtk-doc warnings.
4840 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4842 * src/hildon-picker-dialog.h
4843 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
4844 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
4846 Fixes: NB#89329 (selectors in picker dialog are not visible when a
4847 long text is set as label for done button)
4849 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4851 * src/hildon-dialog.c (hildon_dialog_add_button):
4852 Set fixed width to all buttons in the HildonDialog.
4854 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4856 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4858 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
4859 Set widget name using class name plus "-finger" or "-thumb".
4861 2008-10-03 Alberto Garcia <agarcia@igalia.com>
4863 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
4864 'clicked' when the state of the button is manually changed.
4866 2008-10-02 Alberto Garcia <agarcia@igalia.com>
4868 * src/hildon-app-menu.c (hildon_app_menu_realize)
4869 (hildon_app_menu_unrealize, hildon_app_menu_init)
4870 (hildon_app_menu_class_init, item_visibility_changed):
4871 Change the menu layout when the size of the screen changes.
4872 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
4873 Show warning only when changing the number of colums using the
4876 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
4878 * debian/compat: Set to 5
4879 * debian/control: Update dependencies.
4880 * debian/libhildon1-dbg.install: Remove.
4881 * debian/libhildon1-dev.install: Update according to cdbs paths.
4882 * debian/libhildon1.install: Update according to cdbs paths.
4883 * debian/rules: Switch to cdbs.
4885 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4887 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
4888 'item' variable renamed to 'filter'
4890 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4892 * src/hildon-app-menu.c (hildon_app_menu_insert)
4893 (hildon_app_menu_add_filter, remove_item_from_list)
4894 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
4895 Don't leak hidden items when the menu is destroyed.
4897 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4899 * src/hildon-app-menu.c (hildon_app_menu_insert)
4900 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
4901 (hildon_app_menu_set_columns, item_visibility_changed)
4902 (filter_visibility_changed, hildon_app_menu_repack_filters)
4903 (hildon_app_menu_repack_items):
4904 Repack items and filters separately.
4906 Don't repack all items, change only the ones that are needed to
4909 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4911 * src/Makefile.am: added hildon-touch-selector-column.h
4913 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4915 * src/hildon-touch-selector.c: added the property "text-column" to the
4916 class HildonTouchSelectorColumn, and related get/set functions
4917 (_default_printf_func): updated to use "text-column" property
4918 * src/hildon-touch-selector-entry.c: mark as deprecated the property
4919 "text-column" in his documentation, as this is now included on
4920 HildonTouchSelectorColumn. The get/set_property can still be used,
4921 working as a wrapper to the concrete column "text-column" property
4922 (_text_column_modified): callback added in order to handle the signal
4923 "notify::text-column" of the concrete HildonTouchSelectorColumn
4924 (hildon_touch_selector_entry_get_text_column)
4925 (hildon_touch_selector_entry_set_text_column): Added documentation, and
4926 modified in order to use the HildonTouchSelectorColumn "text-column"
4928 * src/hildon-time-selector.c:
4929 * src/hildon-date-selector.c:
4930 * examples/hildon-touch-selector-example.c
4931 * examples/hildon-touch-selector-multi-cells-example.c
4932 * examples/hildon-picker-button-multicolumn-example.c
4933 Set the right value to "text-column" property on the creation of a new
4934 column using hildon_touch_selector_append_column()
4936 Fixes: NB#88644 (Hardcoded first column of the model as text column)
4938 2008-09-30 Alberto Garcia <agarcia@igalia.com>
4940 * src/hildon-app-menu.c
4941 (hildon_app_menu_construct_child, hildon_app_menu_init): When
4942 updating the layout of the menu, don't create all widgets again,
4943 just repack the items in their new places.
4945 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
4947 * src/hildon-time-selector.c
4948 (hildon_time_selector_get_time)
4949 (hildon_time_selector_set_time)
4950 Added documentation of these public methods
4952 * src/hildon-date-button.h
4953 * src/hildon-touch-selector-column.h
4954 * src/hildon-time-button.h
4955 * src/hildon-picker-dialog.h
4956 * src/hildon-time-selector.h
4957 * src/hildon-picker-button.h
4958 * src/hildon-touch-selector.h
4959 * src/hildon-time-picker.h
4960 * src/hildon-date-selector.h
4961 * src/hildon-touch-selector-entry.h
4962 Modified in order to use hildon-widgets code style
4964 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4966 Added deprecated support to the compilation process using
4967 HILDON_DISABLE_DEPRECATED
4969 * configure.ac: Added the --disable-deprecated to the configure
4972 * src/hildon-weekday-picker.c:
4973 * src/hildon-weekday-picker.h: Deprecated widget, example of how
4974 to use the deprecated support. We will update the other deprecated
4975 widgets status in a new patch.
4977 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4979 * configure.ac: Fixed typo with fatal warnings support, the
4980 variable name was not correct
4982 2008-09-29 Alberto Garcia <agarcia@igalia.com>
4984 * src/hildon-app-menu.c
4985 * src/hildon-program.c: Update documentation.
4987 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4989 * configure.ac: Post-release version bump.
4991 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4996 * configure.ac: Pre-release version bump.
4997 * debian/changelog: Updates.
4999 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5001 * NEWS: Update news for previous releases.
5003 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5005 * examples/hildon-touch-selector-multi-cells-example.c:
5006 (create_selector): Update the example to use
5007 hildon_touch_selector_append_column() with a NULL renderer and set
5008 the renderers later.
5009 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
5010 passed a NULL renderer. This is documented behavior now.
5012 Allow passing a NULL renderer to hildon_touch_selector_append_column().
5013 This must be used if the developer wants full control on the layout of
5014 the renderers to be added to the column.
5016 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5018 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5020 * src/hildon-touch-selector.c: Documentation fixes.
5022 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5024 * src/hildon-wizard-dialog-private.h: Remove image and box.
5025 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
5026 (hildon_wizard_dialog_set_property), (response): Completely remove
5027 image/icon support, and the containers required for the layout.
5029 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
5031 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5033 * src/hildon-app-menu.c: Updated documentation.
5035 * src/hildon-stackable-window.c
5036 (hildon_stackable_window_set_main_menu): Unref the old menu after
5037 ref'ing the new one.
5039 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5041 * src/hildon-stackable-window.c
5042 (hildon_stackable_window_set_main_menu): Unref the previous menu
5043 instead of destroying it.
5045 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
5046 floating reference and set has_user_ref_count to FALSE to make
5047 HildonAppMenu act like a normal ref-counted widget and not a
5050 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
5053 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
5055 * src/hildon-touch-selector-column.h: new file
5056 * src/hildon-touch-selector.h
5057 * src/hildon-touch-selector.c
5058 Implemented GtkCellLayout interface, in order to allow to configure
5059 the cell layout on each individual selector column
5060 (hildon_touch_selector_set_column_attributes): marked as deprecated
5061 * examples/hildon-touch-selector-multi-cells-example.c
5062 Example of how to use the GtkCellLayout interface on the selector
5064 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5066 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5068 * src/hildon-app-menu.h
5069 * src/hildon-app-menu.c
5070 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
5071 (hildon_app_menu_append, hildon_app_menu_prepend):
5072 New methods to prepend, insert and move items in the menu.
5074 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5076 * src/hildon-wizard-dialog.c:
5078 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
5080 (create_title): Update logical IDs and related code.
5081 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
5083 * src/hildon-wizard-dialog.h: Note that
5084 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
5085 point, as it is not used anymore.
5087 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
5089 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5091 * src/hildon-note.c:
5092 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
5093 shown. Do not display an icon in confirmation notes nor information
5095 (hildon_note_set_button_text): Update logical ID for cancel button.
5097 Fixes: NB#88850 (Update HildonNote button strings + signals)
5099 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5101 * src/hildon-stackable-window.c
5102 (hildon_stackable_window_set_main_menu): Fix compilation warning.
5104 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5106 * src/hildon-app-menu-private.h
5107 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
5108 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
5109 (hildon_app_menu_init, hildon_app_menu_class_init): Added
5110 temporary property 'columns' to change the number of columns.
5112 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5114 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
5116 * examples/hildon-note-example.c: (on_information_clicked),
5117 (on_confirmation_clicked), (on_progress_clicked), (main): Add
5118 debugging information.
5119 * src/hildon-note-private.h: Remove close_if_pressed_outside,
5121 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
5122 (hildon_note_rebuild): Remove special handling of tapping outside/inside
5123 in order to close: this will be handled by the WM from now on.
5125 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
5127 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5129 * src/hildon-app-menu-private.h
5130 * src/hildon-app-menu.c
5131 (hildon_app_menu_append, hildon_app_menu_add_filter)
5132 (button_visibility_changed, hildon_app_menu_apply_style)
5133 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
5134 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
5135 layout everytime a button (item or filter) is shown or hidden.
5137 * src/hildon-stackable-window.c
5138 (hildon_stackable_window_set_main_menu): Destroy the old menu when
5141 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
5143 * src/hildon-touch-selector.c:
5144 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
5145 that the treeview inside the touch selector is in fremantle hildon mode
5146 * examples/hildon-date-button-example.c
5147 * examples/hildon-picker-button-multicolumn-example.c
5148 * examples/hildon-touch-selector-entry-example.c
5149 * examples/hildon-touch-selector-example.c
5150 * examples/hildon-time-button-example.c
5151 * examples/hildon-picker-button-example.c:
5152 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
5154 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
5156 * examples/hildon-text-view-example.c: (main): Remove the
5157 gtkrc bits, now handled by the theme.
5159 2008-09-22 Alberto Garcia <agarcia@igalia.com>
5161 * src/hildon-picker-button.c (hildon_picker_button_set_active):
5164 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5166 * po/Makefile.am: Install properly the mo files.
5167 * po/en_GB.po: Update translation, to ease testing purposes.
5169 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5171 * examples/hildon-picker-button-example.c: (main): Select an item
5172 in the selector before setting it to the button.
5174 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5176 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
5177 Update button's value if the selector has an item active.
5179 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
5180 'value' with the selector)
5182 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5184 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
5185 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
5186 (hildon_picker_button_class_init): Plug the finalize method.
5187 (hildon_picker_button_set_selector): If there's a previously set
5188 selector, unref'it before setting a new one.
5190 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
5191 HildonTouchSelector)
5193 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
5195 * src/hildon-touch-selector-entry.c:
5196 (hildon_touch_selector_entry_changed): Check if there is no text
5197 selected before setting the entry text.
5200 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5202 * src/hildon-touch-selector.h
5203 * src/hildon-touch-selector.c
5204 (hildon_touch_selector_get_active)
5205 (hildon_touch_selector_set_active): New methods to set/get the
5206 index of the selected item.
5208 * src/hildon-picker-button.h
5209 * src/hildon-picker-button.c
5210 (hildon_picker_button_get_active)
5211 (hildon_picker_button_set_active): New methods to set/get the
5212 index of the selected item.
5214 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5216 * configure.ac: post-release version bump.
5218 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5222 * configure.ac: Pre-release version bump.
5223 * debian/changelog: Updates.
5224 * debian/control: Add myself as maintainer and depend on l10n
5227 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5229 * src/hildon-window.c
5230 (hildon_window_set_main_menu)
5231 * src/hildon-stackable-window.c
5232 (hildon_stackable_window_set_main_menu):
5233 Updated documentation.
5235 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5237 * src/hildon-date-selector.c (hildon_date_selector_finalize):
5238 Don't free selector->priv manually.
5241 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5244 (hildon_gtk_window_set_progress_indicator):
5245 * src/hildon-gtk.h: Added the new API
5246 hildon_gtk_window_set_progress_indicator, it changes the state of
5247 the window progress hint.
5249 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5251 * src/hildon-button.c
5252 * src/hildon-stackable-window.c: Minor documentation updates.
5254 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5256 * src/hildon-stackable-window.c: Updated documentation.
5258 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
5260 * src/hildon-defines.h: Update margins definitions
5261 to the Fremantle sizes.
5264 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5266 * src/hildon-touch-selector.c,
5267 (_hildon_touch_selector_set_model): Cleaning the code after
5268 review, removed g_print and #if 0 from the code.
5270 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5272 * src/hildon-edit-toolbar.c: Update documentation.
5274 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5276 * src/hildon-check-button.h
5277 * src/hildon-check-button.c
5278 (hildon_check_button_set_label, hildon_check_button_get_label)
5279 * examples/hildon-check-button-example.c
5280 (button_clicked_cb):
5281 Removed deprecated methods.
5283 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5285 * src/hildon-text-view.c:
5286 Add sample code to the documentation.
5288 * src/hildon-entry.h
5289 * src/hildon-text-view.h:
5290 Minor cosmetic changes.
5292 * src/hildon-entry.c:
5293 Add sample code to the documentation.
5294 (hildon_entry_init, hildon_entry_refresh_contents):
5295 Don't allow NULL values in the placeholder.
5297 2008-09-10 Alberto Garcia <agarcia@igalia.com>
5299 * doc/hildon-docs.sgml
5301 * examples/Makefile.am
5302 * examples/hildon-text-view-example.c
5304 * src/hildon-text-view.c
5305 * src/hildon-text-view.h
5307 New HildonTextView widget, with example.
5309 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5311 * po/POTFILES.in: Add missing files with translatable strings.
5312 Partially fixes NB#88287.
5314 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5316 * examples/hildon-pannable-area-example-2.c: (main): No need to
5317 set the cellrenderer height inside hildon touch lists, the theme does
5320 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5322 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
5323 they are integrated in the theme.
5325 2008-09-09 Alberto Garcia <agarcia@igalia.com>
5327 * examples/hildon-entry-example.c: Update the example adding
5328 widgets to modify the text and the placeholder of the HildonEntry.
5330 * src/hildon-entry.c: Show the placeholder everytime the widget
5331 is empty and loses the focus.
5333 2008-09-09 Alejandro G. Castro <alex@igalia.com>
5335 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
5337 * src/hildon-pannable-area.c,
5338 (hildon_pannable_area_size_request): Fixed bug in height
5339 requisition, avoid increasing size and add border twice.
5341 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5343 * configure.ac: postrelease version bump.
5345 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5349 * configure.ac: Prerelease version bump.
5350 * debian/changelog: update.
5351 * debian/rules: make -dbg package contain useful debugging symbols.
5353 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5355 * src/hildon-dialog.h
5356 * src/hildon-dialog.c
5357 (hildon_dialog_add_button, hildon_dialog_add_buttons):
5358 New methods to add buttons with finger size.
5359 (hildon_dialog_new_with_buttons):
5360 Create buttons with finger size.
5362 * examples/hildon-dialog-example.c (main): Use HildonDialog
5363 methods to add buttons.
5365 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5367 * src/hildon-entry.c: Updated HildonButton documentation.
5369 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5371 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
5372 button value label with (FALSE, FALSE) to prevent NB#88126 from
5375 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5377 * examples/hildon-pannable-area-example.c,
5378 (main): Removed examples panning a vbox inside a pannable
5379 area. Check bug NB#87965
5381 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5383 Patch contributed by Kris Rietveld (kris@imendio.com)
5385 * src/hildon-pannable-area.c,
5386 (hildon_pannable_area_get_topmost): replaced the get_geometry with
5387 get_size and get_position, this saves an X server roundtrip.
5389 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5391 * doc/hildon-docs.sgml
5393 * examples/Makefile.am
5394 * examples/hildon-entry-example.c
5396 * src/hildon-entry.c
5397 * src/hildon-entry.h
5399 New HildonEntry widget, with example.
5401 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5403 * src/hildon-button.c (hildon_button_construct_child): Pack the
5404 image with expand == fill == FALSE. This is a workaround for a bug
5407 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
5409 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
5410 labels for the text column, to make it more look more dynamic.
5412 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5414 * src/hildon-time-selector.c
5415 Define gettext auxiliar macro N_
5416 (_create_minutes_model)
5417 (_create_hours_model)
5418 (_create_ampm_model): use of strftime in order to fill the model
5419 * src/hildon-date-selector.c
5420 (hildon_date_selector_finalize):
5421 (_locales_init): remove the logic related to get the name of the months
5422 using nl_langinfo, as it is not required anymore
5424 (_create_year_model)
5425 (_create_month_model)
5426 (_update_day_model): use of strftime in order to fill the model properly
5429 2008-09-04 Alberto Garcia <agarcia@igalia.com>
5431 * src/hildon-button.h
5432 * src/hildon-button.c (hildon_button_get_image): New method to
5435 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
5437 * src/hildon-touch-selector.c:
5438 (hildon_touch_selector_remove_column): Remove from the correct parent
5439 and also remove the list element and free it.
5442 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5444 * src/hildon-time-selector.c
5445 (_create_hours_model): change the range on 12h ampm format in order to use
5446 a 12-11 range instead of previous 01-12 range
5447 (hildon_time_selector_set_time): change the way to select the current time
5448 on 12h ampm format, due the change on the range
5449 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
5452 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
5454 * src/hildon-touch-selector.c
5455 (hildon_date_touch_selector_get_selected): fix the selection mode check,
5456 in order to allow use this function on multiple row selection mode if
5457 the column is different that the first one
5460 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
5462 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
5463 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
5465 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5467 * src/hildon-date-selector.h: clean some comments, now on the .c
5468 * src/hildon-date-selector.c
5469 (hildon_date_selector_select_month): first implementation
5470 (hildon_date_selector_select_day): added documentation, reimplemented
5471 using hildon_date_selector_select_current_date to avoid repeat code
5474 2008-09-02 Alejandro G. Castro <alex@igalia.com>
5476 Reviewed interaction logic based on device experiences, refactored
5479 * src/hildon-pannable-area.c,
5480 (hildon_pannable_area_class_init): Updated default vmax speed.
5481 (hildon_pannable_area_calculate_velocity): Added this function, it
5482 avoids duplicate valocity calculation. Adjusted calculation to
5483 avoid problems with zero dist events.
5485 (hildon_pannable_area_motion_notify_cb): Now we use the
5486 calculate_velocity function.
5488 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5490 * src/hildon-date-selector.c
5491 (hildon_date_selector_select_current_date): fix the day range check
5492 as it failed using the last day of the current month
5495 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5497 * src/hildon-touch-selector.c
5498 (hildon_touch_selector_get_num_columns): added a parameter validation
5501 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5503 * examples/Makefile.am
5504 * examples/hildon-edit-toolbar-example.c: Example of the
5505 HildonEditToolbar widget.
5507 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5509 * configure.ac: postrelease version bump.
5511 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5515 * configure.ac: prerelease version bump.
5516 * debian/changelog: update.
5518 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5520 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
5521 renderer to display stock icons in the touch list. Also, set the sizes
5522 to the recommended in the style guide.
5524 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5525 * src/hildon-touch-selector.h
5526 (hildon_touch_selector_set_active_iter): renamed, now is
5527 hildon_touch_selector_select_iter
5528 (hildon_touch_selector_get_active_iter): renamed, now is
5529 hildon_touch_selector_get_selected
5530 (hildon_touch_selector_unselect_iter): added
5531 * src/hildon-touch-selector.c
5532 Update after API modification (methods renamed)
5533 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
5534 order to avoid problems selecting multiple elements on the column
5535 (hildon_touch_selector_unselect_iter): added the implementation
5536 * src/hildon-time-selector.c
5537 * src/hildon-date-selector.c
5538 * src/hildon-touch-selector-entry.c
5539 Update methods calls after hildon-touch-selector.h API modification (methods
5542 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5544 * src/hildon-stackable-window.c
5545 (hildon_stackable_window_finalize): Call the parent class's finalize.
5547 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5549 * examples/hildon-touch-selector-example.c: (create_selector): Use
5550 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
5553 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5555 * examples/hildon-touch-selector-example.c: (create_selector): Do not
5556 set a cell background color, to respect theming.
5558 2008-08-28 Alberto Garcia <agarcia@igalia.com>
5560 * doc/hildon-docs.sgml
5563 * src/hildon-edit-toolbar.c
5564 * src/hildon-edit-toolbar.h
5565 * src/hildon.h: New HildonEditToolbar widget.
5567 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
5569 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
5572 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5573 * src/hildon-touch-selector.c
5574 (_create_new_column): use g_object_set instead of two g_object_set_property
5576 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5577 * src/hildon-touch-selector.c
5578 (_create_new_column): use of hildon_gtk_tree_view_new to create
5579 the treeview, instead of use directly g_object_new
5580 (_create_new_column): update the property name "vindicator-mode" for the
5581 new one "vscrollbar-policy"
5582 * examples/hildon-date-button-example.c
5583 * examples/hildon-picker-button-multicolumn-example.c
5584 * examples/hildon-touch-selector-entry-example.c
5585 * examples/hildon-touch-selector-example.c
5586 * examples/hildon-time-button-example.c
5587 * examples/hildon-picker-button-example.c
5588 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
5589 to all the treeviews inside a pannable area.
5591 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5593 * src/hildon-button.h
5594 * src/hildon-button.c (hildon_button_init)
5595 (hildon_button_set_arrangement, hildon_button_set_alignment)
5596 (hildon_button_set_title_alignment)
5597 (hildon_button_set_value_alignment)
5598 (hildon_button_set_image_alignment)
5599 (hildon_button_construct_child): New methods to set the alignment
5600 of the individual components of the button (title, value,
5601 image). Also, new method to alter the xscale and yscale properties
5602 of the GtkAlignment inside the button, so more complex layouts can
5605 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5607 * src/hildon-button.c (hildon_button_style_set)
5608 (hildon_button_class_init, hildon_button_set_arrangement)
5609 (hildon_button_construct_child): Apply style properties
5610 correctly. Use the 'image-spacing' style property too.
5612 2008-08-26 Alberto Garcia <agarcia@igalia.com>
5614 * src/hildon-app-menu.c (hildon_app_menu_style_set)
5615 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
5618 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5620 * src/hildon-pannable-area.c,
5621 (hildon_pannable_area_size_request): Fixed problem with
5622 pannable-area size_request.
5624 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5626 Added management for the grab-focus to a child widget, like a
5627 range, we need to fade out the scrollbar when releasing.
5629 * src/hildon-pannable-area.c,
5630 (hildon_pannable_area_init): Connected the grab-focus signal to
5632 (hildon_pannable_area_grab_notify): Added this function in order
5633 to manage the situation when the grab-focus ends. We have to
5634 fade-out the scrollbar.
5636 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5638 * src/hildon-app-menu.c: Minor documentation update.
5640 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5642 * src/hildon-app-menu.c
5643 * examples/hildon-app-menu-example.c (create_menu): Update
5644 examples and documentation to explain how to connect callbacks.
5646 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
5648 * examples/hildon-button-example.c
5649 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
5650 hildon_stackable_window_new instead of gtk_window_new
5652 2008-08-22 Alejandro G. Castro <alex@igalia.com>
5654 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
5655 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
5656 (hildon_pannable_area_set_property),
5657 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
5658 (hildon_pannable_area_unrealize),
5659 (hildon_pannable_area_size_request),
5660 (hildon_pannable_area_size_allocate),
5661 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
5662 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
5663 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
5664 (hildon_pannable_area_initial_effect),
5665 (hildon_pannable_area_redraw),
5666 (hildon_pannable_area_scroll_indicator_fade),
5667 (hildon_pannable_area_expose_event),
5668 (hildon_pannable_area_get_topmost), (synth_crossing),
5669 (hildon_pannable_area_button_press_cb),
5670 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
5671 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
5672 (hildon_pannable_area_motion_notify_cb),
5673 (hildon_pannable_area_button_release_cb),
5674 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
5675 (hildon_pannable_area_remove),
5676 (hildon_pannable_calculate_vel_factor): Widget refactorization,
5677 chage the code layout to a more GtkWidget like. Review the use of
5680 2008-08-21 Alejandro G. Castro <alex@igalia.com>
5682 * examples/hildon-pannable-area-example-4.c,
5683 (main): Modified the name of the hindicator_mode to
5686 * src/hildon-pannable-area.c,
5687 (hildon_pannable_area_class_init),
5688 (hildon_pannable_area_motion_notify_cb),
5689 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
5690 we have reduced the amount of signals and managed reviewed its
5691 rationale. Changed the default decelerate value.
5693 (hildon_pannable_area_add),
5694 (hildon_pannable_area_redraw): Refactored functions.
5696 (hildon_pannable_area_init),
5697 (hildon_pannable_area_get_property),
5698 (hildon_pannable_area_set_property):
5699 (hildon_pannable_draw_vscroll),
5700 (hildon_pannable_draw_hscroll),
5701 (hildon_pannable_area_initial_effect),
5702 (hildon_pannable_area_expose_event),
5703 (hildon_pannable_area_scroll),
5704 (hildon_pannable_area_button_press_cb),
5705 (hildon_pannable_area_realize): Replaced the names hindicator_mode
5706 and vindicator_mode with hscrollbar_policy and
5707 vscrollbar_policy. Replaced hscroll and vscroll with
5708 hscroll_visible and vscroll_visible.
5710 (hildon_pannable_area_refresh): Refactor the function, remove
5711 variables and check the calls to this function, added resize
5712 conditions in case the children change their layout.
5714 (hildon_pannable_area_size_request): Added more detailed
5715 size_request calculation.
5718 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
5720 * src/hildon-color-chooser.c
5721 (init_borders): use the correct gtk_border_free instead of g_free, to
5722 avoid a crash when this widget is used (ie: the three color selection
5725 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5727 * src/hildon-check-button.c,
5728 (hildon_check_button_set_active): Fixed problem when setting the
5729 active value, the widget was not redrawn.
5731 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5733 * src/hildon-pannable-area.c,
5734 (hildon_pannable_area_refresh),
5735 (hildon_pannable_area_scroll),
5736 (hildon_pannable_area_motion_notify_cb): Small code style change.
5738 (hildon_pannable_area_class_init): Default initial_hint set to
5739 FALSE, it is not in the specs.
5741 (hildon_pannable_area_initial_effect),
5742 (hildon_pannable_area_expose_event),
5743 (hildon_pannable_area_map),
5744 (hildon_pannable_area_init): Moved the launching point of the
5745 initial effect, it was in map but the sizes where not correct in
5746 that method so we do not know if we have the reproduce it. Now it
5747 is placed in the expose_event method and uses a variable to
5748 reproduce it just once.
5750 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5752 * src/hildon-pannable-area.c,
5753 (hildon_pannable_draw_vscroll),
5754 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
5755 position allowed for the scrollbars.
5757 (hildon_pannable_area_size_allocate): Small style change.
5759 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5761 * src/hildon-pannable-area.c,
5762 (hildon_pannable_area_scroll_indicator_fade),
5763 (hildon_pannable_area_button_press_cb),
5764 (hildon_pannable_area_button_release_cb),
5765 (hildon_pannable_area_scroll_cb),
5766 (hildon_pannable_area_expose_event),
5767 (hildon_pannable_area_init): Added the define parameter
5768 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
5769 and refactor the fade variable.
5771 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5773 * src/hildon-pannable-area.c,
5774 (hildon_pannable_area_redraw),
5775 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
5776 lines, we were reimplemeting the redraw code.
5778 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5780 * src/hildon-pannable-area.c,
5781 (hildon_pannable_area_scroll_cb),
5782 (hildon_pannable_area_realize),
5783 (hildon_pannable_area_class_init): Added scroll_event management
5784 for pannable area, now we can scroll the usual desktop method.
5786 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
5787 initialization of the parameters should depend on idle_id.
5789 (hildon_pannable_area_init),
5790 (hildon_pannable_area_map): Small code style modifications
5792 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5794 * src/hildon-pannable-area.c
5795 (hildon_pannable_area_button_press_cb),
5796 (hildon_pannable_area_motion_notify_cb),
5797 (hildon_pannable_area_button_release_cb),
5798 (hildon_pannable_area_size_allocate),
5799 (hildon_pannable_area_scroll_to): Improved the timeouts
5800 management, we avoid creating them each time.
5802 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5804 * src/hildon-pannable-area.c:
5805 (hildon_pannable_area_refresh),
5806 (hildon_pannable_area_motion_notify_cb),
5807 (hildon_pannable_area_class_init):
5808 * src/hildon-pannable-area.h:
5809 * src/hildon-touch-selector.c
5810 (_create_new_column):
5811 * examples/hildon-pannable-area-example-4.c:
5812 (horizontal_movement),
5813 (vertical_movement),
5815 Replaced the names of enums in the HildonPannableArea:
5816 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
5817 HILDON_MOVEMENT_MODE_*
5818 - HILDON_PANNABLE_AREA_MOV_* ->
5820 - Removed HildonPannableAreaIndicatorMode, now we
5823 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5825 * examples/hildon-pannable-area-touch-grid-example.c
5826 * examples/hildon-pannable-area-touch-list-example.c: Fix
5827 compilation warnings.
5829 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5831 * src/hildon-gtk.c (hildon_gtk_button_new)
5832 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
5833 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
5834 images overriding the value of the "gtk-button-images" setting.
5836 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5838 * src/hildon-check-button.c (hildon_check_button_new):
5839 Instead of using a custom container, display the label and the
5840 checkbox using the standard GtkButton API.
5842 * examples/hildon-check-button-example.c (main): Don't use
5843 hildon_check_button_set_label() anymore
5845 * src/hildon-check-button.h
5846 * src/hildon-check-button.c
5847 (hildon_check_button_set_label, hildon_check_button_get_label):
5848 Set as deprecated, now we're using gtk_button_{get,set}_label()
5850 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5852 * src/hildon-pannable-area.c,
5853 (hildon_pannable_area_get_topmost): Fixed bug with click in the
5854 GtkTreeview first line we detected it after the inclusion of the
5855 GtkWindowImpl in gtk+. We now check if the window is visible, not
5856 just if the pointer is over the window.
5857 (hildon_pannable_axis_scroll),
5858 (hildon_pannable_area_expose_event): Small style changes.
5860 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5862 * src/hildon-button.c: Update documentation.
5864 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5866 * examples/hildon-button-example.c: Add a switch to show images in
5869 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5871 * doc/hildon-docs.sgml: Some docs reorganization.
5873 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5875 * examples/hildon-pannable-area-touch-list-example.c
5877 * examples/hildon-pannable-area-touch-grid-example.c
5878 (create_icon_view): Use gtk_{tree,icon}_view_new() and
5879 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
5880 Fix memory leak when setting the tree model.
5882 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5886 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5888 * doc/hildon.types: Remove duplicated hildon_window_get_type
5889 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
5890 documentation comment.
5892 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5894 * doc/Makefile.am: Complete list of private headers.
5896 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5898 * doc/hildon-docs.sgml
5899 * src/hildon-app-menu.c
5900 * src/hildon-bread-crumb.c
5901 * src/hildon-button.c
5903 * src/hildon-program.c
5904 * src/hildon-stackable-window.c
5905 * src/hildon-window.c: Lots of documentation updates.
5907 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5909 * debian/control: Depend on Gtk 2:2.12.9-0osso3
5911 * configure.ac: Require Gtk+ 2.12.9 at least
5913 2008-08-12 Alejandro G. Castro <alex@igalia.com>
5915 * src/hildon-pannable-area.c
5916 (hildon_pannable_area_scroll_indicator_fade),
5917 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
5918 to protect the return of this timeout callbacks, avoiding deadlocks.
5920 2008-08-12 Christian Dywan <christian@imendio.com>
5923 * src/hildon-*.h: Ensure a consistent include order,
5924 include <gtk/gtk.h> instead of particular files and
5925 only include the topmost header in the gtk stack. See NB #39857
5927 2008-08-12 Christian Dywan <christian@imendio.com>
5929 * src/hildon-picker-dialog.c
5930 * src/hildon-touch-selector.c: Fix warnings about unused and
5931 uninitialized variables.
5933 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5935 * examples/Makefile.am
5936 * examples/hildon-check-button-example.c: Example of the hildon
5939 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5941 * src/hildon-window.h
5942 * src/hildon-window.c (hildon_window_class_init)
5943 (hildon_window_unset_program): Don't make
5944 hildon_window_unset_program a virtual function anymore.
5946 * src/hildon-stackable-window.c: Update documentation
5948 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5951 * doc/hildon-docs.sgml
5952 * doc/visual_index.xml
5953 * src/hildon-defines.c
5955 * src/hildon-helper.c
5956 * src/hildon-range-editor.c: Lots of documentation fixes.
5958 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5960 * examples/hildon-picker-button-multicolumn-example.c
5961 (create_touch_selector): Fix compilation warning.
5963 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5965 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
5966 (hildon_pannable_area_button_release_cb)
5967 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
5969 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5971 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
5974 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5976 * src/hildon-bread-crumb-trail.h
5977 * src/hildon-date-editor.c
5978 * src/hildon-date-selector.c
5979 * src/hildon-pannable-area.c
5980 * src/hildon-picker-dialog.c
5981 * src/hildon-time-selector.c
5982 * src/hildon-touch-selector-entry.c
5983 * src/hildon-touch-selector.c
5984 * src/hildon-touch-selector.h: Misc documentation fixes
5986 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5988 * examples/hildon-date-editor-example.c (main): Updated date
5991 * examples/hildon-note-example.c (on_confirmation_clicked):
5992 Updated confirmation note example.
5994 * src/hildon-date-editor.c
5995 * src/hildon-note.c: Updated sample programs in documentation.
5998 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6000 * src/hildon-date-button.h:
6001 * src/hildon-picker-button.h:
6002 * src/hildon-time-button.c:
6003 * src/hildon-time-button.h:
6005 Some declarations changes to allow gtk-doc to document the widgets
6008 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6010 * src/hildon-date-button.c: Document the widget.
6011 * src/hildon-time-button.c: Document the widget.
6013 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6015 * src/hildon-picker-button.c: Document the widget.
6016 * src/hildon-touch-selector-entry.c: Document the widget.
6018 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6020 * doc/hildon-docs.sgml
6023 * src/hildon-check-button.h
6024 * src/hildon-check-button.c: New functions to create the Hildon
6028 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
6030 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6032 * src/hildon-button.h
6033 * src/hildon-button.c
6034 (hildon_button_add_title_size_group)
6035 (hildon_button_add_value_size_group)
6036 (hildon_button_add_image_size_group)
6037 (hildon_button_add_size_groups): New functions to set size groups
6038 for the button labels and image.
6039 (hildon_button_new_full): Removed
6041 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
6043 * src/hildon-time-selector.c
6044 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
6045 in order to avoid a crash if gconf is not available
6047 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6049 * src/hildon-button.c (hildon_button_set_arrangement)
6050 (hildon_button_construct_child): Don't construct the button child
6051 before setting the arrangement.
6053 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6055 * src/hildon-program-private.h
6056 * src/hildon-program.c
6057 * src/hildon-program.h
6058 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
6059 (hildon_program_peek_window_stack)
6060 (hildon_program_pop_window_stack)
6061 (hildon_program_go_to_root_window): HildonProgram now has a
6062 separate list for stackable windows. Functions are provided to
6063 manage that list with a stack-like API.
6065 * src/hildon-stackable-window.c: Stackable window management is
6066 now much simpler with the new HildonProgram API. Windows no
6067 longer need to be manually added to the program, they're
6068 automatically pushed to the top of the stack when shown.
6070 * examples/hildon-stackable-window-example.c: Updated example to
6071 reflect the API changes.
6073 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6075 * src/hildon-touch-selector.c: Comment out unimplemented
6076 hildon_touch_selector_insert_column() to avoid a compile warning.
6078 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6080 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6081 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
6082 (hildon_touch_selector_set_column_selection_mode),
6083 (_hildon_touch_selector_set_model),
6084 (hildon_touch_selector_set_model):
6086 Complete review of HildonTouchSelector documentation.
6088 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6090 * doc/hildon-docs.sgml
6094 * src/hildon-gtk.c: Convenience functions for standard Gtk
6095 widgets, used to easily perform frequent operations.
6097 * src/hildon-button-helpers.h
6098 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
6100 * src/hildon-helper.h
6101 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
6102 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
6104 * src/hildon-button.h
6105 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
6107 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6109 * src/hildon-button.c (hildon_button_init)
6110 (hildon_button_set_arrangement, hildon_button_construct_child):
6111 Pack the image and the labels inside the same GtkAlignment so
6112 gtk_button_set_alignment() can be used
6114 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6116 * src/hildon-button.h
6117 * src/hildon-button.c
6118 (hildon_button_init, hildon_button_set_image)
6119 (hildon_button_set_image_position)
6120 (hildon_button_construct_child): New functions to add an image to
6123 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6125 * src/hildon-date-button.c
6126 * src/hildon-picker-button.c
6127 * src/hildon-time-button.c
6128 * src/hildon-button.c:
6129 (hildon_button_class_init): "size-flags" renamed to "size"
6130 (hildon_button_set_title): Hide the title label if set to NULL.
6132 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6134 HildonButtonFlags split into HildonButtonArrangement (to set the
6135 button layout) and HildonSizeType (which can be used for any
6138 * src/hildon-button.h
6139 * src/hildon-button.c
6140 (hildon_button_class_init)
6141 (hildon_button_set_arrangement)
6142 (hildon_button_set_property): New "size-flags"
6143 property. "arrangement-flags" renamed to "arrangement".
6144 (hildon_button_new, hildon_button_new_with_text)
6145 (hildon_button_new_full): Constructors updated to reflect type changes.
6147 * src/hildon-helper.h
6148 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
6149 to set the size of a widget.
6153 * src/hildon-button-helpers.c
6154 * src/hildon-button-helpers.h: New hildon-button-helpers module.
6156 * src/hildon-date-button.c
6157 * src/hildon-date-button.h
6158 * src/hildon-picker-button.c
6159 * src/hildon-picker-button.h
6160 * src/hildon-time-button.c
6161 * src/hildon-time-button.h: Updated widgets to reflect
6162 HildonButton API changes.
6164 * examples/hildon-button-example.c
6165 * examples/hildon-date-button-example.c
6166 * examples/hildon-picker-button-example.c
6167 * examples/hildon-picker-button-multicolumn-example.c
6168 * examples/hildon-time-button-example.c
6169 * examples/hildon-touch-selector-entry-example.c
6170 * examples/hildon-touch-selector-example.c: Updated examples to
6171 reflect HildonButton API changes.
6173 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6175 * doc/hildon-docs.sgml:
6177 * examples/Makefile.am:
6178 * examples/hildon-touch-selector-entry-example.c:
6180 * src/hildon-touch-selector-entry.c:
6181 * src/hildon-touch-selector-entry.h:
6184 Moved HildonTouchSelectorEntry from sandbox. Added its
6185 documentation and examples.
6187 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6189 * src/hildon-touch-selector.h:
6190 * examples/hildon-picker-button-multicolumn-example.c:
6191 (hildon_touch_selector_append_text_column): Add a gboolean
6192 parameter to determine if text must be centered in the column.
6194 * src/hildon-date-selector.c: (hildon_date_selector_init):
6195 * src/hildon-time-selector.c: (hildon_time_selector_init):
6196 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
6197 (create_touch_selector): Update widgets and example to reflect
6200 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6202 * src/hildon-touch-selector.c:
6203 (hildon_touch_selector_set_active_iter): Set also the cursor in
6206 2008-08-06 Alberto Garcia <agarcia@igalia.com>
6208 * doc/hildon-docs.sgml
6211 * src/hildon-toggle-button.c
6212 * src/hildon-toggle-button.h
6213 * src/hildon.h: Removed HildonToggleButton widget, a derived
6214 class is not necessary for this.
6216 2008-08-06 Alejandro G. Castro <alex@igalia.com>
6218 * src/hildon-pannable-area.c,
6219 (hildon_pannable_area_realize),
6220 (hildon_pannable_area_size_allocate): Code refactoring, add tests
6223 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
6225 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
6226 "done" button the default widget for the dialog.
6228 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6230 * src/hildon-touch-selector.c:
6231 (hildon_touch_selector_class_init),
6232 (hildon_touch_selector_get_property),
6233 (_hildon_touch_selector_set_model),
6234 (_hildon_touch_selector_has_multiple_selection),
6235 (hildon_touch_selector_has_multiple_selection):
6236 Add a "has-multiple-selection" property with a virtual
6237 has_multiple_selection() method to allow derived classes to
6238 override the default value for it. See the method and property
6239 documentation for details.
6241 * src/hildon-touch-selector.h: Add the new API.
6243 * src/hildon-picker-dialog.c: (requires_done_button): Call
6244 hildon_touch_selector_has_multiple_selection() instead of
6245 determining the need for a button itself.
6247 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6249 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6250 (_hildon_touch_selector_set_model),
6251 (hildon_touch_selector_set_model): Move working code to
6252 _hildon_touch_selector_set_mode(). Call the class method instead.
6254 * src/hildon-touch-selector.h: Add (*set_model) to
6255 HildonTouchSelectorClass.
6257 Make hildon_touch_selector_set_model() a virtual method, so that
6258 derived classes can extend it and do fancy stuff with the model.
6260 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6262 * configure.ac: Set back the tarname in AC_INIT to hildon.
6264 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6268 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
6269 instead of libesd (NB#86876). Volume handling is still an open issue.
6271 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
6274 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6276 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
6277 (hildon_touch_selector_append_column): Make the widget a GtkVBox
6278 derived class to ease placement of an entry widget in
6279 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
6280 end, where the selector columns are packed now.
6282 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6284 * src/hildon-picker-button.c: Removed the simple _text() API.
6285 * src/hildon-picker-button.h: Likewise.
6287 * src/hildon-touch-selector.h:
6288 * src/hildon-touch-selector.c:
6289 (hildon_touch_selector_new_text),
6290 (hildon_touch_selector_append_text),
6291 (hildon_touch_selector_prepend_text),
6292 (hildon_touch_selector_insert_text):
6294 Moved the simple _text() API from HildonPickerButton to
6295 HildonTouchPicker, to provide better escalability and not to tie
6296 that API to HildonPickerButton.
6298 * examples/hildon-picker-button-example.c: (main): Example updated.
6300 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6302 * src/hildon-button.c: Updated documentation.
6304 * examples/hildon-button-example.c: Add the posibility to create
6305 the buttons using horizontal layout for title and value.
6307 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6309 * src/hildon-app-menu-private.h
6310 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
6311 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
6312 GtkSizeGroup for the filters, use the 'homogeneous' property of
6315 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6317 * examples/hildon-button-example.c: Updated example.
6319 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
6321 * doc/hildon-docs.sgml:
6324 Update documentation.
6326 * examples/Makefile.am: Update renamed examples.
6328 * examples/hildon-picker-button-multicolumn-example.c:
6329 (create_touch_selector), (main): Update after the rename.
6331 * examples/hildon-touch-picker-example.c: Removed.
6332 * examples/hildon-touch-selector-example.c: (value_changed),
6333 (create_selector), (get_visible_content), (main): Renamed from
6334 hildon-touch-picker-example.c
6336 * src/Makefile.am: Updated renamed files.
6338 * src/hildon-date-button.c: (hildon_date_button_init),
6339 (hildon_date_button_get_date), (hildon_date_button_set_date):
6340 * src/hildon-date-selector.c: (hildon_date_selector_init),
6341 (_custom_print_func), (_update_day_model),
6342 (_manage_selector_change_cb),
6343 (hildon_date_selector_select_current_date),
6344 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
6345 * src/hildon-date-selector.h:
6346 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6347 (hildon_picker_button_set_property),
6348 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6349 (hildon_picker_button_init), (hildon_picker_button_new_text),
6350 (hildon_picker_button_append_text),
6351 (hildon_picker_button_prepend_text),
6352 (hildon_picker_button_insert_text),
6353 (hildon_picker_button_set_selector),
6354 (hildon_picker_button_get_selector):
6355 * src/hildon-picker-button.h:
6356 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
6357 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
6358 (_update_title_on_selector_changed_cb), (requires_done_button),
6359 (_hildon_picker_dialog_set_selector),
6360 (hildon_picker_dialog_set_selector),
6361 (hildon_picker_dialog_get_selector):
6362 * src/hildon-picker-dialog.h:
6363 * src/hildon-time-button.c: (hildon_time_button_init),
6364 (hildon_time_button_get_time), (hildon_time_button_set_time):
6365 * src/hildon-time-selector.c: (hildon_time_selector_init),
6366 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
6367 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
6368 * src/hildon-time-selector.h:
6371 Massive code updates after the rename.
6373 * src/hildon-touch-picker.c: Removed.
6374 * src/hildon-touch-picker.h: Removed.
6376 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6377 (hildon_touch_selector_init), (hildon_touch_selector_map),
6378 (hildon_touch_selector_remove), (_default_print_func),
6379 (_selection_changed_cb), (_create_new_column),
6380 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
6381 (hildon_touch_selector_append_text_column),
6382 (hildon_touch_selector_remove_column),
6383 (hildon_touch_selector_set_column_attributes),
6384 (hildon_touch_selector_insert_column),
6385 (hildon_touch_selector_get_num_columns),
6386 (hildon_touch_selector_get_column_selection_mode),
6387 (hildon_touch_selector_set_column_selection_mode),
6388 (hildon_touch_selector_set_print_func),
6389 (hildon_touch_selector_get_print_func),
6390 (hildon_touch_selector_get_active_iter),
6391 (hildon_touch_selector_set_active_iter),
6392 (hildon_touch_selector_get_selected_rows),
6393 (hildon_touch_selector_get_model),
6394 (hildon_touch_selector_set_model),
6395 (hildon_touch_selector_get_current_text),
6396 (_hildon_touch_selector_center_on_selected_items):
6397 * src/hildon-touch-selector.h: Renamed from
6398 hildon-touch-picker.[ch]
6400 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
6401 references, code examples, and related documentation.
6403 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6405 * doc/hildon-docs.sgml
6408 * src/hildon-toggle-button.c
6409 * src/hildon-toggle-button.h
6410 * src/hildon.h: New HildonToggleButton widget.
6412 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6414 * src/hildon-button.c: Add API documentation.
6415 (hildon_button_set_size_groups): Check input parameters
6417 2008-07-30 Alejandro G. Castro <alex@igalia.com>
6419 * src/hildon-pannable-area.c
6420 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
6421 effect after reaching the movement thredshold. This way we start
6422 using the distance after passing the thredshold.
6424 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6426 * src/hildon-button.c: (hildon_button_set_property): Use the
6427 appropriate g_value_get_flags() method.
6429 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6431 * doc/hildon-docs.sgml:
6434 Add the touch pickers, picker dialogs, and picker button widgets
6435 to the documentation.
6437 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6439 * src/hildon-button.c: (hildon_button_set_property),
6440 (hildon_button_class_init): Make "arrangement-flags" a proper
6441 G_TYPE_FLAGS derived property.
6443 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6445 * examples/Makefile.am: Add below examples.
6446 * examples/hildon-date-button-example.c:
6447 * examples/hildon-picker-button-example.c:
6448 * examples/hildon-picker-button-multicolumn-example.c:
6449 * examples/hildon-time-button-example.c:
6450 * examples/hildon-touch-picker-example.c:
6452 Add examples for the recently added touch pickers,
6453 picker dialogs, and picker button widgets.
6455 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6457 * src/hildon-button.c: Add some API documentation
6459 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6461 * src/hildon-button.h
6462 * src/hildon-button.c
6464 (hildon_button_new_with_text): New constructor to create a button
6465 with no text at all.
6466 (hildon_button_init, hildon_button_set_arrangement)
6467 (hildon_button_set_title, hildon_button_set_value)
6468 (hildon_button_set_text)
6469 (hildon_button_construct_child): Hide the value when it's not used
6470 so the rest of the text is properly aligned.
6471 Allow creating buttons with arbitrary widgets inside (not just
6472 title/value labels).
6474 * examples/hildon-button-example.c (vertical_buttons_window)
6475 (horizontal_buttons_window): Update example to use new API.
6477 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6479 * src/Makefile.am: Added HildonTimeButton.
6480 * src/hildon-time-button.c: Added missing LGPL header.
6481 * src/hildon-time-button.h: Added missing LGPL header.
6482 * src/hildon.h: Add hildon-time-button.h
6484 Copied HildonTimeButton from sandbox to trunk. Future work on this
6485 widget must take place in trunk.
6487 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6489 * src/Makefile.am: Added HildonDateButton.
6490 * src/hildon-date-button.c: Update includes.
6491 * src/hildon.h: Add hildon-date-button.h
6493 Copied HildonDateButton from sandbox to trunk. Future work on this
6494 widget must take place in trunk.
6496 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6498 * src/Makefile.am: Added HildonPickerButton.
6499 * src/hildon-picker-button.h: Update includes.
6500 * src/hildon.h: Add hildon-picker-button.h
6502 Copied HildonPickerButton from sandbox to trunk. Future work on
6503 this widget must take place in trunk.
6505 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6507 * src/Makefile.am: Added HildonPickerDialog.
6508 * src/hildon-picker-dialog.c: Update includes.
6509 * src/hildon.h: Add hildon-picker-dialog.h
6511 Copied HildonPickerDialog from sandbox to trunk. Future work
6512 on this widget must take place in trunk.
6514 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6516 * src/Makefile.am: Added HildonTimeSelector.
6517 * src/hildon.h: Add hildon-time-selector.h
6519 Copied HildonTimeSelector widget from sandbox to trunk. Future
6520 work on this widget must happen in trunk.
6522 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6524 * src/Makefile.am: Added HildonDateSelector.
6525 * src/hildon.h: Add hildon-date-selector.h
6527 Copied HildonDateSelector widget from sandbox to trunk. Future
6528 work on this widget must happen in trunk.
6530 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6532 * src/Makefile.am: Added HildonTouchPicker.
6533 * src/hildon-touch-picker.c: Update includes.
6534 * src/hildon.h: Add hildon-touch-picker.h
6536 Copied HildonTouchPicker widget from sandbox to trunk. Future work
6537 on this widget must happen in trunk.
6539 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6541 * src/hildon-pannable-area.c:
6542 (hildon_pannable_area_motion_notify_cb): Fix a typo.
6544 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6546 * examples/hildon-app-menu-example.c (main): Let the window
6549 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6551 * src/hildon-pannable-area.c
6552 (hildon_pannable_area_class_init): Set the min value of the
6553 overshoot properties to zero, which points out that not
6554 overshooting allowed.
6556 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6558 Modified the procedure to get the widget at a point inside the
6559 pannable area when using the movement type signals. Now the user
6560 has to call a function to get the child, that way we just
6561 calculate the child in case the user really want to use it and not
6564 * src/hildon-marshalers.list: Modified the marshallers, now we do
6565 not have the widget as a parameter.
6567 * src/hildon-pannable-area.c
6568 (hildon_pannable_area_motion_notify_cb),
6569 (hildon_pannable_area_class_init),
6570 (hildon_pannable_get_child_widget_at): Removed the widget
6571 parameter from the signal callback. We have also refactored the
6572 emission of the signals.
6574 * src/hildon-pannable-area.h: Added a new method to the API to
6575 calculate a widget at a point inside the pannable area,
6576 hildon_pannable_get_child_widget_at.
6578 * examples/hildon-pannable-area-example-4.c
6579 (horizontal_movement): Modified the example to use the new API,
6580 added condition to control which widget is under the event. This
6581 way we can avoid scrolling laterally over other widgets.
6583 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6585 * src/hildon-pannable-area.c
6586 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
6587 modes, we stop getting the pointer events due to returning the
6588 callback without properly calling the get pointer again. Fixed
6589 also an error using the hscroll and vscroll.
6591 2008-07-28 Alberto Garcia <agarcia@igalia.com>
6593 * src/hildon-app-menu-private.h
6594 * src/hildon-app-menu.c (hildon_app_menu_button_press)
6595 (hildon_app_menu_button_release, hildon_app_menu_init)
6596 (hildon_app_menu_class_init): Don't hide the menu on button
6597 release if the user didn't press outside first.
6599 * src/hildon-window.h
6600 * src/hildon-window.c (hildon_window_toggle_menu)
6601 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
6602 hildon_window_toggle_menu a virtual function for the stackable
6603 window to override it.
6605 * src/hildon-stackable-window.h
6606 * src/hildon-stackable-window-private.h
6607 * src/hildon-stackable-window.c
6608 (hildon_stackable_window_realize)
6609 (hildon_stackable_window_finalize)
6610 (hildon_stackable_window_class_init)
6611 (hildon_stackable_window_init)
6612 (hildon_stackable_window_set_main_menu): New function to set the
6613 app menu of a HildonStackableWindow.
6615 * examples/hildon-app-menu-example.c: Remove the button to show
6616 the app menu, now it'll be shown when clicking on the title bar
6619 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6621 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
6622 set the widget name if the arrangement flags do not specify
6625 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6627 * src/hildon-button.c: (hildon_button_set_property),
6628 (hildon_button_class_init), (hildon_button_new_full),
6629 (hildon_button_set_arrangement): Added "arrangement-flags"
6632 Make the HildonButtonFlags a construction-only property, to allow
6633 subclasses to set them properly.
6635 2008-07-21 Tim Janik <timj@imendio.com>
6637 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
6638 insertion position after backspace, so additional digits are appended,
6641 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6643 * src/hildon-pannable-area.c,
6644 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
6645 TODO list, it was complete and removed the g_debug and g_print
6648 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6650 Added the movement modes to the hildon-pannable-area, with this
6651 modes the developers can control in which directions the widget
6652 can scroll. They can also connect to signals in order to do
6653 something when that happens, allowing applications scroll. There
6654 is an example uploaded showing how to use it.
6656 * examples/Makefile.am:
6657 * examples/hildon-pannable-area-example-4.c: Added this example of
6658 an application using the modes.
6660 * src/hildon-marshalers.list: Added a new marshaller for the new
6663 * src/hildon-pannable-area.h: Added new enumerations and flags in
6664 order to control the movement modes and the new signals to warn
6665 about the movements in the area.
6667 * src/hildon-pannable-area.c:
6668 (hildon_pannable_axis_scroll),
6669 (hildon_pannable_area_scroll),
6670 (hildon_pannable_area_motion_notify_cb),
6671 (hildon_pannable_area_get_property),
6672 (hildon_pannable_area_set_property),
6673 (hildon_pannable_area_map),
6674 (hildon_pannable_area_class_init),
6675 (hildon_pannable_area_init),
6676 (hildon_pannable_area_jump_to): Added the modes to control the
6677 movement in the widget. We have added properties to control it,
6678 signals to warn about the movements and refactored some code.
6680 2008-07-15 Alejandro G. Castro <alex@igalia.com>
6682 Changes required in order to allow vfast_factor set to zero to
6685 * src/hildon-pannable-area.c:
6686 (hildon_pannable_area_button_press_cb): Changed the condition, it
6687 is required for not allowing click when vfast_factor is zero.
6688 (hildon_pannable_area_timeout): Initialized velocity variables
6689 when we stop moving, it was less than 1 but not zero and we need
6690 to check zero in some situations.
6691 (hildon_pannable_area_class_init): Changed the default value of
6692 the speed factor, now the button_press is just sent in case the
6693 speed is 2 per cent of the max speed.
6694 (hildon_pannable_area_init): Initialization with 0.
6696 2008-07-04 Alejandro G. Castro <alex@igalia.com>
6698 * src/hildon-pannable-area.c,
6699 (hildon_pannable_area_get_topmost): replaced
6700 gdk_window_get_children with gdk_window_peek_children, this way we
6701 do not have to free the list because it is not a copy.
6703 (hildon_pannable_axis_scroll),
6704 (hildon_pannable_area_scroll),
6705 (hildon_pannable_area_timeout),
6706 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
6707 two parameters that were only used inside the
6708 hildon_pannable_area_scroll function.
6710 * examples/hildon-pannable-area-example.c,
6711 (get_sawtooth_label): Fixed small memory leak.
6713 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6715 More checks for the case where the overshoot is bigger than the
6718 * src/hildon-pannable-area.c:
6719 (hildon_pannable_draw_vscroll),
6720 (hildon_pannable_draw_hscroll): with this new calculation we avoid
6721 to draw the slider of the scrollbar under the other scrollbar.
6722 (hildon_pannable_area_expose_event): added new checks to control
6723 the drawing of the overshooting area rectangle, in case it is too
6724 big for the area of the widget.
6725 (hildon_pannable_area_size_allocate): add more checks to avoid
6726 setting a position to the child widget outside the area.
6728 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6730 * src/hildon-pannable-area.c
6731 (hildon_pannable_area_size_allocate): Added conditions to control
6732 when overshooting is bigger than the allocated space for the
6733 children, this avoids negative allocations.
6735 2008-07-02 Alberto Garcia <agarcia@igalia.com>
6737 * doc/hildon-docs.sgml
6739 * examples/Makefile.am
6740 * examples/hildon-button-example.c
6742 * src/hildon-button.c
6743 * src/hildon-button.h
6744 * src/hildon.h: Initial version of the new HildonButton widget,
6747 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
6749 * src/hildon-pannable-area.c:
6750 (hildon_pannable_area_button_press_cb),
6751 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
6752 (hildon_pannable_area_motion_notify_cb),
6753 (hildon_pannable_area_button_release_cb),
6754 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
6755 (hildon_pannable_area_jump_to_child):
6757 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
6759 2008-07-01 Alberto Garcia <agarcia@igalia.com>
6761 * examples/Makefile.am
6762 * examples/hildon-pannable-area-touch-grid-example.c
6763 * examples/hildon-pannable-area-touch-list-example.c: Examples of
6764 the Hildon Touch List and Hildon Touch Grid using the
6765 HildonPannableArea widget.
6767 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6769 * src/hildon-pannable-area.c,
6770 (hildon_pannable_area_button_press_cb),
6771 (hildon_pannable_area_refresh),
6772 (hildon_pannable_area_scroll),
6773 (hildon_pannable_area_motion_notify_cb),
6774 (hildon_pannable_area_button_release_cb),
6775 (hildon_pannable_area_expose_event),
6776 (hildon_pannable_area_add),
6777 (hildon_pannable_area_remove),
6778 (hildon_pannable_area_realize),
6779 (hildon_pannable_area_size_allocate),
6780 (hildon_pannable_area_class_init),
6781 (hildon_pannable_area_init),
6782 (hildon_pannable_area_scroll_to_child),
6783 (hildon_pannable_area_jump_to_child): Fixed the problem of
6784 removing the child from the GtkBin, we have rearranged the widget
6785 hierarchy, now there is no GtkAlignment which was not doing
6786 anything interesting but breaking some of the assumptions of
6787 GtkContainer. Now developers if they want to add a GtkAlignment
6788 they could, but it is not inside the area.
6790 We had to review the whole allocation/expose process, now it is
6791 improved and we save at least three signals which would be saving
6792 some time when rendering the widget. The allocation of the
6793 scrollbars is now made in the allocate method as usual.
6795 We have also added some conditions in order to control when there
6796 is no child of the pannable area. Maybe we will need more work
6799 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6801 * src/hildon-pannable-area.c,
6802 (hildon_pannable_area_dispose): Released the fade-out timeout when
6803 disposing the widget.
6805 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6807 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
6808 zero, we are going to use that property in order to deactivate the
6810 (hildon_pannable_axis_scroll),
6811 (hildon_pannable_area_size_allocate): Added conditions to control
6812 when overshoot_max is zero. Moved the gtk_adjustment_set_value
6813 call, now it is called in all situations and we can remove calls
6814 in the allocate method.
6815 (hildon_pannable_area_map): Control the situation when
6816 overshoot_max is zero, we do not need the timeout.
6817 (hildon_pannable_area_class_init): Added documentation in order to
6818 point out that setting zero to overshoot_max means deactivate
6821 NOTE: removed trailing whitespaces from my previous comments of
6824 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6826 * src/hildon-pannable-area.c
6827 (hildon_pannable_area_get_property),
6828 (hildon_pannable_area_set_property),
6829 (hildon_pannable_area_map),
6830 (hildon_pannable_area_class_init),
6831 (hildon_pannable_area_init): Add a boolean "initial-hint" property
6832 to cause the widget give a hint about its panning abilities upon
6835 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6837 * src/hildon-pannable-area.c: Several documentation improvements.
6839 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6841 * src/hildon-program.c
6842 * src/hildon-stackable-window.c: Update documentation.
6844 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6846 * src/hildon-stackable-window.c (get_previous_window_if_last):
6847 Renamed get_last_window()
6848 (hildon_stackable_window_map, hildon_stackable_window_unmap)
6849 (hildon_stackable_window_unset_program):
6851 (get_previous_window_if_last):
6852 Detect if the window hasn't been added to a HildonProgram.
6854 2008-06-26 Alejandro G. Castro <alex@igalia.com>
6856 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
6858 * src/hildon-pannable-area.c
6859 (hildon_pannable_area_button_press_cb),
6860 (hildon_pannable_axis_scroll),
6861 (hildon_pannable_area_scroll),
6862 (hildon_pannable_area_timeout),
6863 (hildon_pannable_calculate_vel_factor),
6864 (hildon_pannable_area_get_property),
6865 (hildon_pannable_area_set_property),
6866 (hildon_pannable_area_class_init),
6867 (hildon_pannable_area_init),
6868 (hildon_pannable_area_scroll_to),
6869 (hildon_pannable_area_jump_to),
6870 (hildon_pannable_area_scroll_to_child),
6871 (hildon_pannable_area_jump_to_child):
6872 * src/hildon-pannable-area.h: Added the new API functions:
6873 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
6874 hildon_pannable_area_scroll_to_child,
6875 hildon_pannable_area_jump_to_child
6878 * examples/Makefile.am
6879 * examples/hildon-pannable-area-example-2.c
6880 * examples/hildon-pannable-area-example-3.c: Added these two new
6881 examples in order to test and show how the new APIs work.
6883 2008-06-25 Alberto Garcia <agarcia@igalia.com>
6885 * examples/hildon-stackable-window-example.c (new_window):
6886 * src/Makefile.am (noinst_HEADERS):
6887 * src/hildon-program.c (hildon_program_go_to_root_window):
6888 * src/hildon-program.h:
6889 * src/hildon-stackable-window-private.h:
6890 * src/hildon-stackable-window.c:
6891 * src/hildon-stackable-window.h:
6892 Create hildon-stackable-window-private.h
6893 Move hildon_stackable_window_go_to_root_window() to HildonProgram
6895 * examples/hildon-app-menu-example.c (create_menu):
6896 * examples/hildon-hvolumebar-insensitive-example.c (main):
6897 * examples/hildon-hvolumebar-timer-example.c (on_idle):
6898 * examples/hildon-toolbar-seekbar-example.c (main):
6899 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
6900 * src/hildon-banner.c (hildon_banner_set_property):
6901 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
6902 Fix compilation warnings
6904 * src/hildon-window.c:
6907 2008-06-24 Alberto Garcia <agarcia@igalia.com>
6909 * src/hildon-stackable-window.c
6910 (hildon_stackable_window_unset_program):
6911 Calculate correctly whether to show the previous window if the
6912 last one is removed from the stack.
6913 (hildon_stackable_window_go_to_root_window):
6914 Send delete events starting from the topmost window.
6915 Stop if one of the windows is not destroyed.
6917 (hildon_stackable_window_delete_event)
6918 (hildon_stackable_window_class_init):
6919 Ignore the delete event if the window is not the topmost one.
6921 2008-06-24 Alejandro G. Castro <alex@igalia.com>
6923 * src/hildon-pannable-area.c
6924 (hildon_pannable_area_expose_event): Fixed a problem when
6925 selecting the background color of the scrollbars.
6927 2008-06-23 Alberto Garcia <agarcia@igalia.com>
6929 * examples/hildon-stackable-window-example.c
6930 * src/hildon-stackable-window.c
6931 * src/hildon-stackable-window.h
6932 hildon_stackable_window_go_home() renamed to
6933 hildon_stackable_window_go_to_root_window()
6934 Send delete events to windows rather than closing them with
6935 gtk_widget_destroy()
6937 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6939 * src/hildon-pannable-area.c
6940 (hildon_pannable_area_button_release_cb): Fix overshooting in
6943 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6945 * src/hildon-pannable-area.c
6946 (hildon_pannable_area_init): Initially show the scroll indicators.
6947 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
6949 Add initial effect showing the widget is pannable.
6951 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6953 * src/hildon-pannable-area.c
6954 (hildon_pannable_area_class_init)
6955 (hildon_pannable_area_set_property)
6956 (hildon_pannable_area_get_property)
6957 (hildon_pannable_area_button_press_cb):
6958 New 'velocity_fast_factor' property to decide which velocity is
6961 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6963 * src/hildon-pannable-area.c
6964 (hildon_pannable_draw_hscroll)
6965 (hildon_pannable_draw_vscroll):
6966 Use float variables to calculate the size of the scrollbars to
6967 avoid error propagation and resizing during scrolling.
6969 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6971 * src/hildon-pannable-area.c
6972 (hildon_pannable_draw_vscroll)
6973 (hildon_pannable_draw_hscroll):
6974 Define a minimum size for the scroll bars
6976 * src/hildon-stackable-window.c
6977 (hildon_stackable_window_go_home): Fix compilation warning
6978 (get_last_window): Minor optimizations
6979 (hildon_stackable_window_class_init): Fix initialization of
6982 2008-06-18 Alberto Garcia <agarcia@igalia.com>
6984 * src/hildon-stackable-window.c: Fixed typos in doc
6986 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
6988 * src/hildon-pannable-area.c
6989 (hildon_pannable_area_scroll):
6990 Calculate here whether we need to scroll instead of using the booleans
6991 that tell us whether to /draw/ the scrolling bars.
6993 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
6995 * src/hildon-app-menu.h
6997 * src/hildon-app-menu.c
6998 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
6999 multiple filter groups related code and API. Now we support only
7001 * examples/hildon-app-menu-example.c:
7003 Update to reflect API changes.
7005 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
7007 * src/hildon-stackable-window.c
7008 (hildon_stackable_window_class_init):
7009 Add hildon_stackable_window_realize.
7010 (hildon_stackable_window_realize):
7011 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
7012 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
7013 to apply theming and behavior specific to HildonStackableWindow
7016 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7018 * src/hildon-note.c (hildon_note_button_release):
7019 Close information notes also when tapping on them
7021 2008-06-12 Alejandro G. Castro <alex@igalia.com>
7023 Added BOUNCE_STEPS define to control the overshoot effect. Removed
7024 ELASTICITY, refactor and review, fix some issues with drawing
7027 * src/hildon-pannable-area.c:
7028 (hildon_pannable_area_button_press_cb): removed the conditions to
7029 avoid clicks when overshooting. It is not required
7031 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
7032 define. Refatored and reviewed the code, now we do not need to
7033 manage velocity in motion_notify.
7035 (hildon_pannable_area_motion_notify_cb): We have moved the code
7036 that controls the area_scroll to the axis_scroll function and get
7037 rid of duplicated code.
7039 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
7041 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
7043 (hildon_pannable_draw_vscroll),
7044 (hildon_pannable_draw_hscroll): Fixed the problems with the
7045 scrollbar drawing, now we do not use two surfaces, it is easier
7046 and saves resources.
7048 (hildon_pannable_area_get_property): Style modification.
7050 (hildon_pannable_area_class_init): Changed some default values.
7052 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
7054 * src/hildon-stackable-window.c: Fix some typos in the
7057 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7059 * src/hildon-dialog.c:
7060 Change indentation style
7063 (hildon_note_button_release):
7064 Use root coordinates to check if the release event happened
7067 * src/hildon-app-menu.c
7068 (hildon_app_menu_button_release):
7069 Remove unnecessary check
7071 * examples/hildon-app-menu-example.c
7073 Add cast to fix warning
7075 * src/hildon-app-menu.c
7076 (hildon_app_menu_class_init):
7077 New inner-border style property.
7078 Set all default spacings to 16
7079 (hildon_app_menu_init):
7080 Use vertical-spacing to set the space between filter buttons and
7081 regular menu buttons.
7082 Set the default container border using the inner-border value.
7084 * examples/hildon-app-menu-example.c
7086 Don't set the menu border explicitly, now we have the inner-border
7087 style property for that.
7089 2008-06-11 Alberto Garcia <agarcia@igalia.com>
7091 * src/hildon-app-menu.c (hildon_app_menu_init):
7092 Make the window modal
7094 * src/hildon-note.c (hildon_note_map)
7095 * src/hildon-app-menu.c (hildon_app_menu_map):
7096 Destroy the grab window if we're unable to grab the pointer
7098 * src/hildon-app-menu-private.h
7099 * src/hildon-app-menu.c
7100 (hildon_app_menu_init, hildon_app_menu_finalize)
7101 (hildon_app_menu_map, hildon_app_menu_unmap)
7102 (hildon_app_menu_button_release)
7103 (grab_transfer_window_get):
7104 Bring back the grab window
7105 (hildon_app_menu_realize):
7106 Decorate the window, set WM hint for Matchbox
7108 * src/hildon-note.c (hildon_note_realize):
7109 * src/hildon-banner.c (hildon_banner_realize):
7110 Add WM hints for Matchbox
7112 2008-06-10 Alberto Garcia <agarcia@igalia.com>
7114 * src/hildon-app-menu-private.h
7115 * src/hildon-app-menu.c
7116 (hildon_app_menu_init, hildon_app_menu_finalize)
7117 (hildon_app_menu_map, hildon_app_menu_unmap)
7118 (hildon_app_menu_button_release):
7119 Remove the grab window, it's not needed anymore
7121 * src/hildon-program.c
7122 Fixed typo in documentation
7124 * src/hildon-app-menu.h
7125 * src/hildon-app-menu.c
7126 * examples/hildon-app-menu-example.c
7127 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
7129 2008-06-09 Alberto Garcia <agarcia@igalia.com>
7132 Added new transfer_window and close_if_pressed_outside private
7134 (hildon_note_rebuild):
7135 Don't add a cancel button to the information note. It will be
7136 closed when tapping outside
7137 Remove the comment about the OK button in the documentation
7138 (hildon_note_realize):
7139 Set the notification type hint
7140 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
7141 Grab/ungrab pointer and keyboard if the note has to be closed when
7143 (hildon_note_button_release):
7144 Close the note when tapping outside (if applicable)
7146 * src/hildon-app-menu.c
7147 Grab/ungrab pointer and keyboard on map/unmap
7148 (hildon_app_menu_button_release, hildon_app_menu_class_init):
7149 Close the menu on button release, not button press
7151 * src/hildon-banner.c
7152 (hildon_banner_set_property)
7153 (hildon_banner_check_position):
7154 Make the banner use the full width of the screen
7155 (hildon_banner_show_information)
7156 (hildon_banner_show_information_with_markup):
7157 Don't display an icon by default
7159 2008-06-09 Alejandro G. Castro <alex@igalia.com>
7161 Added fading scrollbars and adapted all the overshooting code to
7162 horizontal scrolling. We have also fixed bugs with overshooting
7163 and current fading implementation.
7165 * src/hildon-pannable-area.c
7166 (hildon_pannable_area_scroll_indicator_fade): Time out function
7167 used to change the transparency of the scrollbars.
7169 (hildon_pannable_area_button_press_cb): Added horizontal overshot
7170 control and fixed a problem with fading, we now remove the fade
7171 timeout before adding a new one.
7173 (hildon_pannable_axis_scroll):
7174 (hildon_pannable_area_scroll):
7175 (hildon_pannable_area_timeout): Added this functions so we can use
7176 the scroll code both for vertical and horizontal.
7178 (hildon_pannable_area_motion_notify_cb):
7179 (hildon_pannable_area_button_release_cb): Added the horizontal
7180 scrolling control, fixed a problem with the overshooting timeout.
7182 (rgb_from_gdkcolor): Added this function, it is used in the cairo
7183 painting of the scrolls.
7185 (hildon_pannable_draw_vscroll):
7186 (hildon_pannable_draw_hscroll):
7187 (hildon_pannable_area_expose_event):
7188 Draw both scrollbars and rectangles in the overshooting area.
7190 (hildon_pannable_area_get_property):
7191 (hildon_pannable_area_set_property):
7192 Modified the overshoot property to overshoot_max
7194 (hildon_pannable_area_map):
7195 Replaced the comments symbols.
7197 (hildon_pannable_area_size_allocate):
7198 (hildon_pannable_area_class_init):
7199 (hildon_pannable_area_init): Added horizontal scroll, fading
7200 effect properties, fixed a problem when overshooting in the bottom
7203 * examples/hildon-pannable-area-example.c:
7204 (get_sawtooth_label): Now we use smaller sawtooths, the effect
7205 looks better in the example.
7207 2008-06-03 Alberto Garcia <agarcia@igalia.com>
7209 * src/hildon-window.c
7210 * src/hildon-window.h
7211 (hildon_window_class_init)
7212 (hildon_window_unset_program)
7213 (hildon_window_unset_program_real):
7214 Make unset_program a virtual function
7216 * src/hildon-stackable-window.c
7217 * src/hildon-stackable-window.h
7218 Added hildon_stackable_window_go_home()
7220 * examples/Makefile.am
7221 * examples/hildon-stackable-window-example.c
7222 HildonStackableWindow example
7224 2008-06-03 Alejandro G. Castro <alex@igalia.com>
7226 * hildon-pannable-area.c: Added the overshoot property and removed
7227 the OVERSHOOT define. Fixed an indent style error.
7228 (hildon_pannable_area_motion_notify_cb):
7229 (hildon_pannable_area_get_property):
7230 (hildon_pannable_area_set_property): Add overshoot property.
7232 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
7235 (hildon_pannable_area_class_init): Installed the new property.
7237 * hildon-pannable-area-example.c: Added a sawtooth function, this
7238 way it is easier to check the movement in the pannable.
7239 (get_sawtooth_label): Added this function.
7240 (main): Now we get the labels from the new get_sawtooth_label
7243 2008-05-26 Alberto Garcia <agarcia@igalia.com>
7245 * src/hildon-app-menu.h
7246 * src/hildon-app-menu.c
7247 Renamed API variables for consistency
7249 (hildon_app_menu_popup): Use also the default window size to
7250 decide where to place the menu
7252 (hildon_app_menu_init, hildon_app_menu_class_init): New
7253 external-border style property
7255 2008-05-26 Michael Natterer <mitch@imendio.com>
7257 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
7258 widget_class->tap_and_hold_setup signal slot doesn't exist any
7259 longer, stop overriding it.
7261 (hildon_time_editor_init): g_signal_connect() to the
7262 tap-and-hold-setup signal instead.
7264 (hildon_time_editor_entry_keypress): add cast to fix warning.
7266 2008-05-23 Alberto Garcia <agarcia@igalia.com>
7268 * doc/hildon-docs.sgml
7270 * examples/Makefile.am
7271 * examples/hildon-app-menu-example.c
7273 * src/hildon-app-menu-private.h
7274 * src/hildon-app-menu.c
7275 * src/hildon-app-menu.h
7277 New HildonAppMenu widget
7279 2008-05-21 Alejandro G. Castro <alex@igalia.com>
7281 Rearranged the inheritance of the pannable area, now it inherits
7282 from GtkBin. This will allow us to control the event_window and
7283 the allocation process of the widget, required for some effects.
7285 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
7286 GtkBin structures. * src/hildon-pannable-area.c: Added the
7287 event_window variable.
7288 (hildon_pannable_area_button_press_cb):
7289 (hildon_pannable_area_button_release_cb):
7290 (hildon_pannable_area_motion_notify_cb):
7291 Changed the signature of the method, now we override the event
7292 callback instead of connecting to the signal.
7294 (hildon_pannable_area_realize):
7295 (hildon_pannable_area_unrealize):
7296 (hildon_pannable_area_map):
7297 (hildon_pannable_area_unmap):
7298 (hildon_pannable_area_size_allocate):
7299 Added functions to control the widget construction. We add a
7300 INPUT_ONLY window and we put it over the widgets inside the
7301 container, this event_window handles the events.
7303 (hildon_pannable_area_class_init):
7304 Replaced the signal connections with overrides of the event
7307 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7309 Bouncing effect added when touching the borders, you can change
7310 the elasticity of the border changing the ELASTICITY define.
7312 * src/hildon-pannable-area.c: Added ELASTICITY define.
7313 (hildon_pannable_area_timeout): Added inverse velocity when
7314 touching the border of the child widget, that causes a bounce.
7316 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7318 Improved performance, we now do not go to the X server in order to
7319 get the list of window children. Apparently the effect is the
7320 same, we have to be careful and check if this breaks something in
7323 * src/hildon-pannable-area.c:
7324 (get_ordered_children): Removed this function.
7325 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
7326 the children windows function with gdk_window_get_children.
7328 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7330 * src/hildon-pannable-area.c:
7331 (hildon_pannable_area_dispose): Fixed a crash when closing the
7332 window and kinetics is activated.
7334 2008-05-19 Alberto Garcia <agarcia@igalia.com>
7336 * src/hildon-pannable-area.h
7337 * src/hildon-pannable-area.c
7338 Changed indentation style to meet the one used in Hildon
7340 2008-05-19 Alejandro G. Castro <alex@igalia.com>
7342 Reviewed the interaction of the AUTO mode, now we use the time
7343 attribute of the events and calculate the velocity in the motion,
7344 doing a gimp like calculation. The velocity is calculated in each
7345 motion event using the last velocity and the current one, the
7346 SMOOTH_FACTOR controls the percentage of the new velocity we use.
7348 * src/hildon-pannable-area.c: Replaced the time based algorithm
7350 (hildon_pannable_area_motion_notify_cb): now we do not launch the
7351 timeout for the AUTO mode when we are still moving the cursor. We
7352 added also the velocity calculation in this function.
7353 (hildon_pannable_area_button_release_cb): launch the timeout in
7354 case we are in AUTO mode. There are still some constants here that
7355 come from the old implementation that should be reviewed and
7358 2008-05-15 Alberto Garcia <agarcia@igalia.com>
7360 * doc/hildon-docs.sgml
7363 * src/hildon-stackable-window.c
7364 * src/hildon-stackable-window.h
7366 New HildonStackableWindow widget
7368 * examples/hildon-dialog-example.c
7369 * examples/hildon-pannable-area-example.c
7372 2008-05-14 Alberto Garcia <agarcia@igalia.com>
7374 * src/hildon-dialog.c
7375 (hildon_dialog_new_with_buttons): New constructor.
7377 * examples/hildon-dialog-example.c
7378 (main): Update the example to use the new
7379 hildon_dialog_new_with_buttons().
7381 * examples/hildon-pannable-area-example.c
7382 (main): Update example.
7384 2008-05-13 Alberto Garcia <agarcia@igalia.com>
7386 * doc/hildon-docs.sgml
7388 Added HildonPannableArea to the documentation.
7390 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
7392 * doc/visual_index.xml
7393 Fix reference to HildonLoginDialog in documentation
7395 * doc/hildon-docs.sgml
7397 * examples/Makefile.am
7398 * examples/hildon-dialog-example.c
7400 * src/hildon-dialog.c
7401 * src/hildon-dialog.h
7403 New HildonDialog widget.
7405 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7407 * src/hildon-pannable-area.c
7408 Merge latest changes (r4318, r4342) from libmokoui trunk
7410 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7412 * examples/Makefile.am
7413 * examples/hildon-pannable-area-example.c
7415 * src/hildon-pannable-area.c
7416 * src/hildon-pannable-area.h
7418 New HildonPannableArea widget.
7420 2008-04-15 18:05:19 <timj@imendio.com>
7422 * src/hildon-banner.c: revert the recent change, that introduced
7423 gtk_window_present() calls. this reopens:
7424 Bug 78481 - [freetest] information banners are hidden under browser menu
7425 But resolves another variant of:
7426 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7428 2008-04-15 13:21:13 <timj@imendio.com>
7430 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
7431 recreated its layout, spotted by Kris. this fixes all remaining
7432 artefacts and stability issues with the banner code. in particular:
7433 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7435 2008-04-14 16:52:59 <timj@imendio.com>
7437 * src/hildon-banner.c: guard force_to_wrap_truncated() against
7438 operating on unrealized widgets, fixes:
7439 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7441 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
7443 2008-04-09 Kristian Rietveld <kris@imendio.com>
7445 Fixes: NB#77775: Media Player, Save Now playing list, too long name
7446 makes banner disappear.
7447 Fixes: NB#79182: info banner flickering with certain message lengts.
7449 * src/hildon-banner.c (hildon_banner_constructor),
7450 (hildon_banner_init), (hildon_banner_set_text),
7451 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
7452 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
7453 FALSE, reset size requests of label and banner,
7454 (force_to_wrap_truncated): when the text is too wide, always enforce
7455 the maximum possible width instead of recalculating it from the
7456 layout; enforce the maximum banner height of 3 lines,
7457 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
7458 nicer wrapping and no truncated chars if space gets tight.
7460 * src/hildon-banner-private.h: add has_been_wrapped and
7461 has_been_truncated fields.
7463 2008-04-07 Sven Herzberg <sven@imendio.com>
7465 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
7466 local values in hildon_date_editor_size_allocate
7468 * src/hildon-date-editor.c: moved the real allocation code into the
7471 2008-04-07 Sven Herzberg <sven@imendio.com>
7473 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7474 local values in hildon_date_editor_size_allocate
7476 * src/hildon-date-editor.c: merged the two if() branches together
7478 2008-04-07 Sven Herzberg <sven@imendio.com>
7480 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7481 local values in hildon_date_editor_size_allocate
7483 * src/hildon-date-editor.c: changed the arguments of the if()
7486 2008-04-07 Sven Herzberg <sven@imendio.com>
7488 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7489 local values in hildon_date_editor_size_allocate
7491 * src/hildon-date-editor.c: split the calculation of the allocation
7492 from the real allocation
7494 2008-03-27 Michael Natterer <mitch@imendio.com>
7496 Fixes: NB#81696: The passcode is not overwritten even after
7499 * src/hildon-code-dialog.c
7500 (hildon_code_dialog_button_clicked)
7501 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
7502 because that doesn't overwrite selected text. Instead, emit the
7503 "commit" signal on the entry's im_context so the entry's normal
7504 insert logic is triggered. Set the cursor to the end of the entry
7505 after each insert operation so that we *only* insert in the middle
7506 of the text if something was selected.
7508 2008-03-27 Michael Natterer <mitch@imendio.com>
7510 Enable fixing: NB#79916 and NB#79918: The help topic for Color
7511 selector cannot be opened
7513 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
7514 when the popup color selector is created. Please connect to this
7515 signal in order to set the dialog's help ID.
7517 2008-03-25 Sven Herzberg <sven@imendio.com>
7519 Fixes: MB#1212: Hide info banners (infoprints) on click
7521 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
7522 extracted the close event simulation into an extra function
7523 (hildon_banner_button_press_event): simulate a close event and destroy
7524 the widget if the event wasn't handled
7525 (hildon_banner_class_init): added the button_press_event handler
7526 (hildon_banner_init): added button-press events to the widget
7528 2008-03-25 Sven Herzberg <sven@imendio.com>
7530 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
7531 Patch from: Mohammad Anwari <mdamt@maemo.org>
7533 * src/hildon-banner.c: let the HildonBanners pop up on the left side
7534 instead of the right in RTL mode
7535 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
7536 breadcrumb button list in RTL mode
7537 * src/hildon-caption.c: mirror the appearance of the caption widget in
7539 * src/hildon-date-editor.c: mirror appearance of the date editor in
7541 * src/hildon-time-editor.c: mirror appearance of the time editor in
7543 * src/hildon-window.c: fix the position of the popup in RTL mode
7545 2008-03-25 Sven Herzberg <sven@imendio.com>
7547 Amendment to the fix of NB#22072. Fix compilation.
7549 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
7551 2008-03-19 Sven Herzberg <sven@imendio.com>
7553 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
7556 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
7557 timeout id properly when the timeout will disappear this leaves no
7558 artifacts around in the destroy(); there will only be the timeout
7559 created by hildon_banner_ensure_timeout() and adding a new timeout
7560 will also work if the timeout gets removed because the timeout_handler
7563 2008-03-19 Michael Natterer <mitch@imendio.com>
7565 Fixes: NB#79791: Cannot set focus to Master volume using stylus
7567 * src/hildon-volumebar.c
7568 * src/hildon-vvolumebar.c
7569 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
7570 the widget becomes focussable at all.
7572 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
7573 set the focus to wither the mute button or the volumebar.
7575 Remove own "can-focus" property and instead listen to
7576 notify::can-focus in order to update the widget's state.
7578 Implement GtkWidget::focus() and make sure we can also *leave* the
7579 widget, not only enter it, depending on volumebar orientation and
7580 requested focus direction.
7582 Clean up set_mute() to cooperate nicely with all the above.
7584 2008-03-04 Michael Natterer <mitch@imendio.com>
7586 Fixes: NB#78481: information banners are hidden under browser menu
7588 * src/hildon-banner.c: call gtk_window_present() on the banners so
7589 they are risen if they are already visible.
7591 2008-03-03 Sven Herzberg <sven@imendio.com>
7593 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
7595 * examples/hildon-window-menu-example.c: (main): extended the window
7596 menu example to serve as a testcase for automatically added
7597 accelerator groups, too
7598 * src/hildon-window.c: (hildon_window_add_accel_group),
7599 (hildon_window_set_menu): added patch by Tommi Komulainen
7601 2008-03-03 Sven Herzberg <sven@imendio.com>
7603 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
7605 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
7606 knowledge about the border allocators used within GTK+
7608 2008-02-26 Sven Herzberg <sven@imendio.com>
7610 Fixes: MB#2981: Build with asserts broken
7612 * src/hildon-date-editor.c,
7613 * src/hildon-number-editor.c,
7614 * src/hildon-time-editor.c,
7615 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
7616 the proper GType instance check
7618 2008-02-25 Sven Herzberg <sven@imendio.com>
7620 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
7622 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
7623 * examples/hildon-window-menu-example.c: (main): explicitly show
7625 * src/hildon-window.c:
7626 (hildon_window_set_main_menu): moved most of the code from set_menu()
7627 to this place; skipped the call to gtk_widget_show_all(); also didn't
7628 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
7629 (hildon_window_set_menu): removed most of the code, just keep the
7630 questionable gtk_widget_show_all()
7631 * src/hildon-window.h: added the new function and deprecate the old
7634 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7640 * debian/changelog: Updating.
7642 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7645 * pkgconfig/Makefile.am:
7646 * pkgconfig/hildon.pc.in:
7649 Do not use PACKAGE_VERSION_MAJOR as the API revision,
7650 use newly created API_MAJOR_VERSION.
7652 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7658 * debian/changelog: Updating.
7660 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7662 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
7664 Add outer_border style property, we use it but don't define it (!).
7668 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
7670 * examples/hildon-bread-crumb-trail-example.c (main):
7674 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
7676 Fix logic for the bread crumb trail node removal.
7680 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7686 * debian/changelog: Updating.
7688 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7690 Patch by Alejandro to get/set passwords dialogs accesibility.
7692 * hildon-1/src/hildon-get-password-dialog.c:
7693 * hildon-1/src/hildon-set-password-dialog.c:
7694 Set atk_set_name to the passwd entries in order to allow
7695 accessibility by name on this entries.
7697 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7702 * debian/control: Updating gtk dep.
7704 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
7706 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
7707 USE_MAEMO_GTK is enabled.
7709 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
7711 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
7712 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
7714 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7720 * debian/changelog: Updating.
7722 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7724 * examples/Makefile.am:
7725 * examples/hildon-logical-color-example.c:
7726 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
7727 applied + adding a test case. Fixes: NB#71660.
7729 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
7731 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
7732 to be visible, fixes warning on map for windows without toolbars.
7734 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
7736 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
7737 2.11.0, add a check for that besides the MAEMO_GTK check.
7739 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7745 * debian/changelog: Updating.
7747 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7749 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
7750 visibility. Fixes: NB#70842 and MB#615.
7752 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7754 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
7755 set the separator as no-show-all so it doesn't unintentionally appear when
7756 someone does a show_all.
7758 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7760 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
7761 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
7762 toplevel item. Fixes: NB#62031
7764 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
7766 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
7767 fix the name of the function in the docs.
7769 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7775 * debian/changelog: Updating.
7777 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7779 * examples/hildon-banner-long-example.c: Adding a test-case for long
7782 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
7784 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7786 * src/hildon-color-chooser-dialog.c:
7787 * src/hildon-color-chooser.c:
7788 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
7789 memory leaks in font selector and color selector. Fixes: NB#70499 and
7792 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
7794 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
7796 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7798 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
7799 little bit bigger. Fixes: #NB63694.
7801 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7807 * debian/changelog: Updating.
7809 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7812 * doc/hildon-docs.sgml:
7813 * doc/images/bread-crumb-trail.png:
7814 * doc/images/calendar-popup.png:
7815 * doc/images/caption.png:
7816 * doc/images/code-dialog.png:
7817 * doc/images/color-button.png:
7818 * doc/images/color-chooser-dialog.png:
7819 * doc/images/color-chooser.png:
7820 * doc/images/controlbar.png:
7821 * doc/images/date-editor.png:
7822 * doc/images/font-selection-dialog.png:
7823 * doc/images/get-password-dialog.png:
7824 * doc/images/hvolumebar.png:
7825 * doc/images/login-dialog.png:
7826 * doc/images/note.png:
7827 * doc/images/number-editor.png:
7828 * doc/images/range-editor.png:
7829 * doc/images/seekbar.png:
7830 * doc/images/set-password-dialog.png:
7831 * doc/images/sort-dialog.png:
7832 * doc/images/time-editor.png:
7833 * doc/images/time-picker.png:
7834 * doc/images/vvolumebar.png:
7835 * doc/images/weekday-picker.png: Adding the new generated widget shots.
7836 Adding the bread-crumb-trial and helpers to the documentation.
7838 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7840 * examples/hildon-find-toolbar-example.c:
7841 * src/hildon-find-toolbar.c:
7842 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
7843 actually continue firing the other handlers if connected. Adding a new
7845 hildon_find_toolbar_get_last_index that gets the index of the most
7846 recently added (last) item. Fixes: NB#52301.
7848 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7850 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
7851 behaviour. Fixes: NB#68610.
7853 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7855 * src/hildon-banner.c: Actually reverting the previous change. It somehow
7858 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7860 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
7861 when realizing the banner. Should make the infonbanner effect a bit more
7864 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7866 * src/hildon-volumebar.c:
7867 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
7868 hildon_volumebar_set_range_insensitive_message and
7869 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
7871 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7873 * src/hildon-window.c: Fixing the border freeing on destroy.
7875 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7877 * src/hildon-code-dialog-private.h:
7878 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
7879 kw keyboard support in HildonCodeDialog.
7881 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7887 * debian/changelog: Updating.
7889 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7891 * src/hildon-date-editor.c:
7892 * src/hildon-number-editor.c:
7893 * src/hildon-private.c:
7894 * src/hildon-private.h:
7895 * src/hildon-time-editor.c:
7896 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
7897 handling in subclassed composite widgets. Fixes: NB#66628.
7899 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7901 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
7902 from destroy_ callback as it introduces problems in async dbus signal
7903 handlers. Fixes NB#66673.
7905 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7907 * examples/hildon-hvolumebar-example.c:
7908 * src/hildon-volumebar.c: Improving the focus handling in the
7909 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
7910 set_property accessor so that "mute" property can be actually set. I'm
7911 scared that nobody noticed it's totally broken.
7913 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7915 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
7918 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7920 * src/hildon-calendar.c:
7921 * src/hildon-number-editor.c:
7922 * src/hildon-time-picker.c: Changing the timeout repeat so that it
7923 matches the spec of 6 chars per second. Fixes: NB#60489.
7925 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7927 * src/hildon-helper.c: Really fixing NB#58352. Looks like
7928 gtk_style_lookup_color sometime returns FALSE even though color was
7929 found and values were filled properly. Weird. Removing the warning for the
7932 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7934 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
7935 expand vertically. Adding some extra space to the find toolbar buttons to
7936 make them thumbable. Fixes NB#66060.
7938 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7940 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
7941 popup with "Ok" and "Cancel". Fixes NB#59299.
7943 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7945 * src/hildon-calendar.c: Process all window updates before executing next
7946 timeout. Fixes: NB#54146.
7948 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7954 * debian/changelog: Updating.
7956 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7958 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
7959 the client event and ignore it, since we use the delete event to close
7962 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7964 * src/hildon-helper.c: Remove the bogus warning about color not being
7965 found. Fixes NB#58352.
7967 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7969 * examples/Makefile.am:
7970 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
7971 HildonSeekbar widget inside a toolbar.
7973 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7975 * src/hildon-banner.c (hildon_banner_init): mark the banners as
7976 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
7977 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
7978 don't want to be closed by non-temporary windows on map.
7980 Also use G_DEFINE_TYPE instead of manually typed code.
7982 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7989 * debian/rules: Updating.
7991 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7993 * examples/Makefile.am:
7994 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
7995 bug NB#61128. Strangely it works.
7997 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7999 * src/hildon-date-editor.c: When the date editor entry has been changed
8000 but the numbers of characters < max, turn off the skip validation flag.
8001 Prevents a situation when we enter first a valid year and later re-write
8002 it with an invalid one. Fixes NB#60154.
8004 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8006 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
8007 code dialog. Fixes NB#64355.
8009 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8011 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
8012 switching the page. Fixes NB#49374.
8014 * examples/Makefile.am:
8015 * examples/hildon-wizard-dialog-example.c: Adding an example for
8016 HildonWizardDialog that shows how to handle manual sensitivity setting on
8019 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8023 * src/hildon-version.h.in:
8024 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
8026 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8028 * src/hildon-volumebar.c: Updating the docs.
8030 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8036 * debian/changelog: Updating.
8038 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8040 * src/hildon-find-toolbar.c:
8041 * src/hildon-find-toolbar.h: Adding a few new functions to control the
8042 selected item: hildon_find_toolbar_set_active,
8043 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
8044 hildon_find_toolbar_get_active_iter . They correspond to respective
8045 GtkComboBox functions.
8047 * examples/Makefile.am:
8048 * examples/hildon-find-toolbar-example.c: Adding the example to test the
8051 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8053 * examples/Makefile.am:
8054 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
8057 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
8058 when font size > 32 and we pack a focusable widget inside. Actually using
8059 the default response would work too, but since we don't show default
8060 response state in any way (no theming) it would not be visible to the
8061 user. Fixes NB#63430.
8063 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8065 * src/hildon-date-editor.c: Adding the missing variable setter in the
8066 set_property handler. Fixes NB#54182.
8068 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8070 * src/hildon-window.h: Changing the long key press time from 1500ms to
8071 800ms as requested in NB#63700. I have a bad feeling about this, let's
8072 see... Fixes NB#63700.
8074 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
8076 * src/hildon-time-picker.c (hildon_time_picker_class_init,
8077 hildon_time_picker_map, hildon_time_picker_realize,
8078 hildon_time_picker_style_set): Split the contents of map to more
8079 appropriate functions; set window decorations on realize and update
8080 arrows' size requisitions on style-set. Avoids unnecessary resizing.
8082 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
8087 * debian/changelog: Updating.
8089 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
8091 * src/Makefile.am: fixed installation of the header files
8093 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8099 * debian/changelog: Updating.
8101 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8103 * configure.ac: Removing some remaining of --enable-xan.
8105 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
8107 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
8108 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
8110 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
8111 2.10.12-osso6 because the move-focus signal needs to be available in
8114 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8116 * examples/Makefile.am:
8117 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
8118 that makes a HildonVolumebar insensitive before mapping it. Seems to work
8119 fine. Prolly NB#61128 is fixed now.
8121 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8123 * src/hildon-volumebar.c:
8124 * src/hildon-volumebar.h: Adding the
8125 hildon_volumebar_set_range_insensitive_message and
8126 hildon_volumebar_set_range_insensitive_messagef functions to set
8127 insensitive message on the slider of the volumebar. Fixes NB#61129.
8129 * examples/Makefile.am:
8130 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
8131 test the new insensitive messsage functionality on HildonVolumebar.
8133 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
8135 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
8138 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
8140 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
8141 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
8142 button on after clearing the trail.
8144 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8146 * src/hildon-code-dialog.c: Removing the separator from the dialog.
8148 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8150 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
8151 by splitting the installed headers in generated and non-generated groups. Use
8152 only the non-generated headers to create the hildon-enum-types.h file.
8154 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
8156 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8158 * src/hildon-window.c: Hide the window before performing the destroy.
8159 Should make the app closing a little tiny bit more snappy.
8161 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8163 * src/hildon-seekbar.c: add gtkrange.h header
8164 * src/hildon-caption.c: remove unused variable
8166 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
8168 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
8171 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8177 * debian/changelog: Updating.
8179 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
8181 * src/hildon-window.c (hildon_window_window_state_event,
8182 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
8183 escape timeout on focus-out-event rather than notify::is-topmost; the
8184 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
8186 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8188 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
8189 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
8191 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8193 * src/hildon-window: actually, you need to use the macro always, there's
8194 no private pointer in the instance structure. We should have cleaned this up
8195 when we had the chance...
8197 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8199 * src/hildon-window.c: do not get the private date from HildonWindow before
8200 it passes the g_return_if_fail check. Once it's passed the test, there's no
8201 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
8202 if you are only going to access the data once. Whitespace cleanups.
8204 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
8206 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8207 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8209 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8215 * debian/changelog: Updating.
8217 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8219 * src/hildon-window.c: When destroying the window, remove (if exists) the
8220 escape timeout handler. Fixes #NB59276.
8222 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8224 * src/hildon-banner.c: When realizing the widget, set the window
8225 transiency. Setting the transiency in the gobject constructor is not
8226 good, as the widget is not realized at that point. Fixes: #NB56624.
8228 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8230 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
8231 Add padding for future expansions.
8233 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8235 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
8236 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
8237 will fake an activation on the previous to the last item of the trail, so
8238 the effect can be overrided by the developer as usual.
8239 Also change the callback for the back button to do the same thing, so its
8240 effect can be overrided too. Fixes: NB#58982
8242 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8244 * src/hildon-caption.c: Implementing the proper focus grabbing in the
8245 HildonCaption. Fixes NB#52379.
8247 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8249 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
8250 the internal state of the trail after the user has had the chance of executing
8251 his handler for the signal. Specifically, it may happen that the activated button
8252 is removed and the user still lets the default handler run. This would segfault
8255 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8257 * src/hildon-font-selection-dialog.c: When the font is really big, add the
8258 scrollbar to the preview dialog. Fixes NB#54147.
8260 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8262 * src/hildon-date-editor.c: Changing the default max year to 2037. The
8263 max/min year properties can be altered, so the client can modify it
8264 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
8266 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8268 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
8269 hildonlike by default. Fixing a problem with disappearing arrows when
8270 scrolling through months and years. Fixes NB#54127.
8272 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8274 * examples/hildon-date-editor-example.c: Adding error callback to the date
8277 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8283 * configure.ac: Updating.
8285 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8287 * configure.ac: Adding a special '--enable-xan' configure option that
8288 turns off the -Werror compilation setting. Usefull for development.
8290 * src/hildon-calendar.c:
8291 * src/hildon-number-editor.c:
8292 * src/hildon-time-picker.c: Adding the 5* multiplier to
8295 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
8297 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
8298 instead of g_object_ref + gtk_object_sink.
8300 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8306 * debian/changelog: Updating.
8308 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8310 * src/hildon-color-chooser-dialog.c:
8311 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
8312 straight from Tommi labs.
8314 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8316 * examples/hildon-finger-example.c: Correcting the header file path.
8318 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
8319 the changed signal. Fixes a small memory leak.
8321 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8325 * src/hildon-banner.c: Importing several usefull fixes from the
8326 ubuntu-mobile branch.
8328 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8330 * examples/Makefile.am:
8331 * examples/hildon-finger-example.c: Adding a finger-checking code
8334 * src/hildon-font-selection-dialog.c: Do not allocate the color
8335 structure using the g_new. Fixes NB#54061.
8337 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8339 * src/hildon-helper.c: Correcting tabs in file.
8341 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
8343 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
8344 control the visibility of the children.
8346 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
8348 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8354 * debian/changelog: Updating.
8356 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8358 * src/hildon-bread-crumb-trail.c:
8359 (hildon_bread_crumb_trail_size_allocate):
8361 Make the back button always a square.
8363 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8365 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
8366 from the .c file as it's a private file.
8368 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8370 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
8371 uses slightly bigger height.
8373 * src/hildon-font-selection-dialog.c: Adding some checks before
8374 freeing memory in the font selection dialog.
8376 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8378 * src/hildon-font-selection-dialog.c: Adding a small check when
8381 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
8382 buttons sensitivity on page switching.
8384 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
8386 * src/hildon-bread-crumb-trail.c: make the add method handle all the
8387 internal details of adding a bread crumb to the trail.
8389 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8395 * debian/changelog: Updating.
8397 * src/hildon-bread-crumb-trail.h:
8398 * src/hildon-bread-crumb.h: Changing the API guard to
8399 HILDON_ENABLE_UNSTABLE_API.
8401 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8409 * src/hildon-helper.h: Updating.
8411 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8419 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8423 * src/hildon-helper.h: Small fix to make the package actually compile.
8425 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8427 * src/hildon-bread-crumb-trail.h:
8428 * src/hildon-bread-crumb.h:
8430 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
8431 to define ENABLE_UNSTABLE_API in the code that includes these headers.
8433 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8435 * examples/hildon-bread-crumb-trail-example.c:
8437 * src/hildon-bread-crumb-trail.c:
8438 * src/hildon-bread-crumb-trail.h:
8439 * src/hildon-bread-crumb.c:
8440 * src/hildon-bread-crumb.h:
8441 * src/hildon-marshalers.list:
8442 * src/hildon-bread-crumb-widget.c:
8443 * src/hildon-bread-crumb-widget.h:
8445 Slight change in the widget design. The bread crumb trail API is
8446 unchanged, but HildonBreadCrumb is now an interface. A *private*
8447 implementation, hildon-bread-crumb-widget, is provided and used
8448 internally by the trail for the push_text/push_icon functions.
8450 The generic push API is still available, so anyone can implement
8451 and use its own bread crumb widget.
8453 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8455 * debian/rules: Fixing the shlibs.
8457 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8459 * src/hildon-banner.c: Fixing a problem with timed banners having
8460 their parrent destroyed before they are.
8462 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
8464 * src/hildon-bread-crumb.c:
8465 * src/hildon-bread-crumb.h:
8467 Make the get_natural_size function a vfunc.
8469 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8471 * src/hildon-bread-crumb.c:
8472 * src/hildon-bread-crumb-trail.c:
8476 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8483 * debian/changelog: Updating for release.
8485 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8487 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
8488 don't leak the pango layout.
8490 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8493 * examples/hildon-bread-crumb-trail-example.c:
8497 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8499 * debian/changelog: Removing the bug-fixed entries that were actually
8500 resolved as WONTFIX.
8502 * src/hildon-date-editor.c: Removing a redundant check. Fixes
8505 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8507 * src/hildon-bread-crumb-trail.c:
8508 * src/hildon-bread-crumb-trail.h:
8509 * src/hildon-bread-crumb.c:
8510 * src/hildon-bread-crumb.h:
8514 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8516 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
8517 until it's passed the type check.
8519 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8521 * examples/hildon-bread-crumb-trail-example.c
8525 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8527 * examples/Makefile.am
8528 * examples/hildon-bread-crumb-trail-example.c
8530 * src/hildon-bread-crumb-trail.c
8531 * src/hildon-bread-crumb-trail.h
8532 * src/hildon-bread-crumb.c
8533 * src/hildon-bread-crumb.h
8535 New HildonBreadCrumbTrail widget.
8537 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
8539 * src/hildon-range-editor.c (hildon_range_editor_init),
8540 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
8541 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
8542 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
8543 hildon_time_editor_class_init, hildon_time_editor_init),
8544 src/hildon-get-password-dialog.c (invalid_input,
8545 hildon_get_password_set_property, hildon_get_password_get_property,
8546 create_contents, hildon_get_password_dialog_set_max_characters),
8547 src/hildon-set-password-dialog.c (create_contents),
8548 src/hildon-date-editor.c (hildon_date_editor_init),
8549 src/hildon-login-dialog.c (hildon_login_dialog_init),
8550 src/hildon-number-editor.c (hildon_number_editor_init),
8551 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
8552 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
8553 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
8554 configure option and adding the respective checks in the code.
8555 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
8556 hildon_calendar_drag_data_received): fixed some build warnings.
8558 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8560 * debian/changelog: A 1.0.0 release notes.