1 2009-06-08 Alejandro G. Castro <alex@igalia.com>
3 * hildon/hildon-pannable-area.c,
4 (hildon_pannable_area_init): Initialized new values to handle the
6 (hildon_pannable_area_adjust_value_changed): Check if the values
7 changed before even call the redraw function.
8 (hildon_pannable_area_size_allocate),
9 (hildon_pannable_axis_scroll),
10 (hildon_pannable_area_scroll),
11 (hildon_pannable_area_jump_to): Improved the diagonal movement
14 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
17 2009-06-08 Alberto Garcia <agarcia@igalia.com>
19 * examples/hildon-banner-example.c:
21 (on_animation_clicked, on_animation_idle)
22 (on_progress_clicked, on_progress_idle):
23 Add additional reference for the cases when the parent window is
26 2009-06-08 Alberto Garcia <agarcia@igalia.com>
28 * doc/hildon-sections.txt
29 * hildon/hildon-pannable-area.c
30 * hildon/hildon-banner.h
31 * hildon/hildon-banner.c: Documentation updates.
33 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
36 2009-06-05 Alejandro G. Castro <alex@igalia.com>
38 * hildon/hildon-calendar-popup.h:
39 * hildon/hildon-caption.h:
40 * hildon/hildon-code-dialog.h:
41 * hildon/hildon-controlbar.h:
42 * hildon/hildon-date-editor.h:
43 * hildon/hildon-dialog.h:
44 * hildon/hildon-get-password-dialog.h:
45 * hildon/hildon-hvolumebar.h:
46 * hildon/hildon-login-dialog.h:
47 * hildon/hildon-note.h:
48 * hildon/hildon-number-editor.h:
49 * hildon/hildon-range-editor.h:
50 * hildon/hildon-seekbar.h:
51 * hildon/hildon-set-password-dialog.h:
52 * hildon/hildon-sort-dialog.h:
53 * hildon/hildon-time-editor.h:
54 * hildon/hildon-time-picker.h:
55 * hildon/hildon-volumebar-range.h:
56 * hildon/hildon-volumebar.h:
57 * hildon/hildon-vvolumebar.h:
58 * hildon/hildon-weekday-picker.h:
59 * hildon/hildon-window.h:
60 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
61 macros with the current replacements
63 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
65 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
67 * hildon/hildon-color-button.c (hildon_color_button_init): Use
68 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
69 itself, to make it fit better with Fremantle style.
71 Fixes: NB#109878 (height and width of focus on color icon is not
72 consistent with other item in the application tool bar)
74 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
76 * hildon/hildon-touch-selector.c:
77 (hildon_touch_selector_optimal_size_request): use the current requisition
78 as the base, in order to include any possible extra widget, like the
79 hildon entry on HildonTouchSelectorEntry
81 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
83 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
85 * configure.ac: post release version bump
86 * debian/changelog: post release version bump
88 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
93 * configure.ac: Bump version.
94 * debian/changelog: Updates.
96 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
98 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
100 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
101 to ensure the banner contents are centered, instead of relying on
102 the expand and fill properties in GtkHBox.
103 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
105 Fixes: NB#108265 (Animation banner not properly centered)
107 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
109 * hildon/hildon-pannable-area.c
110 (hildon_pannable_area_initial_effect): Remove the initial_effect
111 management, check initial_hint
112 (hildon_pannable_are_expose_event): Remove the initial_hint management,
113 set initial_effect to FALSE
114 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
115 by launching the fade_timeout if the scrollbars state has changed and are
117 * examples/hildon-pannable-area-initial-hint-example.c
118 Modified to allow to remove rows too. Add and remove rows one by one.
120 2009-05-28 Alberto Garcia <agarcia@igalia.com>
122 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
123 Don't close the menu if there's an animation actor below it.
125 Fixes: NB#117927 (Application menu not usable with animation
128 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
130 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
131 "focus-on-click" from the dialog button, to avoid stealing the
132 focus from the entry.
134 Fixes: NB#118903 (Account setup wizard: Text in Search field
135 should be focused when "Region" touch list picker is reopened
138 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
140 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
141 (prepare_action_area): Completely hide the dialog separator.
143 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
145 * hildon/hildon-touch-selector-entry.c
146 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
147 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
148 now that the entry is exposed.
150 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
152 * hildon/hildon-touch-selector-entry.c
153 (hildon_touch_selector_entry_init): Change the entry's size
154 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
156 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
158 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
159 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
160 avoid unnecessary scaling.
162 2009-05-27 Alberto Garcia <agarcia@igalia.com>
164 * hildon/hildon-app-menu.c (hildon_app_menu_map):
165 Create grab transfer window before calling parent's map function.
167 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
168 "crushed" button(s) in the top left corner)
170 2009-05-26 Alberto Garcia <agarcia@igalia.com>
172 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
173 Check if the window is already realized when pushing it.
175 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
177 * configure.ac: post release version bump
178 * debian/changelog: post release version bump
180 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
185 * configure.ac: Bump version.
186 * debian/changelog: Updates.
188 2009-05-25 Alberto Garcia <agarcia@igalia.com>
190 * hildon/hildon-app-menu.c: Doc updates.
192 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
194 * hildon/hildon-banner.c: Remove leftover macro.
196 2009-05-25 Alejandro G. Castro <alex@igalia.com>
198 * hildon/hildon-pannable-area.c,
199 (hildon_pannable_area_scroll_indicator_fade),
200 (hildon_pannable_area_button_release_cb): Reviewed vmin
201 conditions, it could cause problems in the fadeout procedure.
203 2009-05-25 Alejandro G. Castro <alex@igalia.com>
205 * hildon/hildon-pannable-area.c
206 (hildon_pannable_area_button_release_cb): Added a threshold to
207 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
209 2009-05-25 Alejandro G. Castro <alex@igalia.com>
211 * hildon/hildon-pannable-area.c,
212 (hildon_pannable_area_set_property): Added code to sync the gtk
213 dnd threshold with the panning threshold.
215 2009-05-25 Alejandro G. Castro <alex@igalia.com>
217 * hildon/hildon-pannable-area.c,
218 (hildon_pannable_area_class_init): Changed some of the default
219 values, now it should be less responsive and more accurate.
221 2009-05-25 Alejandro G. Castro <alex@igalia.com>
223 * hildon/hildon-pannable-area.c,
224 (hildon_pannable_area_init),
225 (hildon_pannable_area_scroll_indicator_fade),
226 (hildon_pannable_area_button_press_cb),
227 (hildon_pannable_axis_scroll),
228 (hildon_pannable_area_timeout),
229 (hildon_pannable_area_motion_notify_cb),
230 (hildon_pannable_area_button_release_cb): Changed the name of the
231 clicked attribute to button_pressed, it is more clear about its use.
233 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
235 * src/hildon-pannable-area.c
236 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
238 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
239 vertical scrollbar visibility, and use the data on private section instead,
240 remove the initial_hint check
241 (hildon_pannable_area_expose_event): add the initial_hint check here
243 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
245 * src/hildon-pannable-area.c
246 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
247 if the fadeout effect was used
248 (hildon_pannable_area_expose_event): check if it is required to
249 manage the initial effect on the begining of the function. Previously
250 it was made at the end, but this doesn't ensure that the scrollbars
251 will be painted on the first show. Do not set to FALSE initial_effect,
252 to ensure that the initial hint is showed the first time the pannable
254 * examples/Makefile.am
255 * examples/hildon-pannable-area-initial-hint-example.c:
256 New example, to show that the initial-hint is showed when the widget
259 Fixes: NB#116607 (Pannable area should always have scrollbar visible
260 initially if the application can be scrolled)
262 2009-05-25 Alberto Garcia <agarcia@igalia.com>
264 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
265 Resize table before adding new items to make sure that
266 gtk_table_resize() is called just once.
268 2009-05-25 Alberto Garcia <agarcia@igalia.com>
270 * hildon/hildon-app-menu-private.h
271 * hildon/hildon-app-menu.c (item_visibility_changed)
272 (filter_visibility_changed, hildon_app_menu_show_all)
273 (hildon_app_menu_hide_all, hildon_app_menu_init):
274 Rearrange items just once when gtk_widget_show_all()/hide_all()
277 2009-05-25 Alberto Garcia <agarcia@igalia.com>
279 * hildon/hildon-app-menu.c
280 (hildon_app_menu_insert, hildon_app_menu_add_filter):
281 Don't call gtk_widget_show() on added items.
283 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
284 automatically when they're added)
286 2009-05-20 Alberto Garcia <agarcia@igalia.com>
288 * hildon/hildon-banner.c
289 (hildon_banner_realize, +hildon_banner_unrealize)
290 (+screen_size_changed, hildon_banner_class_init):
291 Redisplay the banner if the screen is rotated.
293 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
294 on transition from landscape to portrait)
296 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
298 * hildon/hildon-banner.[ch]:
299 (hildon_banner_show_information_override_dnd): remove icon_name from the
300 method definition as it is ignored.
301 * examples/hildon-banner-dnd-example.c: updated with the change on
304 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
306 * hildon/hildon-banner-private.h: new require_override_dnd and
307 overrides_dnd variables
308 * hildon/hildon-banner.h:
309 (hildon_banner_show_information_override_dnd): new method, that shows
310 the information but sets the override flag, in order to show important
312 * hildon/hildon-banner.c
313 (hildon_banner_show_information_override_dnd): new method
314 (hildon_banner_set_override_flag): new utility function
315 (hildon_banner_real_show_information): new utility function, in order to
316 generalize the current hildon_banner_show_information_override_dnd and
317 hildon_banner_show_information_override_dnd
318 * examples/Makefile.am
319 * examples/hildon-banner-dnd-example.c: New example that show how to
320 use the new hildon_banner_show_information_override_dnd
322 Fixes: NB#114874 (There is no possibility to show hildon banners with
325 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
327 * hildon/hildon-pannable-area.c: Add a comment explaining the math
328 behind hildon_pannable_calculate_vel_factor().
330 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
332 * hildon/hildon-pannable-area.c
333 (hildon_pannable_calculate_vel_factor): Correct the sum of the
334 deceleration factors.
336 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
338 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
339 Reduce the default value for 'scroll_time' to 1 second, since the
340 current initial scrolling takes too much time.
342 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
344 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
345 calculate velocity factor during initialization, since the properties
348 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
350 * hildon/hildon-pannable-area.c
351 (hildon_pannable_area_set_property): Calculate the velocity factor
352 after setting the deceleration property and not after.
354 2009-05-20 Alberto Garcia <agarcia@igalia.com>
356 * hildon/hildon-entry.c
357 (hildon_entry_class_init, +set_property, hildon_entry_new)
358 * hildon/hildon-check-button.c
359 (hildon_check_button_class_init)
360 (+set_property, hildon_check_button_new):
361 Make the theme size a property.
363 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
364 others) do too much in the _new function)
366 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
368 * configure.ac: post release version bump
369 * debian/changelog: post release version bump
371 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
376 * configure.ac: Bump version.
377 * debian/changelog: Updates.
379 2009-05-15 Alberto Garcia <agarcia@igalia.com>
381 * hildon/hildon-gtk.h
382 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
383 New API function to take a screenshot of a window
385 Fixes: NB#106374 (Need API to take a loading screenshot)
387 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
389 * hildon/hildon-time-selector.c
390 (update_format_policy): prevent to use hours and minutes unitialized
392 2009-05-15 Alberto Garcia <agarcia@igalia.com>
394 * hildon/hildon-window.c (hildon_window_size_request):
395 Always request the full size of the screen (minus the title bar if
396 not in fullscreen mode).
398 Fixes: NB#107486 (HildonWindow should size itself properly)
400 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
402 * hildon/hildon-note-private.h: Add idle_handler to the private data.
403 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
404 (on_show_cb), (sound_handling): Disconnect the idle handler for
405 the sound when the note is finalized to avoid possible crashes.
407 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
410 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
412 * src/hildon-animation-actor.c,
413 * src/hildon-remote-texture.c:
414 Added proper object cleanup to remove signal handler and object
415 references as HildonAnimationActor and HildonRemoteTexture
416 objects get destroyed.
418 Fixes: NB#116682 (Destroying parented animation actors when
419 parent in unmapped leads to crash)
421 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
423 Based on a patch by Christian Dywan (christian@imendio.com)
425 * doc/hildon-sections.txt:
426 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
427 * hildon/hildon-helper.h: New file size formatting method.
429 * debian/control: Depend on osso-filemanager l10n package for
430 proper localization strings.
432 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
434 * tests/Makefile.am: Include top_srcdir to make possible to build
435 tests in a different builddir.
436 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
437 on a different builddir.
439 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
441 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
442 (hildon_touch_selector_remove): Disconnect model's signal handler
445 Fixes: NB#116289 (Hildon home crashes while adding task
448 2009-05-11 Alberto Garcia <agarcia@igalia.com>
450 * hildon/hildon-button.c
451 (hildon_button_set_title, hildon_button_set_value):
452 Hide labels containing an empty string.
454 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
456 * configure.ac: post release version bump
457 * debian/changelog: post release version bump
459 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
464 * configure.ac: Bump version.
465 * debian/changelog: Updates.
467 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
469 * hildon/hildon-note-private.h: Removed sound_signal_handler
470 * hildon/hildon-note.c
471 (on_show_cb): new callback on note "show" event, this simply adds
472 a idle, with the function sound_handling
473 (sound_handling): removed the sound_signal_handler management
474 (hildon_note_init): connect note "show" event to on_show_cb
475 (hildon_note_realize): remove the connection to "expose-event"
477 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
478 device?' confirmation note)
480 2009-05-08 Alberto Garcia <agarcia@igalia.com>
482 * hildon/hildon-note.c
483 (hildon_note_new_information_with_icon_name)
484 (hildon_note_new_confirmation_with_icon_name):
485 Terminate the list of parameters in g_object_set() calls
487 Fixes: NB#115166 (Formatting memory card is not taking place)
489 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
491 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
492 "dialog-information" role for the sound being played.
494 2009-05-06 Alberto Garcia <agarcia@igalia.com>
496 * hildon/hildon-app-menu.c (hildon_app_menu_init):
497 Don't make the menu a modal window, it causes strange interactions
498 with the pointer grab and it's not really needed.
500 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
502 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
504 * hildon/hildon-touch-selector.[ch]
505 (hildon_touch_selector_optimal_size_request): function added to get a
506 optimal size request from the touch selector, when you want a dialog to
507 show as much of the selector
508 * hildon/hildon-picker-dialog.c:
509 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
510 (hildon_app_menu_class_init):
511 New "max-height-landscape" and "max-height-portrait" style properties
512 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
513 (hildon_picker_dialog_get_max_height): returns the maximum height using
514 the style properties defined and checking the current portrait/landscape
516 (_hildon_picker_dialog_set_selector): removed the set_size_request
518 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
520 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
522 * hildon/hildon-bread-crumb-trail.c:
523 * hildon/hildon-bread-crumb.c:
524 * hildon/hildon-seekbar.c:
525 Add reference to replacements for these deprecated widgets.
527 Fixes: MB#4461 (Documentation: All deprecations should mention
530 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
532 * examples/hildon-remote-texture-example.c
534 Change the include to the hildon-remote-texture in order to compile
535 properly the examples on the installed libhildon1-examples package
537 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
539 * tests/Makefile.am: Add check for HildonPickerButton.
540 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
541 (START_TEST), (create_hildon_picker_button_suite): Add three simple
542 checks for the HildonPickerButton.
543 * tests/check_test.c (configure_tests): Add the test suite.
544 * tests/test_suites.h: likewise.
546 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
548 * hildon/hildon-touch-selector.c
549 (+on_row_changed): Emit HildonTouchSelector:changed when the
550 contents of a selected row change.
551 (_create_new_column), (_hildon_touch_selector_set_model): connect
552 to GtkTreeModel:row-changed on a newly set model.
554 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
556 2009-05-05 Alberto Garcia <agarcia@igalia.com>
558 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
560 * hildon/hildon-banner.c (hildon_banner_destroy)
561 (hildon_banner_show_progress, hildon_banner_set_fraction):
562 Remove the progress bar from HildonBanner and use a progress
565 Fixes: NB#113761 (Update progress banner to use progress
568 2009-05-04 Alberto Garcia <agarcia@igalia.com>
570 * hildon/hildon-banner.c:
571 Calculate size of the banner label using the actual screen width
572 rather than using a fixed value.
574 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
577 2009-05-04 Alejandro G. Castro <alex@igalia.com>
579 * hildon/hildon-pannable-area.c,
580 (hildon_pannable_area_class_init): Fixed signals documentation
583 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
585 * configure.ac: post release version bump
586 * debian/changelog: post release version bump
588 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
593 * configure.ac: Bump version.
594 * debian/changelog: Updates.
596 2009-05-01 Alberto Garcia <agarcia@igalia.com>
598 * hildon/hildon-edit-toolbar.c
599 (hildon_edit_toolbar_init):
600 Don't let buttons in HildonEditToolbar receive focus.
602 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
603 typing on an HW arrows key)
605 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
607 * doc/Makefile.am: Fix build.
609 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
611 * doc/Makefile.am: Do not redefine content_files.
613 2009-04-30 Alberto Garcia <agarcia@igalia.com>
621 Renamed src/ to hildon/
626 Include <hildon/hildon.h> directly in all examples.
628 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
630 * src/hildon-sort-dialog.c
631 (hildon_sort_dialog_add_sort_key_with_sorting)
635 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
637 * src/Makefile.am: Move generated sources to CLEANFILES, so that
638 make distcheck passes.
640 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
642 * Makefile.am: Enable gtk-doc during distcheck.
644 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
646 * Makefile.am: Do not distribute the debian/ directory.
648 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
650 * doc/Makefile.am: Add the extra SGML files to content_files,
651 so that they are distributed properly.
653 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
655 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
658 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
660 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
661 (hildon_note_new_information_with_icon_name): Set the "icon" property
662 to preserve soundness.
664 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
666 * src/hildon-font-selection-dialog.c
667 (hildon_font_selection_dialog_set_property): Fail when the "family"
668 property is set to NULL.
670 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
672 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
675 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
677 * src/hildon-time-selector.h:
678 Added HildonTimeSelectorFormatPolicy
679 * src/hildon-time-selector.c:
680 Added PROP_TIME_FORMAT_POLICY
681 (_check_ampm_format): renamed to check_automatic_ampm_format
682 (update_format_policy), (update_format_dependant_columns): new functions
683 (hildon_time_selector_class_init)
684 (hildon_time_selector_contructor)
685 (hildon_time_selector_init)
686 (hildon_time_selector_get_property)
687 (hildon_time_selector_set_property)
688 (hildon_time_selector_get_time)
689 (hildon_time_selector_set_time)
690 * src/hildon-touch-selector.h: new file
691 * src/hildon-touch-selector.c
692 (hildon_touch_selector_emit_changed)
693 (hildon_touch_selector_block_changed)
694 (hildon_touch_selector_unblock_changed)
695 Added functions to allow to block the emission of the "changed" signal
696 * src/hildon-picker-dialog.c
697 (hildon_picker_dialog_show): call the parent show before the custom code
698 * examples/hildon-time-button-example.c
699 Modified, so now you can configure the time format using the new property
701 Added a new property "time-format-policy" that allow to choose the time
702 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
703 case it uses gconf in order to check if the time selector must use
706 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
709 2009-04-28 Alberto Garcia <agarcia@igalia.com>
711 * src/hildon-note.c (hildon_note_init):
712 Label in HildonNote must be left aligned, not centered. This
713 reverts the last commit in HildonNote.
715 Fixes: NB#112933 (text is not left aligned in confirmation dialog
716 is connectivity dialog)
718 2009-04-27 Alberto Garcia <agarcia@igalia.com>
723 * doc/hildon-sections.txt:
724 Added hildon_gtk_window_set_do_not_disturb()
726 2009-04-27 Alberto Garcia <agarcia@igalia.com>
728 * src/hildon-note.c (hildon_note_init): Center label.
730 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
733 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
738 * configure.ac: Bump version.
739 * debian/changelog: Updates.
741 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
743 * src/hildon-note-private.h: Add button-width to the private data.
744 * src/hildon-note.c (+resize_button),
745 (+hildon_note_orientation_update): methods to repack widgets on orientation
747 (screen_size_changed): Call above method for confirmation notes.
748 (hildon_note_realize): Always connect to the "screen-size" changed signal.
749 (hildon_note_rebuild): Store the original width request from buttons.
751 Fixes: NB#109635 (Confirmation notes do not support portrait)
753 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
755 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
756 when it is a progress note.
758 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
760 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
761 in the note, since there are no horizontally arranged contents.
763 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
765 * src/hildon-gtk.c (+set_flag): new generic method to
766 set/delay a flag setting in a window.
767 (hildon_gtk_window_set_progress_indicator):
768 (hildon_gtk_window_set_do_not_disturb),
769 (hildon_gtk_window_set_portrait_flags): use set_flag() to
770 avoid code redundance.
772 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
774 Based on a patch by Alberto Garcia (agarcia@igalia.com)
776 * src/hildon-gtk.c (set_clear_window_flag),
777 (do_set_progress_indicator), (do_set_do_not_disturb),
778 (do_set_portrait_flags),
779 (hildon_gtk_window_set_progress_indicator),
780 (hildon_gtk_window_set_do_not_disturb),
781 (hildon_gtk_window_set_portrait_flags):
782 Allow setting dnd-flag, progress indicator, and portrait flags
783 when the window is not realized.
785 2009-04-24 Alejandro G. Castro <alex@igalia.com>
787 * src/hildon-pannable-area.c,
788 * src/hildon-pannable-area.h: Add the hildon deprecated define to
789 the size request policy function and defines.
791 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
793 * doc/hildon-sections.txt: Add the new API.
794 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
795 method to set the portrait flags.
796 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
798 Fixes: NB#112328 (Adding helpers for setting portrait properties)
800 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
802 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
803 to allow using this method with other flags.
804 (hildon_gtk_window_set_progress_indicator): Update accordingly.
805 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
807 2009-04-22 Alberto Garcia <agarcia@igalia.com>
809 * src/hildon-touch-selector.c
810 (hildon_touch_selector_append_text_column):
811 Make the cell renderer use the smallest width possible.
813 Fixes: NB#108470 (Selected items in multiple selection are either
814 having a tick that is cut or not visible at all.)
816 2009-04-22 Alberto Garcia <agarcia@igalia.com>
818 * src/hildon-touch-selector.c
819 (hildon_touch_selector_append_text_column):
822 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
824 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
825 Use g_strdup_printf() instead of a fixed size buffer.
827 2009-04-21 Alberto Garcia <agarcia@igalia.com>
829 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
830 Close banners when a HildonAppMenu is popped up.
832 Fixes: NB#111027 (Title menu closed immediately if activated when
833 "Invalid e-mail address" banner is shown)
835 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
840 * configure.ac: Bump version.
841 * debian/changelog: Updates.
843 2009-04-20 Alberto Garcia <agarcia@igalia.com>
845 * src/hildon-banner.c (hildon_banner_realize):
846 Mark HildonBanner as supporting portrait mode.
847 Use GDK to set window properties insetad of direct Xlib calls.
849 Fixes: NB#111830 (HildonBanner should be marked as supporting
852 2009-04-20 Alberto Garcia <agarcia@igalia.com>
854 * src/hildon-note.c (hildon_note_rebuild):
855 Hide action area in information notes. Prevents text from being
856 slightly aligned to the left.
858 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
861 2009-04-20 Alberto Garcia <agarcia@igalia.com>
863 Patch by Mox Soini (ext-mox.soini@nokia.com)
865 * src/hildon-banner.c (hildon_banner_create_animation):
866 Use stylus-sized icons in animation banner.
868 Fixes: NB#111206 (stylus sized icon for animation banner)
870 2009-04-20 Alberto Garcia <agarcia@igalia.com>
874 (+hildon_gtk_window_set_do_not_disturb):
875 New API to set the do-not-disturb flag.
877 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
879 2009-04-20 Alberto Garcia <agarcia@igalia.com>
881 * examples/hildon-progress-indicator-example.c: Fix example
883 * src/hildon-gtk.c (set_clear_window_flag)
884 (hildon_gtk_window_set_progress_indicator):
885 Create a generic function for setting flags to a window.
886 Use GDK instead of direct Xlib calls.
888 2009-04-14 Alberto Garcia <agarcia@igalia.com>
890 * src/hildon-button.c (hildon_button_set_arrangement):
891 Due to NB#88126, if one of the labels is too long it will be
892 painted outside the button. The 'value' label is more likely to be
893 the longest one, so we change its packing options in order to
894 truncate it if necessary. As a side effect, the 'title' label will
895 no longer be truncated.
897 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
899 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
904 * configure.ac: Bump version.
905 * debian/changelog: Updates.
907 2009-04-13 Alejandro G. Castro <alex@igalia.com>
909 Deprecation of the hildon_pannable_area_set_size_request_policy
910 API, the only policy properly supported in gtk+ nowadays is the
913 * src/hildon-pannable-area.c,
914 (hildon_pannable_area_size_request): Added a workaround for the
915 size_request to avoid the problems of huge pixmaps in case someone
916 is still using the function.
917 * src/hildon-pannable-area.h: Deprecated the enum with the
920 Fixes: NB#110244 (Problems with the
921 hildon_pannable_area_set_size_request_policy API)
923 2009-04-08 Alejandro G. Castro <alex@igalia.com>
925 * src/hildon-pannable-area.c,
926 (hildon_pannable_area_init),
927 (hildon_pannable_area_size_request),
928 (hildon_pannable_area_style_set),
929 (hildon_pannable_draw_vscroll),
930 (hildon_pannable_draw_hscroll),
931 (hildon_pannable_area_check_scrollbars): Replaced area_width with
932 indicator_width to clarify the use of the attribute.
934 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
939 * configure.ac: Bump version.
940 * debian/changelog: Updates.
942 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
944 * src/hildon-picker-dialog.c
945 * src/hildon-touch-selector.c
946 Reverting the change that tried to avoid the hardcoded height on
947 the picker dialog, as causes problems on the hildon-touch-selector
950 Fixes: NB#110029 (selectors not scrolling to selected value)
952 2009-04-07 Alberto Garcia <agarcia@igalia.com>
954 * src/hildon-touch-selector.c: Fix typos
956 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
958 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
959 Use the event coordinates instead of gdk_window_get_pointer(). Also,
960 request more motions after using it.
962 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
964 * src/hildon-calendar.c (hildon_calendar_expose),
965 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
966 Remove unused variables.
968 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
970 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
973 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
975 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
976 Check the return value of gtk_tree_selection_get_selected()
979 2009-04-06 Alberto Garcia <agarcia@igalia.com>
981 * src/hildon-animation-actor.c
982 * src/hildon-button.c
984 * src/hildon-pannable-area.c
985 * src/hildon-picker-button.c
986 * src/hildon-program.c
987 * src/hildon-remote-texture.c
988 * src/hildon-text-view.c
989 * src/hildon-touch-selector.c
990 * src/hildon-window-stack.c
991 * src/hildon-window.c:
992 Add missing 'Since: 2.2' tags.
994 * doc/hildon-sections.txt:
995 Add some missing symbols.
997 * doc/hildon-docs.sgml:
998 New 'Other' section for HildonAnimationActor and
1001 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1003 Patch by Iván Gómez (igomez@igalia.com)
1006 * doc/compiling.sgml
1007 * doc/hildon-docs.sgml
1008 * doc/hildon-sections.txt
1009 * doc/migration.sgml
1010 * doc/resources.sgml
1012 New chapters on using the Hildon library.
1013 Updated the general structure of the reference manual.
1014 Other minor documentation fixes.
1016 * src/hildon-calendar-popup.c
1017 * src/hildon-calendar.c
1018 * src/hildon-controlbar.c
1019 * src/hildon-date-editor.c
1020 * src/hildon-dialog.c
1021 * src/hildon-hvolumebar.c
1022 * src/hildon-number-editor.c
1023 * src/hildon-range-editor.c
1024 * src/hildon-sort-dialog.c
1025 * src/hildon-time-editor.c
1026 * src/hildon-time-picker.c
1027 * src/hildon-volumebar-range.c
1028 * src/hildon-volumebar.c
1029 * src/hildon-vvolumebar.c
1030 * src/hildon-weekday-picker.c:
1031 Add deprecation notes
1033 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1034 Document 'horizontal-movement' and 'vertical-movement' signals.
1036 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
1041 * configure.ac: Bump version.
1042 * debian/changelog: Updates.
1044 2009-04-06 Alejandro G. Castro <alex@igalia.com>
1046 * src/hildon-pannable-area.c,
1047 (hildon_pannable_area_class_init): increased the minimum velocity.
1048 (hildon_pannable_area_button_release_cb): Updated the
1049 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
1050 setup. Review the code to control that last event.
1052 Fixes: NB#109790 (Releasing finger in pannable area easily causes
1055 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
1057 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1059 * src/hildon-get-password-dialog.c
1060 (hildon_get_password_set_property),
1061 (hildon_get_password_get_property), (create_contents):
1062 * src/hildon-login-dialog-private.h:
1063 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
1064 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
1065 (hildon_login_dialog_get_password):
1066 * src/hildon-set-password-dialog-private.h:
1067 * src/hildon-set-password-dialog.c
1068 (hildon_set_password_set_property),
1069 (hildon_set_password_get_property), (create_contents),
1070 (hildon_set_password_response_change),
1071 (hildon_set_password_response_set), (hildon_checkbox_toggled):
1073 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
1074 instead and look more Fremantle style.
1076 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
1078 2009-04-03 Alberto Garcia <agarcia@igalia.com>
1080 * doc/hildon-sections.txt
1081 * src/hildon-window-stack.h
1082 * src/hildon-window-stack.c
1083 (+hildon_window_stack_get_windows):
1084 New API to obtain the list of windows on a stack.
1086 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1088 * src/hildon-app-menu.c (hildon_app_menu_popup)
1089 (hildon_app_menu_class_init, -hildon_app_menu_show):
1090 Remove hildon_app_menu_show() and move all its checks to
1091 hildon_app_menu_popup()
1093 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
1095 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
1096 (_hildon_picker_dialog_set_selector): removed call to
1097 gtk_widget_set_size_request
1098 * src/hildon-touch-selector.c
1099 (_create_new_column): change the pannable size request policy
1101 Avoid to use a hardcoded height for the hildon picker dialog. In order
1102 to get that, we needed to change the hildon pannable size request
1104 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1106 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1108 * src/hildon-window.c (hildon_window_map): Check for vbox to be
1109 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
1112 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1114 * debian/control: Depend on osso-system-lock localization package.
1115 * src/hildon-code-dialog.c: Obtain the secu_application_title
1116 translation from osso-system-lock.
1117 * src/hildon-get-password-dialog.c (create_contents): Do not mark
1118 for translation the atk related strings, that's not necessary.
1119 * src/hildon-set-password-dialog.c (create_contents): Ditto.
1120 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
1121 cancel button, it is not required.
1123 2009-04-02 Alejandro G. Castro <alex@igalia.com>
1125 * src/hildon-pannable-area.c,
1126 (hildon_pannable_area_class_init): Modified the default value of
1127 the overshooting max speed, we have reduced it.
1129 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1131 * doc/hildon-sections.txt
1132 * src/hildon-window-private.h
1133 * src/hildon-window.h
1134 * src/hildon-window.c (hildon_window_class_init)
1135 (hildon_window_init, hildon_window_finalize)
1136 (hildon_window_realize, hildon_window_get_property)
1137 (hildon_window_set_property, hildon_window_update_markup)
1138 (hildon_window_get_markup, hildon_window_set_markup):
1139 New "markup" property and hildon_window_{get,set}_markup() methods.
1141 * examples/hildon-stackable-window-example.c (new_window):
1142 Update example to use hildon_window_set_markup()
1144 Fixes: NB#106375 (Need API to retitle a window with a title
1147 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1149 * src/hildon-pannable-area.c,
1150 (hildon_pannable_area_class_init): Changed the default value of
1151 the initial_hint to TRUE.
1152 (hildon_pannable_area_initial_effect): Changed the initial effect,
1153 not the effect is just the fade-out of the scrollbars.
1155 Fixes: NB#107775 (No scrollbars can be seen when several items are
1156 available in a dialog)
1158 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1160 * src/hildon-program.c (hildon_program_update_top_most):
1163 Fixes: NB#109179 (Memory leak in Hildon program)
1165 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1167 * src/hildon-banner.c (-get_current_app_window):
1168 Remove unused function.
1170 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1172 * src/hildon-pannable-area.c: Modified the documentation of the
1173 get adjustments functions to explain the problem of using the
1174 adjustment directly.
1175 (hildon_pannable_area_class_init): Improved the explanation about
1178 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1180 * src/hildon-app-menu-private.h
1181 * src/hildon-app-menu.c
1182 (hildon_app_menu_class_init):
1183 Bring back the 'external-border' style property
1184 (hildon_app_menu_class_init, hildon_app_menu_init)
1185 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
1186 Set a fixed width-request for the menu, independent of the number
1189 Fixes: NB#94957 (Smoothly opened application menu)
1191 2009-03-30 Alberto Garcia <agarcia@igalia.com>
1193 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
1195 * src/hildon-banner.c
1196 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
1198 Make sure that the banner is correctly placed the first time it's
1200 (hildon_banner_check_position, -check_fullscreen_state):
1201 Show the banner in the same place no matter if the window is in
1202 fullscreen mode or not.
1204 Fixes: NB#107386 (Odd stacking behaviour for information banners)
1206 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1208 * src/hildon-touch-selector.c (_default_print_func): reorder
1209 concatenation for clarity.
1211 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1213 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
1214 for multicolumn selectors.
1216 Fixes: NB#109099 (Memory leak in Hildon touch selector)
1218 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
1223 * configure.ac: Bump version.
1224 * debian/changelog: Updates.
1226 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
1228 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
1231 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1233 * configure.ac: removed libcangerra-gtk dependency
1234 * debian/control: removed libcanberra-gtk dependency
1235 * src/Makefile.am: removed libcanberra gtk related flags
1236 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1237 context, and manage a global canberra context instead
1239 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1241 2009-03-26 Alberto Garcia <agarcia@igalia.com>
1243 Patch by Daniel Borgmann (danielb@openismus.com)
1245 * src/hildon-edit-toolbar.c:
1246 Adjust the left padding.
1247 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
1248 Paint background of the edit toolbar.
1250 Fixes: NB#107897 (Patch to make editmodetoolbar background
1251 themeable and adjust margin)
1253 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1255 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1257 * src/hildon-program.c (hildon_program_update_top_most):
1258 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
1260 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
1261 change when the user tasks in/out of an application)
1263 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1265 * configure.ac: added libcangerra-gtk dependency
1266 * debian/control: added libcanberra-gtk dependency
1267 * src/Makefile.am: added libcanberra gtk related flags
1268 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
1271 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1273 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1275 * src/hildon-program.c (hildon_program_remove_window)
1276 (hildon_program_add_window): Add checks for the window
1277 parameter. Don't decrease the window counter if the window is not
1280 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1282 * src/hildon-pannable-area.c,
1283 (hildon_pannable_area_realize): Fixed position of the event_window
1284 in the realize method.
1286 2009-03-24 Alberto Garcia <agarcia@igalia.com>
1288 * src/hildon-app-menu-private.h
1289 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
1290 (hildon_app_menu_map, hildon_app_menu_hide_idle)
1291 (hildon_app_menu_key_press, hildon_app_menu_init)
1292 (hildon_app_menu_finalize):
1293 Make sure that all idle functions are removed when the widget is
1296 Fixes: NB#107583 (Hildon app menu crashes in various applications)
1298 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1303 * configure.ac: Bump version.
1304 * debian/changelog: Updates.
1306 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1308 * src/hildon-entry.c
1309 (+hildon_entry_show_placeholder),
1310 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
1311 that replace hildon_entry_update_contents().
1312 (hildon_entry_set_text),
1313 (hildon_entry_set_placeholder),
1314 (hildon_entry_focus_in_event),
1315 (hildon_entry_focus_out_event): Determine when it is needed
1316 either to show or hide the placeholder and call the above methods.
1318 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
1319 when the placeholder text is already set)
1321 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1323 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
1324 simple GdkPixbufAnim using the new icons for the banner.
1325 (hildon_banner_show_animation): Use the above mentioned method to
1326 create the animation widget.
1328 Fixes: NB#103564 (Make hildon animation banner use individual
1329 image files as the animation)
1331 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1333 * src/hildon-pannable-area.c,
1334 (hildon_pannable_leave_notify_event): Check if the child is NULL
1335 to avoid sending the leave.
1337 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1339 * src/hildon-pannable-area.c,
1340 (hildon_pannable_area_class_init),
1341 (hildon_pannable_leave_notify_event): Added a handler of the
1342 leave-notify-signal to consider when no motion notify before
1345 Fixes: NB#107494 (Items stay selected when clicking and moving
1346 away when inside pannable area)
1348 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
1353 * configure.ac: Bump version.
1354 * debian/changelog: Updates.
1356 2009-03-19 Alejandro G. Castro <alex@igalia.com>
1358 Patch by Alberto Garcia (agarcia@igalia.com)
1360 * src/hildon-date-button.c,
1361 (hildon_date_button_class_init),
1362 (hildon_date_button_init): Removed the construct property handling
1363 and created a default selector in the init method.
1364 * src/hildon-picker-button.c,
1365 (hildon_picker_button_class_init): Removed the construct flag of the
1368 2009-03-18 Alberto Garcia <agarcia@igalia.com>
1370 * src/hildon-main.c (hildon_init):
1371 Don't allow hildon_init() to be called more than once.
1373 Fixes: NB#106607 (hildon_init should issue error message upon
1376 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
1378 * examples/hildon-pannable-area-touch-list-example.c
1379 * examples/hildon-pannagle-area-touch-grid-example.c
1380 * examples/hildon-edit-toolbar-example.c
1381 * examples/hildon-touch-selector-multi-cells-example.c
1382 Removed the call to gtk_rc_parse_string, as it is not required since
1385 2009-03-17 Alejandro G. Castro <alex@igalia.com>
1387 * src/hildon-pannable-area.c,
1388 (hildon_pannable_area_class_init): Modified the default panning
1389 threshold of the widget to 6px.
1391 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
1392 than the threshold value ) within the button is not sending the
1395 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1397 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
1398 for the treeview in the new column. This way, the touch list will never
1401 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
1402 be selected manually for the HW keys to work)
1404 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1406 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
1407 comparison instead of using strcmp(). Fixes a compiler warning as well.
1409 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1411 * doc/hildon-docs.sgml: Do not set the library version in the
1412 document title, use the releaseinfo tag for that purpose instead.
1414 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1416 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
1417 Do not jump to the first item if the text in the entry is removed.
1419 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1424 * configure.ac: Bump version.
1425 * debian/changelog: Updates.
1427 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1429 * src/hildon-entry.c (hildon_entry_refresh_contents):
1430 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
1431 Use "ReversedSecondaryTextColor" for the placeholder text.
1433 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1435 * src/hildon-text-view.c: Fix compilation warning.
1437 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1439 * src/hildon-button.c (hildon_button_class_init): Don't make
1440 "title" and "value" construction properties, to prevent them from
1441 overwriting labels set from derived classes.
1443 * src/hildon-picker-button.c
1444 (hildon_picker_button_set_selector): Allow setting a NULL selector.
1445 (hildon_picker_button_class_init): Make touch-selector a
1446 construction property.
1448 * src/hildon-date-button.c (hildon_date_button_class_init)
1449 (+hildon_date_button_constructed): Add a default date selector if
1452 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1454 * src/hildon-touch-selector.c: Small documentation fixes.
1456 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1458 Based on a patch by Daniel Borgmann (danielb@openismus.com)
1460 * src/hildon-entry.c (hildon_entry_refresh_contents),
1461 (hildon_entry_get_text), (hildon_entry_init): Do not use the
1462 widget name, set the logical color directly instead and a boolean
1463 showing_placeholder instead.
1464 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
1465 use the widget name here either.
1467 Fixes: NB#105678 (HildonTextView should use logical colours
1468 instead of setting widget name)
1470 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1472 Patch by Daniel Elster (danielk@openismus.com)
1474 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
1475 Add user_data parameter.
1476 (hildon_touch_selector_set_print_func_full): New function akin
1477 hildon_touch_selector_set_print_func() but with support for user
1478 data and a destroy callback.
1479 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
1480 to clean up the print function user data.
1481 (hildon_touch_selector_class_init): Install dispose function.
1482 (HildonTouchSelectorPrivate::print_user_data),
1483 (HildonTouchSelectorPrivate::print_destroy_func): New private
1485 (hildon_touch_selector_init): Initialize new private members.
1486 (hildon_touch_selector_get_current_text): Pass along user data
1487 to the print function.
1488 (_default_print_func): Add dummy user_data to parameter list.
1489 * hildon-date-selector.c (_custom_print_func): ditto,
1490 * hildon-time-selector.c (_custom_print_func): ditto,
1491 * hildon-touch-selector-entry.c
1492 (hildon_touch_selector_entry_print_func): ditto.
1494 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
1496 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1498 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
1500 2009-03-12 Alejandro G. Castro <alex@igalia.com>
1502 * src/hildon-pannable-area.c,
1503 (hildon_pannable_area_init),
1504 (hildon_pannable_area_button_press_cb),
1505 (hildon_pannable_area_motion_notify_cb): We have added code to
1506 handle the leave and enter events when using the motion events.
1508 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
1510 2009-03-11 Alberto Garcia <agarcia@igalia.com>
1512 * src/hildon-date-button.c (hildon_date_button_get_date)
1513 (hildon_date_button_set_date): Make sure that the button has a
1516 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
1518 2009-03-11 Alejandro G. Castro <alex@igalia.com>
1520 * src/hildon-pannable-area.c,
1521 (hildon_pannable_area_class_init),
1522 (hildon_pannable_area_calculate_velocity): Modify the use of the
1523 force and adapt the value.
1525 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1527 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
1528 (hildon_app_menu_class_init): Hide the menu if it receives a
1529 delete-event, but don't destroy it
1531 Fixes: NB#104485 (Not able to address the call when application
1532 menu is opened at background)
1534 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1536 * src/hildon-app-menu.c
1537 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1538 Remove the "external-border" style property, let the menu take its
1539 natural size (or the one set by the window manager)
1540 (hildon_app_menu_repack_items):
1541 Don't reshow the menu, avoid flickers.
1543 Partially fixes NB#94957 (Smoothly opened application menu)
1545 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
1550 * configure.ac: Bump version.
1551 * debian/changelog: Updates.
1553 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1555 * src/hildon-pannable-area.c,
1556 (hildon_pannable_area_motion_notify_cb): We control that the
1557 direction error margin is used just in case the movement is
1558 allowed in the other direction.
1560 Fixes: NB#105012 (buttons inside a pannable area not getting
1561 release event when dragging/releasing)
1563 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1565 * src/hildon-pannable-area.c,
1566 (hildon_pannable_area_class_init),
1567 (hildon_pannable_area_get_property),
1568 (hildon_pannable_area_set_property),
1569 (hildon_pannable_area_initial_effect),
1570 (hildon_pannable_axis_scroll),
1571 (hildon_pannable_area_button_release_cb): Reviewed the
1572 overshooting effect, now it has its own max
1573 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
1574 speed when bouncing.
1576 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
1581 * configure.ac: Bump version.
1582 * debian/changelog: Updates.
1584 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1586 * src/hildon-pannable-area.c,
1587 (hildon_pannable_area_class_init): Changed the max speed, now
1588 users can launch the widget very fast. Reduced the default force,
1589 that way it is easier to control the launch speed.
1591 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1593 * src/hildon-pannable-area.c,
1594 (hildon_pannable_area_button_release_cb): Removed this check
1595 because it causes problems when the device is overloaded.
1597 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1599 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1600 add a current_text field to store the text entered in the
1601 touch selector entry.
1602 (_clean_current_selection): clean up the current text as well.
1603 (_save_current_selection), (_restore_current_selection):
1604 Save/restore the text in the entry if the selector is a
1605 HildonTouchSelectorEntry.
1607 Fixes: NB#102541 (value entered in the touch selector entry is not
1608 shown when opened for second time)
1610 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1612 * doc/hildon-sections.txt:
1613 * src/hildon-touch-selector-entry.c
1614 (+hildon_touch_selector_entry_get_entry):
1615 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
1617 Fixes: NB#104815 (I need accessor to the entry inside
1618 HildonTouchSelectorEntry)
1620 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1622 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
1623 (hildon_app_menu_class_init):
1624 New "filter-vertical-spacing" style property.
1626 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1628 * src/hildon-find-toolbar.c
1629 (hildon_find_toolbar_emit_close)
1630 (hildon_find_toolbar_emit_invalid_input)
1631 (hildon_find_toolbar_entry_activate):
1632 Use g_signal_emit() instead of g_signal_emit_by_name()
1634 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1636 Patch by Mox Soini (ext-mox.soini@nokia.com)
1638 * tests/TEST-CASES.txt
1639 * tests/check-hildon-banner.c
1640 * tests/check-hildon-note.c
1641 * src/hildon-banner.c
1642 * src/hildon-code-dialog.c
1643 * src/hildon-date-editor.c (real_set_calendar_icon_state)
1644 * src/hildon-time-editor.c
1645 * examples/hildon-lookup-example.c (main):
1646 Replace obsolete icon names with new ones.
1648 * src/hildon-find-toolbar-private.h:
1649 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
1650 (-hildon_find_toolbar_emit_search):
1651 Remove find button and change icon of close button.
1653 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
1655 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1657 * src/hildon-time-button.c (hildon_time_button_new_step):
1658 Use the "touch-selector" property to set the selector directly
1659 when creating the object.
1661 2009-03-05 Alejandro G. Castro <alex@igalia.com>
1663 Added a new example application that allows tuning the pannable
1664 area and replaced defines with properties in order to simplify the
1665 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
1666 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
1667 PROP_DIRECTION_ERROR_MARGIN.
1669 * examples/hildon-pannable-area-tuning-example.c: New example
1671 * src/hildon-pannable-area.c,
1672 (hildon_pannable_area_class_init),
1673 (hildon_pannable_area_init),
1674 (hildon_pannable_area_get_property),
1675 (hildon_pannable_area_set_property),
1676 (hildon_pannable_area_launch_fade_timeout),
1677 (hildon_pannable_area_adjust_value_changed),
1678 (hildon_pannable_axis_scroll),
1679 (hildon_pannable_area_motion_notify_cb),
1680 (hildon_pannable_area_scroll_cb),
1681 (hildon_pannable_area_button_release_cb): We have converted some
1682 of the defines that control the widget to properties to simplify
1685 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1687 * src/hildon-app-menu.c (hildon_app_menu_map)
1688 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
1689 so it's closed if a new window appears.
1691 Fixes: NB#104485 (Not able to address the call when application
1692 menu is opened at background)
1694 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1696 * src/hildon-color-button.c (hildon_color_button_get_property):Add
1697 missing 'break' statement in in 'case' construct to avoid
1700 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1702 * src/hildon-touch-selector-entry.c
1703 (hildon_touch_selector_entry_get_property),
1704 (hildon_touch_selector_entry_set_property): Add missing 'break'
1705 statements in in 'case' constructs to avoid incorrect warnings.
1707 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1709 * src/hildon-time-editor.c
1710 (hildon_time_editor_get_time_separators): Do not crash if
1711 the first label is NULL.
1713 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1715 * src/hildon-date-selector.c (_month_days): Check for month to be
1716 strictly less than 12, since otherwise we may overrun the array.
1718 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1720 * src/hildon-date-button.c (+hildon_date_button_new_full)
1721 (hildon_date_button_new, hildon_date_button_new_with_year_range)
1722 (hildon_date_button_init): Set the date selector using a
1723 construction property, to make it happen after HildonButton's
1724 "value" property is set.
1726 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
1727 current date by default)
1729 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1731 * doc/hildon-sections.txt
1732 * src/hildon-program.c
1733 * src/hildon-stackable-window.c
1734 * src/hildon-window.c:
1735 Documentation updates
1737 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1739 * src/hildon-window-stack.c (hildon_window_stack_get_default)
1740 (hildon_window_stack_new, +hildon_window_stack_set_property)
1741 (+hildon_window_stack_get_property)
1742 (hildon_window_stack_class_init)
1743 (+hildon_window_stack_set_window_group)
1744 (+hildon_window_stack_get_window_group):
1745 Make the window group a construction property.
1747 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1749 * doc/hildon-sections.txt
1750 * src/hildon-stackable-window-private.h
1751 * src/hildon-stackable-window.h
1752 * src/hildon-stackable-window.c
1753 (-hildon_stackable_window_set_app_menu)
1754 (-hildon_stackable_window_get_app_menu)
1755 (-hildon_stackable_window_toggle_menu)
1756 (-hildon_stackable_window_finalize)
1757 (hildon_stackable_window_class_init)
1758 (hildon_stackable_window_init)
1759 * src/hildon-window-private.h
1760 * src/hildon-window.h
1761 * src/hildon-window.c (hildon_window_init)
1762 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
1763 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
1764 (hildon_window_get_main_menu, hildon_window_set_main_menu)
1765 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
1766 Moved all HildonAppMenu code to HildonWindow. The menu does not
1767 require a HildonStackableWindow anymore.
1769 * src/hildon-app-menu.c
1770 * src/hildon-program.c
1771 * examples/hildon-app-menu-example.c (main):
1772 Update examples and documentation to reflect HildonAppMenu
1775 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1777 * src/hildon-remote-texture.c
1778 * src/hildon-animation-actor.c:
1779 Don't include unused private headers.
1781 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1783 * src/hildon-program-private.h
1784 * src/hildon-program.c
1785 (hildon_program_set_common_menu)
1786 (hildon_program_get_common_menu)
1787 (hildon_program_set_common_app_menu)
1788 (hildon_program_get_common_app_menu):
1789 Change common menu pointers from GtkWidget* to GtkMenu* and
1790 HildonAppMenu* to avoid unnecessary casts.
1792 2009-03-03 Alberto Garcia <agarcia@igalia.com>
1794 * src/hildon-window.c (hildon_window_set_main_menu):
1795 Removed incorrect 'Since:' tag
1797 2009-03-03 Alejandro G. Castro <alex@igalia.com>
1799 * src/hildon-pannable-area.c,
1800 (hildon_pannable_area_calculate_velocity): We use now the
1801 RATIO_TOLERANCE here to check the distance, fixed typo in the
1803 (hildon_pannable_area_motion_notify_cb): We have to set the type
1804 and time even if we are not sending the motion.
1806 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1808 * doc/hildon-sections.txt
1809 * src/hildon-app-menu.h
1810 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
1811 (+hildon_app_menu_get_filters): New methods to get the contents of
1814 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
1817 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1819 * src/hildon-app-menu.c (hildon_app_menu_popup):
1822 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1824 * src/hildon-window.h
1825 * src/hildon-window.c (+hildon_window_get_main_menu)
1826 (hildon_window_get_menu): Created hildon_window_get_main_menu()
1827 and deprecated hildon_window_get_menu().
1829 * src/hildon-stackable-window.h
1830 * src/hildon-stackable-window.c
1831 (+hildon_stackable_window_set_app_menu)
1832 (+hildon_stackable_window_get_app_menu)
1833 (hildon_stackable_window_set_main_menu): Created
1834 hildon_stackable_window_{get,set}_app_menu() and deprecated
1835 hildon_stackable_window_set_main_menu().
1837 * doc/hildon-sections.txt
1838 * examples/hildon-app-menu-example.c (main)
1839 * src/hildon-app-menu.c
1840 * src/hildon-program.c:
1841 Updated examples and documentation.
1843 Fixes: NB#103758 (No way to obtain a menu from a
1844 HildonStackableWindow)
1846 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1851 * configure.ac: Bump version.
1852 * debian/changelog: Updates.
1854 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1856 * examples/hildon-remote-texture-example.c: Include
1857 hildon-remote-texture.h explicitely.
1858 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
1859 applications not defining _XOPEN_SOURCE which don't require this header.
1861 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1863 * doc/hildon-sections.txt
1864 * src/hildon-app-menu.h
1865 * src/hildon-app-menu.c (+hildon_app_menu_popup):
1866 New function to pop up a HildonAppMenu
1868 * src/hildon-stackable-window.c
1869 (hildon_stackable_window_toggle_menu):
1870 Use hildon_app_menu_popup() to show the menu.
1872 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1874 * src/hildon-app-menu.c (hildon_app_menu_show)
1875 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
1876 menu if there's another window between it and its parent window.
1878 Fixes: NB#100468 (Application menu window is launched even when a
1879 new secondary-window/dialog is pending to be shown/realized)
1881 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1883 * src/hildon-window-stack.c (hildon_window_stack_push)
1884 (hildon_window_stack_pop_and_push):
1885 Don't forget to push/pop the first window.
1886 Reverse the window list before calling _push_list()
1888 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1890 * src/hildon-picker-button.h
1891 * src/hildon-picker-button.c (hildon_picker_button_class_init):
1892 Remove "value_changed" slot to avoid ABI breakage
1894 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1896 * src/hildon-pannable-area.c,
1897 (hildon_pannable_area_realize),
1898 (hildon_pannable_area_unrealize),
1899 (hildon_pannable_draw_vscroll),
1900 (hildon_pannable_draw_hscroll): Changed the method to handle the
1901 GC used to draw the transparent scrollbar, this way we avoid
1902 creating the GC all the time when drawing the scrollbars.
1904 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1906 * src/hildon-pannable-area.c,
1907 (hildon_pannable_area_init),
1908 (hildon_pannable_area_remove): Removed some unnecessary casts.
1909 (hildon_pannable_area_dispose): Disconnected some signals before
1910 releasing the adjustments.
1912 2009-02-26 Alberto Garcia <agarcia@igalia.com>
1914 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1915 Make sure that all widgets contained in the toolbar are shown.
1917 2009-02-25 Alberto Garcia <agarcia@igalia.com>
1919 * doc/hildon-sections.txt
1920 * src/hildon-picker-button.h
1921 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
1922 (_selection_changed, hildon_picker_button_on_dialog_response)
1923 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
1924 New hildon_picker_button_value_changed() method.
1927 * src/hildon-picker-button-private.h
1928 * src/hildon-picker-button.c (hildon_picker_button_init)
1929 (+hildon_picker_button_disable_value_changed): Add protected
1930 function for disabling the "value-changed" signal.
1932 * src/hildon-date-button.c (hildon_date_button_set_date):
1933 Don't emit "value-changed" for each one of the three columns.
1935 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
1936 before actual change of values)
1938 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1940 * src/hildon-pannable-area.c,
1941 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
1942 for the treeview overshooting.
1944 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1946 * src/hildon-banner.c (+hildon_banner_bind_style):
1947 Renamed from hildon_banner_bind_label_style(), now naming the
1948 banner itself as well.
1949 (hildon_banner_show_information),
1950 (hildon_banner_show_information_with_markup),
1951 (hildon_banner_show_animation), (hildon_banner_show_progress):
1952 Name the widgets and labels, based on their type.
1954 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1957 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1959 * src/hildon-note.c (hildon_note_set_property): call
1960 hildon_note_rename() on HildonNote:note-type set.
1961 (hildon_note_rename): Name the note and its label, based on the
1962 HildonNote:note-type property.
1964 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1967 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1969 * src/hildon-pannable-area.c,
1970 (hildon_pannable_area_class_init),
1971 (hildon_pannable_area_motion_notify_cb): Reviewed the default
1972 panning parameters, increased SPS and deceleration factor. Added
1973 also a margin to control fake directions.
1975 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1977 Patch by Sven Herzberg (sven@imendio.com)
1979 * configure.ac: Add missing AM_PROG_CC_C_0
1980 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
1982 See NB#101420 (Update unit tests and fix make check)
1984 2009-02-23 Alejandro G. Castro <alex@igalia.com>
1986 This patch was applied before but reverted because it caused
1987 problems, we have changed the main condition and tested the
1988 regressions we detected before and they work ok. We have done a
1989 complete review of the topmost algorithm in order to get a more
1992 * src/hildon-pannable-area.c,
1993 (hildon_pannable_area_get_topmost): Added a new parameter to
1994 filter the the windows that do not include those events.
1995 (hildon_pannable_area_button_press_cb),
1996 (hildon_pannable_area_button_release_cb),
1997 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1998 topmost function, we have added the new parameter.
2000 Fixes: NB#97458 (Pannable area prevents propagation of button
2003 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2005 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
2006 if all columns in the selector have an item selected.
2007 (_on_dialog_response): Stop "response" signal emission if there is
2008 any selector column without selected items.
2010 Fixes: NB#101889 (Picker dialog should not close when nothing is
2011 selected in multiple selection list)
2013 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2015 * src/hildon-font-selection-dialog.c
2016 (hildon_font_selection_dialog_class_init),
2017 (hildon_font_selection_dialog_init): Remove the preview
2018 button and dialog, since previewing with default theming is likely
2019 to be overcomplicated. The :preview property has now no effect.
2020 Update documentation blurbs to inform about this.
2022 Fixes: NB#92297 (Preview content is not clearly visible for
2023 default colour text)
2025 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2027 Reviewed the geometry that handles the children size and
2028 scrollbar, now it tries a size and reviews the results depending
2029 on the scrollbars visibility.
2031 * src/hildon-pannable-area.c,
2032 (hildon_pannable_area_realize): Fixed a typo.
2033 (hildon_pannable_area_child_allocate_calculate): Added this
2034 function to calculate the child allocation.
2035 (hildon_pannable_area_size_allocate): Reviewed the allocation
2037 (hildon_pannable_area_check_scrollbars),
2038 (hildon_pannable_area_refresh): Refactored refresh function, this
2039 way we can call the code handling the scrollbars without causing a
2040 size_request, it is interesting in the allocate.
2041 (hildon_pannable_area_init): Replace the callbacks of the
2042 value_changed and changed signals to propertly deal with the
2044 (hildon_pannable_area_grab_notify),
2045 (hildon_pannable_area_initial_effect),
2046 (hildon_pannable_area_launch_fade_timeout),
2047 (hildon_pannable_area_adjust_changed),
2048 (hildon_pannable_area_adjust_value_changed),
2049 (hildon_pannable_area_redraw),
2050 (hildon_pannable_area_button_press_cb),
2051 (hildon_pannable_area_button_release_cb),
2052 (hildon_pannable_area_scroll_cb),
2053 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
2054 code and use the new functions adjust_changed and
2055 adjust_value_changed.
2057 Fixes: NB#101603 (Focus is not even for the text entry boxes in
2058 Contact editor dialog)
2060 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
2065 * configure.ac: Bump version.
2066 * debian/changelog: Updates.
2068 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2070 * src/hildon-pannable-area.c,
2071 (hildon_pannable_area_get_topmost),
2072 (hildon_pannable_area_button_press_cb),
2073 (hildon_pannable_area_button_release_cb),
2074 (hildon_pannable_get_child_widget_at): Reverted the patch for the
2075 topmost function adding the event mask. We have to try a
2076 differente approach because it is still causing problems (NB#9745,
2079 2009-02-19 Alberto Garcia <agarcia@igalia.com>
2081 * src/hildon-banner.c:
2082 Update the maximum width of timed banners.
2083 (force_to_wrap_truncated): Enforce the maximum text width if the
2086 Fixes: NB#102413 (The text margins (wrapping) in information
2087 banner should be HILDON_MARGIN_TRIPLE)
2089 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2091 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
2093 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
2094 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
2095 bound when calculating the scroll indicator position.
2097 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
2098 treat ->lower correctly)
2100 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2102 * src/hildon-caption.c (hildon_caption_class_init): Remove the
2103 expose event handling, since it is not necessary to draw the focus
2106 Fixes: NB#102467 (Do not show highlight on the text in
2109 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2111 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
2112 full height of the toolbar for the button and the label.
2114 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2116 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
2117 padding before the label and after the button.
2119 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2121 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
2123 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2124 Add a GtkVSeparator between the button and the back arrow.
2125 Let the button have automatic size.
2126 Set a name to the widget for theming handling.
2128 Fixes: NB#101793 (Make edit toolbar the same height as window
2129 title bar (use title area theming))
2131 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2133 * src/hildon-helper.c (attach_new_color_element): Fix memory
2136 Fixes: NB#102262 (memory leak in hildon_button_set_style())
2138 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2140 * examples/hildon-button-example.c (common_buttons_window): Don't
2143 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2145 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2146 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
2148 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2150 * src/hildon-gtk.c: Check that the window is realized.
2152 Fixes: NB#102225 (Crash setting the progress indicator to a non
2155 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2157 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
2158 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
2159 instead of modifying the one in the widget style.
2161 Fixes: NB#101043 (Second row of all the command button are
2162 displayed in transparent mode.)
2164 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2166 * src/hildon-date-button.c
2167 * src/hildon-time-button.c: Add gettext macros
2169 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
2171 * src/hildon-date-button.c (hildon_date_button_new):
2172 * src/hildon-time-button.c (hildon_time_button_new_step):
2173 Use new logical strings to set the button default title.
2175 Fixes: NB#99915 (Date and Time options are not localised in Date
2178 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2180 * src/hildon-pannable-area.c
2181 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
2182 the PANNING_THRESHOLD.
2184 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2186 * src/hildon-pannable-area.c,
2187 (hildon_pannable_area_class_init): Increased the maximum speed.
2188 (hildon_pannable_area_get_property),
2189 (hildon_pannable_area_set_property),
2190 (hildon_pannable_area_timeout): Added a new low friction mode, it
2191 allows the user avoid friction when launching the widget fast
2192 enough. It is interesting to traverse long lists.
2194 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2196 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
2197 (+hildon_stackable_window_delete_event): Ignore delete events if
2198 the window is not the topmost one.
2200 Fixes: NB#101698 (Back button long press and delete-event handling)
2202 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2204 * src/hildon-pannable-area.c,
2205 (hildon_pannable_area_motion_notify_cb): Removed the use of the
2206 gtk-dnd-drag-threshold, it was too big. We have defined our own
2207 dnd define and set a smaller value: PANNIG_THRESHOLD.
2209 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2211 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
2212 user-defined icons, use always the default one.
2214 Fixes: NB#101916 (Do not allow custom icons on animation banner)
2216 2009-02-13 Alejandro G. Castro <alex@igalia.com>
2218 This patch was applied before but reverted because it caused
2219 problems, we have changed the main condition and tested the
2220 regressions we detected before and they work ok.
2222 * src/hildon-pannable-area.c,
2223 (hildon_pannable_area_get_topmost): Added a new parameter to
2224 filter the the windows that do not include those events. Added
2225 also a condition when finding the window to filter windows that do
2226 not ask for those events.
2227 (hildon_pannable_area_button_press_cb),
2228 (hildon_pannable_area_button_release_cb),
2229 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2230 topmost function, we have added the new parameter.
2232 Fixes: NB#97458 (Pannable area prevents propagation of button
2235 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2237 * tests/check-hildon-color-button.c (START_TEST): do not leak
2240 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2242 * src/hildon-font-selection-dialog.c
2243 (hildon_font_selection_dialog_get_preview_text): Return NULL
2244 instead of FALSE on the g_return_val_if_fail().
2246 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2248 * src/hildon-time-selector.c (hildon_time_selector_set_time):
2249 * src/hildon-date-selector.c
2250 (hildon_date_selector_select_current_date):
2251 Do not compare unsigned integers to be greater than or equal 0,
2252 because it's always TRUE.
2254 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2256 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
2257 (hildon_date_selector_constructor): Do not select the current
2258 date until we are handle the "changed" signal, to avoid having bogus
2259 elements in the days model.
2261 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2263 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
2264 for num_days, since _month_days() can return a negative value.
2266 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2268 * src/hildon-caption.c (hildon_caption_size_allocate):
2269 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
2270 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
2272 Initialize allocation variables to 0, to avoid eventually using
2273 unitialized variables.
2275 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2277 * src/hildon-bread-crumb-trail.c
2278 (hildon_bread_crumb_trail_size_allocate):
2279 * src/hildon-calendar.c (hildon_calendar_set_background):
2280 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
2281 * src/hildon-range-editor.c (hildon_range_editor_get_range):
2282 * src/hildon-seekbar.c (hildon_seekbar_init):
2283 * src/hildon-time-editor.c (hildon_time_editor_get_time):
2284 * src/hildon-time-selector.c (hildon_time_selector_finalize):
2285 * src/hildon-touch-selector-entry.c
2286 (hildon_touch_selector_get_text_from_model):
2287 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
2288 * src/hildon-window.c (hildon_window_finalize):
2290 Remove many unused variables.
2292 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2294 * src/hildon-seekbar.c: (hildon_seekbar_init),
2295 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
2297 Remove unnecessary g_assert() calls.
2299 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2301 * src/hildon-caption.c: (hildon_caption_expose),
2302 (hildon_caption_set_property), (hildon_caption_init),
2303 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
2304 (hildon_caption_size_request), (hildon_caption_size_allocate),
2305 (hildon_caption_forall), (hildon_caption_set_separator),
2306 (hildon_caption_activate), (hildon_caption_set_child_expand),
2307 (hildon_caption_set_label_text),
2308 (hildon_caption_get_label_alignment):
2310 Remove unnecessary g_assert() calls.
2312 2009-02-12 Alberto Garcia <agarcia@igalia.com>
2314 * src/hildon-banner.c
2315 (hildon_banner_map, hildon_banner_init): Make banner temporary
2316 before mapping it to avoid closing other temporary windows, but
2317 make it non-temporary afterwards to avoid being closed by other
2318 non-temporary windows.
2319 (-hildon_banner_client_event, hildon_banner_init):
2320 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
2322 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
2325 2009-02-11 Alberto Garcia <agarcia@igalia.com>
2327 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
2330 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2332 * src/hildon-remote-texture.c
2333 * src/hildon-remote-texture.h
2334 * src/hildon-remote-texture-private.h
2335 * examples/hildon-remote-texture-example.c:
2336 Updates/fixes to remote-texture and its example.
2338 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
2340 Patch by Mox Soini (ext-mox.soini@nokia.com)
2342 * src/hildon-code-dialog.c: Update logical id.
2343 * src/hildon-set-password-dialog.c: Update logical id.
2345 Fixes: NB#100646 (Logical strings is shown for ok in set
2346 password,Password needed dialogs)
2348 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2351 * src/hildon-remote-texture.c
2352 * src/hildon-remote-texture.h
2353 * src/hildon-remote-texture-private.h
2355 Added remote texture widget (for Clutter shared memory textures)
2357 * examples/hildon-remote-texture-example.c
2358 * examples/Makefile.am
2359 Added example file for remote texture usage
2361 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
2363 * configure.ac: post release version bump.
2364 * debian/changelog: version bump.
2366 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
2371 * configure.ac: Bump version.
2372 * debian/changelog: Updates.
2374 2009-02-06 Alberto Garcia <agarcia@igalia.com>
2376 * src/hildon-date-selector.c (hildon_date_selector_init)
2377 (hildon_date_selector_constructor): Don't connect to the "changed"
2378 signal until the selector is completely constructed.
2380 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2382 * src/hildon-touch-selector.c: (_create_new_column),
2383 (hildon_touch_selector_append_column),
2384 (hildon_touch_selector_set_column_selection_mode),
2385 (hildon_touch_selector_set_active),
2386 (hildon_touch_selector_select_iter):
2387 Emit the HildonTouchSelector::changed signal every time selection
2388 is changed in any of the methods above. This behavior was already
2389 documented but not fully functional.
2391 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
2392 selection is programmatically changed)
2394 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2396 * doc/hildon-sections.txt: Remove obsolete icon
2397 sizes from here as well.
2399 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2401 * examples/hildon-stackable-window-example.c (add_window): Remove
2404 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2406 * src/hildon-app-menu.c
2407 (hildon_app_menu_show): Check whether the parent window of a menu
2408 is topmost before popping it up.
2410 Fixes: NB#100468 (Application menu window is launched even when a
2411 new secondary-window/dialog is pending to be shown/realized.)
2413 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2415 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
2418 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2420 Patch by Mox Soini (ext-mox.soini@nokia.com)
2422 * src/hildon-banner.c: (hildon_banner_show_animation):
2423 use stylus size instead of obsolete note size.
2424 * src/hildon-defines.h: Update icon sizes.
2426 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2428 * src/hildon-touch-selector-entry.c:
2429 (hildon_touch_selector_entry_init): Disable unsupported
2431 (hildon_touch_selector_entry_get_text_column): Emit a warning
2432 if an unsupported input modes is used and explicitile state
2433 these modes in the documentation.
2435 Fixes: NB#99802 (Hildon touch selector entry not working properly
2436 for some of the input modes)
2438 2009-02-05 Alejandro G. Castro <alex@igalia.com>
2440 * src/hildon-pannable-area.c,
2441 (hildon_pannable_area_init): Added the changed signal handlers of
2444 Fixes: NB#100320 (HildonPannableArea does not listen to
2445 GtkAdjustment "change" signals)
2447 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2449 * doc/hildon-sections.txt
2450 * src/hildon-window-private.h
2451 * src/hildon-window.h
2452 * src/hildon-window.c (hildon_window_init)
2453 (hildon_window_realize, hildon_window_unrealize)
2454 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
2455 (hildon_window_size_request, hildon_window_size_allocate)
2456 (hildon_window_forall, hildon_window_show_all)
2457 (hildon_window_destroy, +paint_edit_toolbar)
2458 (+hildon_window_set_edit_toolbar):
2459 New hildon_window_set_edit_toolbar() method, to add a
2460 HildonEditToolbar to a window without having to pack it manually.
2462 Reorganize hildon_window_size_allocate()
2464 * src/hildon-edit-toolbar.c: Update documentation.
2466 * examples/hildon-edit-toolbar-example.c (edit_window): Update
2467 example to use the new API.
2469 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
2471 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2473 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
2474 Remove from stack before calling parent's hide.
2476 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2478 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
2479 window is removed from the middle of the stack, update the
2480 transiency of the previous one.
2482 Fixes: NB#100487 (HildonStackableWindow transiency becomes
2485 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2487 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
2488 block/unblock the signal handler if it's not actually being used.
2489 Fixes some critical warnings.
2491 2009-02-02 Alberto Garcia <agarcia@igalia.com>
2493 Based on a patch by Iván Gómez (igomez@igalia.com)
2495 * src/hildon-banner.c
2499 * src/hildon-pannable-area.c
2500 * src/hildon-picker-dialog.c
2501 * src/hildon-wizard-dialog.h
2502 * src/hildon-wizard-dialog.c: Documentation updates.
2504 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
2505 gtk_dialog_add_button() instead of hildon_dialog_add_button().
2507 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2509 * configure.ac: post release version bump.
2510 * debian/changelog: version bump.
2512 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2517 * configure.ac: Bump version.
2518 * debian/changelog: Updates.
2520 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2522 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
2523 a stock icon nor change the relief of the back arrow.
2525 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2526 graphics from theme)
2528 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2530 * src/hildon-button.c (hildon_button_set_alignment): Use
2531 priv->alignment if the button has no child yet.
2533 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
2535 * src/hildon-button.c: (hildon_button_init): Set the
2536 button style during initialization to give it the proper
2539 Fixes: NB#99713 (HildonButton value label color is wrong)
2541 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2543 * src/hildon-touch-selector.c: Document
2544 hildon_touch_selector_center_on_selected()
2546 2009-01-28 Alberto Garcia <agarcia@igalia.com>
2548 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
2549 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
2550 all menu items, but not the menu itself.
2551 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
2552 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
2553 items after adding them to the menu so keyboard accelerators work.
2554 (hildon_app_menu_show): Don't show the menu if it contains items
2555 but none of them are visible.
2557 * examples/hildon-app-menu-example.c (create_menu): Use
2558 gtk_widget_show_all() to show all menu items.
2560 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2562 * src/hildon-picker-dialog.c:
2563 (-_update_title_on_selector_changed_cb),
2564 (-_dialog_update_title): Removed.
2565 (_select_on_selector_changed_cb), (_on_dialog_response),
2566 (on_selector_columns_changed): Do not update the dialog title.
2567 (setup_interaction_mode): Do not connect to
2568 HildonTouchSelector::changed signal if there's a "done" button, as
2569 the dialog title doesn't need to be updated.
2571 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
2574 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
2576 Patch by Kristian Rietveld (kris@imendio.com)
2578 * src/hildon-touch-selector.c: (_create_new_column): Use new
2579 GtkTreeView::hildon-row-tapped signal to react to user interactions
2580 instead of ::changed.
2582 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
2583 with some dynamic tree model)
2585 2009-01-27 Alberto Garcia <agarcia@igalia.com>
2587 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
2588 (+screen_size_changed, +label_size_request)
2589 (hildon_note_class_init): Make the Hildon information note have a
2590 minimum height, and make its text hvae a maximum width.
2592 Fixes: NB#98614 (Hildon information note (background) should have
2593 minimum height and maximum text width)
2595 2009-01-26 Alberto Garcia <agarcia@igalia.com>
2597 * src/hildon-banner.h
2598 * src/hildon-banner.c (hildon_banner_show_information)
2599 (hildon_banner_show_informationf)
2600 (hildon_banner_show_information_with_markup): Update documentation
2601 to reflect that the icon_name parameter is not used anymore.
2602 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
2603 Remove all code from these functions and mark them as deprecated.
2604 (hildon_banner_show_progress): Mark as deprecated.
2606 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
2608 2009-01-26 Alejandro G. Castro <alex@igalia.com>
2610 * src/hildon-pannable-area.c,
2611 (hildon_pannable_area_class_init),
2612 (tranparency_color),
2613 (hildon_pannable_draw_vscroll),
2614 (hildon_pannable_draw_hscroll),
2615 (hildon_pannable_area_expose_event): Added a new way to render the
2616 scrollbars of the pannable area avoiding using cairo at all. This
2617 way we improve the performance of the pannable area rendering. The
2618 cairo rendering procedure is still in the code, we can control
2619 which one to use changing the value of the define
2620 USE_CAIRO_SCROLLBARS.
2622 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2624 * configure.ac: post release version bump.
2625 * debian/changelog: version bump.
2627 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2632 * configure.ac: Bump version.
2633 * debian/changelog: Updates.
2635 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2637 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
2638 banners instead of destroying them when they receive a button
2641 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2643 Reverted commit 34028, it was causing regressions, probably the
2644 topmost condition is not correct, we have to check it in more
2645 detail. We have reponed the bug: NB#97458 (Pannable area prevents
2646 propagation of button press events)
2648 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2650 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
2651 that the selection is not empty before attempting to retrieve the
2652 current ampm selection.
2654 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2656 * src/hildon-picker-button.c:
2657 (hildon_picker_button_on_dialog_response): Directly update the
2658 button contents when required instead of calling _selection_changed.
2660 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2662 * src/hildon-program.c (hildon_program_update_top_most): Update
2663 'is-topmost' property also when wm_hints is not set.
2665 Fixes: NB#98383 (is-topmost signal is not emitted when task
2666 switcher is clicked.)
2668 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2670 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
2674 * src/hildon-animation-actor.c,
2675 * src/hildon-animation-actor.h: Added the animation actor class,
2676 this widget represents an animation actor for WM-assisted
2677 animation effects in the Hildon framework.
2679 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2681 * src/hildon-window-stack-private.h
2682 * src/hildon-window-stack.c
2683 * src/hildon-stackable-window.c (hildon_stackable_window_show):
2684 Avoid calling gtk_widget_show() again indirectly from
2685 hildon_stackable_window_show()
2687 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2689 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
2692 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2694 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
2695 (hildon_time_selector_init): Move the construction of the hours and
2696 ampm columns to the constructor to preserve the order the columns
2699 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2701 * src/hildon-picker-dialog.c:
2702 (hildon_picker_dialog_class_init): Connect a realize method.
2703 (+hildon_picker_dialog_realize): Setup the interaction mode here
2705 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
2706 yet, do it during the realize instead.
2707 (_on_dialog_response):
2708 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
2709 if the widget is not realized, to avoid the dialog response before it
2712 Avoid premature responses in the HildonPickerDialog that can cause it
2713 to be hidden before it's even shown.
2715 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2717 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
2718 (on_selector_columns_changed), (requires_done_button),
2719 (+prepare_action_area), (setup_interaction_mode),
2720 (_hildon_picker_dialog_set_selector):
2722 Split the interaction mode setup into preparation of the
2723 action area (prepare_action_area()) and the connection of
2724 the signals in setup_interaction_mode() and update the code to
2727 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2729 * src/hildon-pannable-area.c,
2730 (hildon_pannable_area_class_init): Reduced the amount of scrolls
2731 per second to 15, we will check if this is ok regarding
2734 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2736 * src/hildon-pannable-area.c,
2737 (hildon_pannable_axis_scroll): Avoid resize if we already have
2738 reached overshoot_max.
2740 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2742 * src/hildon-pannable-area.c,
2743 (hildon_pannable_area_init),
2744 (hildon_pannable_area_realize),
2745 (hildon_pannable_area_size_allocate),
2746 (hildon_pannable_area_map),
2747 (hildon_pannable_area_unmap),
2748 (hildon_pannable_draw_vscroll),
2749 (hildon_pannable_draw_hscroll),
2750 (hildon_pannable_area_expose_event),
2751 (hildon_pannable_area_refresh): Added a new GdkWindow to the
2752 pannable are to avoid the expose events go to the window and
2753 redraw the window. We save this way that part of the stack and the
2754 paint_boxes. We had to change the positions of the elements when
2757 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
2759 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2760 * src/hildon-color-chooser-dialog.c:
2761 (hildon_color_chooser_dialog_init):
2762 * src/hildon-font-selection-dialog.c:
2763 (hildon_font_selection_dialog_init),
2764 (hildon_font_selection_dialog_show_preview):
2765 * src/hildon-get-password-dialog.c:
2766 * src/hildon-login-dialog.c:
2767 * src/hildon-set-password-dialog.c:
2768 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
2769 * src/hildon-time-picker.c: (hildon_time_picker_init):
2771 Remove obsolete logical string IDs and update to the appropriate ones.
2773 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
2775 2009-01-21 Alberto Garcia <agarcia@igalia.com>
2777 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
2778 that happens if the window hasn't been realized yet.
2780 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
2781 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
2783 2009-01-20 Alberto Garcia <agarcia@igalia.com>
2785 * src/hildon-app-menu.c (hildon_app_menu_class_init)
2786 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
2789 Fixes: NB#98537 (Device hangs in account settings dialog)
2791 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2793 * configure.ac: post release version bump.
2794 * debian/changelog: version bump
2796 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2801 * configure.ac: Bump version.
2802 * debian/changelog: Updates.
2804 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2806 Added a new function to the HildonTimeButton widget that allows to
2807 change the step of the minutes in the selector associated with the
2808 button: hildon_time_button_new_step
2810 * src/hildon-time-button.c,
2811 (hildon_time_button_init),
2812 (hildon_time_button_new),
2813 (hildon_time_button_new_step):
2814 * src/hildon-time-button.h: Added the new function and refactored
2816 * examples/hildon-time-button-example.c,
2817 (main): We have replaced the function without parameters with the
2818 function with the steps set to 5
2820 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
2822 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2824 * src/hildon-time-selector.c,
2825 (hildon_time_selector_class_init),
2826 (hildon_time_selector_constructor),
2827 (hildon_time_selector_get_property),
2828 (hildon_time_selector_set_property),
2829 (_create_minutes_model),
2830 (hildon_time_selector_new_step),
2831 (hildon_time_selector_set_time),
2832 * src/hildon-time-selector.h: Added a new property to the
2833 HildonTimeSelector (minutes-step), we use that property to control
2834 the steps between the minutes in the list of the selector. We have
2835 added a new function to the API to create a widget changing the
2836 step: hildon_time_selector_new_step.
2838 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2840 * src/hildon-time-selector.c,
2841 (hildon_time_selector_class_init),
2842 (hildon_time_selector_constructor),
2843 (hildon_time_selector_init): Overrided the construct function when
2844 creating the time selector object. We have moved the minutes model
2845 handling code from the init to the new construction function:
2846 hildon_time_selector_constructor.
2848 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2850 * examples/hildon-date-button-example.c: (main): Use the new
2851 hildon_date_button_new_with_year_range() method in the example.
2852 * src/hildon-date-button.c:
2853 (+hildon_date_button_new_with_year_range): New public method
2854 to conveniently create a HildonDateButton with a custom year range
2855 in its HildonDateSelector.
2856 * src/hildon-date-button.h: Add the new public method definition.
2858 Fixes: NB#97908 (Not possible to change the year range in
2859 HildonDateSelector/HildonDateButton)
2861 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2863 * src/hildon-date-selector.c:
2864 (+hildon_date_selector_set_property),
2865 (+hildon_date_selector_get_property),
2866 (hildon_date_selector_class_init): Install new properties "min-year"
2867 and "max-year" to define boundaries for the year column.
2868 (_create_year_model): Use the boundary properties to populate the model.
2869 (+hildon_date_selector_new_with_year_range): New public method to
2870 create a HildonDateSelector with a user defined year range.
2871 (hildon_date_selector_select_current_date): Use the new boundaries to
2872 calculate the iterator of current year.
2873 * src/hildon-date-selector.h: Add the new public method definition.
2875 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2877 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
2878 Install a constructor method.
2879 (+hildon_date_selector_construct_ui): construct the widget.
2880 (+hildon_date_selector_constructor): new constructor.
2881 (+hildon_date_selector_init): move out widget construction code to
2882 the new constructor.
2884 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2886 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
2887 that there's actually a month or year selected before obtaining them.
2888 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
2889 of the HildonTouchSelector::changed signal, as it was emitted on every
2890 single item selection.
2892 Fix some warnings and possible crashers due to the selection restoring.
2894 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2896 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
2897 the signal handlers only after creating the dialog instead of on every
2900 2009-01-19 Alberto Garcia <agarcia@igalia.com>
2902 * src/hildon-button.c (hildon_button_init)
2903 * src/hildon-check-button.c (hildon_check_button_init)
2904 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
2905 focus when clicked by default.
2907 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2909 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
2912 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2914 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2915 Alejandro G. Castro (alex@igalia.com)
2917 * src/hildon-picker-dialog.c:
2918 (hildon_picker_dialog_class_init): install new "center-on-show"
2920 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
2921 (hildon_picker_dialog_set_property): add setter code for the new
2923 (hildon_picker_dialog_get_property): add getter code for the new
2925 (hildon_picker_dialog_show): Ensure visibility of selected items in the
2926 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
2929 Fixes: NB#92849 (Selected item is not always visible when
2930 HildonTouchSelector is shown)
2932 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2934 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2935 Alejandro G. Castro (alex@igalia.com)
2937 * src/hildon-touch-selector.c:
2938 (_create_new_column): Do not connect to the "realize" signal of the
2940 (hildon_touch_selector_append_column): center on the selected items
2941 when a new column is appended.
2942 (hildon_touch_selector_select_iter): Factor out the code to select a
2943 column to hildon_touch_selector_scroll_to().
2944 (+search_nearest_element): Method to retrieve the nearest selected
2945 element to the visible area of the pannable area in a column.
2946 (+on_realize_cb): scroll to the initially selected item.
2947 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
2948 the pannable area is realized, otherwise delay this until it is.
2949 (+_hildon_touch_selector_center_on_selected_items): Centers on the
2950 selected items of a given column.
2951 (+hildon_touch_selector_center_on_selected): Public method to center
2952 all columns on the nearest selected item.
2953 * src/hildon-touch-selector.h: Add definition for
2954 hildon_touch_selector_center_on_selected().
2956 Implement public API to ensure visibility of all selected items in
2957 a HildonTouchSelector.
2959 2009-01-16 Alejandro G. Castro <alex@igalia.com>
2961 Fixed a problem in the fading when calling the scroll_to API, and
2962 improve scrollbar fading handling.
2964 * src/hildon-pannable-area.c,
2965 (hildon_pannable_area_grab_notify): avoid the timeout when the
2967 (hildon_pannable_area_button_press_cb),
2968 (hildon_pannable_area_motion_notify_cb): Code style changes.
2969 (hildon_pannable_area_button_release_cb): Review the conditions
2970 when releasing the mouse button to avoid unrequired fading
2972 (hildon_pannable_area_scroll_to): Do not calculate and set the
2973 velocity if the scroll is not required.
2975 2009-01-15 Alberto Garcia <agarcia@igalia.com>
2977 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
2978 Don't check whether the new selector is NULL: it cannot be.
2979 Hold a reference to the selector while doing the replacement.
2981 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2983 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2984 unnecessary size_request in a removed widget.
2986 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2988 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2989 an unnecessary reference tracking that was leaking.
2991 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2993 Added delayed motion notify event handling, this way we can
2994 discard redrawing if more than 25 events arrive per second.
2996 * src/hildon-pannable-area.c,
2997 (hildon_pannable_area_init): Initialized the new private atributes
2998 controlling this timeout
2999 (hildon_pannable_area_dispose): Remove the timeout that controls
3000 the motion notify events.
3001 (hildon_pannable_area_scroll): Added a condition to control the
3002 use of the acceleration.
3003 (hildon_pannable_area_motion_event_scroll_timeout),
3004 (hildon_pannable_area_motion_event_scroll): Added this two
3005 functions, they handle the motion notify events inside the
3007 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
3008 to the scroll method with the new function.
3009 (hildon_pannable_area_button_release_cb): We have to remove the
3010 timeout handler and move to the last position if the last motion
3011 events were not handled.
3013 Fixes: NB#97028 (Pannable area updates on every motion event)
3015 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3017 * src/hildon-pannable-area.c,
3018 (hildon_pannable_area_get_topmost): Added a new parameter to
3019 filter the the windows that do not include those events. Added
3020 also a condition when finding the window to filter windows that do
3021 not ask for those events.
3022 (hildon_pannable_area_button_press_cb),
3023 (hildon_pannable_area_button_release_cb),
3024 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3025 topmost function, we have added the new parameter.
3027 Fixes: NB#97458 (Pannable area prevents propagation of button
3030 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3032 * src/hildon-pannable-area.c,
3033 (hildon_pannable_area_initial_effect): Added controls before
3034 launching the timeout and the idle functions.
3035 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
3036 of the method, in some situations it can return with TRUE and 0 in
3038 (hildon_pannable_area_button_press_cb): We do not need to set
3039 DELAY for fading out here.
3041 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
3043 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3045 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
3046 post-cleaning if the selection is not NULL.
3048 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3050 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
3051 all items before restoring the selection.
3053 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3055 * src/hildon-touch-selector.c:
3056 (+hildon_touch_selector_unselect_all):
3057 * src/hildon-touch-selector.h: New API to unselect all items in a
3058 column of the touch selector.
3060 2009-01-14 Alejandro G. Castro <alex@igalia.com>
3062 * src/hildon-pannable-area.c,
3063 (hildon_pannable_area_redraw): Added a call to the refresh
3064 function inside the redraw because apparently in some cases the
3065 change in the adjustment does not imply a size allocate.
3067 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
3068 despite the view not being scrollable)
3070 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3072 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
3073 leak. Check for NULL before attempting to set the window title.
3075 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3077 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
3078 whether to show or not the 'Done' button each time the dialog is
3079 shown, as it depends on the HildonTouchSelector selection mode.
3081 Fixes: NB#96226 (In multiple selection mode Done button is shown
3082 sometimes in listpicker)
3084 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3086 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3087 for the number of columns in the HildonTouchSelector more than once.
3089 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3091 * src/hildon-touch-selector.c: Minor documentation fixes.
3093 * src/hildon-picker-dialog.c (+_dialog_update_title)
3094 (_select_on_selector_changed_cb)
3095 (_update_title_on_selector_changed_cb)
3096 (on_selector_columns_changed): Update dialog title when there's no
3097 'Done' button and also when the number of columns in the selector
3101 * src/hildon-picker-button.c (hildon_picker_button_finalize)
3102 (+_selection_changed, hildon_picker_button_on_dialog_response)
3103 (hildon_picker_button_selector_selection_changed)
3104 (+hildon_picker_button_selector_columns_changed)
3105 (hildon_picker_button_set_selector): Update button value and emit
3106 'value-changed' when the number of columns in the selector
3110 Fixes: NB#96225 (Dialog titles are not shown according to the
3111 values selected in the list picker)
3113 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3115 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
3116 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
3117 New "arrow-width" and "arrow-height" style properties to set the
3118 size of the arrow button.
3119 Set name of arrow button ("hildon-edit-toolbar-arrow").
3121 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3122 graphics from theme)
3124 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3126 * src/hildon-picker-button.c:
3127 (hildon_picker_button_selector_selection_changed): Use
3128 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
3129 the dialog is present.
3131 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
3132 the selection is accepted in the dialog)
3134 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3136 * src/hildon-color-chooser.h
3137 * src/hildon-color-chooser-dialog.h:
3138 Added G_BEGIN_DECLS and G_END_DECLS
3140 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3142 (_clean_current_selection): plug a leak in the list.
3144 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3146 * src/hildon-picker-dialog.c:
3147 (+free_path_list): Method to free a GList of GtkTreePaths.
3148 (_clean_current_selection), (_save_current_selection),
3149 (_restore_current_selection): Save the current selection in
3150 as a list of lists, to support multiple selection properly.
3152 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3154 patch by Claudio Saavedra (csaavedra@igalia.com)
3156 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
3157 Store the press position.
3158 (+hildon_text_view_button_release_event): If the release position is
3159 close enough to the press position, move the cursor here. Otherwise,
3161 (hildon_text_view_class_init): Override GtkTextView press, release, and
3162 motion event handlers, disabling this way text selection through
3163 pointer interaction, and allowing the container widget to handle the
3166 Fixes: NB#95828 (HildonTextView functionality)
3168 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3170 Based on a patch by Iván Gómez (igomez@igalia.com)
3172 * src/hildon-button.[ch]
3173 * src/hildon-calendar.c
3174 * src/hildon-check-button.c
3175 * src/hildon-date-editor.c
3176 * src/hildon-date-selector.c
3177 * src/hildon-picker-button.c
3178 * src/hildon-time-editor.c
3179 * src/hildon-time-selector.c
3180 * src/hildon-touch-selector.[ch]:
3181 Documentation updates
3183 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3185 * src/hildon-pannable-area.c,
3186 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
3187 threshold, it was required due to X events handling.
3189 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3191 * src/hildon-pannable-area.c,
3192 (hildon_pannable_area_grab_notify),
3193 (hildon_pannable_area_initial_effect),
3194 (hildon_pannable_area_button_press_cb),
3195 (hildon_pannable_area_button_release_cb),
3196 (hildon_pannable_area_scroll_cb),
3197 (hildon_pannable_area_scroll_to): Review the timeout management of
3198 the scrollbar, the frecuency was incorrectly set.
3200 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
3202 * src/hildon-picker-button.c:
3203 (+hildon_picker_button_on_dialog_response),
3204 (hildon_picker_button_clicked): Present the dialog instead of
3205 running it with gtk_dialog_run().
3207 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
3210 2009-01-07 Alberto Garcia <agarcia@igalia.com>
3212 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3213 (hildon_app_menu_finalize): When a window is hidden it doesn't
3214 emit notify::is-topmost, so make sure than the menu also
3215 disappears in that case.
3216 (parent_window_topmost_notify): Renamed from parent_window_hidden
3218 Fixes: NB#94460 (stackable window's menu is not closed when its
3221 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3223 * src/hildon-touch-selector-entry.c:
3224 (+hildon_touch_selector_entry_set_input_mode),
3225 (+hildon_touch_selector_entry_get_input_mode):
3226 * src/hildon-touch-selector-entry.h: New methods to access the input
3227 mode in the selector's entry.
3229 Fixes: NB#93410 (API required for setting IM mode in
3230 HildonTouchSelectorEntry)
3232 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3234 * configure.ac: post release version bump.
3235 * debian/changelog: version bump
3237 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3242 * configure.ac: Bump version.
3243 * debian/changelog: Updates.
3245 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
3247 * src/hildon-touch-selector.c:
3248 (_hildon_touch_selector_has_multiple_selection): No need
3249 to initialize the variables here.
3251 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3253 * src/hildon-note-private.h
3254 * src/hildon-note.c (event_box_press_event, hildon_note_init)
3255 (hildon_note_finalize, hildon_note_rebuild): Close information
3256 notes when they receive a button press.
3258 Fixes: NB#89890 (Information notes does not get disappeared after
3261 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
3263 * src/hildon-wizard-dialog.c: (create_title): Remove translation
3264 mark from the wizard title, as it's not really necessary. Also,
3265 do not display the page title if not set.
3267 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3269 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3270 (parent_window_hidden): Use the window's "is-topmost" property to
3271 detect when to hide the menu.
3273 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3275 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3276 (hildon_app_menu_finalize): If the parent window of the menu is
3277 hidden, hide the menu too.
3279 Fixes: NB#94460 (stackable window's menu is not closed when its
3282 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3285 * debian/libhildon1-examples.install
3287 * examples/Makefile.am:
3288 Use dh_install to install all examples.
3289 Use DEB_SRCDIR instead of defining SOURCE_DIR
3291 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3293 * configure.ac: post release version bump.
3294 * debian/changelog: version bump
3296 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3301 * configure.ac: bump version
3302 * debian/changelog: updates
3303 * debian/control: bump gtk+ dependency
3305 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3307 patch by Christian Dywan (christian@imendio.com)
3309 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
3310 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
3312 2008-12-15 Alberto Garcia <agarcia@igalia.com>
3314 * src/hildon-check-button.c (hildon_check_button_init)
3315 (hildon_check_button_class_init, hildon_check_button_style_set)
3316 (hildon_check_button_apply_style):
3317 New "checkbox-size" style property.
3319 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
3320 larger / configurable size)
3322 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3324 * configure.ac: post release version bump.
3325 * debian/changelog: version bump
3327 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3332 * configure.ac: bump version
3333 * debian/changelog: updates
3335 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3337 * doc/hildon-sections.txt
3338 * src/hildon-pannable-area.c
3339 * src/hildon-program.c
3340 * src/hildon-time-editor.c
3341 * src/hildon-touch-selector-entry.c:
3343 More documentation updates.
3345 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3347 * doc/hildon-sections.txt
3348 * src/hildon-caption.c
3349 * src/hildon-code-dialog.c
3350 * src/hildon-color-button.c
3351 * src/hildon-controlbar.c
3352 * src/hildon-date-editor.c
3353 * src/hildon-date-selector.c
3354 * src/hildon-edit-toolbar.c
3355 * src/hildon-find-toolbar.c
3356 * src/hildon-font-selection-dialog.c
3358 * src/hildon-program.c
3359 * src/hildon-range-editor.c
3360 * src/hildon-seekbar.c
3361 * src/hildon-time-editor.c
3362 * src/hildon-time-selector.c
3363 * src/hildon-volumebar-range.c
3364 * src/hildon-volumebar.c
3365 * src/hildon-vvolumebar.c
3366 * src/hildon-weekday-picker.c
3367 * src/hildon-window.c
3368 * src/hildon-wizard-dialog.c:
3370 Lots of documentation fixes.
3372 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3374 Patch contributed by Iván Gómez (igomez@igalia.com)
3376 * src/hildon-check-button.c:
3377 * src/hildon-date-button.c:
3378 * src/hildon-date-selector.c:
3379 * src/hildon-dialog.c:
3380 * src/hildon-edit-toolbar.c:
3381 * src/hildon-entry.c:
3382 * src/hildon-picker-button.c:
3383 * src/hildon-program.c:
3384 * src/hildon-text-view.c:
3385 * src/hildon-time-button.c:
3386 * src/hildon-touch-selector-entry.c:
3387 * src/hildon-window-stack.c:
3389 Add more "since" tags to the new API.
3391 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3393 * doc/hildon-sections.txt: Add below method.
3394 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
3395 version for the hildonized scale.
3396 * src/hildon-gtk.h: Add the definition.
3398 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3400 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3402 * doc/hildon-sections.txt: Add missing entries for new methods.
3404 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3406 Added API to pannable are in order to get its adjustments. We
3407 added two properties to manage the values we had in the private
3410 * src/hildon-pannable-area.c:
3411 (hildon_pannable_area_class_init): Added hadjustment and
3412 vadjustment properties in order to expose horizontal and vertical
3414 (hildon_pannable_area_get_property),
3415 (hildon_pannable_area_set_property): Added code to handle the new
3417 (hildon_pannable_area_get_hadjustment),
3418 (hildon_pannable_area_get_vadjustment): API functions to get the
3420 * src/hildon-pannable-area.h:
3421 (hildon_pannable_area_get_hadjustment),
3422 (hildon_pannable_area_get_vadjustment): API functions to get the
3425 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3427 Fixed some leaks, after valgrinding.
3429 * src/hildon-touch-selector.c:
3430 (_default_print_func): Fixed a leak.
3431 (hildon_touch_selector_append_column): Fixed a leak.
3432 * src/hildon-date-button.c:
3433 (hildon_date_button_init): Fixed a leak.
3434 * src/hildon-date-selector.c
3435 (hildon_date_selector_finalize): Fixed a leak.
3437 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3439 Based on a patch by Christian Dywan (christian@imendio.com)
3441 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
3443 * src/hildon-gtk.h: Add definition.
3445 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3447 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3449 * src/hildon-picker-button.c: (hildon_picker_button_init),
3450 (hildon_picker_button_new): Set the HildonButton::style property
3451 in the init method, to propagate the value to the derived classes.
3453 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3455 * src/hildon-button.c: (hildon_button_class_init): Do not make
3456 the "style" property a construct property.
3458 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3460 * src/hildon-wizard-dialog.h
3461 * src/hildon-wizard-dialog.c
3462 (hildon_wizard_dialog_set_forward_page_func)
3463 * src/hildon-pannable-area.h
3464 * src/hildon-pannable-area.c
3465 (hildon_pannable_area_set_size_request_policy):
3466 Documentation fixes.
3468 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3470 * doc/hildon-sections.txt: Fixed warning about unused symbols.
3472 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3474 * doc/hildon-sections.txt: Added sections file.
3476 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3479 * src/*.[ch]: Updates.
3481 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
3483 * examples/hildon-progress-indicator-example.c: new file
3484 * examples/Makefile.am: include the new example program
3486 2008-12-10 Alberto Garcia <agarcia@igalia.com>
3488 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
3490 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3492 * configure.ac: post release version bump
3493 * debian/changelog: version bump
3495 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3500 * configure.ac: bump version
3501 * debian/changelog: updates
3502 * debian/control: bump gtk+ dependency
3504 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3506 * src/hildon-dialog.c: Mark as deprecated.
3507 * src/hildon-dialog.h: Mark as deprecated.
3508 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
3509 from HildonDialog and still work, even if
3510 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
3511 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
3513 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
3514 maemo changes) instead)
3516 2008-12-09 Alejandro G. Castro <alex@igalia.com>
3518 * src/hildon-pannable_area.h:
3519 * src/hildon-pannable_area.c:
3520 (hildon_pannable_area_class_init),
3521 (hildon_pannable_area_set_property),
3522 (hildon_pannable_area_get_property),
3523 (hildon_pannable_area_size_request),
3524 (hildon_pannable_area_get_size_request_policy),
3525 (hildon_pannable_area_set_size_request_policy): Added new API
3526 allowing applications to control the request policy. Now they can
3527 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
3528 children allocation (HILDON_MOVEMENT_CHILDREN).
3530 2008-12-09 Alberto Garcia <agarcia@igalia.com>
3534 (hildon_gtk_tree_view_set_ui_mode)
3535 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
3536 mode of treeviews and iconviews.
3538 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3540 * src/hildon-touch-selector-entry.c:
3541 (hildon_touch_selector_entry_init): Use a HildonEntry instead
3542 of a GtkEntry to get proper theming.
3544 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
3545 widget, not GtkEntry)
3547 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3549 * src/hildon-wizard-dialog.c: (response): Move forward if there is
3550 no HildonWizardDialogPageFunc.
3552 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3554 Patch contributed by Iván Gómez (igomez@igalia.com)
3556 * src/hildon-app-menu.c:
3557 * src/hildon-button.c:
3558 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
3559 * src/hildon-stackable-window.c:
3560 * src/hildon-time-selector.c:
3561 * src/hildon-touch-selector.c:
3562 * src/hildon-window.c:
3564 Add more "since" tags to the new API in hildon 2.2.
3566 2008-12-05 Tim Janik <timj@imendio.com>
3568 Patch contributed by Christian Dywan (christian@imendio.com)
3570 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
3571 HildonSizeType, which are supplied by Gtk+ now.
3573 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
3575 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
3576 (with maemo changes) instead)
3578 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3580 Patch contributed by Iván Gómez (igomez@igalia.com)
3582 * src/hildon-pannable-area.c: Add "since" tags to the new API in
3585 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3587 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
3588 (some_page_func), (main): Update the example to use a
3589 HildonWizardDialogPageFunc function.
3591 * src/hildon-wizard-dialog-private.h: Add private data for
3592 the HildonWizardDialogPageFunc function usage.
3594 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
3595 (destroy), (hildon_wizard_dialog_init), (response),
3596 (hildon_wizard_dialog_set_forward_page_func):
3597 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
3598 that applications can use to stop a HildonWizardDialog to jump to
3601 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
3604 2008-12-04 Alberto Garcia <agarcia@igalia.com>
3606 * src/hildon-program.h
3607 * src/hildon-program-private.h
3608 * src/hildon-program.c (hildon_program_init)
3609 (hildon_program_set_common_app_menu)
3610 (hildon_program_get_common_app_menu):
3611 New API for setting a common HildonAppMenu for all
3612 HildonStackableWindows registered with the HildonProgram.
3614 * src/hildon-stackable-window.c
3615 (hildon_stackable_window_toggle_menu):
3616 Use the common HildonAppMenu if a window doesn't have a specific
3619 * src/hildon-app-menu-private.h
3620 * src/hildon-app-menu.c
3621 (hildon_app_menu_get_parent_window):
3622 Function to obtain the window a HildonAppMenu is attached to.
3623 (hildon_app_menu_set_parent_window):
3624 Hide the menu if the parent window is set to NULL.
3626 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
3628 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
3629 set GtkTreeView::enable-search to FALSE, to avoid the interactive
3630 search widget to popup.
3632 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3634 * configure.ac: post release version bump
3635 * debian/changelog: version bump
3637 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3642 * configure.ac: bump version
3643 * debian/changelog: updates
3645 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3647 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
3649 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
3650 (hildon_window_stack_window_realized)
3651 (hildon_window_stack_remove, _hildon_window_stack_do_push):
3652 Set the leader GdkWindow when a window is stacked and realized,
3653 unset it when it's unstacked.
3654 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
3656 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
3658 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3660 * src/hildon-stackable-window.h
3661 * src/hildon-window-stack.h:
3662 Protect definition of HildonWindowStack using the preprocessor.
3664 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3666 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
3667 Fix warning if all menu items are hidden.
3669 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
3671 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3673 * src/hildon-controlbar.c:
3674 * src/hildon-hvolumebar.c:
3675 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
3676 Multiple scale size defines updates.
3678 Fixes: NB#94322 (Scale Updates)
3680 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3682 * examples/hildon-app-menu-example.c (create_menu)
3683 Show items after adding them to the menu, as in the future the
3684 menu will no longer call gtk_widget_show() on the added items.
3686 * src/hildon-app-menu.c:
3687 Update example as explained above.
3689 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3691 * src/hildon-app-menu.c
3692 (hildon_app_menu_insert, hildon_app_menu_add_filter):
3693 Make sure that all menu items have finger height.
3695 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
3697 * src/hildon-picker-dialog.c:
3698 (_on_dialog_response), (_save_current_selection),
3699 (_restore_current_selection), (_clean_current_selection),
3700 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
3701 Defined new functions in order to save the current internal selector
3702 selection previous open the dialog, in case that the use cancel the
3703 interaction, so the widget restores the previous selection.
3705 Fixes: NB#92032 (In calendar application, date values in 'new event'
3708 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
3710 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3712 * src/hildon-button.c: Add a reference to the button examples in
3713 hildon-button-example.c
3715 * examples/hildon-button-example.c: Added examples of the most
3716 common button layouts.
3718 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3720 * src/hildon-app-menu.c (hildon_app_menu_show)
3721 (hildon_app_menu_class_init): Don't show the menu if it's empty.
3723 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
3725 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3727 * src/hildon-picker-dialog.c:
3728 (hildon_picker_dialog_init): Initialize the signal id for
3729 HildonTouchSelector::columns-changed.
3730 (+on_selector_columns_changed): Set up the interaction mode everytime a
3731 column is added or removed from the HildonTouchSelector.
3732 (_hildon_picker_dialog_set_selector): Connect to
3733 HildonTouchSelector::columns-changed and keep track of it.
3735 Make sure to update the interaction mode of the dialog everytime a
3736 column is added or removed in the HildonTouchSelector.
3738 Fixes: NB#93228 (Done button is not shown always in listpicker)
3740 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3742 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
3743 a new ::columns-changed signal.
3744 (hildon_touch_selector_append_column): Emit ::columns-changed.
3745 (hildon_touch_selector_remove_column): Emit ::columns-changed.
3747 Add a ::columns-changed signal, emitted when the number of columns in a
3748 HildonTouchSelector changes.
3750 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3752 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
3753 (_hildon_picker_dialog_set_selector): Factor out the code
3754 to set up the dialog interaction mode.
3756 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3758 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
3759 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
3760 to signal_changed_id.
3762 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3764 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3767 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
3769 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
3770 Updated the logical ids related to ampm format, as now it is required to
3771 show it correctly localized even on languages with no default
3772 abbreviations for am or pm
3773 (_check_am_pm_format): check correctly the 24h format gconf property
3775 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
3777 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3779 * src/hildon-button.c: Documentation updates.
3781 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3783 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
3784 * src/hildon-caption.c: (hildon_caption_class_init):
3785 * src/hildon-color-button.c: (hildon_color_button_class_init):
3786 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
3787 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3788 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
3789 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
3791 Remove deprecated GTK+ marshalers and replace them with the ones
3792 provided by GLib, for those available, add a marshaler for
3793 BOOLEAN:VOID, which is not available in GLib, and use it.
3795 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3797 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
3798 the text from the previous column if there is no
3799 HildonTouchSelectorColumn::text-property set.
3801 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3803 * src/hildon-button.h
3804 * src/hildon-button.c (hildon_button_set_property)
3805 (hildon_button_get_property, hildon_button_class_init)
3806 (hildon_button_set_style, hildon_button_get_style):
3807 New "style" property to change the visual appearance of the
3810 * src/hildon-picker-button.c (hildon_picker_button_new):
3811 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
3813 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
3814 HildonButton look like PickerButton)
3816 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3818 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
3819 column while building the default string.
3821 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3823 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
3824 scroll indicator by default.
3826 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
3828 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3830 * src/hildon-main.c: Fix the documentation for hildon_init()
3832 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3834 * doc/hildon-docs.sgml
3838 * src/hildon-window-stack-private.h
3839 * src/hildon-window-stack.h
3840 * src/hildon-window-stack.c:
3841 New HildonWindowStack object, that adds support for multiple
3842 stacks of windows per process.
3844 * src/hildon-stackable-window-private.h
3845 * src/hildon-stackable-window.h
3846 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
3847 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
3848 (hildon_stackable_window_show, hildon_stackable_window_hide)
3849 (hildon_stackable_window_class_init)
3850 (hildon_stackable_window_init):
3851 Use HildonWindowStack for stack management.
3853 * src/hildon-program.c (hildon_program_pop_window_stack)
3854 (hildon_program_peek_window_stack)
3855 (hildon_program_go_to_root_window):
3856 Add a fallback implementation to the deprecated functions using
3859 * examples/hildon-stackable-window-example.c:
3860 Use the new HildonWindowStack API.
3862 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3864 * src/hildon-stackable-window-private.h
3865 * src/hildon-stackable-window.c (hildon_stackable_window_show)
3866 (hildon_stackable_window_hide, hildon_stackable_window_init):
3867 Remove all window stack management.
3869 * src/hildon-program-private.h
3870 * src/hildon-program.h
3871 * src/hildon-program.c (hildon_program_init)
3872 (hildon_program_pop_window_stack)
3873 (hildon_program_peek_window_stack)
3874 (hildon_program_go_to_root_window):
3875 Remove all window stack management and mark functions as
3878 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3880 * src/hildon-app-menu.c (hildon_app_menu_realize):
3881 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
3883 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3885 * configure.ac: post release version bump
3886 * debian/changelog: version bump
3888 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3893 * configure.ac: bump version
3894 * debian/changelog: updates
3896 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3898 Based on initial code by Christian Dywan (christian@imendio.com)
3900 * doc/hildon-docs.sgml: Add section for hildon-main.
3901 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
3902 * src/Makefile.am: Add new hildon-main.[ch]
3903 * src/hildon-defines.h: Update the icon sizes.
3904 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
3905 new library initialization files and register icon sizes.
3906 * src/hildon-main.h: New declarations.
3907 * src/hildon.h: Include hildon-main.h
3909 Add new initialization functions to the library. These methods
3910 will register the hildon specific icon sizes and can be used in the
3911 future for other hildon specific bits.
3913 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
3915 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3917 * src/hildon-window.c: (hildon_window_realize),
3918 (hildon_window_notify), (-hildon_window_update_title): Do not set
3919 the application name in the window title.
3921 Fixes: NB#89754 (Applications shouldn't display their names in the
3924 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3926 * src/hildon-note-private.h:
3927 * src/hildon-note.c: (hildon_note_set_property),
3928 (hildon_note_get_property), (hildon_note_class_init),
3929 (hildon_note_init), (hildon_note_finalize),
3930 (hildon_note_new_confirmation_with_icon_name),
3931 (hildon_note_new_information_with_icon_name):
3933 No need to mark as deprecated the actual code. Revert
3934 to avoid missing symbols in widgets using deprecated API.
3936 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3938 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
3940 * src/hildon-volumebar.h
3941 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
3942 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
3944 * src/hildon-helper.h
3945 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
3946 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
3948 * examples/Makefile.am:
3949 Deprecate hildon-insensitive-example
3951 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
3953 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3955 * examples/hildon-pannable-area-buttons-scroll-example.c:
3956 Make all buttons finger height
3958 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
3960 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
3962 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
3963 update the day model only if it is really required, and to avoid the
3964 full-reconstruction aproach. Now it only add or remove the required days.
3966 The purpose of this is avoid superfluous HildonTouchSelector::changed
3969 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
3970 with strange parameters)
3972 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
3974 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
3976 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
3977 the WINDOW_TYPE property.
3979 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
3981 2008-11-19 Alberto Garcia <agarcia@igalia.com>
3984 Fix dependency to allow parallel compilation with make -jX
3986 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
3988 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
3989 color frame and some minor tweaks to make it more consistent with
3992 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
3993 highlighted but not visible)
3995 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3997 * examples/Makefile.am: Fixed typo in the Makefile.am.
3999 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4001 Reviewed the use of MAEMO_GTK define, now we add the define in the
4002 compilation line, and we also add it to the pc file.
4004 * configure.ac: Added MAEMO_GTK define to the compilation command
4005 and removed it from the config.h.
4007 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
4008 do not have to take care about this define if the library was
4012 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
4014 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4016 * examples/Makefile.am,
4017 * examples/hildon-pannable-area-buttons-scroll-example.c,
4018 * examples/hildon-pannable-area-gesture-signals-example.c,
4019 * examples/hildon-pannable-area-scroll-jump-example.c,
4020 * examples/hildon-pannable-area-tree-view-example.c:
4021 Renamed the pannable area examples, now they have more meaningful
4024 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
4026 * src/hildon-touch-selector.c:
4027 (hildon_touch_selector_set_column_selection_mode): Used of
4028 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
4029 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
4030 to avoid re-seting the same selection mode.
4032 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
4033 breaks HildonPickerDialog)
4035 2008-11-13 Alejandro G. Castro <alex@igalia.com>
4037 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
4038 conditional in the Makefile.am
4040 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
4042 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
4043 Remove unused methods.
4045 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4047 * src/hildon-button.c (hildon_button_init):
4048 Make button images center-aligned by default
4050 2008-11-12 Alejandro G. Castro <alex@igalia.com>
4053 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
4054 activated, we have to think about how to deal with both defines
4055 MAEMO_GTK and MAEMO_CHANGES.
4057 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4059 * examples/hildon-app-menu-example.c (create_menu): Make all
4060 buttons finger size.
4062 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4064 Fixed the compilation without maemo gtk adding ifdefs with
4065 MAEMO_GTK define to the code, we have to check this version more
4068 * examples/Makefile.am: Added control to avoid some examples that
4069 just make sense with maemo gtk.
4072 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
4073 hildon modes with the define.
4075 * examples/hildon-edit-toolbar-example.c,
4076 (create_icon_view): Create the icon view without hildon-gtk
4077 helpers if we are not using maemo gtk.
4079 * src/hildon-touch-selector.c,
4080 (_create_new_column): Create the treeview without hildon-gtk
4081 helpers if we are not using maemo gtk.
4083 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4085 * src/hildon-pnnable-area.c,
4086 (hildon_pannable_area_dispose),
4087 (hildon_pannable_area_button_press_cb),
4088 (hildon_pannable_area_child_mapped),
4089 (hildon_pannable_area_add),
4090 (hildon_pannable_area_remove): Added code to control the position
4091 of the event_window when adding and removing children from the
4092 pannable. We have to raise the event window when the child is
4095 Fixes: NB#89811 (Not able to select first image thumbnail in multi
4096 selection mode using custom widget inside pannable)
4098 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4100 * configure.ac: post release version bump
4101 * debian/changelog: version bump
4103 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4108 * configure.ac: bump version
4109 * debian/changelog: updates
4111 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
4113 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
4114 search mode, in order to avoid lose the focus on the treeview when
4115 a hw key (like enter) is pressed.
4117 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
4118 in HildonDateSelector dialog)
4120 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
4122 * debian/rules: Added --enable-maintainer-mode
4123 * Makefile.am: Added ACLOCAL_AMFLAGS
4125 This allows to properly regenerate the Makefiles if you modify the
4126 configure.ac or any Makefile.am.
4128 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4130 * examples/hildon-app-menu-example.c: (main): Do not set RC style
4131 properties, not needed at all.
4133 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4135 * src/hildon-note-private.h: Add strings for the icon and stock_icon
4137 * src/hildon-note.c: (hildon_note_set_property),
4138 (hildon_note_get_property), (hildon_note_class_init),
4139 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
4140 (hildon_note_new_confirmation_add_buttons): Remove icons.
4141 (hildon_note_new_confirmation_with_icon_name): Deprecate.
4142 (hildon_note_new_information_with_icon_name): Deprecate.
4143 (hildon_note_new_confirmation): Act directly, without calling
4144 the deprecated constructor.
4145 (hildon_note_new_information): Act directly, without calling
4146 the deprecated constructor.
4147 * src/hildon-note.h: Mark deprecate methods as such.
4148 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
4149 not run tests on the deprecated methods if built with deprecation
4152 Fixes: NB#91688 (Never show icons in information notes/confirmation
4155 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4157 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
4158 (hildon_app_menu_key_press): Remove leftover usage of the
4159 private structure in HildonAppMenu struct.
4160 * src/hildon-app-menu.h: Remove leftover private structure
4161 from the HildonAppMenu struct.
4163 Fixes a crasher when using the HildonAppMenu.
4165 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4167 * src/hildon-picker-dialog.c: Use appropriate logical id
4168 for the default "Done" text.
4170 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4172 * configure.ac: post release version bump
4173 * debian/changelog: version bump
4175 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
4177 Modified the way to scroll to the current selection just when the touch
4178 selector is shown on the screen, avoiding a g_idle. Added too a property
4179 to configure this behaviour. See hildon_pannable_area_jump_to_child
4180 documentation for more information.
4182 * src/hildon-touch-selector.c
4183 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
4184 Added 'initial-scroll' property
4185 (hildon_touch_selector_set_property): Added
4186 (hildon_touch_selector_map): Removed as not required anymore
4187 (_hildon_touch_selector_on_selected_items): Modified in order to manage
4188 only a concrete column, instead of iterate along all the columns
4190 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4195 * configure.ac: bump version
4196 * debian/changelog: updates
4198 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4200 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
4201 compilation time warnings.
4203 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4205 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4206 the default value for HildonPannableArea::mov-mode to
4207 HILDON_PANNABLE_AREA_MODE_VERT.
4209 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
4211 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4213 Reverting following commit:
4215 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4217 * src/hildon-app-menu-private.h
4218 * src/hildon-app-menu.[ch]
4219 * src/hildon-button.[ch]
4220 * src/hildon-check-button.[ch]
4221 * src/hildon-entry.[ch]
4222 * src/hildon-pannable-area.[ch]
4223 * src/hildon-text-view.[ch]:
4224 Added private field to the object's structure.
4226 because it causes an ABI breakage. We will need to introduce these
4227 changes later at some point. See NB#91636 for an extensive
4228 explanation and status.
4230 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4232 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4234 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4235 remove special cases that are no longer necessary.
4237 Fixes: NB#91016 (Change toolbar sizes, simplification)
4239 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4241 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4242 is shown in the cancel note.
4244 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4246 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
4247 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
4248 (hildon_seekbar_init): Remove steppers, remove expose event.
4249 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
4251 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
4253 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
4255 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
4256 label font to "SmallSystemFont" for vertically arranged buttons.
4258 Fixes: NB#90662 (HildonButton "value" and "detail" text is
4261 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4263 * src/hildon-check-button.c
4264 (hildon_check_button_set_active, hildon_check_button_clicked):
4265 Don't access private parts directly, use getters instead.
4267 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4269 * src/hildon-check-button.c (hildon_check_button_new):
4270 Align the contents of the check button to the left.
4272 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4274 * src/hildon-pannable-area.c,
4275 (hildon_pannable_area_scroll_to),
4276 (hildon_pannable_area_jump_to),
4277 (hildon_pannable_area_scroll_to_child),
4278 (hildon_pannable_area_jump_to_child): Replace the mapped
4279 precondition of these functions with the realized, it is the
4280 correct state of the widget in this case. Changed the
4281 documentation according to this modification.
4283 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4285 Added a new EXTRA_CFLAGS option to add the deprecated define to
4286 the compilation command. This way we can avoid using the define in
4287 the documentation compilation.
4289 * configure.ac: Defined EXTRA_CFLAGS.
4291 * examples/Makefile.am:
4293 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
4295 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
4297 * src/hildon-picker-dialog.c:
4298 Defined a utility macro with the desired touch selector height
4299 Removed currently unused separator, and title_label variables from
4301 (hildon_picker_dialog_init): Removed code related to the creation
4302 of unused private variables title_label and separator.
4303 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
4304 to ensure correct visualization of the touch selector inside the dialog.
4305 * src/hildon-touch-selector.c
4306 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
4307 ensure a concrete height of the widget.
4309 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4312 * tests/Makefile.am:
4314 Remove spurious whitespaces.
4316 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4318 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
4319 compilation warning after the cancel button removal.
4321 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4323 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
4325 * configure.ac: Added an AM_CONDITIONAL in order to use in the
4326 Makefile.am, that way we can choose not to compile some examples
4327 and tests of the deprecated widgets.
4329 * examples/Makefile.am: Divided the sources in deprecated and
4332 * src/Makefile.am: Added undef statement of the deprecated
4333 symbol to the enums file generation process.
4335 * src/hildon-color-chooser-dialog.c
4336 * src/hildon-color-chooser-dialog.h
4337 * src/hildon-color-button.c
4338 * src/hildon-color-button.h
4339 * src/hildon-color-chooser.c
4340 * src/hildon-color-chooser.h
4341 * src/hildon-controlbar.c
4342 * src/hildon-controlbar.h
4343 * src/hildon-date-editor.c
4344 * src/hildon-date-editor.h
4345 * src/hildon-hvolumebar.c
4346 * src/hildon-hvolumebar.h
4347 * src/hildon-private.c
4348 * src/hildon-private.h
4349 * src/hildon-range-editor.c
4350 * src/hildon-range-editor.h
4351 * src/hildon-seekbar.c
4352 * src/hildon-seekbar.h
4353 * src/hildon-time-editor.c
4354 * src/hildon-time-editor.h
4355 * src/hildon-time-picker.c
4356 * src/hildon-time-picker.h
4357 * src/hildon-volumebar.c
4358 * src/hildon-volumebar.h
4359 * src/hildon-vvolumebar.c
4360 * src/hildon-vvolumebar.h
4361 * src/hildon-bread-crumb-trail.h
4362 * src/hildon-bread-crumb-trail.c
4363 * src/hildon-calendar-popup.c
4364 * src/hildon-calendar-popup.h
4365 * src/hildon-weekday-picker.c:
4366 * src/hildon-weekday-picker.h:
4367 * src/hildon-bread-crumb-widget.c:
4368 * src/hildon-bread-crumb-widget.h:
4369 * src/hildon-bread-crumb.c:
4370 * src/hildon-bread-crumb.h:
4371 * src/hildon-calendar.c:
4372 * src/hildon-calendar.h:
4373 * src/hildon-caption.c:
4374 * src/hildon-code-dialog.c:
4375 * src/hildon-code-dialog.h:
4376 * src/hildon-font-selection-dialog.c:
4377 * src/hildon-font-selection-dialog.h:
4378 * src/hildon-get-password-dialog.c:
4379 * src/hildon-get-password-dialog.h:
4380 * src/hildon-login-dialog.c:
4381 * src/hildon-login-dialog.h:
4382 * src/hildon-number-editor.c:
4383 * src/hildon-number-editor.h:
4384 * src/hildon-set-password-dialog.c:
4385 * src/hildon-set-password-dialog.h:
4386 * src/hildon-sort-dialog.c:
4387 * src/hildon-sort-dialog.h: This is the list of deprecated
4390 * src/hildon-touch-selector.c:
4391 * src/hildon-window.c: Added undef statement to avoid compilation
4394 * tests/Makefile.am: Divided the sources in deprecated and
4397 * tests/check_test.c,
4398 (configure_tests): Marked the deprecated code that was adding
4399 suites with deprecated tests.
4401 Fixes: NB#91135 (Deprecate legacy hildon widgets)
4403 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4405 * src/hildon-touch-selector.c: (_default_print_func): Do not
4406 duplicate a string returned by gtk_tree_model_get(), it is already
4409 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
4412 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4414 * src/hildon-pannable-area.c
4415 (hildon_pannable_area_add_with_viewport): Reviewed the complete
4416 method, it had problems when adding a widget with viewport the
4417 second time. Now checks if it already has a viewport and uses it.
4419 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
4422 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4424 * src/hildon-pannable-area.c,
4425 (hildon_pannable_area_scroll_to),
4426 (hildon_pannable_area_jump_to),
4427 (hildon_pannable_area_scroll_to_child),
4428 (hildon_pannable_area_jump_to_child): Added a precondition to the
4429 scroll and jump to functions: the widget must be mapped before we
4430 can safely call these functions. We have also added documentation
4431 to the functions to explain how to use them in this situation.
4434 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4436 Reviewed the threading handling of the pannable widget, we have
4437 used the gdk_threads_add_timeout function instead of the usual
4438 glib handlers. This avoids some problems with the threads.
4440 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
4441 (hildon_pannable_area_initial_effect),
4442 (hildon_pannable_area_scroll_indicator_fade),
4443 (hildon_pannable_area_button_press_cb),
4444 (hildon_pannable_area_timeout),
4445 (hildon_pannable_area_motion_notify_cb),
4446 (hildon_pannable_area_button_release_cb),
4447 (hildon_pannable_area_scroll_cb),
4448 (hildon_pannable_area_scroll_to): Removed the
4449 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
4450 gdk_threads_add_timeout.
4452 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
4454 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4459 * configure.ac: bump version
4460 * debian/changelog: updates
4462 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4464 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4465 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
4466 * src/hildon-color-chooser-dialog.c:
4467 (hildon_color_chooser_dialog_init):
4468 * src/hildon-font-selection-dialog.c:
4469 (hildon_font_selection_dialog_init):
4470 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
4472 Remove all cancel/close-like dialogs, as these are not going to be
4475 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4477 * src/hildon-note.c: (hildon_note_rebuild),
4478 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
4481 Fixes: NB#90661 (Delete dialog is displayed without NO button)
4483 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4485 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
4486 sure all buttons are shown, even the Cancel/Close-like ones.
4488 Fixes: NB#90861 (Custom Confirmation dialogs should be
4489 protected from cancel button removal)
4491 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4493 * debian/control: Change libhildon1-examples dependency from libhildon1
4495 * debian/libhildon1-examples.install
4497 * Makefile.am: Modified the final install directory for the examples on
4498 package libhildon1-examples
4499 * Makefile.static: Update clean target in order to remove all the binary
4502 Changes suggested by Claudio after review new libhildon1-examples package
4504 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
4506 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
4507 * src/hildon-touch-selector.c: Ditto.
4509 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4511 * debian/control: Added new package libhildon1-examples, in order to pack
4512 the current hildon examples as documentation
4513 * debian/rules: Not to compress .c files, modify some includes on the
4514 examples (as normally are compiled locally, but when installed it will
4515 require to include the installed libhildon1 library), and rename
4517 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
4518 install all the example files on the new example package
4519 * examples/Makefile.static: Added static makefile that can be used to
4520 compile the examples, once installed the new example package
4521 * examples: Most of the examples were modified in order to grant that
4522 all use only '#include "hildon.h"', in order to be easy to prepare
4523 it on the example package
4525 2008-10-23 Alberto Garcia <agarcia@igalia.com>
4528 * debian/libhildon1-dev.install
4529 * debian/libhildon1-doc.install:
4530 Move all gtk-doc files to a separate libhildon1-doc package.
4532 2008-10-23 Daniel Borgmann <danielb@openismus.com>
4534 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4536 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
4538 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
4540 * debian/rules: Fixed a error in order to avoid unnecessary calls
4541 to autogen.sh on package building
4543 2008-10-22 Alberto Garcia <agarcia@igalia.com>
4545 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
4547 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4549 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
4552 2008-10-21 Alberto Garcia <agarcia@igalia.com>
4554 * src/hildon-picker-button.c
4555 (hildon_picker_button_finalize):
4556 Free priv->done_button_text
4558 * src/hildon-time-button.c
4559 (hildon_time_button_set_time)
4560 * src/hildon-picker-button.c
4561 (hildon_picker_button_clicked)
4562 (hildon_picker_button_selector_selection_changed)
4563 (hildon_picker_button_set_selector)
4564 * src/hildon-date-button.c
4565 (hildon_date_button_set_date):
4566 Free strings returned by hildon_touch_selector_get_current_text()
4568 * src/hildon-button.c (hildon_button_construct_child):
4569 Fix leaks in priv->image and priv->label_box
4571 Fixes: NB#90535 (Memory leak in picker button)
4573 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4575 * src/hildon-button.c: (hildon_button_get_property): Do not access
4576 private elements directly, use getters instead.
4578 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4580 * src/hildon-app-menu-private.h
4581 * src/hildon-app-menu.c
4582 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
4583 Store the menu's parent window.
4585 * src/hildon-stackable-window.c
4586 (hildon_stackable_window_toggle_menu)
4587 (hildon_stackable_window_finalize):
4588 Set the menu's parent window when the menu is shown, unset it when
4591 * src/hildon-app-menu.c
4592 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
4593 (hildon_app_menu_class_init):
4594 Send unhandled keyboard accelerators to the parent window.
4596 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4598 * src/hildon-stackable-window.c
4599 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
4601 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4603 * configure.ac: post release version bump
4605 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4608 * configure.ac: Bump version
4609 * debian/changelog: Updates
4610 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
4613 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4615 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4618 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
4619 GtkMenu with Hildon style.
4621 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4623 * src/hildon-picker-button.c:
4624 (hildon_picker_button_set_done_button_text): Set the dialog's
4625 done button text here as well.
4627 Fixes: NB#90232 (Picker button does not set the label on done button
4628 for the second time)
4630 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4632 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
4635 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4637 * src/hildon-app-menu.c (hildon_app_menu_insert)
4638 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
4639 the HildonAppMenu to be activatable using keyboard accelerators
4640 when the menu is not being shown.
4642 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
4644 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4646 * src/hildon-stackable-window.c
4647 (hildon_stackable_window_show):
4648 Don't hide old windows automatically when new windows are shown:
4649 this is now a task for the window manager.
4650 (hildon_stackable_window_class_init)
4651 (hildon_stackable_window_hide):
4652 Remove windows from the stack everytime they're hidden.
4653 (hildon_stackable_window_realize):
4654 Don't change the _NET_WM_WINDOW_TYPE property. Use
4655 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
4656 it as a stackable window.
4658 * src/hildon-program.c
4659 (hildon_program_pop_window_stack):
4660 Just hide the window to remove it from the stack.
4661 (hildon_program_go_to_root_window):
4662 Don't call gtk_widget_show(), this is now a task for the window
4665 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
4667 2008-10-15 Alberto Garcia <agarcia@igalia.com>
4669 * src/hildon-button.c
4670 (hildon_button_construct_child):
4671 Don't pack anything in the button until text or image are
4672 set. This allows adding a custom child after creating the button
4673 with hildon_button_new().
4674 (hildon_button_finalize, hildon_button_class_init)
4675 (hildon_button_init, hildon_button_set_arrangement): Destroy the
4676 alignment and the label box even when they're not packed in the
4679 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
4681 * src/hildon-touch-selector.h:
4682 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
4683 currently the type definition was using GTK_TYPE_VBOX
4684 * src/hildon-touch-selector.c:
4685 Added some implementation notes in order to clarify that any other widget
4686 added without the column related API will not be included on the
4687 selection logic, and how the widget is freed, as some people ask about
4689 (hildon_touch_selector_remove): Reimplemented in order to free properly
4690 the column related data when you remove the private hbox.
4691 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
4692 to get a proper HildonTouchSelectorColumn documentation
4694 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4696 * src/hildon-touch-selector-entry.c:
4697 (hildon_touch_selector_entry_print_func): Return NULL if there is no
4698 text in the GtkEntry and there is no item selected. Fixes a
4701 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4703 * src/hildon-app-menu-private.h
4704 * src/hildon-app-menu.[ch]
4705 * src/hildon-button.[ch]
4706 * src/hildon-check-button.[ch]
4707 * src/hildon-entry.[ch]
4708 * src/hildon-pannable-area.[ch]
4709 * src/hildon-text-view.[ch]:
4710 Added private field to the object's structure.
4712 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4714 * configure.ac: post-release version bump
4716 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4720 * configure.ac: pre-release version bump
4722 * debian/changelog: updates.
4724 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4726 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
4727 Disconnect the handler for HildonTouchSelector::changed.
4729 (hildon_picker_button_selector_selection_changed): Update the button
4730 value if the selection change was not triggered by the
4733 (hildon_picker_button_set_selector): connect to
4734 HildonTouchSelector::changed.
4736 Fixes: NB#89650 (Picker button is not updated, when selection in
4737 selector has changed)
4739 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
4741 * src/hildon-picker-dialog.c
4742 (hildon_picker_dialog_realize): Removed as not required
4743 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
4744 * src/hildon-picker-button.c
4745 (_current_selector_empty): New function, checks if the selector is empty
4746 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
4747 if the current selector is empty, in order to avoid to show the dialog
4748 close the dialog in this case (and shows a g_warning).
4750 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
4752 2008-10-09 Alejandro G. Castro <alex@igalia.com>
4754 * src/hildon-pannable-area.c,
4755 (hildon_pannable_area_scroll): Added clause to stop movement when
4756 the child of pannable is smaller than one page.
4757 (hildon_pannable_area_scroll_to): Added conditions to avoid
4758 starting the scrolling movement if the child is smaller than one
4759 page, the complete child is in the screen, we do not have to move.
4761 Fixes: NB#89632 (Picker button selection doesn't change on first click)
4763 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4765 * src/hildon-app-menu.c: Removed the 'columns' property, as now
4766 this is managed automatically by the widget when the size of the
4769 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4771 * src/hildon-picker-button.c
4772 (hildon_picker_button_set_done_button_text): Make a copy of the
4773 text, and free the previous value.
4775 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4777 * src/hildon-touch-selector-entry.c:
4778 (hildon_touch_selector_entry_print_func): Return the selected row's
4779 text if the entry is empty.
4781 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
4784 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4786 * src/hildon-touch-selector-entry.c: Minor docs fixes.
4788 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4791 * src/hildon-check-button.h
4792 * src/hildon-check-button.c
4793 * examples/hildon-check-button-example.c:
4794 HildonCheckButton is now a new widget. 'toggled' signal added.
4796 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4798 * src/hildon-program-private.h
4799 * src/hildon-program.c (hildon_program_init)
4800 (hildon_program_finalize): Removed unused variables group_leader
4801 and name from HildonProgramPrivate.
4803 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4805 * src/hildon-check-button.c (hildon_check_button_set_active)
4806 (hildon_check_button_get_active, hildon_check_button_new): Use
4807 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
4809 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
4811 * src/hildon-touch-selector.h
4812 (hildon_touch_selector_set_column_attributes): added deprecation
4813 guard HILDON_DISABLE_DEPRECATED
4814 * src/hildon-time-selector.c
4815 (hildon_time_selector_set_time)
4816 (hildon_time_selector_get_time): Fixed a typo on documentation
4817 * src/hildon-touch-selector.c: update HildonTouchSelector and
4818 HildonTouchSelectorColumn documentation
4819 * src/hildon-touch-selector-entry.c: update "text-column" property
4821 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
4822 to be added to the general documentation.
4824 2008-10-08 Alejandro G. Castro <alex@igalia.com>
4826 * examples/hildon-pannable-area-example-4.c,
4828 * examples/hildon-pannable-area-example.c,
4829 (main): Modified the code in order to use the container add, with
4830 viewport treeviews could have problems if they are really big.
4832 2008-10-06 Alejandro G. Castro <alex@igalia.com>
4834 * src/hildon-weekday-picker.c,
4835 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
4836 the agreement regarding deprecation in the library.
4838 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4840 * examples/hildon-picker-button-multicolumn-example.c:
4841 (main): Use custom "done" button text.
4843 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4844 (hildon_picker_button_set_property),
4845 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4846 (hildon_picker_button_init),
4847 (+hildon_picker_button_get_done_button_text),
4848 (+hildon_picker_button_set_done_button_text): New methods to customize
4849 the "done" button label in the launched HildonPickerDialog. Also,
4852 * src/hildon-picker-button.h: add the public API.
4854 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4856 * src/hildon-date-selector.h:
4857 * src/hildon-picker-dialog.h:
4858 * src/hildon-time-selector.h:
4859 * src/hildon-touch-selector-column.h:
4860 * src/hildon-touch-selector.h:
4862 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
4863 declarations. Fixes gtk-doc warnings.
4865 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4867 * src/hildon-picker-dialog.h
4868 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
4869 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
4871 Fixes: NB#89329 (selectors in picker dialog are not visible when a
4872 long text is set as label for done button)
4874 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4876 * src/hildon-dialog.c (hildon_dialog_add_button):
4877 Set fixed width to all buttons in the HildonDialog.
4879 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4881 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4883 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
4884 Set widget name using class name plus "-finger" or "-thumb".
4886 2008-10-03 Alberto Garcia <agarcia@igalia.com>
4888 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
4889 'clicked' when the state of the button is manually changed.
4891 2008-10-02 Alberto Garcia <agarcia@igalia.com>
4893 * src/hildon-app-menu.c (hildon_app_menu_realize)
4894 (hildon_app_menu_unrealize, hildon_app_menu_init)
4895 (hildon_app_menu_class_init, item_visibility_changed):
4896 Change the menu layout when the size of the screen changes.
4897 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
4898 Show warning only when changing the number of colums using the
4901 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
4903 * debian/compat: Set to 5
4904 * debian/control: Update dependencies.
4905 * debian/libhildon1-dbg.install: Remove.
4906 * debian/libhildon1-dev.install: Update according to cdbs paths.
4907 * debian/libhildon1.install: Update according to cdbs paths.
4908 * debian/rules: Switch to cdbs.
4910 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4912 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
4913 'item' variable renamed to 'filter'
4915 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4917 * src/hildon-app-menu.c (hildon_app_menu_insert)
4918 (hildon_app_menu_add_filter, remove_item_from_list)
4919 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
4920 Don't leak hidden items when the menu is destroyed.
4922 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4924 * src/hildon-app-menu.c (hildon_app_menu_insert)
4925 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
4926 (hildon_app_menu_set_columns, item_visibility_changed)
4927 (filter_visibility_changed, hildon_app_menu_repack_filters)
4928 (hildon_app_menu_repack_items):
4929 Repack items and filters separately.
4931 Don't repack all items, change only the ones that are needed to
4934 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4936 * src/Makefile.am: added hildon-touch-selector-column.h
4938 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4940 * src/hildon-touch-selector.c: added the property "text-column" to the
4941 class HildonTouchSelectorColumn, and related get/set functions
4942 (_default_printf_func): updated to use "text-column" property
4943 * src/hildon-touch-selector-entry.c: mark as deprecated the property
4944 "text-column" in his documentation, as this is now included on
4945 HildonTouchSelectorColumn. The get/set_property can still be used,
4946 working as a wrapper to the concrete column "text-column" property
4947 (_text_column_modified): callback added in order to handle the signal
4948 "notify::text-column" of the concrete HildonTouchSelectorColumn
4949 (hildon_touch_selector_entry_get_text_column)
4950 (hildon_touch_selector_entry_set_text_column): Added documentation, and
4951 modified in order to use the HildonTouchSelectorColumn "text-column"
4953 * src/hildon-time-selector.c:
4954 * src/hildon-date-selector.c:
4955 * examples/hildon-touch-selector-example.c
4956 * examples/hildon-touch-selector-multi-cells-example.c
4957 * examples/hildon-picker-button-multicolumn-example.c
4958 Set the right value to "text-column" property on the creation of a new
4959 column using hildon_touch_selector_append_column()
4961 Fixes: NB#88644 (Hardcoded first column of the model as text column)
4963 2008-09-30 Alberto Garcia <agarcia@igalia.com>
4965 * src/hildon-app-menu.c
4966 (hildon_app_menu_construct_child, hildon_app_menu_init): When
4967 updating the layout of the menu, don't create all widgets again,
4968 just repack the items in their new places.
4970 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
4972 * src/hildon-time-selector.c
4973 (hildon_time_selector_get_time)
4974 (hildon_time_selector_set_time)
4975 Added documentation of these public methods
4977 * src/hildon-date-button.h
4978 * src/hildon-touch-selector-column.h
4979 * src/hildon-time-button.h
4980 * src/hildon-picker-dialog.h
4981 * src/hildon-time-selector.h
4982 * src/hildon-picker-button.h
4983 * src/hildon-touch-selector.h
4984 * src/hildon-time-picker.h
4985 * src/hildon-date-selector.h
4986 * src/hildon-touch-selector-entry.h
4987 Modified in order to use hildon-widgets code style
4989 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4991 Added deprecated support to the compilation process using
4992 HILDON_DISABLE_DEPRECATED
4994 * configure.ac: Added the --disable-deprecated to the configure
4997 * src/hildon-weekday-picker.c:
4998 * src/hildon-weekday-picker.h: Deprecated widget, example of how
4999 to use the deprecated support. We will update the other deprecated
5000 widgets status in a new patch.
5002 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5004 * configure.ac: Fixed typo with fatal warnings support, the
5005 variable name was not correct
5007 2008-09-29 Alberto Garcia <agarcia@igalia.com>
5009 * src/hildon-app-menu.c
5010 * src/hildon-program.c: Update documentation.
5012 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5014 * configure.ac: Post-release version bump.
5016 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5021 * configure.ac: Pre-release version bump.
5022 * debian/changelog: Updates.
5024 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5026 * NEWS: Update news for previous releases.
5028 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5030 * examples/hildon-touch-selector-multi-cells-example.c:
5031 (create_selector): Update the example to use
5032 hildon_touch_selector_append_column() with a NULL renderer and set
5033 the renderers later.
5034 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
5035 passed a NULL renderer. This is documented behavior now.
5037 Allow passing a NULL renderer to hildon_touch_selector_append_column().
5038 This must be used if the developer wants full control on the layout of
5039 the renderers to be added to the column.
5041 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5043 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5045 * src/hildon-touch-selector.c: Documentation fixes.
5047 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5049 * src/hildon-wizard-dialog-private.h: Remove image and box.
5050 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
5051 (hildon_wizard_dialog_set_property), (response): Completely remove
5052 image/icon support, and the containers required for the layout.
5054 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
5056 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5058 * src/hildon-app-menu.c: Updated documentation.
5060 * src/hildon-stackable-window.c
5061 (hildon_stackable_window_set_main_menu): Unref the old menu after
5062 ref'ing the new one.
5064 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5066 * src/hildon-stackable-window.c
5067 (hildon_stackable_window_set_main_menu): Unref the previous menu
5068 instead of destroying it.
5070 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
5071 floating reference and set has_user_ref_count to FALSE to make
5072 HildonAppMenu act like a normal ref-counted widget and not a
5075 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
5078 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
5080 * src/hildon-touch-selector-column.h: new file
5081 * src/hildon-touch-selector.h
5082 * src/hildon-touch-selector.c
5083 Implemented GtkCellLayout interface, in order to allow to configure
5084 the cell layout on each individual selector column
5085 (hildon_touch_selector_set_column_attributes): marked as deprecated
5086 * examples/hildon-touch-selector-multi-cells-example.c
5087 Example of how to use the GtkCellLayout interface on the selector
5089 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5091 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5093 * src/hildon-app-menu.h
5094 * src/hildon-app-menu.c
5095 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
5096 (hildon_app_menu_append, hildon_app_menu_prepend):
5097 New methods to prepend, insert and move items in the menu.
5099 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5101 * src/hildon-wizard-dialog.c:
5103 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
5105 (create_title): Update logical IDs and related code.
5106 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
5108 * src/hildon-wizard-dialog.h: Note that
5109 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
5110 point, as it is not used anymore.
5112 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
5114 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5116 * src/hildon-note.c:
5117 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
5118 shown. Do not display an icon in confirmation notes nor information
5120 (hildon_note_set_button_text): Update logical ID for cancel button.
5122 Fixes: NB#88850 (Update HildonNote button strings + signals)
5124 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5126 * src/hildon-stackable-window.c
5127 (hildon_stackable_window_set_main_menu): Fix compilation warning.
5129 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5131 * src/hildon-app-menu-private.h
5132 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
5133 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
5134 (hildon_app_menu_init, hildon_app_menu_class_init): Added
5135 temporary property 'columns' to change the number of columns.
5137 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5139 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
5141 * examples/hildon-note-example.c: (on_information_clicked),
5142 (on_confirmation_clicked), (on_progress_clicked), (main): Add
5143 debugging information.
5144 * src/hildon-note-private.h: Remove close_if_pressed_outside,
5146 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
5147 (hildon_note_rebuild): Remove special handling of tapping outside/inside
5148 in order to close: this will be handled by the WM from now on.
5150 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
5152 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5154 * src/hildon-app-menu-private.h
5155 * src/hildon-app-menu.c
5156 (hildon_app_menu_append, hildon_app_menu_add_filter)
5157 (button_visibility_changed, hildon_app_menu_apply_style)
5158 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
5159 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
5160 layout everytime a button (item or filter) is shown or hidden.
5162 * src/hildon-stackable-window.c
5163 (hildon_stackable_window_set_main_menu): Destroy the old menu when
5166 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
5168 * src/hildon-touch-selector.c:
5169 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
5170 that the treeview inside the touch selector is in fremantle hildon mode
5171 * examples/hildon-date-button-example.c
5172 * examples/hildon-picker-button-multicolumn-example.c
5173 * examples/hildon-touch-selector-entry-example.c
5174 * examples/hildon-touch-selector-example.c
5175 * examples/hildon-time-button-example.c
5176 * examples/hildon-picker-button-example.c:
5177 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
5179 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
5181 * examples/hildon-text-view-example.c: (main): Remove the
5182 gtkrc bits, now handled by the theme.
5184 2008-09-22 Alberto Garcia <agarcia@igalia.com>
5186 * src/hildon-picker-button.c (hildon_picker_button_set_active):
5189 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5191 * po/Makefile.am: Install properly the mo files.
5192 * po/en_GB.po: Update translation, to ease testing purposes.
5194 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5196 * examples/hildon-picker-button-example.c: (main): Select an item
5197 in the selector before setting it to the button.
5199 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5201 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
5202 Update button's value if the selector has an item active.
5204 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
5205 'value' with the selector)
5207 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5209 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
5210 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
5211 (hildon_picker_button_class_init): Plug the finalize method.
5212 (hildon_picker_button_set_selector): If there's a previously set
5213 selector, unref'it before setting a new one.
5215 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
5216 HildonTouchSelector)
5218 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
5220 * src/hildon-touch-selector-entry.c:
5221 (hildon_touch_selector_entry_changed): Check if there is no text
5222 selected before setting the entry text.
5225 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5227 * src/hildon-touch-selector.h
5228 * src/hildon-touch-selector.c
5229 (hildon_touch_selector_get_active)
5230 (hildon_touch_selector_set_active): New methods to set/get the
5231 index of the selected item.
5233 * src/hildon-picker-button.h
5234 * src/hildon-picker-button.c
5235 (hildon_picker_button_get_active)
5236 (hildon_picker_button_set_active): New methods to set/get the
5237 index of the selected item.
5239 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5241 * configure.ac: post-release version bump.
5243 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5247 * configure.ac: Pre-release version bump.
5248 * debian/changelog: Updates.
5249 * debian/control: Add myself as maintainer and depend on l10n
5252 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5254 * src/hildon-window.c
5255 (hildon_window_set_main_menu)
5256 * src/hildon-stackable-window.c
5257 (hildon_stackable_window_set_main_menu):
5258 Updated documentation.
5260 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5262 * src/hildon-date-selector.c (hildon_date_selector_finalize):
5263 Don't free selector->priv manually.
5266 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5269 (hildon_gtk_window_set_progress_indicator):
5270 * src/hildon-gtk.h: Added the new API
5271 hildon_gtk_window_set_progress_indicator, it changes the state of
5272 the window progress hint.
5274 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5276 * src/hildon-button.c
5277 * src/hildon-stackable-window.c: Minor documentation updates.
5279 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5281 * src/hildon-stackable-window.c: Updated documentation.
5283 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
5285 * src/hildon-defines.h: Update margins definitions
5286 to the Fremantle sizes.
5289 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5291 * src/hildon-touch-selector.c,
5292 (_hildon_touch_selector_set_model): Cleaning the code after
5293 review, removed g_print and #if 0 from the code.
5295 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5297 * src/hildon-edit-toolbar.c: Update documentation.
5299 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5301 * src/hildon-check-button.h
5302 * src/hildon-check-button.c
5303 (hildon_check_button_set_label, hildon_check_button_get_label)
5304 * examples/hildon-check-button-example.c
5305 (button_clicked_cb):
5306 Removed deprecated methods.
5308 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5310 * src/hildon-text-view.c:
5311 Add sample code to the documentation.
5313 * src/hildon-entry.h
5314 * src/hildon-text-view.h:
5315 Minor cosmetic changes.
5317 * src/hildon-entry.c:
5318 Add sample code to the documentation.
5319 (hildon_entry_init, hildon_entry_refresh_contents):
5320 Don't allow NULL values in the placeholder.
5322 2008-09-10 Alberto Garcia <agarcia@igalia.com>
5324 * doc/hildon-docs.sgml
5326 * examples/Makefile.am
5327 * examples/hildon-text-view-example.c
5329 * src/hildon-text-view.c
5330 * src/hildon-text-view.h
5332 New HildonTextView widget, with example.
5334 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5336 * po/POTFILES.in: Add missing files with translatable strings.
5337 Partially fixes NB#88287.
5339 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5341 * examples/hildon-pannable-area-example-2.c: (main): No need to
5342 set the cellrenderer height inside hildon touch lists, the theme does
5345 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5347 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
5348 they are integrated in the theme.
5350 2008-09-09 Alberto Garcia <agarcia@igalia.com>
5352 * examples/hildon-entry-example.c: Update the example adding
5353 widgets to modify the text and the placeholder of the HildonEntry.
5355 * src/hildon-entry.c: Show the placeholder everytime the widget
5356 is empty and loses the focus.
5358 2008-09-09 Alejandro G. Castro <alex@igalia.com>
5360 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
5362 * src/hildon-pannable-area.c,
5363 (hildon_pannable_area_size_request): Fixed bug in height
5364 requisition, avoid increasing size and add border twice.
5366 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5368 * configure.ac: postrelease version bump.
5370 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5374 * configure.ac: Prerelease version bump.
5375 * debian/changelog: update.
5376 * debian/rules: make -dbg package contain useful debugging symbols.
5378 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5380 * src/hildon-dialog.h
5381 * src/hildon-dialog.c
5382 (hildon_dialog_add_button, hildon_dialog_add_buttons):
5383 New methods to add buttons with finger size.
5384 (hildon_dialog_new_with_buttons):
5385 Create buttons with finger size.
5387 * examples/hildon-dialog-example.c (main): Use HildonDialog
5388 methods to add buttons.
5390 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5392 * src/hildon-entry.c: Updated HildonButton documentation.
5394 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5396 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
5397 button value label with (FALSE, FALSE) to prevent NB#88126 from
5400 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5402 * examples/hildon-pannable-area-example.c,
5403 (main): Removed examples panning a vbox inside a pannable
5404 area. Check bug NB#87965
5406 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5408 Patch contributed by Kris Rietveld (kris@imendio.com)
5410 * src/hildon-pannable-area.c,
5411 (hildon_pannable_area_get_topmost): replaced the get_geometry with
5412 get_size and get_position, this saves an X server roundtrip.
5414 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5416 * doc/hildon-docs.sgml
5418 * examples/Makefile.am
5419 * examples/hildon-entry-example.c
5421 * src/hildon-entry.c
5422 * src/hildon-entry.h
5424 New HildonEntry widget, with example.
5426 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5428 * src/hildon-button.c (hildon_button_construct_child): Pack the
5429 image with expand == fill == FALSE. This is a workaround for a bug
5432 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
5434 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
5435 labels for the text column, to make it more look more dynamic.
5437 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5439 * src/hildon-time-selector.c
5440 Define gettext auxiliar macro N_
5441 (_create_minutes_model)
5442 (_create_hours_model)
5443 (_create_ampm_model): use of strftime in order to fill the model
5444 * src/hildon-date-selector.c
5445 (hildon_date_selector_finalize):
5446 (_locales_init): remove the logic related to get the name of the months
5447 using nl_langinfo, as it is not required anymore
5449 (_create_year_model)
5450 (_create_month_model)
5451 (_update_day_model): use of strftime in order to fill the model properly
5454 2008-09-04 Alberto Garcia <agarcia@igalia.com>
5456 * src/hildon-button.h
5457 * src/hildon-button.c (hildon_button_get_image): New method to
5460 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
5462 * src/hildon-touch-selector.c:
5463 (hildon_touch_selector_remove_column): Remove from the correct parent
5464 and also remove the list element and free it.
5467 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5469 * src/hildon-time-selector.c
5470 (_create_hours_model): change the range on 12h ampm format in order to use
5471 a 12-11 range instead of previous 01-12 range
5472 (hildon_time_selector_set_time): change the way to select the current time
5473 on 12h ampm format, due the change on the range
5474 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
5477 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
5479 * src/hildon-touch-selector.c
5480 (hildon_date_touch_selector_get_selected): fix the selection mode check,
5481 in order to allow use this function on multiple row selection mode if
5482 the column is different that the first one
5485 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
5487 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
5488 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
5490 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5492 * src/hildon-date-selector.h: clean some comments, now on the .c
5493 * src/hildon-date-selector.c
5494 (hildon_date_selector_select_month): first implementation
5495 (hildon_date_selector_select_day): added documentation, reimplemented
5496 using hildon_date_selector_select_current_date to avoid repeat code
5499 2008-09-02 Alejandro G. Castro <alex@igalia.com>
5501 Reviewed interaction logic based on device experiences, refactored
5504 * src/hildon-pannable-area.c,
5505 (hildon_pannable_area_class_init): Updated default vmax speed.
5506 (hildon_pannable_area_calculate_velocity): Added this function, it
5507 avoids duplicate valocity calculation. Adjusted calculation to
5508 avoid problems with zero dist events.
5510 (hildon_pannable_area_motion_notify_cb): Now we use the
5511 calculate_velocity function.
5513 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5515 * src/hildon-date-selector.c
5516 (hildon_date_selector_select_current_date): fix the day range check
5517 as it failed using the last day of the current month
5520 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5522 * src/hildon-touch-selector.c
5523 (hildon_touch_selector_get_num_columns): added a parameter validation
5526 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5528 * examples/Makefile.am
5529 * examples/hildon-edit-toolbar-example.c: Example of the
5530 HildonEditToolbar widget.
5532 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5534 * configure.ac: postrelease version bump.
5536 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5540 * configure.ac: prerelease version bump.
5541 * debian/changelog: update.
5543 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5545 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
5546 renderer to display stock icons in the touch list. Also, set the sizes
5547 to the recommended in the style guide.
5549 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5550 * src/hildon-touch-selector.h
5551 (hildon_touch_selector_set_active_iter): renamed, now is
5552 hildon_touch_selector_select_iter
5553 (hildon_touch_selector_get_active_iter): renamed, now is
5554 hildon_touch_selector_get_selected
5555 (hildon_touch_selector_unselect_iter): added
5556 * src/hildon-touch-selector.c
5557 Update after API modification (methods renamed)
5558 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
5559 order to avoid problems selecting multiple elements on the column
5560 (hildon_touch_selector_unselect_iter): added the implementation
5561 * src/hildon-time-selector.c
5562 * src/hildon-date-selector.c
5563 * src/hildon-touch-selector-entry.c
5564 Update methods calls after hildon-touch-selector.h API modification (methods
5567 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5569 * src/hildon-stackable-window.c
5570 (hildon_stackable_window_finalize): Call the parent class's finalize.
5572 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5574 * examples/hildon-touch-selector-example.c: (create_selector): Use
5575 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
5578 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5580 * examples/hildon-touch-selector-example.c: (create_selector): Do not
5581 set a cell background color, to respect theming.
5583 2008-08-28 Alberto Garcia <agarcia@igalia.com>
5585 * doc/hildon-docs.sgml
5588 * src/hildon-edit-toolbar.c
5589 * src/hildon-edit-toolbar.h
5590 * src/hildon.h: New HildonEditToolbar widget.
5592 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
5594 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
5597 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5598 * src/hildon-touch-selector.c
5599 (_create_new_column): use g_object_set instead of two g_object_set_property
5601 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5602 * src/hildon-touch-selector.c
5603 (_create_new_column): use of hildon_gtk_tree_view_new to create
5604 the treeview, instead of use directly g_object_new
5605 (_create_new_column): update the property name "vindicator-mode" for the
5606 new one "vscrollbar-policy"
5607 * examples/hildon-date-button-example.c
5608 * examples/hildon-picker-button-multicolumn-example.c
5609 * examples/hildon-touch-selector-entry-example.c
5610 * examples/hildon-touch-selector-example.c
5611 * examples/hildon-time-button-example.c
5612 * examples/hildon-picker-button-example.c
5613 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
5614 to all the treeviews inside a pannable area.
5616 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5618 * src/hildon-button.h
5619 * src/hildon-button.c (hildon_button_init)
5620 (hildon_button_set_arrangement, hildon_button_set_alignment)
5621 (hildon_button_set_title_alignment)
5622 (hildon_button_set_value_alignment)
5623 (hildon_button_set_image_alignment)
5624 (hildon_button_construct_child): New methods to set the alignment
5625 of the individual components of the button (title, value,
5626 image). Also, new method to alter the xscale and yscale properties
5627 of the GtkAlignment inside the button, so more complex layouts can
5630 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5632 * src/hildon-button.c (hildon_button_style_set)
5633 (hildon_button_class_init, hildon_button_set_arrangement)
5634 (hildon_button_construct_child): Apply style properties
5635 correctly. Use the 'image-spacing' style property too.
5637 2008-08-26 Alberto Garcia <agarcia@igalia.com>
5639 * src/hildon-app-menu.c (hildon_app_menu_style_set)
5640 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
5643 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5645 * src/hildon-pannable-area.c,
5646 (hildon_pannable_area_size_request): Fixed problem with
5647 pannable-area size_request.
5649 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5651 Added management for the grab-focus to a child widget, like a
5652 range, we need to fade out the scrollbar when releasing.
5654 * src/hildon-pannable-area.c,
5655 (hildon_pannable_area_init): Connected the grab-focus signal to
5657 (hildon_pannable_area_grab_notify): Added this function in order
5658 to manage the situation when the grab-focus ends. We have to
5659 fade-out the scrollbar.
5661 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5663 * src/hildon-app-menu.c: Minor documentation update.
5665 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5667 * src/hildon-app-menu.c
5668 * examples/hildon-app-menu-example.c (create_menu): Update
5669 examples and documentation to explain how to connect callbacks.
5671 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
5673 * examples/hildon-button-example.c
5674 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
5675 hildon_stackable_window_new instead of gtk_window_new
5677 2008-08-22 Alejandro G. Castro <alex@igalia.com>
5679 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
5680 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
5681 (hildon_pannable_area_set_property),
5682 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
5683 (hildon_pannable_area_unrealize),
5684 (hildon_pannable_area_size_request),
5685 (hildon_pannable_area_size_allocate),
5686 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
5687 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
5688 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
5689 (hildon_pannable_area_initial_effect),
5690 (hildon_pannable_area_redraw),
5691 (hildon_pannable_area_scroll_indicator_fade),
5692 (hildon_pannable_area_expose_event),
5693 (hildon_pannable_area_get_topmost), (synth_crossing),
5694 (hildon_pannable_area_button_press_cb),
5695 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
5696 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
5697 (hildon_pannable_area_motion_notify_cb),
5698 (hildon_pannable_area_button_release_cb),
5699 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
5700 (hildon_pannable_area_remove),
5701 (hildon_pannable_calculate_vel_factor): Widget refactorization,
5702 chage the code layout to a more GtkWidget like. Review the use of
5705 2008-08-21 Alejandro G. Castro <alex@igalia.com>
5707 * examples/hildon-pannable-area-example-4.c,
5708 (main): Modified the name of the hindicator_mode to
5711 * src/hildon-pannable-area.c,
5712 (hildon_pannable_area_class_init),
5713 (hildon_pannable_area_motion_notify_cb),
5714 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
5715 we have reduced the amount of signals and managed reviewed its
5716 rationale. Changed the default decelerate value.
5718 (hildon_pannable_area_add),
5719 (hildon_pannable_area_redraw): Refactored functions.
5721 (hildon_pannable_area_init),
5722 (hildon_pannable_area_get_property),
5723 (hildon_pannable_area_set_property):
5724 (hildon_pannable_draw_vscroll),
5725 (hildon_pannable_draw_hscroll),
5726 (hildon_pannable_area_initial_effect),
5727 (hildon_pannable_area_expose_event),
5728 (hildon_pannable_area_scroll),
5729 (hildon_pannable_area_button_press_cb),
5730 (hildon_pannable_area_realize): Replaced the names hindicator_mode
5731 and vindicator_mode with hscrollbar_policy and
5732 vscrollbar_policy. Replaced hscroll and vscroll with
5733 hscroll_visible and vscroll_visible.
5735 (hildon_pannable_area_refresh): Refactor the function, remove
5736 variables and check the calls to this function, added resize
5737 conditions in case the children change their layout.
5739 (hildon_pannable_area_size_request): Added more detailed
5740 size_request calculation.
5743 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
5745 * src/hildon-color-chooser.c
5746 (init_borders): use the correct gtk_border_free instead of g_free, to
5747 avoid a crash when this widget is used (ie: the three color selection
5750 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5752 * src/hildon-check-button.c,
5753 (hildon_check_button_set_active): Fixed problem when setting the
5754 active value, the widget was not redrawn.
5756 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5758 * src/hildon-pannable-area.c,
5759 (hildon_pannable_area_refresh),
5760 (hildon_pannable_area_scroll),
5761 (hildon_pannable_area_motion_notify_cb): Small code style change.
5763 (hildon_pannable_area_class_init): Default initial_hint set to
5764 FALSE, it is not in the specs.
5766 (hildon_pannable_area_initial_effect),
5767 (hildon_pannable_area_expose_event),
5768 (hildon_pannable_area_map),
5769 (hildon_pannable_area_init): Moved the launching point of the
5770 initial effect, it was in map but the sizes where not correct in
5771 that method so we do not know if we have the reproduce it. Now it
5772 is placed in the expose_event method and uses a variable to
5773 reproduce it just once.
5775 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5777 * src/hildon-pannable-area.c,
5778 (hildon_pannable_draw_vscroll),
5779 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
5780 position allowed for the scrollbars.
5782 (hildon_pannable_area_size_allocate): Small style change.
5784 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5786 * src/hildon-pannable-area.c,
5787 (hildon_pannable_area_scroll_indicator_fade),
5788 (hildon_pannable_area_button_press_cb),
5789 (hildon_pannable_area_button_release_cb),
5790 (hildon_pannable_area_scroll_cb),
5791 (hildon_pannable_area_expose_event),
5792 (hildon_pannable_area_init): Added the define parameter
5793 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
5794 and refactor the fade variable.
5796 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5798 * src/hildon-pannable-area.c,
5799 (hildon_pannable_area_redraw),
5800 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
5801 lines, we were reimplemeting the redraw code.
5803 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5805 * src/hildon-pannable-area.c,
5806 (hildon_pannable_area_scroll_cb),
5807 (hildon_pannable_area_realize),
5808 (hildon_pannable_area_class_init): Added scroll_event management
5809 for pannable area, now we can scroll the usual desktop method.
5811 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
5812 initialization of the parameters should depend on idle_id.
5814 (hildon_pannable_area_init),
5815 (hildon_pannable_area_map): Small code style modifications
5817 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5819 * src/hildon-pannable-area.c
5820 (hildon_pannable_area_button_press_cb),
5821 (hildon_pannable_area_motion_notify_cb),
5822 (hildon_pannable_area_button_release_cb),
5823 (hildon_pannable_area_size_allocate),
5824 (hildon_pannable_area_scroll_to): Improved the timeouts
5825 management, we avoid creating them each time.
5827 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5829 * src/hildon-pannable-area.c:
5830 (hildon_pannable_area_refresh),
5831 (hildon_pannable_area_motion_notify_cb),
5832 (hildon_pannable_area_class_init):
5833 * src/hildon-pannable-area.h:
5834 * src/hildon-touch-selector.c
5835 (_create_new_column):
5836 * examples/hildon-pannable-area-example-4.c:
5837 (horizontal_movement),
5838 (vertical_movement),
5840 Replaced the names of enums in the HildonPannableArea:
5841 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
5842 HILDON_MOVEMENT_MODE_*
5843 - HILDON_PANNABLE_AREA_MOV_* ->
5845 - Removed HildonPannableAreaIndicatorMode, now we
5848 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5850 * examples/hildon-pannable-area-touch-grid-example.c
5851 * examples/hildon-pannable-area-touch-list-example.c: Fix
5852 compilation warnings.
5854 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5856 * src/hildon-gtk.c (hildon_gtk_button_new)
5857 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
5858 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
5859 images overriding the value of the "gtk-button-images" setting.
5861 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5863 * src/hildon-check-button.c (hildon_check_button_new):
5864 Instead of using a custom container, display the label and the
5865 checkbox using the standard GtkButton API.
5867 * examples/hildon-check-button-example.c (main): Don't use
5868 hildon_check_button_set_label() anymore
5870 * src/hildon-check-button.h
5871 * src/hildon-check-button.c
5872 (hildon_check_button_set_label, hildon_check_button_get_label):
5873 Set as deprecated, now we're using gtk_button_{get,set}_label()
5875 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5877 * src/hildon-pannable-area.c,
5878 (hildon_pannable_area_get_topmost): Fixed bug with click in the
5879 GtkTreeview first line we detected it after the inclusion of the
5880 GtkWindowImpl in gtk+. We now check if the window is visible, not
5881 just if the pointer is over the window.
5882 (hildon_pannable_axis_scroll),
5883 (hildon_pannable_area_expose_event): Small style changes.
5885 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5887 * src/hildon-button.c: Update documentation.
5889 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5891 * examples/hildon-button-example.c: Add a switch to show images in
5894 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5896 * doc/hildon-docs.sgml: Some docs reorganization.
5898 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5900 * examples/hildon-pannable-area-touch-list-example.c
5902 * examples/hildon-pannable-area-touch-grid-example.c
5903 (create_icon_view): Use gtk_{tree,icon}_view_new() and
5904 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
5905 Fix memory leak when setting the tree model.
5907 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5911 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5913 * doc/hildon.types: Remove duplicated hildon_window_get_type
5914 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
5915 documentation comment.
5917 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5919 * doc/Makefile.am: Complete list of private headers.
5921 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5923 * doc/hildon-docs.sgml
5924 * src/hildon-app-menu.c
5925 * src/hildon-bread-crumb.c
5926 * src/hildon-button.c
5928 * src/hildon-program.c
5929 * src/hildon-stackable-window.c
5930 * src/hildon-window.c: Lots of documentation updates.
5932 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5934 * debian/control: Depend on Gtk 2:2.12.9-0osso3
5936 * configure.ac: Require Gtk+ 2.12.9 at least
5938 2008-08-12 Alejandro G. Castro <alex@igalia.com>
5940 * src/hildon-pannable-area.c
5941 (hildon_pannable_area_scroll_indicator_fade),
5942 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
5943 to protect the return of this timeout callbacks, avoiding deadlocks.
5945 2008-08-12 Christian Dywan <christian@imendio.com>
5948 * src/hildon-*.h: Ensure a consistent include order,
5949 include <gtk/gtk.h> instead of particular files and
5950 only include the topmost header in the gtk stack. See NB #39857
5952 2008-08-12 Christian Dywan <christian@imendio.com>
5954 * src/hildon-picker-dialog.c
5955 * src/hildon-touch-selector.c: Fix warnings about unused and
5956 uninitialized variables.
5958 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5960 * examples/Makefile.am
5961 * examples/hildon-check-button-example.c: Example of the hildon
5964 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5966 * src/hildon-window.h
5967 * src/hildon-window.c (hildon_window_class_init)
5968 (hildon_window_unset_program): Don't make
5969 hildon_window_unset_program a virtual function anymore.
5971 * src/hildon-stackable-window.c: Update documentation
5973 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5976 * doc/hildon-docs.sgml
5977 * doc/visual_index.xml
5978 * src/hildon-defines.c
5980 * src/hildon-helper.c
5981 * src/hildon-range-editor.c: Lots of documentation fixes.
5983 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5985 * examples/hildon-picker-button-multicolumn-example.c
5986 (create_touch_selector): Fix compilation warning.
5988 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5990 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
5991 (hildon_pannable_area_button_release_cb)
5992 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
5994 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5996 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
5999 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6001 * src/hildon-bread-crumb-trail.h
6002 * src/hildon-date-editor.c
6003 * src/hildon-date-selector.c
6004 * src/hildon-pannable-area.c
6005 * src/hildon-picker-dialog.c
6006 * src/hildon-time-selector.c
6007 * src/hildon-touch-selector-entry.c
6008 * src/hildon-touch-selector.c
6009 * src/hildon-touch-selector.h: Misc documentation fixes
6011 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6013 * examples/hildon-date-editor-example.c (main): Updated date
6016 * examples/hildon-note-example.c (on_confirmation_clicked):
6017 Updated confirmation note example.
6019 * src/hildon-date-editor.c
6020 * src/hildon-note.c: Updated sample programs in documentation.
6023 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6025 * src/hildon-date-button.h:
6026 * src/hildon-picker-button.h:
6027 * src/hildon-time-button.c:
6028 * src/hildon-time-button.h:
6030 Some declarations changes to allow gtk-doc to document the widgets
6033 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6035 * src/hildon-date-button.c: Document the widget.
6036 * src/hildon-time-button.c: Document the widget.
6038 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6040 * src/hildon-picker-button.c: Document the widget.
6041 * src/hildon-touch-selector-entry.c: Document the widget.
6043 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6045 * doc/hildon-docs.sgml
6048 * src/hildon-check-button.h
6049 * src/hildon-check-button.c: New functions to create the Hildon
6053 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
6055 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6057 * src/hildon-button.h
6058 * src/hildon-button.c
6059 (hildon_button_add_title_size_group)
6060 (hildon_button_add_value_size_group)
6061 (hildon_button_add_image_size_group)
6062 (hildon_button_add_size_groups): New functions to set size groups
6063 for the button labels and image.
6064 (hildon_button_new_full): Removed
6066 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
6068 * src/hildon-time-selector.c
6069 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
6070 in order to avoid a crash if gconf is not available
6072 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6074 * src/hildon-button.c (hildon_button_set_arrangement)
6075 (hildon_button_construct_child): Don't construct the button child
6076 before setting the arrangement.
6078 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6080 * src/hildon-program-private.h
6081 * src/hildon-program.c
6082 * src/hildon-program.h
6083 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
6084 (hildon_program_peek_window_stack)
6085 (hildon_program_pop_window_stack)
6086 (hildon_program_go_to_root_window): HildonProgram now has a
6087 separate list for stackable windows. Functions are provided to
6088 manage that list with a stack-like API.
6090 * src/hildon-stackable-window.c: Stackable window management is
6091 now much simpler with the new HildonProgram API. Windows no
6092 longer need to be manually added to the program, they're
6093 automatically pushed to the top of the stack when shown.
6095 * examples/hildon-stackable-window-example.c: Updated example to
6096 reflect the API changes.
6098 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6100 * src/hildon-touch-selector.c: Comment out unimplemented
6101 hildon_touch_selector_insert_column() to avoid a compile warning.
6103 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6105 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6106 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
6107 (hildon_touch_selector_set_column_selection_mode),
6108 (_hildon_touch_selector_set_model),
6109 (hildon_touch_selector_set_model):
6111 Complete review of HildonTouchSelector documentation.
6113 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6115 * doc/hildon-docs.sgml
6119 * src/hildon-gtk.c: Convenience functions for standard Gtk
6120 widgets, used to easily perform frequent operations.
6122 * src/hildon-button-helpers.h
6123 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
6125 * src/hildon-helper.h
6126 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
6127 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
6129 * src/hildon-button.h
6130 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
6132 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6134 * src/hildon-button.c (hildon_button_init)
6135 (hildon_button_set_arrangement, hildon_button_construct_child):
6136 Pack the image and the labels inside the same GtkAlignment so
6137 gtk_button_set_alignment() can be used
6139 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6141 * src/hildon-button.h
6142 * src/hildon-button.c
6143 (hildon_button_init, hildon_button_set_image)
6144 (hildon_button_set_image_position)
6145 (hildon_button_construct_child): New functions to add an image to
6148 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6150 * src/hildon-date-button.c
6151 * src/hildon-picker-button.c
6152 * src/hildon-time-button.c
6153 * src/hildon-button.c:
6154 (hildon_button_class_init): "size-flags" renamed to "size"
6155 (hildon_button_set_title): Hide the title label if set to NULL.
6157 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6159 HildonButtonFlags split into HildonButtonArrangement (to set the
6160 button layout) and HildonSizeType (which can be used for any
6163 * src/hildon-button.h
6164 * src/hildon-button.c
6165 (hildon_button_class_init)
6166 (hildon_button_set_arrangement)
6167 (hildon_button_set_property): New "size-flags"
6168 property. "arrangement-flags" renamed to "arrangement".
6169 (hildon_button_new, hildon_button_new_with_text)
6170 (hildon_button_new_full): Constructors updated to reflect type changes.
6172 * src/hildon-helper.h
6173 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
6174 to set the size of a widget.
6178 * src/hildon-button-helpers.c
6179 * src/hildon-button-helpers.h: New hildon-button-helpers module.
6181 * src/hildon-date-button.c
6182 * src/hildon-date-button.h
6183 * src/hildon-picker-button.c
6184 * src/hildon-picker-button.h
6185 * src/hildon-time-button.c
6186 * src/hildon-time-button.h: Updated widgets to reflect
6187 HildonButton API changes.
6189 * examples/hildon-button-example.c
6190 * examples/hildon-date-button-example.c
6191 * examples/hildon-picker-button-example.c
6192 * examples/hildon-picker-button-multicolumn-example.c
6193 * examples/hildon-time-button-example.c
6194 * examples/hildon-touch-selector-entry-example.c
6195 * examples/hildon-touch-selector-example.c: Updated examples to
6196 reflect HildonButton API changes.
6198 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6200 * doc/hildon-docs.sgml:
6202 * examples/Makefile.am:
6203 * examples/hildon-touch-selector-entry-example.c:
6205 * src/hildon-touch-selector-entry.c:
6206 * src/hildon-touch-selector-entry.h:
6209 Moved HildonTouchSelectorEntry from sandbox. Added its
6210 documentation and examples.
6212 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6214 * src/hildon-touch-selector.h:
6215 * examples/hildon-picker-button-multicolumn-example.c:
6216 (hildon_touch_selector_append_text_column): Add a gboolean
6217 parameter to determine if text must be centered in the column.
6219 * src/hildon-date-selector.c: (hildon_date_selector_init):
6220 * src/hildon-time-selector.c: (hildon_time_selector_init):
6221 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
6222 (create_touch_selector): Update widgets and example to reflect
6225 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6227 * src/hildon-touch-selector.c:
6228 (hildon_touch_selector_set_active_iter): Set also the cursor in
6231 2008-08-06 Alberto Garcia <agarcia@igalia.com>
6233 * doc/hildon-docs.sgml
6236 * src/hildon-toggle-button.c
6237 * src/hildon-toggle-button.h
6238 * src/hildon.h: Removed HildonToggleButton widget, a derived
6239 class is not necessary for this.
6241 2008-08-06 Alejandro G. Castro <alex@igalia.com>
6243 * src/hildon-pannable-area.c,
6244 (hildon_pannable_area_realize),
6245 (hildon_pannable_area_size_allocate): Code refactoring, add tests
6248 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
6250 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
6251 "done" button the default widget for the dialog.
6253 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6255 * src/hildon-touch-selector.c:
6256 (hildon_touch_selector_class_init),
6257 (hildon_touch_selector_get_property),
6258 (_hildon_touch_selector_set_model),
6259 (_hildon_touch_selector_has_multiple_selection),
6260 (hildon_touch_selector_has_multiple_selection):
6261 Add a "has-multiple-selection" property with a virtual
6262 has_multiple_selection() method to allow derived classes to
6263 override the default value for it. See the method and property
6264 documentation for details.
6266 * src/hildon-touch-selector.h: Add the new API.
6268 * src/hildon-picker-dialog.c: (requires_done_button): Call
6269 hildon_touch_selector_has_multiple_selection() instead of
6270 determining the need for a button itself.
6272 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6274 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6275 (_hildon_touch_selector_set_model),
6276 (hildon_touch_selector_set_model): Move working code to
6277 _hildon_touch_selector_set_mode(). Call the class method instead.
6279 * src/hildon-touch-selector.h: Add (*set_model) to
6280 HildonTouchSelectorClass.
6282 Make hildon_touch_selector_set_model() a virtual method, so that
6283 derived classes can extend it and do fancy stuff with the model.
6285 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6287 * configure.ac: Set back the tarname in AC_INIT to hildon.
6289 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6293 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
6294 instead of libesd (NB#86876). Volume handling is still an open issue.
6296 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
6299 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6301 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
6302 (hildon_touch_selector_append_column): Make the widget a GtkVBox
6303 derived class to ease placement of an entry widget in
6304 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
6305 end, where the selector columns are packed now.
6307 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6309 * src/hildon-picker-button.c: Removed the simple _text() API.
6310 * src/hildon-picker-button.h: Likewise.
6312 * src/hildon-touch-selector.h:
6313 * src/hildon-touch-selector.c:
6314 (hildon_touch_selector_new_text),
6315 (hildon_touch_selector_append_text),
6316 (hildon_touch_selector_prepend_text),
6317 (hildon_touch_selector_insert_text):
6319 Moved the simple _text() API from HildonPickerButton to
6320 HildonTouchPicker, to provide better escalability and not to tie
6321 that API to HildonPickerButton.
6323 * examples/hildon-picker-button-example.c: (main): Example updated.
6325 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6327 * src/hildon-button.c: Updated documentation.
6329 * examples/hildon-button-example.c: Add the posibility to create
6330 the buttons using horizontal layout for title and value.
6332 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6334 * src/hildon-app-menu-private.h
6335 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
6336 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
6337 GtkSizeGroup for the filters, use the 'homogeneous' property of
6340 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6342 * examples/hildon-button-example.c: Updated example.
6344 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
6346 * doc/hildon-docs.sgml:
6349 Update documentation.
6351 * examples/Makefile.am: Update renamed examples.
6353 * examples/hildon-picker-button-multicolumn-example.c:
6354 (create_touch_selector), (main): Update after the rename.
6356 * examples/hildon-touch-picker-example.c: Removed.
6357 * examples/hildon-touch-selector-example.c: (value_changed),
6358 (create_selector), (get_visible_content), (main): Renamed from
6359 hildon-touch-picker-example.c
6361 * src/Makefile.am: Updated renamed files.
6363 * src/hildon-date-button.c: (hildon_date_button_init),
6364 (hildon_date_button_get_date), (hildon_date_button_set_date):
6365 * src/hildon-date-selector.c: (hildon_date_selector_init),
6366 (_custom_print_func), (_update_day_model),
6367 (_manage_selector_change_cb),
6368 (hildon_date_selector_select_current_date),
6369 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
6370 * src/hildon-date-selector.h:
6371 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6372 (hildon_picker_button_set_property),
6373 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6374 (hildon_picker_button_init), (hildon_picker_button_new_text),
6375 (hildon_picker_button_append_text),
6376 (hildon_picker_button_prepend_text),
6377 (hildon_picker_button_insert_text),
6378 (hildon_picker_button_set_selector),
6379 (hildon_picker_button_get_selector):
6380 * src/hildon-picker-button.h:
6381 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
6382 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
6383 (_update_title_on_selector_changed_cb), (requires_done_button),
6384 (_hildon_picker_dialog_set_selector),
6385 (hildon_picker_dialog_set_selector),
6386 (hildon_picker_dialog_get_selector):
6387 * src/hildon-picker-dialog.h:
6388 * src/hildon-time-button.c: (hildon_time_button_init),
6389 (hildon_time_button_get_time), (hildon_time_button_set_time):
6390 * src/hildon-time-selector.c: (hildon_time_selector_init),
6391 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
6392 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
6393 * src/hildon-time-selector.h:
6396 Massive code updates after the rename.
6398 * src/hildon-touch-picker.c: Removed.
6399 * src/hildon-touch-picker.h: Removed.
6401 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6402 (hildon_touch_selector_init), (hildon_touch_selector_map),
6403 (hildon_touch_selector_remove), (_default_print_func),
6404 (_selection_changed_cb), (_create_new_column),
6405 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
6406 (hildon_touch_selector_append_text_column),
6407 (hildon_touch_selector_remove_column),
6408 (hildon_touch_selector_set_column_attributes),
6409 (hildon_touch_selector_insert_column),
6410 (hildon_touch_selector_get_num_columns),
6411 (hildon_touch_selector_get_column_selection_mode),
6412 (hildon_touch_selector_set_column_selection_mode),
6413 (hildon_touch_selector_set_print_func),
6414 (hildon_touch_selector_get_print_func),
6415 (hildon_touch_selector_get_active_iter),
6416 (hildon_touch_selector_set_active_iter),
6417 (hildon_touch_selector_get_selected_rows),
6418 (hildon_touch_selector_get_model),
6419 (hildon_touch_selector_set_model),
6420 (hildon_touch_selector_get_current_text),
6421 (_hildon_touch_selector_center_on_selected_items):
6422 * src/hildon-touch-selector.h: Renamed from
6423 hildon-touch-picker.[ch]
6425 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
6426 references, code examples, and related documentation.
6428 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6430 * doc/hildon-docs.sgml
6433 * src/hildon-toggle-button.c
6434 * src/hildon-toggle-button.h
6435 * src/hildon.h: New HildonToggleButton widget.
6437 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6439 * src/hildon-button.c: Add API documentation.
6440 (hildon_button_set_size_groups): Check input parameters
6442 2008-07-30 Alejandro G. Castro <alex@igalia.com>
6444 * src/hildon-pannable-area.c
6445 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
6446 effect after reaching the movement thredshold. This way we start
6447 using the distance after passing the thredshold.
6449 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6451 * src/hildon-button.c: (hildon_button_set_property): Use the
6452 appropriate g_value_get_flags() method.
6454 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6456 * doc/hildon-docs.sgml:
6459 Add the touch pickers, picker dialogs, and picker button widgets
6460 to the documentation.
6462 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6464 * src/hildon-button.c: (hildon_button_set_property),
6465 (hildon_button_class_init): Make "arrangement-flags" a proper
6466 G_TYPE_FLAGS derived property.
6468 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6470 * examples/Makefile.am: Add below examples.
6471 * examples/hildon-date-button-example.c:
6472 * examples/hildon-picker-button-example.c:
6473 * examples/hildon-picker-button-multicolumn-example.c:
6474 * examples/hildon-time-button-example.c:
6475 * examples/hildon-touch-picker-example.c:
6477 Add examples for the recently added touch pickers,
6478 picker dialogs, and picker button widgets.
6480 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6482 * src/hildon-button.c: Add some API documentation
6484 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6486 * src/hildon-button.h
6487 * src/hildon-button.c
6489 (hildon_button_new_with_text): New constructor to create a button
6490 with no text at all.
6491 (hildon_button_init, hildon_button_set_arrangement)
6492 (hildon_button_set_title, hildon_button_set_value)
6493 (hildon_button_set_text)
6494 (hildon_button_construct_child): Hide the value when it's not used
6495 so the rest of the text is properly aligned.
6496 Allow creating buttons with arbitrary widgets inside (not just
6497 title/value labels).
6499 * examples/hildon-button-example.c (vertical_buttons_window)
6500 (horizontal_buttons_window): Update example to use new API.
6502 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6504 * src/Makefile.am: Added HildonTimeButton.
6505 * src/hildon-time-button.c: Added missing LGPL header.
6506 * src/hildon-time-button.h: Added missing LGPL header.
6507 * src/hildon.h: Add hildon-time-button.h
6509 Copied HildonTimeButton from sandbox to trunk. Future work on this
6510 widget must take place in trunk.
6512 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6514 * src/Makefile.am: Added HildonDateButton.
6515 * src/hildon-date-button.c: Update includes.
6516 * src/hildon.h: Add hildon-date-button.h
6518 Copied HildonDateButton from sandbox to trunk. Future work on this
6519 widget must take place in trunk.
6521 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6523 * src/Makefile.am: Added HildonPickerButton.
6524 * src/hildon-picker-button.h: Update includes.
6525 * src/hildon.h: Add hildon-picker-button.h
6527 Copied HildonPickerButton from sandbox to trunk. Future work on
6528 this widget must take place in trunk.
6530 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6532 * src/Makefile.am: Added HildonPickerDialog.
6533 * src/hildon-picker-dialog.c: Update includes.
6534 * src/hildon.h: Add hildon-picker-dialog.h
6536 Copied HildonPickerDialog from sandbox to trunk. Future work
6537 on this widget must take place in trunk.
6539 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6541 * src/Makefile.am: Added HildonTimeSelector.
6542 * src/hildon.h: Add hildon-time-selector.h
6544 Copied HildonTimeSelector widget from sandbox to trunk. Future
6545 work on this widget must happen in trunk.
6547 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6549 * src/Makefile.am: Added HildonDateSelector.
6550 * src/hildon.h: Add hildon-date-selector.h
6552 Copied HildonDateSelector widget from sandbox to trunk. Future
6553 work on this widget must happen in trunk.
6555 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6557 * src/Makefile.am: Added HildonTouchPicker.
6558 * src/hildon-touch-picker.c: Update includes.
6559 * src/hildon.h: Add hildon-touch-picker.h
6561 Copied HildonTouchPicker widget from sandbox to trunk. Future work
6562 on this widget must happen in trunk.
6564 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6566 * src/hildon-pannable-area.c:
6567 (hildon_pannable_area_motion_notify_cb): Fix a typo.
6569 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6571 * examples/hildon-app-menu-example.c (main): Let the window
6574 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6576 * src/hildon-pannable-area.c
6577 (hildon_pannable_area_class_init): Set the min value of the
6578 overshoot properties to zero, which points out that not
6579 overshooting allowed.
6581 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6583 Modified the procedure to get the widget at a point inside the
6584 pannable area when using the movement type signals. Now the user
6585 has to call a function to get the child, that way we just
6586 calculate the child in case the user really want to use it and not
6589 * src/hildon-marshalers.list: Modified the marshallers, now we do
6590 not have the widget as a parameter.
6592 * src/hildon-pannable-area.c
6593 (hildon_pannable_area_motion_notify_cb),
6594 (hildon_pannable_area_class_init),
6595 (hildon_pannable_get_child_widget_at): Removed the widget
6596 parameter from the signal callback. We have also refactored the
6597 emission of the signals.
6599 * src/hildon-pannable-area.h: Added a new method to the API to
6600 calculate a widget at a point inside the pannable area,
6601 hildon_pannable_get_child_widget_at.
6603 * examples/hildon-pannable-area-example-4.c
6604 (horizontal_movement): Modified the example to use the new API,
6605 added condition to control which widget is under the event. This
6606 way we can avoid scrolling laterally over other widgets.
6608 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6610 * src/hildon-pannable-area.c
6611 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
6612 modes, we stop getting the pointer events due to returning the
6613 callback without properly calling the get pointer again. Fixed
6614 also an error using the hscroll and vscroll.
6616 2008-07-28 Alberto Garcia <agarcia@igalia.com>
6618 * src/hildon-app-menu-private.h
6619 * src/hildon-app-menu.c (hildon_app_menu_button_press)
6620 (hildon_app_menu_button_release, hildon_app_menu_init)
6621 (hildon_app_menu_class_init): Don't hide the menu on button
6622 release if the user didn't press outside first.
6624 * src/hildon-window.h
6625 * src/hildon-window.c (hildon_window_toggle_menu)
6626 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
6627 hildon_window_toggle_menu a virtual function for the stackable
6628 window to override it.
6630 * src/hildon-stackable-window.h
6631 * src/hildon-stackable-window-private.h
6632 * src/hildon-stackable-window.c
6633 (hildon_stackable_window_realize)
6634 (hildon_stackable_window_finalize)
6635 (hildon_stackable_window_class_init)
6636 (hildon_stackable_window_init)
6637 (hildon_stackable_window_set_main_menu): New function to set the
6638 app menu of a HildonStackableWindow.
6640 * examples/hildon-app-menu-example.c: Remove the button to show
6641 the app menu, now it'll be shown when clicking on the title bar
6644 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6646 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
6647 set the widget name if the arrangement flags do not specify
6650 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6652 * src/hildon-button.c: (hildon_button_set_property),
6653 (hildon_button_class_init), (hildon_button_new_full),
6654 (hildon_button_set_arrangement): Added "arrangement-flags"
6657 Make the HildonButtonFlags a construction-only property, to allow
6658 subclasses to set them properly.
6660 2008-07-21 Tim Janik <timj@imendio.com>
6662 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
6663 insertion position after backspace, so additional digits are appended,
6666 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6668 * src/hildon-pannable-area.c,
6669 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
6670 TODO list, it was complete and removed the g_debug and g_print
6673 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6675 Added the movement modes to the hildon-pannable-area, with this
6676 modes the developers can control in which directions the widget
6677 can scroll. They can also connect to signals in order to do
6678 something when that happens, allowing applications scroll. There
6679 is an example uploaded showing how to use it.
6681 * examples/Makefile.am:
6682 * examples/hildon-pannable-area-example-4.c: Added this example of
6683 an application using the modes.
6685 * src/hildon-marshalers.list: Added a new marshaller for the new
6688 * src/hildon-pannable-area.h: Added new enumerations and flags in
6689 order to control the movement modes and the new signals to warn
6690 about the movements in the area.
6692 * src/hildon-pannable-area.c:
6693 (hildon_pannable_axis_scroll),
6694 (hildon_pannable_area_scroll),
6695 (hildon_pannable_area_motion_notify_cb),
6696 (hildon_pannable_area_get_property),
6697 (hildon_pannable_area_set_property),
6698 (hildon_pannable_area_map),
6699 (hildon_pannable_area_class_init),
6700 (hildon_pannable_area_init),
6701 (hildon_pannable_area_jump_to): Added the modes to control the
6702 movement in the widget. We have added properties to control it,
6703 signals to warn about the movements and refactored some code.
6705 2008-07-15 Alejandro G. Castro <alex@igalia.com>
6707 Changes required in order to allow vfast_factor set to zero to
6710 * src/hildon-pannable-area.c:
6711 (hildon_pannable_area_button_press_cb): Changed the condition, it
6712 is required for not allowing click when vfast_factor is zero.
6713 (hildon_pannable_area_timeout): Initialized velocity variables
6714 when we stop moving, it was less than 1 but not zero and we need
6715 to check zero in some situations.
6716 (hildon_pannable_area_class_init): Changed the default value of
6717 the speed factor, now the button_press is just sent in case the
6718 speed is 2 per cent of the max speed.
6719 (hildon_pannable_area_init): Initialization with 0.
6721 2008-07-04 Alejandro G. Castro <alex@igalia.com>
6723 * src/hildon-pannable-area.c,
6724 (hildon_pannable_area_get_topmost): replaced
6725 gdk_window_get_children with gdk_window_peek_children, this way we
6726 do not have to free the list because it is not a copy.
6728 (hildon_pannable_axis_scroll),
6729 (hildon_pannable_area_scroll),
6730 (hildon_pannable_area_timeout),
6731 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
6732 two parameters that were only used inside the
6733 hildon_pannable_area_scroll function.
6735 * examples/hildon-pannable-area-example.c,
6736 (get_sawtooth_label): Fixed small memory leak.
6738 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6740 More checks for the case where the overshoot is bigger than the
6743 * src/hildon-pannable-area.c:
6744 (hildon_pannable_draw_vscroll),
6745 (hildon_pannable_draw_hscroll): with this new calculation we avoid
6746 to draw the slider of the scrollbar under the other scrollbar.
6747 (hildon_pannable_area_expose_event): added new checks to control
6748 the drawing of the overshooting area rectangle, in case it is too
6749 big for the area of the widget.
6750 (hildon_pannable_area_size_allocate): add more checks to avoid
6751 setting a position to the child widget outside the area.
6753 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6755 * src/hildon-pannable-area.c
6756 (hildon_pannable_area_size_allocate): Added conditions to control
6757 when overshooting is bigger than the allocated space for the
6758 children, this avoids negative allocations.
6760 2008-07-02 Alberto Garcia <agarcia@igalia.com>
6762 * doc/hildon-docs.sgml
6764 * examples/Makefile.am
6765 * examples/hildon-button-example.c
6767 * src/hildon-button.c
6768 * src/hildon-button.h
6769 * src/hildon.h: Initial version of the new HildonButton widget,
6772 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
6774 * src/hildon-pannable-area.c:
6775 (hildon_pannable_area_button_press_cb),
6776 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
6777 (hildon_pannable_area_motion_notify_cb),
6778 (hildon_pannable_area_button_release_cb),
6779 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
6780 (hildon_pannable_area_jump_to_child):
6782 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
6784 2008-07-01 Alberto Garcia <agarcia@igalia.com>
6786 * examples/Makefile.am
6787 * examples/hildon-pannable-area-touch-grid-example.c
6788 * examples/hildon-pannable-area-touch-list-example.c: Examples of
6789 the Hildon Touch List and Hildon Touch Grid using the
6790 HildonPannableArea widget.
6792 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6794 * src/hildon-pannable-area.c,
6795 (hildon_pannable_area_button_press_cb),
6796 (hildon_pannable_area_refresh),
6797 (hildon_pannable_area_scroll),
6798 (hildon_pannable_area_motion_notify_cb),
6799 (hildon_pannable_area_button_release_cb),
6800 (hildon_pannable_area_expose_event),
6801 (hildon_pannable_area_add),
6802 (hildon_pannable_area_remove),
6803 (hildon_pannable_area_realize),
6804 (hildon_pannable_area_size_allocate),
6805 (hildon_pannable_area_class_init),
6806 (hildon_pannable_area_init),
6807 (hildon_pannable_area_scroll_to_child),
6808 (hildon_pannable_area_jump_to_child): Fixed the problem of
6809 removing the child from the GtkBin, we have rearranged the widget
6810 hierarchy, now there is no GtkAlignment which was not doing
6811 anything interesting but breaking some of the assumptions of
6812 GtkContainer. Now developers if they want to add a GtkAlignment
6813 they could, but it is not inside the area.
6815 We had to review the whole allocation/expose process, now it is
6816 improved and we save at least three signals which would be saving
6817 some time when rendering the widget. The allocation of the
6818 scrollbars is now made in the allocate method as usual.
6820 We have also added some conditions in order to control when there
6821 is no child of the pannable area. Maybe we will need more work
6824 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6826 * src/hildon-pannable-area.c,
6827 (hildon_pannable_area_dispose): Released the fade-out timeout when
6828 disposing the widget.
6830 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6832 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
6833 zero, we are going to use that property in order to deactivate the
6835 (hildon_pannable_axis_scroll),
6836 (hildon_pannable_area_size_allocate): Added conditions to control
6837 when overshoot_max is zero. Moved the gtk_adjustment_set_value
6838 call, now it is called in all situations and we can remove calls
6839 in the allocate method.
6840 (hildon_pannable_area_map): Control the situation when
6841 overshoot_max is zero, we do not need the timeout.
6842 (hildon_pannable_area_class_init): Added documentation in order to
6843 point out that setting zero to overshoot_max means deactivate
6846 NOTE: removed trailing whitespaces from my previous comments of
6849 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6851 * src/hildon-pannable-area.c
6852 (hildon_pannable_area_get_property),
6853 (hildon_pannable_area_set_property),
6854 (hildon_pannable_area_map),
6855 (hildon_pannable_area_class_init),
6856 (hildon_pannable_area_init): Add a boolean "initial-hint" property
6857 to cause the widget give a hint about its panning abilities upon
6860 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6862 * src/hildon-pannable-area.c: Several documentation improvements.
6864 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6866 * src/hildon-program.c
6867 * src/hildon-stackable-window.c: Update documentation.
6869 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6871 * src/hildon-stackable-window.c (get_previous_window_if_last):
6872 Renamed get_last_window()
6873 (hildon_stackable_window_map, hildon_stackable_window_unmap)
6874 (hildon_stackable_window_unset_program):
6876 (get_previous_window_if_last):
6877 Detect if the window hasn't been added to a HildonProgram.
6879 2008-06-26 Alejandro G. Castro <alex@igalia.com>
6881 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
6883 * src/hildon-pannable-area.c
6884 (hildon_pannable_area_button_press_cb),
6885 (hildon_pannable_axis_scroll),
6886 (hildon_pannable_area_scroll),
6887 (hildon_pannable_area_timeout),
6888 (hildon_pannable_calculate_vel_factor),
6889 (hildon_pannable_area_get_property),
6890 (hildon_pannable_area_set_property),
6891 (hildon_pannable_area_class_init),
6892 (hildon_pannable_area_init),
6893 (hildon_pannable_area_scroll_to),
6894 (hildon_pannable_area_jump_to),
6895 (hildon_pannable_area_scroll_to_child),
6896 (hildon_pannable_area_jump_to_child):
6897 * src/hildon-pannable-area.h: Added the new API functions:
6898 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
6899 hildon_pannable_area_scroll_to_child,
6900 hildon_pannable_area_jump_to_child
6903 * examples/Makefile.am
6904 * examples/hildon-pannable-area-example-2.c
6905 * examples/hildon-pannable-area-example-3.c: Added these two new
6906 examples in order to test and show how the new APIs work.
6908 2008-06-25 Alberto Garcia <agarcia@igalia.com>
6910 * examples/hildon-stackable-window-example.c (new_window):
6911 * src/Makefile.am (noinst_HEADERS):
6912 * src/hildon-program.c (hildon_program_go_to_root_window):
6913 * src/hildon-program.h:
6914 * src/hildon-stackable-window-private.h:
6915 * src/hildon-stackable-window.c:
6916 * src/hildon-stackable-window.h:
6917 Create hildon-stackable-window-private.h
6918 Move hildon_stackable_window_go_to_root_window() to HildonProgram
6920 * examples/hildon-app-menu-example.c (create_menu):
6921 * examples/hildon-hvolumebar-insensitive-example.c (main):
6922 * examples/hildon-hvolumebar-timer-example.c (on_idle):
6923 * examples/hildon-toolbar-seekbar-example.c (main):
6924 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
6925 * src/hildon-banner.c (hildon_banner_set_property):
6926 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
6927 Fix compilation warnings
6929 * src/hildon-window.c:
6932 2008-06-24 Alberto Garcia <agarcia@igalia.com>
6934 * src/hildon-stackable-window.c
6935 (hildon_stackable_window_unset_program):
6936 Calculate correctly whether to show the previous window if the
6937 last one is removed from the stack.
6938 (hildon_stackable_window_go_to_root_window):
6939 Send delete events starting from the topmost window.
6940 Stop if one of the windows is not destroyed.
6942 (hildon_stackable_window_delete_event)
6943 (hildon_stackable_window_class_init):
6944 Ignore the delete event if the window is not the topmost one.
6946 2008-06-24 Alejandro G. Castro <alex@igalia.com>
6948 * src/hildon-pannable-area.c
6949 (hildon_pannable_area_expose_event): Fixed a problem when
6950 selecting the background color of the scrollbars.
6952 2008-06-23 Alberto Garcia <agarcia@igalia.com>
6954 * examples/hildon-stackable-window-example.c
6955 * src/hildon-stackable-window.c
6956 * src/hildon-stackable-window.h
6957 hildon_stackable_window_go_home() renamed to
6958 hildon_stackable_window_go_to_root_window()
6959 Send delete events to windows rather than closing them with
6960 gtk_widget_destroy()
6962 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6964 * src/hildon-pannable-area.c
6965 (hildon_pannable_area_button_release_cb): Fix overshooting in
6968 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6970 * src/hildon-pannable-area.c
6971 (hildon_pannable_area_init): Initially show the scroll indicators.
6972 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
6974 Add initial effect showing the widget is pannable.
6976 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6978 * src/hildon-pannable-area.c
6979 (hildon_pannable_area_class_init)
6980 (hildon_pannable_area_set_property)
6981 (hildon_pannable_area_get_property)
6982 (hildon_pannable_area_button_press_cb):
6983 New 'velocity_fast_factor' property to decide which velocity is
6986 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6988 * src/hildon-pannable-area.c
6989 (hildon_pannable_draw_hscroll)
6990 (hildon_pannable_draw_vscroll):
6991 Use float variables to calculate the size of the scrollbars to
6992 avoid error propagation and resizing during scrolling.
6994 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6996 * src/hildon-pannable-area.c
6997 (hildon_pannable_draw_vscroll)
6998 (hildon_pannable_draw_hscroll):
6999 Define a minimum size for the scroll bars
7001 * src/hildon-stackable-window.c
7002 (hildon_stackable_window_go_home): Fix compilation warning
7003 (get_last_window): Minor optimizations
7004 (hildon_stackable_window_class_init): Fix initialization of
7007 2008-06-18 Alberto Garcia <agarcia@igalia.com>
7009 * src/hildon-stackable-window.c: Fixed typos in doc
7011 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
7013 * src/hildon-pannable-area.c
7014 (hildon_pannable_area_scroll):
7015 Calculate here whether we need to scroll instead of using the booleans
7016 that tell us whether to /draw/ the scrolling bars.
7018 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
7020 * src/hildon-app-menu.h
7022 * src/hildon-app-menu.c
7023 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
7024 multiple filter groups related code and API. Now we support only
7026 * examples/hildon-app-menu-example.c:
7028 Update to reflect API changes.
7030 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
7032 * src/hildon-stackable-window.c
7033 (hildon_stackable_window_class_init):
7034 Add hildon_stackable_window_realize.
7035 (hildon_stackable_window_realize):
7036 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
7037 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
7038 to apply theming and behavior specific to HildonStackableWindow
7041 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7043 * src/hildon-note.c (hildon_note_button_release):
7044 Close information notes also when tapping on them
7046 2008-06-12 Alejandro G. Castro <alex@igalia.com>
7048 Added BOUNCE_STEPS define to control the overshoot effect. Removed
7049 ELASTICITY, refactor and review, fix some issues with drawing
7052 * src/hildon-pannable-area.c:
7053 (hildon_pannable_area_button_press_cb): removed the conditions to
7054 avoid clicks when overshooting. It is not required
7056 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
7057 define. Refatored and reviewed the code, now we do not need to
7058 manage velocity in motion_notify.
7060 (hildon_pannable_area_motion_notify_cb): We have moved the code
7061 that controls the area_scroll to the axis_scroll function and get
7062 rid of duplicated code.
7064 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
7066 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
7068 (hildon_pannable_draw_vscroll),
7069 (hildon_pannable_draw_hscroll): Fixed the problems with the
7070 scrollbar drawing, now we do not use two surfaces, it is easier
7071 and saves resources.
7073 (hildon_pannable_area_get_property): Style modification.
7075 (hildon_pannable_area_class_init): Changed some default values.
7077 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
7079 * src/hildon-stackable-window.c: Fix some typos in the
7082 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7084 * src/hildon-dialog.c:
7085 Change indentation style
7088 (hildon_note_button_release):
7089 Use root coordinates to check if the release event happened
7092 * src/hildon-app-menu.c
7093 (hildon_app_menu_button_release):
7094 Remove unnecessary check
7096 * examples/hildon-app-menu-example.c
7098 Add cast to fix warning
7100 * src/hildon-app-menu.c
7101 (hildon_app_menu_class_init):
7102 New inner-border style property.
7103 Set all default spacings to 16
7104 (hildon_app_menu_init):
7105 Use vertical-spacing to set the space between filter buttons and
7106 regular menu buttons.
7107 Set the default container border using the inner-border value.
7109 * examples/hildon-app-menu-example.c
7111 Don't set the menu border explicitly, now we have the inner-border
7112 style property for that.
7114 2008-06-11 Alberto Garcia <agarcia@igalia.com>
7116 * src/hildon-app-menu.c (hildon_app_menu_init):
7117 Make the window modal
7119 * src/hildon-note.c (hildon_note_map)
7120 * src/hildon-app-menu.c (hildon_app_menu_map):
7121 Destroy the grab window if we're unable to grab the pointer
7123 * src/hildon-app-menu-private.h
7124 * src/hildon-app-menu.c
7125 (hildon_app_menu_init, hildon_app_menu_finalize)
7126 (hildon_app_menu_map, hildon_app_menu_unmap)
7127 (hildon_app_menu_button_release)
7128 (grab_transfer_window_get):
7129 Bring back the grab window
7130 (hildon_app_menu_realize):
7131 Decorate the window, set WM hint for Matchbox
7133 * src/hildon-note.c (hildon_note_realize):
7134 * src/hildon-banner.c (hildon_banner_realize):
7135 Add WM hints for Matchbox
7137 2008-06-10 Alberto Garcia <agarcia@igalia.com>
7139 * src/hildon-app-menu-private.h
7140 * src/hildon-app-menu.c
7141 (hildon_app_menu_init, hildon_app_menu_finalize)
7142 (hildon_app_menu_map, hildon_app_menu_unmap)
7143 (hildon_app_menu_button_release):
7144 Remove the grab window, it's not needed anymore
7146 * src/hildon-program.c
7147 Fixed typo in documentation
7149 * src/hildon-app-menu.h
7150 * src/hildon-app-menu.c
7151 * examples/hildon-app-menu-example.c
7152 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
7154 2008-06-09 Alberto Garcia <agarcia@igalia.com>
7157 Added new transfer_window and close_if_pressed_outside private
7159 (hildon_note_rebuild):
7160 Don't add a cancel button to the information note. It will be
7161 closed when tapping outside
7162 Remove the comment about the OK button in the documentation
7163 (hildon_note_realize):
7164 Set the notification type hint
7165 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
7166 Grab/ungrab pointer and keyboard if the note has to be closed when
7168 (hildon_note_button_release):
7169 Close the note when tapping outside (if applicable)
7171 * src/hildon-app-menu.c
7172 Grab/ungrab pointer and keyboard on map/unmap
7173 (hildon_app_menu_button_release, hildon_app_menu_class_init):
7174 Close the menu on button release, not button press
7176 * src/hildon-banner.c
7177 (hildon_banner_set_property)
7178 (hildon_banner_check_position):
7179 Make the banner use the full width of the screen
7180 (hildon_banner_show_information)
7181 (hildon_banner_show_information_with_markup):
7182 Don't display an icon by default
7184 2008-06-09 Alejandro G. Castro <alex@igalia.com>
7186 Added fading scrollbars and adapted all the overshooting code to
7187 horizontal scrolling. We have also fixed bugs with overshooting
7188 and current fading implementation.
7190 * src/hildon-pannable-area.c
7191 (hildon_pannable_area_scroll_indicator_fade): Time out function
7192 used to change the transparency of the scrollbars.
7194 (hildon_pannable_area_button_press_cb): Added horizontal overshot
7195 control and fixed a problem with fading, we now remove the fade
7196 timeout before adding a new one.
7198 (hildon_pannable_axis_scroll):
7199 (hildon_pannable_area_scroll):
7200 (hildon_pannable_area_timeout): Added this functions so we can use
7201 the scroll code both for vertical and horizontal.
7203 (hildon_pannable_area_motion_notify_cb):
7204 (hildon_pannable_area_button_release_cb): Added the horizontal
7205 scrolling control, fixed a problem with the overshooting timeout.
7207 (rgb_from_gdkcolor): Added this function, it is used in the cairo
7208 painting of the scrolls.
7210 (hildon_pannable_draw_vscroll):
7211 (hildon_pannable_draw_hscroll):
7212 (hildon_pannable_area_expose_event):
7213 Draw both scrollbars and rectangles in the overshooting area.
7215 (hildon_pannable_area_get_property):
7216 (hildon_pannable_area_set_property):
7217 Modified the overshoot property to overshoot_max
7219 (hildon_pannable_area_map):
7220 Replaced the comments symbols.
7222 (hildon_pannable_area_size_allocate):
7223 (hildon_pannable_area_class_init):
7224 (hildon_pannable_area_init): Added horizontal scroll, fading
7225 effect properties, fixed a problem when overshooting in the bottom
7228 * examples/hildon-pannable-area-example.c:
7229 (get_sawtooth_label): Now we use smaller sawtooths, the effect
7230 looks better in the example.
7232 2008-06-03 Alberto Garcia <agarcia@igalia.com>
7234 * src/hildon-window.c
7235 * src/hildon-window.h
7236 (hildon_window_class_init)
7237 (hildon_window_unset_program)
7238 (hildon_window_unset_program_real):
7239 Make unset_program a virtual function
7241 * src/hildon-stackable-window.c
7242 * src/hildon-stackable-window.h
7243 Added hildon_stackable_window_go_home()
7245 * examples/Makefile.am
7246 * examples/hildon-stackable-window-example.c
7247 HildonStackableWindow example
7249 2008-06-03 Alejandro G. Castro <alex@igalia.com>
7251 * hildon-pannable-area.c: Added the overshoot property and removed
7252 the OVERSHOOT define. Fixed an indent style error.
7253 (hildon_pannable_area_motion_notify_cb):
7254 (hildon_pannable_area_get_property):
7255 (hildon_pannable_area_set_property): Add overshoot property.
7257 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
7260 (hildon_pannable_area_class_init): Installed the new property.
7262 * hildon-pannable-area-example.c: Added a sawtooth function, this
7263 way it is easier to check the movement in the pannable.
7264 (get_sawtooth_label): Added this function.
7265 (main): Now we get the labels from the new get_sawtooth_label
7268 2008-05-26 Alberto Garcia <agarcia@igalia.com>
7270 * src/hildon-app-menu.h
7271 * src/hildon-app-menu.c
7272 Renamed API variables for consistency
7274 (hildon_app_menu_popup): Use also the default window size to
7275 decide where to place the menu
7277 (hildon_app_menu_init, hildon_app_menu_class_init): New
7278 external-border style property
7280 2008-05-26 Michael Natterer <mitch@imendio.com>
7282 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
7283 widget_class->tap_and_hold_setup signal slot doesn't exist any
7284 longer, stop overriding it.
7286 (hildon_time_editor_init): g_signal_connect() to the
7287 tap-and-hold-setup signal instead.
7289 (hildon_time_editor_entry_keypress): add cast to fix warning.
7291 2008-05-23 Alberto Garcia <agarcia@igalia.com>
7293 * doc/hildon-docs.sgml
7295 * examples/Makefile.am
7296 * examples/hildon-app-menu-example.c
7298 * src/hildon-app-menu-private.h
7299 * src/hildon-app-menu.c
7300 * src/hildon-app-menu.h
7302 New HildonAppMenu widget
7304 2008-05-21 Alejandro G. Castro <alex@igalia.com>
7306 Rearranged the inheritance of the pannable area, now it inherits
7307 from GtkBin. This will allow us to control the event_window and
7308 the allocation process of the widget, required for some effects.
7310 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
7311 GtkBin structures. * src/hildon-pannable-area.c: Added the
7312 event_window variable.
7313 (hildon_pannable_area_button_press_cb):
7314 (hildon_pannable_area_button_release_cb):
7315 (hildon_pannable_area_motion_notify_cb):
7316 Changed the signature of the method, now we override the event
7317 callback instead of connecting to the signal.
7319 (hildon_pannable_area_realize):
7320 (hildon_pannable_area_unrealize):
7321 (hildon_pannable_area_map):
7322 (hildon_pannable_area_unmap):
7323 (hildon_pannable_area_size_allocate):
7324 Added functions to control the widget construction. We add a
7325 INPUT_ONLY window and we put it over the widgets inside the
7326 container, this event_window handles the events.
7328 (hildon_pannable_area_class_init):
7329 Replaced the signal connections with overrides of the event
7332 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7334 Bouncing effect added when touching the borders, you can change
7335 the elasticity of the border changing the ELASTICITY define.
7337 * src/hildon-pannable-area.c: Added ELASTICITY define.
7338 (hildon_pannable_area_timeout): Added inverse velocity when
7339 touching the border of the child widget, that causes a bounce.
7341 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7343 Improved performance, we now do not go to the X server in order to
7344 get the list of window children. Apparently the effect is the
7345 same, we have to be careful and check if this breaks something in
7348 * src/hildon-pannable-area.c:
7349 (get_ordered_children): Removed this function.
7350 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
7351 the children windows function with gdk_window_get_children.
7353 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7355 * src/hildon-pannable-area.c:
7356 (hildon_pannable_area_dispose): Fixed a crash when closing the
7357 window and kinetics is activated.
7359 2008-05-19 Alberto Garcia <agarcia@igalia.com>
7361 * src/hildon-pannable-area.h
7362 * src/hildon-pannable-area.c
7363 Changed indentation style to meet the one used in Hildon
7365 2008-05-19 Alejandro G. Castro <alex@igalia.com>
7367 Reviewed the interaction of the AUTO mode, now we use the time
7368 attribute of the events and calculate the velocity in the motion,
7369 doing a gimp like calculation. The velocity is calculated in each
7370 motion event using the last velocity and the current one, the
7371 SMOOTH_FACTOR controls the percentage of the new velocity we use.
7373 * src/hildon-pannable-area.c: Replaced the time based algorithm
7375 (hildon_pannable_area_motion_notify_cb): now we do not launch the
7376 timeout for the AUTO mode when we are still moving the cursor. We
7377 added also the velocity calculation in this function.
7378 (hildon_pannable_area_button_release_cb): launch the timeout in
7379 case we are in AUTO mode. There are still some constants here that
7380 come from the old implementation that should be reviewed and
7383 2008-05-15 Alberto Garcia <agarcia@igalia.com>
7385 * doc/hildon-docs.sgml
7388 * src/hildon-stackable-window.c
7389 * src/hildon-stackable-window.h
7391 New HildonStackableWindow widget
7393 * examples/hildon-dialog-example.c
7394 * examples/hildon-pannable-area-example.c
7397 2008-05-14 Alberto Garcia <agarcia@igalia.com>
7399 * src/hildon-dialog.c
7400 (hildon_dialog_new_with_buttons): New constructor.
7402 * examples/hildon-dialog-example.c
7403 (main): Update the example to use the new
7404 hildon_dialog_new_with_buttons().
7406 * examples/hildon-pannable-area-example.c
7407 (main): Update example.
7409 2008-05-13 Alberto Garcia <agarcia@igalia.com>
7411 * doc/hildon-docs.sgml
7413 Added HildonPannableArea to the documentation.
7415 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
7417 * doc/visual_index.xml
7418 Fix reference to HildonLoginDialog in documentation
7420 * doc/hildon-docs.sgml
7422 * examples/Makefile.am
7423 * examples/hildon-dialog-example.c
7425 * src/hildon-dialog.c
7426 * src/hildon-dialog.h
7428 New HildonDialog widget.
7430 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7432 * src/hildon-pannable-area.c
7433 Merge latest changes (r4318, r4342) from libmokoui trunk
7435 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7437 * examples/Makefile.am
7438 * examples/hildon-pannable-area-example.c
7440 * src/hildon-pannable-area.c
7441 * src/hildon-pannable-area.h
7443 New HildonPannableArea widget.
7445 2008-04-15 18:05:19 <timj@imendio.com>
7447 * src/hildon-banner.c: revert the recent change, that introduced
7448 gtk_window_present() calls. this reopens:
7449 Bug 78481 - [freetest] information banners are hidden under browser menu
7450 But resolves another variant of:
7451 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7453 2008-04-15 13:21:13 <timj@imendio.com>
7455 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
7456 recreated its layout, spotted by Kris. this fixes all remaining
7457 artefacts and stability issues with the banner code. in particular:
7458 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7460 2008-04-14 16:52:59 <timj@imendio.com>
7462 * src/hildon-banner.c: guard force_to_wrap_truncated() against
7463 operating on unrealized widgets, fixes:
7464 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7466 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
7468 2008-04-09 Kristian Rietveld <kris@imendio.com>
7470 Fixes: NB#77775: Media Player, Save Now playing list, too long name
7471 makes banner disappear.
7472 Fixes: NB#79182: info banner flickering with certain message lengts.
7474 * src/hildon-banner.c (hildon_banner_constructor),
7475 (hildon_banner_init), (hildon_banner_set_text),
7476 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
7477 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
7478 FALSE, reset size requests of label and banner,
7479 (force_to_wrap_truncated): when the text is too wide, always enforce
7480 the maximum possible width instead of recalculating it from the
7481 layout; enforce the maximum banner height of 3 lines,
7482 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
7483 nicer wrapping and no truncated chars if space gets tight.
7485 * src/hildon-banner-private.h: add has_been_wrapped and
7486 has_been_truncated fields.
7488 2008-04-07 Sven Herzberg <sven@imendio.com>
7490 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
7491 local values in hildon_date_editor_size_allocate
7493 * src/hildon-date-editor.c: moved the real allocation code into the
7496 2008-04-07 Sven Herzberg <sven@imendio.com>
7498 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7499 local values in hildon_date_editor_size_allocate
7501 * src/hildon-date-editor.c: merged the two if() branches together
7503 2008-04-07 Sven Herzberg <sven@imendio.com>
7505 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7506 local values in hildon_date_editor_size_allocate
7508 * src/hildon-date-editor.c: changed the arguments of the if()
7511 2008-04-07 Sven Herzberg <sven@imendio.com>
7513 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7514 local values in hildon_date_editor_size_allocate
7516 * src/hildon-date-editor.c: split the calculation of the allocation
7517 from the real allocation
7519 2008-03-27 Michael Natterer <mitch@imendio.com>
7521 Fixes: NB#81696: The passcode is not overwritten even after
7524 * src/hildon-code-dialog.c
7525 (hildon_code_dialog_button_clicked)
7526 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
7527 because that doesn't overwrite selected text. Instead, emit the
7528 "commit" signal on the entry's im_context so the entry's normal
7529 insert logic is triggered. Set the cursor to the end of the entry
7530 after each insert operation so that we *only* insert in the middle
7531 of the text if something was selected.
7533 2008-03-27 Michael Natterer <mitch@imendio.com>
7535 Enable fixing: NB#79916 and NB#79918: The help topic for Color
7536 selector cannot be opened
7538 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
7539 when the popup color selector is created. Please connect to this
7540 signal in order to set the dialog's help ID.
7542 2008-03-25 Sven Herzberg <sven@imendio.com>
7544 Fixes: MB#1212: Hide info banners (infoprints) on click
7546 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
7547 extracted the close event simulation into an extra function
7548 (hildon_banner_button_press_event): simulate a close event and destroy
7549 the widget if the event wasn't handled
7550 (hildon_banner_class_init): added the button_press_event handler
7551 (hildon_banner_init): added button-press events to the widget
7553 2008-03-25 Sven Herzberg <sven@imendio.com>
7555 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
7556 Patch from: Mohammad Anwari <mdamt@maemo.org>
7558 * src/hildon-banner.c: let the HildonBanners pop up on the left side
7559 instead of the right in RTL mode
7560 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
7561 breadcrumb button list in RTL mode
7562 * src/hildon-caption.c: mirror the appearance of the caption widget in
7564 * src/hildon-date-editor.c: mirror appearance of the date editor in
7566 * src/hildon-time-editor.c: mirror appearance of the time editor in
7568 * src/hildon-window.c: fix the position of the popup in RTL mode
7570 2008-03-25 Sven Herzberg <sven@imendio.com>
7572 Amendment to the fix of NB#22072. Fix compilation.
7574 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
7576 2008-03-19 Sven Herzberg <sven@imendio.com>
7578 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
7581 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
7582 timeout id properly when the timeout will disappear this leaves no
7583 artifacts around in the destroy(); there will only be the timeout
7584 created by hildon_banner_ensure_timeout() and adding a new timeout
7585 will also work if the timeout gets removed because the timeout_handler
7588 2008-03-19 Michael Natterer <mitch@imendio.com>
7590 Fixes: NB#79791: Cannot set focus to Master volume using stylus
7592 * src/hildon-volumebar.c
7593 * src/hildon-vvolumebar.c
7594 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
7595 the widget becomes focussable at all.
7597 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
7598 set the focus to wither the mute button or the volumebar.
7600 Remove own "can-focus" property and instead listen to
7601 notify::can-focus in order to update the widget's state.
7603 Implement GtkWidget::focus() and make sure we can also *leave* the
7604 widget, not only enter it, depending on volumebar orientation and
7605 requested focus direction.
7607 Clean up set_mute() to cooperate nicely with all the above.
7609 2008-03-04 Michael Natterer <mitch@imendio.com>
7611 Fixes: NB#78481: information banners are hidden under browser menu
7613 * src/hildon-banner.c: call gtk_window_present() on the banners so
7614 they are risen if they are already visible.
7616 2008-03-03 Sven Herzberg <sven@imendio.com>
7618 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
7620 * examples/hildon-window-menu-example.c: (main): extended the window
7621 menu example to serve as a testcase for automatically added
7622 accelerator groups, too
7623 * src/hildon-window.c: (hildon_window_add_accel_group),
7624 (hildon_window_set_menu): added patch by Tommi Komulainen
7626 2008-03-03 Sven Herzberg <sven@imendio.com>
7628 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
7630 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
7631 knowledge about the border allocators used within GTK+
7633 2008-02-26 Sven Herzberg <sven@imendio.com>
7635 Fixes: MB#2981: Build with asserts broken
7637 * src/hildon-date-editor.c,
7638 * src/hildon-number-editor.c,
7639 * src/hildon-time-editor.c,
7640 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
7641 the proper GType instance check
7643 2008-02-25 Sven Herzberg <sven@imendio.com>
7645 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
7647 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
7648 * examples/hildon-window-menu-example.c: (main): explicitly show
7650 * src/hildon-window.c:
7651 (hildon_window_set_main_menu): moved most of the code from set_menu()
7652 to this place; skipped the call to gtk_widget_show_all(); also didn't
7653 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
7654 (hildon_window_set_menu): removed most of the code, just keep the
7655 questionable gtk_widget_show_all()
7656 * src/hildon-window.h: added the new function and deprecate the old
7659 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7665 * debian/changelog: Updating.
7667 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7670 * pkgconfig/Makefile.am:
7671 * pkgconfig/hildon.pc.in:
7674 Do not use PACKAGE_VERSION_MAJOR as the API revision,
7675 use newly created API_MAJOR_VERSION.
7677 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7683 * debian/changelog: Updating.
7685 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7687 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
7689 Add outer_border style property, we use it but don't define it (!).
7693 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
7695 * examples/hildon-bread-crumb-trail-example.c (main):
7699 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
7701 Fix logic for the bread crumb trail node removal.
7705 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7711 * debian/changelog: Updating.
7713 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7715 Patch by Alejandro to get/set passwords dialogs accesibility.
7717 * hildon-1/src/hildon-get-password-dialog.c:
7718 * hildon-1/src/hildon-set-password-dialog.c:
7719 Set atk_set_name to the passwd entries in order to allow
7720 accessibility by name on this entries.
7722 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7727 * debian/control: Updating gtk dep.
7729 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
7731 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
7732 USE_MAEMO_GTK is enabled.
7734 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
7736 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
7737 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
7739 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7745 * debian/changelog: Updating.
7747 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7749 * examples/Makefile.am:
7750 * examples/hildon-logical-color-example.c:
7751 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
7752 applied + adding a test case. Fixes: NB#71660.
7754 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
7756 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
7757 to be visible, fixes warning on map for windows without toolbars.
7759 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
7761 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
7762 2.11.0, add a check for that besides the MAEMO_GTK check.
7764 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7770 * debian/changelog: Updating.
7772 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7774 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
7775 visibility. Fixes: NB#70842 and MB#615.
7777 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7779 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
7780 set the separator as no-show-all so it doesn't unintentionally appear when
7781 someone does a show_all.
7783 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7785 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
7786 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
7787 toplevel item. Fixes: NB#62031
7789 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
7791 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
7792 fix the name of the function in the docs.
7794 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7800 * debian/changelog: Updating.
7802 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7804 * examples/hildon-banner-long-example.c: Adding a test-case for long
7807 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
7809 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7811 * src/hildon-color-chooser-dialog.c:
7812 * src/hildon-color-chooser.c:
7813 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
7814 memory leaks in font selector and color selector. Fixes: NB#70499 and
7817 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
7819 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
7821 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7823 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
7824 little bit bigger. Fixes: #NB63694.
7826 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7832 * debian/changelog: Updating.
7834 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7837 * doc/hildon-docs.sgml:
7838 * doc/images/bread-crumb-trail.png:
7839 * doc/images/calendar-popup.png:
7840 * doc/images/caption.png:
7841 * doc/images/code-dialog.png:
7842 * doc/images/color-button.png:
7843 * doc/images/color-chooser-dialog.png:
7844 * doc/images/color-chooser.png:
7845 * doc/images/controlbar.png:
7846 * doc/images/date-editor.png:
7847 * doc/images/font-selection-dialog.png:
7848 * doc/images/get-password-dialog.png:
7849 * doc/images/hvolumebar.png:
7850 * doc/images/login-dialog.png:
7851 * doc/images/note.png:
7852 * doc/images/number-editor.png:
7853 * doc/images/range-editor.png:
7854 * doc/images/seekbar.png:
7855 * doc/images/set-password-dialog.png:
7856 * doc/images/sort-dialog.png:
7857 * doc/images/time-editor.png:
7858 * doc/images/time-picker.png:
7859 * doc/images/vvolumebar.png:
7860 * doc/images/weekday-picker.png: Adding the new generated widget shots.
7861 Adding the bread-crumb-trial and helpers to the documentation.
7863 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7865 * examples/hildon-find-toolbar-example.c:
7866 * src/hildon-find-toolbar.c:
7867 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
7868 actually continue firing the other handlers if connected. Adding a new
7870 hildon_find_toolbar_get_last_index that gets the index of the most
7871 recently added (last) item. Fixes: NB#52301.
7873 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7875 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
7876 behaviour. Fixes: NB#68610.
7878 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7880 * src/hildon-banner.c: Actually reverting the previous change. It somehow
7883 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7885 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
7886 when realizing the banner. Should make the infonbanner effect a bit more
7889 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7891 * src/hildon-volumebar.c:
7892 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
7893 hildon_volumebar_set_range_insensitive_message and
7894 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
7896 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7898 * src/hildon-window.c: Fixing the border freeing on destroy.
7900 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7902 * src/hildon-code-dialog-private.h:
7903 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
7904 kw keyboard support in HildonCodeDialog.
7906 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7912 * debian/changelog: Updating.
7914 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7916 * src/hildon-date-editor.c:
7917 * src/hildon-number-editor.c:
7918 * src/hildon-private.c:
7919 * src/hildon-private.h:
7920 * src/hildon-time-editor.c:
7921 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
7922 handling in subclassed composite widgets. Fixes: NB#66628.
7924 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7926 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
7927 from destroy_ callback as it introduces problems in async dbus signal
7928 handlers. Fixes NB#66673.
7930 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7932 * examples/hildon-hvolumebar-example.c:
7933 * src/hildon-volumebar.c: Improving the focus handling in the
7934 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
7935 set_property accessor so that "mute" property can be actually set. I'm
7936 scared that nobody noticed it's totally broken.
7938 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7940 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
7943 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7945 * src/hildon-calendar.c:
7946 * src/hildon-number-editor.c:
7947 * src/hildon-time-picker.c: Changing the timeout repeat so that it
7948 matches the spec of 6 chars per second. Fixes: NB#60489.
7950 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7952 * src/hildon-helper.c: Really fixing NB#58352. Looks like
7953 gtk_style_lookup_color sometime returns FALSE even though color was
7954 found and values were filled properly. Weird. Removing the warning for the
7957 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7959 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
7960 expand vertically. Adding some extra space to the find toolbar buttons to
7961 make them thumbable. Fixes NB#66060.
7963 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7965 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
7966 popup with "Ok" and "Cancel". Fixes NB#59299.
7968 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7970 * src/hildon-calendar.c: Process all window updates before executing next
7971 timeout. Fixes: NB#54146.
7973 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7979 * debian/changelog: Updating.
7981 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7983 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
7984 the client event and ignore it, since we use the delete event to close
7987 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7989 * src/hildon-helper.c: Remove the bogus warning about color not being
7990 found. Fixes NB#58352.
7992 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7994 * examples/Makefile.am:
7995 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
7996 HildonSeekbar widget inside a toolbar.
7998 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8000 * src/hildon-banner.c (hildon_banner_init): mark the banners as
8001 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8002 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8003 don't want to be closed by non-temporary windows on map.
8005 Also use G_DEFINE_TYPE instead of manually typed code.
8007 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8014 * debian/rules: Updating.
8016 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8018 * examples/Makefile.am:
8019 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8020 bug NB#61128. Strangely it works.
8022 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8024 * src/hildon-date-editor.c: When the date editor entry has been changed
8025 but the numbers of characters < max, turn off the skip validation flag.
8026 Prevents a situation when we enter first a valid year and later re-write
8027 it with an invalid one. Fixes NB#60154.
8029 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8031 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
8032 code dialog. Fixes NB#64355.
8034 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8036 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
8037 switching the page. Fixes NB#49374.
8039 * examples/Makefile.am:
8040 * examples/hildon-wizard-dialog-example.c: Adding an example for
8041 HildonWizardDialog that shows how to handle manual sensitivity setting on
8044 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8048 * src/hildon-version.h.in:
8049 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
8051 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8053 * src/hildon-volumebar.c: Updating the docs.
8055 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8061 * debian/changelog: Updating.
8063 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8065 * src/hildon-find-toolbar.c:
8066 * src/hildon-find-toolbar.h: Adding a few new functions to control the
8067 selected item: hildon_find_toolbar_set_active,
8068 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
8069 hildon_find_toolbar_get_active_iter . They correspond to respective
8070 GtkComboBox functions.
8072 * examples/Makefile.am:
8073 * examples/hildon-find-toolbar-example.c: Adding the example to test the
8076 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8078 * examples/Makefile.am:
8079 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
8082 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
8083 when font size > 32 and we pack a focusable widget inside. Actually using
8084 the default response would work too, but since we don't show default
8085 response state in any way (no theming) it would not be visible to the
8086 user. Fixes NB#63430.
8088 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8090 * src/hildon-date-editor.c: Adding the missing variable setter in the
8091 set_property handler. Fixes NB#54182.
8093 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8095 * src/hildon-window.h: Changing the long key press time from 1500ms to
8096 800ms as requested in NB#63700. I have a bad feeling about this, let's
8097 see... Fixes NB#63700.
8099 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
8101 * src/hildon-time-picker.c (hildon_time_picker_class_init,
8102 hildon_time_picker_map, hildon_time_picker_realize,
8103 hildon_time_picker_style_set): Split the contents of map to more
8104 appropriate functions; set window decorations on realize and update
8105 arrows' size requisitions on style-set. Avoids unnecessary resizing.
8107 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
8112 * debian/changelog: Updating.
8114 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
8116 * src/Makefile.am: fixed installation of the header files
8118 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8124 * debian/changelog: Updating.
8126 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8128 * configure.ac: Removing some remaining of --enable-xan.
8130 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
8132 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
8133 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
8135 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
8136 2.10.12-osso6 because the move-focus signal needs to be available in
8139 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8141 * examples/Makefile.am:
8142 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
8143 that makes a HildonVolumebar insensitive before mapping it. Seems to work
8144 fine. Prolly NB#61128 is fixed now.
8146 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8148 * src/hildon-volumebar.c:
8149 * src/hildon-volumebar.h: Adding the
8150 hildon_volumebar_set_range_insensitive_message and
8151 hildon_volumebar_set_range_insensitive_messagef functions to set
8152 insensitive message on the slider of the volumebar. Fixes NB#61129.
8154 * examples/Makefile.am:
8155 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
8156 test the new insensitive messsage functionality on HildonVolumebar.
8158 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
8160 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
8163 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
8165 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
8166 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
8167 button on after clearing the trail.
8169 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8171 * src/hildon-code-dialog.c: Removing the separator from the dialog.
8173 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8175 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
8176 by splitting the installed headers in generated and non-generated groups. Use
8177 only the non-generated headers to create the hildon-enum-types.h file.
8179 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
8181 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8183 * src/hildon-window.c: Hide the window before performing the destroy.
8184 Should make the app closing a little tiny bit more snappy.
8186 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8188 * src/hildon-seekbar.c: add gtkrange.h header
8189 * src/hildon-caption.c: remove unused variable
8191 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
8193 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
8196 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8202 * debian/changelog: Updating.
8204 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
8206 * src/hildon-window.c (hildon_window_window_state_event,
8207 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
8208 escape timeout on focus-out-event rather than notify::is-topmost; the
8209 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
8211 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8213 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
8214 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
8216 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8218 * src/hildon-window: actually, you need to use the macro always, there's
8219 no private pointer in the instance structure. We should have cleaned this up
8220 when we had the chance...
8222 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8224 * src/hildon-window.c: do not get the private date from HildonWindow before
8225 it passes the g_return_if_fail check. Once it's passed the test, there's no
8226 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
8227 if you are only going to access the data once. Whitespace cleanups.
8229 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
8231 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8232 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8234 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8240 * debian/changelog: Updating.
8242 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8244 * src/hildon-window.c: When destroying the window, remove (if exists) the
8245 escape timeout handler. Fixes #NB59276.
8247 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8249 * src/hildon-banner.c: When realizing the widget, set the window
8250 transiency. Setting the transiency in the gobject constructor is not
8251 good, as the widget is not realized at that point. Fixes: #NB56624.
8253 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8255 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
8256 Add padding for future expansions.
8258 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8260 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
8261 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
8262 will fake an activation on the previous to the last item of the trail, so
8263 the effect can be overrided by the developer as usual.
8264 Also change the callback for the back button to do the same thing, so its
8265 effect can be overrided too. Fixes: NB#58982
8267 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8269 * src/hildon-caption.c: Implementing the proper focus grabbing in the
8270 HildonCaption. Fixes NB#52379.
8272 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8274 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
8275 the internal state of the trail after the user has had the chance of executing
8276 his handler for the signal. Specifically, it may happen that the activated button
8277 is removed and the user still lets the default handler run. This would segfault
8280 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8282 * src/hildon-font-selection-dialog.c: When the font is really big, add the
8283 scrollbar to the preview dialog. Fixes NB#54147.
8285 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8287 * src/hildon-date-editor.c: Changing the default max year to 2037. The
8288 max/min year properties can be altered, so the client can modify it
8289 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
8291 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8293 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
8294 hildonlike by default. Fixing a problem with disappearing arrows when
8295 scrolling through months and years. Fixes NB#54127.
8297 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8299 * examples/hildon-date-editor-example.c: Adding error callback to the date
8302 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8308 * configure.ac: Updating.
8310 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8312 * configure.ac: Adding a special '--enable-xan' configure option that
8313 turns off the -Werror compilation setting. Usefull for development.
8315 * src/hildon-calendar.c:
8316 * src/hildon-number-editor.c:
8317 * src/hildon-time-picker.c: Adding the 5* multiplier to
8320 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
8322 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
8323 instead of g_object_ref + gtk_object_sink.
8325 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8331 * debian/changelog: Updating.
8333 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8335 * src/hildon-color-chooser-dialog.c:
8336 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
8337 straight from Tommi labs.
8339 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8341 * examples/hildon-finger-example.c: Correcting the header file path.
8343 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
8344 the changed signal. Fixes a small memory leak.
8346 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8350 * src/hildon-banner.c: Importing several usefull fixes from the
8351 ubuntu-mobile branch.
8353 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8355 * examples/Makefile.am:
8356 * examples/hildon-finger-example.c: Adding a finger-checking code
8359 * src/hildon-font-selection-dialog.c: Do not allocate the color
8360 structure using the g_new. Fixes NB#54061.
8362 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8364 * src/hildon-helper.c: Correcting tabs in file.
8366 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
8368 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
8369 control the visibility of the children.
8371 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
8373 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8379 * debian/changelog: Updating.
8381 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8383 * src/hildon-bread-crumb-trail.c:
8384 (hildon_bread_crumb_trail_size_allocate):
8386 Make the back button always a square.
8388 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8390 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
8391 from the .c file as it's a private file.
8393 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8395 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
8396 uses slightly bigger height.
8398 * src/hildon-font-selection-dialog.c: Adding some checks before
8399 freeing memory in the font selection dialog.
8401 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8403 * src/hildon-font-selection-dialog.c: Adding a small check when
8406 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
8407 buttons sensitivity on page switching.
8409 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
8411 * src/hildon-bread-crumb-trail.c: make the add method handle all the
8412 internal details of adding a bread crumb to the trail.
8414 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8420 * debian/changelog: Updating.
8422 * src/hildon-bread-crumb-trail.h:
8423 * src/hildon-bread-crumb.h: Changing the API guard to
8424 HILDON_ENABLE_UNSTABLE_API.
8426 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8434 * src/hildon-helper.h: Updating.
8436 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8444 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8448 * src/hildon-helper.h: Small fix to make the package actually compile.
8450 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8452 * src/hildon-bread-crumb-trail.h:
8453 * src/hildon-bread-crumb.h:
8455 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
8456 to define ENABLE_UNSTABLE_API in the code that includes these headers.
8458 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8460 * examples/hildon-bread-crumb-trail-example.c:
8462 * src/hildon-bread-crumb-trail.c:
8463 * src/hildon-bread-crumb-trail.h:
8464 * src/hildon-bread-crumb.c:
8465 * src/hildon-bread-crumb.h:
8466 * src/hildon-marshalers.list:
8467 * src/hildon-bread-crumb-widget.c:
8468 * src/hildon-bread-crumb-widget.h:
8470 Slight change in the widget design. The bread crumb trail API is
8471 unchanged, but HildonBreadCrumb is now an interface. A *private*
8472 implementation, hildon-bread-crumb-widget, is provided and used
8473 internally by the trail for the push_text/push_icon functions.
8475 The generic push API is still available, so anyone can implement
8476 and use its own bread crumb widget.
8478 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8480 * debian/rules: Fixing the shlibs.
8482 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8484 * src/hildon-banner.c: Fixing a problem with timed banners having
8485 their parrent destroyed before they are.
8487 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
8489 * src/hildon-bread-crumb.c:
8490 * src/hildon-bread-crumb.h:
8492 Make the get_natural_size function a vfunc.
8494 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8496 * src/hildon-bread-crumb.c:
8497 * src/hildon-bread-crumb-trail.c:
8501 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8508 * debian/changelog: Updating for release.
8510 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8512 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
8513 don't leak the pango layout.
8515 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8518 * examples/hildon-bread-crumb-trail-example.c:
8522 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8524 * debian/changelog: Removing the bug-fixed entries that were actually
8525 resolved as WONTFIX.
8527 * src/hildon-date-editor.c: Removing a redundant check. Fixes
8530 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8532 * src/hildon-bread-crumb-trail.c:
8533 * src/hildon-bread-crumb-trail.h:
8534 * src/hildon-bread-crumb.c:
8535 * src/hildon-bread-crumb.h:
8539 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8541 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
8542 until it's passed the type check.
8544 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8546 * examples/hildon-bread-crumb-trail-example.c
8550 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8552 * examples/Makefile.am
8553 * examples/hildon-bread-crumb-trail-example.c
8555 * src/hildon-bread-crumb-trail.c
8556 * src/hildon-bread-crumb-trail.h
8557 * src/hildon-bread-crumb.c
8558 * src/hildon-bread-crumb.h
8560 New HildonBreadCrumbTrail widget.
8562 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
8564 * src/hildon-range-editor.c (hildon_range_editor_init),
8565 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
8566 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
8567 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
8568 hildon_time_editor_class_init, hildon_time_editor_init),
8569 src/hildon-get-password-dialog.c (invalid_input,
8570 hildon_get_password_set_property, hildon_get_password_get_property,
8571 create_contents, hildon_get_password_dialog_set_max_characters),
8572 src/hildon-set-password-dialog.c (create_contents),
8573 src/hildon-date-editor.c (hildon_date_editor_init),
8574 src/hildon-login-dialog.c (hildon_login_dialog_init),
8575 src/hildon-number-editor.c (hildon_number_editor_init),
8576 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
8577 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
8578 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
8579 configure option and adding the respective checks in the code.
8580 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
8581 hildon_calendar_drag_data_received): fixed some build warnings.
8583 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8585 * debian/changelog: A 1.0.0 release notes.