1 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
3 * hildon/hildon-touch-selector.c: Improve the documentation for
4 hildon_touch_selector_append_column().
6 Fixes MB#4641 (Documentation:
7 hildon_touch_selector_append_column() ref-counting)
9 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
11 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
12 Comment out test 5, since the hildon_controlbar_set_range() range
13 check is broken and fixing it would have side effects. Also,
14 this finally fixes make distcheck.
16 Fixes: NB#101420 (Update unit tests and fix make distcheck)
18 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
20 * tests/TEST-CASES.txt: Remove other bogus test.
21 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
22 Remove bogus test that was setting/retrieving a valid value.
24 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
26 * tests/TEST-CASES.txt: Remove bogus tests.
27 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
28 Remove three bogus tests that were actually setting valid colors.
30 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
32 * configure.ac: post release version bump
33 * debian/changelog: post release version bump
35 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
40 * configure.ac: Bump version.
41 * debian/changelog: Updates.
43 2009-06-08 Christian Dywan <christian@lanedo.com>
47 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
48 Correct errors in hildon_format_file-size_for_display and use
49 translations from the hildon-fm package instead of osso-filemanager.
51 2009-06-08 Alejandro G. Castro <alex@igalia.com>
53 * hildon/hildon-pannable-area.c,
54 (hildon_pannable_area_init): Initialized new values to handle the
56 (hildon_pannable_area_adjust_value_changed): Check if the values
57 changed before even call the redraw function.
58 (hildon_pannable_area_size_allocate),
59 (hildon_pannable_axis_scroll),
60 (hildon_pannable_area_scroll),
61 (hildon_pannable_area_jump_to): Improved the diagonal movement
64 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
67 2009-06-08 Alberto Garcia <agarcia@igalia.com>
69 * examples/hildon-banner-example.c:
71 (on_animation_clicked, on_animation_idle)
72 (on_progress_clicked, on_progress_idle):
73 Add additional reference for the cases when the parent window is
76 2009-06-08 Alberto Garcia <agarcia@igalia.com>
78 * doc/hildon-sections.txt
79 * hildon/hildon-pannable-area.c
80 * hildon/hildon-banner.h
81 * hildon/hildon-banner.c: Documentation updates.
83 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
86 2009-06-05 Alejandro G. Castro <alex@igalia.com>
88 * hildon/hildon-calendar-popup.h:
89 * hildon/hildon-caption.h:
90 * hildon/hildon-code-dialog.h:
91 * hildon/hildon-controlbar.h:
92 * hildon/hildon-date-editor.h:
93 * hildon/hildon-dialog.h:
94 * hildon/hildon-get-password-dialog.h:
95 * hildon/hildon-hvolumebar.h:
96 * hildon/hildon-login-dialog.h:
97 * hildon/hildon-note.h:
98 * hildon/hildon-number-editor.h:
99 * hildon/hildon-range-editor.h:
100 * hildon/hildon-seekbar.h:
101 * hildon/hildon-set-password-dialog.h:
102 * hildon/hildon-sort-dialog.h:
103 * hildon/hildon-time-editor.h:
104 * hildon/hildon-time-picker.h:
105 * hildon/hildon-volumebar-range.h:
106 * hildon/hildon-volumebar.h:
107 * hildon/hildon-vvolumebar.h:
108 * hildon/hildon-weekday-picker.h:
109 * hildon/hildon-window.h:
110 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
111 macros with the current replacements
113 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
115 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
117 * hildon/hildon-color-button.c (hildon_color_button_init): Use
118 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
119 itself, to make it fit better with Fremantle style.
121 Fixes: NB#109878 (height and width of focus on color icon is not
122 consistent with other item in the application tool bar)
124 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
126 * hildon/hildon-touch-selector.c:
127 (hildon_touch_selector_optimal_size_request): use the current requisition
128 as the base, in order to include any possible extra widget, like the
129 hildon entry on HildonTouchSelectorEntry
131 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
133 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
135 * configure.ac: post release version bump
136 * debian/changelog: post release version bump
138 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
143 * configure.ac: Bump version.
144 * debian/changelog: Updates.
146 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
148 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
150 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
151 to ensure the banner contents are centered, instead of relying on
152 the expand and fill properties in GtkHBox.
153 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
155 Fixes: NB#108265 (Animation banner not properly centered)
157 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
159 * hildon/hildon-pannable-area.c
160 (hildon_pannable_area_initial_effect): Remove the initial_effect
161 management, check initial_hint
162 (hildon_pannable_are_expose_event): Remove the initial_hint management,
163 set initial_effect to FALSE
164 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
165 by launching the fade_timeout if the scrollbars state has changed and are
167 * examples/hildon-pannable-area-initial-hint-example.c
168 Modified to allow to remove rows too. Add and remove rows one by one.
170 2009-05-28 Alberto Garcia <agarcia@igalia.com>
172 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
173 Don't close the menu if there's an animation actor below it.
175 Fixes: NB#117927 (Application menu not usable with animation
178 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
180 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
181 "focus-on-click" from the dialog button, to avoid stealing the
182 focus from the entry.
184 Fixes: NB#118903 (Account setup wizard: Text in Search field
185 should be focused when "Region" touch list picker is reopened
188 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
190 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
191 (prepare_action_area): Completely hide the dialog separator.
193 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
195 * hildon/hildon-touch-selector-entry.c
196 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
197 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
198 now that the entry is exposed.
200 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
202 * hildon/hildon-touch-selector-entry.c
203 (hildon_touch_selector_entry_init): Change the entry's size
204 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
206 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
208 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
209 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
210 avoid unnecessary scaling.
212 2009-05-27 Alberto Garcia <agarcia@igalia.com>
214 * hildon/hildon-app-menu.c (hildon_app_menu_map):
215 Create grab transfer window before calling parent's map function.
217 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
218 "crushed" button(s) in the top left corner)
220 2009-05-26 Alberto Garcia <agarcia@igalia.com>
222 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
223 Check if the window is already realized when pushing it.
225 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
227 * configure.ac: post release version bump
228 * debian/changelog: post release version bump
230 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
235 * configure.ac: Bump version.
236 * debian/changelog: Updates.
238 2009-05-25 Alberto Garcia <agarcia@igalia.com>
240 * hildon/hildon-app-menu.c: Doc updates.
242 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
244 * hildon/hildon-banner.c: Remove leftover macro.
246 2009-05-25 Alejandro G. Castro <alex@igalia.com>
248 * hildon/hildon-pannable-area.c,
249 (hildon_pannable_area_scroll_indicator_fade),
250 (hildon_pannable_area_button_release_cb): Reviewed vmin
251 conditions, it could cause problems in the fadeout procedure.
253 2009-05-25 Alejandro G. Castro <alex@igalia.com>
255 * hildon/hildon-pannable-area.c
256 (hildon_pannable_area_button_release_cb): Added a threshold to
257 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
259 2009-05-25 Alejandro G. Castro <alex@igalia.com>
261 * hildon/hildon-pannable-area.c,
262 (hildon_pannable_area_set_property): Added code to sync the gtk
263 dnd threshold with the panning threshold.
265 2009-05-25 Alejandro G. Castro <alex@igalia.com>
267 * hildon/hildon-pannable-area.c,
268 (hildon_pannable_area_class_init): Changed some of the default
269 values, now it should be less responsive and more accurate.
271 2009-05-25 Alejandro G. Castro <alex@igalia.com>
273 * hildon/hildon-pannable-area.c,
274 (hildon_pannable_area_init),
275 (hildon_pannable_area_scroll_indicator_fade),
276 (hildon_pannable_area_button_press_cb),
277 (hildon_pannable_axis_scroll),
278 (hildon_pannable_area_timeout),
279 (hildon_pannable_area_motion_notify_cb),
280 (hildon_pannable_area_button_release_cb): Changed the name of the
281 clicked attribute to button_pressed, it is more clear about its use.
283 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
285 * src/hildon-pannable-area.c
286 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
288 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
289 vertical scrollbar visibility, and use the data on private section instead,
290 remove the initial_hint check
291 (hildon_pannable_area_expose_event): add the initial_hint check here
293 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
295 * src/hildon-pannable-area.c
296 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
297 if the fadeout effect was used
298 (hildon_pannable_area_expose_event): check if it is required to
299 manage the initial effect on the begining of the function. Previously
300 it was made at the end, but this doesn't ensure that the scrollbars
301 will be painted on the first show. Do not set to FALSE initial_effect,
302 to ensure that the initial hint is showed the first time the pannable
304 * examples/Makefile.am
305 * examples/hildon-pannable-area-initial-hint-example.c:
306 New example, to show that the initial-hint is showed when the widget
309 Fixes: NB#116607 (Pannable area should always have scrollbar visible
310 initially if the application can be scrolled)
312 2009-05-25 Alberto Garcia <agarcia@igalia.com>
314 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
315 Resize table before adding new items to make sure that
316 gtk_table_resize() is called just once.
318 2009-05-25 Alberto Garcia <agarcia@igalia.com>
320 * hildon/hildon-app-menu-private.h
321 * hildon/hildon-app-menu.c (item_visibility_changed)
322 (filter_visibility_changed, hildon_app_menu_show_all)
323 (hildon_app_menu_hide_all, hildon_app_menu_init):
324 Rearrange items just once when gtk_widget_show_all()/hide_all()
327 2009-05-25 Alberto Garcia <agarcia@igalia.com>
329 * hildon/hildon-app-menu.c
330 (hildon_app_menu_insert, hildon_app_menu_add_filter):
331 Don't call gtk_widget_show() on added items.
333 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
334 automatically when they're added)
336 2009-05-20 Alberto Garcia <agarcia@igalia.com>
338 * hildon/hildon-banner.c
339 (hildon_banner_realize, +hildon_banner_unrealize)
340 (+screen_size_changed, hildon_banner_class_init):
341 Redisplay the banner if the screen is rotated.
343 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
344 on transition from landscape to portrait)
346 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
348 * hildon/hildon-banner.[ch]:
349 (hildon_banner_show_information_override_dnd): remove icon_name from the
350 method definition as it is ignored.
351 * examples/hildon-banner-dnd-example.c: updated with the change on
354 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
356 * hildon/hildon-banner-private.h: new require_override_dnd and
357 overrides_dnd variables
358 * hildon/hildon-banner.h:
359 (hildon_banner_show_information_override_dnd): new method, that shows
360 the information but sets the override flag, in order to show important
362 * hildon/hildon-banner.c
363 (hildon_banner_show_information_override_dnd): new method
364 (hildon_banner_set_override_flag): new utility function
365 (hildon_banner_real_show_information): new utility function, in order to
366 generalize the current hildon_banner_show_information_override_dnd and
367 hildon_banner_show_information_override_dnd
368 * examples/Makefile.am
369 * examples/hildon-banner-dnd-example.c: New example that show how to
370 use the new hildon_banner_show_information_override_dnd
372 Fixes: NB#114874 (There is no possibility to show hildon banners with
375 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
377 * hildon/hildon-pannable-area.c: Add a comment explaining the math
378 behind hildon_pannable_calculate_vel_factor().
380 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
382 * hildon/hildon-pannable-area.c
383 (hildon_pannable_calculate_vel_factor): Correct the sum of the
384 deceleration factors.
386 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
388 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
389 Reduce the default value for 'scroll_time' to 1 second, since the
390 current initial scrolling takes too much time.
392 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
394 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
395 calculate velocity factor during initialization, since the properties
398 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
400 * hildon/hildon-pannable-area.c
401 (hildon_pannable_area_set_property): Calculate the velocity factor
402 after setting the deceleration property and not after.
404 2009-05-20 Alberto Garcia <agarcia@igalia.com>
406 * hildon/hildon-entry.c
407 (hildon_entry_class_init, +set_property, hildon_entry_new)
408 * hildon/hildon-check-button.c
409 (hildon_check_button_class_init)
410 (+set_property, hildon_check_button_new):
411 Make the theme size a property.
413 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
414 others) do too much in the _new function)
416 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
418 * configure.ac: post release version bump
419 * debian/changelog: post release version bump
421 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
426 * configure.ac: Bump version.
427 * debian/changelog: Updates.
429 2009-05-15 Alberto Garcia <agarcia@igalia.com>
431 * hildon/hildon-gtk.h
432 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
433 New API function to take a screenshot of a window
435 Fixes: NB#106374 (Need API to take a loading screenshot)
437 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
439 * hildon/hildon-time-selector.c
440 (update_format_policy): prevent to use hours and minutes unitialized
442 2009-05-15 Alberto Garcia <agarcia@igalia.com>
444 * hildon/hildon-window.c (hildon_window_size_request):
445 Always request the full size of the screen (minus the title bar if
446 not in fullscreen mode).
448 Fixes: NB#107486 (HildonWindow should size itself properly)
450 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
452 * hildon/hildon-note-private.h: Add idle_handler to the private data.
453 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
454 (on_show_cb), (sound_handling): Disconnect the idle handler for
455 the sound when the note is finalized to avoid possible crashes.
457 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
460 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
462 * src/hildon-animation-actor.c,
463 * src/hildon-remote-texture.c:
464 Added proper object cleanup to remove signal handler and object
465 references as HildonAnimationActor and HildonRemoteTexture
466 objects get destroyed.
468 Fixes: NB#116682 (Destroying parented animation actors when
469 parent in unmapped leads to crash)
471 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
473 Based on a patch by Christian Dywan (christian@imendio.com)
475 * doc/hildon-sections.txt:
476 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
477 * hildon/hildon-helper.h: New file size formatting method.
479 * debian/control: Depend on osso-filemanager l10n package for
480 proper localization strings.
482 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
484 * tests/Makefile.am: Include top_srcdir to make possible to build
485 tests in a different builddir.
486 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
487 on a different builddir.
489 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
491 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
492 (hildon_touch_selector_remove): Disconnect model's signal handler
495 Fixes: NB#116289 (Hildon home crashes while adding task
498 2009-05-11 Alberto Garcia <agarcia@igalia.com>
500 * hildon/hildon-button.c
501 (hildon_button_set_title, hildon_button_set_value):
502 Hide labels containing an empty string.
504 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
506 * configure.ac: post release version bump
507 * debian/changelog: post release version bump
509 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
514 * configure.ac: Bump version.
515 * debian/changelog: Updates.
517 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
519 * hildon/hildon-note-private.h: Removed sound_signal_handler
520 * hildon/hildon-note.c
521 (on_show_cb): new callback on note "show" event, this simply adds
522 a idle, with the function sound_handling
523 (sound_handling): removed the sound_signal_handler management
524 (hildon_note_init): connect note "show" event to on_show_cb
525 (hildon_note_realize): remove the connection to "expose-event"
527 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
528 device?' confirmation note)
530 2009-05-08 Alberto Garcia <agarcia@igalia.com>
532 * hildon/hildon-note.c
533 (hildon_note_new_information_with_icon_name)
534 (hildon_note_new_confirmation_with_icon_name):
535 Terminate the list of parameters in g_object_set() calls
537 Fixes: NB#115166 (Formatting memory card is not taking place)
539 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
541 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
542 "dialog-information" role for the sound being played.
544 2009-05-06 Alberto Garcia <agarcia@igalia.com>
546 * hildon/hildon-app-menu.c (hildon_app_menu_init):
547 Don't make the menu a modal window, it causes strange interactions
548 with the pointer grab and it's not really needed.
550 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
552 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
554 * hildon/hildon-touch-selector.[ch]
555 (hildon_touch_selector_optimal_size_request): function added to get a
556 optimal size request from the touch selector, when you want a dialog to
557 show as much of the selector
558 * hildon/hildon-picker-dialog.c:
559 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
560 (hildon_app_menu_class_init):
561 New "max-height-landscape" and "max-height-portrait" style properties
562 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
563 (hildon_picker_dialog_get_max_height): returns the maximum height using
564 the style properties defined and checking the current portrait/landscape
566 (_hildon_picker_dialog_set_selector): removed the set_size_request
568 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
570 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
572 * hildon/hildon-bread-crumb-trail.c:
573 * hildon/hildon-bread-crumb.c:
574 * hildon/hildon-seekbar.c:
575 Add reference to replacements for these deprecated widgets.
577 Fixes: MB#4461 (Documentation: All deprecations should mention
580 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
582 * examples/hildon-remote-texture-example.c
584 Change the include to the hildon-remote-texture in order to compile
585 properly the examples on the installed libhildon1-examples package
587 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
589 * tests/Makefile.am: Add check for HildonPickerButton.
590 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
591 (START_TEST), (create_hildon_picker_button_suite): Add three simple
592 checks for the HildonPickerButton.
593 * tests/check_test.c (configure_tests): Add the test suite.
594 * tests/test_suites.h: likewise.
596 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
598 * hildon/hildon-touch-selector.c
599 (+on_row_changed): Emit HildonTouchSelector:changed when the
600 contents of a selected row change.
601 (_create_new_column), (_hildon_touch_selector_set_model): connect
602 to GtkTreeModel:row-changed on a newly set model.
604 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
606 2009-05-05 Alberto Garcia <agarcia@igalia.com>
608 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
610 * hildon/hildon-banner.c (hildon_banner_destroy)
611 (hildon_banner_show_progress, hildon_banner_set_fraction):
612 Remove the progress bar from HildonBanner and use a progress
615 Fixes: NB#113761 (Update progress banner to use progress
618 2009-05-04 Alberto Garcia <agarcia@igalia.com>
620 * hildon/hildon-banner.c:
621 Calculate size of the banner label using the actual screen width
622 rather than using a fixed value.
624 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
627 2009-05-04 Alejandro G. Castro <alex@igalia.com>
629 * hildon/hildon-pannable-area.c,
630 (hildon_pannable_area_class_init): Fixed signals documentation
633 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
635 * configure.ac: post release version bump
636 * debian/changelog: post release version bump
638 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
643 * configure.ac: Bump version.
644 * debian/changelog: Updates.
646 2009-05-01 Alberto Garcia <agarcia@igalia.com>
648 * hildon/hildon-edit-toolbar.c
649 (hildon_edit_toolbar_init):
650 Don't let buttons in HildonEditToolbar receive focus.
652 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
653 typing on an HW arrows key)
655 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
657 * doc/Makefile.am: Fix build.
659 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
661 * doc/Makefile.am: Do not redefine content_files.
663 2009-04-30 Alberto Garcia <agarcia@igalia.com>
671 Renamed src/ to hildon/
676 Include <hildon/hildon.h> directly in all examples.
678 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
680 * src/hildon-sort-dialog.c
681 (hildon_sort_dialog_add_sort_key_with_sorting)
685 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
687 * src/Makefile.am: Move generated sources to CLEANFILES, so that
688 make distcheck passes.
690 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
692 * Makefile.am: Enable gtk-doc during distcheck.
694 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
696 * Makefile.am: Do not distribute the debian/ directory.
698 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
700 * doc/Makefile.am: Add the extra SGML files to content_files,
701 so that they are distributed properly.
703 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
705 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
708 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
710 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
711 (hildon_note_new_information_with_icon_name): Set the "icon" property
712 to preserve soundness.
714 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
716 * src/hildon-font-selection-dialog.c
717 (hildon_font_selection_dialog_set_property): Fail when the "family"
718 property is set to NULL.
720 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
722 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
725 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
727 * src/hildon-time-selector.h:
728 Added HildonTimeSelectorFormatPolicy
729 * src/hildon-time-selector.c:
730 Added PROP_TIME_FORMAT_POLICY
731 (_check_ampm_format): renamed to check_automatic_ampm_format
732 (update_format_policy), (update_format_dependant_columns): new functions
733 (hildon_time_selector_class_init)
734 (hildon_time_selector_contructor)
735 (hildon_time_selector_init)
736 (hildon_time_selector_get_property)
737 (hildon_time_selector_set_property)
738 (hildon_time_selector_get_time)
739 (hildon_time_selector_set_time)
740 * src/hildon-touch-selector.h: new file
741 * src/hildon-touch-selector.c
742 (hildon_touch_selector_emit_changed)
743 (hildon_touch_selector_block_changed)
744 (hildon_touch_selector_unblock_changed)
745 Added functions to allow to block the emission of the "changed" signal
746 * src/hildon-picker-dialog.c
747 (hildon_picker_dialog_show): call the parent show before the custom code
748 * examples/hildon-time-button-example.c
749 Modified, so now you can configure the time format using the new property
751 Added a new property "time-format-policy" that allow to choose the time
752 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
753 case it uses gconf in order to check if the time selector must use
756 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
759 2009-04-28 Alberto Garcia <agarcia@igalia.com>
761 * src/hildon-note.c (hildon_note_init):
762 Label in HildonNote must be left aligned, not centered. This
763 reverts the last commit in HildonNote.
765 Fixes: NB#112933 (text is not left aligned in confirmation dialog
766 is connectivity dialog)
768 2009-04-27 Alberto Garcia <agarcia@igalia.com>
773 * doc/hildon-sections.txt:
774 Added hildon_gtk_window_set_do_not_disturb()
776 2009-04-27 Alberto Garcia <agarcia@igalia.com>
778 * src/hildon-note.c (hildon_note_init): Center label.
780 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
783 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
788 * configure.ac: Bump version.
789 * debian/changelog: Updates.
791 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
793 * src/hildon-note-private.h: Add button-width to the private data.
794 * src/hildon-note.c (+resize_button),
795 (+hildon_note_orientation_update): methods to repack widgets on orientation
797 (screen_size_changed): Call above method for confirmation notes.
798 (hildon_note_realize): Always connect to the "screen-size" changed signal.
799 (hildon_note_rebuild): Store the original width request from buttons.
801 Fixes: NB#109635 (Confirmation notes do not support portrait)
803 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
805 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
806 when it is a progress note.
808 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
810 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
811 in the note, since there are no horizontally arranged contents.
813 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
815 * src/hildon-gtk.c (+set_flag): new generic method to
816 set/delay a flag setting in a window.
817 (hildon_gtk_window_set_progress_indicator):
818 (hildon_gtk_window_set_do_not_disturb),
819 (hildon_gtk_window_set_portrait_flags): use set_flag() to
820 avoid code redundance.
822 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
824 Based on a patch by Alberto Garcia (agarcia@igalia.com)
826 * src/hildon-gtk.c (set_clear_window_flag),
827 (do_set_progress_indicator), (do_set_do_not_disturb),
828 (do_set_portrait_flags),
829 (hildon_gtk_window_set_progress_indicator),
830 (hildon_gtk_window_set_do_not_disturb),
831 (hildon_gtk_window_set_portrait_flags):
832 Allow setting dnd-flag, progress indicator, and portrait flags
833 when the window is not realized.
835 2009-04-24 Alejandro G. Castro <alex@igalia.com>
837 * src/hildon-pannable-area.c,
838 * src/hildon-pannable-area.h: Add the hildon deprecated define to
839 the size request policy function and defines.
841 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
843 * doc/hildon-sections.txt: Add the new API.
844 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
845 method to set the portrait flags.
846 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
848 Fixes: NB#112328 (Adding helpers for setting portrait properties)
850 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
852 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
853 to allow using this method with other flags.
854 (hildon_gtk_window_set_progress_indicator): Update accordingly.
855 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
857 2009-04-22 Alberto Garcia <agarcia@igalia.com>
859 * src/hildon-touch-selector.c
860 (hildon_touch_selector_append_text_column):
861 Make the cell renderer use the smallest width possible.
863 Fixes: NB#108470 (Selected items in multiple selection are either
864 having a tick that is cut or not visible at all.)
866 2009-04-22 Alberto Garcia <agarcia@igalia.com>
868 * src/hildon-touch-selector.c
869 (hildon_touch_selector_append_text_column):
872 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
874 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
875 Use g_strdup_printf() instead of a fixed size buffer.
877 2009-04-21 Alberto Garcia <agarcia@igalia.com>
879 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
880 Close banners when a HildonAppMenu is popped up.
882 Fixes: NB#111027 (Title menu closed immediately if activated when
883 "Invalid e-mail address" banner is shown)
885 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
890 * configure.ac: Bump version.
891 * debian/changelog: Updates.
893 2009-04-20 Alberto Garcia <agarcia@igalia.com>
895 * src/hildon-banner.c (hildon_banner_realize):
896 Mark HildonBanner as supporting portrait mode.
897 Use GDK to set window properties insetad of direct Xlib calls.
899 Fixes: NB#111830 (HildonBanner should be marked as supporting
902 2009-04-20 Alberto Garcia <agarcia@igalia.com>
904 * src/hildon-note.c (hildon_note_rebuild):
905 Hide action area in information notes. Prevents text from being
906 slightly aligned to the left.
908 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
911 2009-04-20 Alberto Garcia <agarcia@igalia.com>
913 Patch by Mox Soini (ext-mox.soini@nokia.com)
915 * src/hildon-banner.c (hildon_banner_create_animation):
916 Use stylus-sized icons in animation banner.
918 Fixes: NB#111206 (stylus sized icon for animation banner)
920 2009-04-20 Alberto Garcia <agarcia@igalia.com>
924 (+hildon_gtk_window_set_do_not_disturb):
925 New API to set the do-not-disturb flag.
927 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
929 2009-04-20 Alberto Garcia <agarcia@igalia.com>
931 * examples/hildon-progress-indicator-example.c: Fix example
933 * src/hildon-gtk.c (set_clear_window_flag)
934 (hildon_gtk_window_set_progress_indicator):
935 Create a generic function for setting flags to a window.
936 Use GDK instead of direct Xlib calls.
938 2009-04-14 Alberto Garcia <agarcia@igalia.com>
940 * src/hildon-button.c (hildon_button_set_arrangement):
941 Due to NB#88126, if one of the labels is too long it will be
942 painted outside the button. The 'value' label is more likely to be
943 the longest one, so we change its packing options in order to
944 truncate it if necessary. As a side effect, the 'title' label will
945 no longer be truncated.
947 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
949 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
954 * configure.ac: Bump version.
955 * debian/changelog: Updates.
957 2009-04-13 Alejandro G. Castro <alex@igalia.com>
959 Deprecation of the hildon_pannable_area_set_size_request_policy
960 API, the only policy properly supported in gtk+ nowadays is the
963 * src/hildon-pannable-area.c,
964 (hildon_pannable_area_size_request): Added a workaround for the
965 size_request to avoid the problems of huge pixmaps in case someone
966 is still using the function.
967 * src/hildon-pannable-area.h: Deprecated the enum with the
970 Fixes: NB#110244 (Problems with the
971 hildon_pannable_area_set_size_request_policy API)
973 2009-04-08 Alejandro G. Castro <alex@igalia.com>
975 * src/hildon-pannable-area.c,
976 (hildon_pannable_area_init),
977 (hildon_pannable_area_size_request),
978 (hildon_pannable_area_style_set),
979 (hildon_pannable_draw_vscroll),
980 (hildon_pannable_draw_hscroll),
981 (hildon_pannable_area_check_scrollbars): Replaced area_width with
982 indicator_width to clarify the use of the attribute.
984 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
989 * configure.ac: Bump version.
990 * debian/changelog: Updates.
992 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
994 * src/hildon-picker-dialog.c
995 * src/hildon-touch-selector.c
996 Reverting the change that tried to avoid the hardcoded height on
997 the picker dialog, as causes problems on the hildon-touch-selector
1000 Fixes: NB#110029 (selectors not scrolling to selected value)
1002 2009-04-07 Alberto Garcia <agarcia@igalia.com>
1004 * src/hildon-touch-selector.c: Fix typos
1006 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1008 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1009 Use the event coordinates instead of gdk_window_get_pointer(). Also,
1010 request more motions after using it.
1012 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1014 * src/hildon-calendar.c (hildon_calendar_expose),
1015 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1016 Remove unused variables.
1018 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1020 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1021 variable assignment.
1023 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1025 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1026 Check the return value of gtk_tree_selection_get_selected()
1029 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1031 * src/hildon-animation-actor.c
1032 * src/hildon-button.c
1034 * src/hildon-pannable-area.c
1035 * src/hildon-picker-button.c
1036 * src/hildon-program.c
1037 * src/hildon-remote-texture.c
1038 * src/hildon-text-view.c
1039 * src/hildon-touch-selector.c
1040 * src/hildon-window-stack.c
1041 * src/hildon-window.c:
1042 Add missing 'Since: 2.2' tags.
1044 * doc/hildon-sections.txt:
1045 Add some missing symbols.
1047 * doc/hildon-docs.sgml:
1048 New 'Other' section for HildonAnimationActor and
1051 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1053 Patch by Iván Gómez (igomez@igalia.com)
1056 * doc/compiling.sgml
1057 * doc/hildon-docs.sgml
1058 * doc/hildon-sections.txt
1059 * doc/migration.sgml
1060 * doc/resources.sgml
1062 New chapters on using the Hildon library.
1063 Updated the general structure of the reference manual.
1064 Other minor documentation fixes.
1066 * src/hildon-calendar-popup.c
1067 * src/hildon-calendar.c
1068 * src/hildon-controlbar.c
1069 * src/hildon-date-editor.c
1070 * src/hildon-dialog.c
1071 * src/hildon-hvolumebar.c
1072 * src/hildon-number-editor.c
1073 * src/hildon-range-editor.c
1074 * src/hildon-sort-dialog.c
1075 * src/hildon-time-editor.c
1076 * src/hildon-time-picker.c
1077 * src/hildon-volumebar-range.c
1078 * src/hildon-volumebar.c
1079 * src/hildon-vvolumebar.c
1080 * src/hildon-weekday-picker.c:
1081 Add deprecation notes
1083 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1084 Document 'horizontal-movement' and 'vertical-movement' signals.
1086 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
1091 * configure.ac: Bump version.
1092 * debian/changelog: Updates.
1094 2009-04-06 Alejandro G. Castro <alex@igalia.com>
1096 * src/hildon-pannable-area.c,
1097 (hildon_pannable_area_class_init): increased the minimum velocity.
1098 (hildon_pannable_area_button_release_cb): Updated the
1099 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
1100 setup. Review the code to control that last event.
1102 Fixes: NB#109790 (Releasing finger in pannable area easily causes
1105 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
1107 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1109 * src/hildon-get-password-dialog.c
1110 (hildon_get_password_set_property),
1111 (hildon_get_password_get_property), (create_contents):
1112 * src/hildon-login-dialog-private.h:
1113 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
1114 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
1115 (hildon_login_dialog_get_password):
1116 * src/hildon-set-password-dialog-private.h:
1117 * src/hildon-set-password-dialog.c
1118 (hildon_set_password_set_property),
1119 (hildon_set_password_get_property), (create_contents),
1120 (hildon_set_password_response_change),
1121 (hildon_set_password_response_set), (hildon_checkbox_toggled):
1123 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
1124 instead and look more Fremantle style.
1126 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
1128 2009-04-03 Alberto Garcia <agarcia@igalia.com>
1130 * doc/hildon-sections.txt
1131 * src/hildon-window-stack.h
1132 * src/hildon-window-stack.c
1133 (+hildon_window_stack_get_windows):
1134 New API to obtain the list of windows on a stack.
1136 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1138 * src/hildon-app-menu.c (hildon_app_menu_popup)
1139 (hildon_app_menu_class_init, -hildon_app_menu_show):
1140 Remove hildon_app_menu_show() and move all its checks to
1141 hildon_app_menu_popup()
1143 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
1145 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
1146 (_hildon_picker_dialog_set_selector): removed call to
1147 gtk_widget_set_size_request
1148 * src/hildon-touch-selector.c
1149 (_create_new_column): change the pannable size request policy
1151 Avoid to use a hardcoded height for the hildon picker dialog. In order
1152 to get that, we needed to change the hildon pannable size request
1154 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1156 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1158 * src/hildon-window.c (hildon_window_map): Check for vbox to be
1159 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
1162 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1164 * debian/control: Depend on osso-system-lock localization package.
1165 * src/hildon-code-dialog.c: Obtain the secu_application_title
1166 translation from osso-system-lock.
1167 * src/hildon-get-password-dialog.c (create_contents): Do not mark
1168 for translation the atk related strings, that's not necessary.
1169 * src/hildon-set-password-dialog.c (create_contents): Ditto.
1170 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
1171 cancel button, it is not required.
1173 2009-04-02 Alejandro G. Castro <alex@igalia.com>
1175 * src/hildon-pannable-area.c,
1176 (hildon_pannable_area_class_init): Modified the default value of
1177 the overshooting max speed, we have reduced it.
1179 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1181 * doc/hildon-sections.txt
1182 * src/hildon-window-private.h
1183 * src/hildon-window.h
1184 * src/hildon-window.c (hildon_window_class_init)
1185 (hildon_window_init, hildon_window_finalize)
1186 (hildon_window_realize, hildon_window_get_property)
1187 (hildon_window_set_property, hildon_window_update_markup)
1188 (hildon_window_get_markup, hildon_window_set_markup):
1189 New "markup" property and hildon_window_{get,set}_markup() methods.
1191 * examples/hildon-stackable-window-example.c (new_window):
1192 Update example to use hildon_window_set_markup()
1194 Fixes: NB#106375 (Need API to retitle a window with a title
1197 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1199 * src/hildon-pannable-area.c,
1200 (hildon_pannable_area_class_init): Changed the default value of
1201 the initial_hint to TRUE.
1202 (hildon_pannable_area_initial_effect): Changed the initial effect,
1203 not the effect is just the fade-out of the scrollbars.
1205 Fixes: NB#107775 (No scrollbars can be seen when several items are
1206 available in a dialog)
1208 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1210 * src/hildon-program.c (hildon_program_update_top_most):
1213 Fixes: NB#109179 (Memory leak in Hildon program)
1215 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1217 * src/hildon-banner.c (-get_current_app_window):
1218 Remove unused function.
1220 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1222 * src/hildon-pannable-area.c: Modified the documentation of the
1223 get adjustments functions to explain the problem of using the
1224 adjustment directly.
1225 (hildon_pannable_area_class_init): Improved the explanation about
1228 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1230 * src/hildon-app-menu-private.h
1231 * src/hildon-app-menu.c
1232 (hildon_app_menu_class_init):
1233 Bring back the 'external-border' style property
1234 (hildon_app_menu_class_init, hildon_app_menu_init)
1235 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
1236 Set a fixed width-request for the menu, independent of the number
1239 Fixes: NB#94957 (Smoothly opened application menu)
1241 2009-03-30 Alberto Garcia <agarcia@igalia.com>
1243 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
1245 * src/hildon-banner.c
1246 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
1248 Make sure that the banner is correctly placed the first time it's
1250 (hildon_banner_check_position, -check_fullscreen_state):
1251 Show the banner in the same place no matter if the window is in
1252 fullscreen mode or not.
1254 Fixes: NB#107386 (Odd stacking behaviour for information banners)
1256 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1258 * src/hildon-touch-selector.c (_default_print_func): reorder
1259 concatenation for clarity.
1261 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1263 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
1264 for multicolumn selectors.
1266 Fixes: NB#109099 (Memory leak in Hildon touch selector)
1268 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
1273 * configure.ac: Bump version.
1274 * debian/changelog: Updates.
1276 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
1278 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
1281 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1283 * configure.ac: removed libcangerra-gtk dependency
1284 * debian/control: removed libcanberra-gtk dependency
1285 * src/Makefile.am: removed libcanberra gtk related flags
1286 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1287 context, and manage a global canberra context instead
1289 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1291 2009-03-26 Alberto Garcia <agarcia@igalia.com>
1293 Patch by Daniel Borgmann (danielb@openismus.com)
1295 * src/hildon-edit-toolbar.c:
1296 Adjust the left padding.
1297 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
1298 Paint background of the edit toolbar.
1300 Fixes: NB#107897 (Patch to make editmodetoolbar background
1301 themeable and adjust margin)
1303 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1305 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1307 * src/hildon-program.c (hildon_program_update_top_most):
1308 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
1310 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
1311 change when the user tasks in/out of an application)
1313 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1315 * configure.ac: added libcangerra-gtk dependency
1316 * debian/control: added libcanberra-gtk dependency
1317 * src/Makefile.am: added libcanberra gtk related flags
1318 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
1321 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1323 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1325 * src/hildon-program.c (hildon_program_remove_window)
1326 (hildon_program_add_window): Add checks for the window
1327 parameter. Don't decrease the window counter if the window is not
1330 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1332 * src/hildon-pannable-area.c,
1333 (hildon_pannable_area_realize): Fixed position of the event_window
1334 in the realize method.
1336 2009-03-24 Alberto Garcia <agarcia@igalia.com>
1338 * src/hildon-app-menu-private.h
1339 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
1340 (hildon_app_menu_map, hildon_app_menu_hide_idle)
1341 (hildon_app_menu_key_press, hildon_app_menu_init)
1342 (hildon_app_menu_finalize):
1343 Make sure that all idle functions are removed when the widget is
1346 Fixes: NB#107583 (Hildon app menu crashes in various applications)
1348 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1353 * configure.ac: Bump version.
1354 * debian/changelog: Updates.
1356 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1358 * src/hildon-entry.c
1359 (+hildon_entry_show_placeholder),
1360 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
1361 that replace hildon_entry_update_contents().
1362 (hildon_entry_set_text),
1363 (hildon_entry_set_placeholder),
1364 (hildon_entry_focus_in_event),
1365 (hildon_entry_focus_out_event): Determine when it is needed
1366 either to show or hide the placeholder and call the above methods.
1368 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
1369 when the placeholder text is already set)
1371 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1373 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
1374 simple GdkPixbufAnim using the new icons for the banner.
1375 (hildon_banner_show_animation): Use the above mentioned method to
1376 create the animation widget.
1378 Fixes: NB#103564 (Make hildon animation banner use individual
1379 image files as the animation)
1381 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1383 * src/hildon-pannable-area.c,
1384 (hildon_pannable_leave_notify_event): Check if the child is NULL
1385 to avoid sending the leave.
1387 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1389 * src/hildon-pannable-area.c,
1390 (hildon_pannable_area_class_init),
1391 (hildon_pannable_leave_notify_event): Added a handler of the
1392 leave-notify-signal to consider when no motion notify before
1395 Fixes: NB#107494 (Items stay selected when clicking and moving
1396 away when inside pannable area)
1398 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
1403 * configure.ac: Bump version.
1404 * debian/changelog: Updates.
1406 2009-03-19 Alejandro G. Castro <alex@igalia.com>
1408 Patch by Alberto Garcia (agarcia@igalia.com)
1410 * src/hildon-date-button.c,
1411 (hildon_date_button_class_init),
1412 (hildon_date_button_init): Removed the construct property handling
1413 and created a default selector in the init method.
1414 * src/hildon-picker-button.c,
1415 (hildon_picker_button_class_init): Removed the construct flag of the
1418 2009-03-18 Alberto Garcia <agarcia@igalia.com>
1420 * src/hildon-main.c (hildon_init):
1421 Don't allow hildon_init() to be called more than once.
1423 Fixes: NB#106607 (hildon_init should issue error message upon
1426 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
1428 * examples/hildon-pannable-area-touch-list-example.c
1429 * examples/hildon-pannagle-area-touch-grid-example.c
1430 * examples/hildon-edit-toolbar-example.c
1431 * examples/hildon-touch-selector-multi-cells-example.c
1432 Removed the call to gtk_rc_parse_string, as it is not required since
1435 2009-03-17 Alejandro G. Castro <alex@igalia.com>
1437 * src/hildon-pannable-area.c,
1438 (hildon_pannable_area_class_init): Modified the default panning
1439 threshold of the widget to 6px.
1441 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
1442 than the threshold value ) within the button is not sending the
1445 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1447 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
1448 for the treeview in the new column. This way, the touch list will never
1451 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
1452 be selected manually for the HW keys to work)
1454 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1456 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
1457 comparison instead of using strcmp(). Fixes a compiler warning as well.
1459 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1461 * doc/hildon-docs.sgml: Do not set the library version in the
1462 document title, use the releaseinfo tag for that purpose instead.
1464 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1466 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
1467 Do not jump to the first item if the text in the entry is removed.
1469 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1474 * configure.ac: Bump version.
1475 * debian/changelog: Updates.
1477 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1479 * src/hildon-entry.c (hildon_entry_refresh_contents):
1480 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
1481 Use "ReversedSecondaryTextColor" for the placeholder text.
1483 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1485 * src/hildon-text-view.c: Fix compilation warning.
1487 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1489 * src/hildon-button.c (hildon_button_class_init): Don't make
1490 "title" and "value" construction properties, to prevent them from
1491 overwriting labels set from derived classes.
1493 * src/hildon-picker-button.c
1494 (hildon_picker_button_set_selector): Allow setting a NULL selector.
1495 (hildon_picker_button_class_init): Make touch-selector a
1496 construction property.
1498 * src/hildon-date-button.c (hildon_date_button_class_init)
1499 (+hildon_date_button_constructed): Add a default date selector if
1502 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1504 * src/hildon-touch-selector.c: Small documentation fixes.
1506 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1508 Based on a patch by Daniel Borgmann (danielb@openismus.com)
1510 * src/hildon-entry.c (hildon_entry_refresh_contents),
1511 (hildon_entry_get_text), (hildon_entry_init): Do not use the
1512 widget name, set the logical color directly instead and a boolean
1513 showing_placeholder instead.
1514 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
1515 use the widget name here either.
1517 Fixes: NB#105678 (HildonTextView should use logical colours
1518 instead of setting widget name)
1520 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1522 Patch by Daniel Elster (danielk@openismus.com)
1524 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
1525 Add user_data parameter.
1526 (hildon_touch_selector_set_print_func_full): New function akin
1527 hildon_touch_selector_set_print_func() but with support for user
1528 data and a destroy callback.
1529 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
1530 to clean up the print function user data.
1531 (hildon_touch_selector_class_init): Install dispose function.
1532 (HildonTouchSelectorPrivate::print_user_data),
1533 (HildonTouchSelectorPrivate::print_destroy_func): New private
1535 (hildon_touch_selector_init): Initialize new private members.
1536 (hildon_touch_selector_get_current_text): Pass along user data
1537 to the print function.
1538 (_default_print_func): Add dummy user_data to parameter list.
1539 * hildon-date-selector.c (_custom_print_func): ditto,
1540 * hildon-time-selector.c (_custom_print_func): ditto,
1541 * hildon-touch-selector-entry.c
1542 (hildon_touch_selector_entry_print_func): ditto.
1544 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
1546 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1548 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
1550 2009-03-12 Alejandro G. Castro <alex@igalia.com>
1552 * src/hildon-pannable-area.c,
1553 (hildon_pannable_area_init),
1554 (hildon_pannable_area_button_press_cb),
1555 (hildon_pannable_area_motion_notify_cb): We have added code to
1556 handle the leave and enter events when using the motion events.
1558 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
1560 2009-03-11 Alberto Garcia <agarcia@igalia.com>
1562 * src/hildon-date-button.c (hildon_date_button_get_date)
1563 (hildon_date_button_set_date): Make sure that the button has a
1566 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
1568 2009-03-11 Alejandro G. Castro <alex@igalia.com>
1570 * src/hildon-pannable-area.c,
1571 (hildon_pannable_area_class_init),
1572 (hildon_pannable_area_calculate_velocity): Modify the use of the
1573 force and adapt the value.
1575 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1577 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
1578 (hildon_app_menu_class_init): Hide the menu if it receives a
1579 delete-event, but don't destroy it
1581 Fixes: NB#104485 (Not able to address the call when application
1582 menu is opened at background)
1584 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1586 * src/hildon-app-menu.c
1587 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1588 Remove the "external-border" style property, let the menu take its
1589 natural size (or the one set by the window manager)
1590 (hildon_app_menu_repack_items):
1591 Don't reshow the menu, avoid flickers.
1593 Partially fixes NB#94957 (Smoothly opened application menu)
1595 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
1600 * configure.ac: Bump version.
1601 * debian/changelog: Updates.
1603 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1605 * src/hildon-pannable-area.c,
1606 (hildon_pannable_area_motion_notify_cb): We control that the
1607 direction error margin is used just in case the movement is
1608 allowed in the other direction.
1610 Fixes: NB#105012 (buttons inside a pannable area not getting
1611 release event when dragging/releasing)
1613 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1615 * src/hildon-pannable-area.c,
1616 (hildon_pannable_area_class_init),
1617 (hildon_pannable_area_get_property),
1618 (hildon_pannable_area_set_property),
1619 (hildon_pannable_area_initial_effect),
1620 (hildon_pannable_axis_scroll),
1621 (hildon_pannable_area_button_release_cb): Reviewed the
1622 overshooting effect, now it has its own max
1623 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
1624 speed when bouncing.
1626 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
1631 * configure.ac: Bump version.
1632 * debian/changelog: Updates.
1634 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1636 * src/hildon-pannable-area.c,
1637 (hildon_pannable_area_class_init): Changed the max speed, now
1638 users can launch the widget very fast. Reduced the default force,
1639 that way it is easier to control the launch speed.
1641 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1643 * src/hildon-pannable-area.c,
1644 (hildon_pannable_area_button_release_cb): Removed this check
1645 because it causes problems when the device is overloaded.
1647 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1649 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1650 add a current_text field to store the text entered in the
1651 touch selector entry.
1652 (_clean_current_selection): clean up the current text as well.
1653 (_save_current_selection), (_restore_current_selection):
1654 Save/restore the text in the entry if the selector is a
1655 HildonTouchSelectorEntry.
1657 Fixes: NB#102541 (value entered in the touch selector entry is not
1658 shown when opened for second time)
1660 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1662 * doc/hildon-sections.txt:
1663 * src/hildon-touch-selector-entry.c
1664 (+hildon_touch_selector_entry_get_entry):
1665 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
1667 Fixes: NB#104815 (I need accessor to the entry inside
1668 HildonTouchSelectorEntry)
1670 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1672 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
1673 (hildon_app_menu_class_init):
1674 New "filter-vertical-spacing" style property.
1676 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1678 * src/hildon-find-toolbar.c
1679 (hildon_find_toolbar_emit_close)
1680 (hildon_find_toolbar_emit_invalid_input)
1681 (hildon_find_toolbar_entry_activate):
1682 Use g_signal_emit() instead of g_signal_emit_by_name()
1684 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1686 Patch by Mox Soini (ext-mox.soini@nokia.com)
1688 * tests/TEST-CASES.txt
1689 * tests/check-hildon-banner.c
1690 * tests/check-hildon-note.c
1691 * src/hildon-banner.c
1692 * src/hildon-code-dialog.c
1693 * src/hildon-date-editor.c (real_set_calendar_icon_state)
1694 * src/hildon-time-editor.c
1695 * examples/hildon-lookup-example.c (main):
1696 Replace obsolete icon names with new ones.
1698 * src/hildon-find-toolbar-private.h:
1699 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
1700 (-hildon_find_toolbar_emit_search):
1701 Remove find button and change icon of close button.
1703 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
1705 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1707 * src/hildon-time-button.c (hildon_time_button_new_step):
1708 Use the "touch-selector" property to set the selector directly
1709 when creating the object.
1711 2009-03-05 Alejandro G. Castro <alex@igalia.com>
1713 Added a new example application that allows tuning the pannable
1714 area and replaced defines with properties in order to simplify the
1715 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
1716 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
1717 PROP_DIRECTION_ERROR_MARGIN.
1719 * examples/hildon-pannable-area-tuning-example.c: New example
1721 * src/hildon-pannable-area.c,
1722 (hildon_pannable_area_class_init),
1723 (hildon_pannable_area_init),
1724 (hildon_pannable_area_get_property),
1725 (hildon_pannable_area_set_property),
1726 (hildon_pannable_area_launch_fade_timeout),
1727 (hildon_pannable_area_adjust_value_changed),
1728 (hildon_pannable_axis_scroll),
1729 (hildon_pannable_area_motion_notify_cb),
1730 (hildon_pannable_area_scroll_cb),
1731 (hildon_pannable_area_button_release_cb): We have converted some
1732 of the defines that control the widget to properties to simplify
1735 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1737 * src/hildon-app-menu.c (hildon_app_menu_map)
1738 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
1739 so it's closed if a new window appears.
1741 Fixes: NB#104485 (Not able to address the call when application
1742 menu is opened at background)
1744 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1746 * src/hildon-color-button.c (hildon_color_button_get_property):Add
1747 missing 'break' statement in in 'case' construct to avoid
1750 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1752 * src/hildon-touch-selector-entry.c
1753 (hildon_touch_selector_entry_get_property),
1754 (hildon_touch_selector_entry_set_property): Add missing 'break'
1755 statements in in 'case' constructs to avoid incorrect warnings.
1757 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1759 * src/hildon-time-editor.c
1760 (hildon_time_editor_get_time_separators): Do not crash if
1761 the first label is NULL.
1763 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1765 * src/hildon-date-selector.c (_month_days): Check for month to be
1766 strictly less than 12, since otherwise we may overrun the array.
1768 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1770 * src/hildon-date-button.c (+hildon_date_button_new_full)
1771 (hildon_date_button_new, hildon_date_button_new_with_year_range)
1772 (hildon_date_button_init): Set the date selector using a
1773 construction property, to make it happen after HildonButton's
1774 "value" property is set.
1776 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
1777 current date by default)
1779 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1781 * doc/hildon-sections.txt
1782 * src/hildon-program.c
1783 * src/hildon-stackable-window.c
1784 * src/hildon-window.c:
1785 Documentation updates
1787 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1789 * src/hildon-window-stack.c (hildon_window_stack_get_default)
1790 (hildon_window_stack_new, +hildon_window_stack_set_property)
1791 (+hildon_window_stack_get_property)
1792 (hildon_window_stack_class_init)
1793 (+hildon_window_stack_set_window_group)
1794 (+hildon_window_stack_get_window_group):
1795 Make the window group a construction property.
1797 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1799 * doc/hildon-sections.txt
1800 * src/hildon-stackable-window-private.h
1801 * src/hildon-stackable-window.h
1802 * src/hildon-stackable-window.c
1803 (-hildon_stackable_window_set_app_menu)
1804 (-hildon_stackable_window_get_app_menu)
1805 (-hildon_stackable_window_toggle_menu)
1806 (-hildon_stackable_window_finalize)
1807 (hildon_stackable_window_class_init)
1808 (hildon_stackable_window_init)
1809 * src/hildon-window-private.h
1810 * src/hildon-window.h
1811 * src/hildon-window.c (hildon_window_init)
1812 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
1813 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
1814 (hildon_window_get_main_menu, hildon_window_set_main_menu)
1815 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
1816 Moved all HildonAppMenu code to HildonWindow. The menu does not
1817 require a HildonStackableWindow anymore.
1819 * src/hildon-app-menu.c
1820 * src/hildon-program.c
1821 * examples/hildon-app-menu-example.c (main):
1822 Update examples and documentation to reflect HildonAppMenu
1825 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1827 * src/hildon-remote-texture.c
1828 * src/hildon-animation-actor.c:
1829 Don't include unused private headers.
1831 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1833 * src/hildon-program-private.h
1834 * src/hildon-program.c
1835 (hildon_program_set_common_menu)
1836 (hildon_program_get_common_menu)
1837 (hildon_program_set_common_app_menu)
1838 (hildon_program_get_common_app_menu):
1839 Change common menu pointers from GtkWidget* to GtkMenu* and
1840 HildonAppMenu* to avoid unnecessary casts.
1842 2009-03-03 Alberto Garcia <agarcia@igalia.com>
1844 * src/hildon-window.c (hildon_window_set_main_menu):
1845 Removed incorrect 'Since:' tag
1847 2009-03-03 Alejandro G. Castro <alex@igalia.com>
1849 * src/hildon-pannable-area.c,
1850 (hildon_pannable_area_calculate_velocity): We use now the
1851 RATIO_TOLERANCE here to check the distance, fixed typo in the
1853 (hildon_pannable_area_motion_notify_cb): We have to set the type
1854 and time even if we are not sending the motion.
1856 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1858 * doc/hildon-sections.txt
1859 * src/hildon-app-menu.h
1860 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
1861 (+hildon_app_menu_get_filters): New methods to get the contents of
1864 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
1867 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1869 * src/hildon-app-menu.c (hildon_app_menu_popup):
1872 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1874 * src/hildon-window.h
1875 * src/hildon-window.c (+hildon_window_get_main_menu)
1876 (hildon_window_get_menu): Created hildon_window_get_main_menu()
1877 and deprecated hildon_window_get_menu().
1879 * src/hildon-stackable-window.h
1880 * src/hildon-stackable-window.c
1881 (+hildon_stackable_window_set_app_menu)
1882 (+hildon_stackable_window_get_app_menu)
1883 (hildon_stackable_window_set_main_menu): Created
1884 hildon_stackable_window_{get,set}_app_menu() and deprecated
1885 hildon_stackable_window_set_main_menu().
1887 * doc/hildon-sections.txt
1888 * examples/hildon-app-menu-example.c (main)
1889 * src/hildon-app-menu.c
1890 * src/hildon-program.c:
1891 Updated examples and documentation.
1893 Fixes: NB#103758 (No way to obtain a menu from a
1894 HildonStackableWindow)
1896 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1901 * configure.ac: Bump version.
1902 * debian/changelog: Updates.
1904 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1906 * examples/hildon-remote-texture-example.c: Include
1907 hildon-remote-texture.h explicitely.
1908 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
1909 applications not defining _XOPEN_SOURCE which don't require this header.
1911 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1913 * doc/hildon-sections.txt
1914 * src/hildon-app-menu.h
1915 * src/hildon-app-menu.c (+hildon_app_menu_popup):
1916 New function to pop up a HildonAppMenu
1918 * src/hildon-stackable-window.c
1919 (hildon_stackable_window_toggle_menu):
1920 Use hildon_app_menu_popup() to show the menu.
1922 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1924 * src/hildon-app-menu.c (hildon_app_menu_show)
1925 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
1926 menu if there's another window between it and its parent window.
1928 Fixes: NB#100468 (Application menu window is launched even when a
1929 new secondary-window/dialog is pending to be shown/realized)
1931 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1933 * src/hildon-window-stack.c (hildon_window_stack_push)
1934 (hildon_window_stack_pop_and_push):
1935 Don't forget to push/pop the first window.
1936 Reverse the window list before calling _push_list()
1938 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1940 * src/hildon-picker-button.h
1941 * src/hildon-picker-button.c (hildon_picker_button_class_init):
1942 Remove "value_changed" slot to avoid ABI breakage
1944 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1946 * src/hildon-pannable-area.c,
1947 (hildon_pannable_area_realize),
1948 (hildon_pannable_area_unrealize),
1949 (hildon_pannable_draw_vscroll),
1950 (hildon_pannable_draw_hscroll): Changed the method to handle the
1951 GC used to draw the transparent scrollbar, this way we avoid
1952 creating the GC all the time when drawing the scrollbars.
1954 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1956 * src/hildon-pannable-area.c,
1957 (hildon_pannable_area_init),
1958 (hildon_pannable_area_remove): Removed some unnecessary casts.
1959 (hildon_pannable_area_dispose): Disconnected some signals before
1960 releasing the adjustments.
1962 2009-02-26 Alberto Garcia <agarcia@igalia.com>
1964 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1965 Make sure that all widgets contained in the toolbar are shown.
1967 2009-02-25 Alberto Garcia <agarcia@igalia.com>
1969 * doc/hildon-sections.txt
1970 * src/hildon-picker-button.h
1971 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
1972 (_selection_changed, hildon_picker_button_on_dialog_response)
1973 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
1974 New hildon_picker_button_value_changed() method.
1977 * src/hildon-picker-button-private.h
1978 * src/hildon-picker-button.c (hildon_picker_button_init)
1979 (+hildon_picker_button_disable_value_changed): Add protected
1980 function for disabling the "value-changed" signal.
1982 * src/hildon-date-button.c (hildon_date_button_set_date):
1983 Don't emit "value-changed" for each one of the three columns.
1985 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
1986 before actual change of values)
1988 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1990 * src/hildon-pannable-area.c,
1991 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
1992 for the treeview overshooting.
1994 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1996 * src/hildon-banner.c (+hildon_banner_bind_style):
1997 Renamed from hildon_banner_bind_label_style(), now naming the
1998 banner itself as well.
1999 (hildon_banner_show_information),
2000 (hildon_banner_show_information_with_markup),
2001 (hildon_banner_show_animation), (hildon_banner_show_progress):
2002 Name the widgets and labels, based on their type.
2004 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2007 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2009 * src/hildon-note.c (hildon_note_set_property): call
2010 hildon_note_rename() on HildonNote:note-type set.
2011 (hildon_note_rename): Name the note and its label, based on the
2012 HildonNote:note-type property.
2014 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2017 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2019 * src/hildon-pannable-area.c,
2020 (hildon_pannable_area_class_init),
2021 (hildon_pannable_area_motion_notify_cb): Reviewed the default
2022 panning parameters, increased SPS and deceleration factor. Added
2023 also a margin to control fake directions.
2025 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2027 Patch by Sven Herzberg (sven@imendio.com)
2029 * configure.ac: Add missing AM_PROG_CC_C_0
2030 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2032 See NB#101420 (Update unit tests and fix make check)
2034 2009-02-23 Alejandro G. Castro <alex@igalia.com>
2036 This patch was applied before but reverted because it caused
2037 problems, we have changed the main condition and tested the
2038 regressions we detected before and they work ok. We have done a
2039 complete review of the topmost algorithm in order to get a more
2042 * src/hildon-pannable-area.c,
2043 (hildon_pannable_area_get_topmost): Added a new parameter to
2044 filter the the windows that do not include those events.
2045 (hildon_pannable_area_button_press_cb),
2046 (hildon_pannable_area_button_release_cb),
2047 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2048 topmost function, we have added the new parameter.
2050 Fixes: NB#97458 (Pannable area prevents propagation of button
2053 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2055 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
2056 if all columns in the selector have an item selected.
2057 (_on_dialog_response): Stop "response" signal emission if there is
2058 any selector column without selected items.
2060 Fixes: NB#101889 (Picker dialog should not close when nothing is
2061 selected in multiple selection list)
2063 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2065 * src/hildon-font-selection-dialog.c
2066 (hildon_font_selection_dialog_class_init),
2067 (hildon_font_selection_dialog_init): Remove the preview
2068 button and dialog, since previewing with default theming is likely
2069 to be overcomplicated. The :preview property has now no effect.
2070 Update documentation blurbs to inform about this.
2072 Fixes: NB#92297 (Preview content is not clearly visible for
2073 default colour text)
2075 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2077 Reviewed the geometry that handles the children size and
2078 scrollbar, now it tries a size and reviews the results depending
2079 on the scrollbars visibility.
2081 * src/hildon-pannable-area.c,
2082 (hildon_pannable_area_realize): Fixed a typo.
2083 (hildon_pannable_area_child_allocate_calculate): Added this
2084 function to calculate the child allocation.
2085 (hildon_pannable_area_size_allocate): Reviewed the allocation
2087 (hildon_pannable_area_check_scrollbars),
2088 (hildon_pannable_area_refresh): Refactored refresh function, this
2089 way we can call the code handling the scrollbars without causing a
2090 size_request, it is interesting in the allocate.
2091 (hildon_pannable_area_init): Replace the callbacks of the
2092 value_changed and changed signals to propertly deal with the
2094 (hildon_pannable_area_grab_notify),
2095 (hildon_pannable_area_initial_effect),
2096 (hildon_pannable_area_launch_fade_timeout),
2097 (hildon_pannable_area_adjust_changed),
2098 (hildon_pannable_area_adjust_value_changed),
2099 (hildon_pannable_area_redraw),
2100 (hildon_pannable_area_button_press_cb),
2101 (hildon_pannable_area_button_release_cb),
2102 (hildon_pannable_area_scroll_cb),
2103 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
2104 code and use the new functions adjust_changed and
2105 adjust_value_changed.
2107 Fixes: NB#101603 (Focus is not even for the text entry boxes in
2108 Contact editor dialog)
2110 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
2115 * configure.ac: Bump version.
2116 * debian/changelog: Updates.
2118 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2120 * src/hildon-pannable-area.c,
2121 (hildon_pannable_area_get_topmost),
2122 (hildon_pannable_area_button_press_cb),
2123 (hildon_pannable_area_button_release_cb),
2124 (hildon_pannable_get_child_widget_at): Reverted the patch for the
2125 topmost function adding the event mask. We have to try a
2126 differente approach because it is still causing problems (NB#9745,
2129 2009-02-19 Alberto Garcia <agarcia@igalia.com>
2131 * src/hildon-banner.c:
2132 Update the maximum width of timed banners.
2133 (force_to_wrap_truncated): Enforce the maximum text width if the
2136 Fixes: NB#102413 (The text margins (wrapping) in information
2137 banner should be HILDON_MARGIN_TRIPLE)
2139 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2141 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
2143 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
2144 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
2145 bound when calculating the scroll indicator position.
2147 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
2148 treat ->lower correctly)
2150 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2152 * src/hildon-caption.c (hildon_caption_class_init): Remove the
2153 expose event handling, since it is not necessary to draw the focus
2156 Fixes: NB#102467 (Do not show highlight on the text in
2159 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2161 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
2162 full height of the toolbar for the button and the label.
2164 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2166 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
2167 padding before the label and after the button.
2169 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2171 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
2173 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2174 Add a GtkVSeparator between the button and the back arrow.
2175 Let the button have automatic size.
2176 Set a name to the widget for theming handling.
2178 Fixes: NB#101793 (Make edit toolbar the same height as window
2179 title bar (use title area theming))
2181 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2183 * src/hildon-helper.c (attach_new_color_element): Fix memory
2186 Fixes: NB#102262 (memory leak in hildon_button_set_style())
2188 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2190 * examples/hildon-button-example.c (common_buttons_window): Don't
2193 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2195 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2196 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
2198 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2200 * src/hildon-gtk.c: Check that the window is realized.
2202 Fixes: NB#102225 (Crash setting the progress indicator to a non
2205 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2207 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
2208 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
2209 instead of modifying the one in the widget style.
2211 Fixes: NB#101043 (Second row of all the command button are
2212 displayed in transparent mode.)
2214 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2216 * src/hildon-date-button.c
2217 * src/hildon-time-button.c: Add gettext macros
2219 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
2221 * src/hildon-date-button.c (hildon_date_button_new):
2222 * src/hildon-time-button.c (hildon_time_button_new_step):
2223 Use new logical strings to set the button default title.
2225 Fixes: NB#99915 (Date and Time options are not localised in Date
2228 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2230 * src/hildon-pannable-area.c
2231 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
2232 the PANNING_THRESHOLD.
2234 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2236 * src/hildon-pannable-area.c,
2237 (hildon_pannable_area_class_init): Increased the maximum speed.
2238 (hildon_pannable_area_get_property),
2239 (hildon_pannable_area_set_property),
2240 (hildon_pannable_area_timeout): Added a new low friction mode, it
2241 allows the user avoid friction when launching the widget fast
2242 enough. It is interesting to traverse long lists.
2244 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2246 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
2247 (+hildon_stackable_window_delete_event): Ignore delete events if
2248 the window is not the topmost one.
2250 Fixes: NB#101698 (Back button long press and delete-event handling)
2252 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2254 * src/hildon-pannable-area.c,
2255 (hildon_pannable_area_motion_notify_cb): Removed the use of the
2256 gtk-dnd-drag-threshold, it was too big. We have defined our own
2257 dnd define and set a smaller value: PANNIG_THRESHOLD.
2259 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2261 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
2262 user-defined icons, use always the default one.
2264 Fixes: NB#101916 (Do not allow custom icons on animation banner)
2266 2009-02-13 Alejandro G. Castro <alex@igalia.com>
2268 This patch was applied before but reverted because it caused
2269 problems, we have changed the main condition and tested the
2270 regressions we detected before and they work ok.
2272 * src/hildon-pannable-area.c,
2273 (hildon_pannable_area_get_topmost): Added a new parameter to
2274 filter the the windows that do not include those events. Added
2275 also a condition when finding the window to filter windows that do
2276 not ask for those events.
2277 (hildon_pannable_area_button_press_cb),
2278 (hildon_pannable_area_button_release_cb),
2279 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2280 topmost function, we have added the new parameter.
2282 Fixes: NB#97458 (Pannable area prevents propagation of button
2285 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2287 * tests/check-hildon-color-button.c (START_TEST): do not leak
2290 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2292 * src/hildon-font-selection-dialog.c
2293 (hildon_font_selection_dialog_get_preview_text): Return NULL
2294 instead of FALSE on the g_return_val_if_fail().
2296 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2298 * src/hildon-time-selector.c (hildon_time_selector_set_time):
2299 * src/hildon-date-selector.c
2300 (hildon_date_selector_select_current_date):
2301 Do not compare unsigned integers to be greater than or equal 0,
2302 because it's always TRUE.
2304 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2306 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
2307 (hildon_date_selector_constructor): Do not select the current
2308 date until we are handle the "changed" signal, to avoid having bogus
2309 elements in the days model.
2311 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2313 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
2314 for num_days, since _month_days() can return a negative value.
2316 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2318 * src/hildon-caption.c (hildon_caption_size_allocate):
2319 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
2320 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
2322 Initialize allocation variables to 0, to avoid eventually using
2323 unitialized variables.
2325 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2327 * src/hildon-bread-crumb-trail.c
2328 (hildon_bread_crumb_trail_size_allocate):
2329 * src/hildon-calendar.c (hildon_calendar_set_background):
2330 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
2331 * src/hildon-range-editor.c (hildon_range_editor_get_range):
2332 * src/hildon-seekbar.c (hildon_seekbar_init):
2333 * src/hildon-time-editor.c (hildon_time_editor_get_time):
2334 * src/hildon-time-selector.c (hildon_time_selector_finalize):
2335 * src/hildon-touch-selector-entry.c
2336 (hildon_touch_selector_get_text_from_model):
2337 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
2338 * src/hildon-window.c (hildon_window_finalize):
2340 Remove many unused variables.
2342 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2344 * src/hildon-seekbar.c: (hildon_seekbar_init),
2345 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
2347 Remove unnecessary g_assert() calls.
2349 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2351 * src/hildon-caption.c: (hildon_caption_expose),
2352 (hildon_caption_set_property), (hildon_caption_init),
2353 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
2354 (hildon_caption_size_request), (hildon_caption_size_allocate),
2355 (hildon_caption_forall), (hildon_caption_set_separator),
2356 (hildon_caption_activate), (hildon_caption_set_child_expand),
2357 (hildon_caption_set_label_text),
2358 (hildon_caption_get_label_alignment):
2360 Remove unnecessary g_assert() calls.
2362 2009-02-12 Alberto Garcia <agarcia@igalia.com>
2364 * src/hildon-banner.c
2365 (hildon_banner_map, hildon_banner_init): Make banner temporary
2366 before mapping it to avoid closing other temporary windows, but
2367 make it non-temporary afterwards to avoid being closed by other
2368 non-temporary windows.
2369 (-hildon_banner_client_event, hildon_banner_init):
2370 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
2372 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
2375 2009-02-11 Alberto Garcia <agarcia@igalia.com>
2377 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
2380 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2382 * src/hildon-remote-texture.c
2383 * src/hildon-remote-texture.h
2384 * src/hildon-remote-texture-private.h
2385 * examples/hildon-remote-texture-example.c:
2386 Updates/fixes to remote-texture and its example.
2388 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
2390 Patch by Mox Soini (ext-mox.soini@nokia.com)
2392 * src/hildon-code-dialog.c: Update logical id.
2393 * src/hildon-set-password-dialog.c: Update logical id.
2395 Fixes: NB#100646 (Logical strings is shown for ok in set
2396 password,Password needed dialogs)
2398 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2401 * src/hildon-remote-texture.c
2402 * src/hildon-remote-texture.h
2403 * src/hildon-remote-texture-private.h
2405 Added remote texture widget (for Clutter shared memory textures)
2407 * examples/hildon-remote-texture-example.c
2408 * examples/Makefile.am
2409 Added example file for remote texture usage
2411 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
2413 * configure.ac: post release version bump.
2414 * debian/changelog: version bump.
2416 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
2421 * configure.ac: Bump version.
2422 * debian/changelog: Updates.
2424 2009-02-06 Alberto Garcia <agarcia@igalia.com>
2426 * src/hildon-date-selector.c (hildon_date_selector_init)
2427 (hildon_date_selector_constructor): Don't connect to the "changed"
2428 signal until the selector is completely constructed.
2430 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2432 * src/hildon-touch-selector.c: (_create_new_column),
2433 (hildon_touch_selector_append_column),
2434 (hildon_touch_selector_set_column_selection_mode),
2435 (hildon_touch_selector_set_active),
2436 (hildon_touch_selector_select_iter):
2437 Emit the HildonTouchSelector::changed signal every time selection
2438 is changed in any of the methods above. This behavior was already
2439 documented but not fully functional.
2441 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
2442 selection is programmatically changed)
2444 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2446 * doc/hildon-sections.txt: Remove obsolete icon
2447 sizes from here as well.
2449 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2451 * examples/hildon-stackable-window-example.c (add_window): Remove
2454 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2456 * src/hildon-app-menu.c
2457 (hildon_app_menu_show): Check whether the parent window of a menu
2458 is topmost before popping it up.
2460 Fixes: NB#100468 (Application menu window is launched even when a
2461 new secondary-window/dialog is pending to be shown/realized.)
2463 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2465 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
2468 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2470 Patch by Mox Soini (ext-mox.soini@nokia.com)
2472 * src/hildon-banner.c: (hildon_banner_show_animation):
2473 use stylus size instead of obsolete note size.
2474 * src/hildon-defines.h: Update icon sizes.
2476 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2478 * src/hildon-touch-selector-entry.c:
2479 (hildon_touch_selector_entry_init): Disable unsupported
2481 (hildon_touch_selector_entry_get_text_column): Emit a warning
2482 if an unsupported input modes is used and explicitile state
2483 these modes in the documentation.
2485 Fixes: NB#99802 (Hildon touch selector entry not working properly
2486 for some of the input modes)
2488 2009-02-05 Alejandro G. Castro <alex@igalia.com>
2490 * src/hildon-pannable-area.c,
2491 (hildon_pannable_area_init): Added the changed signal handlers of
2494 Fixes: NB#100320 (HildonPannableArea does not listen to
2495 GtkAdjustment "change" signals)
2497 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2499 * doc/hildon-sections.txt
2500 * src/hildon-window-private.h
2501 * src/hildon-window.h
2502 * src/hildon-window.c (hildon_window_init)
2503 (hildon_window_realize, hildon_window_unrealize)
2504 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
2505 (hildon_window_size_request, hildon_window_size_allocate)
2506 (hildon_window_forall, hildon_window_show_all)
2507 (hildon_window_destroy, +paint_edit_toolbar)
2508 (+hildon_window_set_edit_toolbar):
2509 New hildon_window_set_edit_toolbar() method, to add a
2510 HildonEditToolbar to a window without having to pack it manually.
2512 Reorganize hildon_window_size_allocate()
2514 * src/hildon-edit-toolbar.c: Update documentation.
2516 * examples/hildon-edit-toolbar-example.c (edit_window): Update
2517 example to use the new API.
2519 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
2521 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2523 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
2524 Remove from stack before calling parent's hide.
2526 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2528 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
2529 window is removed from the middle of the stack, update the
2530 transiency of the previous one.
2532 Fixes: NB#100487 (HildonStackableWindow transiency becomes
2535 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2537 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
2538 block/unblock the signal handler if it's not actually being used.
2539 Fixes some critical warnings.
2541 2009-02-02 Alberto Garcia <agarcia@igalia.com>
2543 Based on a patch by Iván Gómez (igomez@igalia.com)
2545 * src/hildon-banner.c
2549 * src/hildon-pannable-area.c
2550 * src/hildon-picker-dialog.c
2551 * src/hildon-wizard-dialog.h
2552 * src/hildon-wizard-dialog.c: Documentation updates.
2554 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
2555 gtk_dialog_add_button() instead of hildon_dialog_add_button().
2557 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2559 * configure.ac: post release version bump.
2560 * debian/changelog: version bump.
2562 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2567 * configure.ac: Bump version.
2568 * debian/changelog: Updates.
2570 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2572 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
2573 a stock icon nor change the relief of the back arrow.
2575 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2576 graphics from theme)
2578 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2580 * src/hildon-button.c (hildon_button_set_alignment): Use
2581 priv->alignment if the button has no child yet.
2583 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
2585 * src/hildon-button.c: (hildon_button_init): Set the
2586 button style during initialization to give it the proper
2589 Fixes: NB#99713 (HildonButton value label color is wrong)
2591 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2593 * src/hildon-touch-selector.c: Document
2594 hildon_touch_selector_center_on_selected()
2596 2009-01-28 Alberto Garcia <agarcia@igalia.com>
2598 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
2599 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
2600 all menu items, but not the menu itself.
2601 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
2602 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
2603 items after adding them to the menu so keyboard accelerators work.
2604 (hildon_app_menu_show): Don't show the menu if it contains items
2605 but none of them are visible.
2607 * examples/hildon-app-menu-example.c (create_menu): Use
2608 gtk_widget_show_all() to show all menu items.
2610 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2612 * src/hildon-picker-dialog.c:
2613 (-_update_title_on_selector_changed_cb),
2614 (-_dialog_update_title): Removed.
2615 (_select_on_selector_changed_cb), (_on_dialog_response),
2616 (on_selector_columns_changed): Do not update the dialog title.
2617 (setup_interaction_mode): Do not connect to
2618 HildonTouchSelector::changed signal if there's a "done" button, as
2619 the dialog title doesn't need to be updated.
2621 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
2624 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
2626 Patch by Kristian Rietveld (kris@imendio.com)
2628 * src/hildon-touch-selector.c: (_create_new_column): Use new
2629 GtkTreeView::hildon-row-tapped signal to react to user interactions
2630 instead of ::changed.
2632 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
2633 with some dynamic tree model)
2635 2009-01-27 Alberto Garcia <agarcia@igalia.com>
2637 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
2638 (+screen_size_changed, +label_size_request)
2639 (hildon_note_class_init): Make the Hildon information note have a
2640 minimum height, and make its text hvae a maximum width.
2642 Fixes: NB#98614 (Hildon information note (background) should have
2643 minimum height and maximum text width)
2645 2009-01-26 Alberto Garcia <agarcia@igalia.com>
2647 * src/hildon-banner.h
2648 * src/hildon-banner.c (hildon_banner_show_information)
2649 (hildon_banner_show_informationf)
2650 (hildon_banner_show_information_with_markup): Update documentation
2651 to reflect that the icon_name parameter is not used anymore.
2652 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
2653 Remove all code from these functions and mark them as deprecated.
2654 (hildon_banner_show_progress): Mark as deprecated.
2656 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
2658 2009-01-26 Alejandro G. Castro <alex@igalia.com>
2660 * src/hildon-pannable-area.c,
2661 (hildon_pannable_area_class_init),
2662 (tranparency_color),
2663 (hildon_pannable_draw_vscroll),
2664 (hildon_pannable_draw_hscroll),
2665 (hildon_pannable_area_expose_event): Added a new way to render the
2666 scrollbars of the pannable area avoiding using cairo at all. This
2667 way we improve the performance of the pannable area rendering. The
2668 cairo rendering procedure is still in the code, we can control
2669 which one to use changing the value of the define
2670 USE_CAIRO_SCROLLBARS.
2672 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2674 * configure.ac: post release version bump.
2675 * debian/changelog: version bump.
2677 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2682 * configure.ac: Bump version.
2683 * debian/changelog: Updates.
2685 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2687 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
2688 banners instead of destroying them when they receive a button
2691 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2693 Reverted commit 34028, it was causing regressions, probably the
2694 topmost condition is not correct, we have to check it in more
2695 detail. We have reponed the bug: NB#97458 (Pannable area prevents
2696 propagation of button press events)
2698 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2700 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
2701 that the selection is not empty before attempting to retrieve the
2702 current ampm selection.
2704 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2706 * src/hildon-picker-button.c:
2707 (hildon_picker_button_on_dialog_response): Directly update the
2708 button contents when required instead of calling _selection_changed.
2710 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2712 * src/hildon-program.c (hildon_program_update_top_most): Update
2713 'is-topmost' property also when wm_hints is not set.
2715 Fixes: NB#98383 (is-topmost signal is not emitted when task
2716 switcher is clicked.)
2718 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2720 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
2724 * src/hildon-animation-actor.c,
2725 * src/hildon-animation-actor.h: Added the animation actor class,
2726 this widget represents an animation actor for WM-assisted
2727 animation effects in the Hildon framework.
2729 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2731 * src/hildon-window-stack-private.h
2732 * src/hildon-window-stack.c
2733 * src/hildon-stackable-window.c (hildon_stackable_window_show):
2734 Avoid calling gtk_widget_show() again indirectly from
2735 hildon_stackable_window_show()
2737 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2739 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
2742 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2744 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
2745 (hildon_time_selector_init): Move the construction of the hours and
2746 ampm columns to the constructor to preserve the order the columns
2749 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2751 * src/hildon-picker-dialog.c:
2752 (hildon_picker_dialog_class_init): Connect a realize method.
2753 (+hildon_picker_dialog_realize): Setup the interaction mode here
2755 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
2756 yet, do it during the realize instead.
2757 (_on_dialog_response):
2758 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
2759 if the widget is not realized, to avoid the dialog response before it
2762 Avoid premature responses in the HildonPickerDialog that can cause it
2763 to be hidden before it's even shown.
2765 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2767 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
2768 (on_selector_columns_changed), (requires_done_button),
2769 (+prepare_action_area), (setup_interaction_mode),
2770 (_hildon_picker_dialog_set_selector):
2772 Split the interaction mode setup into preparation of the
2773 action area (prepare_action_area()) and the connection of
2774 the signals in setup_interaction_mode() and update the code to
2777 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2779 * src/hildon-pannable-area.c,
2780 (hildon_pannable_area_class_init): Reduced the amount of scrolls
2781 per second to 15, we will check if this is ok regarding
2784 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2786 * src/hildon-pannable-area.c,
2787 (hildon_pannable_axis_scroll): Avoid resize if we already have
2788 reached overshoot_max.
2790 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2792 * src/hildon-pannable-area.c,
2793 (hildon_pannable_area_init),
2794 (hildon_pannable_area_realize),
2795 (hildon_pannable_area_size_allocate),
2796 (hildon_pannable_area_map),
2797 (hildon_pannable_area_unmap),
2798 (hildon_pannable_draw_vscroll),
2799 (hildon_pannable_draw_hscroll),
2800 (hildon_pannable_area_expose_event),
2801 (hildon_pannable_area_refresh): Added a new GdkWindow to the
2802 pannable are to avoid the expose events go to the window and
2803 redraw the window. We save this way that part of the stack and the
2804 paint_boxes. We had to change the positions of the elements when
2807 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
2809 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2810 * src/hildon-color-chooser-dialog.c:
2811 (hildon_color_chooser_dialog_init):
2812 * src/hildon-font-selection-dialog.c:
2813 (hildon_font_selection_dialog_init),
2814 (hildon_font_selection_dialog_show_preview):
2815 * src/hildon-get-password-dialog.c:
2816 * src/hildon-login-dialog.c:
2817 * src/hildon-set-password-dialog.c:
2818 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
2819 * src/hildon-time-picker.c: (hildon_time_picker_init):
2821 Remove obsolete logical string IDs and update to the appropriate ones.
2823 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
2825 2009-01-21 Alberto Garcia <agarcia@igalia.com>
2827 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
2828 that happens if the window hasn't been realized yet.
2830 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
2831 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
2833 2009-01-20 Alberto Garcia <agarcia@igalia.com>
2835 * src/hildon-app-menu.c (hildon_app_menu_class_init)
2836 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
2839 Fixes: NB#98537 (Device hangs in account settings dialog)
2841 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2843 * configure.ac: post release version bump.
2844 * debian/changelog: version bump
2846 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2851 * configure.ac: Bump version.
2852 * debian/changelog: Updates.
2854 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2856 Added a new function to the HildonTimeButton widget that allows to
2857 change the step of the minutes in the selector associated with the
2858 button: hildon_time_button_new_step
2860 * src/hildon-time-button.c,
2861 (hildon_time_button_init),
2862 (hildon_time_button_new),
2863 (hildon_time_button_new_step):
2864 * src/hildon-time-button.h: Added the new function and refactored
2866 * examples/hildon-time-button-example.c,
2867 (main): We have replaced the function without parameters with the
2868 function with the steps set to 5
2870 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
2872 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2874 * src/hildon-time-selector.c,
2875 (hildon_time_selector_class_init),
2876 (hildon_time_selector_constructor),
2877 (hildon_time_selector_get_property),
2878 (hildon_time_selector_set_property),
2879 (_create_minutes_model),
2880 (hildon_time_selector_new_step),
2881 (hildon_time_selector_set_time),
2882 * src/hildon-time-selector.h: Added a new property to the
2883 HildonTimeSelector (minutes-step), we use that property to control
2884 the steps between the minutes in the list of the selector. We have
2885 added a new function to the API to create a widget changing the
2886 step: hildon_time_selector_new_step.
2888 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2890 * src/hildon-time-selector.c,
2891 (hildon_time_selector_class_init),
2892 (hildon_time_selector_constructor),
2893 (hildon_time_selector_init): Overrided the construct function when
2894 creating the time selector object. We have moved the minutes model
2895 handling code from the init to the new construction function:
2896 hildon_time_selector_constructor.
2898 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2900 * examples/hildon-date-button-example.c: (main): Use the new
2901 hildon_date_button_new_with_year_range() method in the example.
2902 * src/hildon-date-button.c:
2903 (+hildon_date_button_new_with_year_range): New public method
2904 to conveniently create a HildonDateButton with a custom year range
2905 in its HildonDateSelector.
2906 * src/hildon-date-button.h: Add the new public method definition.
2908 Fixes: NB#97908 (Not possible to change the year range in
2909 HildonDateSelector/HildonDateButton)
2911 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2913 * src/hildon-date-selector.c:
2914 (+hildon_date_selector_set_property),
2915 (+hildon_date_selector_get_property),
2916 (hildon_date_selector_class_init): Install new properties "min-year"
2917 and "max-year" to define boundaries for the year column.
2918 (_create_year_model): Use the boundary properties to populate the model.
2919 (+hildon_date_selector_new_with_year_range): New public method to
2920 create a HildonDateSelector with a user defined year range.
2921 (hildon_date_selector_select_current_date): Use the new boundaries to
2922 calculate the iterator of current year.
2923 * src/hildon-date-selector.h: Add the new public method definition.
2925 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2927 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
2928 Install a constructor method.
2929 (+hildon_date_selector_construct_ui): construct the widget.
2930 (+hildon_date_selector_constructor): new constructor.
2931 (+hildon_date_selector_init): move out widget construction code to
2932 the new constructor.
2934 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2936 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
2937 that there's actually a month or year selected before obtaining them.
2938 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
2939 of the HildonTouchSelector::changed signal, as it was emitted on every
2940 single item selection.
2942 Fix some warnings and possible crashers due to the selection restoring.
2944 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2946 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
2947 the signal handlers only after creating the dialog instead of on every
2950 2009-01-19 Alberto Garcia <agarcia@igalia.com>
2952 * src/hildon-button.c (hildon_button_init)
2953 * src/hildon-check-button.c (hildon_check_button_init)
2954 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
2955 focus when clicked by default.
2957 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2959 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
2962 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2964 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2965 Alejandro G. Castro (alex@igalia.com)
2967 * src/hildon-picker-dialog.c:
2968 (hildon_picker_dialog_class_init): install new "center-on-show"
2970 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
2971 (hildon_picker_dialog_set_property): add setter code for the new
2973 (hildon_picker_dialog_get_property): add getter code for the new
2975 (hildon_picker_dialog_show): Ensure visibility of selected items in the
2976 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
2979 Fixes: NB#92849 (Selected item is not always visible when
2980 HildonTouchSelector is shown)
2982 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2984 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2985 Alejandro G. Castro (alex@igalia.com)
2987 * src/hildon-touch-selector.c:
2988 (_create_new_column): Do not connect to the "realize" signal of the
2990 (hildon_touch_selector_append_column): center on the selected items
2991 when a new column is appended.
2992 (hildon_touch_selector_select_iter): Factor out the code to select a
2993 column to hildon_touch_selector_scroll_to().
2994 (+search_nearest_element): Method to retrieve the nearest selected
2995 element to the visible area of the pannable area in a column.
2996 (+on_realize_cb): scroll to the initially selected item.
2997 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
2998 the pannable area is realized, otherwise delay this until it is.
2999 (+_hildon_touch_selector_center_on_selected_items): Centers on the
3000 selected items of a given column.
3001 (+hildon_touch_selector_center_on_selected): Public method to center
3002 all columns on the nearest selected item.
3003 * src/hildon-touch-selector.h: Add definition for
3004 hildon_touch_selector_center_on_selected().
3006 Implement public API to ensure visibility of all selected items in
3007 a HildonTouchSelector.
3009 2009-01-16 Alejandro G. Castro <alex@igalia.com>
3011 Fixed a problem in the fading when calling the scroll_to API, and
3012 improve scrollbar fading handling.
3014 * src/hildon-pannable-area.c,
3015 (hildon_pannable_area_grab_notify): avoid the timeout when the
3017 (hildon_pannable_area_button_press_cb),
3018 (hildon_pannable_area_motion_notify_cb): Code style changes.
3019 (hildon_pannable_area_button_release_cb): Review the conditions
3020 when releasing the mouse button to avoid unrequired fading
3022 (hildon_pannable_area_scroll_to): Do not calculate and set the
3023 velocity if the scroll is not required.
3025 2009-01-15 Alberto Garcia <agarcia@igalia.com>
3027 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3028 Don't check whether the new selector is NULL: it cannot be.
3029 Hold a reference to the selector while doing the replacement.
3031 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3033 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3034 unnecessary size_request in a removed widget.
3036 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3038 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3039 an unnecessary reference tracking that was leaking.
3041 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3043 Added delayed motion notify event handling, this way we can
3044 discard redrawing if more than 25 events arrive per second.
3046 * src/hildon-pannable-area.c,
3047 (hildon_pannable_area_init): Initialized the new private atributes
3048 controlling this timeout
3049 (hildon_pannable_area_dispose): Remove the timeout that controls
3050 the motion notify events.
3051 (hildon_pannable_area_scroll): Added a condition to control the
3052 use of the acceleration.
3053 (hildon_pannable_area_motion_event_scroll_timeout),
3054 (hildon_pannable_area_motion_event_scroll): Added this two
3055 functions, they handle the motion notify events inside the
3057 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
3058 to the scroll method with the new function.
3059 (hildon_pannable_area_button_release_cb): We have to remove the
3060 timeout handler and move to the last position if the last motion
3061 events were not handled.
3063 Fixes: NB#97028 (Pannable area updates on every motion event)
3065 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3067 * src/hildon-pannable-area.c,
3068 (hildon_pannable_area_get_topmost): Added a new parameter to
3069 filter the the windows that do not include those events. Added
3070 also a condition when finding the window to filter windows that do
3071 not ask for those events.
3072 (hildon_pannable_area_button_press_cb),
3073 (hildon_pannable_area_button_release_cb),
3074 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3075 topmost function, we have added the new parameter.
3077 Fixes: NB#97458 (Pannable area prevents propagation of button
3080 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3082 * src/hildon-pannable-area.c,
3083 (hildon_pannable_area_initial_effect): Added controls before
3084 launching the timeout and the idle functions.
3085 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
3086 of the method, in some situations it can return with TRUE and 0 in
3088 (hildon_pannable_area_button_press_cb): We do not need to set
3089 DELAY for fading out here.
3091 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
3093 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3095 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
3096 post-cleaning if the selection is not NULL.
3098 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3100 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
3101 all items before restoring the selection.
3103 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3105 * src/hildon-touch-selector.c:
3106 (+hildon_touch_selector_unselect_all):
3107 * src/hildon-touch-selector.h: New API to unselect all items in a
3108 column of the touch selector.
3110 2009-01-14 Alejandro G. Castro <alex@igalia.com>
3112 * src/hildon-pannable-area.c,
3113 (hildon_pannable_area_redraw): Added a call to the refresh
3114 function inside the redraw because apparently in some cases the
3115 change in the adjustment does not imply a size allocate.
3117 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
3118 despite the view not being scrollable)
3120 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3122 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
3123 leak. Check for NULL before attempting to set the window title.
3125 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3127 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
3128 whether to show or not the 'Done' button each time the dialog is
3129 shown, as it depends on the HildonTouchSelector selection mode.
3131 Fixes: NB#96226 (In multiple selection mode Done button is shown
3132 sometimes in listpicker)
3134 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3136 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3137 for the number of columns in the HildonTouchSelector more than once.
3139 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3141 * src/hildon-touch-selector.c: Minor documentation fixes.
3143 * src/hildon-picker-dialog.c (+_dialog_update_title)
3144 (_select_on_selector_changed_cb)
3145 (_update_title_on_selector_changed_cb)
3146 (on_selector_columns_changed): Update dialog title when there's no
3147 'Done' button and also when the number of columns in the selector
3151 * src/hildon-picker-button.c (hildon_picker_button_finalize)
3152 (+_selection_changed, hildon_picker_button_on_dialog_response)
3153 (hildon_picker_button_selector_selection_changed)
3154 (+hildon_picker_button_selector_columns_changed)
3155 (hildon_picker_button_set_selector): Update button value and emit
3156 'value-changed' when the number of columns in the selector
3160 Fixes: NB#96225 (Dialog titles are not shown according to the
3161 values selected in the list picker)
3163 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3165 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
3166 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
3167 New "arrow-width" and "arrow-height" style properties to set the
3168 size of the arrow button.
3169 Set name of arrow button ("hildon-edit-toolbar-arrow").
3171 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3172 graphics from theme)
3174 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3176 * src/hildon-picker-button.c:
3177 (hildon_picker_button_selector_selection_changed): Use
3178 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
3179 the dialog is present.
3181 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
3182 the selection is accepted in the dialog)
3184 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3186 * src/hildon-color-chooser.h
3187 * src/hildon-color-chooser-dialog.h:
3188 Added G_BEGIN_DECLS and G_END_DECLS
3190 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3192 (_clean_current_selection): plug a leak in the list.
3194 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3196 * src/hildon-picker-dialog.c:
3197 (+free_path_list): Method to free a GList of GtkTreePaths.
3198 (_clean_current_selection), (_save_current_selection),
3199 (_restore_current_selection): Save the current selection in
3200 as a list of lists, to support multiple selection properly.
3202 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3204 patch by Claudio Saavedra (csaavedra@igalia.com)
3206 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
3207 Store the press position.
3208 (+hildon_text_view_button_release_event): If the release position is
3209 close enough to the press position, move the cursor here. Otherwise,
3211 (hildon_text_view_class_init): Override GtkTextView press, release, and
3212 motion event handlers, disabling this way text selection through
3213 pointer interaction, and allowing the container widget to handle the
3216 Fixes: NB#95828 (HildonTextView functionality)
3218 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3220 Based on a patch by Iván Gómez (igomez@igalia.com)
3222 * src/hildon-button.[ch]
3223 * src/hildon-calendar.c
3224 * src/hildon-check-button.c
3225 * src/hildon-date-editor.c
3226 * src/hildon-date-selector.c
3227 * src/hildon-picker-button.c
3228 * src/hildon-time-editor.c
3229 * src/hildon-time-selector.c
3230 * src/hildon-touch-selector.[ch]:
3231 Documentation updates
3233 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3235 * src/hildon-pannable-area.c,
3236 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
3237 threshold, it was required due to X events handling.
3239 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3241 * src/hildon-pannable-area.c,
3242 (hildon_pannable_area_grab_notify),
3243 (hildon_pannable_area_initial_effect),
3244 (hildon_pannable_area_button_press_cb),
3245 (hildon_pannable_area_button_release_cb),
3246 (hildon_pannable_area_scroll_cb),
3247 (hildon_pannable_area_scroll_to): Review the timeout management of
3248 the scrollbar, the frecuency was incorrectly set.
3250 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
3252 * src/hildon-picker-button.c:
3253 (+hildon_picker_button_on_dialog_response),
3254 (hildon_picker_button_clicked): Present the dialog instead of
3255 running it with gtk_dialog_run().
3257 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
3260 2009-01-07 Alberto Garcia <agarcia@igalia.com>
3262 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3263 (hildon_app_menu_finalize): When a window is hidden it doesn't
3264 emit notify::is-topmost, so make sure than the menu also
3265 disappears in that case.
3266 (parent_window_topmost_notify): Renamed from parent_window_hidden
3268 Fixes: NB#94460 (stackable window's menu is not closed when its
3271 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3273 * src/hildon-touch-selector-entry.c:
3274 (+hildon_touch_selector_entry_set_input_mode),
3275 (+hildon_touch_selector_entry_get_input_mode):
3276 * src/hildon-touch-selector-entry.h: New methods to access the input
3277 mode in the selector's entry.
3279 Fixes: NB#93410 (API required for setting IM mode in
3280 HildonTouchSelectorEntry)
3282 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3284 * configure.ac: post release version bump.
3285 * debian/changelog: version bump
3287 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3292 * configure.ac: Bump version.
3293 * debian/changelog: Updates.
3295 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
3297 * src/hildon-touch-selector.c:
3298 (_hildon_touch_selector_has_multiple_selection): No need
3299 to initialize the variables here.
3301 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3303 * src/hildon-note-private.h
3304 * src/hildon-note.c (event_box_press_event, hildon_note_init)
3305 (hildon_note_finalize, hildon_note_rebuild): Close information
3306 notes when they receive a button press.
3308 Fixes: NB#89890 (Information notes does not get disappeared after
3311 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
3313 * src/hildon-wizard-dialog.c: (create_title): Remove translation
3314 mark from the wizard title, as it's not really necessary. Also,
3315 do not display the page title if not set.
3317 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3319 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3320 (parent_window_hidden): Use the window's "is-topmost" property to
3321 detect when to hide the menu.
3323 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3325 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3326 (hildon_app_menu_finalize): If the parent window of the menu is
3327 hidden, hide the menu too.
3329 Fixes: NB#94460 (stackable window's menu is not closed when its
3332 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3335 * debian/libhildon1-examples.install
3337 * examples/Makefile.am:
3338 Use dh_install to install all examples.
3339 Use DEB_SRCDIR instead of defining SOURCE_DIR
3341 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3343 * configure.ac: post release version bump.
3344 * debian/changelog: version bump
3346 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3351 * configure.ac: bump version
3352 * debian/changelog: updates
3353 * debian/control: bump gtk+ dependency
3355 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3357 patch by Christian Dywan (christian@imendio.com)
3359 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
3360 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
3362 2008-12-15 Alberto Garcia <agarcia@igalia.com>
3364 * src/hildon-check-button.c (hildon_check_button_init)
3365 (hildon_check_button_class_init, hildon_check_button_style_set)
3366 (hildon_check_button_apply_style):
3367 New "checkbox-size" style property.
3369 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
3370 larger / configurable size)
3372 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3374 * configure.ac: post release version bump.
3375 * debian/changelog: version bump
3377 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3382 * configure.ac: bump version
3383 * debian/changelog: updates
3385 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3387 * doc/hildon-sections.txt
3388 * src/hildon-pannable-area.c
3389 * src/hildon-program.c
3390 * src/hildon-time-editor.c
3391 * src/hildon-touch-selector-entry.c:
3393 More documentation updates.
3395 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3397 * doc/hildon-sections.txt
3398 * src/hildon-caption.c
3399 * src/hildon-code-dialog.c
3400 * src/hildon-color-button.c
3401 * src/hildon-controlbar.c
3402 * src/hildon-date-editor.c
3403 * src/hildon-date-selector.c
3404 * src/hildon-edit-toolbar.c
3405 * src/hildon-find-toolbar.c
3406 * src/hildon-font-selection-dialog.c
3408 * src/hildon-program.c
3409 * src/hildon-range-editor.c
3410 * src/hildon-seekbar.c
3411 * src/hildon-time-editor.c
3412 * src/hildon-time-selector.c
3413 * src/hildon-volumebar-range.c
3414 * src/hildon-volumebar.c
3415 * src/hildon-vvolumebar.c
3416 * src/hildon-weekday-picker.c
3417 * src/hildon-window.c
3418 * src/hildon-wizard-dialog.c:
3420 Lots of documentation fixes.
3422 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3424 Patch contributed by Iván Gómez (igomez@igalia.com)
3426 * src/hildon-check-button.c:
3427 * src/hildon-date-button.c:
3428 * src/hildon-date-selector.c:
3429 * src/hildon-dialog.c:
3430 * src/hildon-edit-toolbar.c:
3431 * src/hildon-entry.c:
3432 * src/hildon-picker-button.c:
3433 * src/hildon-program.c:
3434 * src/hildon-text-view.c:
3435 * src/hildon-time-button.c:
3436 * src/hildon-touch-selector-entry.c:
3437 * src/hildon-window-stack.c:
3439 Add more "since" tags to the new API.
3441 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3443 * doc/hildon-sections.txt: Add below method.
3444 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
3445 version for the hildonized scale.
3446 * src/hildon-gtk.h: Add the definition.
3448 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3450 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3452 * doc/hildon-sections.txt: Add missing entries for new methods.
3454 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3456 Added API to pannable are in order to get its adjustments. We
3457 added two properties to manage the values we had in the private
3460 * src/hildon-pannable-area.c:
3461 (hildon_pannable_area_class_init): Added hadjustment and
3462 vadjustment properties in order to expose horizontal and vertical
3464 (hildon_pannable_area_get_property),
3465 (hildon_pannable_area_set_property): Added code to handle the new
3467 (hildon_pannable_area_get_hadjustment),
3468 (hildon_pannable_area_get_vadjustment): API functions to get the
3470 * src/hildon-pannable-area.h:
3471 (hildon_pannable_area_get_hadjustment),
3472 (hildon_pannable_area_get_vadjustment): API functions to get the
3475 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3477 Fixed some leaks, after valgrinding.
3479 * src/hildon-touch-selector.c:
3480 (_default_print_func): Fixed a leak.
3481 (hildon_touch_selector_append_column): Fixed a leak.
3482 * src/hildon-date-button.c:
3483 (hildon_date_button_init): Fixed a leak.
3484 * src/hildon-date-selector.c
3485 (hildon_date_selector_finalize): Fixed a leak.
3487 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3489 Based on a patch by Christian Dywan (christian@imendio.com)
3491 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
3493 * src/hildon-gtk.h: Add definition.
3495 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3497 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3499 * src/hildon-picker-button.c: (hildon_picker_button_init),
3500 (hildon_picker_button_new): Set the HildonButton::style property
3501 in the init method, to propagate the value to the derived classes.
3503 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3505 * src/hildon-button.c: (hildon_button_class_init): Do not make
3506 the "style" property a construct property.
3508 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3510 * src/hildon-wizard-dialog.h
3511 * src/hildon-wizard-dialog.c
3512 (hildon_wizard_dialog_set_forward_page_func)
3513 * src/hildon-pannable-area.h
3514 * src/hildon-pannable-area.c
3515 (hildon_pannable_area_set_size_request_policy):
3516 Documentation fixes.
3518 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3520 * doc/hildon-sections.txt: Fixed warning about unused symbols.
3522 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3524 * doc/hildon-sections.txt: Added sections file.
3526 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3529 * src/*.[ch]: Updates.
3531 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
3533 * examples/hildon-progress-indicator-example.c: new file
3534 * examples/Makefile.am: include the new example program
3536 2008-12-10 Alberto Garcia <agarcia@igalia.com>
3538 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
3540 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3542 * configure.ac: post release version bump
3543 * debian/changelog: version bump
3545 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3550 * configure.ac: bump version
3551 * debian/changelog: updates
3552 * debian/control: bump gtk+ dependency
3554 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3556 * src/hildon-dialog.c: Mark as deprecated.
3557 * src/hildon-dialog.h: Mark as deprecated.
3558 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
3559 from HildonDialog and still work, even if
3560 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
3561 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
3563 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
3564 maemo changes) instead)
3566 2008-12-09 Alejandro G. Castro <alex@igalia.com>
3568 * src/hildon-pannable_area.h:
3569 * src/hildon-pannable_area.c:
3570 (hildon_pannable_area_class_init),
3571 (hildon_pannable_area_set_property),
3572 (hildon_pannable_area_get_property),
3573 (hildon_pannable_area_size_request),
3574 (hildon_pannable_area_get_size_request_policy),
3575 (hildon_pannable_area_set_size_request_policy): Added new API
3576 allowing applications to control the request policy. Now they can
3577 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
3578 children allocation (HILDON_MOVEMENT_CHILDREN).
3580 2008-12-09 Alberto Garcia <agarcia@igalia.com>
3584 (hildon_gtk_tree_view_set_ui_mode)
3585 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
3586 mode of treeviews and iconviews.
3588 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3590 * src/hildon-touch-selector-entry.c:
3591 (hildon_touch_selector_entry_init): Use a HildonEntry instead
3592 of a GtkEntry to get proper theming.
3594 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
3595 widget, not GtkEntry)
3597 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3599 * src/hildon-wizard-dialog.c: (response): Move forward if there is
3600 no HildonWizardDialogPageFunc.
3602 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3604 Patch contributed by Iván Gómez (igomez@igalia.com)
3606 * src/hildon-app-menu.c:
3607 * src/hildon-button.c:
3608 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
3609 * src/hildon-stackable-window.c:
3610 * src/hildon-time-selector.c:
3611 * src/hildon-touch-selector.c:
3612 * src/hildon-window.c:
3614 Add more "since" tags to the new API in hildon 2.2.
3616 2008-12-05 Tim Janik <timj@imendio.com>
3618 Patch contributed by Christian Dywan (christian@imendio.com)
3620 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
3621 HildonSizeType, which are supplied by Gtk+ now.
3623 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
3625 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
3626 (with maemo changes) instead)
3628 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3630 Patch contributed by Iván Gómez (igomez@igalia.com)
3632 * src/hildon-pannable-area.c: Add "since" tags to the new API in
3635 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3637 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
3638 (some_page_func), (main): Update the example to use a
3639 HildonWizardDialogPageFunc function.
3641 * src/hildon-wizard-dialog-private.h: Add private data for
3642 the HildonWizardDialogPageFunc function usage.
3644 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
3645 (destroy), (hildon_wizard_dialog_init), (response),
3646 (hildon_wizard_dialog_set_forward_page_func):
3647 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
3648 that applications can use to stop a HildonWizardDialog to jump to
3651 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
3654 2008-12-04 Alberto Garcia <agarcia@igalia.com>
3656 * src/hildon-program.h
3657 * src/hildon-program-private.h
3658 * src/hildon-program.c (hildon_program_init)
3659 (hildon_program_set_common_app_menu)
3660 (hildon_program_get_common_app_menu):
3661 New API for setting a common HildonAppMenu for all
3662 HildonStackableWindows registered with the HildonProgram.
3664 * src/hildon-stackable-window.c
3665 (hildon_stackable_window_toggle_menu):
3666 Use the common HildonAppMenu if a window doesn't have a specific
3669 * src/hildon-app-menu-private.h
3670 * src/hildon-app-menu.c
3671 (hildon_app_menu_get_parent_window):
3672 Function to obtain the window a HildonAppMenu is attached to.
3673 (hildon_app_menu_set_parent_window):
3674 Hide the menu if the parent window is set to NULL.
3676 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
3678 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
3679 set GtkTreeView::enable-search to FALSE, to avoid the interactive
3680 search widget to popup.
3682 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3684 * configure.ac: post release version bump
3685 * debian/changelog: version bump
3687 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3692 * configure.ac: bump version
3693 * debian/changelog: updates
3695 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3697 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
3699 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
3700 (hildon_window_stack_window_realized)
3701 (hildon_window_stack_remove, _hildon_window_stack_do_push):
3702 Set the leader GdkWindow when a window is stacked and realized,
3703 unset it when it's unstacked.
3704 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
3706 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
3708 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3710 * src/hildon-stackable-window.h
3711 * src/hildon-window-stack.h:
3712 Protect definition of HildonWindowStack using the preprocessor.
3714 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3716 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
3717 Fix warning if all menu items are hidden.
3719 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
3721 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3723 * src/hildon-controlbar.c:
3724 * src/hildon-hvolumebar.c:
3725 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
3726 Multiple scale size defines updates.
3728 Fixes: NB#94322 (Scale Updates)
3730 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3732 * examples/hildon-app-menu-example.c (create_menu)
3733 Show items after adding them to the menu, as in the future the
3734 menu will no longer call gtk_widget_show() on the added items.
3736 * src/hildon-app-menu.c:
3737 Update example as explained above.
3739 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3741 * src/hildon-app-menu.c
3742 (hildon_app_menu_insert, hildon_app_menu_add_filter):
3743 Make sure that all menu items have finger height.
3745 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
3747 * src/hildon-picker-dialog.c:
3748 (_on_dialog_response), (_save_current_selection),
3749 (_restore_current_selection), (_clean_current_selection),
3750 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
3751 Defined new functions in order to save the current internal selector
3752 selection previous open the dialog, in case that the use cancel the
3753 interaction, so the widget restores the previous selection.
3755 Fixes: NB#92032 (In calendar application, date values in 'new event'
3758 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
3760 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3762 * src/hildon-button.c: Add a reference to the button examples in
3763 hildon-button-example.c
3765 * examples/hildon-button-example.c: Added examples of the most
3766 common button layouts.
3768 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3770 * src/hildon-app-menu.c (hildon_app_menu_show)
3771 (hildon_app_menu_class_init): Don't show the menu if it's empty.
3773 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
3775 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3777 * src/hildon-picker-dialog.c:
3778 (hildon_picker_dialog_init): Initialize the signal id for
3779 HildonTouchSelector::columns-changed.
3780 (+on_selector_columns_changed): Set up the interaction mode everytime a
3781 column is added or removed from the HildonTouchSelector.
3782 (_hildon_picker_dialog_set_selector): Connect to
3783 HildonTouchSelector::columns-changed and keep track of it.
3785 Make sure to update the interaction mode of the dialog everytime a
3786 column is added or removed in the HildonTouchSelector.
3788 Fixes: NB#93228 (Done button is not shown always in listpicker)
3790 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3792 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
3793 a new ::columns-changed signal.
3794 (hildon_touch_selector_append_column): Emit ::columns-changed.
3795 (hildon_touch_selector_remove_column): Emit ::columns-changed.
3797 Add a ::columns-changed signal, emitted when the number of columns in a
3798 HildonTouchSelector changes.
3800 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3802 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
3803 (_hildon_picker_dialog_set_selector): Factor out the code
3804 to set up the dialog interaction mode.
3806 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3808 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
3809 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
3810 to signal_changed_id.
3812 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3814 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3817 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
3819 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
3820 Updated the logical ids related to ampm format, as now it is required to
3821 show it correctly localized even on languages with no default
3822 abbreviations for am or pm
3823 (_check_am_pm_format): check correctly the 24h format gconf property
3825 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
3827 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3829 * src/hildon-button.c: Documentation updates.
3831 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3833 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
3834 * src/hildon-caption.c: (hildon_caption_class_init):
3835 * src/hildon-color-button.c: (hildon_color_button_class_init):
3836 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
3837 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3838 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
3839 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
3841 Remove deprecated GTK+ marshalers and replace them with the ones
3842 provided by GLib, for those available, add a marshaler for
3843 BOOLEAN:VOID, which is not available in GLib, and use it.
3845 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3847 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
3848 the text from the previous column if there is no
3849 HildonTouchSelectorColumn::text-property set.
3851 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3853 * src/hildon-button.h
3854 * src/hildon-button.c (hildon_button_set_property)
3855 (hildon_button_get_property, hildon_button_class_init)
3856 (hildon_button_set_style, hildon_button_get_style):
3857 New "style" property to change the visual appearance of the
3860 * src/hildon-picker-button.c (hildon_picker_button_new):
3861 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
3863 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
3864 HildonButton look like PickerButton)
3866 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3868 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
3869 column while building the default string.
3871 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3873 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
3874 scroll indicator by default.
3876 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
3878 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3880 * src/hildon-main.c: Fix the documentation for hildon_init()
3882 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3884 * doc/hildon-docs.sgml
3888 * src/hildon-window-stack-private.h
3889 * src/hildon-window-stack.h
3890 * src/hildon-window-stack.c:
3891 New HildonWindowStack object, that adds support for multiple
3892 stacks of windows per process.
3894 * src/hildon-stackable-window-private.h
3895 * src/hildon-stackable-window.h
3896 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
3897 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
3898 (hildon_stackable_window_show, hildon_stackable_window_hide)
3899 (hildon_stackable_window_class_init)
3900 (hildon_stackable_window_init):
3901 Use HildonWindowStack for stack management.
3903 * src/hildon-program.c (hildon_program_pop_window_stack)
3904 (hildon_program_peek_window_stack)
3905 (hildon_program_go_to_root_window):
3906 Add a fallback implementation to the deprecated functions using
3909 * examples/hildon-stackable-window-example.c:
3910 Use the new HildonWindowStack API.
3912 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3914 * src/hildon-stackable-window-private.h
3915 * src/hildon-stackable-window.c (hildon_stackable_window_show)
3916 (hildon_stackable_window_hide, hildon_stackable_window_init):
3917 Remove all window stack management.
3919 * src/hildon-program-private.h
3920 * src/hildon-program.h
3921 * src/hildon-program.c (hildon_program_init)
3922 (hildon_program_pop_window_stack)
3923 (hildon_program_peek_window_stack)
3924 (hildon_program_go_to_root_window):
3925 Remove all window stack management and mark functions as
3928 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3930 * src/hildon-app-menu.c (hildon_app_menu_realize):
3931 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
3933 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3935 * configure.ac: post release version bump
3936 * debian/changelog: version bump
3938 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3943 * configure.ac: bump version
3944 * debian/changelog: updates
3946 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3948 Based on initial code by Christian Dywan (christian@imendio.com)
3950 * doc/hildon-docs.sgml: Add section for hildon-main.
3951 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
3952 * src/Makefile.am: Add new hildon-main.[ch]
3953 * src/hildon-defines.h: Update the icon sizes.
3954 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
3955 new library initialization files and register icon sizes.
3956 * src/hildon-main.h: New declarations.
3957 * src/hildon.h: Include hildon-main.h
3959 Add new initialization functions to the library. These methods
3960 will register the hildon specific icon sizes and can be used in the
3961 future for other hildon specific bits.
3963 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
3965 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3967 * src/hildon-window.c: (hildon_window_realize),
3968 (hildon_window_notify), (-hildon_window_update_title): Do not set
3969 the application name in the window title.
3971 Fixes: NB#89754 (Applications shouldn't display their names in the
3974 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3976 * src/hildon-note-private.h:
3977 * src/hildon-note.c: (hildon_note_set_property),
3978 (hildon_note_get_property), (hildon_note_class_init),
3979 (hildon_note_init), (hildon_note_finalize),
3980 (hildon_note_new_confirmation_with_icon_name),
3981 (hildon_note_new_information_with_icon_name):
3983 No need to mark as deprecated the actual code. Revert
3984 to avoid missing symbols in widgets using deprecated API.
3986 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3988 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
3990 * src/hildon-volumebar.h
3991 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
3992 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
3994 * src/hildon-helper.h
3995 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
3996 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
3998 * examples/Makefile.am:
3999 Deprecate hildon-insensitive-example
4001 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4003 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4005 * examples/hildon-pannable-area-buttons-scroll-example.c:
4006 Make all buttons finger height
4008 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
4010 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4012 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4013 update the day model only if it is really required, and to avoid the
4014 full-reconstruction aproach. Now it only add or remove the required days.
4016 The purpose of this is avoid superfluous HildonTouchSelector::changed
4019 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4020 with strange parameters)
4022 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
4024 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4026 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4027 the WINDOW_TYPE property.
4029 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4031 2008-11-19 Alberto Garcia <agarcia@igalia.com>
4034 Fix dependency to allow parallel compilation with make -jX
4036 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
4038 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
4039 color frame and some minor tweaks to make it more consistent with
4042 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4043 highlighted but not visible)
4045 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4047 * examples/Makefile.am: Fixed typo in the Makefile.am.
4049 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4051 Reviewed the use of MAEMO_GTK define, now we add the define in the
4052 compilation line, and we also add it to the pc file.
4054 * configure.ac: Added MAEMO_GTK define to the compilation command
4055 and removed it from the config.h.
4057 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
4058 do not have to take care about this define if the library was
4062 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
4064 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4066 * examples/Makefile.am,
4067 * examples/hildon-pannable-area-buttons-scroll-example.c,
4068 * examples/hildon-pannable-area-gesture-signals-example.c,
4069 * examples/hildon-pannable-area-scroll-jump-example.c,
4070 * examples/hildon-pannable-area-tree-view-example.c:
4071 Renamed the pannable area examples, now they have more meaningful
4074 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
4076 * src/hildon-touch-selector.c:
4077 (hildon_touch_selector_set_column_selection_mode): Used of
4078 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
4079 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
4080 to avoid re-seting the same selection mode.
4082 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
4083 breaks HildonPickerDialog)
4085 2008-11-13 Alejandro G. Castro <alex@igalia.com>
4087 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
4088 conditional in the Makefile.am
4090 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
4092 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
4093 Remove unused methods.
4095 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4097 * src/hildon-button.c (hildon_button_init):
4098 Make button images center-aligned by default
4100 2008-11-12 Alejandro G. Castro <alex@igalia.com>
4103 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
4104 activated, we have to think about how to deal with both defines
4105 MAEMO_GTK and MAEMO_CHANGES.
4107 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4109 * examples/hildon-app-menu-example.c (create_menu): Make all
4110 buttons finger size.
4112 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4114 Fixed the compilation without maemo gtk adding ifdefs with
4115 MAEMO_GTK define to the code, we have to check this version more
4118 * examples/Makefile.am: Added control to avoid some examples that
4119 just make sense with maemo gtk.
4122 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
4123 hildon modes with the define.
4125 * examples/hildon-edit-toolbar-example.c,
4126 (create_icon_view): Create the icon view without hildon-gtk
4127 helpers if we are not using maemo gtk.
4129 * src/hildon-touch-selector.c,
4130 (_create_new_column): Create the treeview without hildon-gtk
4131 helpers if we are not using maemo gtk.
4133 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4135 * src/hildon-pnnable-area.c,
4136 (hildon_pannable_area_dispose),
4137 (hildon_pannable_area_button_press_cb),
4138 (hildon_pannable_area_child_mapped),
4139 (hildon_pannable_area_add),
4140 (hildon_pannable_area_remove): Added code to control the position
4141 of the event_window when adding and removing children from the
4142 pannable. We have to raise the event window when the child is
4145 Fixes: NB#89811 (Not able to select first image thumbnail in multi
4146 selection mode using custom widget inside pannable)
4148 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4150 * configure.ac: post release version bump
4151 * debian/changelog: version bump
4153 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4158 * configure.ac: bump version
4159 * debian/changelog: updates
4161 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
4163 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
4164 search mode, in order to avoid lose the focus on the treeview when
4165 a hw key (like enter) is pressed.
4167 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
4168 in HildonDateSelector dialog)
4170 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
4172 * debian/rules: Added --enable-maintainer-mode
4173 * Makefile.am: Added ACLOCAL_AMFLAGS
4175 This allows to properly regenerate the Makefiles if you modify the
4176 configure.ac or any Makefile.am.
4178 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4180 * examples/hildon-app-menu-example.c: (main): Do not set RC style
4181 properties, not needed at all.
4183 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4185 * src/hildon-note-private.h: Add strings for the icon and stock_icon
4187 * src/hildon-note.c: (hildon_note_set_property),
4188 (hildon_note_get_property), (hildon_note_class_init),
4189 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
4190 (hildon_note_new_confirmation_add_buttons): Remove icons.
4191 (hildon_note_new_confirmation_with_icon_name): Deprecate.
4192 (hildon_note_new_information_with_icon_name): Deprecate.
4193 (hildon_note_new_confirmation): Act directly, without calling
4194 the deprecated constructor.
4195 (hildon_note_new_information): Act directly, without calling
4196 the deprecated constructor.
4197 * src/hildon-note.h: Mark deprecate methods as such.
4198 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
4199 not run tests on the deprecated methods if built with deprecation
4202 Fixes: NB#91688 (Never show icons in information notes/confirmation
4205 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4207 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
4208 (hildon_app_menu_key_press): Remove leftover usage of the
4209 private structure in HildonAppMenu struct.
4210 * src/hildon-app-menu.h: Remove leftover private structure
4211 from the HildonAppMenu struct.
4213 Fixes a crasher when using the HildonAppMenu.
4215 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4217 * src/hildon-picker-dialog.c: Use appropriate logical id
4218 for the default "Done" text.
4220 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4222 * configure.ac: post release version bump
4223 * debian/changelog: version bump
4225 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
4227 Modified the way to scroll to the current selection just when the touch
4228 selector is shown on the screen, avoiding a g_idle. Added too a property
4229 to configure this behaviour. See hildon_pannable_area_jump_to_child
4230 documentation for more information.
4232 * src/hildon-touch-selector.c
4233 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
4234 Added 'initial-scroll' property
4235 (hildon_touch_selector_set_property): Added
4236 (hildon_touch_selector_map): Removed as not required anymore
4237 (_hildon_touch_selector_on_selected_items): Modified in order to manage
4238 only a concrete column, instead of iterate along all the columns
4240 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4245 * configure.ac: bump version
4246 * debian/changelog: updates
4248 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4250 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
4251 compilation time warnings.
4253 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4255 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4256 the default value for HildonPannableArea::mov-mode to
4257 HILDON_PANNABLE_AREA_MODE_VERT.
4259 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
4261 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4263 Reverting following commit:
4265 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4267 * src/hildon-app-menu-private.h
4268 * src/hildon-app-menu.[ch]
4269 * src/hildon-button.[ch]
4270 * src/hildon-check-button.[ch]
4271 * src/hildon-entry.[ch]
4272 * src/hildon-pannable-area.[ch]
4273 * src/hildon-text-view.[ch]:
4274 Added private field to the object's structure.
4276 because it causes an ABI breakage. We will need to introduce these
4277 changes later at some point. See NB#91636 for an extensive
4278 explanation and status.
4280 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4282 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4284 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4285 remove special cases that are no longer necessary.
4287 Fixes: NB#91016 (Change toolbar sizes, simplification)
4289 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4291 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4292 is shown in the cancel note.
4294 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4296 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
4297 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
4298 (hildon_seekbar_init): Remove steppers, remove expose event.
4299 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
4301 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
4303 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
4305 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
4306 label font to "SmallSystemFont" for vertically arranged buttons.
4308 Fixes: NB#90662 (HildonButton "value" and "detail" text is
4311 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4313 * src/hildon-check-button.c
4314 (hildon_check_button_set_active, hildon_check_button_clicked):
4315 Don't access private parts directly, use getters instead.
4317 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4319 * src/hildon-check-button.c (hildon_check_button_new):
4320 Align the contents of the check button to the left.
4322 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4324 * src/hildon-pannable-area.c,
4325 (hildon_pannable_area_scroll_to),
4326 (hildon_pannable_area_jump_to),
4327 (hildon_pannable_area_scroll_to_child),
4328 (hildon_pannable_area_jump_to_child): Replace the mapped
4329 precondition of these functions with the realized, it is the
4330 correct state of the widget in this case. Changed the
4331 documentation according to this modification.
4333 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4335 Added a new EXTRA_CFLAGS option to add the deprecated define to
4336 the compilation command. This way we can avoid using the define in
4337 the documentation compilation.
4339 * configure.ac: Defined EXTRA_CFLAGS.
4341 * examples/Makefile.am:
4343 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
4345 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
4347 * src/hildon-picker-dialog.c:
4348 Defined a utility macro with the desired touch selector height
4349 Removed currently unused separator, and title_label variables from
4351 (hildon_picker_dialog_init): Removed code related to the creation
4352 of unused private variables title_label and separator.
4353 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
4354 to ensure correct visualization of the touch selector inside the dialog.
4355 * src/hildon-touch-selector.c
4356 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
4357 ensure a concrete height of the widget.
4359 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4362 * tests/Makefile.am:
4364 Remove spurious whitespaces.
4366 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4368 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
4369 compilation warning after the cancel button removal.
4371 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4373 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
4375 * configure.ac: Added an AM_CONDITIONAL in order to use in the
4376 Makefile.am, that way we can choose not to compile some examples
4377 and tests of the deprecated widgets.
4379 * examples/Makefile.am: Divided the sources in deprecated and
4382 * src/Makefile.am: Added undef statement of the deprecated
4383 symbol to the enums file generation process.
4385 * src/hildon-color-chooser-dialog.c
4386 * src/hildon-color-chooser-dialog.h
4387 * src/hildon-color-button.c
4388 * src/hildon-color-button.h
4389 * src/hildon-color-chooser.c
4390 * src/hildon-color-chooser.h
4391 * src/hildon-controlbar.c
4392 * src/hildon-controlbar.h
4393 * src/hildon-date-editor.c
4394 * src/hildon-date-editor.h
4395 * src/hildon-hvolumebar.c
4396 * src/hildon-hvolumebar.h
4397 * src/hildon-private.c
4398 * src/hildon-private.h
4399 * src/hildon-range-editor.c
4400 * src/hildon-range-editor.h
4401 * src/hildon-seekbar.c
4402 * src/hildon-seekbar.h
4403 * src/hildon-time-editor.c
4404 * src/hildon-time-editor.h
4405 * src/hildon-time-picker.c
4406 * src/hildon-time-picker.h
4407 * src/hildon-volumebar.c
4408 * src/hildon-volumebar.h
4409 * src/hildon-vvolumebar.c
4410 * src/hildon-vvolumebar.h
4411 * src/hildon-bread-crumb-trail.h
4412 * src/hildon-bread-crumb-trail.c
4413 * src/hildon-calendar-popup.c
4414 * src/hildon-calendar-popup.h
4415 * src/hildon-weekday-picker.c:
4416 * src/hildon-weekday-picker.h:
4417 * src/hildon-bread-crumb-widget.c:
4418 * src/hildon-bread-crumb-widget.h:
4419 * src/hildon-bread-crumb.c:
4420 * src/hildon-bread-crumb.h:
4421 * src/hildon-calendar.c:
4422 * src/hildon-calendar.h:
4423 * src/hildon-caption.c:
4424 * src/hildon-code-dialog.c:
4425 * src/hildon-code-dialog.h:
4426 * src/hildon-font-selection-dialog.c:
4427 * src/hildon-font-selection-dialog.h:
4428 * src/hildon-get-password-dialog.c:
4429 * src/hildon-get-password-dialog.h:
4430 * src/hildon-login-dialog.c:
4431 * src/hildon-login-dialog.h:
4432 * src/hildon-number-editor.c:
4433 * src/hildon-number-editor.h:
4434 * src/hildon-set-password-dialog.c:
4435 * src/hildon-set-password-dialog.h:
4436 * src/hildon-sort-dialog.c:
4437 * src/hildon-sort-dialog.h: This is the list of deprecated
4440 * src/hildon-touch-selector.c:
4441 * src/hildon-window.c: Added undef statement to avoid compilation
4444 * tests/Makefile.am: Divided the sources in deprecated and
4447 * tests/check_test.c,
4448 (configure_tests): Marked the deprecated code that was adding
4449 suites with deprecated tests.
4451 Fixes: NB#91135 (Deprecate legacy hildon widgets)
4453 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4455 * src/hildon-touch-selector.c: (_default_print_func): Do not
4456 duplicate a string returned by gtk_tree_model_get(), it is already
4459 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
4462 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4464 * src/hildon-pannable-area.c
4465 (hildon_pannable_area_add_with_viewport): Reviewed the complete
4466 method, it had problems when adding a widget with viewport the
4467 second time. Now checks if it already has a viewport and uses it.
4469 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
4472 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4474 * src/hildon-pannable-area.c,
4475 (hildon_pannable_area_scroll_to),
4476 (hildon_pannable_area_jump_to),
4477 (hildon_pannable_area_scroll_to_child),
4478 (hildon_pannable_area_jump_to_child): Added a precondition to the
4479 scroll and jump to functions: the widget must be mapped before we
4480 can safely call these functions. We have also added documentation
4481 to the functions to explain how to use them in this situation.
4484 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4486 Reviewed the threading handling of the pannable widget, we have
4487 used the gdk_threads_add_timeout function instead of the usual
4488 glib handlers. This avoids some problems with the threads.
4490 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
4491 (hildon_pannable_area_initial_effect),
4492 (hildon_pannable_area_scroll_indicator_fade),
4493 (hildon_pannable_area_button_press_cb),
4494 (hildon_pannable_area_timeout),
4495 (hildon_pannable_area_motion_notify_cb),
4496 (hildon_pannable_area_button_release_cb),
4497 (hildon_pannable_area_scroll_cb),
4498 (hildon_pannable_area_scroll_to): Removed the
4499 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
4500 gdk_threads_add_timeout.
4502 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
4504 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4509 * configure.ac: bump version
4510 * debian/changelog: updates
4512 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4514 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4515 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
4516 * src/hildon-color-chooser-dialog.c:
4517 (hildon_color_chooser_dialog_init):
4518 * src/hildon-font-selection-dialog.c:
4519 (hildon_font_selection_dialog_init):
4520 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
4522 Remove all cancel/close-like dialogs, as these are not going to be
4525 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4527 * src/hildon-note.c: (hildon_note_rebuild),
4528 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
4531 Fixes: NB#90661 (Delete dialog is displayed without NO button)
4533 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4535 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
4536 sure all buttons are shown, even the Cancel/Close-like ones.
4538 Fixes: NB#90861 (Custom Confirmation dialogs should be
4539 protected from cancel button removal)
4541 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4543 * debian/control: Change libhildon1-examples dependency from libhildon1
4545 * debian/libhildon1-examples.install
4547 * Makefile.am: Modified the final install directory for the examples on
4548 package libhildon1-examples
4549 * Makefile.static: Update clean target in order to remove all the binary
4552 Changes suggested by Claudio after review new libhildon1-examples package
4554 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
4556 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
4557 * src/hildon-touch-selector.c: Ditto.
4559 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4561 * debian/control: Added new package libhildon1-examples, in order to pack
4562 the current hildon examples as documentation
4563 * debian/rules: Not to compress .c files, modify some includes on the
4564 examples (as normally are compiled locally, but when installed it will
4565 require to include the installed libhildon1 library), and rename
4567 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
4568 install all the example files on the new example package
4569 * examples/Makefile.static: Added static makefile that can be used to
4570 compile the examples, once installed the new example package
4571 * examples: Most of the examples were modified in order to grant that
4572 all use only '#include "hildon.h"', in order to be easy to prepare
4573 it on the example package
4575 2008-10-23 Alberto Garcia <agarcia@igalia.com>
4578 * debian/libhildon1-dev.install
4579 * debian/libhildon1-doc.install:
4580 Move all gtk-doc files to a separate libhildon1-doc package.
4582 2008-10-23 Daniel Borgmann <danielb@openismus.com>
4584 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4586 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
4588 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
4590 * debian/rules: Fixed a error in order to avoid unnecessary calls
4591 to autogen.sh on package building
4593 2008-10-22 Alberto Garcia <agarcia@igalia.com>
4595 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
4597 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4599 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
4602 2008-10-21 Alberto Garcia <agarcia@igalia.com>
4604 * src/hildon-picker-button.c
4605 (hildon_picker_button_finalize):
4606 Free priv->done_button_text
4608 * src/hildon-time-button.c
4609 (hildon_time_button_set_time)
4610 * src/hildon-picker-button.c
4611 (hildon_picker_button_clicked)
4612 (hildon_picker_button_selector_selection_changed)
4613 (hildon_picker_button_set_selector)
4614 * src/hildon-date-button.c
4615 (hildon_date_button_set_date):
4616 Free strings returned by hildon_touch_selector_get_current_text()
4618 * src/hildon-button.c (hildon_button_construct_child):
4619 Fix leaks in priv->image and priv->label_box
4621 Fixes: NB#90535 (Memory leak in picker button)
4623 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4625 * src/hildon-button.c: (hildon_button_get_property): Do not access
4626 private elements directly, use getters instead.
4628 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4630 * src/hildon-app-menu-private.h
4631 * src/hildon-app-menu.c
4632 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
4633 Store the menu's parent window.
4635 * src/hildon-stackable-window.c
4636 (hildon_stackable_window_toggle_menu)
4637 (hildon_stackable_window_finalize):
4638 Set the menu's parent window when the menu is shown, unset it when
4641 * src/hildon-app-menu.c
4642 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
4643 (hildon_app_menu_class_init):
4644 Send unhandled keyboard accelerators to the parent window.
4646 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4648 * src/hildon-stackable-window.c
4649 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
4651 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4653 * configure.ac: post release version bump
4655 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4658 * configure.ac: Bump version
4659 * debian/changelog: Updates
4660 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
4663 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4665 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4668 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
4669 GtkMenu with Hildon style.
4671 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4673 * src/hildon-picker-button.c:
4674 (hildon_picker_button_set_done_button_text): Set the dialog's
4675 done button text here as well.
4677 Fixes: NB#90232 (Picker button does not set the label on done button
4678 for the second time)
4680 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4682 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
4685 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4687 * src/hildon-app-menu.c (hildon_app_menu_insert)
4688 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
4689 the HildonAppMenu to be activatable using keyboard accelerators
4690 when the menu is not being shown.
4692 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
4694 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4696 * src/hildon-stackable-window.c
4697 (hildon_stackable_window_show):
4698 Don't hide old windows automatically when new windows are shown:
4699 this is now a task for the window manager.
4700 (hildon_stackable_window_class_init)
4701 (hildon_stackable_window_hide):
4702 Remove windows from the stack everytime they're hidden.
4703 (hildon_stackable_window_realize):
4704 Don't change the _NET_WM_WINDOW_TYPE property. Use
4705 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
4706 it as a stackable window.
4708 * src/hildon-program.c
4709 (hildon_program_pop_window_stack):
4710 Just hide the window to remove it from the stack.
4711 (hildon_program_go_to_root_window):
4712 Don't call gtk_widget_show(), this is now a task for the window
4715 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
4717 2008-10-15 Alberto Garcia <agarcia@igalia.com>
4719 * src/hildon-button.c
4720 (hildon_button_construct_child):
4721 Don't pack anything in the button until text or image are
4722 set. This allows adding a custom child after creating the button
4723 with hildon_button_new().
4724 (hildon_button_finalize, hildon_button_class_init)
4725 (hildon_button_init, hildon_button_set_arrangement): Destroy the
4726 alignment and the label box even when they're not packed in the
4729 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
4731 * src/hildon-touch-selector.h:
4732 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
4733 currently the type definition was using GTK_TYPE_VBOX
4734 * src/hildon-touch-selector.c:
4735 Added some implementation notes in order to clarify that any other widget
4736 added without the column related API will not be included on the
4737 selection logic, and how the widget is freed, as some people ask about
4739 (hildon_touch_selector_remove): Reimplemented in order to free properly
4740 the column related data when you remove the private hbox.
4741 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
4742 to get a proper HildonTouchSelectorColumn documentation
4744 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4746 * src/hildon-touch-selector-entry.c:
4747 (hildon_touch_selector_entry_print_func): Return NULL if there is no
4748 text in the GtkEntry and there is no item selected. Fixes a
4751 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4753 * src/hildon-app-menu-private.h
4754 * src/hildon-app-menu.[ch]
4755 * src/hildon-button.[ch]
4756 * src/hildon-check-button.[ch]
4757 * src/hildon-entry.[ch]
4758 * src/hildon-pannable-area.[ch]
4759 * src/hildon-text-view.[ch]:
4760 Added private field to the object's structure.
4762 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4764 * configure.ac: post-release version bump
4766 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4770 * configure.ac: pre-release version bump
4772 * debian/changelog: updates.
4774 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4776 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
4777 Disconnect the handler for HildonTouchSelector::changed.
4779 (hildon_picker_button_selector_selection_changed): Update the button
4780 value if the selection change was not triggered by the
4783 (hildon_picker_button_set_selector): connect to
4784 HildonTouchSelector::changed.
4786 Fixes: NB#89650 (Picker button is not updated, when selection in
4787 selector has changed)
4789 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
4791 * src/hildon-picker-dialog.c
4792 (hildon_picker_dialog_realize): Removed as not required
4793 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
4794 * src/hildon-picker-button.c
4795 (_current_selector_empty): New function, checks if the selector is empty
4796 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
4797 if the current selector is empty, in order to avoid to show the dialog
4798 close the dialog in this case (and shows a g_warning).
4800 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
4802 2008-10-09 Alejandro G. Castro <alex@igalia.com>
4804 * src/hildon-pannable-area.c,
4805 (hildon_pannable_area_scroll): Added clause to stop movement when
4806 the child of pannable is smaller than one page.
4807 (hildon_pannable_area_scroll_to): Added conditions to avoid
4808 starting the scrolling movement if the child is smaller than one
4809 page, the complete child is in the screen, we do not have to move.
4811 Fixes: NB#89632 (Picker button selection doesn't change on first click)
4813 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4815 * src/hildon-app-menu.c: Removed the 'columns' property, as now
4816 this is managed automatically by the widget when the size of the
4819 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4821 * src/hildon-picker-button.c
4822 (hildon_picker_button_set_done_button_text): Make a copy of the
4823 text, and free the previous value.
4825 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4827 * src/hildon-touch-selector-entry.c:
4828 (hildon_touch_selector_entry_print_func): Return the selected row's
4829 text if the entry is empty.
4831 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
4834 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4836 * src/hildon-touch-selector-entry.c: Minor docs fixes.
4838 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4841 * src/hildon-check-button.h
4842 * src/hildon-check-button.c
4843 * examples/hildon-check-button-example.c:
4844 HildonCheckButton is now a new widget. 'toggled' signal added.
4846 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4848 * src/hildon-program-private.h
4849 * src/hildon-program.c (hildon_program_init)
4850 (hildon_program_finalize): Removed unused variables group_leader
4851 and name from HildonProgramPrivate.
4853 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4855 * src/hildon-check-button.c (hildon_check_button_set_active)
4856 (hildon_check_button_get_active, hildon_check_button_new): Use
4857 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
4859 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
4861 * src/hildon-touch-selector.h
4862 (hildon_touch_selector_set_column_attributes): added deprecation
4863 guard HILDON_DISABLE_DEPRECATED
4864 * src/hildon-time-selector.c
4865 (hildon_time_selector_set_time)
4866 (hildon_time_selector_get_time): Fixed a typo on documentation
4867 * src/hildon-touch-selector.c: update HildonTouchSelector and
4868 HildonTouchSelectorColumn documentation
4869 * src/hildon-touch-selector-entry.c: update "text-column" property
4871 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
4872 to be added to the general documentation.
4874 2008-10-08 Alejandro G. Castro <alex@igalia.com>
4876 * examples/hildon-pannable-area-example-4.c,
4878 * examples/hildon-pannable-area-example.c,
4879 (main): Modified the code in order to use the container add, with
4880 viewport treeviews could have problems if they are really big.
4882 2008-10-06 Alejandro G. Castro <alex@igalia.com>
4884 * src/hildon-weekday-picker.c,
4885 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
4886 the agreement regarding deprecation in the library.
4888 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4890 * examples/hildon-picker-button-multicolumn-example.c:
4891 (main): Use custom "done" button text.
4893 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4894 (hildon_picker_button_set_property),
4895 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4896 (hildon_picker_button_init),
4897 (+hildon_picker_button_get_done_button_text),
4898 (+hildon_picker_button_set_done_button_text): New methods to customize
4899 the "done" button label in the launched HildonPickerDialog. Also,
4902 * src/hildon-picker-button.h: add the public API.
4904 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4906 * src/hildon-date-selector.h:
4907 * src/hildon-picker-dialog.h:
4908 * src/hildon-time-selector.h:
4909 * src/hildon-touch-selector-column.h:
4910 * src/hildon-touch-selector.h:
4912 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
4913 declarations. Fixes gtk-doc warnings.
4915 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4917 * src/hildon-picker-dialog.h
4918 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
4919 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
4921 Fixes: NB#89329 (selectors in picker dialog are not visible when a
4922 long text is set as label for done button)
4924 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4926 * src/hildon-dialog.c (hildon_dialog_add_button):
4927 Set fixed width to all buttons in the HildonDialog.
4929 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4931 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4933 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
4934 Set widget name using class name plus "-finger" or "-thumb".
4936 2008-10-03 Alberto Garcia <agarcia@igalia.com>
4938 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
4939 'clicked' when the state of the button is manually changed.
4941 2008-10-02 Alberto Garcia <agarcia@igalia.com>
4943 * src/hildon-app-menu.c (hildon_app_menu_realize)
4944 (hildon_app_menu_unrealize, hildon_app_menu_init)
4945 (hildon_app_menu_class_init, item_visibility_changed):
4946 Change the menu layout when the size of the screen changes.
4947 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
4948 Show warning only when changing the number of colums using the
4951 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
4953 * debian/compat: Set to 5
4954 * debian/control: Update dependencies.
4955 * debian/libhildon1-dbg.install: Remove.
4956 * debian/libhildon1-dev.install: Update according to cdbs paths.
4957 * debian/libhildon1.install: Update according to cdbs paths.
4958 * debian/rules: Switch to cdbs.
4960 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4962 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
4963 'item' variable renamed to 'filter'
4965 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4967 * src/hildon-app-menu.c (hildon_app_menu_insert)
4968 (hildon_app_menu_add_filter, remove_item_from_list)
4969 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
4970 Don't leak hidden items when the menu is destroyed.
4972 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4974 * src/hildon-app-menu.c (hildon_app_menu_insert)
4975 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
4976 (hildon_app_menu_set_columns, item_visibility_changed)
4977 (filter_visibility_changed, hildon_app_menu_repack_filters)
4978 (hildon_app_menu_repack_items):
4979 Repack items and filters separately.
4981 Don't repack all items, change only the ones that are needed to
4984 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4986 * src/Makefile.am: added hildon-touch-selector-column.h
4988 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4990 * src/hildon-touch-selector.c: added the property "text-column" to the
4991 class HildonTouchSelectorColumn, and related get/set functions
4992 (_default_printf_func): updated to use "text-column" property
4993 * src/hildon-touch-selector-entry.c: mark as deprecated the property
4994 "text-column" in his documentation, as this is now included on
4995 HildonTouchSelectorColumn. The get/set_property can still be used,
4996 working as a wrapper to the concrete column "text-column" property
4997 (_text_column_modified): callback added in order to handle the signal
4998 "notify::text-column" of the concrete HildonTouchSelectorColumn
4999 (hildon_touch_selector_entry_get_text_column)
5000 (hildon_touch_selector_entry_set_text_column): Added documentation, and
5001 modified in order to use the HildonTouchSelectorColumn "text-column"
5003 * src/hildon-time-selector.c:
5004 * src/hildon-date-selector.c:
5005 * examples/hildon-touch-selector-example.c
5006 * examples/hildon-touch-selector-multi-cells-example.c
5007 * examples/hildon-picker-button-multicolumn-example.c
5008 Set the right value to "text-column" property on the creation of a new
5009 column using hildon_touch_selector_append_column()
5011 Fixes: NB#88644 (Hardcoded first column of the model as text column)
5013 2008-09-30 Alberto Garcia <agarcia@igalia.com>
5015 * src/hildon-app-menu.c
5016 (hildon_app_menu_construct_child, hildon_app_menu_init): When
5017 updating the layout of the menu, don't create all widgets again,
5018 just repack the items in their new places.
5020 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
5022 * src/hildon-time-selector.c
5023 (hildon_time_selector_get_time)
5024 (hildon_time_selector_set_time)
5025 Added documentation of these public methods
5027 * src/hildon-date-button.h
5028 * src/hildon-touch-selector-column.h
5029 * src/hildon-time-button.h
5030 * src/hildon-picker-dialog.h
5031 * src/hildon-time-selector.h
5032 * src/hildon-picker-button.h
5033 * src/hildon-touch-selector.h
5034 * src/hildon-time-picker.h
5035 * src/hildon-date-selector.h
5036 * src/hildon-touch-selector-entry.h
5037 Modified in order to use hildon-widgets code style
5039 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5041 Added deprecated support to the compilation process using
5042 HILDON_DISABLE_DEPRECATED
5044 * configure.ac: Added the --disable-deprecated to the configure
5047 * src/hildon-weekday-picker.c:
5048 * src/hildon-weekday-picker.h: Deprecated widget, example of how
5049 to use the deprecated support. We will update the other deprecated
5050 widgets status in a new patch.
5052 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5054 * configure.ac: Fixed typo with fatal warnings support, the
5055 variable name was not correct
5057 2008-09-29 Alberto Garcia <agarcia@igalia.com>
5059 * src/hildon-app-menu.c
5060 * src/hildon-program.c: Update documentation.
5062 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5064 * configure.ac: Post-release version bump.
5066 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5071 * configure.ac: Pre-release version bump.
5072 * debian/changelog: Updates.
5074 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5076 * NEWS: Update news for previous releases.
5078 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5080 * examples/hildon-touch-selector-multi-cells-example.c:
5081 (create_selector): Update the example to use
5082 hildon_touch_selector_append_column() with a NULL renderer and set
5083 the renderers later.
5084 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
5085 passed a NULL renderer. This is documented behavior now.
5087 Allow passing a NULL renderer to hildon_touch_selector_append_column().
5088 This must be used if the developer wants full control on the layout of
5089 the renderers to be added to the column.
5091 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5093 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5095 * src/hildon-touch-selector.c: Documentation fixes.
5097 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5099 * src/hildon-wizard-dialog-private.h: Remove image and box.
5100 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
5101 (hildon_wizard_dialog_set_property), (response): Completely remove
5102 image/icon support, and the containers required for the layout.
5104 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
5106 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5108 * src/hildon-app-menu.c: Updated documentation.
5110 * src/hildon-stackable-window.c
5111 (hildon_stackable_window_set_main_menu): Unref the old menu after
5112 ref'ing the new one.
5114 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5116 * src/hildon-stackable-window.c
5117 (hildon_stackable_window_set_main_menu): Unref the previous menu
5118 instead of destroying it.
5120 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
5121 floating reference and set has_user_ref_count to FALSE to make
5122 HildonAppMenu act like a normal ref-counted widget and not a
5125 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
5128 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
5130 * src/hildon-touch-selector-column.h: new file
5131 * src/hildon-touch-selector.h
5132 * src/hildon-touch-selector.c
5133 Implemented GtkCellLayout interface, in order to allow to configure
5134 the cell layout on each individual selector column
5135 (hildon_touch_selector_set_column_attributes): marked as deprecated
5136 * examples/hildon-touch-selector-multi-cells-example.c
5137 Example of how to use the GtkCellLayout interface on the selector
5139 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5141 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5143 * src/hildon-app-menu.h
5144 * src/hildon-app-menu.c
5145 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
5146 (hildon_app_menu_append, hildon_app_menu_prepend):
5147 New methods to prepend, insert and move items in the menu.
5149 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5151 * src/hildon-wizard-dialog.c:
5153 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
5155 (create_title): Update logical IDs and related code.
5156 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
5158 * src/hildon-wizard-dialog.h: Note that
5159 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
5160 point, as it is not used anymore.
5162 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
5164 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5166 * src/hildon-note.c:
5167 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
5168 shown. Do not display an icon in confirmation notes nor information
5170 (hildon_note_set_button_text): Update logical ID for cancel button.
5172 Fixes: NB#88850 (Update HildonNote button strings + signals)
5174 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5176 * src/hildon-stackable-window.c
5177 (hildon_stackable_window_set_main_menu): Fix compilation warning.
5179 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5181 * src/hildon-app-menu-private.h
5182 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
5183 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
5184 (hildon_app_menu_init, hildon_app_menu_class_init): Added
5185 temporary property 'columns' to change the number of columns.
5187 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5189 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
5191 * examples/hildon-note-example.c: (on_information_clicked),
5192 (on_confirmation_clicked), (on_progress_clicked), (main): Add
5193 debugging information.
5194 * src/hildon-note-private.h: Remove close_if_pressed_outside,
5196 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
5197 (hildon_note_rebuild): Remove special handling of tapping outside/inside
5198 in order to close: this will be handled by the WM from now on.
5200 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
5202 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5204 * src/hildon-app-menu-private.h
5205 * src/hildon-app-menu.c
5206 (hildon_app_menu_append, hildon_app_menu_add_filter)
5207 (button_visibility_changed, hildon_app_menu_apply_style)
5208 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
5209 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
5210 layout everytime a button (item or filter) is shown or hidden.
5212 * src/hildon-stackable-window.c
5213 (hildon_stackable_window_set_main_menu): Destroy the old menu when
5216 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
5218 * src/hildon-touch-selector.c:
5219 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
5220 that the treeview inside the touch selector is in fremantle hildon mode
5221 * examples/hildon-date-button-example.c
5222 * examples/hildon-picker-button-multicolumn-example.c
5223 * examples/hildon-touch-selector-entry-example.c
5224 * examples/hildon-touch-selector-example.c
5225 * examples/hildon-time-button-example.c
5226 * examples/hildon-picker-button-example.c:
5227 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
5229 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
5231 * examples/hildon-text-view-example.c: (main): Remove the
5232 gtkrc bits, now handled by the theme.
5234 2008-09-22 Alberto Garcia <agarcia@igalia.com>
5236 * src/hildon-picker-button.c (hildon_picker_button_set_active):
5239 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5241 * po/Makefile.am: Install properly the mo files.
5242 * po/en_GB.po: Update translation, to ease testing purposes.
5244 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5246 * examples/hildon-picker-button-example.c: (main): Select an item
5247 in the selector before setting it to the button.
5249 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5251 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
5252 Update button's value if the selector has an item active.
5254 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
5255 'value' with the selector)
5257 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5259 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
5260 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
5261 (hildon_picker_button_class_init): Plug the finalize method.
5262 (hildon_picker_button_set_selector): If there's a previously set
5263 selector, unref'it before setting a new one.
5265 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
5266 HildonTouchSelector)
5268 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
5270 * src/hildon-touch-selector-entry.c:
5271 (hildon_touch_selector_entry_changed): Check if there is no text
5272 selected before setting the entry text.
5275 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5277 * src/hildon-touch-selector.h
5278 * src/hildon-touch-selector.c
5279 (hildon_touch_selector_get_active)
5280 (hildon_touch_selector_set_active): New methods to set/get the
5281 index of the selected item.
5283 * src/hildon-picker-button.h
5284 * src/hildon-picker-button.c
5285 (hildon_picker_button_get_active)
5286 (hildon_picker_button_set_active): New methods to set/get the
5287 index of the selected item.
5289 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5291 * configure.ac: post-release version bump.
5293 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5297 * configure.ac: Pre-release version bump.
5298 * debian/changelog: Updates.
5299 * debian/control: Add myself as maintainer and depend on l10n
5302 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5304 * src/hildon-window.c
5305 (hildon_window_set_main_menu)
5306 * src/hildon-stackable-window.c
5307 (hildon_stackable_window_set_main_menu):
5308 Updated documentation.
5310 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5312 * src/hildon-date-selector.c (hildon_date_selector_finalize):
5313 Don't free selector->priv manually.
5316 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5319 (hildon_gtk_window_set_progress_indicator):
5320 * src/hildon-gtk.h: Added the new API
5321 hildon_gtk_window_set_progress_indicator, it changes the state of
5322 the window progress hint.
5324 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5326 * src/hildon-button.c
5327 * src/hildon-stackable-window.c: Minor documentation updates.
5329 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5331 * src/hildon-stackable-window.c: Updated documentation.
5333 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
5335 * src/hildon-defines.h: Update margins definitions
5336 to the Fremantle sizes.
5339 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5341 * src/hildon-touch-selector.c,
5342 (_hildon_touch_selector_set_model): Cleaning the code after
5343 review, removed g_print and #if 0 from the code.
5345 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5347 * src/hildon-edit-toolbar.c: Update documentation.
5349 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5351 * src/hildon-check-button.h
5352 * src/hildon-check-button.c
5353 (hildon_check_button_set_label, hildon_check_button_get_label)
5354 * examples/hildon-check-button-example.c
5355 (button_clicked_cb):
5356 Removed deprecated methods.
5358 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5360 * src/hildon-text-view.c:
5361 Add sample code to the documentation.
5363 * src/hildon-entry.h
5364 * src/hildon-text-view.h:
5365 Minor cosmetic changes.
5367 * src/hildon-entry.c:
5368 Add sample code to the documentation.
5369 (hildon_entry_init, hildon_entry_refresh_contents):
5370 Don't allow NULL values in the placeholder.
5372 2008-09-10 Alberto Garcia <agarcia@igalia.com>
5374 * doc/hildon-docs.sgml
5376 * examples/Makefile.am
5377 * examples/hildon-text-view-example.c
5379 * src/hildon-text-view.c
5380 * src/hildon-text-view.h
5382 New HildonTextView widget, with example.
5384 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5386 * po/POTFILES.in: Add missing files with translatable strings.
5387 Partially fixes NB#88287.
5389 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5391 * examples/hildon-pannable-area-example-2.c: (main): No need to
5392 set the cellrenderer height inside hildon touch lists, the theme does
5395 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5397 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
5398 they are integrated in the theme.
5400 2008-09-09 Alberto Garcia <agarcia@igalia.com>
5402 * examples/hildon-entry-example.c: Update the example adding
5403 widgets to modify the text and the placeholder of the HildonEntry.
5405 * src/hildon-entry.c: Show the placeholder everytime the widget
5406 is empty and loses the focus.
5408 2008-09-09 Alejandro G. Castro <alex@igalia.com>
5410 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
5412 * src/hildon-pannable-area.c,
5413 (hildon_pannable_area_size_request): Fixed bug in height
5414 requisition, avoid increasing size and add border twice.
5416 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5418 * configure.ac: postrelease version bump.
5420 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5424 * configure.ac: Prerelease version bump.
5425 * debian/changelog: update.
5426 * debian/rules: make -dbg package contain useful debugging symbols.
5428 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5430 * src/hildon-dialog.h
5431 * src/hildon-dialog.c
5432 (hildon_dialog_add_button, hildon_dialog_add_buttons):
5433 New methods to add buttons with finger size.
5434 (hildon_dialog_new_with_buttons):
5435 Create buttons with finger size.
5437 * examples/hildon-dialog-example.c (main): Use HildonDialog
5438 methods to add buttons.
5440 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5442 * src/hildon-entry.c: Updated HildonButton documentation.
5444 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5446 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
5447 button value label with (FALSE, FALSE) to prevent NB#88126 from
5450 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5452 * examples/hildon-pannable-area-example.c,
5453 (main): Removed examples panning a vbox inside a pannable
5454 area. Check bug NB#87965
5456 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5458 Patch contributed by Kris Rietveld (kris@imendio.com)
5460 * src/hildon-pannable-area.c,
5461 (hildon_pannable_area_get_topmost): replaced the get_geometry with
5462 get_size and get_position, this saves an X server roundtrip.
5464 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5466 * doc/hildon-docs.sgml
5468 * examples/Makefile.am
5469 * examples/hildon-entry-example.c
5471 * src/hildon-entry.c
5472 * src/hildon-entry.h
5474 New HildonEntry widget, with example.
5476 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5478 * src/hildon-button.c (hildon_button_construct_child): Pack the
5479 image with expand == fill == FALSE. This is a workaround for a bug
5482 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
5484 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
5485 labels for the text column, to make it more look more dynamic.
5487 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5489 * src/hildon-time-selector.c
5490 Define gettext auxiliar macro N_
5491 (_create_minutes_model)
5492 (_create_hours_model)
5493 (_create_ampm_model): use of strftime in order to fill the model
5494 * src/hildon-date-selector.c
5495 (hildon_date_selector_finalize):
5496 (_locales_init): remove the logic related to get the name of the months
5497 using nl_langinfo, as it is not required anymore
5499 (_create_year_model)
5500 (_create_month_model)
5501 (_update_day_model): use of strftime in order to fill the model properly
5504 2008-09-04 Alberto Garcia <agarcia@igalia.com>
5506 * src/hildon-button.h
5507 * src/hildon-button.c (hildon_button_get_image): New method to
5510 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
5512 * src/hildon-touch-selector.c:
5513 (hildon_touch_selector_remove_column): Remove from the correct parent
5514 and also remove the list element and free it.
5517 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5519 * src/hildon-time-selector.c
5520 (_create_hours_model): change the range on 12h ampm format in order to use
5521 a 12-11 range instead of previous 01-12 range
5522 (hildon_time_selector_set_time): change the way to select the current time
5523 on 12h ampm format, due the change on the range
5524 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
5527 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
5529 * src/hildon-touch-selector.c
5530 (hildon_date_touch_selector_get_selected): fix the selection mode check,
5531 in order to allow use this function on multiple row selection mode if
5532 the column is different that the first one
5535 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
5537 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
5538 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
5540 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5542 * src/hildon-date-selector.h: clean some comments, now on the .c
5543 * src/hildon-date-selector.c
5544 (hildon_date_selector_select_month): first implementation
5545 (hildon_date_selector_select_day): added documentation, reimplemented
5546 using hildon_date_selector_select_current_date to avoid repeat code
5549 2008-09-02 Alejandro G. Castro <alex@igalia.com>
5551 Reviewed interaction logic based on device experiences, refactored
5554 * src/hildon-pannable-area.c,
5555 (hildon_pannable_area_class_init): Updated default vmax speed.
5556 (hildon_pannable_area_calculate_velocity): Added this function, it
5557 avoids duplicate valocity calculation. Adjusted calculation to
5558 avoid problems with zero dist events.
5560 (hildon_pannable_area_motion_notify_cb): Now we use the
5561 calculate_velocity function.
5563 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5565 * src/hildon-date-selector.c
5566 (hildon_date_selector_select_current_date): fix the day range check
5567 as it failed using the last day of the current month
5570 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5572 * src/hildon-touch-selector.c
5573 (hildon_touch_selector_get_num_columns): added a parameter validation
5576 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5578 * examples/Makefile.am
5579 * examples/hildon-edit-toolbar-example.c: Example of the
5580 HildonEditToolbar widget.
5582 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5584 * configure.ac: postrelease version bump.
5586 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5590 * configure.ac: prerelease version bump.
5591 * debian/changelog: update.
5593 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5595 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
5596 renderer to display stock icons in the touch list. Also, set the sizes
5597 to the recommended in the style guide.
5599 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5600 * src/hildon-touch-selector.h
5601 (hildon_touch_selector_set_active_iter): renamed, now is
5602 hildon_touch_selector_select_iter
5603 (hildon_touch_selector_get_active_iter): renamed, now is
5604 hildon_touch_selector_get_selected
5605 (hildon_touch_selector_unselect_iter): added
5606 * src/hildon-touch-selector.c
5607 Update after API modification (methods renamed)
5608 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
5609 order to avoid problems selecting multiple elements on the column
5610 (hildon_touch_selector_unselect_iter): added the implementation
5611 * src/hildon-time-selector.c
5612 * src/hildon-date-selector.c
5613 * src/hildon-touch-selector-entry.c
5614 Update methods calls after hildon-touch-selector.h API modification (methods
5617 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5619 * src/hildon-stackable-window.c
5620 (hildon_stackable_window_finalize): Call the parent class's finalize.
5622 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5624 * examples/hildon-touch-selector-example.c: (create_selector): Use
5625 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
5628 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5630 * examples/hildon-touch-selector-example.c: (create_selector): Do not
5631 set a cell background color, to respect theming.
5633 2008-08-28 Alberto Garcia <agarcia@igalia.com>
5635 * doc/hildon-docs.sgml
5638 * src/hildon-edit-toolbar.c
5639 * src/hildon-edit-toolbar.h
5640 * src/hildon.h: New HildonEditToolbar widget.
5642 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
5644 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
5647 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5648 * src/hildon-touch-selector.c
5649 (_create_new_column): use g_object_set instead of two g_object_set_property
5651 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5652 * src/hildon-touch-selector.c
5653 (_create_new_column): use of hildon_gtk_tree_view_new to create
5654 the treeview, instead of use directly g_object_new
5655 (_create_new_column): update the property name "vindicator-mode" for the
5656 new one "vscrollbar-policy"
5657 * examples/hildon-date-button-example.c
5658 * examples/hildon-picker-button-multicolumn-example.c
5659 * examples/hildon-touch-selector-entry-example.c
5660 * examples/hildon-touch-selector-example.c
5661 * examples/hildon-time-button-example.c
5662 * examples/hildon-picker-button-example.c
5663 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
5664 to all the treeviews inside a pannable area.
5666 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5668 * src/hildon-button.h
5669 * src/hildon-button.c (hildon_button_init)
5670 (hildon_button_set_arrangement, hildon_button_set_alignment)
5671 (hildon_button_set_title_alignment)
5672 (hildon_button_set_value_alignment)
5673 (hildon_button_set_image_alignment)
5674 (hildon_button_construct_child): New methods to set the alignment
5675 of the individual components of the button (title, value,
5676 image). Also, new method to alter the xscale and yscale properties
5677 of the GtkAlignment inside the button, so more complex layouts can
5680 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5682 * src/hildon-button.c (hildon_button_style_set)
5683 (hildon_button_class_init, hildon_button_set_arrangement)
5684 (hildon_button_construct_child): Apply style properties
5685 correctly. Use the 'image-spacing' style property too.
5687 2008-08-26 Alberto Garcia <agarcia@igalia.com>
5689 * src/hildon-app-menu.c (hildon_app_menu_style_set)
5690 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
5693 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5695 * src/hildon-pannable-area.c,
5696 (hildon_pannable_area_size_request): Fixed problem with
5697 pannable-area size_request.
5699 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5701 Added management for the grab-focus to a child widget, like a
5702 range, we need to fade out the scrollbar when releasing.
5704 * src/hildon-pannable-area.c,
5705 (hildon_pannable_area_init): Connected the grab-focus signal to
5707 (hildon_pannable_area_grab_notify): Added this function in order
5708 to manage the situation when the grab-focus ends. We have to
5709 fade-out the scrollbar.
5711 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5713 * src/hildon-app-menu.c: Minor documentation update.
5715 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5717 * src/hildon-app-menu.c
5718 * examples/hildon-app-menu-example.c (create_menu): Update
5719 examples and documentation to explain how to connect callbacks.
5721 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
5723 * examples/hildon-button-example.c
5724 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
5725 hildon_stackable_window_new instead of gtk_window_new
5727 2008-08-22 Alejandro G. Castro <alex@igalia.com>
5729 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
5730 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
5731 (hildon_pannable_area_set_property),
5732 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
5733 (hildon_pannable_area_unrealize),
5734 (hildon_pannable_area_size_request),
5735 (hildon_pannable_area_size_allocate),
5736 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
5737 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
5738 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
5739 (hildon_pannable_area_initial_effect),
5740 (hildon_pannable_area_redraw),
5741 (hildon_pannable_area_scroll_indicator_fade),
5742 (hildon_pannable_area_expose_event),
5743 (hildon_pannable_area_get_topmost), (synth_crossing),
5744 (hildon_pannable_area_button_press_cb),
5745 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
5746 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
5747 (hildon_pannable_area_motion_notify_cb),
5748 (hildon_pannable_area_button_release_cb),
5749 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
5750 (hildon_pannable_area_remove),
5751 (hildon_pannable_calculate_vel_factor): Widget refactorization,
5752 chage the code layout to a more GtkWidget like. Review the use of
5755 2008-08-21 Alejandro G. Castro <alex@igalia.com>
5757 * examples/hildon-pannable-area-example-4.c,
5758 (main): Modified the name of the hindicator_mode to
5761 * src/hildon-pannable-area.c,
5762 (hildon_pannable_area_class_init),
5763 (hildon_pannable_area_motion_notify_cb),
5764 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
5765 we have reduced the amount of signals and managed reviewed its
5766 rationale. Changed the default decelerate value.
5768 (hildon_pannable_area_add),
5769 (hildon_pannable_area_redraw): Refactored functions.
5771 (hildon_pannable_area_init),
5772 (hildon_pannable_area_get_property),
5773 (hildon_pannable_area_set_property):
5774 (hildon_pannable_draw_vscroll),
5775 (hildon_pannable_draw_hscroll),
5776 (hildon_pannable_area_initial_effect),
5777 (hildon_pannable_area_expose_event),
5778 (hildon_pannable_area_scroll),
5779 (hildon_pannable_area_button_press_cb),
5780 (hildon_pannable_area_realize): Replaced the names hindicator_mode
5781 and vindicator_mode with hscrollbar_policy and
5782 vscrollbar_policy. Replaced hscroll and vscroll with
5783 hscroll_visible and vscroll_visible.
5785 (hildon_pannable_area_refresh): Refactor the function, remove
5786 variables and check the calls to this function, added resize
5787 conditions in case the children change their layout.
5789 (hildon_pannable_area_size_request): Added more detailed
5790 size_request calculation.
5793 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
5795 * src/hildon-color-chooser.c
5796 (init_borders): use the correct gtk_border_free instead of g_free, to
5797 avoid a crash when this widget is used (ie: the three color selection
5800 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5802 * src/hildon-check-button.c,
5803 (hildon_check_button_set_active): Fixed problem when setting the
5804 active value, the widget was not redrawn.
5806 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5808 * src/hildon-pannable-area.c,
5809 (hildon_pannable_area_refresh),
5810 (hildon_pannable_area_scroll),
5811 (hildon_pannable_area_motion_notify_cb): Small code style change.
5813 (hildon_pannable_area_class_init): Default initial_hint set to
5814 FALSE, it is not in the specs.
5816 (hildon_pannable_area_initial_effect),
5817 (hildon_pannable_area_expose_event),
5818 (hildon_pannable_area_map),
5819 (hildon_pannable_area_init): Moved the launching point of the
5820 initial effect, it was in map but the sizes where not correct in
5821 that method so we do not know if we have the reproduce it. Now it
5822 is placed in the expose_event method and uses a variable to
5823 reproduce it just once.
5825 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5827 * src/hildon-pannable-area.c,
5828 (hildon_pannable_draw_vscroll),
5829 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
5830 position allowed for the scrollbars.
5832 (hildon_pannable_area_size_allocate): Small style change.
5834 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5836 * src/hildon-pannable-area.c,
5837 (hildon_pannable_area_scroll_indicator_fade),
5838 (hildon_pannable_area_button_press_cb),
5839 (hildon_pannable_area_button_release_cb),
5840 (hildon_pannable_area_scroll_cb),
5841 (hildon_pannable_area_expose_event),
5842 (hildon_pannable_area_init): Added the define parameter
5843 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
5844 and refactor the fade variable.
5846 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5848 * src/hildon-pannable-area.c,
5849 (hildon_pannable_area_redraw),
5850 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
5851 lines, we were reimplemeting the redraw code.
5853 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5855 * src/hildon-pannable-area.c,
5856 (hildon_pannable_area_scroll_cb),
5857 (hildon_pannable_area_realize),
5858 (hildon_pannable_area_class_init): Added scroll_event management
5859 for pannable area, now we can scroll the usual desktop method.
5861 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
5862 initialization of the parameters should depend on idle_id.
5864 (hildon_pannable_area_init),
5865 (hildon_pannable_area_map): Small code style modifications
5867 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5869 * src/hildon-pannable-area.c
5870 (hildon_pannable_area_button_press_cb),
5871 (hildon_pannable_area_motion_notify_cb),
5872 (hildon_pannable_area_button_release_cb),
5873 (hildon_pannable_area_size_allocate),
5874 (hildon_pannable_area_scroll_to): Improved the timeouts
5875 management, we avoid creating them each time.
5877 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5879 * src/hildon-pannable-area.c:
5880 (hildon_pannable_area_refresh),
5881 (hildon_pannable_area_motion_notify_cb),
5882 (hildon_pannable_area_class_init):
5883 * src/hildon-pannable-area.h:
5884 * src/hildon-touch-selector.c
5885 (_create_new_column):
5886 * examples/hildon-pannable-area-example-4.c:
5887 (horizontal_movement),
5888 (vertical_movement),
5890 Replaced the names of enums in the HildonPannableArea:
5891 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
5892 HILDON_MOVEMENT_MODE_*
5893 - HILDON_PANNABLE_AREA_MOV_* ->
5895 - Removed HildonPannableAreaIndicatorMode, now we
5898 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5900 * examples/hildon-pannable-area-touch-grid-example.c
5901 * examples/hildon-pannable-area-touch-list-example.c: Fix
5902 compilation warnings.
5904 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5906 * src/hildon-gtk.c (hildon_gtk_button_new)
5907 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
5908 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
5909 images overriding the value of the "gtk-button-images" setting.
5911 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5913 * src/hildon-check-button.c (hildon_check_button_new):
5914 Instead of using a custom container, display the label and the
5915 checkbox using the standard GtkButton API.
5917 * examples/hildon-check-button-example.c (main): Don't use
5918 hildon_check_button_set_label() anymore
5920 * src/hildon-check-button.h
5921 * src/hildon-check-button.c
5922 (hildon_check_button_set_label, hildon_check_button_get_label):
5923 Set as deprecated, now we're using gtk_button_{get,set}_label()
5925 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5927 * src/hildon-pannable-area.c,
5928 (hildon_pannable_area_get_topmost): Fixed bug with click in the
5929 GtkTreeview first line we detected it after the inclusion of the
5930 GtkWindowImpl in gtk+. We now check if the window is visible, not
5931 just if the pointer is over the window.
5932 (hildon_pannable_axis_scroll),
5933 (hildon_pannable_area_expose_event): Small style changes.
5935 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5937 * src/hildon-button.c: Update documentation.
5939 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5941 * examples/hildon-button-example.c: Add a switch to show images in
5944 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5946 * doc/hildon-docs.sgml: Some docs reorganization.
5948 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5950 * examples/hildon-pannable-area-touch-list-example.c
5952 * examples/hildon-pannable-area-touch-grid-example.c
5953 (create_icon_view): Use gtk_{tree,icon}_view_new() and
5954 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
5955 Fix memory leak when setting the tree model.
5957 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5961 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5963 * doc/hildon.types: Remove duplicated hildon_window_get_type
5964 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
5965 documentation comment.
5967 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5969 * doc/Makefile.am: Complete list of private headers.
5971 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5973 * doc/hildon-docs.sgml
5974 * src/hildon-app-menu.c
5975 * src/hildon-bread-crumb.c
5976 * src/hildon-button.c
5978 * src/hildon-program.c
5979 * src/hildon-stackable-window.c
5980 * src/hildon-window.c: Lots of documentation updates.
5982 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5984 * debian/control: Depend on Gtk 2:2.12.9-0osso3
5986 * configure.ac: Require Gtk+ 2.12.9 at least
5988 2008-08-12 Alejandro G. Castro <alex@igalia.com>
5990 * src/hildon-pannable-area.c
5991 (hildon_pannable_area_scroll_indicator_fade),
5992 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
5993 to protect the return of this timeout callbacks, avoiding deadlocks.
5995 2008-08-12 Christian Dywan <christian@imendio.com>
5998 * src/hildon-*.h: Ensure a consistent include order,
5999 include <gtk/gtk.h> instead of particular files and
6000 only include the topmost header in the gtk stack. See NB #39857
6002 2008-08-12 Christian Dywan <christian@imendio.com>
6004 * src/hildon-picker-dialog.c
6005 * src/hildon-touch-selector.c: Fix warnings about unused and
6006 uninitialized variables.
6008 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6010 * examples/Makefile.am
6011 * examples/hildon-check-button-example.c: Example of the hildon
6014 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6016 * src/hildon-window.h
6017 * src/hildon-window.c (hildon_window_class_init)
6018 (hildon_window_unset_program): Don't make
6019 hildon_window_unset_program a virtual function anymore.
6021 * src/hildon-stackable-window.c: Update documentation
6023 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6026 * doc/hildon-docs.sgml
6027 * doc/visual_index.xml
6028 * src/hildon-defines.c
6030 * src/hildon-helper.c
6031 * src/hildon-range-editor.c: Lots of documentation fixes.
6033 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6035 * examples/hildon-picker-button-multicolumn-example.c
6036 (create_touch_selector): Fix compilation warning.
6038 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6040 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
6041 (hildon_pannable_area_button_release_cb)
6042 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6044 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6046 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
6049 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6051 * src/hildon-bread-crumb-trail.h
6052 * src/hildon-date-editor.c
6053 * src/hildon-date-selector.c
6054 * src/hildon-pannable-area.c
6055 * src/hildon-picker-dialog.c
6056 * src/hildon-time-selector.c
6057 * src/hildon-touch-selector-entry.c
6058 * src/hildon-touch-selector.c
6059 * src/hildon-touch-selector.h: Misc documentation fixes
6061 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6063 * examples/hildon-date-editor-example.c (main): Updated date
6066 * examples/hildon-note-example.c (on_confirmation_clicked):
6067 Updated confirmation note example.
6069 * src/hildon-date-editor.c
6070 * src/hildon-note.c: Updated sample programs in documentation.
6073 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6075 * src/hildon-date-button.h:
6076 * src/hildon-picker-button.h:
6077 * src/hildon-time-button.c:
6078 * src/hildon-time-button.h:
6080 Some declarations changes to allow gtk-doc to document the widgets
6083 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6085 * src/hildon-date-button.c: Document the widget.
6086 * src/hildon-time-button.c: Document the widget.
6088 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6090 * src/hildon-picker-button.c: Document the widget.
6091 * src/hildon-touch-selector-entry.c: Document the widget.
6093 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6095 * doc/hildon-docs.sgml
6098 * src/hildon-check-button.h
6099 * src/hildon-check-button.c: New functions to create the Hildon
6103 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
6105 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6107 * src/hildon-button.h
6108 * src/hildon-button.c
6109 (hildon_button_add_title_size_group)
6110 (hildon_button_add_value_size_group)
6111 (hildon_button_add_image_size_group)
6112 (hildon_button_add_size_groups): New functions to set size groups
6113 for the button labels and image.
6114 (hildon_button_new_full): Removed
6116 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
6118 * src/hildon-time-selector.c
6119 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
6120 in order to avoid a crash if gconf is not available
6122 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6124 * src/hildon-button.c (hildon_button_set_arrangement)
6125 (hildon_button_construct_child): Don't construct the button child
6126 before setting the arrangement.
6128 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6130 * src/hildon-program-private.h
6131 * src/hildon-program.c
6132 * src/hildon-program.h
6133 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
6134 (hildon_program_peek_window_stack)
6135 (hildon_program_pop_window_stack)
6136 (hildon_program_go_to_root_window): HildonProgram now has a
6137 separate list for stackable windows. Functions are provided to
6138 manage that list with a stack-like API.
6140 * src/hildon-stackable-window.c: Stackable window management is
6141 now much simpler with the new HildonProgram API. Windows no
6142 longer need to be manually added to the program, they're
6143 automatically pushed to the top of the stack when shown.
6145 * examples/hildon-stackable-window-example.c: Updated example to
6146 reflect the API changes.
6148 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6150 * src/hildon-touch-selector.c: Comment out unimplemented
6151 hildon_touch_selector_insert_column() to avoid a compile warning.
6153 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6155 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6156 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
6157 (hildon_touch_selector_set_column_selection_mode),
6158 (_hildon_touch_selector_set_model),
6159 (hildon_touch_selector_set_model):
6161 Complete review of HildonTouchSelector documentation.
6163 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6165 * doc/hildon-docs.sgml
6169 * src/hildon-gtk.c: Convenience functions for standard Gtk
6170 widgets, used to easily perform frequent operations.
6172 * src/hildon-button-helpers.h
6173 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
6175 * src/hildon-helper.h
6176 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
6177 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
6179 * src/hildon-button.h
6180 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
6182 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6184 * src/hildon-button.c (hildon_button_init)
6185 (hildon_button_set_arrangement, hildon_button_construct_child):
6186 Pack the image and the labels inside the same GtkAlignment so
6187 gtk_button_set_alignment() can be used
6189 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6191 * src/hildon-button.h
6192 * src/hildon-button.c
6193 (hildon_button_init, hildon_button_set_image)
6194 (hildon_button_set_image_position)
6195 (hildon_button_construct_child): New functions to add an image to
6198 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6200 * src/hildon-date-button.c
6201 * src/hildon-picker-button.c
6202 * src/hildon-time-button.c
6203 * src/hildon-button.c:
6204 (hildon_button_class_init): "size-flags" renamed to "size"
6205 (hildon_button_set_title): Hide the title label if set to NULL.
6207 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6209 HildonButtonFlags split into HildonButtonArrangement (to set the
6210 button layout) and HildonSizeType (which can be used for any
6213 * src/hildon-button.h
6214 * src/hildon-button.c
6215 (hildon_button_class_init)
6216 (hildon_button_set_arrangement)
6217 (hildon_button_set_property): New "size-flags"
6218 property. "arrangement-flags" renamed to "arrangement".
6219 (hildon_button_new, hildon_button_new_with_text)
6220 (hildon_button_new_full): Constructors updated to reflect type changes.
6222 * src/hildon-helper.h
6223 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
6224 to set the size of a widget.
6228 * src/hildon-button-helpers.c
6229 * src/hildon-button-helpers.h: New hildon-button-helpers module.
6231 * src/hildon-date-button.c
6232 * src/hildon-date-button.h
6233 * src/hildon-picker-button.c
6234 * src/hildon-picker-button.h
6235 * src/hildon-time-button.c
6236 * src/hildon-time-button.h: Updated widgets to reflect
6237 HildonButton API changes.
6239 * examples/hildon-button-example.c
6240 * examples/hildon-date-button-example.c
6241 * examples/hildon-picker-button-example.c
6242 * examples/hildon-picker-button-multicolumn-example.c
6243 * examples/hildon-time-button-example.c
6244 * examples/hildon-touch-selector-entry-example.c
6245 * examples/hildon-touch-selector-example.c: Updated examples to
6246 reflect HildonButton API changes.
6248 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6250 * doc/hildon-docs.sgml:
6252 * examples/Makefile.am:
6253 * examples/hildon-touch-selector-entry-example.c:
6255 * src/hildon-touch-selector-entry.c:
6256 * src/hildon-touch-selector-entry.h:
6259 Moved HildonTouchSelectorEntry from sandbox. Added its
6260 documentation and examples.
6262 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6264 * src/hildon-touch-selector.h:
6265 * examples/hildon-picker-button-multicolumn-example.c:
6266 (hildon_touch_selector_append_text_column): Add a gboolean
6267 parameter to determine if text must be centered in the column.
6269 * src/hildon-date-selector.c: (hildon_date_selector_init):
6270 * src/hildon-time-selector.c: (hildon_time_selector_init):
6271 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
6272 (create_touch_selector): Update widgets and example to reflect
6275 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6277 * src/hildon-touch-selector.c:
6278 (hildon_touch_selector_set_active_iter): Set also the cursor in
6281 2008-08-06 Alberto Garcia <agarcia@igalia.com>
6283 * doc/hildon-docs.sgml
6286 * src/hildon-toggle-button.c
6287 * src/hildon-toggle-button.h
6288 * src/hildon.h: Removed HildonToggleButton widget, a derived
6289 class is not necessary for this.
6291 2008-08-06 Alejandro G. Castro <alex@igalia.com>
6293 * src/hildon-pannable-area.c,
6294 (hildon_pannable_area_realize),
6295 (hildon_pannable_area_size_allocate): Code refactoring, add tests
6298 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
6300 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
6301 "done" button the default widget for the dialog.
6303 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6305 * src/hildon-touch-selector.c:
6306 (hildon_touch_selector_class_init),
6307 (hildon_touch_selector_get_property),
6308 (_hildon_touch_selector_set_model),
6309 (_hildon_touch_selector_has_multiple_selection),
6310 (hildon_touch_selector_has_multiple_selection):
6311 Add a "has-multiple-selection" property with a virtual
6312 has_multiple_selection() method to allow derived classes to
6313 override the default value for it. See the method and property
6314 documentation for details.
6316 * src/hildon-touch-selector.h: Add the new API.
6318 * src/hildon-picker-dialog.c: (requires_done_button): Call
6319 hildon_touch_selector_has_multiple_selection() instead of
6320 determining the need for a button itself.
6322 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6324 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6325 (_hildon_touch_selector_set_model),
6326 (hildon_touch_selector_set_model): Move working code to
6327 _hildon_touch_selector_set_mode(). Call the class method instead.
6329 * src/hildon-touch-selector.h: Add (*set_model) to
6330 HildonTouchSelectorClass.
6332 Make hildon_touch_selector_set_model() a virtual method, so that
6333 derived classes can extend it and do fancy stuff with the model.
6335 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6337 * configure.ac: Set back the tarname in AC_INIT to hildon.
6339 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6343 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
6344 instead of libesd (NB#86876). Volume handling is still an open issue.
6346 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
6349 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6351 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
6352 (hildon_touch_selector_append_column): Make the widget a GtkVBox
6353 derived class to ease placement of an entry widget in
6354 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
6355 end, where the selector columns are packed now.
6357 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6359 * src/hildon-picker-button.c: Removed the simple _text() API.
6360 * src/hildon-picker-button.h: Likewise.
6362 * src/hildon-touch-selector.h:
6363 * src/hildon-touch-selector.c:
6364 (hildon_touch_selector_new_text),
6365 (hildon_touch_selector_append_text),
6366 (hildon_touch_selector_prepend_text),
6367 (hildon_touch_selector_insert_text):
6369 Moved the simple _text() API from HildonPickerButton to
6370 HildonTouchPicker, to provide better escalability and not to tie
6371 that API to HildonPickerButton.
6373 * examples/hildon-picker-button-example.c: (main): Example updated.
6375 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6377 * src/hildon-button.c: Updated documentation.
6379 * examples/hildon-button-example.c: Add the posibility to create
6380 the buttons using horizontal layout for title and value.
6382 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6384 * src/hildon-app-menu-private.h
6385 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
6386 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
6387 GtkSizeGroup for the filters, use the 'homogeneous' property of
6390 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6392 * examples/hildon-button-example.c: Updated example.
6394 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
6396 * doc/hildon-docs.sgml:
6399 Update documentation.
6401 * examples/Makefile.am: Update renamed examples.
6403 * examples/hildon-picker-button-multicolumn-example.c:
6404 (create_touch_selector), (main): Update after the rename.
6406 * examples/hildon-touch-picker-example.c: Removed.
6407 * examples/hildon-touch-selector-example.c: (value_changed),
6408 (create_selector), (get_visible_content), (main): Renamed from
6409 hildon-touch-picker-example.c
6411 * src/Makefile.am: Updated renamed files.
6413 * src/hildon-date-button.c: (hildon_date_button_init),
6414 (hildon_date_button_get_date), (hildon_date_button_set_date):
6415 * src/hildon-date-selector.c: (hildon_date_selector_init),
6416 (_custom_print_func), (_update_day_model),
6417 (_manage_selector_change_cb),
6418 (hildon_date_selector_select_current_date),
6419 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
6420 * src/hildon-date-selector.h:
6421 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6422 (hildon_picker_button_set_property),
6423 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6424 (hildon_picker_button_init), (hildon_picker_button_new_text),
6425 (hildon_picker_button_append_text),
6426 (hildon_picker_button_prepend_text),
6427 (hildon_picker_button_insert_text),
6428 (hildon_picker_button_set_selector),
6429 (hildon_picker_button_get_selector):
6430 * src/hildon-picker-button.h:
6431 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
6432 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
6433 (_update_title_on_selector_changed_cb), (requires_done_button),
6434 (_hildon_picker_dialog_set_selector),
6435 (hildon_picker_dialog_set_selector),
6436 (hildon_picker_dialog_get_selector):
6437 * src/hildon-picker-dialog.h:
6438 * src/hildon-time-button.c: (hildon_time_button_init),
6439 (hildon_time_button_get_time), (hildon_time_button_set_time):
6440 * src/hildon-time-selector.c: (hildon_time_selector_init),
6441 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
6442 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
6443 * src/hildon-time-selector.h:
6446 Massive code updates after the rename.
6448 * src/hildon-touch-picker.c: Removed.
6449 * src/hildon-touch-picker.h: Removed.
6451 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6452 (hildon_touch_selector_init), (hildon_touch_selector_map),
6453 (hildon_touch_selector_remove), (_default_print_func),
6454 (_selection_changed_cb), (_create_new_column),
6455 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
6456 (hildon_touch_selector_append_text_column),
6457 (hildon_touch_selector_remove_column),
6458 (hildon_touch_selector_set_column_attributes),
6459 (hildon_touch_selector_insert_column),
6460 (hildon_touch_selector_get_num_columns),
6461 (hildon_touch_selector_get_column_selection_mode),
6462 (hildon_touch_selector_set_column_selection_mode),
6463 (hildon_touch_selector_set_print_func),
6464 (hildon_touch_selector_get_print_func),
6465 (hildon_touch_selector_get_active_iter),
6466 (hildon_touch_selector_set_active_iter),
6467 (hildon_touch_selector_get_selected_rows),
6468 (hildon_touch_selector_get_model),
6469 (hildon_touch_selector_set_model),
6470 (hildon_touch_selector_get_current_text),
6471 (_hildon_touch_selector_center_on_selected_items):
6472 * src/hildon-touch-selector.h: Renamed from
6473 hildon-touch-picker.[ch]
6475 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
6476 references, code examples, and related documentation.
6478 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6480 * doc/hildon-docs.sgml
6483 * src/hildon-toggle-button.c
6484 * src/hildon-toggle-button.h
6485 * src/hildon.h: New HildonToggleButton widget.
6487 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6489 * src/hildon-button.c: Add API documentation.
6490 (hildon_button_set_size_groups): Check input parameters
6492 2008-07-30 Alejandro G. Castro <alex@igalia.com>
6494 * src/hildon-pannable-area.c
6495 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
6496 effect after reaching the movement thredshold. This way we start
6497 using the distance after passing the thredshold.
6499 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6501 * src/hildon-button.c: (hildon_button_set_property): Use the
6502 appropriate g_value_get_flags() method.
6504 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6506 * doc/hildon-docs.sgml:
6509 Add the touch pickers, picker dialogs, and picker button widgets
6510 to the documentation.
6512 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6514 * src/hildon-button.c: (hildon_button_set_property),
6515 (hildon_button_class_init): Make "arrangement-flags" a proper
6516 G_TYPE_FLAGS derived property.
6518 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6520 * examples/Makefile.am: Add below examples.
6521 * examples/hildon-date-button-example.c:
6522 * examples/hildon-picker-button-example.c:
6523 * examples/hildon-picker-button-multicolumn-example.c:
6524 * examples/hildon-time-button-example.c:
6525 * examples/hildon-touch-picker-example.c:
6527 Add examples for the recently added touch pickers,
6528 picker dialogs, and picker button widgets.
6530 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6532 * src/hildon-button.c: Add some API documentation
6534 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6536 * src/hildon-button.h
6537 * src/hildon-button.c
6539 (hildon_button_new_with_text): New constructor to create a button
6540 with no text at all.
6541 (hildon_button_init, hildon_button_set_arrangement)
6542 (hildon_button_set_title, hildon_button_set_value)
6543 (hildon_button_set_text)
6544 (hildon_button_construct_child): Hide the value when it's not used
6545 so the rest of the text is properly aligned.
6546 Allow creating buttons with arbitrary widgets inside (not just
6547 title/value labels).
6549 * examples/hildon-button-example.c (vertical_buttons_window)
6550 (horizontal_buttons_window): Update example to use new API.
6552 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6554 * src/Makefile.am: Added HildonTimeButton.
6555 * src/hildon-time-button.c: Added missing LGPL header.
6556 * src/hildon-time-button.h: Added missing LGPL header.
6557 * src/hildon.h: Add hildon-time-button.h
6559 Copied HildonTimeButton from sandbox to trunk. Future work on this
6560 widget must take place in trunk.
6562 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6564 * src/Makefile.am: Added HildonDateButton.
6565 * src/hildon-date-button.c: Update includes.
6566 * src/hildon.h: Add hildon-date-button.h
6568 Copied HildonDateButton from sandbox to trunk. Future work on this
6569 widget must take place in trunk.
6571 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6573 * src/Makefile.am: Added HildonPickerButton.
6574 * src/hildon-picker-button.h: Update includes.
6575 * src/hildon.h: Add hildon-picker-button.h
6577 Copied HildonPickerButton from sandbox to trunk. Future work on
6578 this widget must take place in trunk.
6580 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6582 * src/Makefile.am: Added HildonPickerDialog.
6583 * src/hildon-picker-dialog.c: Update includes.
6584 * src/hildon.h: Add hildon-picker-dialog.h
6586 Copied HildonPickerDialog from sandbox to trunk. Future work
6587 on this widget must take place in trunk.
6589 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6591 * src/Makefile.am: Added HildonTimeSelector.
6592 * src/hildon.h: Add hildon-time-selector.h
6594 Copied HildonTimeSelector widget from sandbox to trunk. Future
6595 work on this widget must happen in trunk.
6597 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6599 * src/Makefile.am: Added HildonDateSelector.
6600 * src/hildon.h: Add hildon-date-selector.h
6602 Copied HildonDateSelector widget from sandbox to trunk. Future
6603 work on this widget must happen in trunk.
6605 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6607 * src/Makefile.am: Added HildonTouchPicker.
6608 * src/hildon-touch-picker.c: Update includes.
6609 * src/hildon.h: Add hildon-touch-picker.h
6611 Copied HildonTouchPicker widget from sandbox to trunk. Future work
6612 on this widget must happen in trunk.
6614 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6616 * src/hildon-pannable-area.c:
6617 (hildon_pannable_area_motion_notify_cb): Fix a typo.
6619 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6621 * examples/hildon-app-menu-example.c (main): Let the window
6624 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6626 * src/hildon-pannable-area.c
6627 (hildon_pannable_area_class_init): Set the min value of the
6628 overshoot properties to zero, which points out that not
6629 overshooting allowed.
6631 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6633 Modified the procedure to get the widget at a point inside the
6634 pannable area when using the movement type signals. Now the user
6635 has to call a function to get the child, that way we just
6636 calculate the child in case the user really want to use it and not
6639 * src/hildon-marshalers.list: Modified the marshallers, now we do
6640 not have the widget as a parameter.
6642 * src/hildon-pannable-area.c
6643 (hildon_pannable_area_motion_notify_cb),
6644 (hildon_pannable_area_class_init),
6645 (hildon_pannable_get_child_widget_at): Removed the widget
6646 parameter from the signal callback. We have also refactored the
6647 emission of the signals.
6649 * src/hildon-pannable-area.h: Added a new method to the API to
6650 calculate a widget at a point inside the pannable area,
6651 hildon_pannable_get_child_widget_at.
6653 * examples/hildon-pannable-area-example-4.c
6654 (horizontal_movement): Modified the example to use the new API,
6655 added condition to control which widget is under the event. This
6656 way we can avoid scrolling laterally over other widgets.
6658 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6660 * src/hildon-pannable-area.c
6661 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
6662 modes, we stop getting the pointer events due to returning the
6663 callback without properly calling the get pointer again. Fixed
6664 also an error using the hscroll and vscroll.
6666 2008-07-28 Alberto Garcia <agarcia@igalia.com>
6668 * src/hildon-app-menu-private.h
6669 * src/hildon-app-menu.c (hildon_app_menu_button_press)
6670 (hildon_app_menu_button_release, hildon_app_menu_init)
6671 (hildon_app_menu_class_init): Don't hide the menu on button
6672 release if the user didn't press outside first.
6674 * src/hildon-window.h
6675 * src/hildon-window.c (hildon_window_toggle_menu)
6676 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
6677 hildon_window_toggle_menu a virtual function for the stackable
6678 window to override it.
6680 * src/hildon-stackable-window.h
6681 * src/hildon-stackable-window-private.h
6682 * src/hildon-stackable-window.c
6683 (hildon_stackable_window_realize)
6684 (hildon_stackable_window_finalize)
6685 (hildon_stackable_window_class_init)
6686 (hildon_stackable_window_init)
6687 (hildon_stackable_window_set_main_menu): New function to set the
6688 app menu of a HildonStackableWindow.
6690 * examples/hildon-app-menu-example.c: Remove the button to show
6691 the app menu, now it'll be shown when clicking on the title bar
6694 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6696 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
6697 set the widget name if the arrangement flags do not specify
6700 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6702 * src/hildon-button.c: (hildon_button_set_property),
6703 (hildon_button_class_init), (hildon_button_new_full),
6704 (hildon_button_set_arrangement): Added "arrangement-flags"
6707 Make the HildonButtonFlags a construction-only property, to allow
6708 subclasses to set them properly.
6710 2008-07-21 Tim Janik <timj@imendio.com>
6712 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
6713 insertion position after backspace, so additional digits are appended,
6716 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6718 * src/hildon-pannable-area.c,
6719 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
6720 TODO list, it was complete and removed the g_debug and g_print
6723 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6725 Added the movement modes to the hildon-pannable-area, with this
6726 modes the developers can control in which directions the widget
6727 can scroll. They can also connect to signals in order to do
6728 something when that happens, allowing applications scroll. There
6729 is an example uploaded showing how to use it.
6731 * examples/Makefile.am:
6732 * examples/hildon-pannable-area-example-4.c: Added this example of
6733 an application using the modes.
6735 * src/hildon-marshalers.list: Added a new marshaller for the new
6738 * src/hildon-pannable-area.h: Added new enumerations and flags in
6739 order to control the movement modes and the new signals to warn
6740 about the movements in the area.
6742 * src/hildon-pannable-area.c:
6743 (hildon_pannable_axis_scroll),
6744 (hildon_pannable_area_scroll),
6745 (hildon_pannable_area_motion_notify_cb),
6746 (hildon_pannable_area_get_property),
6747 (hildon_pannable_area_set_property),
6748 (hildon_pannable_area_map),
6749 (hildon_pannable_area_class_init),
6750 (hildon_pannable_area_init),
6751 (hildon_pannable_area_jump_to): Added the modes to control the
6752 movement in the widget. We have added properties to control it,
6753 signals to warn about the movements and refactored some code.
6755 2008-07-15 Alejandro G. Castro <alex@igalia.com>
6757 Changes required in order to allow vfast_factor set to zero to
6760 * src/hildon-pannable-area.c:
6761 (hildon_pannable_area_button_press_cb): Changed the condition, it
6762 is required for not allowing click when vfast_factor is zero.
6763 (hildon_pannable_area_timeout): Initialized velocity variables
6764 when we stop moving, it was less than 1 but not zero and we need
6765 to check zero in some situations.
6766 (hildon_pannable_area_class_init): Changed the default value of
6767 the speed factor, now the button_press is just sent in case the
6768 speed is 2 per cent of the max speed.
6769 (hildon_pannable_area_init): Initialization with 0.
6771 2008-07-04 Alejandro G. Castro <alex@igalia.com>
6773 * src/hildon-pannable-area.c,
6774 (hildon_pannable_area_get_topmost): replaced
6775 gdk_window_get_children with gdk_window_peek_children, this way we
6776 do not have to free the list because it is not a copy.
6778 (hildon_pannable_axis_scroll),
6779 (hildon_pannable_area_scroll),
6780 (hildon_pannable_area_timeout),
6781 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
6782 two parameters that were only used inside the
6783 hildon_pannable_area_scroll function.
6785 * examples/hildon-pannable-area-example.c,
6786 (get_sawtooth_label): Fixed small memory leak.
6788 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6790 More checks for the case where the overshoot is bigger than the
6793 * src/hildon-pannable-area.c:
6794 (hildon_pannable_draw_vscroll),
6795 (hildon_pannable_draw_hscroll): with this new calculation we avoid
6796 to draw the slider of the scrollbar under the other scrollbar.
6797 (hildon_pannable_area_expose_event): added new checks to control
6798 the drawing of the overshooting area rectangle, in case it is too
6799 big for the area of the widget.
6800 (hildon_pannable_area_size_allocate): add more checks to avoid
6801 setting a position to the child widget outside the area.
6803 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6805 * src/hildon-pannable-area.c
6806 (hildon_pannable_area_size_allocate): Added conditions to control
6807 when overshooting is bigger than the allocated space for the
6808 children, this avoids negative allocations.
6810 2008-07-02 Alberto Garcia <agarcia@igalia.com>
6812 * doc/hildon-docs.sgml
6814 * examples/Makefile.am
6815 * examples/hildon-button-example.c
6817 * src/hildon-button.c
6818 * src/hildon-button.h
6819 * src/hildon.h: Initial version of the new HildonButton widget,
6822 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
6824 * src/hildon-pannable-area.c:
6825 (hildon_pannable_area_button_press_cb),
6826 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
6827 (hildon_pannable_area_motion_notify_cb),
6828 (hildon_pannable_area_button_release_cb),
6829 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
6830 (hildon_pannable_area_jump_to_child):
6832 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
6834 2008-07-01 Alberto Garcia <agarcia@igalia.com>
6836 * examples/Makefile.am
6837 * examples/hildon-pannable-area-touch-grid-example.c
6838 * examples/hildon-pannable-area-touch-list-example.c: Examples of
6839 the Hildon Touch List and Hildon Touch Grid using the
6840 HildonPannableArea widget.
6842 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6844 * src/hildon-pannable-area.c,
6845 (hildon_pannable_area_button_press_cb),
6846 (hildon_pannable_area_refresh),
6847 (hildon_pannable_area_scroll),
6848 (hildon_pannable_area_motion_notify_cb),
6849 (hildon_pannable_area_button_release_cb),
6850 (hildon_pannable_area_expose_event),
6851 (hildon_pannable_area_add),
6852 (hildon_pannable_area_remove),
6853 (hildon_pannable_area_realize),
6854 (hildon_pannable_area_size_allocate),
6855 (hildon_pannable_area_class_init),
6856 (hildon_pannable_area_init),
6857 (hildon_pannable_area_scroll_to_child),
6858 (hildon_pannable_area_jump_to_child): Fixed the problem of
6859 removing the child from the GtkBin, we have rearranged the widget
6860 hierarchy, now there is no GtkAlignment which was not doing
6861 anything interesting but breaking some of the assumptions of
6862 GtkContainer. Now developers if they want to add a GtkAlignment
6863 they could, but it is not inside the area.
6865 We had to review the whole allocation/expose process, now it is
6866 improved and we save at least three signals which would be saving
6867 some time when rendering the widget. The allocation of the
6868 scrollbars is now made in the allocate method as usual.
6870 We have also added some conditions in order to control when there
6871 is no child of the pannable area. Maybe we will need more work
6874 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6876 * src/hildon-pannable-area.c,
6877 (hildon_pannable_area_dispose): Released the fade-out timeout when
6878 disposing the widget.
6880 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6882 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
6883 zero, we are going to use that property in order to deactivate the
6885 (hildon_pannable_axis_scroll),
6886 (hildon_pannable_area_size_allocate): Added conditions to control
6887 when overshoot_max is zero. Moved the gtk_adjustment_set_value
6888 call, now it is called in all situations and we can remove calls
6889 in the allocate method.
6890 (hildon_pannable_area_map): Control the situation when
6891 overshoot_max is zero, we do not need the timeout.
6892 (hildon_pannable_area_class_init): Added documentation in order to
6893 point out that setting zero to overshoot_max means deactivate
6896 NOTE: removed trailing whitespaces from my previous comments of
6899 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6901 * src/hildon-pannable-area.c
6902 (hildon_pannable_area_get_property),
6903 (hildon_pannable_area_set_property),
6904 (hildon_pannable_area_map),
6905 (hildon_pannable_area_class_init),
6906 (hildon_pannable_area_init): Add a boolean "initial-hint" property
6907 to cause the widget give a hint about its panning abilities upon
6910 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6912 * src/hildon-pannable-area.c: Several documentation improvements.
6914 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6916 * src/hildon-program.c
6917 * src/hildon-stackable-window.c: Update documentation.
6919 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6921 * src/hildon-stackable-window.c (get_previous_window_if_last):
6922 Renamed get_last_window()
6923 (hildon_stackable_window_map, hildon_stackable_window_unmap)
6924 (hildon_stackable_window_unset_program):
6926 (get_previous_window_if_last):
6927 Detect if the window hasn't been added to a HildonProgram.
6929 2008-06-26 Alejandro G. Castro <alex@igalia.com>
6931 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
6933 * src/hildon-pannable-area.c
6934 (hildon_pannable_area_button_press_cb),
6935 (hildon_pannable_axis_scroll),
6936 (hildon_pannable_area_scroll),
6937 (hildon_pannable_area_timeout),
6938 (hildon_pannable_calculate_vel_factor),
6939 (hildon_pannable_area_get_property),
6940 (hildon_pannable_area_set_property),
6941 (hildon_pannable_area_class_init),
6942 (hildon_pannable_area_init),
6943 (hildon_pannable_area_scroll_to),
6944 (hildon_pannable_area_jump_to),
6945 (hildon_pannable_area_scroll_to_child),
6946 (hildon_pannable_area_jump_to_child):
6947 * src/hildon-pannable-area.h: Added the new API functions:
6948 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
6949 hildon_pannable_area_scroll_to_child,
6950 hildon_pannable_area_jump_to_child
6953 * examples/Makefile.am
6954 * examples/hildon-pannable-area-example-2.c
6955 * examples/hildon-pannable-area-example-3.c: Added these two new
6956 examples in order to test and show how the new APIs work.
6958 2008-06-25 Alberto Garcia <agarcia@igalia.com>
6960 * examples/hildon-stackable-window-example.c (new_window):
6961 * src/Makefile.am (noinst_HEADERS):
6962 * src/hildon-program.c (hildon_program_go_to_root_window):
6963 * src/hildon-program.h:
6964 * src/hildon-stackable-window-private.h:
6965 * src/hildon-stackable-window.c:
6966 * src/hildon-stackable-window.h:
6967 Create hildon-stackable-window-private.h
6968 Move hildon_stackable_window_go_to_root_window() to HildonProgram
6970 * examples/hildon-app-menu-example.c (create_menu):
6971 * examples/hildon-hvolumebar-insensitive-example.c (main):
6972 * examples/hildon-hvolumebar-timer-example.c (on_idle):
6973 * examples/hildon-toolbar-seekbar-example.c (main):
6974 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
6975 * src/hildon-banner.c (hildon_banner_set_property):
6976 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
6977 Fix compilation warnings
6979 * src/hildon-window.c:
6982 2008-06-24 Alberto Garcia <agarcia@igalia.com>
6984 * src/hildon-stackable-window.c
6985 (hildon_stackable_window_unset_program):
6986 Calculate correctly whether to show the previous window if the
6987 last one is removed from the stack.
6988 (hildon_stackable_window_go_to_root_window):
6989 Send delete events starting from the topmost window.
6990 Stop if one of the windows is not destroyed.
6992 (hildon_stackable_window_delete_event)
6993 (hildon_stackable_window_class_init):
6994 Ignore the delete event if the window is not the topmost one.
6996 2008-06-24 Alejandro G. Castro <alex@igalia.com>
6998 * src/hildon-pannable-area.c
6999 (hildon_pannable_area_expose_event): Fixed a problem when
7000 selecting the background color of the scrollbars.
7002 2008-06-23 Alberto Garcia <agarcia@igalia.com>
7004 * examples/hildon-stackable-window-example.c
7005 * src/hildon-stackable-window.c
7006 * src/hildon-stackable-window.h
7007 hildon_stackable_window_go_home() renamed to
7008 hildon_stackable_window_go_to_root_window()
7009 Send delete events to windows rather than closing them with
7010 gtk_widget_destroy()
7012 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7014 * src/hildon-pannable-area.c
7015 (hildon_pannable_area_button_release_cb): Fix overshooting in
7018 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7020 * src/hildon-pannable-area.c
7021 (hildon_pannable_area_init): Initially show the scroll indicators.
7022 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7024 Add initial effect showing the widget is pannable.
7026 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7028 * src/hildon-pannable-area.c
7029 (hildon_pannable_area_class_init)
7030 (hildon_pannable_area_set_property)
7031 (hildon_pannable_area_get_property)
7032 (hildon_pannable_area_button_press_cb):
7033 New 'velocity_fast_factor' property to decide which velocity is
7036 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7038 * src/hildon-pannable-area.c
7039 (hildon_pannable_draw_hscroll)
7040 (hildon_pannable_draw_vscroll):
7041 Use float variables to calculate the size of the scrollbars to
7042 avoid error propagation and resizing during scrolling.
7044 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7046 * src/hildon-pannable-area.c
7047 (hildon_pannable_draw_vscroll)
7048 (hildon_pannable_draw_hscroll):
7049 Define a minimum size for the scroll bars
7051 * src/hildon-stackable-window.c
7052 (hildon_stackable_window_go_home): Fix compilation warning
7053 (get_last_window): Minor optimizations
7054 (hildon_stackable_window_class_init): Fix initialization of
7057 2008-06-18 Alberto Garcia <agarcia@igalia.com>
7059 * src/hildon-stackable-window.c: Fixed typos in doc
7061 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
7063 * src/hildon-pannable-area.c
7064 (hildon_pannable_area_scroll):
7065 Calculate here whether we need to scroll instead of using the booleans
7066 that tell us whether to /draw/ the scrolling bars.
7068 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
7070 * src/hildon-app-menu.h
7072 * src/hildon-app-menu.c
7073 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
7074 multiple filter groups related code and API. Now we support only
7076 * examples/hildon-app-menu-example.c:
7078 Update to reflect API changes.
7080 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
7082 * src/hildon-stackable-window.c
7083 (hildon_stackable_window_class_init):
7084 Add hildon_stackable_window_realize.
7085 (hildon_stackable_window_realize):
7086 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
7087 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
7088 to apply theming and behavior specific to HildonStackableWindow
7091 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7093 * src/hildon-note.c (hildon_note_button_release):
7094 Close information notes also when tapping on them
7096 2008-06-12 Alejandro G. Castro <alex@igalia.com>
7098 Added BOUNCE_STEPS define to control the overshoot effect. Removed
7099 ELASTICITY, refactor and review, fix some issues with drawing
7102 * src/hildon-pannable-area.c:
7103 (hildon_pannable_area_button_press_cb): removed the conditions to
7104 avoid clicks when overshooting. It is not required
7106 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
7107 define. Refatored and reviewed the code, now we do not need to
7108 manage velocity in motion_notify.
7110 (hildon_pannable_area_motion_notify_cb): We have moved the code
7111 that controls the area_scroll to the axis_scroll function and get
7112 rid of duplicated code.
7114 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
7116 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
7118 (hildon_pannable_draw_vscroll),
7119 (hildon_pannable_draw_hscroll): Fixed the problems with the
7120 scrollbar drawing, now we do not use two surfaces, it is easier
7121 and saves resources.
7123 (hildon_pannable_area_get_property): Style modification.
7125 (hildon_pannable_area_class_init): Changed some default values.
7127 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
7129 * src/hildon-stackable-window.c: Fix some typos in the
7132 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7134 * src/hildon-dialog.c:
7135 Change indentation style
7138 (hildon_note_button_release):
7139 Use root coordinates to check if the release event happened
7142 * src/hildon-app-menu.c
7143 (hildon_app_menu_button_release):
7144 Remove unnecessary check
7146 * examples/hildon-app-menu-example.c
7148 Add cast to fix warning
7150 * src/hildon-app-menu.c
7151 (hildon_app_menu_class_init):
7152 New inner-border style property.
7153 Set all default spacings to 16
7154 (hildon_app_menu_init):
7155 Use vertical-spacing to set the space between filter buttons and
7156 regular menu buttons.
7157 Set the default container border using the inner-border value.
7159 * examples/hildon-app-menu-example.c
7161 Don't set the menu border explicitly, now we have the inner-border
7162 style property for that.
7164 2008-06-11 Alberto Garcia <agarcia@igalia.com>
7166 * src/hildon-app-menu.c (hildon_app_menu_init):
7167 Make the window modal
7169 * src/hildon-note.c (hildon_note_map)
7170 * src/hildon-app-menu.c (hildon_app_menu_map):
7171 Destroy the grab window if we're unable to grab the pointer
7173 * src/hildon-app-menu-private.h
7174 * src/hildon-app-menu.c
7175 (hildon_app_menu_init, hildon_app_menu_finalize)
7176 (hildon_app_menu_map, hildon_app_menu_unmap)
7177 (hildon_app_menu_button_release)
7178 (grab_transfer_window_get):
7179 Bring back the grab window
7180 (hildon_app_menu_realize):
7181 Decorate the window, set WM hint for Matchbox
7183 * src/hildon-note.c (hildon_note_realize):
7184 * src/hildon-banner.c (hildon_banner_realize):
7185 Add WM hints for Matchbox
7187 2008-06-10 Alberto Garcia <agarcia@igalia.com>
7189 * src/hildon-app-menu-private.h
7190 * src/hildon-app-menu.c
7191 (hildon_app_menu_init, hildon_app_menu_finalize)
7192 (hildon_app_menu_map, hildon_app_menu_unmap)
7193 (hildon_app_menu_button_release):
7194 Remove the grab window, it's not needed anymore
7196 * src/hildon-program.c
7197 Fixed typo in documentation
7199 * src/hildon-app-menu.h
7200 * src/hildon-app-menu.c
7201 * examples/hildon-app-menu-example.c
7202 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
7204 2008-06-09 Alberto Garcia <agarcia@igalia.com>
7207 Added new transfer_window and close_if_pressed_outside private
7209 (hildon_note_rebuild):
7210 Don't add a cancel button to the information note. It will be
7211 closed when tapping outside
7212 Remove the comment about the OK button in the documentation
7213 (hildon_note_realize):
7214 Set the notification type hint
7215 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
7216 Grab/ungrab pointer and keyboard if the note has to be closed when
7218 (hildon_note_button_release):
7219 Close the note when tapping outside (if applicable)
7221 * src/hildon-app-menu.c
7222 Grab/ungrab pointer and keyboard on map/unmap
7223 (hildon_app_menu_button_release, hildon_app_menu_class_init):
7224 Close the menu on button release, not button press
7226 * src/hildon-banner.c
7227 (hildon_banner_set_property)
7228 (hildon_banner_check_position):
7229 Make the banner use the full width of the screen
7230 (hildon_banner_show_information)
7231 (hildon_banner_show_information_with_markup):
7232 Don't display an icon by default
7234 2008-06-09 Alejandro G. Castro <alex@igalia.com>
7236 Added fading scrollbars and adapted all the overshooting code to
7237 horizontal scrolling. We have also fixed bugs with overshooting
7238 and current fading implementation.
7240 * src/hildon-pannable-area.c
7241 (hildon_pannable_area_scroll_indicator_fade): Time out function
7242 used to change the transparency of the scrollbars.
7244 (hildon_pannable_area_button_press_cb): Added horizontal overshot
7245 control and fixed a problem with fading, we now remove the fade
7246 timeout before adding a new one.
7248 (hildon_pannable_axis_scroll):
7249 (hildon_pannable_area_scroll):
7250 (hildon_pannable_area_timeout): Added this functions so we can use
7251 the scroll code both for vertical and horizontal.
7253 (hildon_pannable_area_motion_notify_cb):
7254 (hildon_pannable_area_button_release_cb): Added the horizontal
7255 scrolling control, fixed a problem with the overshooting timeout.
7257 (rgb_from_gdkcolor): Added this function, it is used in the cairo
7258 painting of the scrolls.
7260 (hildon_pannable_draw_vscroll):
7261 (hildon_pannable_draw_hscroll):
7262 (hildon_pannable_area_expose_event):
7263 Draw both scrollbars and rectangles in the overshooting area.
7265 (hildon_pannable_area_get_property):
7266 (hildon_pannable_area_set_property):
7267 Modified the overshoot property to overshoot_max
7269 (hildon_pannable_area_map):
7270 Replaced the comments symbols.
7272 (hildon_pannable_area_size_allocate):
7273 (hildon_pannable_area_class_init):
7274 (hildon_pannable_area_init): Added horizontal scroll, fading
7275 effect properties, fixed a problem when overshooting in the bottom
7278 * examples/hildon-pannable-area-example.c:
7279 (get_sawtooth_label): Now we use smaller sawtooths, the effect
7280 looks better in the example.
7282 2008-06-03 Alberto Garcia <agarcia@igalia.com>
7284 * src/hildon-window.c
7285 * src/hildon-window.h
7286 (hildon_window_class_init)
7287 (hildon_window_unset_program)
7288 (hildon_window_unset_program_real):
7289 Make unset_program a virtual function
7291 * src/hildon-stackable-window.c
7292 * src/hildon-stackable-window.h
7293 Added hildon_stackable_window_go_home()
7295 * examples/Makefile.am
7296 * examples/hildon-stackable-window-example.c
7297 HildonStackableWindow example
7299 2008-06-03 Alejandro G. Castro <alex@igalia.com>
7301 * hildon-pannable-area.c: Added the overshoot property and removed
7302 the OVERSHOOT define. Fixed an indent style error.
7303 (hildon_pannable_area_motion_notify_cb):
7304 (hildon_pannable_area_get_property):
7305 (hildon_pannable_area_set_property): Add overshoot property.
7307 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
7310 (hildon_pannable_area_class_init): Installed the new property.
7312 * hildon-pannable-area-example.c: Added a sawtooth function, this
7313 way it is easier to check the movement in the pannable.
7314 (get_sawtooth_label): Added this function.
7315 (main): Now we get the labels from the new get_sawtooth_label
7318 2008-05-26 Alberto Garcia <agarcia@igalia.com>
7320 * src/hildon-app-menu.h
7321 * src/hildon-app-menu.c
7322 Renamed API variables for consistency
7324 (hildon_app_menu_popup): Use also the default window size to
7325 decide where to place the menu
7327 (hildon_app_menu_init, hildon_app_menu_class_init): New
7328 external-border style property
7330 2008-05-26 Michael Natterer <mitch@imendio.com>
7332 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
7333 widget_class->tap_and_hold_setup signal slot doesn't exist any
7334 longer, stop overriding it.
7336 (hildon_time_editor_init): g_signal_connect() to the
7337 tap-and-hold-setup signal instead.
7339 (hildon_time_editor_entry_keypress): add cast to fix warning.
7341 2008-05-23 Alberto Garcia <agarcia@igalia.com>
7343 * doc/hildon-docs.sgml
7345 * examples/Makefile.am
7346 * examples/hildon-app-menu-example.c
7348 * src/hildon-app-menu-private.h
7349 * src/hildon-app-menu.c
7350 * src/hildon-app-menu.h
7352 New HildonAppMenu widget
7354 2008-05-21 Alejandro G. Castro <alex@igalia.com>
7356 Rearranged the inheritance of the pannable area, now it inherits
7357 from GtkBin. This will allow us to control the event_window and
7358 the allocation process of the widget, required for some effects.
7360 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
7361 GtkBin structures. * src/hildon-pannable-area.c: Added the
7362 event_window variable.
7363 (hildon_pannable_area_button_press_cb):
7364 (hildon_pannable_area_button_release_cb):
7365 (hildon_pannable_area_motion_notify_cb):
7366 Changed the signature of the method, now we override the event
7367 callback instead of connecting to the signal.
7369 (hildon_pannable_area_realize):
7370 (hildon_pannable_area_unrealize):
7371 (hildon_pannable_area_map):
7372 (hildon_pannable_area_unmap):
7373 (hildon_pannable_area_size_allocate):
7374 Added functions to control the widget construction. We add a
7375 INPUT_ONLY window and we put it over the widgets inside the
7376 container, this event_window handles the events.
7378 (hildon_pannable_area_class_init):
7379 Replaced the signal connections with overrides of the event
7382 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7384 Bouncing effect added when touching the borders, you can change
7385 the elasticity of the border changing the ELASTICITY define.
7387 * src/hildon-pannable-area.c: Added ELASTICITY define.
7388 (hildon_pannable_area_timeout): Added inverse velocity when
7389 touching the border of the child widget, that causes a bounce.
7391 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7393 Improved performance, we now do not go to the X server in order to
7394 get the list of window children. Apparently the effect is the
7395 same, we have to be careful and check if this breaks something in
7398 * src/hildon-pannable-area.c:
7399 (get_ordered_children): Removed this function.
7400 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
7401 the children windows function with gdk_window_get_children.
7403 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7405 * src/hildon-pannable-area.c:
7406 (hildon_pannable_area_dispose): Fixed a crash when closing the
7407 window and kinetics is activated.
7409 2008-05-19 Alberto Garcia <agarcia@igalia.com>
7411 * src/hildon-pannable-area.h
7412 * src/hildon-pannable-area.c
7413 Changed indentation style to meet the one used in Hildon
7415 2008-05-19 Alejandro G. Castro <alex@igalia.com>
7417 Reviewed the interaction of the AUTO mode, now we use the time
7418 attribute of the events and calculate the velocity in the motion,
7419 doing a gimp like calculation. The velocity is calculated in each
7420 motion event using the last velocity and the current one, the
7421 SMOOTH_FACTOR controls the percentage of the new velocity we use.
7423 * src/hildon-pannable-area.c: Replaced the time based algorithm
7425 (hildon_pannable_area_motion_notify_cb): now we do not launch the
7426 timeout for the AUTO mode when we are still moving the cursor. We
7427 added also the velocity calculation in this function.
7428 (hildon_pannable_area_button_release_cb): launch the timeout in
7429 case we are in AUTO mode. There are still some constants here that
7430 come from the old implementation that should be reviewed and
7433 2008-05-15 Alberto Garcia <agarcia@igalia.com>
7435 * doc/hildon-docs.sgml
7438 * src/hildon-stackable-window.c
7439 * src/hildon-stackable-window.h
7441 New HildonStackableWindow widget
7443 * examples/hildon-dialog-example.c
7444 * examples/hildon-pannable-area-example.c
7447 2008-05-14 Alberto Garcia <agarcia@igalia.com>
7449 * src/hildon-dialog.c
7450 (hildon_dialog_new_with_buttons): New constructor.
7452 * examples/hildon-dialog-example.c
7453 (main): Update the example to use the new
7454 hildon_dialog_new_with_buttons().
7456 * examples/hildon-pannable-area-example.c
7457 (main): Update example.
7459 2008-05-13 Alberto Garcia <agarcia@igalia.com>
7461 * doc/hildon-docs.sgml
7463 Added HildonPannableArea to the documentation.
7465 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
7467 * doc/visual_index.xml
7468 Fix reference to HildonLoginDialog in documentation
7470 * doc/hildon-docs.sgml
7472 * examples/Makefile.am
7473 * examples/hildon-dialog-example.c
7475 * src/hildon-dialog.c
7476 * src/hildon-dialog.h
7478 New HildonDialog widget.
7480 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7482 * src/hildon-pannable-area.c
7483 Merge latest changes (r4318, r4342) from libmokoui trunk
7485 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7487 * examples/Makefile.am
7488 * examples/hildon-pannable-area-example.c
7490 * src/hildon-pannable-area.c
7491 * src/hildon-pannable-area.h
7493 New HildonPannableArea widget.
7495 2008-04-15 18:05:19 <timj@imendio.com>
7497 * src/hildon-banner.c: revert the recent change, that introduced
7498 gtk_window_present() calls. this reopens:
7499 Bug 78481 - [freetest] information banners are hidden under browser menu
7500 But resolves another variant of:
7501 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7503 2008-04-15 13:21:13 <timj@imendio.com>
7505 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
7506 recreated its layout, spotted by Kris. this fixes all remaining
7507 artefacts and stability issues with the banner code. in particular:
7508 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7510 2008-04-14 16:52:59 <timj@imendio.com>
7512 * src/hildon-banner.c: guard force_to_wrap_truncated() against
7513 operating on unrealized widgets, fixes:
7514 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7516 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
7518 2008-04-09 Kristian Rietveld <kris@imendio.com>
7520 Fixes: NB#77775: Media Player, Save Now playing list, too long name
7521 makes banner disappear.
7522 Fixes: NB#79182: info banner flickering with certain message lengts.
7524 * src/hildon-banner.c (hildon_banner_constructor),
7525 (hildon_banner_init), (hildon_banner_set_text),
7526 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
7527 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
7528 FALSE, reset size requests of label and banner,
7529 (force_to_wrap_truncated): when the text is too wide, always enforce
7530 the maximum possible width instead of recalculating it from the
7531 layout; enforce the maximum banner height of 3 lines,
7532 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
7533 nicer wrapping and no truncated chars if space gets tight.
7535 * src/hildon-banner-private.h: add has_been_wrapped and
7536 has_been_truncated fields.
7538 2008-04-07 Sven Herzberg <sven@imendio.com>
7540 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
7541 local values in hildon_date_editor_size_allocate
7543 * src/hildon-date-editor.c: moved the real allocation code into the
7546 2008-04-07 Sven Herzberg <sven@imendio.com>
7548 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7549 local values in hildon_date_editor_size_allocate
7551 * src/hildon-date-editor.c: merged the two if() branches together
7553 2008-04-07 Sven Herzberg <sven@imendio.com>
7555 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7556 local values in hildon_date_editor_size_allocate
7558 * src/hildon-date-editor.c: changed the arguments of the if()
7561 2008-04-07 Sven Herzberg <sven@imendio.com>
7563 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7564 local values in hildon_date_editor_size_allocate
7566 * src/hildon-date-editor.c: split the calculation of the allocation
7567 from the real allocation
7569 2008-03-27 Michael Natterer <mitch@imendio.com>
7571 Fixes: NB#81696: The passcode is not overwritten even after
7574 * src/hildon-code-dialog.c
7575 (hildon_code_dialog_button_clicked)
7576 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
7577 because that doesn't overwrite selected text. Instead, emit the
7578 "commit" signal on the entry's im_context so the entry's normal
7579 insert logic is triggered. Set the cursor to the end of the entry
7580 after each insert operation so that we *only* insert in the middle
7581 of the text if something was selected.
7583 2008-03-27 Michael Natterer <mitch@imendio.com>
7585 Enable fixing: NB#79916 and NB#79918: The help topic for Color
7586 selector cannot be opened
7588 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
7589 when the popup color selector is created. Please connect to this
7590 signal in order to set the dialog's help ID.
7592 2008-03-25 Sven Herzberg <sven@imendio.com>
7594 Fixes: MB#1212: Hide info banners (infoprints) on click
7596 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
7597 extracted the close event simulation into an extra function
7598 (hildon_banner_button_press_event): simulate a close event and destroy
7599 the widget if the event wasn't handled
7600 (hildon_banner_class_init): added the button_press_event handler
7601 (hildon_banner_init): added button-press events to the widget
7603 2008-03-25 Sven Herzberg <sven@imendio.com>
7605 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
7606 Patch from: Mohammad Anwari <mdamt@maemo.org>
7608 * src/hildon-banner.c: let the HildonBanners pop up on the left side
7609 instead of the right in RTL mode
7610 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
7611 breadcrumb button list in RTL mode
7612 * src/hildon-caption.c: mirror the appearance of the caption widget in
7614 * src/hildon-date-editor.c: mirror appearance of the date editor in
7616 * src/hildon-time-editor.c: mirror appearance of the time editor in
7618 * src/hildon-window.c: fix the position of the popup in RTL mode
7620 2008-03-25 Sven Herzberg <sven@imendio.com>
7622 Amendment to the fix of NB#22072. Fix compilation.
7624 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
7626 2008-03-19 Sven Herzberg <sven@imendio.com>
7628 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
7631 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
7632 timeout id properly when the timeout will disappear this leaves no
7633 artifacts around in the destroy(); there will only be the timeout
7634 created by hildon_banner_ensure_timeout() and adding a new timeout
7635 will also work if the timeout gets removed because the timeout_handler
7638 2008-03-19 Michael Natterer <mitch@imendio.com>
7640 Fixes: NB#79791: Cannot set focus to Master volume using stylus
7642 * src/hildon-volumebar.c
7643 * src/hildon-vvolumebar.c
7644 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
7645 the widget becomes focussable at all.
7647 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
7648 set the focus to wither the mute button or the volumebar.
7650 Remove own "can-focus" property and instead listen to
7651 notify::can-focus in order to update the widget's state.
7653 Implement GtkWidget::focus() and make sure we can also *leave* the
7654 widget, not only enter it, depending on volumebar orientation and
7655 requested focus direction.
7657 Clean up set_mute() to cooperate nicely with all the above.
7659 2008-03-04 Michael Natterer <mitch@imendio.com>
7661 Fixes: NB#78481: information banners are hidden under browser menu
7663 * src/hildon-banner.c: call gtk_window_present() on the banners so
7664 they are risen if they are already visible.
7666 2008-03-03 Sven Herzberg <sven@imendio.com>
7668 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
7670 * examples/hildon-window-menu-example.c: (main): extended the window
7671 menu example to serve as a testcase for automatically added
7672 accelerator groups, too
7673 * src/hildon-window.c: (hildon_window_add_accel_group),
7674 (hildon_window_set_menu): added patch by Tommi Komulainen
7676 2008-03-03 Sven Herzberg <sven@imendio.com>
7678 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
7680 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
7681 knowledge about the border allocators used within GTK+
7683 2008-02-26 Sven Herzberg <sven@imendio.com>
7685 Fixes: MB#2981: Build with asserts broken
7687 * src/hildon-date-editor.c,
7688 * src/hildon-number-editor.c,
7689 * src/hildon-time-editor.c,
7690 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
7691 the proper GType instance check
7693 2008-02-25 Sven Herzberg <sven@imendio.com>
7695 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
7697 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
7698 * examples/hildon-window-menu-example.c: (main): explicitly show
7700 * src/hildon-window.c:
7701 (hildon_window_set_main_menu): moved most of the code from set_menu()
7702 to this place; skipped the call to gtk_widget_show_all(); also didn't
7703 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
7704 (hildon_window_set_menu): removed most of the code, just keep the
7705 questionable gtk_widget_show_all()
7706 * src/hildon-window.h: added the new function and deprecate the old
7709 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7715 * debian/changelog: Updating.
7717 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7720 * pkgconfig/Makefile.am:
7721 * pkgconfig/hildon.pc.in:
7724 Do not use PACKAGE_VERSION_MAJOR as the API revision,
7725 use newly created API_MAJOR_VERSION.
7727 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7733 * debian/changelog: Updating.
7735 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7737 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
7739 Add outer_border style property, we use it but don't define it (!).
7743 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
7745 * examples/hildon-bread-crumb-trail-example.c (main):
7749 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
7751 Fix logic for the bread crumb trail node removal.
7755 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7761 * debian/changelog: Updating.
7763 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7765 Patch by Alejandro to get/set passwords dialogs accesibility.
7767 * hildon-1/src/hildon-get-password-dialog.c:
7768 * hildon-1/src/hildon-set-password-dialog.c:
7769 Set atk_set_name to the passwd entries in order to allow
7770 accessibility by name on this entries.
7772 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7777 * debian/control: Updating gtk dep.
7779 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
7781 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
7782 USE_MAEMO_GTK is enabled.
7784 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
7786 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
7787 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
7789 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7795 * debian/changelog: Updating.
7797 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7799 * examples/Makefile.am:
7800 * examples/hildon-logical-color-example.c:
7801 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
7802 applied + adding a test case. Fixes: NB#71660.
7804 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
7806 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
7807 to be visible, fixes warning on map for windows without toolbars.
7809 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
7811 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
7812 2.11.0, add a check for that besides the MAEMO_GTK check.
7814 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7820 * debian/changelog: Updating.
7822 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7824 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
7825 visibility. Fixes: NB#70842 and MB#615.
7827 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7829 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
7830 set the separator as no-show-all so it doesn't unintentionally appear when
7831 someone does a show_all.
7833 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7835 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
7836 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
7837 toplevel item. Fixes: NB#62031
7839 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
7841 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
7842 fix the name of the function in the docs.
7844 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7850 * debian/changelog: Updating.
7852 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7854 * examples/hildon-banner-long-example.c: Adding a test-case for long
7857 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
7859 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7861 * src/hildon-color-chooser-dialog.c:
7862 * src/hildon-color-chooser.c:
7863 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
7864 memory leaks in font selector and color selector. Fixes: NB#70499 and
7867 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
7869 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
7871 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7873 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
7874 little bit bigger. Fixes: #NB63694.
7876 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7882 * debian/changelog: Updating.
7884 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7887 * doc/hildon-docs.sgml:
7888 * doc/images/bread-crumb-trail.png:
7889 * doc/images/calendar-popup.png:
7890 * doc/images/caption.png:
7891 * doc/images/code-dialog.png:
7892 * doc/images/color-button.png:
7893 * doc/images/color-chooser-dialog.png:
7894 * doc/images/color-chooser.png:
7895 * doc/images/controlbar.png:
7896 * doc/images/date-editor.png:
7897 * doc/images/font-selection-dialog.png:
7898 * doc/images/get-password-dialog.png:
7899 * doc/images/hvolumebar.png:
7900 * doc/images/login-dialog.png:
7901 * doc/images/note.png:
7902 * doc/images/number-editor.png:
7903 * doc/images/range-editor.png:
7904 * doc/images/seekbar.png:
7905 * doc/images/set-password-dialog.png:
7906 * doc/images/sort-dialog.png:
7907 * doc/images/time-editor.png:
7908 * doc/images/time-picker.png:
7909 * doc/images/vvolumebar.png:
7910 * doc/images/weekday-picker.png: Adding the new generated widget shots.
7911 Adding the bread-crumb-trial and helpers to the documentation.
7913 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7915 * examples/hildon-find-toolbar-example.c:
7916 * src/hildon-find-toolbar.c:
7917 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
7918 actually continue firing the other handlers if connected. Adding a new
7920 hildon_find_toolbar_get_last_index that gets the index of the most
7921 recently added (last) item. Fixes: NB#52301.
7923 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7925 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
7926 behaviour. Fixes: NB#68610.
7928 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7930 * src/hildon-banner.c: Actually reverting the previous change. It somehow
7933 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7935 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
7936 when realizing the banner. Should make the infonbanner effect a bit more
7939 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7941 * src/hildon-volumebar.c:
7942 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
7943 hildon_volumebar_set_range_insensitive_message and
7944 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
7946 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7948 * src/hildon-window.c: Fixing the border freeing on destroy.
7950 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7952 * src/hildon-code-dialog-private.h:
7953 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
7954 kw keyboard support in HildonCodeDialog.
7956 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7962 * debian/changelog: Updating.
7964 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7966 * src/hildon-date-editor.c:
7967 * src/hildon-number-editor.c:
7968 * src/hildon-private.c:
7969 * src/hildon-private.h:
7970 * src/hildon-time-editor.c:
7971 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
7972 handling in subclassed composite widgets. Fixes: NB#66628.
7974 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7976 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
7977 from destroy_ callback as it introduces problems in async dbus signal
7978 handlers. Fixes NB#66673.
7980 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7982 * examples/hildon-hvolumebar-example.c:
7983 * src/hildon-volumebar.c: Improving the focus handling in the
7984 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
7985 set_property accessor so that "mute" property can be actually set. I'm
7986 scared that nobody noticed it's totally broken.
7988 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7990 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
7993 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7995 * src/hildon-calendar.c:
7996 * src/hildon-number-editor.c:
7997 * src/hildon-time-picker.c: Changing the timeout repeat so that it
7998 matches the spec of 6 chars per second. Fixes: NB#60489.
8000 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8002 * src/hildon-helper.c: Really fixing NB#58352. Looks like
8003 gtk_style_lookup_color sometime returns FALSE even though color was
8004 found and values were filled properly. Weird. Removing the warning for the
8007 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8009 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8010 expand vertically. Adding some extra space to the find toolbar buttons to
8011 make them thumbable. Fixes NB#66060.
8013 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8015 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8016 popup with "Ok" and "Cancel". Fixes NB#59299.
8018 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8020 * src/hildon-calendar.c: Process all window updates before executing next
8021 timeout. Fixes: NB#54146.
8023 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8029 * debian/changelog: Updating.
8031 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8033 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8034 the client event and ignore it, since we use the delete event to close
8037 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8039 * src/hildon-helper.c: Remove the bogus warning about color not being
8040 found. Fixes NB#58352.
8042 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8044 * examples/Makefile.am:
8045 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8046 HildonSeekbar widget inside a toolbar.
8048 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8050 * src/hildon-banner.c (hildon_banner_init): mark the banners as
8051 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8052 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8053 don't want to be closed by non-temporary windows on map.
8055 Also use G_DEFINE_TYPE instead of manually typed code.
8057 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8064 * debian/rules: Updating.
8066 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8068 * examples/Makefile.am:
8069 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8070 bug NB#61128. Strangely it works.
8072 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8074 * src/hildon-date-editor.c: When the date editor entry has been changed
8075 but the numbers of characters < max, turn off the skip validation flag.
8076 Prevents a situation when we enter first a valid year and later re-write
8077 it with an invalid one. Fixes NB#60154.
8079 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8081 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
8082 code dialog. Fixes NB#64355.
8084 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8086 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
8087 switching the page. Fixes NB#49374.
8089 * examples/Makefile.am:
8090 * examples/hildon-wizard-dialog-example.c: Adding an example for
8091 HildonWizardDialog that shows how to handle manual sensitivity setting on
8094 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8098 * src/hildon-version.h.in:
8099 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
8101 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8103 * src/hildon-volumebar.c: Updating the docs.
8105 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8111 * debian/changelog: Updating.
8113 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8115 * src/hildon-find-toolbar.c:
8116 * src/hildon-find-toolbar.h: Adding a few new functions to control the
8117 selected item: hildon_find_toolbar_set_active,
8118 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
8119 hildon_find_toolbar_get_active_iter . They correspond to respective
8120 GtkComboBox functions.
8122 * examples/Makefile.am:
8123 * examples/hildon-find-toolbar-example.c: Adding the example to test the
8126 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8128 * examples/Makefile.am:
8129 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
8132 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
8133 when font size > 32 and we pack a focusable widget inside. Actually using
8134 the default response would work too, but since we don't show default
8135 response state in any way (no theming) it would not be visible to the
8136 user. Fixes NB#63430.
8138 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8140 * src/hildon-date-editor.c: Adding the missing variable setter in the
8141 set_property handler. Fixes NB#54182.
8143 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8145 * src/hildon-window.h: Changing the long key press time from 1500ms to
8146 800ms as requested in NB#63700. I have a bad feeling about this, let's
8147 see... Fixes NB#63700.
8149 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
8151 * src/hildon-time-picker.c (hildon_time_picker_class_init,
8152 hildon_time_picker_map, hildon_time_picker_realize,
8153 hildon_time_picker_style_set): Split the contents of map to more
8154 appropriate functions; set window decorations on realize and update
8155 arrows' size requisitions on style-set. Avoids unnecessary resizing.
8157 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
8162 * debian/changelog: Updating.
8164 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
8166 * src/Makefile.am: fixed installation of the header files
8168 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8174 * debian/changelog: Updating.
8176 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8178 * configure.ac: Removing some remaining of --enable-xan.
8180 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
8182 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
8183 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
8185 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
8186 2.10.12-osso6 because the move-focus signal needs to be available in
8189 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8191 * examples/Makefile.am:
8192 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
8193 that makes a HildonVolumebar insensitive before mapping it. Seems to work
8194 fine. Prolly NB#61128 is fixed now.
8196 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8198 * src/hildon-volumebar.c:
8199 * src/hildon-volumebar.h: Adding the
8200 hildon_volumebar_set_range_insensitive_message and
8201 hildon_volumebar_set_range_insensitive_messagef functions to set
8202 insensitive message on the slider of the volumebar. Fixes NB#61129.
8204 * examples/Makefile.am:
8205 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
8206 test the new insensitive messsage functionality on HildonVolumebar.
8208 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
8210 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
8213 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
8215 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
8216 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
8217 button on after clearing the trail.
8219 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8221 * src/hildon-code-dialog.c: Removing the separator from the dialog.
8223 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8225 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
8226 by splitting the installed headers in generated and non-generated groups. Use
8227 only the non-generated headers to create the hildon-enum-types.h file.
8229 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
8231 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8233 * src/hildon-window.c: Hide the window before performing the destroy.
8234 Should make the app closing a little tiny bit more snappy.
8236 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8238 * src/hildon-seekbar.c: add gtkrange.h header
8239 * src/hildon-caption.c: remove unused variable
8241 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
8243 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
8246 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8252 * debian/changelog: Updating.
8254 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
8256 * src/hildon-window.c (hildon_window_window_state_event,
8257 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
8258 escape timeout on focus-out-event rather than notify::is-topmost; the
8259 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
8261 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8263 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
8264 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
8266 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8268 * src/hildon-window: actually, you need to use the macro always, there's
8269 no private pointer in the instance structure. We should have cleaned this up
8270 when we had the chance...
8272 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8274 * src/hildon-window.c: do not get the private date from HildonWindow before
8275 it passes the g_return_if_fail check. Once it's passed the test, there's no
8276 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
8277 if you are only going to access the data once. Whitespace cleanups.
8279 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
8281 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8282 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8284 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8290 * debian/changelog: Updating.
8292 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8294 * src/hildon-window.c: When destroying the window, remove (if exists) the
8295 escape timeout handler. Fixes #NB59276.
8297 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8299 * src/hildon-banner.c: When realizing the widget, set the window
8300 transiency. Setting the transiency in the gobject constructor is not
8301 good, as the widget is not realized at that point. Fixes: #NB56624.
8303 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8305 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
8306 Add padding for future expansions.
8308 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8310 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
8311 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
8312 will fake an activation on the previous to the last item of the trail, so
8313 the effect can be overrided by the developer as usual.
8314 Also change the callback for the back button to do the same thing, so its
8315 effect can be overrided too. Fixes: NB#58982
8317 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8319 * src/hildon-caption.c: Implementing the proper focus grabbing in the
8320 HildonCaption. Fixes NB#52379.
8322 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8324 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
8325 the internal state of the trail after the user has had the chance of executing
8326 his handler for the signal. Specifically, it may happen that the activated button
8327 is removed and the user still lets the default handler run. This would segfault
8330 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8332 * src/hildon-font-selection-dialog.c: When the font is really big, add the
8333 scrollbar to the preview dialog. Fixes NB#54147.
8335 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8337 * src/hildon-date-editor.c: Changing the default max year to 2037. The
8338 max/min year properties can be altered, so the client can modify it
8339 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
8341 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8343 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
8344 hildonlike by default. Fixing a problem with disappearing arrows when
8345 scrolling through months and years. Fixes NB#54127.
8347 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8349 * examples/hildon-date-editor-example.c: Adding error callback to the date
8352 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8358 * configure.ac: Updating.
8360 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8362 * configure.ac: Adding a special '--enable-xan' configure option that
8363 turns off the -Werror compilation setting. Usefull for development.
8365 * src/hildon-calendar.c:
8366 * src/hildon-number-editor.c:
8367 * src/hildon-time-picker.c: Adding the 5* multiplier to
8370 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
8372 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
8373 instead of g_object_ref + gtk_object_sink.
8375 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8381 * debian/changelog: Updating.
8383 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8385 * src/hildon-color-chooser-dialog.c:
8386 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
8387 straight from Tommi labs.
8389 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8391 * examples/hildon-finger-example.c: Correcting the header file path.
8393 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
8394 the changed signal. Fixes a small memory leak.
8396 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8400 * src/hildon-banner.c: Importing several usefull fixes from the
8401 ubuntu-mobile branch.
8403 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8405 * examples/Makefile.am:
8406 * examples/hildon-finger-example.c: Adding a finger-checking code
8409 * src/hildon-font-selection-dialog.c: Do not allocate the color
8410 structure using the g_new. Fixes NB#54061.
8412 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8414 * src/hildon-helper.c: Correcting tabs in file.
8416 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
8418 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
8419 control the visibility of the children.
8421 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
8423 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8429 * debian/changelog: Updating.
8431 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8433 * src/hildon-bread-crumb-trail.c:
8434 (hildon_bread_crumb_trail_size_allocate):
8436 Make the back button always a square.
8438 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8440 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
8441 from the .c file as it's a private file.
8443 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8445 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
8446 uses slightly bigger height.
8448 * src/hildon-font-selection-dialog.c: Adding some checks before
8449 freeing memory in the font selection dialog.
8451 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8453 * src/hildon-font-selection-dialog.c: Adding a small check when
8456 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
8457 buttons sensitivity on page switching.
8459 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
8461 * src/hildon-bread-crumb-trail.c: make the add method handle all the
8462 internal details of adding a bread crumb to the trail.
8464 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8470 * debian/changelog: Updating.
8472 * src/hildon-bread-crumb-trail.h:
8473 * src/hildon-bread-crumb.h: Changing the API guard to
8474 HILDON_ENABLE_UNSTABLE_API.
8476 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8484 * src/hildon-helper.h: Updating.
8486 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8494 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8498 * src/hildon-helper.h: Small fix to make the package actually compile.
8500 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8502 * src/hildon-bread-crumb-trail.h:
8503 * src/hildon-bread-crumb.h:
8505 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
8506 to define ENABLE_UNSTABLE_API in the code that includes these headers.
8508 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8510 * examples/hildon-bread-crumb-trail-example.c:
8512 * src/hildon-bread-crumb-trail.c:
8513 * src/hildon-bread-crumb-trail.h:
8514 * src/hildon-bread-crumb.c:
8515 * src/hildon-bread-crumb.h:
8516 * src/hildon-marshalers.list:
8517 * src/hildon-bread-crumb-widget.c:
8518 * src/hildon-bread-crumb-widget.h:
8520 Slight change in the widget design. The bread crumb trail API is
8521 unchanged, but HildonBreadCrumb is now an interface. A *private*
8522 implementation, hildon-bread-crumb-widget, is provided and used
8523 internally by the trail for the push_text/push_icon functions.
8525 The generic push API is still available, so anyone can implement
8526 and use its own bread crumb widget.
8528 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8530 * debian/rules: Fixing the shlibs.
8532 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8534 * src/hildon-banner.c: Fixing a problem with timed banners having
8535 their parrent destroyed before they are.
8537 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
8539 * src/hildon-bread-crumb.c:
8540 * src/hildon-bread-crumb.h:
8542 Make the get_natural_size function a vfunc.
8544 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8546 * src/hildon-bread-crumb.c:
8547 * src/hildon-bread-crumb-trail.c:
8551 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8558 * debian/changelog: Updating for release.
8560 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8562 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
8563 don't leak the pango layout.
8565 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8568 * examples/hildon-bread-crumb-trail-example.c:
8572 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8574 * debian/changelog: Removing the bug-fixed entries that were actually
8575 resolved as WONTFIX.
8577 * src/hildon-date-editor.c: Removing a redundant check. Fixes
8580 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8582 * src/hildon-bread-crumb-trail.c:
8583 * src/hildon-bread-crumb-trail.h:
8584 * src/hildon-bread-crumb.c:
8585 * src/hildon-bread-crumb.h:
8589 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8591 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
8592 until it's passed the type check.
8594 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8596 * examples/hildon-bread-crumb-trail-example.c
8600 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8602 * examples/Makefile.am
8603 * examples/hildon-bread-crumb-trail-example.c
8605 * src/hildon-bread-crumb-trail.c
8606 * src/hildon-bread-crumb-trail.h
8607 * src/hildon-bread-crumb.c
8608 * src/hildon-bread-crumb.h
8610 New HildonBreadCrumbTrail widget.
8612 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
8614 * src/hildon-range-editor.c (hildon_range_editor_init),
8615 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
8616 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
8617 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
8618 hildon_time_editor_class_init, hildon_time_editor_init),
8619 src/hildon-get-password-dialog.c (invalid_input,
8620 hildon_get_password_set_property, hildon_get_password_get_property,
8621 create_contents, hildon_get_password_dialog_set_max_characters),
8622 src/hildon-set-password-dialog.c (create_contents),
8623 src/hildon-date-editor.c (hildon_date_editor_init),
8624 src/hildon-login-dialog.c (hildon_login_dialog_init),
8625 src/hildon-number-editor.c (hildon_number_editor_init),
8626 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
8627 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
8628 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
8629 configure option and adding the respective checks in the code.
8630 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
8631 hildon_calendar_drag_data_received): fixed some build warnings.
8633 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8635 * debian/changelog: A 1.0.0 release notes.