1 2009-06-09 Alejandro G. Castro <alex@igalia.com>
3 * hildon/hildon-pannable-area.c,
4 (hildon_pannable_area_button_release_cb): Reviewed the logic of
5 the release using the last refactored functions and avoiding the
6 movement if an element was selected.
8 2009-06-09 Alejandro G. Castro <alex@igalia.com>
10 * hildon/hildon-pannable-area.c,
11 (hildon_pannable_area_check_move),
12 (hildon_pannable_area_handle_move),
13 (hildon_pannable_area_motion_notify_cb): Refactored the
14 motion_notify method using a couple of new functions.
16 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
18 * hildon/hildon-date-selector.c:
19 (hildon_date_selector_construct_ui):
20 * hildon/hildon-time-selector.c:
21 (hildon_time_selector_constructor):
22 * hildon/hildon-touch-selector-entry.c:
23 (hildon_touch_selector_entry_set_text_column),
24 (hildon_touch_selector_entry_get_text_column):
25 * hildon/hildon-touch-selector.c: (_default_print_func),
26 (hildon_touch_selector_new_text): Use
27 hildon_touch_selector_set/get_text_column() instead of
28 setting/getting the "text-column" property.
30 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
32 * doc/hildon-sections.txt: Add the new public methods below.
34 * examples/hildon-picker-button-multicolumn-example.c:
35 (create_touch_selector):
36 * examples/hildon-touch-selector-example.c: (create_selector):
37 * examples/hildon-touch-selector-multi-cells-example.c:
39 Use hildon_touch_selector_column_set_text_column()
41 * hildon/hildon-touch-selector-column.h:
42 * hildon/hildon-touch-selector.c:
43 (hildon_touch_selector_column_set_text_column),
44 (hildon_touch_selector_column_get_text_column):
45 Make hildon_touch_selector_column_set/get_column() public, use
46 them in the inline example, document them, and reference to them
49 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
51 * hildon/hildon-time-selector.c: Fix the docs for
52 hildon_time_selector_new_step().
54 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
56 * hildon/hildon-touch-selector.c: Improve the documentation for
57 hildon_touch_selector_append_column().
59 Fixes MB#4641 (Documentation:
60 hildon_touch_selector_append_column() ref-counting)
62 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
64 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
65 Comment out test 5, since the hildon_controlbar_set_range() range
66 check is broken and fixing it would have side effects. Also,
67 this finally fixes make distcheck.
69 Fixes: NB#101420 (Update unit tests and fix make distcheck)
71 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
73 * tests/TEST-CASES.txt: Remove other bogus test.
74 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
75 Remove bogus test that was setting/retrieving a valid value.
77 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
79 * tests/TEST-CASES.txt: Remove bogus tests.
80 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
81 Remove three bogus tests that were actually setting valid colors.
83 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
85 * configure.ac: post release version bump
86 * debian/changelog: post release version bump
88 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
93 * configure.ac: Bump version.
94 * debian/changelog: Updates.
96 2009-06-08 Christian Dywan <christian@lanedo.com>
100 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
101 Correct errors in hildon_format_file-size_for_display and use
102 translations from the hildon-fm package instead of osso-filemanager.
104 2009-06-08 Alejandro G. Castro <alex@igalia.com>
106 * hildon/hildon-pannable-area.c,
107 (hildon_pannable_area_init): Initialized new values to handle the
109 (hildon_pannable_area_adjust_value_changed): Check if the values
110 changed before even call the redraw function.
111 (hildon_pannable_area_size_allocate),
112 (hildon_pannable_axis_scroll),
113 (hildon_pannable_area_scroll),
114 (hildon_pannable_area_jump_to): Improved the diagonal movement
117 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
120 2009-06-08 Alberto Garcia <agarcia@igalia.com>
122 * examples/hildon-banner-example.c:
123 Several style updates
124 (on_animation_clicked, on_animation_idle)
125 (on_progress_clicked, on_progress_idle):
126 Add additional reference for the cases when the parent window is
129 2009-06-08 Alberto Garcia <agarcia@igalia.com>
131 * doc/hildon-sections.txt
132 * hildon/hildon-pannable-area.c
133 * hildon/hildon-banner.h
134 * hildon/hildon-banner.c: Documentation updates.
136 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
139 2009-06-05 Alejandro G. Castro <alex@igalia.com>
141 * hildon/hildon-calendar-popup.h:
142 * hildon/hildon-caption.h:
143 * hildon/hildon-code-dialog.h:
144 * hildon/hildon-controlbar.h:
145 * hildon/hildon-date-editor.h:
146 * hildon/hildon-dialog.h:
147 * hildon/hildon-get-password-dialog.h:
148 * hildon/hildon-hvolumebar.h:
149 * hildon/hildon-login-dialog.h:
150 * hildon/hildon-note.h:
151 * hildon/hildon-number-editor.h:
152 * hildon/hildon-range-editor.h:
153 * hildon/hildon-seekbar.h:
154 * hildon/hildon-set-password-dialog.h:
155 * hildon/hildon-sort-dialog.h:
156 * hildon/hildon-time-editor.h:
157 * hildon/hildon-time-picker.h:
158 * hildon/hildon-volumebar-range.h:
159 * hildon/hildon-volumebar.h:
160 * hildon/hildon-vvolumebar.h:
161 * hildon/hildon-weekday-picker.h:
162 * hildon/hildon-window.h:
163 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
164 macros with the current replacements
166 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
168 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
170 * hildon/hildon-color-button.c (hildon_color_button_init): Use
171 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
172 itself, to make it fit better with Fremantle style.
174 Fixes: NB#109878 (height and width of focus on color icon is not
175 consistent with other item in the application tool bar)
177 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
179 * hildon/hildon-touch-selector.c:
180 (hildon_touch_selector_optimal_size_request): use the current requisition
181 as the base, in order to include any possible extra widget, like the
182 hildon entry on HildonTouchSelectorEntry
184 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
186 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
188 * configure.ac: post release version bump
189 * debian/changelog: post release version bump
191 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
196 * configure.ac: Bump version.
197 * debian/changelog: Updates.
199 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
201 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
203 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
204 to ensure the banner contents are centered, instead of relying on
205 the expand and fill properties in GtkHBox.
206 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
208 Fixes: NB#108265 (Animation banner not properly centered)
210 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
212 * hildon/hildon-pannable-area.c
213 (hildon_pannable_area_initial_effect): Remove the initial_effect
214 management, check initial_hint
215 (hildon_pannable_are_expose_event): Remove the initial_hint management,
216 set initial_effect to FALSE
217 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
218 by launching the fade_timeout if the scrollbars state has changed and are
220 * examples/hildon-pannable-area-initial-hint-example.c
221 Modified to allow to remove rows too. Add and remove rows one by one.
223 2009-05-28 Alberto Garcia <agarcia@igalia.com>
225 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
226 Don't close the menu if there's an animation actor below it.
228 Fixes: NB#117927 (Application menu not usable with animation
231 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
233 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
234 "focus-on-click" from the dialog button, to avoid stealing the
235 focus from the entry.
237 Fixes: NB#118903 (Account setup wizard: Text in Search field
238 should be focused when "Region" touch list picker is reopened
241 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
243 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
244 (prepare_action_area): Completely hide the dialog separator.
246 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
248 * hildon/hildon-touch-selector-entry.c
249 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
250 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
251 now that the entry is exposed.
253 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
255 * hildon/hildon-touch-selector-entry.c
256 (hildon_touch_selector_entry_init): Change the entry's size
257 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
259 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
261 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
262 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
263 avoid unnecessary scaling.
265 2009-05-27 Alberto Garcia <agarcia@igalia.com>
267 * hildon/hildon-app-menu.c (hildon_app_menu_map):
268 Create grab transfer window before calling parent's map function.
270 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
271 "crushed" button(s) in the top left corner)
273 2009-05-26 Alberto Garcia <agarcia@igalia.com>
275 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
276 Check if the window is already realized when pushing it.
278 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
280 * configure.ac: post release version bump
281 * debian/changelog: post release version bump
283 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
288 * configure.ac: Bump version.
289 * debian/changelog: Updates.
291 2009-05-25 Alberto Garcia <agarcia@igalia.com>
293 * hildon/hildon-app-menu.c: Doc updates.
295 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
297 * hildon/hildon-banner.c: Remove leftover macro.
299 2009-05-25 Alejandro G. Castro <alex@igalia.com>
301 * hildon/hildon-pannable-area.c,
302 (hildon_pannable_area_scroll_indicator_fade),
303 (hildon_pannable_area_button_release_cb): Reviewed vmin
304 conditions, it could cause problems in the fadeout procedure.
306 2009-05-25 Alejandro G. Castro <alex@igalia.com>
308 * hildon/hildon-pannable-area.c
309 (hildon_pannable_area_button_release_cb): Added a threshold to
310 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
312 2009-05-25 Alejandro G. Castro <alex@igalia.com>
314 * hildon/hildon-pannable-area.c,
315 (hildon_pannable_area_set_property): Added code to sync the gtk
316 dnd threshold with the panning threshold.
318 2009-05-25 Alejandro G. Castro <alex@igalia.com>
320 * hildon/hildon-pannable-area.c,
321 (hildon_pannable_area_class_init): Changed some of the default
322 values, now it should be less responsive and more accurate.
324 2009-05-25 Alejandro G. Castro <alex@igalia.com>
326 * hildon/hildon-pannable-area.c,
327 (hildon_pannable_area_init),
328 (hildon_pannable_area_scroll_indicator_fade),
329 (hildon_pannable_area_button_press_cb),
330 (hildon_pannable_axis_scroll),
331 (hildon_pannable_area_timeout),
332 (hildon_pannable_area_motion_notify_cb),
333 (hildon_pannable_area_button_release_cb): Changed the name of the
334 clicked attribute to button_pressed, it is more clear about its use.
336 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
338 * src/hildon-pannable-area.c
339 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
341 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
342 vertical scrollbar visibility, and use the data on private section instead,
343 remove the initial_hint check
344 (hildon_pannable_area_expose_event): add the initial_hint check here
346 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
348 * src/hildon-pannable-area.c
349 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
350 if the fadeout effect was used
351 (hildon_pannable_area_expose_event): check if it is required to
352 manage the initial effect on the begining of the function. Previously
353 it was made at the end, but this doesn't ensure that the scrollbars
354 will be painted on the first show. Do not set to FALSE initial_effect,
355 to ensure that the initial hint is showed the first time the pannable
357 * examples/Makefile.am
358 * examples/hildon-pannable-area-initial-hint-example.c:
359 New example, to show that the initial-hint is showed when the widget
362 Fixes: NB#116607 (Pannable area should always have scrollbar visible
363 initially if the application can be scrolled)
365 2009-05-25 Alberto Garcia <agarcia@igalia.com>
367 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
368 Resize table before adding new items to make sure that
369 gtk_table_resize() is called just once.
371 2009-05-25 Alberto Garcia <agarcia@igalia.com>
373 * hildon/hildon-app-menu-private.h
374 * hildon/hildon-app-menu.c (item_visibility_changed)
375 (filter_visibility_changed, hildon_app_menu_show_all)
376 (hildon_app_menu_hide_all, hildon_app_menu_init):
377 Rearrange items just once when gtk_widget_show_all()/hide_all()
380 2009-05-25 Alberto Garcia <agarcia@igalia.com>
382 * hildon/hildon-app-menu.c
383 (hildon_app_menu_insert, hildon_app_menu_add_filter):
384 Don't call gtk_widget_show() on added items.
386 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
387 automatically when they're added)
389 2009-05-20 Alberto Garcia <agarcia@igalia.com>
391 * hildon/hildon-banner.c
392 (hildon_banner_realize, +hildon_banner_unrealize)
393 (+screen_size_changed, hildon_banner_class_init):
394 Redisplay the banner if the screen is rotated.
396 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
397 on transition from landscape to portrait)
399 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
401 * hildon/hildon-banner.[ch]:
402 (hildon_banner_show_information_override_dnd): remove icon_name from the
403 method definition as it is ignored.
404 * examples/hildon-banner-dnd-example.c: updated with the change on
407 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
409 * hildon/hildon-banner-private.h: new require_override_dnd and
410 overrides_dnd variables
411 * hildon/hildon-banner.h:
412 (hildon_banner_show_information_override_dnd): new method, that shows
413 the information but sets the override flag, in order to show important
415 * hildon/hildon-banner.c
416 (hildon_banner_show_information_override_dnd): new method
417 (hildon_banner_set_override_flag): new utility function
418 (hildon_banner_real_show_information): new utility function, in order to
419 generalize the current hildon_banner_show_information_override_dnd and
420 hildon_banner_show_information_override_dnd
421 * examples/Makefile.am
422 * examples/hildon-banner-dnd-example.c: New example that show how to
423 use the new hildon_banner_show_information_override_dnd
425 Fixes: NB#114874 (There is no possibility to show hildon banners with
428 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
430 * hildon/hildon-pannable-area.c: Add a comment explaining the math
431 behind hildon_pannable_calculate_vel_factor().
433 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
435 * hildon/hildon-pannable-area.c
436 (hildon_pannable_calculate_vel_factor): Correct the sum of the
437 deceleration factors.
439 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
441 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
442 Reduce the default value for 'scroll_time' to 1 second, since the
443 current initial scrolling takes too much time.
445 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
447 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
448 calculate velocity factor during initialization, since the properties
451 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
453 * hildon/hildon-pannable-area.c
454 (hildon_pannable_area_set_property): Calculate the velocity factor
455 after setting the deceleration property and not after.
457 2009-05-20 Alberto Garcia <agarcia@igalia.com>
459 * hildon/hildon-entry.c
460 (hildon_entry_class_init, +set_property, hildon_entry_new)
461 * hildon/hildon-check-button.c
462 (hildon_check_button_class_init)
463 (+set_property, hildon_check_button_new):
464 Make the theme size a property.
466 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
467 others) do too much in the _new function)
469 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
471 * configure.ac: post release version bump
472 * debian/changelog: post release version bump
474 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
479 * configure.ac: Bump version.
480 * debian/changelog: Updates.
482 2009-05-15 Alberto Garcia <agarcia@igalia.com>
484 * hildon/hildon-gtk.h
485 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
486 New API function to take a screenshot of a window
488 Fixes: NB#106374 (Need API to take a loading screenshot)
490 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
492 * hildon/hildon-time-selector.c
493 (update_format_policy): prevent to use hours and minutes unitialized
495 2009-05-15 Alberto Garcia <agarcia@igalia.com>
497 * hildon/hildon-window.c (hildon_window_size_request):
498 Always request the full size of the screen (minus the title bar if
499 not in fullscreen mode).
501 Fixes: NB#107486 (HildonWindow should size itself properly)
503 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
505 * hildon/hildon-note-private.h: Add idle_handler to the private data.
506 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
507 (on_show_cb), (sound_handling): Disconnect the idle handler for
508 the sound when the note is finalized to avoid possible crashes.
510 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
513 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
515 * src/hildon-animation-actor.c,
516 * src/hildon-remote-texture.c:
517 Added proper object cleanup to remove signal handler and object
518 references as HildonAnimationActor and HildonRemoteTexture
519 objects get destroyed.
521 Fixes: NB#116682 (Destroying parented animation actors when
522 parent in unmapped leads to crash)
524 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
526 Based on a patch by Christian Dywan (christian@imendio.com)
528 * doc/hildon-sections.txt:
529 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
530 * hildon/hildon-helper.h: New file size formatting method.
532 * debian/control: Depend on osso-filemanager l10n package for
533 proper localization strings.
535 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
537 * tests/Makefile.am: Include top_srcdir to make possible to build
538 tests in a different builddir.
539 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
540 on a different builddir.
542 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
544 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
545 (hildon_touch_selector_remove): Disconnect model's signal handler
548 Fixes: NB#116289 (Hildon home crashes while adding task
551 2009-05-11 Alberto Garcia <agarcia@igalia.com>
553 * hildon/hildon-button.c
554 (hildon_button_set_title, hildon_button_set_value):
555 Hide labels containing an empty string.
557 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
559 * configure.ac: post release version bump
560 * debian/changelog: post release version bump
562 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
567 * configure.ac: Bump version.
568 * debian/changelog: Updates.
570 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
572 * hildon/hildon-note-private.h: Removed sound_signal_handler
573 * hildon/hildon-note.c
574 (on_show_cb): new callback on note "show" event, this simply adds
575 a idle, with the function sound_handling
576 (sound_handling): removed the sound_signal_handler management
577 (hildon_note_init): connect note "show" event to on_show_cb
578 (hildon_note_realize): remove the connection to "expose-event"
580 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
581 device?' confirmation note)
583 2009-05-08 Alberto Garcia <agarcia@igalia.com>
585 * hildon/hildon-note.c
586 (hildon_note_new_information_with_icon_name)
587 (hildon_note_new_confirmation_with_icon_name):
588 Terminate the list of parameters in g_object_set() calls
590 Fixes: NB#115166 (Formatting memory card is not taking place)
592 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
594 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
595 "dialog-information" role for the sound being played.
597 2009-05-06 Alberto Garcia <agarcia@igalia.com>
599 * hildon/hildon-app-menu.c (hildon_app_menu_init):
600 Don't make the menu a modal window, it causes strange interactions
601 with the pointer grab and it's not really needed.
603 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
605 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
607 * hildon/hildon-touch-selector.[ch]
608 (hildon_touch_selector_optimal_size_request): function added to get a
609 optimal size request from the touch selector, when you want a dialog to
610 show as much of the selector
611 * hildon/hildon-picker-dialog.c:
612 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
613 (hildon_app_menu_class_init):
614 New "max-height-landscape" and "max-height-portrait" style properties
615 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
616 (hildon_picker_dialog_get_max_height): returns the maximum height using
617 the style properties defined and checking the current portrait/landscape
619 (_hildon_picker_dialog_set_selector): removed the set_size_request
621 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
623 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
625 * hildon/hildon-bread-crumb-trail.c:
626 * hildon/hildon-bread-crumb.c:
627 * hildon/hildon-seekbar.c:
628 Add reference to replacements for these deprecated widgets.
630 Fixes: MB#4461 (Documentation: All deprecations should mention
633 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
635 * examples/hildon-remote-texture-example.c
637 Change the include to the hildon-remote-texture in order to compile
638 properly the examples on the installed libhildon1-examples package
640 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
642 * tests/Makefile.am: Add check for HildonPickerButton.
643 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
644 (START_TEST), (create_hildon_picker_button_suite): Add three simple
645 checks for the HildonPickerButton.
646 * tests/check_test.c (configure_tests): Add the test suite.
647 * tests/test_suites.h: likewise.
649 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
651 * hildon/hildon-touch-selector.c
652 (+on_row_changed): Emit HildonTouchSelector:changed when the
653 contents of a selected row change.
654 (_create_new_column), (_hildon_touch_selector_set_model): connect
655 to GtkTreeModel:row-changed on a newly set model.
657 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
659 2009-05-05 Alberto Garcia <agarcia@igalia.com>
661 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
663 * hildon/hildon-banner.c (hildon_banner_destroy)
664 (hildon_banner_show_progress, hildon_banner_set_fraction):
665 Remove the progress bar from HildonBanner and use a progress
668 Fixes: NB#113761 (Update progress banner to use progress
671 2009-05-04 Alberto Garcia <agarcia@igalia.com>
673 * hildon/hildon-banner.c:
674 Calculate size of the banner label using the actual screen width
675 rather than using a fixed value.
677 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
680 2009-05-04 Alejandro G. Castro <alex@igalia.com>
682 * hildon/hildon-pannable-area.c,
683 (hildon_pannable_area_class_init): Fixed signals documentation
686 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
688 * configure.ac: post release version bump
689 * debian/changelog: post release version bump
691 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
696 * configure.ac: Bump version.
697 * debian/changelog: Updates.
699 2009-05-01 Alberto Garcia <agarcia@igalia.com>
701 * hildon/hildon-edit-toolbar.c
702 (hildon_edit_toolbar_init):
703 Don't let buttons in HildonEditToolbar receive focus.
705 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
706 typing on an HW arrows key)
708 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
710 * doc/Makefile.am: Fix build.
712 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
714 * doc/Makefile.am: Do not redefine content_files.
716 2009-04-30 Alberto Garcia <agarcia@igalia.com>
724 Renamed src/ to hildon/
729 Include <hildon/hildon.h> directly in all examples.
731 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
733 * src/hildon-sort-dialog.c
734 (hildon_sort_dialog_add_sort_key_with_sorting)
738 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
740 * src/Makefile.am: Move generated sources to CLEANFILES, so that
741 make distcheck passes.
743 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
745 * Makefile.am: Enable gtk-doc during distcheck.
747 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
749 * Makefile.am: Do not distribute the debian/ directory.
751 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
753 * doc/Makefile.am: Add the extra SGML files to content_files,
754 so that they are distributed properly.
756 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
758 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
761 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
763 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
764 (hildon_note_new_information_with_icon_name): Set the "icon" property
765 to preserve soundness.
767 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
769 * src/hildon-font-selection-dialog.c
770 (hildon_font_selection_dialog_set_property): Fail when the "family"
771 property is set to NULL.
773 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
775 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
778 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
780 * src/hildon-time-selector.h:
781 Added HildonTimeSelectorFormatPolicy
782 * src/hildon-time-selector.c:
783 Added PROP_TIME_FORMAT_POLICY
784 (_check_ampm_format): renamed to check_automatic_ampm_format
785 (update_format_policy), (update_format_dependant_columns): new functions
786 (hildon_time_selector_class_init)
787 (hildon_time_selector_contructor)
788 (hildon_time_selector_init)
789 (hildon_time_selector_get_property)
790 (hildon_time_selector_set_property)
791 (hildon_time_selector_get_time)
792 (hildon_time_selector_set_time)
793 * src/hildon-touch-selector.h: new file
794 * src/hildon-touch-selector.c
795 (hildon_touch_selector_emit_changed)
796 (hildon_touch_selector_block_changed)
797 (hildon_touch_selector_unblock_changed)
798 Added functions to allow to block the emission of the "changed" signal
799 * src/hildon-picker-dialog.c
800 (hildon_picker_dialog_show): call the parent show before the custom code
801 * examples/hildon-time-button-example.c
802 Modified, so now you can configure the time format using the new property
804 Added a new property "time-format-policy" that allow to choose the time
805 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
806 case it uses gconf in order to check if the time selector must use
809 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
812 2009-04-28 Alberto Garcia <agarcia@igalia.com>
814 * src/hildon-note.c (hildon_note_init):
815 Label in HildonNote must be left aligned, not centered. This
816 reverts the last commit in HildonNote.
818 Fixes: NB#112933 (text is not left aligned in confirmation dialog
819 is connectivity dialog)
821 2009-04-27 Alberto Garcia <agarcia@igalia.com>
826 * doc/hildon-sections.txt:
827 Added hildon_gtk_window_set_do_not_disturb()
829 2009-04-27 Alberto Garcia <agarcia@igalia.com>
831 * src/hildon-note.c (hildon_note_init): Center label.
833 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
836 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
841 * configure.ac: Bump version.
842 * debian/changelog: Updates.
844 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
846 * src/hildon-note-private.h: Add button-width to the private data.
847 * src/hildon-note.c (+resize_button),
848 (+hildon_note_orientation_update): methods to repack widgets on orientation
850 (screen_size_changed): Call above method for confirmation notes.
851 (hildon_note_realize): Always connect to the "screen-size" changed signal.
852 (hildon_note_rebuild): Store the original width request from buttons.
854 Fixes: NB#109635 (Confirmation notes do not support portrait)
856 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
858 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
859 when it is a progress note.
861 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
863 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
864 in the note, since there are no horizontally arranged contents.
866 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
868 * src/hildon-gtk.c (+set_flag): new generic method to
869 set/delay a flag setting in a window.
870 (hildon_gtk_window_set_progress_indicator):
871 (hildon_gtk_window_set_do_not_disturb),
872 (hildon_gtk_window_set_portrait_flags): use set_flag() to
873 avoid code redundance.
875 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
877 Based on a patch by Alberto Garcia (agarcia@igalia.com)
879 * src/hildon-gtk.c (set_clear_window_flag),
880 (do_set_progress_indicator), (do_set_do_not_disturb),
881 (do_set_portrait_flags),
882 (hildon_gtk_window_set_progress_indicator),
883 (hildon_gtk_window_set_do_not_disturb),
884 (hildon_gtk_window_set_portrait_flags):
885 Allow setting dnd-flag, progress indicator, and portrait flags
886 when the window is not realized.
888 2009-04-24 Alejandro G. Castro <alex@igalia.com>
890 * src/hildon-pannable-area.c,
891 * src/hildon-pannable-area.h: Add the hildon deprecated define to
892 the size request policy function and defines.
894 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
896 * doc/hildon-sections.txt: Add the new API.
897 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
898 method to set the portrait flags.
899 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
901 Fixes: NB#112328 (Adding helpers for setting portrait properties)
903 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
905 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
906 to allow using this method with other flags.
907 (hildon_gtk_window_set_progress_indicator): Update accordingly.
908 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
910 2009-04-22 Alberto Garcia <agarcia@igalia.com>
912 * src/hildon-touch-selector.c
913 (hildon_touch_selector_append_text_column):
914 Make the cell renderer use the smallest width possible.
916 Fixes: NB#108470 (Selected items in multiple selection are either
917 having a tick that is cut or not visible at all.)
919 2009-04-22 Alberto Garcia <agarcia@igalia.com>
921 * src/hildon-touch-selector.c
922 (hildon_touch_selector_append_text_column):
925 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
927 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
928 Use g_strdup_printf() instead of a fixed size buffer.
930 2009-04-21 Alberto Garcia <agarcia@igalia.com>
932 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
933 Close banners when a HildonAppMenu is popped up.
935 Fixes: NB#111027 (Title menu closed immediately if activated when
936 "Invalid e-mail address" banner is shown)
938 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
943 * configure.ac: Bump version.
944 * debian/changelog: Updates.
946 2009-04-20 Alberto Garcia <agarcia@igalia.com>
948 * src/hildon-banner.c (hildon_banner_realize):
949 Mark HildonBanner as supporting portrait mode.
950 Use GDK to set window properties insetad of direct Xlib calls.
952 Fixes: NB#111830 (HildonBanner should be marked as supporting
955 2009-04-20 Alberto Garcia <agarcia@igalia.com>
957 * src/hildon-note.c (hildon_note_rebuild):
958 Hide action area in information notes. Prevents text from being
959 slightly aligned to the left.
961 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
964 2009-04-20 Alberto Garcia <agarcia@igalia.com>
966 Patch by Mox Soini (ext-mox.soini@nokia.com)
968 * src/hildon-banner.c (hildon_banner_create_animation):
969 Use stylus-sized icons in animation banner.
971 Fixes: NB#111206 (stylus sized icon for animation banner)
973 2009-04-20 Alberto Garcia <agarcia@igalia.com>
977 (+hildon_gtk_window_set_do_not_disturb):
978 New API to set the do-not-disturb flag.
980 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
982 2009-04-20 Alberto Garcia <agarcia@igalia.com>
984 * examples/hildon-progress-indicator-example.c: Fix example
986 * src/hildon-gtk.c (set_clear_window_flag)
987 (hildon_gtk_window_set_progress_indicator):
988 Create a generic function for setting flags to a window.
989 Use GDK instead of direct Xlib calls.
991 2009-04-14 Alberto Garcia <agarcia@igalia.com>
993 * src/hildon-button.c (hildon_button_set_arrangement):
994 Due to NB#88126, if one of the labels is too long it will be
995 painted outside the button. The 'value' label is more likely to be
996 the longest one, so we change its packing options in order to
997 truncate it if necessary. As a side effect, the 'title' label will
998 no longer be truncated.
1000 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1002 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1007 * configure.ac: Bump version.
1008 * debian/changelog: Updates.
1010 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1012 Deprecation of the hildon_pannable_area_set_size_request_policy
1013 API, the only policy properly supported in gtk+ nowadays is the
1016 * src/hildon-pannable-area.c,
1017 (hildon_pannable_area_size_request): Added a workaround for the
1018 size_request to avoid the problems of huge pixmaps in case someone
1019 is still using the function.
1020 * src/hildon-pannable-area.h: Deprecated the enum with the
1023 Fixes: NB#110244 (Problems with the
1024 hildon_pannable_area_set_size_request_policy API)
1026 2009-04-08 Alejandro G. Castro <alex@igalia.com>
1028 * src/hildon-pannable-area.c,
1029 (hildon_pannable_area_init),
1030 (hildon_pannable_area_size_request),
1031 (hildon_pannable_area_style_set),
1032 (hildon_pannable_draw_vscroll),
1033 (hildon_pannable_draw_hscroll),
1034 (hildon_pannable_area_check_scrollbars): Replaced area_width with
1035 indicator_width to clarify the use of the attribute.
1037 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
1042 * configure.ac: Bump version.
1043 * debian/changelog: Updates.
1045 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
1047 * src/hildon-picker-dialog.c
1048 * src/hildon-touch-selector.c
1049 Reverting the change that tried to avoid the hardcoded height on
1050 the picker dialog, as causes problems on the hildon-touch-selector
1053 Fixes: NB#110029 (selectors not scrolling to selected value)
1055 2009-04-07 Alberto Garcia <agarcia@igalia.com>
1057 * src/hildon-touch-selector.c: Fix typos
1059 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1061 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1062 Use the event coordinates instead of gdk_window_get_pointer(). Also,
1063 request more motions after using it.
1065 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1067 * src/hildon-calendar.c (hildon_calendar_expose),
1068 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1069 Remove unused variables.
1071 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1073 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1074 variable assignment.
1076 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1078 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1079 Check the return value of gtk_tree_selection_get_selected()
1082 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1084 * src/hildon-animation-actor.c
1085 * src/hildon-button.c
1087 * src/hildon-pannable-area.c
1088 * src/hildon-picker-button.c
1089 * src/hildon-program.c
1090 * src/hildon-remote-texture.c
1091 * src/hildon-text-view.c
1092 * src/hildon-touch-selector.c
1093 * src/hildon-window-stack.c
1094 * src/hildon-window.c:
1095 Add missing 'Since: 2.2' tags.
1097 * doc/hildon-sections.txt:
1098 Add some missing symbols.
1100 * doc/hildon-docs.sgml:
1101 New 'Other' section for HildonAnimationActor and
1104 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1106 Patch by Iván Gómez (igomez@igalia.com)
1109 * doc/compiling.sgml
1110 * doc/hildon-docs.sgml
1111 * doc/hildon-sections.txt
1112 * doc/migration.sgml
1113 * doc/resources.sgml
1115 New chapters on using the Hildon library.
1116 Updated the general structure of the reference manual.
1117 Other minor documentation fixes.
1119 * src/hildon-calendar-popup.c
1120 * src/hildon-calendar.c
1121 * src/hildon-controlbar.c
1122 * src/hildon-date-editor.c
1123 * src/hildon-dialog.c
1124 * src/hildon-hvolumebar.c
1125 * src/hildon-number-editor.c
1126 * src/hildon-range-editor.c
1127 * src/hildon-sort-dialog.c
1128 * src/hildon-time-editor.c
1129 * src/hildon-time-picker.c
1130 * src/hildon-volumebar-range.c
1131 * src/hildon-volumebar.c
1132 * src/hildon-vvolumebar.c
1133 * src/hildon-weekday-picker.c:
1134 Add deprecation notes
1136 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1137 Document 'horizontal-movement' and 'vertical-movement' signals.
1139 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
1144 * configure.ac: Bump version.
1145 * debian/changelog: Updates.
1147 2009-04-06 Alejandro G. Castro <alex@igalia.com>
1149 * src/hildon-pannable-area.c,
1150 (hildon_pannable_area_class_init): increased the minimum velocity.
1151 (hildon_pannable_area_button_release_cb): Updated the
1152 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
1153 setup. Review the code to control that last event.
1155 Fixes: NB#109790 (Releasing finger in pannable area easily causes
1158 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
1160 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1162 * src/hildon-get-password-dialog.c
1163 (hildon_get_password_set_property),
1164 (hildon_get_password_get_property), (create_contents):
1165 * src/hildon-login-dialog-private.h:
1166 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
1167 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
1168 (hildon_login_dialog_get_password):
1169 * src/hildon-set-password-dialog-private.h:
1170 * src/hildon-set-password-dialog.c
1171 (hildon_set_password_set_property),
1172 (hildon_set_password_get_property), (create_contents),
1173 (hildon_set_password_response_change),
1174 (hildon_set_password_response_set), (hildon_checkbox_toggled):
1176 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
1177 instead and look more Fremantle style.
1179 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
1181 2009-04-03 Alberto Garcia <agarcia@igalia.com>
1183 * doc/hildon-sections.txt
1184 * src/hildon-window-stack.h
1185 * src/hildon-window-stack.c
1186 (+hildon_window_stack_get_windows):
1187 New API to obtain the list of windows on a stack.
1189 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1191 * src/hildon-app-menu.c (hildon_app_menu_popup)
1192 (hildon_app_menu_class_init, -hildon_app_menu_show):
1193 Remove hildon_app_menu_show() and move all its checks to
1194 hildon_app_menu_popup()
1196 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
1198 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
1199 (_hildon_picker_dialog_set_selector): removed call to
1200 gtk_widget_set_size_request
1201 * src/hildon-touch-selector.c
1202 (_create_new_column): change the pannable size request policy
1204 Avoid to use a hardcoded height for the hildon picker dialog. In order
1205 to get that, we needed to change the hildon pannable size request
1207 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1209 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1211 * src/hildon-window.c (hildon_window_map): Check for vbox to be
1212 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
1215 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1217 * debian/control: Depend on osso-system-lock localization package.
1218 * src/hildon-code-dialog.c: Obtain the secu_application_title
1219 translation from osso-system-lock.
1220 * src/hildon-get-password-dialog.c (create_contents): Do not mark
1221 for translation the atk related strings, that's not necessary.
1222 * src/hildon-set-password-dialog.c (create_contents): Ditto.
1223 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
1224 cancel button, it is not required.
1226 2009-04-02 Alejandro G. Castro <alex@igalia.com>
1228 * src/hildon-pannable-area.c,
1229 (hildon_pannable_area_class_init): Modified the default value of
1230 the overshooting max speed, we have reduced it.
1232 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1234 * doc/hildon-sections.txt
1235 * src/hildon-window-private.h
1236 * src/hildon-window.h
1237 * src/hildon-window.c (hildon_window_class_init)
1238 (hildon_window_init, hildon_window_finalize)
1239 (hildon_window_realize, hildon_window_get_property)
1240 (hildon_window_set_property, hildon_window_update_markup)
1241 (hildon_window_get_markup, hildon_window_set_markup):
1242 New "markup" property and hildon_window_{get,set}_markup() methods.
1244 * examples/hildon-stackable-window-example.c (new_window):
1245 Update example to use hildon_window_set_markup()
1247 Fixes: NB#106375 (Need API to retitle a window with a title
1250 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1252 * src/hildon-pannable-area.c,
1253 (hildon_pannable_area_class_init): Changed the default value of
1254 the initial_hint to TRUE.
1255 (hildon_pannable_area_initial_effect): Changed the initial effect,
1256 not the effect is just the fade-out of the scrollbars.
1258 Fixes: NB#107775 (No scrollbars can be seen when several items are
1259 available in a dialog)
1261 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1263 * src/hildon-program.c (hildon_program_update_top_most):
1266 Fixes: NB#109179 (Memory leak in Hildon program)
1268 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1270 * src/hildon-banner.c (-get_current_app_window):
1271 Remove unused function.
1273 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1275 * src/hildon-pannable-area.c: Modified the documentation of the
1276 get adjustments functions to explain the problem of using the
1277 adjustment directly.
1278 (hildon_pannable_area_class_init): Improved the explanation about
1281 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1283 * src/hildon-app-menu-private.h
1284 * src/hildon-app-menu.c
1285 (hildon_app_menu_class_init):
1286 Bring back the 'external-border' style property
1287 (hildon_app_menu_class_init, hildon_app_menu_init)
1288 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
1289 Set a fixed width-request for the menu, independent of the number
1292 Fixes: NB#94957 (Smoothly opened application menu)
1294 2009-03-30 Alberto Garcia <agarcia@igalia.com>
1296 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
1298 * src/hildon-banner.c
1299 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
1301 Make sure that the banner is correctly placed the first time it's
1303 (hildon_banner_check_position, -check_fullscreen_state):
1304 Show the banner in the same place no matter if the window is in
1305 fullscreen mode or not.
1307 Fixes: NB#107386 (Odd stacking behaviour for information banners)
1309 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1311 * src/hildon-touch-selector.c (_default_print_func): reorder
1312 concatenation for clarity.
1314 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1316 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
1317 for multicolumn selectors.
1319 Fixes: NB#109099 (Memory leak in Hildon touch selector)
1321 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
1326 * configure.ac: Bump version.
1327 * debian/changelog: Updates.
1329 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
1331 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
1334 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1336 * configure.ac: removed libcangerra-gtk dependency
1337 * debian/control: removed libcanberra-gtk dependency
1338 * src/Makefile.am: removed libcanberra gtk related flags
1339 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1340 context, and manage a global canberra context instead
1342 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1344 2009-03-26 Alberto Garcia <agarcia@igalia.com>
1346 Patch by Daniel Borgmann (danielb@openismus.com)
1348 * src/hildon-edit-toolbar.c:
1349 Adjust the left padding.
1350 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
1351 Paint background of the edit toolbar.
1353 Fixes: NB#107897 (Patch to make editmodetoolbar background
1354 themeable and adjust margin)
1356 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1358 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1360 * src/hildon-program.c (hildon_program_update_top_most):
1361 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
1363 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
1364 change when the user tasks in/out of an application)
1366 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1368 * configure.ac: added libcangerra-gtk dependency
1369 * debian/control: added libcanberra-gtk dependency
1370 * src/Makefile.am: added libcanberra gtk related flags
1371 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
1374 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1376 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1378 * src/hildon-program.c (hildon_program_remove_window)
1379 (hildon_program_add_window): Add checks for the window
1380 parameter. Don't decrease the window counter if the window is not
1383 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1385 * src/hildon-pannable-area.c,
1386 (hildon_pannable_area_realize): Fixed position of the event_window
1387 in the realize method.
1389 2009-03-24 Alberto Garcia <agarcia@igalia.com>
1391 * src/hildon-app-menu-private.h
1392 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
1393 (hildon_app_menu_map, hildon_app_menu_hide_idle)
1394 (hildon_app_menu_key_press, hildon_app_menu_init)
1395 (hildon_app_menu_finalize):
1396 Make sure that all idle functions are removed when the widget is
1399 Fixes: NB#107583 (Hildon app menu crashes in various applications)
1401 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1406 * configure.ac: Bump version.
1407 * debian/changelog: Updates.
1409 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1411 * src/hildon-entry.c
1412 (+hildon_entry_show_placeholder),
1413 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
1414 that replace hildon_entry_update_contents().
1415 (hildon_entry_set_text),
1416 (hildon_entry_set_placeholder),
1417 (hildon_entry_focus_in_event),
1418 (hildon_entry_focus_out_event): Determine when it is needed
1419 either to show or hide the placeholder and call the above methods.
1421 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
1422 when the placeholder text is already set)
1424 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1426 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
1427 simple GdkPixbufAnim using the new icons for the banner.
1428 (hildon_banner_show_animation): Use the above mentioned method to
1429 create the animation widget.
1431 Fixes: NB#103564 (Make hildon animation banner use individual
1432 image files as the animation)
1434 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1436 * src/hildon-pannable-area.c,
1437 (hildon_pannable_leave_notify_event): Check if the child is NULL
1438 to avoid sending the leave.
1440 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1442 * src/hildon-pannable-area.c,
1443 (hildon_pannable_area_class_init),
1444 (hildon_pannable_leave_notify_event): Added a handler of the
1445 leave-notify-signal to consider when no motion notify before
1448 Fixes: NB#107494 (Items stay selected when clicking and moving
1449 away when inside pannable area)
1451 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
1456 * configure.ac: Bump version.
1457 * debian/changelog: Updates.
1459 2009-03-19 Alejandro G. Castro <alex@igalia.com>
1461 Patch by Alberto Garcia (agarcia@igalia.com)
1463 * src/hildon-date-button.c,
1464 (hildon_date_button_class_init),
1465 (hildon_date_button_init): Removed the construct property handling
1466 and created a default selector in the init method.
1467 * src/hildon-picker-button.c,
1468 (hildon_picker_button_class_init): Removed the construct flag of the
1471 2009-03-18 Alberto Garcia <agarcia@igalia.com>
1473 * src/hildon-main.c (hildon_init):
1474 Don't allow hildon_init() to be called more than once.
1476 Fixes: NB#106607 (hildon_init should issue error message upon
1479 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
1481 * examples/hildon-pannable-area-touch-list-example.c
1482 * examples/hildon-pannagle-area-touch-grid-example.c
1483 * examples/hildon-edit-toolbar-example.c
1484 * examples/hildon-touch-selector-multi-cells-example.c
1485 Removed the call to gtk_rc_parse_string, as it is not required since
1488 2009-03-17 Alejandro G. Castro <alex@igalia.com>
1490 * src/hildon-pannable-area.c,
1491 (hildon_pannable_area_class_init): Modified the default panning
1492 threshold of the widget to 6px.
1494 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
1495 than the threshold value ) within the button is not sending the
1498 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1500 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
1501 for the treeview in the new column. This way, the touch list will never
1504 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
1505 be selected manually for the HW keys to work)
1507 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1509 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
1510 comparison instead of using strcmp(). Fixes a compiler warning as well.
1512 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1514 * doc/hildon-docs.sgml: Do not set the library version in the
1515 document title, use the releaseinfo tag for that purpose instead.
1517 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1519 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
1520 Do not jump to the first item if the text in the entry is removed.
1522 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1527 * configure.ac: Bump version.
1528 * debian/changelog: Updates.
1530 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
1532 * src/hildon-entry.c (hildon_entry_refresh_contents):
1533 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
1534 Use "ReversedSecondaryTextColor" for the placeholder text.
1536 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1538 * src/hildon-text-view.c: Fix compilation warning.
1540 2009-03-12 Alberto Garcia <agarcia@igalia.com>
1542 * src/hildon-button.c (hildon_button_class_init): Don't make
1543 "title" and "value" construction properties, to prevent them from
1544 overwriting labels set from derived classes.
1546 * src/hildon-picker-button.c
1547 (hildon_picker_button_set_selector): Allow setting a NULL selector.
1548 (hildon_picker_button_class_init): Make touch-selector a
1549 construction property.
1551 * src/hildon-date-button.c (hildon_date_button_class_init)
1552 (+hildon_date_button_constructed): Add a default date selector if
1555 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1557 * src/hildon-touch-selector.c: Small documentation fixes.
1559 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1561 Based on a patch by Daniel Borgmann (danielb@openismus.com)
1563 * src/hildon-entry.c (hildon_entry_refresh_contents),
1564 (hildon_entry_get_text), (hildon_entry_init): Do not use the
1565 widget name, set the logical color directly instead and a boolean
1566 showing_placeholder instead.
1567 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
1568 use the widget name here either.
1570 Fixes: NB#105678 (HildonTextView should use logical colours
1571 instead of setting widget name)
1573 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1575 Patch by Daniel Elster (danielk@openismus.com)
1577 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
1578 Add user_data parameter.
1579 (hildon_touch_selector_set_print_func_full): New function akin
1580 hildon_touch_selector_set_print_func() but with support for user
1581 data and a destroy callback.
1582 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
1583 to clean up the print function user data.
1584 (hildon_touch_selector_class_init): Install dispose function.
1585 (HildonTouchSelectorPrivate::print_user_data),
1586 (HildonTouchSelectorPrivate::print_destroy_func): New private
1588 (hildon_touch_selector_init): Initialize new private members.
1589 (hildon_touch_selector_get_current_text): Pass along user data
1590 to the print function.
1591 (_default_print_func): Add dummy user_data to parameter list.
1592 * hildon-date-selector.c (_custom_print_func): ditto,
1593 * hildon-time-selector.c (_custom_print_func): ditto,
1594 * hildon-touch-selector-entry.c
1595 (hildon_touch_selector_entry_print_func): ditto.
1597 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
1599 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
1601 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
1603 2009-03-12 Alejandro G. Castro <alex@igalia.com>
1605 * src/hildon-pannable-area.c,
1606 (hildon_pannable_area_init),
1607 (hildon_pannable_area_button_press_cb),
1608 (hildon_pannable_area_motion_notify_cb): We have added code to
1609 handle the leave and enter events when using the motion events.
1611 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
1613 2009-03-11 Alberto Garcia <agarcia@igalia.com>
1615 * src/hildon-date-button.c (hildon_date_button_get_date)
1616 (hildon_date_button_set_date): Make sure that the button has a
1619 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
1621 2009-03-11 Alejandro G. Castro <alex@igalia.com>
1623 * src/hildon-pannable-area.c,
1624 (hildon_pannable_area_class_init),
1625 (hildon_pannable_area_calculate_velocity): Modify the use of the
1626 force and adapt the value.
1628 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1630 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
1631 (hildon_app_menu_class_init): Hide the menu if it receives a
1632 delete-event, but don't destroy it
1634 Fixes: NB#104485 (Not able to address the call when application
1635 menu is opened at background)
1637 2009-03-10 Alberto Garcia <agarcia@igalia.com>
1639 * src/hildon-app-menu.c
1640 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
1641 Remove the "external-border" style property, let the menu take its
1642 natural size (or the one set by the window manager)
1643 (hildon_app_menu_repack_items):
1644 Don't reshow the menu, avoid flickers.
1646 Partially fixes NB#94957 (Smoothly opened application menu)
1648 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
1653 * configure.ac: Bump version.
1654 * debian/changelog: Updates.
1656 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1658 * src/hildon-pannable-area.c,
1659 (hildon_pannable_area_motion_notify_cb): We control that the
1660 direction error margin is used just in case the movement is
1661 allowed in the other direction.
1663 Fixes: NB#105012 (buttons inside a pannable area not getting
1664 release event when dragging/releasing)
1666 2009-03-10 Alejandro G. Castro <alex@igalia.com>
1668 * src/hildon-pannable-area.c,
1669 (hildon_pannable_area_class_init),
1670 (hildon_pannable_area_get_property),
1671 (hildon_pannable_area_set_property),
1672 (hildon_pannable_area_initial_effect),
1673 (hildon_pannable_axis_scroll),
1674 (hildon_pannable_area_button_release_cb): Reviewed the
1675 overshooting effect, now it has its own max
1676 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
1677 speed when bouncing.
1679 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
1684 * configure.ac: Bump version.
1685 * debian/changelog: Updates.
1687 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1689 * src/hildon-pannable-area.c,
1690 (hildon_pannable_area_class_init): Changed the max speed, now
1691 users can launch the widget very fast. Reduced the default force,
1692 that way it is easier to control the launch speed.
1694 2009-03-09 Alejandro G. Castro <alex@igalia.com>
1696 * src/hildon-pannable-area.c,
1697 (hildon_pannable_area_button_release_cb): Removed this check
1698 because it causes problems when the device is overloaded.
1700 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1702 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1703 add a current_text field to store the text entered in the
1704 touch selector entry.
1705 (_clean_current_selection): clean up the current text as well.
1706 (_save_current_selection), (_restore_current_selection):
1707 Save/restore the text in the entry if the selector is a
1708 HildonTouchSelectorEntry.
1710 Fixes: NB#102541 (value entered in the touch selector entry is not
1711 shown when opened for second time)
1713 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
1715 * doc/hildon-sections.txt:
1716 * src/hildon-touch-selector-entry.c
1717 (+hildon_touch_selector_entry_get_entry):
1718 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
1720 Fixes: NB#104815 (I need accessor to the entry inside
1721 HildonTouchSelectorEntry)
1723 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1725 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
1726 (hildon_app_menu_class_init):
1727 New "filter-vertical-spacing" style property.
1729 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1731 * src/hildon-find-toolbar.c
1732 (hildon_find_toolbar_emit_close)
1733 (hildon_find_toolbar_emit_invalid_input)
1734 (hildon_find_toolbar_entry_activate):
1735 Use g_signal_emit() instead of g_signal_emit_by_name()
1737 2009-03-06 Alberto Garcia <agarcia@igalia.com>
1739 Patch by Mox Soini (ext-mox.soini@nokia.com)
1741 * tests/TEST-CASES.txt
1742 * tests/check-hildon-banner.c
1743 * tests/check-hildon-note.c
1744 * src/hildon-banner.c
1745 * src/hildon-code-dialog.c
1746 * src/hildon-date-editor.c (real_set_calendar_icon_state)
1747 * src/hildon-time-editor.c
1748 * examples/hildon-lookup-example.c (main):
1749 Replace obsolete icon names with new ones.
1751 * src/hildon-find-toolbar-private.h:
1752 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
1753 (-hildon_find_toolbar_emit_search):
1754 Remove find button and change icon of close button.
1756 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
1758 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1760 * src/hildon-time-button.c (hildon_time_button_new_step):
1761 Use the "touch-selector" property to set the selector directly
1762 when creating the object.
1764 2009-03-05 Alejandro G. Castro <alex@igalia.com>
1766 Added a new example application that allows tuning the pannable
1767 area and replaced defines with properties in order to simplify the
1768 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
1769 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
1770 PROP_DIRECTION_ERROR_MARGIN.
1772 * examples/hildon-pannable-area-tuning-example.c: New example
1774 * src/hildon-pannable-area.c,
1775 (hildon_pannable_area_class_init),
1776 (hildon_pannable_area_init),
1777 (hildon_pannable_area_get_property),
1778 (hildon_pannable_area_set_property),
1779 (hildon_pannable_area_launch_fade_timeout),
1780 (hildon_pannable_area_adjust_value_changed),
1781 (hildon_pannable_axis_scroll),
1782 (hildon_pannable_area_motion_notify_cb),
1783 (hildon_pannable_area_scroll_cb),
1784 (hildon_pannable_area_button_release_cb): We have converted some
1785 of the defines that control the widget to properties to simplify
1788 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1790 * src/hildon-app-menu.c (hildon_app_menu_map)
1791 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
1792 so it's closed if a new window appears.
1794 Fixes: NB#104485 (Not able to address the call when application
1795 menu is opened at background)
1797 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1799 * src/hildon-color-button.c (hildon_color_button_get_property):Add
1800 missing 'break' statement in in 'case' construct to avoid
1803 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1805 * src/hildon-touch-selector-entry.c
1806 (hildon_touch_selector_entry_get_property),
1807 (hildon_touch_selector_entry_set_property): Add missing 'break'
1808 statements in in 'case' constructs to avoid incorrect warnings.
1810 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1812 * src/hildon-time-editor.c
1813 (hildon_time_editor_get_time_separators): Do not crash if
1814 the first label is NULL.
1816 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1818 * src/hildon-date-selector.c (_month_days): Check for month to be
1819 strictly less than 12, since otherwise we may overrun the array.
1821 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1823 * src/hildon-date-button.c (+hildon_date_button_new_full)
1824 (hildon_date_button_new, hildon_date_button_new_with_year_range)
1825 (hildon_date_button_init): Set the date selector using a
1826 construction property, to make it happen after HildonButton's
1827 "value" property is set.
1829 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
1830 current date by default)
1832 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1834 * doc/hildon-sections.txt
1835 * src/hildon-program.c
1836 * src/hildon-stackable-window.c
1837 * src/hildon-window.c:
1838 Documentation updates
1840 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1842 * src/hildon-window-stack.c (hildon_window_stack_get_default)
1843 (hildon_window_stack_new, +hildon_window_stack_set_property)
1844 (+hildon_window_stack_get_property)
1845 (hildon_window_stack_class_init)
1846 (+hildon_window_stack_set_window_group)
1847 (+hildon_window_stack_get_window_group):
1848 Make the window group a construction property.
1850 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1852 * doc/hildon-sections.txt
1853 * src/hildon-stackable-window-private.h
1854 * src/hildon-stackable-window.h
1855 * src/hildon-stackable-window.c
1856 (-hildon_stackable_window_set_app_menu)
1857 (-hildon_stackable_window_get_app_menu)
1858 (-hildon_stackable_window_toggle_menu)
1859 (-hildon_stackable_window_finalize)
1860 (hildon_stackable_window_class_init)
1861 (hildon_stackable_window_init)
1862 * src/hildon-window-private.h
1863 * src/hildon-window.h
1864 * src/hildon-window.c (hildon_window_init)
1865 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
1866 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
1867 (hildon_window_get_main_menu, hildon_window_set_main_menu)
1868 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
1869 Moved all HildonAppMenu code to HildonWindow. The menu does not
1870 require a HildonStackableWindow anymore.
1872 * src/hildon-app-menu.c
1873 * src/hildon-program.c
1874 * examples/hildon-app-menu-example.c (main):
1875 Update examples and documentation to reflect HildonAppMenu
1878 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1880 * src/hildon-remote-texture.c
1881 * src/hildon-animation-actor.c:
1882 Don't include unused private headers.
1884 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1886 * src/hildon-program-private.h
1887 * src/hildon-program.c
1888 (hildon_program_set_common_menu)
1889 (hildon_program_get_common_menu)
1890 (hildon_program_set_common_app_menu)
1891 (hildon_program_get_common_app_menu):
1892 Change common menu pointers from GtkWidget* to GtkMenu* and
1893 HildonAppMenu* to avoid unnecessary casts.
1895 2009-03-03 Alberto Garcia <agarcia@igalia.com>
1897 * src/hildon-window.c (hildon_window_set_main_menu):
1898 Removed incorrect 'Since:' tag
1900 2009-03-03 Alejandro G. Castro <alex@igalia.com>
1902 * src/hildon-pannable-area.c,
1903 (hildon_pannable_area_calculate_velocity): We use now the
1904 RATIO_TOLERANCE here to check the distance, fixed typo in the
1906 (hildon_pannable_area_motion_notify_cb): We have to set the type
1907 and time even if we are not sending the motion.
1909 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1911 * doc/hildon-sections.txt
1912 * src/hildon-app-menu.h
1913 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
1914 (+hildon_app_menu_get_filters): New methods to get the contents of
1917 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
1920 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1922 * src/hildon-app-menu.c (hildon_app_menu_popup):
1925 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1927 * src/hildon-window.h
1928 * src/hildon-window.c (+hildon_window_get_main_menu)
1929 (hildon_window_get_menu): Created hildon_window_get_main_menu()
1930 and deprecated hildon_window_get_menu().
1932 * src/hildon-stackable-window.h
1933 * src/hildon-stackable-window.c
1934 (+hildon_stackable_window_set_app_menu)
1935 (+hildon_stackable_window_get_app_menu)
1936 (hildon_stackable_window_set_main_menu): Created
1937 hildon_stackable_window_{get,set}_app_menu() and deprecated
1938 hildon_stackable_window_set_main_menu().
1940 * doc/hildon-sections.txt
1941 * examples/hildon-app-menu-example.c (main)
1942 * src/hildon-app-menu.c
1943 * src/hildon-program.c:
1944 Updated examples and documentation.
1946 Fixes: NB#103758 (No way to obtain a menu from a
1947 HildonStackableWindow)
1949 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1954 * configure.ac: Bump version.
1955 * debian/changelog: Updates.
1957 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1959 * examples/hildon-remote-texture-example.c: Include
1960 hildon-remote-texture.h explicitely.
1961 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
1962 applications not defining _XOPEN_SOURCE which don't require this header.
1964 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1966 * doc/hildon-sections.txt
1967 * src/hildon-app-menu.h
1968 * src/hildon-app-menu.c (+hildon_app_menu_popup):
1969 New function to pop up a HildonAppMenu
1971 * src/hildon-stackable-window.c
1972 (hildon_stackable_window_toggle_menu):
1973 Use hildon_app_menu_popup() to show the menu.
1975 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1977 * src/hildon-app-menu.c (hildon_app_menu_show)
1978 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
1979 menu if there's another window between it and its parent window.
1981 Fixes: NB#100468 (Application menu window is launched even when a
1982 new secondary-window/dialog is pending to be shown/realized)
1984 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1986 * src/hildon-window-stack.c (hildon_window_stack_push)
1987 (hildon_window_stack_pop_and_push):
1988 Don't forget to push/pop the first window.
1989 Reverse the window list before calling _push_list()
1991 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1993 * src/hildon-picker-button.h
1994 * src/hildon-picker-button.c (hildon_picker_button_class_init):
1995 Remove "value_changed" slot to avoid ABI breakage
1997 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1999 * src/hildon-pannable-area.c,
2000 (hildon_pannable_area_realize),
2001 (hildon_pannable_area_unrealize),
2002 (hildon_pannable_draw_vscroll),
2003 (hildon_pannable_draw_hscroll): Changed the method to handle the
2004 GC used to draw the transparent scrollbar, this way we avoid
2005 creating the GC all the time when drawing the scrollbars.
2007 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2009 * src/hildon-pannable-area.c,
2010 (hildon_pannable_area_init),
2011 (hildon_pannable_area_remove): Removed some unnecessary casts.
2012 (hildon_pannable_area_dispose): Disconnected some signals before
2013 releasing the adjustments.
2015 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2017 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2018 Make sure that all widgets contained in the toolbar are shown.
2020 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2022 * doc/hildon-sections.txt
2023 * src/hildon-picker-button.h
2024 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2025 (_selection_changed, hildon_picker_button_on_dialog_response)
2026 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2027 New hildon_picker_button_value_changed() method.
2030 * src/hildon-picker-button-private.h
2031 * src/hildon-picker-button.c (hildon_picker_button_init)
2032 (+hildon_picker_button_disable_value_changed): Add protected
2033 function for disabling the "value-changed" signal.
2035 * src/hildon-date-button.c (hildon_date_button_set_date):
2036 Don't emit "value-changed" for each one of the three columns.
2038 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2039 before actual change of values)
2041 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2043 * src/hildon-pannable-area.c,
2044 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2045 for the treeview overshooting.
2047 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2049 * src/hildon-banner.c (+hildon_banner_bind_style):
2050 Renamed from hildon_banner_bind_label_style(), now naming the
2051 banner itself as well.
2052 (hildon_banner_show_information),
2053 (hildon_banner_show_information_with_markup),
2054 (hildon_banner_show_animation), (hildon_banner_show_progress):
2055 Name the widgets and labels, based on their type.
2057 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2060 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2062 * src/hildon-note.c (hildon_note_set_property): call
2063 hildon_note_rename() on HildonNote:note-type set.
2064 (hildon_note_rename): Name the note and its label, based on the
2065 HildonNote:note-type property.
2067 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2070 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2072 * src/hildon-pannable-area.c,
2073 (hildon_pannable_area_class_init),
2074 (hildon_pannable_area_motion_notify_cb): Reviewed the default
2075 panning parameters, increased SPS and deceleration factor. Added
2076 also a margin to control fake directions.
2078 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2080 Patch by Sven Herzberg (sven@imendio.com)
2082 * configure.ac: Add missing AM_PROG_CC_C_0
2083 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2085 See NB#101420 (Update unit tests and fix make check)
2087 2009-02-23 Alejandro G. Castro <alex@igalia.com>
2089 This patch was applied before but reverted because it caused
2090 problems, we have changed the main condition and tested the
2091 regressions we detected before and they work ok. We have done a
2092 complete review of the topmost algorithm in order to get a more
2095 * src/hildon-pannable-area.c,
2096 (hildon_pannable_area_get_topmost): Added a new parameter to
2097 filter the the windows that do not include those events.
2098 (hildon_pannable_area_button_press_cb),
2099 (hildon_pannable_area_button_release_cb),
2100 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2101 topmost function, we have added the new parameter.
2103 Fixes: NB#97458 (Pannable area prevents propagation of button
2106 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2108 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
2109 if all columns in the selector have an item selected.
2110 (_on_dialog_response): Stop "response" signal emission if there is
2111 any selector column without selected items.
2113 Fixes: NB#101889 (Picker dialog should not close when nothing is
2114 selected in multiple selection list)
2116 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2118 * src/hildon-font-selection-dialog.c
2119 (hildon_font_selection_dialog_class_init),
2120 (hildon_font_selection_dialog_init): Remove the preview
2121 button and dialog, since previewing with default theming is likely
2122 to be overcomplicated. The :preview property has now no effect.
2123 Update documentation blurbs to inform about this.
2125 Fixes: NB#92297 (Preview content is not clearly visible for
2126 default colour text)
2128 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2130 Reviewed the geometry that handles the children size and
2131 scrollbar, now it tries a size and reviews the results depending
2132 on the scrollbars visibility.
2134 * src/hildon-pannable-area.c,
2135 (hildon_pannable_area_realize): Fixed a typo.
2136 (hildon_pannable_area_child_allocate_calculate): Added this
2137 function to calculate the child allocation.
2138 (hildon_pannable_area_size_allocate): Reviewed the allocation
2140 (hildon_pannable_area_check_scrollbars),
2141 (hildon_pannable_area_refresh): Refactored refresh function, this
2142 way we can call the code handling the scrollbars without causing a
2143 size_request, it is interesting in the allocate.
2144 (hildon_pannable_area_init): Replace the callbacks of the
2145 value_changed and changed signals to propertly deal with the
2147 (hildon_pannable_area_grab_notify),
2148 (hildon_pannable_area_initial_effect),
2149 (hildon_pannable_area_launch_fade_timeout),
2150 (hildon_pannable_area_adjust_changed),
2151 (hildon_pannable_area_adjust_value_changed),
2152 (hildon_pannable_area_redraw),
2153 (hildon_pannable_area_button_press_cb),
2154 (hildon_pannable_area_button_release_cb),
2155 (hildon_pannable_area_scroll_cb),
2156 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
2157 code and use the new functions adjust_changed and
2158 adjust_value_changed.
2160 Fixes: NB#101603 (Focus is not even for the text entry boxes in
2161 Contact editor dialog)
2163 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
2168 * configure.ac: Bump version.
2169 * debian/changelog: Updates.
2171 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2173 * src/hildon-pannable-area.c,
2174 (hildon_pannable_area_get_topmost),
2175 (hildon_pannable_area_button_press_cb),
2176 (hildon_pannable_area_button_release_cb),
2177 (hildon_pannable_get_child_widget_at): Reverted the patch for the
2178 topmost function adding the event mask. We have to try a
2179 differente approach because it is still causing problems (NB#9745,
2182 2009-02-19 Alberto Garcia <agarcia@igalia.com>
2184 * src/hildon-banner.c:
2185 Update the maximum width of timed banners.
2186 (force_to_wrap_truncated): Enforce the maximum text width if the
2189 Fixes: NB#102413 (The text margins (wrapping) in information
2190 banner should be HILDON_MARGIN_TRIPLE)
2192 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2194 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
2196 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
2197 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
2198 bound when calculating the scroll indicator position.
2200 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
2201 treat ->lower correctly)
2203 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2205 * src/hildon-caption.c (hildon_caption_class_init): Remove the
2206 expose event handling, since it is not necessary to draw the focus
2209 Fixes: NB#102467 (Do not show highlight on the text in
2212 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2214 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
2215 full height of the toolbar for the button and the label.
2217 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2219 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
2220 padding before the label and after the button.
2222 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2224 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
2226 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2227 Add a GtkVSeparator between the button and the back arrow.
2228 Let the button have automatic size.
2229 Set a name to the widget for theming handling.
2231 Fixes: NB#101793 (Make edit toolbar the same height as window
2232 title bar (use title area theming))
2234 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2236 * src/hildon-helper.c (attach_new_color_element): Fix memory
2239 Fixes: NB#102262 (memory leak in hildon_button_set_style())
2241 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2243 * examples/hildon-button-example.c (common_buttons_window): Don't
2246 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2248 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2249 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
2251 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2253 * src/hildon-gtk.c: Check that the window is realized.
2255 Fixes: NB#102225 (Crash setting the progress indicator to a non
2258 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2260 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
2261 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
2262 instead of modifying the one in the widget style.
2264 Fixes: NB#101043 (Second row of all the command button are
2265 displayed in transparent mode.)
2267 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2269 * src/hildon-date-button.c
2270 * src/hildon-time-button.c: Add gettext macros
2272 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
2274 * src/hildon-date-button.c (hildon_date_button_new):
2275 * src/hildon-time-button.c (hildon_time_button_new_step):
2276 Use new logical strings to set the button default title.
2278 Fixes: NB#99915 (Date and Time options are not localised in Date
2281 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2283 * src/hildon-pannable-area.c
2284 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
2285 the PANNING_THRESHOLD.
2287 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2289 * src/hildon-pannable-area.c,
2290 (hildon_pannable_area_class_init): Increased the maximum speed.
2291 (hildon_pannable_area_get_property),
2292 (hildon_pannable_area_set_property),
2293 (hildon_pannable_area_timeout): Added a new low friction mode, it
2294 allows the user avoid friction when launching the widget fast
2295 enough. It is interesting to traverse long lists.
2297 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2299 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
2300 (+hildon_stackable_window_delete_event): Ignore delete events if
2301 the window is not the topmost one.
2303 Fixes: NB#101698 (Back button long press and delete-event handling)
2305 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2307 * src/hildon-pannable-area.c,
2308 (hildon_pannable_area_motion_notify_cb): Removed the use of the
2309 gtk-dnd-drag-threshold, it was too big. We have defined our own
2310 dnd define and set a smaller value: PANNIG_THRESHOLD.
2312 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2314 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
2315 user-defined icons, use always the default one.
2317 Fixes: NB#101916 (Do not allow custom icons on animation banner)
2319 2009-02-13 Alejandro G. Castro <alex@igalia.com>
2321 This patch was applied before but reverted because it caused
2322 problems, we have changed the main condition and tested the
2323 regressions we detected before and they work ok.
2325 * src/hildon-pannable-area.c,
2326 (hildon_pannable_area_get_topmost): Added a new parameter to
2327 filter the the windows that do not include those events. Added
2328 also a condition when finding the window to filter windows that do
2329 not ask for those events.
2330 (hildon_pannable_area_button_press_cb),
2331 (hildon_pannable_area_button_release_cb),
2332 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2333 topmost function, we have added the new parameter.
2335 Fixes: NB#97458 (Pannable area prevents propagation of button
2338 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2340 * tests/check-hildon-color-button.c (START_TEST): do not leak
2343 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2345 * src/hildon-font-selection-dialog.c
2346 (hildon_font_selection_dialog_get_preview_text): Return NULL
2347 instead of FALSE on the g_return_val_if_fail().
2349 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2351 * src/hildon-time-selector.c (hildon_time_selector_set_time):
2352 * src/hildon-date-selector.c
2353 (hildon_date_selector_select_current_date):
2354 Do not compare unsigned integers to be greater than or equal 0,
2355 because it's always TRUE.
2357 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2359 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
2360 (hildon_date_selector_constructor): Do not select the current
2361 date until we are handle the "changed" signal, to avoid having bogus
2362 elements in the days model.
2364 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2366 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
2367 for num_days, since _month_days() can return a negative value.
2369 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2371 * src/hildon-caption.c (hildon_caption_size_allocate):
2372 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
2373 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
2375 Initialize allocation variables to 0, to avoid eventually using
2376 unitialized variables.
2378 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2380 * src/hildon-bread-crumb-trail.c
2381 (hildon_bread_crumb_trail_size_allocate):
2382 * src/hildon-calendar.c (hildon_calendar_set_background):
2383 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
2384 * src/hildon-range-editor.c (hildon_range_editor_get_range):
2385 * src/hildon-seekbar.c (hildon_seekbar_init):
2386 * src/hildon-time-editor.c (hildon_time_editor_get_time):
2387 * src/hildon-time-selector.c (hildon_time_selector_finalize):
2388 * src/hildon-touch-selector-entry.c
2389 (hildon_touch_selector_get_text_from_model):
2390 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
2391 * src/hildon-window.c (hildon_window_finalize):
2393 Remove many unused variables.
2395 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2397 * src/hildon-seekbar.c: (hildon_seekbar_init),
2398 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
2400 Remove unnecessary g_assert() calls.
2402 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2404 * src/hildon-caption.c: (hildon_caption_expose),
2405 (hildon_caption_set_property), (hildon_caption_init),
2406 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
2407 (hildon_caption_size_request), (hildon_caption_size_allocate),
2408 (hildon_caption_forall), (hildon_caption_set_separator),
2409 (hildon_caption_activate), (hildon_caption_set_child_expand),
2410 (hildon_caption_set_label_text),
2411 (hildon_caption_get_label_alignment):
2413 Remove unnecessary g_assert() calls.
2415 2009-02-12 Alberto Garcia <agarcia@igalia.com>
2417 * src/hildon-banner.c
2418 (hildon_banner_map, hildon_banner_init): Make banner temporary
2419 before mapping it to avoid closing other temporary windows, but
2420 make it non-temporary afterwards to avoid being closed by other
2421 non-temporary windows.
2422 (-hildon_banner_client_event, hildon_banner_init):
2423 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
2425 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
2428 2009-02-11 Alberto Garcia <agarcia@igalia.com>
2430 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
2433 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2435 * src/hildon-remote-texture.c
2436 * src/hildon-remote-texture.h
2437 * src/hildon-remote-texture-private.h
2438 * examples/hildon-remote-texture-example.c:
2439 Updates/fixes to remote-texture and its example.
2441 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
2443 Patch by Mox Soini (ext-mox.soini@nokia.com)
2445 * src/hildon-code-dialog.c: Update logical id.
2446 * src/hildon-set-password-dialog.c: Update logical id.
2448 Fixes: NB#100646 (Logical strings is shown for ok in set
2449 password,Password needed dialogs)
2451 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2454 * src/hildon-remote-texture.c
2455 * src/hildon-remote-texture.h
2456 * src/hildon-remote-texture-private.h
2458 Added remote texture widget (for Clutter shared memory textures)
2460 * examples/hildon-remote-texture-example.c
2461 * examples/Makefile.am
2462 Added example file for remote texture usage
2464 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
2466 * configure.ac: post release version bump.
2467 * debian/changelog: version bump.
2469 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
2474 * configure.ac: Bump version.
2475 * debian/changelog: Updates.
2477 2009-02-06 Alberto Garcia <agarcia@igalia.com>
2479 * src/hildon-date-selector.c (hildon_date_selector_init)
2480 (hildon_date_selector_constructor): Don't connect to the "changed"
2481 signal until the selector is completely constructed.
2483 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2485 * src/hildon-touch-selector.c: (_create_new_column),
2486 (hildon_touch_selector_append_column),
2487 (hildon_touch_selector_set_column_selection_mode),
2488 (hildon_touch_selector_set_active),
2489 (hildon_touch_selector_select_iter):
2490 Emit the HildonTouchSelector::changed signal every time selection
2491 is changed in any of the methods above. This behavior was already
2492 documented but not fully functional.
2494 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
2495 selection is programmatically changed)
2497 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2499 * doc/hildon-sections.txt: Remove obsolete icon
2500 sizes from here as well.
2502 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2504 * examples/hildon-stackable-window-example.c (add_window): Remove
2507 2009-02-05 Alberto Garcia <agarcia@igalia.com>
2509 * src/hildon-app-menu.c
2510 (hildon_app_menu_show): Check whether the parent window of a menu
2511 is topmost before popping it up.
2513 Fixes: NB#100468 (Application menu window is launched even when a
2514 new secondary-window/dialog is pending to be shown/realized.)
2516 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2518 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
2521 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2523 Patch by Mox Soini (ext-mox.soini@nokia.com)
2525 * src/hildon-banner.c: (hildon_banner_show_animation):
2526 use stylus size instead of obsolete note size.
2527 * src/hildon-defines.h: Update icon sizes.
2529 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
2531 * src/hildon-touch-selector-entry.c:
2532 (hildon_touch_selector_entry_init): Disable unsupported
2534 (hildon_touch_selector_entry_get_text_column): Emit a warning
2535 if an unsupported input modes is used and explicitile state
2536 these modes in the documentation.
2538 Fixes: NB#99802 (Hildon touch selector entry not working properly
2539 for some of the input modes)
2541 2009-02-05 Alejandro G. Castro <alex@igalia.com>
2543 * src/hildon-pannable-area.c,
2544 (hildon_pannable_area_init): Added the changed signal handlers of
2547 Fixes: NB#100320 (HildonPannableArea does not listen to
2548 GtkAdjustment "change" signals)
2550 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2552 * doc/hildon-sections.txt
2553 * src/hildon-window-private.h
2554 * src/hildon-window.h
2555 * src/hildon-window.c (hildon_window_init)
2556 (hildon_window_realize, hildon_window_unrealize)
2557 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
2558 (hildon_window_size_request, hildon_window_size_allocate)
2559 (hildon_window_forall, hildon_window_show_all)
2560 (hildon_window_destroy, +paint_edit_toolbar)
2561 (+hildon_window_set_edit_toolbar):
2562 New hildon_window_set_edit_toolbar() method, to add a
2563 HildonEditToolbar to a window without having to pack it manually.
2565 Reorganize hildon_window_size_allocate()
2567 * src/hildon-edit-toolbar.c: Update documentation.
2569 * examples/hildon-edit-toolbar-example.c (edit_window): Update
2570 example to use the new API.
2572 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
2574 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2576 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
2577 Remove from stack before calling parent's hide.
2579 2009-02-04 Alberto Garcia <agarcia@igalia.com>
2581 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
2582 window is removed from the middle of the stack, update the
2583 transiency of the previous one.
2585 Fixes: NB#100487 (HildonStackableWindow transiency becomes
2588 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2590 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
2591 block/unblock the signal handler if it's not actually being used.
2592 Fixes some critical warnings.
2594 2009-02-02 Alberto Garcia <agarcia@igalia.com>
2596 Based on a patch by Iván Gómez (igomez@igalia.com)
2598 * src/hildon-banner.c
2602 * src/hildon-pannable-area.c
2603 * src/hildon-picker-dialog.c
2604 * src/hildon-wizard-dialog.h
2605 * src/hildon-wizard-dialog.c: Documentation updates.
2607 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
2608 gtk_dialog_add_button() instead of hildon_dialog_add_button().
2610 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2612 * configure.ac: post release version bump.
2613 * debian/changelog: version bump.
2615 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
2620 * configure.ac: Bump version.
2621 * debian/changelog: Updates.
2623 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2625 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
2626 a stock icon nor change the relief of the back arrow.
2628 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2629 graphics from theme)
2631 2009-01-29 Alberto Garcia <agarcia@igalia.com>
2633 * src/hildon-button.c (hildon_button_set_alignment): Use
2634 priv->alignment if the button has no child yet.
2636 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
2638 * src/hildon-button.c: (hildon_button_init): Set the
2639 button style during initialization to give it the proper
2642 Fixes: NB#99713 (HildonButton value label color is wrong)
2644 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2646 * src/hildon-touch-selector.c: Document
2647 hildon_touch_selector_center_on_selected()
2649 2009-01-28 Alberto Garcia <agarcia@igalia.com>
2651 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
2652 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
2653 all menu items, but not the menu itself.
2654 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
2655 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
2656 items after adding them to the menu so keyboard accelerators work.
2657 (hildon_app_menu_show): Don't show the menu if it contains items
2658 but none of them are visible.
2660 * examples/hildon-app-menu-example.c (create_menu): Use
2661 gtk_widget_show_all() to show all menu items.
2663 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
2665 * src/hildon-picker-dialog.c:
2666 (-_update_title_on_selector_changed_cb),
2667 (-_dialog_update_title): Removed.
2668 (_select_on_selector_changed_cb), (_on_dialog_response),
2669 (on_selector_columns_changed): Do not update the dialog title.
2670 (setup_interaction_mode): Do not connect to
2671 HildonTouchSelector::changed signal if there's a "done" button, as
2672 the dialog title doesn't need to be updated.
2674 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
2677 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
2679 Patch by Kristian Rietveld (kris@imendio.com)
2681 * src/hildon-touch-selector.c: (_create_new_column): Use new
2682 GtkTreeView::hildon-row-tapped signal to react to user interactions
2683 instead of ::changed.
2685 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
2686 with some dynamic tree model)
2688 2009-01-27 Alberto Garcia <agarcia@igalia.com>
2690 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
2691 (+screen_size_changed, +label_size_request)
2692 (hildon_note_class_init): Make the Hildon information note have a
2693 minimum height, and make its text hvae a maximum width.
2695 Fixes: NB#98614 (Hildon information note (background) should have
2696 minimum height and maximum text width)
2698 2009-01-26 Alberto Garcia <agarcia@igalia.com>
2700 * src/hildon-banner.h
2701 * src/hildon-banner.c (hildon_banner_show_information)
2702 (hildon_banner_show_informationf)
2703 (hildon_banner_show_information_with_markup): Update documentation
2704 to reflect that the icon_name parameter is not used anymore.
2705 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
2706 Remove all code from these functions and mark them as deprecated.
2707 (hildon_banner_show_progress): Mark as deprecated.
2709 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
2711 2009-01-26 Alejandro G. Castro <alex@igalia.com>
2713 * src/hildon-pannable-area.c,
2714 (hildon_pannable_area_class_init),
2715 (tranparency_color),
2716 (hildon_pannable_draw_vscroll),
2717 (hildon_pannable_draw_hscroll),
2718 (hildon_pannable_area_expose_event): Added a new way to render the
2719 scrollbars of the pannable area avoiding using cairo at all. This
2720 way we improve the performance of the pannable area rendering. The
2721 cairo rendering procedure is still in the code, we can control
2722 which one to use changing the value of the define
2723 USE_CAIRO_SCROLLBARS.
2725 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2727 * configure.ac: post release version bump.
2728 * debian/changelog: version bump.
2730 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
2735 * configure.ac: Bump version.
2736 * debian/changelog: Updates.
2738 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2740 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
2741 banners instead of destroying them when they receive a button
2744 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2746 Reverted commit 34028, it was causing regressions, probably the
2747 topmost condition is not correct, we have to check it in more
2748 detail. We have reponed the bug: NB#97458 (Pannable area prevents
2749 propagation of button press events)
2751 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2753 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
2754 that the selection is not empty before attempting to retrieve the
2755 current ampm selection.
2757 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
2759 * src/hildon-picker-button.c:
2760 (hildon_picker_button_on_dialog_response): Directly update the
2761 button contents when required instead of calling _selection_changed.
2763 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2765 * src/hildon-program.c (hildon_program_update_top_most): Update
2766 'is-topmost' property also when wm_hints is not set.
2768 Fixes: NB#98383 (is-topmost signal is not emitted when task
2769 switcher is clicked.)
2771 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2773 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
2777 * src/hildon-animation-actor.c,
2778 * src/hildon-animation-actor.h: Added the animation actor class,
2779 this widget represents an animation actor for WM-assisted
2780 animation effects in the Hildon framework.
2782 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2784 * src/hildon-window-stack-private.h
2785 * src/hildon-window-stack.c
2786 * src/hildon-stackable-window.c (hildon_stackable_window_show):
2787 Avoid calling gtk_widget_show() again indirectly from
2788 hildon_stackable_window_show()
2790 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2792 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
2795 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2797 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
2798 (hildon_time_selector_init): Move the construction of the hours and
2799 ampm columns to the constructor to preserve the order the columns
2802 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2804 * src/hildon-picker-dialog.c:
2805 (hildon_picker_dialog_class_init): Connect a realize method.
2806 (+hildon_picker_dialog_realize): Setup the interaction mode here
2808 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
2809 yet, do it during the realize instead.
2810 (_on_dialog_response):
2811 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
2812 if the widget is not realized, to avoid the dialog response before it
2815 Avoid premature responses in the HildonPickerDialog that can cause it
2816 to be hidden before it's even shown.
2818 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2820 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
2821 (on_selector_columns_changed), (requires_done_button),
2822 (+prepare_action_area), (setup_interaction_mode),
2823 (_hildon_picker_dialog_set_selector):
2825 Split the interaction mode setup into preparation of the
2826 action area (prepare_action_area()) and the connection of
2827 the signals in setup_interaction_mode() and update the code to
2830 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2832 * src/hildon-pannable-area.c,
2833 (hildon_pannable_area_class_init): Reduced the amount of scrolls
2834 per second to 15, we will check if this is ok regarding
2837 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2839 * src/hildon-pannable-area.c,
2840 (hildon_pannable_axis_scroll): Avoid resize if we already have
2841 reached overshoot_max.
2843 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2845 * src/hildon-pannable-area.c,
2846 (hildon_pannable_area_init),
2847 (hildon_pannable_area_realize),
2848 (hildon_pannable_area_size_allocate),
2849 (hildon_pannable_area_map),
2850 (hildon_pannable_area_unmap),
2851 (hildon_pannable_draw_vscroll),
2852 (hildon_pannable_draw_hscroll),
2853 (hildon_pannable_area_expose_event),
2854 (hildon_pannable_area_refresh): Added a new GdkWindow to the
2855 pannable are to avoid the expose events go to the window and
2856 redraw the window. We save this way that part of the stack and the
2857 paint_boxes. We had to change the positions of the elements when
2860 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
2862 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2863 * src/hildon-color-chooser-dialog.c:
2864 (hildon_color_chooser_dialog_init):
2865 * src/hildon-font-selection-dialog.c:
2866 (hildon_font_selection_dialog_init),
2867 (hildon_font_selection_dialog_show_preview):
2868 * src/hildon-get-password-dialog.c:
2869 * src/hildon-login-dialog.c:
2870 * src/hildon-set-password-dialog.c:
2871 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
2872 * src/hildon-time-picker.c: (hildon_time_picker_init):
2874 Remove obsolete logical string IDs and update to the appropriate ones.
2876 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
2878 2009-01-21 Alberto Garcia <agarcia@igalia.com>
2880 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
2881 that happens if the window hasn't been realized yet.
2883 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
2884 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
2886 2009-01-20 Alberto Garcia <agarcia@igalia.com>
2888 * src/hildon-app-menu.c (hildon_app_menu_class_init)
2889 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
2892 Fixes: NB#98537 (Device hangs in account settings dialog)
2894 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2896 * configure.ac: post release version bump.
2897 * debian/changelog: version bump
2899 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2904 * configure.ac: Bump version.
2905 * debian/changelog: Updates.
2907 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2909 Added a new function to the HildonTimeButton widget that allows to
2910 change the step of the minutes in the selector associated with the
2911 button: hildon_time_button_new_step
2913 * src/hildon-time-button.c,
2914 (hildon_time_button_init),
2915 (hildon_time_button_new),
2916 (hildon_time_button_new_step):
2917 * src/hildon-time-button.h: Added the new function and refactored
2919 * examples/hildon-time-button-example.c,
2920 (main): We have replaced the function without parameters with the
2921 function with the steps set to 5
2923 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
2925 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2927 * src/hildon-time-selector.c,
2928 (hildon_time_selector_class_init),
2929 (hildon_time_selector_constructor),
2930 (hildon_time_selector_get_property),
2931 (hildon_time_selector_set_property),
2932 (_create_minutes_model),
2933 (hildon_time_selector_new_step),
2934 (hildon_time_selector_set_time),
2935 * src/hildon-time-selector.h: Added a new property to the
2936 HildonTimeSelector (minutes-step), we use that property to control
2937 the steps between the minutes in the list of the selector. We have
2938 added a new function to the API to create a widget changing the
2939 step: hildon_time_selector_new_step.
2941 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2943 * src/hildon-time-selector.c,
2944 (hildon_time_selector_class_init),
2945 (hildon_time_selector_constructor),
2946 (hildon_time_selector_init): Overrided the construct function when
2947 creating the time selector object. We have moved the minutes model
2948 handling code from the init to the new construction function:
2949 hildon_time_selector_constructor.
2951 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2953 * examples/hildon-date-button-example.c: (main): Use the new
2954 hildon_date_button_new_with_year_range() method in the example.
2955 * src/hildon-date-button.c:
2956 (+hildon_date_button_new_with_year_range): New public method
2957 to conveniently create a HildonDateButton with a custom year range
2958 in its HildonDateSelector.
2959 * src/hildon-date-button.h: Add the new public method definition.
2961 Fixes: NB#97908 (Not possible to change the year range in
2962 HildonDateSelector/HildonDateButton)
2964 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2966 * src/hildon-date-selector.c:
2967 (+hildon_date_selector_set_property),
2968 (+hildon_date_selector_get_property),
2969 (hildon_date_selector_class_init): Install new properties "min-year"
2970 and "max-year" to define boundaries for the year column.
2971 (_create_year_model): Use the boundary properties to populate the model.
2972 (+hildon_date_selector_new_with_year_range): New public method to
2973 create a HildonDateSelector with a user defined year range.
2974 (hildon_date_selector_select_current_date): Use the new boundaries to
2975 calculate the iterator of current year.
2976 * src/hildon-date-selector.h: Add the new public method definition.
2978 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2980 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
2981 Install a constructor method.
2982 (+hildon_date_selector_construct_ui): construct the widget.
2983 (+hildon_date_selector_constructor): new constructor.
2984 (+hildon_date_selector_init): move out widget construction code to
2985 the new constructor.
2987 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2989 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
2990 that there's actually a month or year selected before obtaining them.
2991 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
2992 of the HildonTouchSelector::changed signal, as it was emitted on every
2993 single item selection.
2995 Fix some warnings and possible crashers due to the selection restoring.
2997 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2999 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3000 the signal handlers only after creating the dialog instead of on every
3003 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3005 * src/hildon-button.c (hildon_button_init)
3006 * src/hildon-check-button.c (hildon_check_button_init)
3007 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3008 focus when clicked by default.
3010 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3012 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3015 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3017 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3018 Alejandro G. Castro (alex@igalia.com)
3020 * src/hildon-picker-dialog.c:
3021 (hildon_picker_dialog_class_init): install new "center-on-show"
3023 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3024 (hildon_picker_dialog_set_property): add setter code for the new
3026 (hildon_picker_dialog_get_property): add getter code for the new
3028 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3029 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3032 Fixes: NB#92849 (Selected item is not always visible when
3033 HildonTouchSelector is shown)
3035 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3037 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3038 Alejandro G. Castro (alex@igalia.com)
3040 * src/hildon-touch-selector.c:
3041 (_create_new_column): Do not connect to the "realize" signal of the
3043 (hildon_touch_selector_append_column): center on the selected items
3044 when a new column is appended.
3045 (hildon_touch_selector_select_iter): Factor out the code to select a
3046 column to hildon_touch_selector_scroll_to().
3047 (+search_nearest_element): Method to retrieve the nearest selected
3048 element to the visible area of the pannable area in a column.
3049 (+on_realize_cb): scroll to the initially selected item.
3050 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3051 the pannable area is realized, otherwise delay this until it is.
3052 (+_hildon_touch_selector_center_on_selected_items): Centers on the
3053 selected items of a given column.
3054 (+hildon_touch_selector_center_on_selected): Public method to center
3055 all columns on the nearest selected item.
3056 * src/hildon-touch-selector.h: Add definition for
3057 hildon_touch_selector_center_on_selected().
3059 Implement public API to ensure visibility of all selected items in
3060 a HildonTouchSelector.
3062 2009-01-16 Alejandro G. Castro <alex@igalia.com>
3064 Fixed a problem in the fading when calling the scroll_to API, and
3065 improve scrollbar fading handling.
3067 * src/hildon-pannable-area.c,
3068 (hildon_pannable_area_grab_notify): avoid the timeout when the
3070 (hildon_pannable_area_button_press_cb),
3071 (hildon_pannable_area_motion_notify_cb): Code style changes.
3072 (hildon_pannable_area_button_release_cb): Review the conditions
3073 when releasing the mouse button to avoid unrequired fading
3075 (hildon_pannable_area_scroll_to): Do not calculate and set the
3076 velocity if the scroll is not required.
3078 2009-01-15 Alberto Garcia <agarcia@igalia.com>
3080 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3081 Don't check whether the new selector is NULL: it cannot be.
3082 Hold a reference to the selector while doing the replacement.
3084 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3086 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3087 unnecessary size_request in a removed widget.
3089 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3091 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3092 an unnecessary reference tracking that was leaking.
3094 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3096 Added delayed motion notify event handling, this way we can
3097 discard redrawing if more than 25 events arrive per second.
3099 * src/hildon-pannable-area.c,
3100 (hildon_pannable_area_init): Initialized the new private atributes
3101 controlling this timeout
3102 (hildon_pannable_area_dispose): Remove the timeout that controls
3103 the motion notify events.
3104 (hildon_pannable_area_scroll): Added a condition to control the
3105 use of the acceleration.
3106 (hildon_pannable_area_motion_event_scroll_timeout),
3107 (hildon_pannable_area_motion_event_scroll): Added this two
3108 functions, they handle the motion notify events inside the
3110 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
3111 to the scroll method with the new function.
3112 (hildon_pannable_area_button_release_cb): We have to remove the
3113 timeout handler and move to the last position if the last motion
3114 events were not handled.
3116 Fixes: NB#97028 (Pannable area updates on every motion event)
3118 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3120 * src/hildon-pannable-area.c,
3121 (hildon_pannable_area_get_topmost): Added a new parameter to
3122 filter the the windows that do not include those events. Added
3123 also a condition when finding the window to filter windows that do
3124 not ask for those events.
3125 (hildon_pannable_area_button_press_cb),
3126 (hildon_pannable_area_button_release_cb),
3127 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3128 topmost function, we have added the new parameter.
3130 Fixes: NB#97458 (Pannable area prevents propagation of button
3133 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3135 * src/hildon-pannable-area.c,
3136 (hildon_pannable_area_initial_effect): Added controls before
3137 launching the timeout and the idle functions.
3138 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
3139 of the method, in some situations it can return with TRUE and 0 in
3141 (hildon_pannable_area_button_press_cb): We do not need to set
3142 DELAY for fading out here.
3144 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
3146 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3148 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
3149 post-cleaning if the selection is not NULL.
3151 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3153 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
3154 all items before restoring the selection.
3156 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3158 * src/hildon-touch-selector.c:
3159 (+hildon_touch_selector_unselect_all):
3160 * src/hildon-touch-selector.h: New API to unselect all items in a
3161 column of the touch selector.
3163 2009-01-14 Alejandro G. Castro <alex@igalia.com>
3165 * src/hildon-pannable-area.c,
3166 (hildon_pannable_area_redraw): Added a call to the refresh
3167 function inside the redraw because apparently in some cases the
3168 change in the adjustment does not imply a size allocate.
3170 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
3171 despite the view not being scrollable)
3173 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3175 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
3176 leak. Check for NULL before attempting to set the window title.
3178 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3180 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
3181 whether to show or not the 'Done' button each time the dialog is
3182 shown, as it depends on the HildonTouchSelector selection mode.
3184 Fixes: NB#96226 (In multiple selection mode Done button is shown
3185 sometimes in listpicker)
3187 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3189 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3190 for the number of columns in the HildonTouchSelector more than once.
3192 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3194 * src/hildon-touch-selector.c: Minor documentation fixes.
3196 * src/hildon-picker-dialog.c (+_dialog_update_title)
3197 (_select_on_selector_changed_cb)
3198 (_update_title_on_selector_changed_cb)
3199 (on_selector_columns_changed): Update dialog title when there's no
3200 'Done' button and also when the number of columns in the selector
3204 * src/hildon-picker-button.c (hildon_picker_button_finalize)
3205 (+_selection_changed, hildon_picker_button_on_dialog_response)
3206 (hildon_picker_button_selector_selection_changed)
3207 (+hildon_picker_button_selector_columns_changed)
3208 (hildon_picker_button_set_selector): Update button value and emit
3209 'value-changed' when the number of columns in the selector
3213 Fixes: NB#96225 (Dialog titles are not shown according to the
3214 values selected in the list picker)
3216 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3218 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
3219 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
3220 New "arrow-width" and "arrow-height" style properties to set the
3221 size of the arrow button.
3222 Set name of arrow button ("hildon-edit-toolbar-arrow").
3224 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3225 graphics from theme)
3227 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3229 * src/hildon-picker-button.c:
3230 (hildon_picker_button_selector_selection_changed): Use
3231 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
3232 the dialog is present.
3234 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
3235 the selection is accepted in the dialog)
3237 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3239 * src/hildon-color-chooser.h
3240 * src/hildon-color-chooser-dialog.h:
3241 Added G_BEGIN_DECLS and G_END_DECLS
3243 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3245 (_clean_current_selection): plug a leak in the list.
3247 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3249 * src/hildon-picker-dialog.c:
3250 (+free_path_list): Method to free a GList of GtkTreePaths.
3251 (_clean_current_selection), (_save_current_selection),
3252 (_restore_current_selection): Save the current selection in
3253 as a list of lists, to support multiple selection properly.
3255 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3257 patch by Claudio Saavedra (csaavedra@igalia.com)
3259 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
3260 Store the press position.
3261 (+hildon_text_view_button_release_event): If the release position is
3262 close enough to the press position, move the cursor here. Otherwise,
3264 (hildon_text_view_class_init): Override GtkTextView press, release, and
3265 motion event handlers, disabling this way text selection through
3266 pointer interaction, and allowing the container widget to handle the
3269 Fixes: NB#95828 (HildonTextView functionality)
3271 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3273 Based on a patch by Iván Gómez (igomez@igalia.com)
3275 * src/hildon-button.[ch]
3276 * src/hildon-calendar.c
3277 * src/hildon-check-button.c
3278 * src/hildon-date-editor.c
3279 * src/hildon-date-selector.c
3280 * src/hildon-picker-button.c
3281 * src/hildon-time-editor.c
3282 * src/hildon-time-selector.c
3283 * src/hildon-touch-selector.[ch]:
3284 Documentation updates
3286 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3288 * src/hildon-pannable-area.c,
3289 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
3290 threshold, it was required due to X events handling.
3292 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3294 * src/hildon-pannable-area.c,
3295 (hildon_pannable_area_grab_notify),
3296 (hildon_pannable_area_initial_effect),
3297 (hildon_pannable_area_button_press_cb),
3298 (hildon_pannable_area_button_release_cb),
3299 (hildon_pannable_area_scroll_cb),
3300 (hildon_pannable_area_scroll_to): Review the timeout management of
3301 the scrollbar, the frecuency was incorrectly set.
3303 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
3305 * src/hildon-picker-button.c:
3306 (+hildon_picker_button_on_dialog_response),
3307 (hildon_picker_button_clicked): Present the dialog instead of
3308 running it with gtk_dialog_run().
3310 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
3313 2009-01-07 Alberto Garcia <agarcia@igalia.com>
3315 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3316 (hildon_app_menu_finalize): When a window is hidden it doesn't
3317 emit notify::is-topmost, so make sure than the menu also
3318 disappears in that case.
3319 (parent_window_topmost_notify): Renamed from parent_window_hidden
3321 Fixes: NB#94460 (stackable window's menu is not closed when its
3324 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3326 * src/hildon-touch-selector-entry.c:
3327 (+hildon_touch_selector_entry_set_input_mode),
3328 (+hildon_touch_selector_entry_get_input_mode):
3329 * src/hildon-touch-selector-entry.h: New methods to access the input
3330 mode in the selector's entry.
3332 Fixes: NB#93410 (API required for setting IM mode in
3333 HildonTouchSelectorEntry)
3335 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3337 * configure.ac: post release version bump.
3338 * debian/changelog: version bump
3340 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3345 * configure.ac: Bump version.
3346 * debian/changelog: Updates.
3348 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
3350 * src/hildon-touch-selector.c:
3351 (_hildon_touch_selector_has_multiple_selection): No need
3352 to initialize the variables here.
3354 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3356 * src/hildon-note-private.h
3357 * src/hildon-note.c (event_box_press_event, hildon_note_init)
3358 (hildon_note_finalize, hildon_note_rebuild): Close information
3359 notes when they receive a button press.
3361 Fixes: NB#89890 (Information notes does not get disappeared after
3364 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
3366 * src/hildon-wizard-dialog.c: (create_title): Remove translation
3367 mark from the wizard title, as it's not really necessary. Also,
3368 do not display the page title if not set.
3370 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3372 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3373 (parent_window_hidden): Use the window's "is-topmost" property to
3374 detect when to hide the menu.
3376 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3378 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3379 (hildon_app_menu_finalize): If the parent window of the menu is
3380 hidden, hide the menu too.
3382 Fixes: NB#94460 (stackable window's menu is not closed when its
3385 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3388 * debian/libhildon1-examples.install
3390 * examples/Makefile.am:
3391 Use dh_install to install all examples.
3392 Use DEB_SRCDIR instead of defining SOURCE_DIR
3394 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3396 * configure.ac: post release version bump.
3397 * debian/changelog: version bump
3399 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3404 * configure.ac: bump version
3405 * debian/changelog: updates
3406 * debian/control: bump gtk+ dependency
3408 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3410 patch by Christian Dywan (christian@imendio.com)
3412 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
3413 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
3415 2008-12-15 Alberto Garcia <agarcia@igalia.com>
3417 * src/hildon-check-button.c (hildon_check_button_init)
3418 (hildon_check_button_class_init, hildon_check_button_style_set)
3419 (hildon_check_button_apply_style):
3420 New "checkbox-size" style property.
3422 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
3423 larger / configurable size)
3425 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3427 * configure.ac: post release version bump.
3428 * debian/changelog: version bump
3430 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3435 * configure.ac: bump version
3436 * debian/changelog: updates
3438 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3440 * doc/hildon-sections.txt
3441 * src/hildon-pannable-area.c
3442 * src/hildon-program.c
3443 * src/hildon-time-editor.c
3444 * src/hildon-touch-selector-entry.c:
3446 More documentation updates.
3448 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3450 * doc/hildon-sections.txt
3451 * src/hildon-caption.c
3452 * src/hildon-code-dialog.c
3453 * src/hildon-color-button.c
3454 * src/hildon-controlbar.c
3455 * src/hildon-date-editor.c
3456 * src/hildon-date-selector.c
3457 * src/hildon-edit-toolbar.c
3458 * src/hildon-find-toolbar.c
3459 * src/hildon-font-selection-dialog.c
3461 * src/hildon-program.c
3462 * src/hildon-range-editor.c
3463 * src/hildon-seekbar.c
3464 * src/hildon-time-editor.c
3465 * src/hildon-time-selector.c
3466 * src/hildon-volumebar-range.c
3467 * src/hildon-volumebar.c
3468 * src/hildon-vvolumebar.c
3469 * src/hildon-weekday-picker.c
3470 * src/hildon-window.c
3471 * src/hildon-wizard-dialog.c:
3473 Lots of documentation fixes.
3475 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3477 Patch contributed by Iván Gómez (igomez@igalia.com)
3479 * src/hildon-check-button.c:
3480 * src/hildon-date-button.c:
3481 * src/hildon-date-selector.c:
3482 * src/hildon-dialog.c:
3483 * src/hildon-edit-toolbar.c:
3484 * src/hildon-entry.c:
3485 * src/hildon-picker-button.c:
3486 * src/hildon-program.c:
3487 * src/hildon-text-view.c:
3488 * src/hildon-time-button.c:
3489 * src/hildon-touch-selector-entry.c:
3490 * src/hildon-window-stack.c:
3492 Add more "since" tags to the new API.
3494 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3496 * doc/hildon-sections.txt: Add below method.
3497 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
3498 version for the hildonized scale.
3499 * src/hildon-gtk.h: Add the definition.
3501 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3503 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3505 * doc/hildon-sections.txt: Add missing entries for new methods.
3507 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3509 Added API to pannable are in order to get its adjustments. We
3510 added two properties to manage the values we had in the private
3513 * src/hildon-pannable-area.c:
3514 (hildon_pannable_area_class_init): Added hadjustment and
3515 vadjustment properties in order to expose horizontal and vertical
3517 (hildon_pannable_area_get_property),
3518 (hildon_pannable_area_set_property): Added code to handle the new
3520 (hildon_pannable_area_get_hadjustment),
3521 (hildon_pannable_area_get_vadjustment): API functions to get the
3523 * src/hildon-pannable-area.h:
3524 (hildon_pannable_area_get_hadjustment),
3525 (hildon_pannable_area_get_vadjustment): API functions to get the
3528 2008-12-12 Alejandro G. Castro <alex@igalia.com>
3530 Fixed some leaks, after valgrinding.
3532 * src/hildon-touch-selector.c:
3533 (_default_print_func): Fixed a leak.
3534 (hildon_touch_selector_append_column): Fixed a leak.
3535 * src/hildon-date-button.c:
3536 (hildon_date_button_init): Fixed a leak.
3537 * src/hildon-date-selector.c
3538 (hildon_date_selector_finalize): Fixed a leak.
3540 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
3542 Based on a patch by Christian Dywan (christian@imendio.com)
3544 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
3546 * src/hildon-gtk.h: Add definition.
3548 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
3550 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3552 * src/hildon-picker-button.c: (hildon_picker_button_init),
3553 (hildon_picker_button_new): Set the HildonButton::style property
3554 in the init method, to propagate the value to the derived classes.
3556 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3558 * src/hildon-button.c: (hildon_button_class_init): Do not make
3559 the "style" property a construct property.
3561 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3563 * src/hildon-wizard-dialog.h
3564 * src/hildon-wizard-dialog.c
3565 (hildon_wizard_dialog_set_forward_page_func)
3566 * src/hildon-pannable-area.h
3567 * src/hildon-pannable-area.c
3568 (hildon_pannable_area_set_size_request_policy):
3569 Documentation fixes.
3571 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3573 * doc/hildon-sections.txt: Fixed warning about unused symbols.
3575 2008-12-11 Alberto Garcia <agarcia@igalia.com>
3577 * doc/hildon-sections.txt: Added sections file.
3579 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
3582 * src/*.[ch]: Updates.
3584 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
3586 * examples/hildon-progress-indicator-example.c: new file
3587 * examples/Makefile.am: include the new example program
3589 2008-12-10 Alberto Garcia <agarcia@igalia.com>
3591 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
3593 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3595 * configure.ac: post release version bump
3596 * debian/changelog: version bump
3598 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3603 * configure.ac: bump version
3604 * debian/changelog: updates
3605 * debian/control: bump gtk+ dependency
3607 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3609 * src/hildon-dialog.c: Mark as deprecated.
3610 * src/hildon-dialog.h: Mark as deprecated.
3611 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
3612 from HildonDialog and still work, even if
3613 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
3614 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
3616 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
3617 maemo changes) instead)
3619 2008-12-09 Alejandro G. Castro <alex@igalia.com>
3621 * src/hildon-pannable_area.h:
3622 * src/hildon-pannable_area.c:
3623 (hildon_pannable_area_class_init),
3624 (hildon_pannable_area_set_property),
3625 (hildon_pannable_area_get_property),
3626 (hildon_pannable_area_size_request),
3627 (hildon_pannable_area_get_size_request_policy),
3628 (hildon_pannable_area_set_size_request_policy): Added new API
3629 allowing applications to control the request policy. Now they can
3630 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
3631 children allocation (HILDON_MOVEMENT_CHILDREN).
3633 2008-12-09 Alberto Garcia <agarcia@igalia.com>
3637 (hildon_gtk_tree_view_set_ui_mode)
3638 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
3639 mode of treeviews and iconviews.
3641 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3643 * src/hildon-touch-selector-entry.c:
3644 (hildon_touch_selector_entry_init): Use a HildonEntry instead
3645 of a GtkEntry to get proper theming.
3647 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
3648 widget, not GtkEntry)
3650 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3652 * src/hildon-wizard-dialog.c: (response): Move forward if there is
3653 no HildonWizardDialogPageFunc.
3655 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
3657 Patch contributed by Iván Gómez (igomez@igalia.com)
3659 * src/hildon-app-menu.c:
3660 * src/hildon-button.c:
3661 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
3662 * src/hildon-stackable-window.c:
3663 * src/hildon-time-selector.c:
3664 * src/hildon-touch-selector.c:
3665 * src/hildon-window.c:
3667 Add more "since" tags to the new API in hildon 2.2.
3669 2008-12-05 Tim Janik <timj@imendio.com>
3671 Patch contributed by Christian Dywan (christian@imendio.com)
3673 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
3674 HildonSizeType, which are supplied by Gtk+ now.
3676 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
3678 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
3679 (with maemo changes) instead)
3681 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3683 Patch contributed by Iván Gómez (igomez@igalia.com)
3685 * src/hildon-pannable-area.c: Add "since" tags to the new API in
3688 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
3690 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
3691 (some_page_func), (main): Update the example to use a
3692 HildonWizardDialogPageFunc function.
3694 * src/hildon-wizard-dialog-private.h: Add private data for
3695 the HildonWizardDialogPageFunc function usage.
3697 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
3698 (destroy), (hildon_wizard_dialog_init), (response),
3699 (hildon_wizard_dialog_set_forward_page_func):
3700 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
3701 that applications can use to stop a HildonWizardDialog to jump to
3704 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
3707 2008-12-04 Alberto Garcia <agarcia@igalia.com>
3709 * src/hildon-program.h
3710 * src/hildon-program-private.h
3711 * src/hildon-program.c (hildon_program_init)
3712 (hildon_program_set_common_app_menu)
3713 (hildon_program_get_common_app_menu):
3714 New API for setting a common HildonAppMenu for all
3715 HildonStackableWindows registered with the HildonProgram.
3717 * src/hildon-stackable-window.c
3718 (hildon_stackable_window_toggle_menu):
3719 Use the common HildonAppMenu if a window doesn't have a specific
3722 * src/hildon-app-menu-private.h
3723 * src/hildon-app-menu.c
3724 (hildon_app_menu_get_parent_window):
3725 Function to obtain the window a HildonAppMenu is attached to.
3726 (hildon_app_menu_set_parent_window):
3727 Hide the menu if the parent window is set to NULL.
3729 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
3731 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
3732 set GtkTreeView::enable-search to FALSE, to avoid the interactive
3733 search widget to popup.
3735 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3737 * configure.ac: post release version bump
3738 * debian/changelog: version bump
3740 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
3745 * configure.ac: bump version
3746 * debian/changelog: updates
3748 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3750 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
3752 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
3753 (hildon_window_stack_window_realized)
3754 (hildon_window_stack_remove, _hildon_window_stack_do_push):
3755 Set the leader GdkWindow when a window is stacked and realized,
3756 unset it when it's unstacked.
3757 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
3759 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
3761 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3763 * src/hildon-stackable-window.h
3764 * src/hildon-window-stack.h:
3765 Protect definition of HildonWindowStack using the preprocessor.
3767 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3769 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
3770 Fix warning if all menu items are hidden.
3772 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
3774 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3776 * src/hildon-controlbar.c:
3777 * src/hildon-hvolumebar.c:
3778 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
3779 Multiple scale size defines updates.
3781 Fixes: NB#94322 (Scale Updates)
3783 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3785 * examples/hildon-app-menu-example.c (create_menu)
3786 Show items after adding them to the menu, as in the future the
3787 menu will no longer call gtk_widget_show() on the added items.
3789 * src/hildon-app-menu.c:
3790 Update example as explained above.
3792 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3794 * src/hildon-app-menu.c
3795 (hildon_app_menu_insert, hildon_app_menu_add_filter):
3796 Make sure that all menu items have finger height.
3798 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
3800 * src/hildon-picker-dialog.c:
3801 (_on_dialog_response), (_save_current_selection),
3802 (_restore_current_selection), (_clean_current_selection),
3803 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
3804 Defined new functions in order to save the current internal selector
3805 selection previous open the dialog, in case that the use cancel the
3806 interaction, so the widget restores the previous selection.
3808 Fixes: NB#92032 (In calendar application, date values in 'new event'
3811 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
3813 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3815 * src/hildon-button.c: Add a reference to the button examples in
3816 hildon-button-example.c
3818 * examples/hildon-button-example.c: Added examples of the most
3819 common button layouts.
3821 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3823 * src/hildon-app-menu.c (hildon_app_menu_show)
3824 (hildon_app_menu_class_init): Don't show the menu if it's empty.
3826 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
3828 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3830 * src/hildon-picker-dialog.c:
3831 (hildon_picker_dialog_init): Initialize the signal id for
3832 HildonTouchSelector::columns-changed.
3833 (+on_selector_columns_changed): Set up the interaction mode everytime a
3834 column is added or removed from the HildonTouchSelector.
3835 (_hildon_picker_dialog_set_selector): Connect to
3836 HildonTouchSelector::columns-changed and keep track of it.
3838 Make sure to update the interaction mode of the dialog everytime a
3839 column is added or removed in the HildonTouchSelector.
3841 Fixes: NB#93228 (Done button is not shown always in listpicker)
3843 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3845 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
3846 a new ::columns-changed signal.
3847 (hildon_touch_selector_append_column): Emit ::columns-changed.
3848 (hildon_touch_selector_remove_column): Emit ::columns-changed.
3850 Add a ::columns-changed signal, emitted when the number of columns in a
3851 HildonTouchSelector changes.
3853 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3855 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
3856 (_hildon_picker_dialog_set_selector): Factor out the code
3857 to set up the dialog interaction mode.
3859 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3861 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
3862 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
3863 to signal_changed_id.
3865 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3867 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3870 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
3872 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
3873 Updated the logical ids related to ampm format, as now it is required to
3874 show it correctly localized even on languages with no default
3875 abbreviations for am or pm
3876 (_check_am_pm_format): check correctly the 24h format gconf property
3878 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
3880 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3882 * src/hildon-button.c: Documentation updates.
3884 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3886 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
3887 * src/hildon-caption.c: (hildon_caption_class_init):
3888 * src/hildon-color-button.c: (hildon_color_button_class_init):
3889 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
3890 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3891 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
3892 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
3894 Remove deprecated GTK+ marshalers and replace them with the ones
3895 provided by GLib, for those available, add a marshaler for
3896 BOOLEAN:VOID, which is not available in GLib, and use it.
3898 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3900 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
3901 the text from the previous column if there is no
3902 HildonTouchSelectorColumn::text-property set.
3904 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3906 * src/hildon-button.h
3907 * src/hildon-button.c (hildon_button_set_property)
3908 (hildon_button_get_property, hildon_button_class_init)
3909 (hildon_button_set_style, hildon_button_get_style):
3910 New "style" property to change the visual appearance of the
3913 * src/hildon-picker-button.c (hildon_picker_button_new):
3914 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
3916 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
3917 HildonButton look like PickerButton)
3919 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3921 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
3922 column while building the default string.
3924 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3926 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
3927 scroll indicator by default.
3929 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
3931 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3933 * src/hildon-main.c: Fix the documentation for hildon_init()
3935 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3937 * doc/hildon-docs.sgml
3941 * src/hildon-window-stack-private.h
3942 * src/hildon-window-stack.h
3943 * src/hildon-window-stack.c:
3944 New HildonWindowStack object, that adds support for multiple
3945 stacks of windows per process.
3947 * src/hildon-stackable-window-private.h
3948 * src/hildon-stackable-window.h
3949 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
3950 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
3951 (hildon_stackable_window_show, hildon_stackable_window_hide)
3952 (hildon_stackable_window_class_init)
3953 (hildon_stackable_window_init):
3954 Use HildonWindowStack for stack management.
3956 * src/hildon-program.c (hildon_program_pop_window_stack)
3957 (hildon_program_peek_window_stack)
3958 (hildon_program_go_to_root_window):
3959 Add a fallback implementation to the deprecated functions using
3962 * examples/hildon-stackable-window-example.c:
3963 Use the new HildonWindowStack API.
3965 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3967 * src/hildon-stackable-window-private.h
3968 * src/hildon-stackable-window.c (hildon_stackable_window_show)
3969 (hildon_stackable_window_hide, hildon_stackable_window_init):
3970 Remove all window stack management.
3972 * src/hildon-program-private.h
3973 * src/hildon-program.h
3974 * src/hildon-program.c (hildon_program_init)
3975 (hildon_program_pop_window_stack)
3976 (hildon_program_peek_window_stack)
3977 (hildon_program_go_to_root_window):
3978 Remove all window stack management and mark functions as
3981 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3983 * src/hildon-app-menu.c (hildon_app_menu_realize):
3984 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
3986 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3988 * configure.ac: post release version bump
3989 * debian/changelog: version bump
3991 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3996 * configure.ac: bump version
3997 * debian/changelog: updates
3999 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4001 Based on initial code by Christian Dywan (christian@imendio.com)
4003 * doc/hildon-docs.sgml: Add section for hildon-main.
4004 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4005 * src/Makefile.am: Add new hildon-main.[ch]
4006 * src/hildon-defines.h: Update the icon sizes.
4007 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4008 new library initialization files and register icon sizes.
4009 * src/hildon-main.h: New declarations.
4010 * src/hildon.h: Include hildon-main.h
4012 Add new initialization functions to the library. These methods
4013 will register the hildon specific icon sizes and can be used in the
4014 future for other hildon specific bits.
4016 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4018 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4020 * src/hildon-window.c: (hildon_window_realize),
4021 (hildon_window_notify), (-hildon_window_update_title): Do not set
4022 the application name in the window title.
4024 Fixes: NB#89754 (Applications shouldn't display their names in the
4027 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4029 * src/hildon-note-private.h:
4030 * src/hildon-note.c: (hildon_note_set_property),
4031 (hildon_note_get_property), (hildon_note_class_init),
4032 (hildon_note_init), (hildon_note_finalize),
4033 (hildon_note_new_confirmation_with_icon_name),
4034 (hildon_note_new_information_with_icon_name):
4036 No need to mark as deprecated the actual code. Revert
4037 to avoid missing symbols in widgets using deprecated API.
4039 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4041 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4043 * src/hildon-volumebar.h
4044 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4045 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4047 * src/hildon-helper.h
4048 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4049 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4051 * examples/Makefile.am:
4052 Deprecate hildon-insensitive-example
4054 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4056 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4058 * examples/hildon-pannable-area-buttons-scroll-example.c:
4059 Make all buttons finger height
4061 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
4063 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4065 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4066 update the day model only if it is really required, and to avoid the
4067 full-reconstruction aproach. Now it only add or remove the required days.
4069 The purpose of this is avoid superfluous HildonTouchSelector::changed
4072 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4073 with strange parameters)
4075 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
4077 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4079 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4080 the WINDOW_TYPE property.
4082 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4084 2008-11-19 Alberto Garcia <agarcia@igalia.com>
4087 Fix dependency to allow parallel compilation with make -jX
4089 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
4091 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
4092 color frame and some minor tweaks to make it more consistent with
4095 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4096 highlighted but not visible)
4098 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4100 * examples/Makefile.am: Fixed typo in the Makefile.am.
4102 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4104 Reviewed the use of MAEMO_GTK define, now we add the define in the
4105 compilation line, and we also add it to the pc file.
4107 * configure.ac: Added MAEMO_GTK define to the compilation command
4108 and removed it from the config.h.
4110 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
4111 do not have to take care about this define if the library was
4115 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
4117 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4119 * examples/Makefile.am,
4120 * examples/hildon-pannable-area-buttons-scroll-example.c,
4121 * examples/hildon-pannable-area-gesture-signals-example.c,
4122 * examples/hildon-pannable-area-scroll-jump-example.c,
4123 * examples/hildon-pannable-area-tree-view-example.c:
4124 Renamed the pannable area examples, now they have more meaningful
4127 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
4129 * src/hildon-touch-selector.c:
4130 (hildon_touch_selector_set_column_selection_mode): Used of
4131 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
4132 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
4133 to avoid re-seting the same selection mode.
4135 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
4136 breaks HildonPickerDialog)
4138 2008-11-13 Alejandro G. Castro <alex@igalia.com>
4140 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
4141 conditional in the Makefile.am
4143 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
4145 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
4146 Remove unused methods.
4148 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4150 * src/hildon-button.c (hildon_button_init):
4151 Make button images center-aligned by default
4153 2008-11-12 Alejandro G. Castro <alex@igalia.com>
4156 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
4157 activated, we have to think about how to deal with both defines
4158 MAEMO_GTK and MAEMO_CHANGES.
4160 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4162 * examples/hildon-app-menu-example.c (create_menu): Make all
4163 buttons finger size.
4165 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4167 Fixed the compilation without maemo gtk adding ifdefs with
4168 MAEMO_GTK define to the code, we have to check this version more
4171 * examples/Makefile.am: Added control to avoid some examples that
4172 just make sense with maemo gtk.
4175 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
4176 hildon modes with the define.
4178 * examples/hildon-edit-toolbar-example.c,
4179 (create_icon_view): Create the icon view without hildon-gtk
4180 helpers if we are not using maemo gtk.
4182 * src/hildon-touch-selector.c,
4183 (_create_new_column): Create the treeview without hildon-gtk
4184 helpers if we are not using maemo gtk.
4186 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4188 * src/hildon-pnnable-area.c,
4189 (hildon_pannable_area_dispose),
4190 (hildon_pannable_area_button_press_cb),
4191 (hildon_pannable_area_child_mapped),
4192 (hildon_pannable_area_add),
4193 (hildon_pannable_area_remove): Added code to control the position
4194 of the event_window when adding and removing children from the
4195 pannable. We have to raise the event window when the child is
4198 Fixes: NB#89811 (Not able to select first image thumbnail in multi
4199 selection mode using custom widget inside pannable)
4201 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4203 * configure.ac: post release version bump
4204 * debian/changelog: version bump
4206 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4211 * configure.ac: bump version
4212 * debian/changelog: updates
4214 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
4216 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
4217 search mode, in order to avoid lose the focus on the treeview when
4218 a hw key (like enter) is pressed.
4220 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
4221 in HildonDateSelector dialog)
4223 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
4225 * debian/rules: Added --enable-maintainer-mode
4226 * Makefile.am: Added ACLOCAL_AMFLAGS
4228 This allows to properly regenerate the Makefiles if you modify the
4229 configure.ac or any Makefile.am.
4231 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4233 * examples/hildon-app-menu-example.c: (main): Do not set RC style
4234 properties, not needed at all.
4236 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4238 * src/hildon-note-private.h: Add strings for the icon and stock_icon
4240 * src/hildon-note.c: (hildon_note_set_property),
4241 (hildon_note_get_property), (hildon_note_class_init),
4242 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
4243 (hildon_note_new_confirmation_add_buttons): Remove icons.
4244 (hildon_note_new_confirmation_with_icon_name): Deprecate.
4245 (hildon_note_new_information_with_icon_name): Deprecate.
4246 (hildon_note_new_confirmation): Act directly, without calling
4247 the deprecated constructor.
4248 (hildon_note_new_information): Act directly, without calling
4249 the deprecated constructor.
4250 * src/hildon-note.h: Mark deprecate methods as such.
4251 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
4252 not run tests on the deprecated methods if built with deprecation
4255 Fixes: NB#91688 (Never show icons in information notes/confirmation
4258 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4260 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
4261 (hildon_app_menu_key_press): Remove leftover usage of the
4262 private structure in HildonAppMenu struct.
4263 * src/hildon-app-menu.h: Remove leftover private structure
4264 from the HildonAppMenu struct.
4266 Fixes a crasher when using the HildonAppMenu.
4268 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4270 * src/hildon-picker-dialog.c: Use appropriate logical id
4271 for the default "Done" text.
4273 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4275 * configure.ac: post release version bump
4276 * debian/changelog: version bump
4278 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
4280 Modified the way to scroll to the current selection just when the touch
4281 selector is shown on the screen, avoiding a g_idle. Added too a property
4282 to configure this behaviour. See hildon_pannable_area_jump_to_child
4283 documentation for more information.
4285 * src/hildon-touch-selector.c
4286 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
4287 Added 'initial-scroll' property
4288 (hildon_touch_selector_set_property): Added
4289 (hildon_touch_selector_map): Removed as not required anymore
4290 (_hildon_touch_selector_on_selected_items): Modified in order to manage
4291 only a concrete column, instead of iterate along all the columns
4293 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4298 * configure.ac: bump version
4299 * debian/changelog: updates
4301 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4303 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
4304 compilation time warnings.
4306 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4308 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4309 the default value for HildonPannableArea::mov-mode to
4310 HILDON_PANNABLE_AREA_MODE_VERT.
4312 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
4314 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4316 Reverting following commit:
4318 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4320 * src/hildon-app-menu-private.h
4321 * src/hildon-app-menu.[ch]
4322 * src/hildon-button.[ch]
4323 * src/hildon-check-button.[ch]
4324 * src/hildon-entry.[ch]
4325 * src/hildon-pannable-area.[ch]
4326 * src/hildon-text-view.[ch]:
4327 Added private field to the object's structure.
4329 because it causes an ABI breakage. We will need to introduce these
4330 changes later at some point. See NB#91636 for an extensive
4331 explanation and status.
4333 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4335 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4337 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4338 remove special cases that are no longer necessary.
4340 Fixes: NB#91016 (Change toolbar sizes, simplification)
4342 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4344 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4345 is shown in the cancel note.
4347 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4349 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
4350 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
4351 (hildon_seekbar_init): Remove steppers, remove expose event.
4352 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
4354 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
4356 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
4358 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
4359 label font to "SmallSystemFont" for vertically arranged buttons.
4361 Fixes: NB#90662 (HildonButton "value" and "detail" text is
4364 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4366 * src/hildon-check-button.c
4367 (hildon_check_button_set_active, hildon_check_button_clicked):
4368 Don't access private parts directly, use getters instead.
4370 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4372 * src/hildon-check-button.c (hildon_check_button_new):
4373 Align the contents of the check button to the left.
4375 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4377 * src/hildon-pannable-area.c,
4378 (hildon_pannable_area_scroll_to),
4379 (hildon_pannable_area_jump_to),
4380 (hildon_pannable_area_scroll_to_child),
4381 (hildon_pannable_area_jump_to_child): Replace the mapped
4382 precondition of these functions with the realized, it is the
4383 correct state of the widget in this case. Changed the
4384 documentation according to this modification.
4386 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4388 Added a new EXTRA_CFLAGS option to add the deprecated define to
4389 the compilation command. This way we can avoid using the define in
4390 the documentation compilation.
4392 * configure.ac: Defined EXTRA_CFLAGS.
4394 * examples/Makefile.am:
4396 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
4398 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
4400 * src/hildon-picker-dialog.c:
4401 Defined a utility macro with the desired touch selector height
4402 Removed currently unused separator, and title_label variables from
4404 (hildon_picker_dialog_init): Removed code related to the creation
4405 of unused private variables title_label and separator.
4406 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
4407 to ensure correct visualization of the touch selector inside the dialog.
4408 * src/hildon-touch-selector.c
4409 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
4410 ensure a concrete height of the widget.
4412 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4415 * tests/Makefile.am:
4417 Remove spurious whitespaces.
4419 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4421 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
4422 compilation warning after the cancel button removal.
4424 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4426 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
4428 * configure.ac: Added an AM_CONDITIONAL in order to use in the
4429 Makefile.am, that way we can choose not to compile some examples
4430 and tests of the deprecated widgets.
4432 * examples/Makefile.am: Divided the sources in deprecated and
4435 * src/Makefile.am: Added undef statement of the deprecated
4436 symbol to the enums file generation process.
4438 * src/hildon-color-chooser-dialog.c
4439 * src/hildon-color-chooser-dialog.h
4440 * src/hildon-color-button.c
4441 * src/hildon-color-button.h
4442 * src/hildon-color-chooser.c
4443 * src/hildon-color-chooser.h
4444 * src/hildon-controlbar.c
4445 * src/hildon-controlbar.h
4446 * src/hildon-date-editor.c
4447 * src/hildon-date-editor.h
4448 * src/hildon-hvolumebar.c
4449 * src/hildon-hvolumebar.h
4450 * src/hildon-private.c
4451 * src/hildon-private.h
4452 * src/hildon-range-editor.c
4453 * src/hildon-range-editor.h
4454 * src/hildon-seekbar.c
4455 * src/hildon-seekbar.h
4456 * src/hildon-time-editor.c
4457 * src/hildon-time-editor.h
4458 * src/hildon-time-picker.c
4459 * src/hildon-time-picker.h
4460 * src/hildon-volumebar.c
4461 * src/hildon-volumebar.h
4462 * src/hildon-vvolumebar.c
4463 * src/hildon-vvolumebar.h
4464 * src/hildon-bread-crumb-trail.h
4465 * src/hildon-bread-crumb-trail.c
4466 * src/hildon-calendar-popup.c
4467 * src/hildon-calendar-popup.h
4468 * src/hildon-weekday-picker.c:
4469 * src/hildon-weekday-picker.h:
4470 * src/hildon-bread-crumb-widget.c:
4471 * src/hildon-bread-crumb-widget.h:
4472 * src/hildon-bread-crumb.c:
4473 * src/hildon-bread-crumb.h:
4474 * src/hildon-calendar.c:
4475 * src/hildon-calendar.h:
4476 * src/hildon-caption.c:
4477 * src/hildon-code-dialog.c:
4478 * src/hildon-code-dialog.h:
4479 * src/hildon-font-selection-dialog.c:
4480 * src/hildon-font-selection-dialog.h:
4481 * src/hildon-get-password-dialog.c:
4482 * src/hildon-get-password-dialog.h:
4483 * src/hildon-login-dialog.c:
4484 * src/hildon-login-dialog.h:
4485 * src/hildon-number-editor.c:
4486 * src/hildon-number-editor.h:
4487 * src/hildon-set-password-dialog.c:
4488 * src/hildon-set-password-dialog.h:
4489 * src/hildon-sort-dialog.c:
4490 * src/hildon-sort-dialog.h: This is the list of deprecated
4493 * src/hildon-touch-selector.c:
4494 * src/hildon-window.c: Added undef statement to avoid compilation
4497 * tests/Makefile.am: Divided the sources in deprecated and
4500 * tests/check_test.c,
4501 (configure_tests): Marked the deprecated code that was adding
4502 suites with deprecated tests.
4504 Fixes: NB#91135 (Deprecate legacy hildon widgets)
4506 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4508 * src/hildon-touch-selector.c: (_default_print_func): Do not
4509 duplicate a string returned by gtk_tree_model_get(), it is already
4512 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
4515 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4517 * src/hildon-pannable-area.c
4518 (hildon_pannable_area_add_with_viewport): Reviewed the complete
4519 method, it had problems when adding a widget with viewport the
4520 second time. Now checks if it already has a viewport and uses it.
4522 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
4525 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4527 * src/hildon-pannable-area.c,
4528 (hildon_pannable_area_scroll_to),
4529 (hildon_pannable_area_jump_to),
4530 (hildon_pannable_area_scroll_to_child),
4531 (hildon_pannable_area_jump_to_child): Added a precondition to the
4532 scroll and jump to functions: the widget must be mapped before we
4533 can safely call these functions. We have also added documentation
4534 to the functions to explain how to use them in this situation.
4537 2008-10-28 Alejandro G. Castro <alex@igalia.com>
4539 Reviewed the threading handling of the pannable widget, we have
4540 used the gdk_threads_add_timeout function instead of the usual
4541 glib handlers. This avoids some problems with the threads.
4543 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
4544 (hildon_pannable_area_initial_effect),
4545 (hildon_pannable_area_scroll_indicator_fade),
4546 (hildon_pannable_area_button_press_cb),
4547 (hildon_pannable_area_timeout),
4548 (hildon_pannable_area_motion_notify_cb),
4549 (hildon_pannable_area_button_release_cb),
4550 (hildon_pannable_area_scroll_cb),
4551 (hildon_pannable_area_scroll_to): Removed the
4552 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
4553 gdk_threads_add_timeout.
4555 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
4557 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4562 * configure.ac: bump version
4563 * debian/changelog: updates
4565 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4567 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
4568 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
4569 * src/hildon-color-chooser-dialog.c:
4570 (hildon_color_chooser_dialog_init):
4571 * src/hildon-font-selection-dialog.c:
4572 (hildon_font_selection_dialog_init):
4573 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
4575 Remove all cancel/close-like dialogs, as these are not going to be
4578 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4580 * src/hildon-note.c: (hildon_note_rebuild),
4581 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
4584 Fixes: NB#90661 (Delete dialog is displayed without NO button)
4586 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
4588 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
4589 sure all buttons are shown, even the Cancel/Close-like ones.
4591 Fixes: NB#90861 (Custom Confirmation dialogs should be
4592 protected from cancel button removal)
4594 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4596 * debian/control: Change libhildon1-examples dependency from libhildon1
4598 * debian/libhildon1-examples.install
4600 * Makefile.am: Modified the final install directory for the examples on
4601 package libhildon1-examples
4602 * Makefile.static: Update clean target in order to remove all the binary
4605 Changes suggested by Claudio after review new libhildon1-examples package
4607 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
4609 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
4610 * src/hildon-touch-selector.c: Ditto.
4612 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
4614 * debian/control: Added new package libhildon1-examples, in order to pack
4615 the current hildon examples as documentation
4616 * debian/rules: Not to compress .c files, modify some includes on the
4617 examples (as normally are compiled locally, but when installed it will
4618 require to include the installed libhildon1 library), and rename
4620 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
4621 install all the example files on the new example package
4622 * examples/Makefile.static: Added static makefile that can be used to
4623 compile the examples, once installed the new example package
4624 * examples: Most of the examples were modified in order to grant that
4625 all use only '#include "hildon.h"', in order to be easy to prepare
4626 it on the example package
4628 2008-10-23 Alberto Garcia <agarcia@igalia.com>
4631 * debian/libhildon1-dev.install
4632 * debian/libhildon1-doc.install:
4633 Move all gtk-doc files to a separate libhildon1-doc package.
4635 2008-10-23 Daniel Borgmann <danielb@openismus.com>
4637 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4639 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
4641 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
4643 * debian/rules: Fixed a error in order to avoid unnecessary calls
4644 to autogen.sh on package building
4646 2008-10-22 Alberto Garcia <agarcia@igalia.com>
4648 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
4650 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4652 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
4655 2008-10-21 Alberto Garcia <agarcia@igalia.com>
4657 * src/hildon-picker-button.c
4658 (hildon_picker_button_finalize):
4659 Free priv->done_button_text
4661 * src/hildon-time-button.c
4662 (hildon_time_button_set_time)
4663 * src/hildon-picker-button.c
4664 (hildon_picker_button_clicked)
4665 (hildon_picker_button_selector_selection_changed)
4666 (hildon_picker_button_set_selector)
4667 * src/hildon-date-button.c
4668 (hildon_date_button_set_date):
4669 Free strings returned by hildon_touch_selector_get_current_text()
4671 * src/hildon-button.c (hildon_button_construct_child):
4672 Fix leaks in priv->image and priv->label_box
4674 Fixes: NB#90535 (Memory leak in picker button)
4676 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
4678 * src/hildon-button.c: (hildon_button_get_property): Do not access
4679 private elements directly, use getters instead.
4681 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4683 * src/hildon-app-menu-private.h
4684 * src/hildon-app-menu.c
4685 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
4686 Store the menu's parent window.
4688 * src/hildon-stackable-window.c
4689 (hildon_stackable_window_toggle_menu)
4690 (hildon_stackable_window_finalize):
4691 Set the menu's parent window when the menu is shown, unset it when
4694 * src/hildon-app-menu.c
4695 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
4696 (hildon_app_menu_class_init):
4697 Send unhandled keyboard accelerators to the parent window.
4699 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4701 * src/hildon-stackable-window.c
4702 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
4704 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4706 * configure.ac: post release version bump
4708 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4711 * configure.ac: Bump version
4712 * debian/changelog: Updates
4713 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
4716 2008-10-20 Alberto Garcia <agarcia@igalia.com>
4718 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4721 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
4722 GtkMenu with Hildon style.
4724 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4726 * src/hildon-picker-button.c:
4727 (hildon_picker_button_set_done_button_text): Set the dialog's
4728 done button text here as well.
4730 Fixes: NB#90232 (Picker button does not set the label on done button
4731 for the second time)
4733 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
4735 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
4738 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4740 * src/hildon-app-menu.c (hildon_app_menu_insert)
4741 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
4742 the HildonAppMenu to be activatable using keyboard accelerators
4743 when the menu is not being shown.
4745 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
4747 2008-10-16 Alberto Garcia <agarcia@igalia.com>
4749 * src/hildon-stackable-window.c
4750 (hildon_stackable_window_show):
4751 Don't hide old windows automatically when new windows are shown:
4752 this is now a task for the window manager.
4753 (hildon_stackable_window_class_init)
4754 (hildon_stackable_window_hide):
4755 Remove windows from the stack everytime they're hidden.
4756 (hildon_stackable_window_realize):
4757 Don't change the _NET_WM_WINDOW_TYPE property. Use
4758 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
4759 it as a stackable window.
4761 * src/hildon-program.c
4762 (hildon_program_pop_window_stack):
4763 Just hide the window to remove it from the stack.
4764 (hildon_program_go_to_root_window):
4765 Don't call gtk_widget_show(), this is now a task for the window
4768 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
4770 2008-10-15 Alberto Garcia <agarcia@igalia.com>
4772 * src/hildon-button.c
4773 (hildon_button_construct_child):
4774 Don't pack anything in the button until text or image are
4775 set. This allows adding a custom child after creating the button
4776 with hildon_button_new().
4777 (hildon_button_finalize, hildon_button_class_init)
4778 (hildon_button_init, hildon_button_set_arrangement): Destroy the
4779 alignment and the label box even when they're not packed in the
4782 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
4784 * src/hildon-touch-selector.h:
4785 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
4786 currently the type definition was using GTK_TYPE_VBOX
4787 * src/hildon-touch-selector.c:
4788 Added some implementation notes in order to clarify that any other widget
4789 added without the column related API will not be included on the
4790 selection logic, and how the widget is freed, as some people ask about
4792 (hildon_touch_selector_remove): Reimplemented in order to free properly
4793 the column related data when you remove the private hbox.
4794 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
4795 to get a proper HildonTouchSelectorColumn documentation
4797 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4799 * src/hildon-touch-selector-entry.c:
4800 (hildon_touch_selector_entry_print_func): Return NULL if there is no
4801 text in the GtkEntry and there is no item selected. Fixes a
4804 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4806 * src/hildon-app-menu-private.h
4807 * src/hildon-app-menu.[ch]
4808 * src/hildon-button.[ch]
4809 * src/hildon-check-button.[ch]
4810 * src/hildon-entry.[ch]
4811 * src/hildon-pannable-area.[ch]
4812 * src/hildon-text-view.[ch]:
4813 Added private field to the object's structure.
4815 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4817 * configure.ac: post-release version bump
4819 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4823 * configure.ac: pre-release version bump
4825 * debian/changelog: updates.
4827 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4829 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
4830 Disconnect the handler for HildonTouchSelector::changed.
4832 (hildon_picker_button_selector_selection_changed): Update the button
4833 value if the selection change was not triggered by the
4836 (hildon_picker_button_set_selector): connect to
4837 HildonTouchSelector::changed.
4839 Fixes: NB#89650 (Picker button is not updated, when selection in
4840 selector has changed)
4842 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
4844 * src/hildon-picker-dialog.c
4845 (hildon_picker_dialog_realize): Removed as not required
4846 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
4847 * src/hildon-picker-button.c
4848 (_current_selector_empty): New function, checks if the selector is empty
4849 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
4850 if the current selector is empty, in order to avoid to show the dialog
4851 close the dialog in this case (and shows a g_warning).
4853 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
4855 2008-10-09 Alejandro G. Castro <alex@igalia.com>
4857 * src/hildon-pannable-area.c,
4858 (hildon_pannable_area_scroll): Added clause to stop movement when
4859 the child of pannable is smaller than one page.
4860 (hildon_pannable_area_scroll_to): Added conditions to avoid
4861 starting the scrolling movement if the child is smaller than one
4862 page, the complete child is in the screen, we do not have to move.
4864 Fixes: NB#89632 (Picker button selection doesn't change on first click)
4866 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4868 * src/hildon-app-menu.c: Removed the 'columns' property, as now
4869 this is managed automatically by the widget when the size of the
4872 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4874 * src/hildon-picker-button.c
4875 (hildon_picker_button_set_done_button_text): Make a copy of the
4876 text, and free the previous value.
4878 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4880 * src/hildon-touch-selector-entry.c:
4881 (hildon_touch_selector_entry_print_func): Return the selected row's
4882 text if the entry is empty.
4884 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
4887 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4889 * src/hildon-touch-selector-entry.c: Minor docs fixes.
4891 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4894 * src/hildon-check-button.h
4895 * src/hildon-check-button.c
4896 * examples/hildon-check-button-example.c:
4897 HildonCheckButton is now a new widget. 'toggled' signal added.
4899 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4901 * src/hildon-program-private.h
4902 * src/hildon-program.c (hildon_program_init)
4903 (hildon_program_finalize): Removed unused variables group_leader
4904 and name from HildonProgramPrivate.
4906 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4908 * src/hildon-check-button.c (hildon_check_button_set_active)
4909 (hildon_check_button_get_active, hildon_check_button_new): Use
4910 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
4912 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
4914 * src/hildon-touch-selector.h
4915 (hildon_touch_selector_set_column_attributes): added deprecation
4916 guard HILDON_DISABLE_DEPRECATED
4917 * src/hildon-time-selector.c
4918 (hildon_time_selector_set_time)
4919 (hildon_time_selector_get_time): Fixed a typo on documentation
4920 * src/hildon-touch-selector.c: update HildonTouchSelector and
4921 HildonTouchSelectorColumn documentation
4922 * src/hildon-touch-selector-entry.c: update "text-column" property
4924 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
4925 to be added to the general documentation.
4927 2008-10-08 Alejandro G. Castro <alex@igalia.com>
4929 * examples/hildon-pannable-area-example-4.c,
4931 * examples/hildon-pannable-area-example.c,
4932 (main): Modified the code in order to use the container add, with
4933 viewport treeviews could have problems if they are really big.
4935 2008-10-06 Alejandro G. Castro <alex@igalia.com>
4937 * src/hildon-weekday-picker.c,
4938 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
4939 the agreement regarding deprecation in the library.
4941 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4943 * examples/hildon-picker-button-multicolumn-example.c:
4944 (main): Use custom "done" button text.
4946 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4947 (hildon_picker_button_set_property),
4948 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4949 (hildon_picker_button_init),
4950 (+hildon_picker_button_get_done_button_text),
4951 (+hildon_picker_button_set_done_button_text): New methods to customize
4952 the "done" button label in the launched HildonPickerDialog. Also,
4955 * src/hildon-picker-button.h: add the public API.
4957 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4959 * src/hildon-date-selector.h:
4960 * src/hildon-picker-dialog.h:
4961 * src/hildon-time-selector.h:
4962 * src/hildon-touch-selector-column.h:
4963 * src/hildon-touch-selector.h:
4965 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
4966 declarations. Fixes gtk-doc warnings.
4968 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4970 * src/hildon-picker-dialog.h
4971 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
4972 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
4974 Fixes: NB#89329 (selectors in picker dialog are not visible when a
4975 long text is set as label for done button)
4977 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4979 * src/hildon-dialog.c (hildon_dialog_add_button):
4980 Set fixed width to all buttons in the HildonDialog.
4982 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4984 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4986 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
4987 Set widget name using class name plus "-finger" or "-thumb".
4989 2008-10-03 Alberto Garcia <agarcia@igalia.com>
4991 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
4992 'clicked' when the state of the button is manually changed.
4994 2008-10-02 Alberto Garcia <agarcia@igalia.com>
4996 * src/hildon-app-menu.c (hildon_app_menu_realize)
4997 (hildon_app_menu_unrealize, hildon_app_menu_init)
4998 (hildon_app_menu_class_init, item_visibility_changed):
4999 Change the menu layout when the size of the screen changes.
5000 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5001 Show warning only when changing the number of colums using the
5004 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5006 * debian/compat: Set to 5
5007 * debian/control: Update dependencies.
5008 * debian/libhildon1-dbg.install: Remove.
5009 * debian/libhildon1-dev.install: Update according to cdbs paths.
5010 * debian/libhildon1.install: Update according to cdbs paths.
5011 * debian/rules: Switch to cdbs.
5013 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5015 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5016 'item' variable renamed to 'filter'
5018 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5020 * src/hildon-app-menu.c (hildon_app_menu_insert)
5021 (hildon_app_menu_add_filter, remove_item_from_list)
5022 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5023 Don't leak hidden items when the menu is destroyed.
5025 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5027 * src/hildon-app-menu.c (hildon_app_menu_insert)
5028 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5029 (hildon_app_menu_set_columns, item_visibility_changed)
5030 (filter_visibility_changed, hildon_app_menu_repack_filters)
5031 (hildon_app_menu_repack_items):
5032 Repack items and filters separately.
5034 Don't repack all items, change only the ones that are needed to
5037 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5039 * src/Makefile.am: added hildon-touch-selector-column.h
5041 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5043 * src/hildon-touch-selector.c: added the property "text-column" to the
5044 class HildonTouchSelectorColumn, and related get/set functions
5045 (_default_printf_func): updated to use "text-column" property
5046 * src/hildon-touch-selector-entry.c: mark as deprecated the property
5047 "text-column" in his documentation, as this is now included on
5048 HildonTouchSelectorColumn. The get/set_property can still be used,
5049 working as a wrapper to the concrete column "text-column" property
5050 (_text_column_modified): callback added in order to handle the signal
5051 "notify::text-column" of the concrete HildonTouchSelectorColumn
5052 (hildon_touch_selector_entry_get_text_column)
5053 (hildon_touch_selector_entry_set_text_column): Added documentation, and
5054 modified in order to use the HildonTouchSelectorColumn "text-column"
5056 * src/hildon-time-selector.c:
5057 * src/hildon-date-selector.c:
5058 * examples/hildon-touch-selector-example.c
5059 * examples/hildon-touch-selector-multi-cells-example.c
5060 * examples/hildon-picker-button-multicolumn-example.c
5061 Set the right value to "text-column" property on the creation of a new
5062 column using hildon_touch_selector_append_column()
5064 Fixes: NB#88644 (Hardcoded first column of the model as text column)
5066 2008-09-30 Alberto Garcia <agarcia@igalia.com>
5068 * src/hildon-app-menu.c
5069 (hildon_app_menu_construct_child, hildon_app_menu_init): When
5070 updating the layout of the menu, don't create all widgets again,
5071 just repack the items in their new places.
5073 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
5075 * src/hildon-time-selector.c
5076 (hildon_time_selector_get_time)
5077 (hildon_time_selector_set_time)
5078 Added documentation of these public methods
5080 * src/hildon-date-button.h
5081 * src/hildon-touch-selector-column.h
5082 * src/hildon-time-button.h
5083 * src/hildon-picker-dialog.h
5084 * src/hildon-time-selector.h
5085 * src/hildon-picker-button.h
5086 * src/hildon-touch-selector.h
5087 * src/hildon-time-picker.h
5088 * src/hildon-date-selector.h
5089 * src/hildon-touch-selector-entry.h
5090 Modified in order to use hildon-widgets code style
5092 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5094 Added deprecated support to the compilation process using
5095 HILDON_DISABLE_DEPRECATED
5097 * configure.ac: Added the --disable-deprecated to the configure
5100 * src/hildon-weekday-picker.c:
5101 * src/hildon-weekday-picker.h: Deprecated widget, example of how
5102 to use the deprecated support. We will update the other deprecated
5103 widgets status in a new patch.
5105 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5107 * configure.ac: Fixed typo with fatal warnings support, the
5108 variable name was not correct
5110 2008-09-29 Alberto Garcia <agarcia@igalia.com>
5112 * src/hildon-app-menu.c
5113 * src/hildon-program.c: Update documentation.
5115 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5117 * configure.ac: Post-release version bump.
5119 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5124 * configure.ac: Pre-release version bump.
5125 * debian/changelog: Updates.
5127 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5129 * NEWS: Update news for previous releases.
5131 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5133 * examples/hildon-touch-selector-multi-cells-example.c:
5134 (create_selector): Update the example to use
5135 hildon_touch_selector_append_column() with a NULL renderer and set
5136 the renderers later.
5137 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
5138 passed a NULL renderer. This is documented behavior now.
5140 Allow passing a NULL renderer to hildon_touch_selector_append_column().
5141 This must be used if the developer wants full control on the layout of
5142 the renderers to be added to the column.
5144 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5146 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5148 * src/hildon-touch-selector.c: Documentation fixes.
5150 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5152 * src/hildon-wizard-dialog-private.h: Remove image and box.
5153 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
5154 (hildon_wizard_dialog_set_property), (response): Completely remove
5155 image/icon support, and the containers required for the layout.
5157 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
5159 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5161 * src/hildon-app-menu.c: Updated documentation.
5163 * src/hildon-stackable-window.c
5164 (hildon_stackable_window_set_main_menu): Unref the old menu after
5165 ref'ing the new one.
5167 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5169 * src/hildon-stackable-window.c
5170 (hildon_stackable_window_set_main_menu): Unref the previous menu
5171 instead of destroying it.
5173 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
5174 floating reference and set has_user_ref_count to FALSE to make
5175 HildonAppMenu act like a normal ref-counted widget and not a
5178 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
5181 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
5183 * src/hildon-touch-selector-column.h: new file
5184 * src/hildon-touch-selector.h
5185 * src/hildon-touch-selector.c
5186 Implemented GtkCellLayout interface, in order to allow to configure
5187 the cell layout on each individual selector column
5188 (hildon_touch_selector_set_column_attributes): marked as deprecated
5189 * examples/hildon-touch-selector-multi-cells-example.c
5190 Example of how to use the GtkCellLayout interface on the selector
5192 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5194 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5196 * src/hildon-app-menu.h
5197 * src/hildon-app-menu.c
5198 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
5199 (hildon_app_menu_append, hildon_app_menu_prepend):
5200 New methods to prepend, insert and move items in the menu.
5202 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5204 * src/hildon-wizard-dialog.c:
5206 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
5208 (create_title): Update logical IDs and related code.
5209 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
5211 * src/hildon-wizard-dialog.h: Note that
5212 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
5213 point, as it is not used anymore.
5215 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
5217 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5219 * src/hildon-note.c:
5220 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
5221 shown. Do not display an icon in confirmation notes nor information
5223 (hildon_note_set_button_text): Update logical ID for cancel button.
5225 Fixes: NB#88850 (Update HildonNote button strings + signals)
5227 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5229 * src/hildon-stackable-window.c
5230 (hildon_stackable_window_set_main_menu): Fix compilation warning.
5232 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5234 * src/hildon-app-menu-private.h
5235 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
5236 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
5237 (hildon_app_menu_init, hildon_app_menu_class_init): Added
5238 temporary property 'columns' to change the number of columns.
5240 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5242 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
5244 * examples/hildon-note-example.c: (on_information_clicked),
5245 (on_confirmation_clicked), (on_progress_clicked), (main): Add
5246 debugging information.
5247 * src/hildon-note-private.h: Remove close_if_pressed_outside,
5249 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
5250 (hildon_note_rebuild): Remove special handling of tapping outside/inside
5251 in order to close: this will be handled by the WM from now on.
5253 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
5255 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5257 * src/hildon-app-menu-private.h
5258 * src/hildon-app-menu.c
5259 (hildon_app_menu_append, hildon_app_menu_add_filter)
5260 (button_visibility_changed, hildon_app_menu_apply_style)
5261 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
5262 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
5263 layout everytime a button (item or filter) is shown or hidden.
5265 * src/hildon-stackable-window.c
5266 (hildon_stackable_window_set_main_menu): Destroy the old menu when
5269 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
5271 * src/hildon-touch-selector.c:
5272 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
5273 that the treeview inside the touch selector is in fremantle hildon mode
5274 * examples/hildon-date-button-example.c
5275 * examples/hildon-picker-button-multicolumn-example.c
5276 * examples/hildon-touch-selector-entry-example.c
5277 * examples/hildon-touch-selector-example.c
5278 * examples/hildon-time-button-example.c
5279 * examples/hildon-picker-button-example.c:
5280 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
5282 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
5284 * examples/hildon-text-view-example.c: (main): Remove the
5285 gtkrc bits, now handled by the theme.
5287 2008-09-22 Alberto Garcia <agarcia@igalia.com>
5289 * src/hildon-picker-button.c (hildon_picker_button_set_active):
5292 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5294 * po/Makefile.am: Install properly the mo files.
5295 * po/en_GB.po: Update translation, to ease testing purposes.
5297 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5299 * examples/hildon-picker-button-example.c: (main): Select an item
5300 in the selector before setting it to the button.
5302 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5304 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
5305 Update button's value if the selector has an item active.
5307 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
5308 'value' with the selector)
5310 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5312 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
5313 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
5314 (hildon_picker_button_class_init): Plug the finalize method.
5315 (hildon_picker_button_set_selector): If there's a previously set
5316 selector, unref'it before setting a new one.
5318 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
5319 HildonTouchSelector)
5321 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
5323 * src/hildon-touch-selector-entry.c:
5324 (hildon_touch_selector_entry_changed): Check if there is no text
5325 selected before setting the entry text.
5328 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5330 * src/hildon-touch-selector.h
5331 * src/hildon-touch-selector.c
5332 (hildon_touch_selector_get_active)
5333 (hildon_touch_selector_set_active): New methods to set/get the
5334 index of the selected item.
5336 * src/hildon-picker-button.h
5337 * src/hildon-picker-button.c
5338 (hildon_picker_button_get_active)
5339 (hildon_picker_button_set_active): New methods to set/get the
5340 index of the selected item.
5342 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5344 * configure.ac: post-release version bump.
5346 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5350 * configure.ac: Pre-release version bump.
5351 * debian/changelog: Updates.
5352 * debian/control: Add myself as maintainer and depend on l10n
5355 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5357 * src/hildon-window.c
5358 (hildon_window_set_main_menu)
5359 * src/hildon-stackable-window.c
5360 (hildon_stackable_window_set_main_menu):
5361 Updated documentation.
5363 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5365 * src/hildon-date-selector.c (hildon_date_selector_finalize):
5366 Don't free selector->priv manually.
5369 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5372 (hildon_gtk_window_set_progress_indicator):
5373 * src/hildon-gtk.h: Added the new API
5374 hildon_gtk_window_set_progress_indicator, it changes the state of
5375 the window progress hint.
5377 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5379 * src/hildon-button.c
5380 * src/hildon-stackable-window.c: Minor documentation updates.
5382 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5384 * src/hildon-stackable-window.c: Updated documentation.
5386 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
5388 * src/hildon-defines.h: Update margins definitions
5389 to the Fremantle sizes.
5392 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5394 * src/hildon-touch-selector.c,
5395 (_hildon_touch_selector_set_model): Cleaning the code after
5396 review, removed g_print and #if 0 from the code.
5398 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5400 * src/hildon-edit-toolbar.c: Update documentation.
5402 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5404 * src/hildon-check-button.h
5405 * src/hildon-check-button.c
5406 (hildon_check_button_set_label, hildon_check_button_get_label)
5407 * examples/hildon-check-button-example.c
5408 (button_clicked_cb):
5409 Removed deprecated methods.
5411 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5413 * src/hildon-text-view.c:
5414 Add sample code to the documentation.
5416 * src/hildon-entry.h
5417 * src/hildon-text-view.h:
5418 Minor cosmetic changes.
5420 * src/hildon-entry.c:
5421 Add sample code to the documentation.
5422 (hildon_entry_init, hildon_entry_refresh_contents):
5423 Don't allow NULL values in the placeholder.
5425 2008-09-10 Alberto Garcia <agarcia@igalia.com>
5427 * doc/hildon-docs.sgml
5429 * examples/Makefile.am
5430 * examples/hildon-text-view-example.c
5432 * src/hildon-text-view.c
5433 * src/hildon-text-view.h
5435 New HildonTextView widget, with example.
5437 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5439 * po/POTFILES.in: Add missing files with translatable strings.
5440 Partially fixes NB#88287.
5442 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5444 * examples/hildon-pannable-area-example-2.c: (main): No need to
5445 set the cellrenderer height inside hildon touch lists, the theme does
5448 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5450 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
5451 they are integrated in the theme.
5453 2008-09-09 Alberto Garcia <agarcia@igalia.com>
5455 * examples/hildon-entry-example.c: Update the example adding
5456 widgets to modify the text and the placeholder of the HildonEntry.
5458 * src/hildon-entry.c: Show the placeholder everytime the widget
5459 is empty and loses the focus.
5461 2008-09-09 Alejandro G. Castro <alex@igalia.com>
5463 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
5465 * src/hildon-pannable-area.c,
5466 (hildon_pannable_area_size_request): Fixed bug in height
5467 requisition, avoid increasing size and add border twice.
5469 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5471 * configure.ac: postrelease version bump.
5473 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
5477 * configure.ac: Prerelease version bump.
5478 * debian/changelog: update.
5479 * debian/rules: make -dbg package contain useful debugging symbols.
5481 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5483 * src/hildon-dialog.h
5484 * src/hildon-dialog.c
5485 (hildon_dialog_add_button, hildon_dialog_add_buttons):
5486 New methods to add buttons with finger size.
5487 (hildon_dialog_new_with_buttons):
5488 Create buttons with finger size.
5490 * examples/hildon-dialog-example.c (main): Use HildonDialog
5491 methods to add buttons.
5493 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5495 * src/hildon-entry.c: Updated HildonButton documentation.
5497 2008-09-08 Alberto Garcia <agarcia@igalia.com>
5499 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
5500 button value label with (FALSE, FALSE) to prevent NB#88126 from
5503 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5505 * examples/hildon-pannable-area-example.c,
5506 (main): Removed examples panning a vbox inside a pannable
5507 area. Check bug NB#87965
5509 2008-09-08 Alejandro G. Castro <alex@igalia.com>
5511 Patch contributed by Kris Rietveld (kris@imendio.com)
5513 * src/hildon-pannable-area.c,
5514 (hildon_pannable_area_get_topmost): replaced the get_geometry with
5515 get_size and get_position, this saves an X server roundtrip.
5517 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5519 * doc/hildon-docs.sgml
5521 * examples/Makefile.am
5522 * examples/hildon-entry-example.c
5524 * src/hildon-entry.c
5525 * src/hildon-entry.h
5527 New HildonEntry widget, with example.
5529 2008-09-05 Alberto Garcia <agarcia@igalia.com>
5531 * src/hildon-button.c (hildon_button_construct_child): Pack the
5532 image with expand == fill == FALSE. This is a workaround for a bug
5535 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
5537 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
5538 labels for the text column, to make it more look more dynamic.
5540 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5542 * src/hildon-time-selector.c
5543 Define gettext auxiliar macro N_
5544 (_create_minutes_model)
5545 (_create_hours_model)
5546 (_create_ampm_model): use of strftime in order to fill the model
5547 * src/hildon-date-selector.c
5548 (hildon_date_selector_finalize):
5549 (_locales_init): remove the logic related to get the name of the months
5550 using nl_langinfo, as it is not required anymore
5552 (_create_year_model)
5553 (_create_month_model)
5554 (_update_day_model): use of strftime in order to fill the model properly
5557 2008-09-04 Alberto Garcia <agarcia@igalia.com>
5559 * src/hildon-button.h
5560 * src/hildon-button.c (hildon_button_get_image): New method to
5563 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
5565 * src/hildon-touch-selector.c:
5566 (hildon_touch_selector_remove_column): Remove from the correct parent
5567 and also remove the list element and free it.
5570 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
5572 * src/hildon-time-selector.c
5573 (_create_hours_model): change the range on 12h ampm format in order to use
5574 a 12-11 range instead of previous 01-12 range
5575 (hildon_time_selector_set_time): change the way to select the current time
5576 on 12h ampm format, due the change on the range
5577 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
5580 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
5582 * src/hildon-touch-selector.c
5583 (hildon_date_touch_selector_get_selected): fix the selection mode check,
5584 in order to allow use this function on multiple row selection mode if
5585 the column is different that the first one
5588 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
5590 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
5591 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
5593 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5595 * src/hildon-date-selector.h: clean some comments, now on the .c
5596 * src/hildon-date-selector.c
5597 (hildon_date_selector_select_month): first implementation
5598 (hildon_date_selector_select_day): added documentation, reimplemented
5599 using hildon_date_selector_select_current_date to avoid repeat code
5602 2008-09-02 Alejandro G. Castro <alex@igalia.com>
5604 Reviewed interaction logic based on device experiences, refactored
5607 * src/hildon-pannable-area.c,
5608 (hildon_pannable_area_class_init): Updated default vmax speed.
5609 (hildon_pannable_area_calculate_velocity): Added this function, it
5610 avoids duplicate valocity calculation. Adjusted calculation to
5611 avoid problems with zero dist events.
5613 (hildon_pannable_area_motion_notify_cb): Now we use the
5614 calculate_velocity function.
5616 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5618 * src/hildon-date-selector.c
5619 (hildon_date_selector_select_current_date): fix the day range check
5620 as it failed using the last day of the current month
5623 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
5625 * src/hildon-touch-selector.c
5626 (hildon_touch_selector_get_num_columns): added a parameter validation
5629 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5631 * examples/Makefile.am
5632 * examples/hildon-edit-toolbar-example.c: Example of the
5633 HildonEditToolbar widget.
5635 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5637 * configure.ac: postrelease version bump.
5639 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5643 * configure.ac: prerelease version bump.
5644 * debian/changelog: update.
5646 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5648 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
5649 renderer to display stock icons in the touch list. Also, set the sizes
5650 to the recommended in the style guide.
5652 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5653 * src/hildon-touch-selector.h
5654 (hildon_touch_selector_set_active_iter): renamed, now is
5655 hildon_touch_selector_select_iter
5656 (hildon_touch_selector_get_active_iter): renamed, now is
5657 hildon_touch_selector_get_selected
5658 (hildon_touch_selector_unselect_iter): added
5659 * src/hildon-touch-selector.c
5660 Update after API modification (methods renamed)
5661 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
5662 order to avoid problems selecting multiple elements on the column
5663 (hildon_touch_selector_unselect_iter): added the implementation
5664 * src/hildon-time-selector.c
5665 * src/hildon-date-selector.c
5666 * src/hildon-touch-selector-entry.c
5667 Update methods calls after hildon-touch-selector.h API modification (methods
5670 2008-08-29 Alberto Garcia <agarcia@igalia.com>
5672 * src/hildon-stackable-window.c
5673 (hildon_stackable_window_finalize): Call the parent class's finalize.
5675 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5677 * examples/hildon-touch-selector-example.c: (create_selector): Use
5678 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
5681 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
5683 * examples/hildon-touch-selector-example.c: (create_selector): Do not
5684 set a cell background color, to respect theming.
5686 2008-08-28 Alberto Garcia <agarcia@igalia.com>
5688 * doc/hildon-docs.sgml
5691 * src/hildon-edit-toolbar.c
5692 * src/hildon-edit-toolbar.h
5693 * src/hildon.h: New HildonEditToolbar widget.
5695 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
5697 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
5700 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5701 * src/hildon-touch-selector.c
5702 (_create_new_column): use g_object_set instead of two g_object_set_property
5704 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
5705 * src/hildon-touch-selector.c
5706 (_create_new_column): use of hildon_gtk_tree_view_new to create
5707 the treeview, instead of use directly g_object_new
5708 (_create_new_column): update the property name "vindicator-mode" for the
5709 new one "vscrollbar-policy"
5710 * examples/hildon-date-button-example.c
5711 * examples/hildon-picker-button-multicolumn-example.c
5712 * examples/hildon-touch-selector-entry-example.c
5713 * examples/hildon-touch-selector-example.c
5714 * examples/hildon-time-button-example.c
5715 * examples/hildon-picker-button-example.c
5716 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
5717 to all the treeviews inside a pannable area.
5719 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5721 * src/hildon-button.h
5722 * src/hildon-button.c (hildon_button_init)
5723 (hildon_button_set_arrangement, hildon_button_set_alignment)
5724 (hildon_button_set_title_alignment)
5725 (hildon_button_set_value_alignment)
5726 (hildon_button_set_image_alignment)
5727 (hildon_button_construct_child): New methods to set the alignment
5728 of the individual components of the button (title, value,
5729 image). Also, new method to alter the xscale and yscale properties
5730 of the GtkAlignment inside the button, so more complex layouts can
5733 2008-08-27 Alberto Garcia <agarcia@igalia.com>
5735 * src/hildon-button.c (hildon_button_style_set)
5736 (hildon_button_class_init, hildon_button_set_arrangement)
5737 (hildon_button_construct_child): Apply style properties
5738 correctly. Use the 'image-spacing' style property too.
5740 2008-08-26 Alberto Garcia <agarcia@igalia.com>
5742 * src/hildon-app-menu.c (hildon_app_menu_style_set)
5743 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
5746 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5748 * src/hildon-pannable-area.c,
5749 (hildon_pannable_area_size_request): Fixed problem with
5750 pannable-area size_request.
5752 2008-08-26 Alejandro G. Castro <alex@igalia.com>
5754 Added management for the grab-focus to a child widget, like a
5755 range, we need to fade out the scrollbar when releasing.
5757 * src/hildon-pannable-area.c,
5758 (hildon_pannable_area_init): Connected the grab-focus signal to
5760 (hildon_pannable_area_grab_notify): Added this function in order
5761 to manage the situation when the grab-focus ends. We have to
5762 fade-out the scrollbar.
5764 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5766 * src/hildon-app-menu.c: Minor documentation update.
5768 2008-08-25 Alberto Garcia <agarcia@igalia.com>
5770 * src/hildon-app-menu.c
5771 * examples/hildon-app-menu-example.c (create_menu): Update
5772 examples and documentation to explain how to connect callbacks.
5774 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
5776 * examples/hildon-button-example.c
5777 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
5778 hildon_stackable_window_new instead of gtk_window_new
5780 2008-08-22 Alejandro G. Castro <alex@igalia.com>
5782 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
5783 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
5784 (hildon_pannable_area_set_property),
5785 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
5786 (hildon_pannable_area_unrealize),
5787 (hildon_pannable_area_size_request),
5788 (hildon_pannable_area_size_allocate),
5789 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
5790 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
5791 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
5792 (hildon_pannable_area_initial_effect),
5793 (hildon_pannable_area_redraw),
5794 (hildon_pannable_area_scroll_indicator_fade),
5795 (hildon_pannable_area_expose_event),
5796 (hildon_pannable_area_get_topmost), (synth_crossing),
5797 (hildon_pannable_area_button_press_cb),
5798 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
5799 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
5800 (hildon_pannable_area_motion_notify_cb),
5801 (hildon_pannable_area_button_release_cb),
5802 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
5803 (hildon_pannable_area_remove),
5804 (hildon_pannable_calculate_vel_factor): Widget refactorization,
5805 chage the code layout to a more GtkWidget like. Review the use of
5808 2008-08-21 Alejandro G. Castro <alex@igalia.com>
5810 * examples/hildon-pannable-area-example-4.c,
5811 (main): Modified the name of the hindicator_mode to
5814 * src/hildon-pannable-area.c,
5815 (hildon_pannable_area_class_init),
5816 (hildon_pannable_area_motion_notify_cb),
5817 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
5818 we have reduced the amount of signals and managed reviewed its
5819 rationale. Changed the default decelerate value.
5821 (hildon_pannable_area_add),
5822 (hildon_pannable_area_redraw): Refactored functions.
5824 (hildon_pannable_area_init),
5825 (hildon_pannable_area_get_property),
5826 (hildon_pannable_area_set_property):
5827 (hildon_pannable_draw_vscroll),
5828 (hildon_pannable_draw_hscroll),
5829 (hildon_pannable_area_initial_effect),
5830 (hildon_pannable_area_expose_event),
5831 (hildon_pannable_area_scroll),
5832 (hildon_pannable_area_button_press_cb),
5833 (hildon_pannable_area_realize): Replaced the names hindicator_mode
5834 and vindicator_mode with hscrollbar_policy and
5835 vscrollbar_policy. Replaced hscroll and vscroll with
5836 hscroll_visible and vscroll_visible.
5838 (hildon_pannable_area_refresh): Refactor the function, remove
5839 variables and check the calls to this function, added resize
5840 conditions in case the children change their layout.
5842 (hildon_pannable_area_size_request): Added more detailed
5843 size_request calculation.
5846 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
5848 * src/hildon-color-chooser.c
5849 (init_borders): use the correct gtk_border_free instead of g_free, to
5850 avoid a crash when this widget is used (ie: the three color selection
5853 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5855 * src/hildon-check-button.c,
5856 (hildon_check_button_set_active): Fixed problem when setting the
5857 active value, the widget was not redrawn.
5859 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5861 * src/hildon-pannable-area.c,
5862 (hildon_pannable_area_refresh),
5863 (hildon_pannable_area_scroll),
5864 (hildon_pannable_area_motion_notify_cb): Small code style change.
5866 (hildon_pannable_area_class_init): Default initial_hint set to
5867 FALSE, it is not in the specs.
5869 (hildon_pannable_area_initial_effect),
5870 (hildon_pannable_area_expose_event),
5871 (hildon_pannable_area_map),
5872 (hildon_pannable_area_init): Moved the launching point of the
5873 initial effect, it was in map but the sizes where not correct in
5874 that method so we do not know if we have the reproduce it. Now it
5875 is placed in the expose_event method and uses a variable to
5876 reproduce it just once.
5878 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5880 * src/hildon-pannable-area.c,
5881 (hildon_pannable_draw_vscroll),
5882 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
5883 position allowed for the scrollbars.
5885 (hildon_pannable_area_size_allocate): Small style change.
5887 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5889 * src/hildon-pannable-area.c,
5890 (hildon_pannable_area_scroll_indicator_fade),
5891 (hildon_pannable_area_button_press_cb),
5892 (hildon_pannable_area_button_release_cb),
5893 (hildon_pannable_area_scroll_cb),
5894 (hildon_pannable_area_expose_event),
5895 (hildon_pannable_area_init): Added the define parameter
5896 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
5897 and refactor the fade variable.
5899 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5901 * src/hildon-pannable-area.c,
5902 (hildon_pannable_area_redraw),
5903 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
5904 lines, we were reimplemeting the redraw code.
5906 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5908 * src/hildon-pannable-area.c,
5909 (hildon_pannable_area_scroll_cb),
5910 (hildon_pannable_area_realize),
5911 (hildon_pannable_area_class_init): Added scroll_event management
5912 for pannable area, now we can scroll the usual desktop method.
5914 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
5915 initialization of the parameters should depend on idle_id.
5917 (hildon_pannable_area_init),
5918 (hildon_pannable_area_map): Small code style modifications
5920 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5922 * src/hildon-pannable-area.c
5923 (hildon_pannable_area_button_press_cb),
5924 (hildon_pannable_area_motion_notify_cb),
5925 (hildon_pannable_area_button_release_cb),
5926 (hildon_pannable_area_size_allocate),
5927 (hildon_pannable_area_scroll_to): Improved the timeouts
5928 management, we avoid creating them each time.
5930 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5932 * src/hildon-pannable-area.c:
5933 (hildon_pannable_area_refresh),
5934 (hildon_pannable_area_motion_notify_cb),
5935 (hildon_pannable_area_class_init):
5936 * src/hildon-pannable-area.h:
5937 * src/hildon-touch-selector.c
5938 (_create_new_column):
5939 * examples/hildon-pannable-area-example-4.c:
5940 (horizontal_movement),
5941 (vertical_movement),
5943 Replaced the names of enums in the HildonPannableArea:
5944 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
5945 HILDON_MOVEMENT_MODE_*
5946 - HILDON_PANNABLE_AREA_MOV_* ->
5948 - Removed HildonPannableAreaIndicatorMode, now we
5951 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5953 * examples/hildon-pannable-area-touch-grid-example.c
5954 * examples/hildon-pannable-area-touch-list-example.c: Fix
5955 compilation warnings.
5957 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5959 * src/hildon-gtk.c (hildon_gtk_button_new)
5960 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
5961 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
5962 images overriding the value of the "gtk-button-images" setting.
5964 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5966 * src/hildon-check-button.c (hildon_check_button_new):
5967 Instead of using a custom container, display the label and the
5968 checkbox using the standard GtkButton API.
5970 * examples/hildon-check-button-example.c (main): Don't use
5971 hildon_check_button_set_label() anymore
5973 * src/hildon-check-button.h
5974 * src/hildon-check-button.c
5975 (hildon_check_button_set_label, hildon_check_button_get_label):
5976 Set as deprecated, now we're using gtk_button_{get,set}_label()
5978 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5980 * src/hildon-pannable-area.c,
5981 (hildon_pannable_area_get_topmost): Fixed bug with click in the
5982 GtkTreeview first line we detected it after the inclusion of the
5983 GtkWindowImpl in gtk+. We now check if the window is visible, not
5984 just if the pointer is over the window.
5985 (hildon_pannable_axis_scroll),
5986 (hildon_pannable_area_expose_event): Small style changes.
5988 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5990 * src/hildon-button.c: Update documentation.
5992 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5994 * examples/hildon-button-example.c: Add a switch to show images in
5997 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5999 * doc/hildon-docs.sgml: Some docs reorganization.
6001 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6003 * examples/hildon-pannable-area-touch-list-example.c
6005 * examples/hildon-pannable-area-touch-grid-example.c
6006 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6007 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6008 Fix memory leak when setting the tree model.
6010 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6014 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6016 * doc/hildon.types: Remove duplicated hildon_window_get_type
6017 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6018 documentation comment.
6020 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6022 * doc/Makefile.am: Complete list of private headers.
6024 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6026 * doc/hildon-docs.sgml
6027 * src/hildon-app-menu.c
6028 * src/hildon-bread-crumb.c
6029 * src/hildon-button.c
6031 * src/hildon-program.c
6032 * src/hildon-stackable-window.c
6033 * src/hildon-window.c: Lots of documentation updates.
6035 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6037 * debian/control: Depend on Gtk 2:2.12.9-0osso3
6039 * configure.ac: Require Gtk+ 2.12.9 at least
6041 2008-08-12 Alejandro G. Castro <alex@igalia.com>
6043 * src/hildon-pannable-area.c
6044 (hildon_pannable_area_scroll_indicator_fade),
6045 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6046 to protect the return of this timeout callbacks, avoiding deadlocks.
6048 2008-08-12 Christian Dywan <christian@imendio.com>
6051 * src/hildon-*.h: Ensure a consistent include order,
6052 include <gtk/gtk.h> instead of particular files and
6053 only include the topmost header in the gtk stack. See NB #39857
6055 2008-08-12 Christian Dywan <christian@imendio.com>
6057 * src/hildon-picker-dialog.c
6058 * src/hildon-touch-selector.c: Fix warnings about unused and
6059 uninitialized variables.
6061 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6063 * examples/Makefile.am
6064 * examples/hildon-check-button-example.c: Example of the hildon
6067 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6069 * src/hildon-window.h
6070 * src/hildon-window.c (hildon_window_class_init)
6071 (hildon_window_unset_program): Don't make
6072 hildon_window_unset_program a virtual function anymore.
6074 * src/hildon-stackable-window.c: Update documentation
6076 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6079 * doc/hildon-docs.sgml
6080 * doc/visual_index.xml
6081 * src/hildon-defines.c
6083 * src/hildon-helper.c
6084 * src/hildon-range-editor.c: Lots of documentation fixes.
6086 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6088 * examples/hildon-picker-button-multicolumn-example.c
6089 (create_touch_selector): Fix compilation warning.
6091 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6093 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
6094 (hildon_pannable_area_button_release_cb)
6095 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6097 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6099 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
6102 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6104 * src/hildon-bread-crumb-trail.h
6105 * src/hildon-date-editor.c
6106 * src/hildon-date-selector.c
6107 * src/hildon-pannable-area.c
6108 * src/hildon-picker-dialog.c
6109 * src/hildon-time-selector.c
6110 * src/hildon-touch-selector-entry.c
6111 * src/hildon-touch-selector.c
6112 * src/hildon-touch-selector.h: Misc documentation fixes
6114 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6116 * examples/hildon-date-editor-example.c (main): Updated date
6119 * examples/hildon-note-example.c (on_confirmation_clicked):
6120 Updated confirmation note example.
6122 * src/hildon-date-editor.c
6123 * src/hildon-note.c: Updated sample programs in documentation.
6126 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6128 * src/hildon-date-button.h:
6129 * src/hildon-picker-button.h:
6130 * src/hildon-time-button.c:
6131 * src/hildon-time-button.h:
6133 Some declarations changes to allow gtk-doc to document the widgets
6136 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6138 * src/hildon-date-button.c: Document the widget.
6139 * src/hildon-time-button.c: Document the widget.
6141 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6143 * src/hildon-picker-button.c: Document the widget.
6144 * src/hildon-touch-selector-entry.c: Document the widget.
6146 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6148 * doc/hildon-docs.sgml
6151 * src/hildon-check-button.h
6152 * src/hildon-check-button.c: New functions to create the Hildon
6156 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
6158 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6160 * src/hildon-button.h
6161 * src/hildon-button.c
6162 (hildon_button_add_title_size_group)
6163 (hildon_button_add_value_size_group)
6164 (hildon_button_add_image_size_group)
6165 (hildon_button_add_size_groups): New functions to set size groups
6166 for the button labels and image.
6167 (hildon_button_new_full): Removed
6169 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
6171 * src/hildon-time-selector.c
6172 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
6173 in order to avoid a crash if gconf is not available
6175 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6177 * src/hildon-button.c (hildon_button_set_arrangement)
6178 (hildon_button_construct_child): Don't construct the button child
6179 before setting the arrangement.
6181 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6183 * src/hildon-program-private.h
6184 * src/hildon-program.c
6185 * src/hildon-program.h
6186 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
6187 (hildon_program_peek_window_stack)
6188 (hildon_program_pop_window_stack)
6189 (hildon_program_go_to_root_window): HildonProgram now has a
6190 separate list for stackable windows. Functions are provided to
6191 manage that list with a stack-like API.
6193 * src/hildon-stackable-window.c: Stackable window management is
6194 now much simpler with the new HildonProgram API. Windows no
6195 longer need to be manually added to the program, they're
6196 automatically pushed to the top of the stack when shown.
6198 * examples/hildon-stackable-window-example.c: Updated example to
6199 reflect the API changes.
6201 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6203 * src/hildon-touch-selector.c: Comment out unimplemented
6204 hildon_touch_selector_insert_column() to avoid a compile warning.
6206 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6208 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6209 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
6210 (hildon_touch_selector_set_column_selection_mode),
6211 (_hildon_touch_selector_set_model),
6212 (hildon_touch_selector_set_model):
6214 Complete review of HildonTouchSelector documentation.
6216 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6218 * doc/hildon-docs.sgml
6222 * src/hildon-gtk.c: Convenience functions for standard Gtk
6223 widgets, used to easily perform frequent operations.
6225 * src/hildon-button-helpers.h
6226 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
6228 * src/hildon-helper.h
6229 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
6230 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
6232 * src/hildon-button.h
6233 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
6235 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6237 * src/hildon-button.c (hildon_button_init)
6238 (hildon_button_set_arrangement, hildon_button_construct_child):
6239 Pack the image and the labels inside the same GtkAlignment so
6240 gtk_button_set_alignment() can be used
6242 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6244 * src/hildon-button.h
6245 * src/hildon-button.c
6246 (hildon_button_init, hildon_button_set_image)
6247 (hildon_button_set_image_position)
6248 (hildon_button_construct_child): New functions to add an image to
6251 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6253 * src/hildon-date-button.c
6254 * src/hildon-picker-button.c
6255 * src/hildon-time-button.c
6256 * src/hildon-button.c:
6257 (hildon_button_class_init): "size-flags" renamed to "size"
6258 (hildon_button_set_title): Hide the title label if set to NULL.
6260 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6262 HildonButtonFlags split into HildonButtonArrangement (to set the
6263 button layout) and HildonSizeType (which can be used for any
6266 * src/hildon-button.h
6267 * src/hildon-button.c
6268 (hildon_button_class_init)
6269 (hildon_button_set_arrangement)
6270 (hildon_button_set_property): New "size-flags"
6271 property. "arrangement-flags" renamed to "arrangement".
6272 (hildon_button_new, hildon_button_new_with_text)
6273 (hildon_button_new_full): Constructors updated to reflect type changes.
6275 * src/hildon-helper.h
6276 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
6277 to set the size of a widget.
6281 * src/hildon-button-helpers.c
6282 * src/hildon-button-helpers.h: New hildon-button-helpers module.
6284 * src/hildon-date-button.c
6285 * src/hildon-date-button.h
6286 * src/hildon-picker-button.c
6287 * src/hildon-picker-button.h
6288 * src/hildon-time-button.c
6289 * src/hildon-time-button.h: Updated widgets to reflect
6290 HildonButton API changes.
6292 * examples/hildon-button-example.c
6293 * examples/hildon-date-button-example.c
6294 * examples/hildon-picker-button-example.c
6295 * examples/hildon-picker-button-multicolumn-example.c
6296 * examples/hildon-time-button-example.c
6297 * examples/hildon-touch-selector-entry-example.c
6298 * examples/hildon-touch-selector-example.c: Updated examples to
6299 reflect HildonButton API changes.
6301 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6303 * doc/hildon-docs.sgml:
6305 * examples/Makefile.am:
6306 * examples/hildon-touch-selector-entry-example.c:
6308 * src/hildon-touch-selector-entry.c:
6309 * src/hildon-touch-selector-entry.h:
6312 Moved HildonTouchSelectorEntry from sandbox. Added its
6313 documentation and examples.
6315 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6317 * src/hildon-touch-selector.h:
6318 * examples/hildon-picker-button-multicolumn-example.c:
6319 (hildon_touch_selector_append_text_column): Add a gboolean
6320 parameter to determine if text must be centered in the column.
6322 * src/hildon-date-selector.c: (hildon_date_selector_init):
6323 * src/hildon-time-selector.c: (hildon_time_selector_init):
6324 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
6325 (create_touch_selector): Update widgets and example to reflect
6328 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6330 * src/hildon-touch-selector.c:
6331 (hildon_touch_selector_set_active_iter): Set also the cursor in
6334 2008-08-06 Alberto Garcia <agarcia@igalia.com>
6336 * doc/hildon-docs.sgml
6339 * src/hildon-toggle-button.c
6340 * src/hildon-toggle-button.h
6341 * src/hildon.h: Removed HildonToggleButton widget, a derived
6342 class is not necessary for this.
6344 2008-08-06 Alejandro G. Castro <alex@igalia.com>
6346 * src/hildon-pannable-area.c,
6347 (hildon_pannable_area_realize),
6348 (hildon_pannable_area_size_allocate): Code refactoring, add tests
6351 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
6353 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
6354 "done" button the default widget for the dialog.
6356 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6358 * src/hildon-touch-selector.c:
6359 (hildon_touch_selector_class_init),
6360 (hildon_touch_selector_get_property),
6361 (_hildon_touch_selector_set_model),
6362 (_hildon_touch_selector_has_multiple_selection),
6363 (hildon_touch_selector_has_multiple_selection):
6364 Add a "has-multiple-selection" property with a virtual
6365 has_multiple_selection() method to allow derived classes to
6366 override the default value for it. See the method and property
6367 documentation for details.
6369 * src/hildon-touch-selector.h: Add the new API.
6371 * src/hildon-picker-dialog.c: (requires_done_button): Call
6372 hildon_touch_selector_has_multiple_selection() instead of
6373 determining the need for a button itself.
6375 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6377 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6378 (_hildon_touch_selector_set_model),
6379 (hildon_touch_selector_set_model): Move working code to
6380 _hildon_touch_selector_set_mode(). Call the class method instead.
6382 * src/hildon-touch-selector.h: Add (*set_model) to
6383 HildonTouchSelectorClass.
6385 Make hildon_touch_selector_set_model() a virtual method, so that
6386 derived classes can extend it and do fancy stuff with the model.
6388 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6390 * configure.ac: Set back the tarname in AC_INIT to hildon.
6392 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6396 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
6397 instead of libesd (NB#86876). Volume handling is still an open issue.
6399 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
6402 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6404 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
6405 (hildon_touch_selector_append_column): Make the widget a GtkVBox
6406 derived class to ease placement of an entry widget in
6407 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
6408 end, where the selector columns are packed now.
6410 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6412 * src/hildon-picker-button.c: Removed the simple _text() API.
6413 * src/hildon-picker-button.h: Likewise.
6415 * src/hildon-touch-selector.h:
6416 * src/hildon-touch-selector.c:
6417 (hildon_touch_selector_new_text),
6418 (hildon_touch_selector_append_text),
6419 (hildon_touch_selector_prepend_text),
6420 (hildon_touch_selector_insert_text):
6422 Moved the simple _text() API from HildonPickerButton to
6423 HildonTouchPicker, to provide better escalability and not to tie
6424 that API to HildonPickerButton.
6426 * examples/hildon-picker-button-example.c: (main): Example updated.
6428 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6430 * src/hildon-button.c: Updated documentation.
6432 * examples/hildon-button-example.c: Add the posibility to create
6433 the buttons using horizontal layout for title and value.
6435 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6437 * src/hildon-app-menu-private.h
6438 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
6439 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
6440 GtkSizeGroup for the filters, use the 'homogeneous' property of
6443 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6445 * examples/hildon-button-example.c: Updated example.
6447 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
6449 * doc/hildon-docs.sgml:
6452 Update documentation.
6454 * examples/Makefile.am: Update renamed examples.
6456 * examples/hildon-picker-button-multicolumn-example.c:
6457 (create_touch_selector), (main): Update after the rename.
6459 * examples/hildon-touch-picker-example.c: Removed.
6460 * examples/hildon-touch-selector-example.c: (value_changed),
6461 (create_selector), (get_visible_content), (main): Renamed from
6462 hildon-touch-picker-example.c
6464 * src/Makefile.am: Updated renamed files.
6466 * src/hildon-date-button.c: (hildon_date_button_init),
6467 (hildon_date_button_get_date), (hildon_date_button_set_date):
6468 * src/hildon-date-selector.c: (hildon_date_selector_init),
6469 (_custom_print_func), (_update_day_model),
6470 (_manage_selector_change_cb),
6471 (hildon_date_selector_select_current_date),
6472 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
6473 * src/hildon-date-selector.h:
6474 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6475 (hildon_picker_button_set_property),
6476 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6477 (hildon_picker_button_init), (hildon_picker_button_new_text),
6478 (hildon_picker_button_append_text),
6479 (hildon_picker_button_prepend_text),
6480 (hildon_picker_button_insert_text),
6481 (hildon_picker_button_set_selector),
6482 (hildon_picker_button_get_selector):
6483 * src/hildon-picker-button.h:
6484 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
6485 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
6486 (_update_title_on_selector_changed_cb), (requires_done_button),
6487 (_hildon_picker_dialog_set_selector),
6488 (hildon_picker_dialog_set_selector),
6489 (hildon_picker_dialog_get_selector):
6490 * src/hildon-picker-dialog.h:
6491 * src/hildon-time-button.c: (hildon_time_button_init),
6492 (hildon_time_button_get_time), (hildon_time_button_set_time):
6493 * src/hildon-time-selector.c: (hildon_time_selector_init),
6494 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
6495 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
6496 * src/hildon-time-selector.h:
6499 Massive code updates after the rename.
6501 * src/hildon-touch-picker.c: Removed.
6502 * src/hildon-touch-picker.h: Removed.
6504 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6505 (hildon_touch_selector_init), (hildon_touch_selector_map),
6506 (hildon_touch_selector_remove), (_default_print_func),
6507 (_selection_changed_cb), (_create_new_column),
6508 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
6509 (hildon_touch_selector_append_text_column),
6510 (hildon_touch_selector_remove_column),
6511 (hildon_touch_selector_set_column_attributes),
6512 (hildon_touch_selector_insert_column),
6513 (hildon_touch_selector_get_num_columns),
6514 (hildon_touch_selector_get_column_selection_mode),
6515 (hildon_touch_selector_set_column_selection_mode),
6516 (hildon_touch_selector_set_print_func),
6517 (hildon_touch_selector_get_print_func),
6518 (hildon_touch_selector_get_active_iter),
6519 (hildon_touch_selector_set_active_iter),
6520 (hildon_touch_selector_get_selected_rows),
6521 (hildon_touch_selector_get_model),
6522 (hildon_touch_selector_set_model),
6523 (hildon_touch_selector_get_current_text),
6524 (_hildon_touch_selector_center_on_selected_items):
6525 * src/hildon-touch-selector.h: Renamed from
6526 hildon-touch-picker.[ch]
6528 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
6529 references, code examples, and related documentation.
6531 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6533 * doc/hildon-docs.sgml
6536 * src/hildon-toggle-button.c
6537 * src/hildon-toggle-button.h
6538 * src/hildon.h: New HildonToggleButton widget.
6540 2008-07-30 Alberto Garcia <agarcia@igalia.com>
6542 * src/hildon-button.c: Add API documentation.
6543 (hildon_button_set_size_groups): Check input parameters
6545 2008-07-30 Alejandro G. Castro <alex@igalia.com>
6547 * src/hildon-pannable-area.c
6548 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
6549 effect after reaching the movement thredshold. This way we start
6550 using the distance after passing the thredshold.
6552 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6554 * src/hildon-button.c: (hildon_button_set_property): Use the
6555 appropriate g_value_get_flags() method.
6557 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6559 * doc/hildon-docs.sgml:
6562 Add the touch pickers, picker dialogs, and picker button widgets
6563 to the documentation.
6565 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6567 * src/hildon-button.c: (hildon_button_set_property),
6568 (hildon_button_class_init): Make "arrangement-flags" a proper
6569 G_TYPE_FLAGS derived property.
6571 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6573 * examples/Makefile.am: Add below examples.
6574 * examples/hildon-date-button-example.c:
6575 * examples/hildon-picker-button-example.c:
6576 * examples/hildon-picker-button-multicolumn-example.c:
6577 * examples/hildon-time-button-example.c:
6578 * examples/hildon-touch-picker-example.c:
6580 Add examples for the recently added touch pickers,
6581 picker dialogs, and picker button widgets.
6583 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6585 * src/hildon-button.c: Add some API documentation
6587 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6589 * src/hildon-button.h
6590 * src/hildon-button.c
6592 (hildon_button_new_with_text): New constructor to create a button
6593 with no text at all.
6594 (hildon_button_init, hildon_button_set_arrangement)
6595 (hildon_button_set_title, hildon_button_set_value)
6596 (hildon_button_set_text)
6597 (hildon_button_construct_child): Hide the value when it's not used
6598 so the rest of the text is properly aligned.
6599 Allow creating buttons with arbitrary widgets inside (not just
6600 title/value labels).
6602 * examples/hildon-button-example.c (vertical_buttons_window)
6603 (horizontal_buttons_window): Update example to use new API.
6605 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6607 * src/Makefile.am: Added HildonTimeButton.
6608 * src/hildon-time-button.c: Added missing LGPL header.
6609 * src/hildon-time-button.h: Added missing LGPL header.
6610 * src/hildon.h: Add hildon-time-button.h
6612 Copied HildonTimeButton from sandbox to trunk. Future work on this
6613 widget must take place in trunk.
6615 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6617 * src/Makefile.am: Added HildonDateButton.
6618 * src/hildon-date-button.c: Update includes.
6619 * src/hildon.h: Add hildon-date-button.h
6621 Copied HildonDateButton from sandbox to trunk. Future work on this
6622 widget must take place in trunk.
6624 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6626 * src/Makefile.am: Added HildonPickerButton.
6627 * src/hildon-picker-button.h: Update includes.
6628 * src/hildon.h: Add hildon-picker-button.h
6630 Copied HildonPickerButton from sandbox to trunk. Future work on
6631 this widget must take place in trunk.
6633 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6635 * src/Makefile.am: Added HildonPickerDialog.
6636 * src/hildon-picker-dialog.c: Update includes.
6637 * src/hildon.h: Add hildon-picker-dialog.h
6639 Copied HildonPickerDialog from sandbox to trunk. Future work
6640 on this widget must take place in trunk.
6642 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6644 * src/Makefile.am: Added HildonTimeSelector.
6645 * src/hildon.h: Add hildon-time-selector.h
6647 Copied HildonTimeSelector widget from sandbox to trunk. Future
6648 work on this widget must happen in trunk.
6650 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6652 * src/Makefile.am: Added HildonDateSelector.
6653 * src/hildon.h: Add hildon-date-selector.h
6655 Copied HildonDateSelector widget from sandbox to trunk. Future
6656 work on this widget must happen in trunk.
6658 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6660 * src/Makefile.am: Added HildonTouchPicker.
6661 * src/hildon-touch-picker.c: Update includes.
6662 * src/hildon.h: Add hildon-touch-picker.h
6664 Copied HildonTouchPicker widget from sandbox to trunk. Future work
6665 on this widget must happen in trunk.
6667 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
6669 * src/hildon-pannable-area.c:
6670 (hildon_pannable_area_motion_notify_cb): Fix a typo.
6672 2008-07-29 Alberto Garcia <agarcia@igalia.com>
6674 * examples/hildon-app-menu-example.c (main): Let the window
6677 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6679 * src/hildon-pannable-area.c
6680 (hildon_pannable_area_class_init): Set the min value of the
6681 overshoot properties to zero, which points out that not
6682 overshooting allowed.
6684 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6686 Modified the procedure to get the widget at a point inside the
6687 pannable area when using the movement type signals. Now the user
6688 has to call a function to get the child, that way we just
6689 calculate the child in case the user really want to use it and not
6692 * src/hildon-marshalers.list: Modified the marshallers, now we do
6693 not have the widget as a parameter.
6695 * src/hildon-pannable-area.c
6696 (hildon_pannable_area_motion_notify_cb),
6697 (hildon_pannable_area_class_init),
6698 (hildon_pannable_get_child_widget_at): Removed the widget
6699 parameter from the signal callback. We have also refactored the
6700 emission of the signals.
6702 * src/hildon-pannable-area.h: Added a new method to the API to
6703 calculate a widget at a point inside the pannable area,
6704 hildon_pannable_get_child_widget_at.
6706 * examples/hildon-pannable-area-example-4.c
6707 (horizontal_movement): Modified the example to use the new API,
6708 added condition to control which widget is under the event. This
6709 way we can avoid scrolling laterally over other widgets.
6711 2008-07-29 Alejandro G. Castro <alex@igalia.com>
6713 * src/hildon-pannable-area.c
6714 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
6715 modes, we stop getting the pointer events due to returning the
6716 callback without properly calling the get pointer again. Fixed
6717 also an error using the hscroll and vscroll.
6719 2008-07-28 Alberto Garcia <agarcia@igalia.com>
6721 * src/hildon-app-menu-private.h
6722 * src/hildon-app-menu.c (hildon_app_menu_button_press)
6723 (hildon_app_menu_button_release, hildon_app_menu_init)
6724 (hildon_app_menu_class_init): Don't hide the menu on button
6725 release if the user didn't press outside first.
6727 * src/hildon-window.h
6728 * src/hildon-window.c (hildon_window_toggle_menu)
6729 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
6730 hildon_window_toggle_menu a virtual function for the stackable
6731 window to override it.
6733 * src/hildon-stackable-window.h
6734 * src/hildon-stackable-window-private.h
6735 * src/hildon-stackable-window.c
6736 (hildon_stackable_window_realize)
6737 (hildon_stackable_window_finalize)
6738 (hildon_stackable_window_class_init)
6739 (hildon_stackable_window_init)
6740 (hildon_stackable_window_set_main_menu): New function to set the
6741 app menu of a HildonStackableWindow.
6743 * examples/hildon-app-menu-example.c: Remove the button to show
6744 the app menu, now it'll be shown when clicking on the title bar
6747 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6749 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
6750 set the widget name if the arrangement flags do not specify
6753 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
6755 * src/hildon-button.c: (hildon_button_set_property),
6756 (hildon_button_class_init), (hildon_button_new_full),
6757 (hildon_button_set_arrangement): Added "arrangement-flags"
6760 Make the HildonButtonFlags a construction-only property, to allow
6761 subclasses to set them properly.
6763 2008-07-21 Tim Janik <timj@imendio.com>
6765 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
6766 insertion position after backspace, so additional digits are appended,
6769 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6771 * src/hildon-pannable-area.c,
6772 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
6773 TODO list, it was complete and removed the g_debug and g_print
6776 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6778 Added the movement modes to the hildon-pannable-area, with this
6779 modes the developers can control in which directions the widget
6780 can scroll. They can also connect to signals in order to do
6781 something when that happens, allowing applications scroll. There
6782 is an example uploaded showing how to use it.
6784 * examples/Makefile.am:
6785 * examples/hildon-pannable-area-example-4.c: Added this example of
6786 an application using the modes.
6788 * src/hildon-marshalers.list: Added a new marshaller for the new
6791 * src/hildon-pannable-area.h: Added new enumerations and flags in
6792 order to control the movement modes and the new signals to warn
6793 about the movements in the area.
6795 * src/hildon-pannable-area.c:
6796 (hildon_pannable_axis_scroll),
6797 (hildon_pannable_area_scroll),
6798 (hildon_pannable_area_motion_notify_cb),
6799 (hildon_pannable_area_get_property),
6800 (hildon_pannable_area_set_property),
6801 (hildon_pannable_area_map),
6802 (hildon_pannable_area_class_init),
6803 (hildon_pannable_area_init),
6804 (hildon_pannable_area_jump_to): Added the modes to control the
6805 movement in the widget. We have added properties to control it,
6806 signals to warn about the movements and refactored some code.
6808 2008-07-15 Alejandro G. Castro <alex@igalia.com>
6810 Changes required in order to allow vfast_factor set to zero to
6813 * src/hildon-pannable-area.c:
6814 (hildon_pannable_area_button_press_cb): Changed the condition, it
6815 is required for not allowing click when vfast_factor is zero.
6816 (hildon_pannable_area_timeout): Initialized velocity variables
6817 when we stop moving, it was less than 1 but not zero and we need
6818 to check zero in some situations.
6819 (hildon_pannable_area_class_init): Changed the default value of
6820 the speed factor, now the button_press is just sent in case the
6821 speed is 2 per cent of the max speed.
6822 (hildon_pannable_area_init): Initialization with 0.
6824 2008-07-04 Alejandro G. Castro <alex@igalia.com>
6826 * src/hildon-pannable-area.c,
6827 (hildon_pannable_area_get_topmost): replaced
6828 gdk_window_get_children with gdk_window_peek_children, this way we
6829 do not have to free the list because it is not a copy.
6831 (hildon_pannable_axis_scroll),
6832 (hildon_pannable_area_scroll),
6833 (hildon_pannable_area_timeout),
6834 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
6835 two parameters that were only used inside the
6836 hildon_pannable_area_scroll function.
6838 * examples/hildon-pannable-area-example.c,
6839 (get_sawtooth_label): Fixed small memory leak.
6841 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6843 More checks for the case where the overshoot is bigger than the
6846 * src/hildon-pannable-area.c:
6847 (hildon_pannable_draw_vscroll),
6848 (hildon_pannable_draw_hscroll): with this new calculation we avoid
6849 to draw the slider of the scrollbar under the other scrollbar.
6850 (hildon_pannable_area_expose_event): added new checks to control
6851 the drawing of the overshooting area rectangle, in case it is too
6852 big for the area of the widget.
6853 (hildon_pannable_area_size_allocate): add more checks to avoid
6854 setting a position to the child widget outside the area.
6856 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6858 * src/hildon-pannable-area.c
6859 (hildon_pannable_area_size_allocate): Added conditions to control
6860 when overshooting is bigger than the allocated space for the
6861 children, this avoids negative allocations.
6863 2008-07-02 Alberto Garcia <agarcia@igalia.com>
6865 * doc/hildon-docs.sgml
6867 * examples/Makefile.am
6868 * examples/hildon-button-example.c
6870 * src/hildon-button.c
6871 * src/hildon-button.h
6872 * src/hildon.h: Initial version of the new HildonButton widget,
6875 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
6877 * src/hildon-pannable-area.c:
6878 (hildon_pannable_area_button_press_cb),
6879 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
6880 (hildon_pannable_area_motion_notify_cb),
6881 (hildon_pannable_area_button_release_cb),
6882 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
6883 (hildon_pannable_area_jump_to_child):
6885 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
6887 2008-07-01 Alberto Garcia <agarcia@igalia.com>
6889 * examples/Makefile.am
6890 * examples/hildon-pannable-area-touch-grid-example.c
6891 * examples/hildon-pannable-area-touch-list-example.c: Examples of
6892 the Hildon Touch List and Hildon Touch Grid using the
6893 HildonPannableArea widget.
6895 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6897 * src/hildon-pannable-area.c,
6898 (hildon_pannable_area_button_press_cb),
6899 (hildon_pannable_area_refresh),
6900 (hildon_pannable_area_scroll),
6901 (hildon_pannable_area_motion_notify_cb),
6902 (hildon_pannable_area_button_release_cb),
6903 (hildon_pannable_area_expose_event),
6904 (hildon_pannable_area_add),
6905 (hildon_pannable_area_remove),
6906 (hildon_pannable_area_realize),
6907 (hildon_pannable_area_size_allocate),
6908 (hildon_pannable_area_class_init),
6909 (hildon_pannable_area_init),
6910 (hildon_pannable_area_scroll_to_child),
6911 (hildon_pannable_area_jump_to_child): Fixed the problem of
6912 removing the child from the GtkBin, we have rearranged the widget
6913 hierarchy, now there is no GtkAlignment which was not doing
6914 anything interesting but breaking some of the assumptions of
6915 GtkContainer. Now developers if they want to add a GtkAlignment
6916 they could, but it is not inside the area.
6918 We had to review the whole allocation/expose process, now it is
6919 improved and we save at least three signals which would be saving
6920 some time when rendering the widget. The allocation of the
6921 scrollbars is now made in the allocate method as usual.
6923 We have also added some conditions in order to control when there
6924 is no child of the pannable area. Maybe we will need more work
6927 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6929 * src/hildon-pannable-area.c,
6930 (hildon_pannable_area_dispose): Released the fade-out timeout when
6931 disposing the widget.
6933 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6935 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
6936 zero, we are going to use that property in order to deactivate the
6938 (hildon_pannable_axis_scroll),
6939 (hildon_pannable_area_size_allocate): Added conditions to control
6940 when overshoot_max is zero. Moved the gtk_adjustment_set_value
6941 call, now it is called in all situations and we can remove calls
6942 in the allocate method.
6943 (hildon_pannable_area_map): Control the situation when
6944 overshoot_max is zero, we do not need the timeout.
6945 (hildon_pannable_area_class_init): Added documentation in order to
6946 point out that setting zero to overshoot_max means deactivate
6949 NOTE: removed trailing whitespaces from my previous comments of
6952 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6954 * src/hildon-pannable-area.c
6955 (hildon_pannable_area_get_property),
6956 (hildon_pannable_area_set_property),
6957 (hildon_pannable_area_map),
6958 (hildon_pannable_area_class_init),
6959 (hildon_pannable_area_init): Add a boolean "initial-hint" property
6960 to cause the widget give a hint about its panning abilities upon
6963 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6965 * src/hildon-pannable-area.c: Several documentation improvements.
6967 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6969 * src/hildon-program.c
6970 * src/hildon-stackable-window.c: Update documentation.
6972 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6974 * src/hildon-stackable-window.c (get_previous_window_if_last):
6975 Renamed get_last_window()
6976 (hildon_stackable_window_map, hildon_stackable_window_unmap)
6977 (hildon_stackable_window_unset_program):
6979 (get_previous_window_if_last):
6980 Detect if the window hasn't been added to a HildonProgram.
6982 2008-06-26 Alejandro G. Castro <alex@igalia.com>
6984 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
6986 * src/hildon-pannable-area.c
6987 (hildon_pannable_area_button_press_cb),
6988 (hildon_pannable_axis_scroll),
6989 (hildon_pannable_area_scroll),
6990 (hildon_pannable_area_timeout),
6991 (hildon_pannable_calculate_vel_factor),
6992 (hildon_pannable_area_get_property),
6993 (hildon_pannable_area_set_property),
6994 (hildon_pannable_area_class_init),
6995 (hildon_pannable_area_init),
6996 (hildon_pannable_area_scroll_to),
6997 (hildon_pannable_area_jump_to),
6998 (hildon_pannable_area_scroll_to_child),
6999 (hildon_pannable_area_jump_to_child):
7000 * src/hildon-pannable-area.h: Added the new API functions:
7001 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7002 hildon_pannable_area_scroll_to_child,
7003 hildon_pannable_area_jump_to_child
7006 * examples/Makefile.am
7007 * examples/hildon-pannable-area-example-2.c
7008 * examples/hildon-pannable-area-example-3.c: Added these two new
7009 examples in order to test and show how the new APIs work.
7011 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7013 * examples/hildon-stackable-window-example.c (new_window):
7014 * src/Makefile.am (noinst_HEADERS):
7015 * src/hildon-program.c (hildon_program_go_to_root_window):
7016 * src/hildon-program.h:
7017 * src/hildon-stackable-window-private.h:
7018 * src/hildon-stackable-window.c:
7019 * src/hildon-stackable-window.h:
7020 Create hildon-stackable-window-private.h
7021 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7023 * examples/hildon-app-menu-example.c (create_menu):
7024 * examples/hildon-hvolumebar-insensitive-example.c (main):
7025 * examples/hildon-hvolumebar-timer-example.c (on_idle):
7026 * examples/hildon-toolbar-seekbar-example.c (main):
7027 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7028 * src/hildon-banner.c (hildon_banner_set_property):
7029 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7030 Fix compilation warnings
7032 * src/hildon-window.c:
7035 2008-06-24 Alberto Garcia <agarcia@igalia.com>
7037 * src/hildon-stackable-window.c
7038 (hildon_stackable_window_unset_program):
7039 Calculate correctly whether to show the previous window if the
7040 last one is removed from the stack.
7041 (hildon_stackable_window_go_to_root_window):
7042 Send delete events starting from the topmost window.
7043 Stop if one of the windows is not destroyed.
7045 (hildon_stackable_window_delete_event)
7046 (hildon_stackable_window_class_init):
7047 Ignore the delete event if the window is not the topmost one.
7049 2008-06-24 Alejandro G. Castro <alex@igalia.com>
7051 * src/hildon-pannable-area.c
7052 (hildon_pannable_area_expose_event): Fixed a problem when
7053 selecting the background color of the scrollbars.
7055 2008-06-23 Alberto Garcia <agarcia@igalia.com>
7057 * examples/hildon-stackable-window-example.c
7058 * src/hildon-stackable-window.c
7059 * src/hildon-stackable-window.h
7060 hildon_stackable_window_go_home() renamed to
7061 hildon_stackable_window_go_to_root_window()
7062 Send delete events to windows rather than closing them with
7063 gtk_widget_destroy()
7065 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7067 * src/hildon-pannable-area.c
7068 (hildon_pannable_area_button_release_cb): Fix overshooting in
7071 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7073 * src/hildon-pannable-area.c
7074 (hildon_pannable_area_init): Initially show the scroll indicators.
7075 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7077 Add initial effect showing the widget is pannable.
7079 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7081 * src/hildon-pannable-area.c
7082 (hildon_pannable_area_class_init)
7083 (hildon_pannable_area_set_property)
7084 (hildon_pannable_area_get_property)
7085 (hildon_pannable_area_button_press_cb):
7086 New 'velocity_fast_factor' property to decide which velocity is
7089 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7091 * src/hildon-pannable-area.c
7092 (hildon_pannable_draw_hscroll)
7093 (hildon_pannable_draw_vscroll):
7094 Use float variables to calculate the size of the scrollbars to
7095 avoid error propagation and resizing during scrolling.
7097 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7099 * src/hildon-pannable-area.c
7100 (hildon_pannable_draw_vscroll)
7101 (hildon_pannable_draw_hscroll):
7102 Define a minimum size for the scroll bars
7104 * src/hildon-stackable-window.c
7105 (hildon_stackable_window_go_home): Fix compilation warning
7106 (get_last_window): Minor optimizations
7107 (hildon_stackable_window_class_init): Fix initialization of
7110 2008-06-18 Alberto Garcia <agarcia@igalia.com>
7112 * src/hildon-stackable-window.c: Fixed typos in doc
7114 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
7116 * src/hildon-pannable-area.c
7117 (hildon_pannable_area_scroll):
7118 Calculate here whether we need to scroll instead of using the booleans
7119 that tell us whether to /draw/ the scrolling bars.
7121 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
7123 * src/hildon-app-menu.h
7125 * src/hildon-app-menu.c
7126 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
7127 multiple filter groups related code and API. Now we support only
7129 * examples/hildon-app-menu-example.c:
7131 Update to reflect API changes.
7133 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
7135 * src/hildon-stackable-window.c
7136 (hildon_stackable_window_class_init):
7137 Add hildon_stackable_window_realize.
7138 (hildon_stackable_window_realize):
7139 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
7140 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
7141 to apply theming and behavior specific to HildonStackableWindow
7144 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7146 * src/hildon-note.c (hildon_note_button_release):
7147 Close information notes also when tapping on them
7149 2008-06-12 Alejandro G. Castro <alex@igalia.com>
7151 Added BOUNCE_STEPS define to control the overshoot effect. Removed
7152 ELASTICITY, refactor and review, fix some issues with drawing
7155 * src/hildon-pannable-area.c:
7156 (hildon_pannable_area_button_press_cb): removed the conditions to
7157 avoid clicks when overshooting. It is not required
7159 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
7160 define. Refatored and reviewed the code, now we do not need to
7161 manage velocity in motion_notify.
7163 (hildon_pannable_area_motion_notify_cb): We have moved the code
7164 that controls the area_scroll to the axis_scroll function and get
7165 rid of duplicated code.
7167 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
7169 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
7171 (hildon_pannable_draw_vscroll),
7172 (hildon_pannable_draw_hscroll): Fixed the problems with the
7173 scrollbar drawing, now we do not use two surfaces, it is easier
7174 and saves resources.
7176 (hildon_pannable_area_get_property): Style modification.
7178 (hildon_pannable_area_class_init): Changed some default values.
7180 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
7182 * src/hildon-stackable-window.c: Fix some typos in the
7185 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7187 * src/hildon-dialog.c:
7188 Change indentation style
7191 (hildon_note_button_release):
7192 Use root coordinates to check if the release event happened
7195 * src/hildon-app-menu.c
7196 (hildon_app_menu_button_release):
7197 Remove unnecessary check
7199 * examples/hildon-app-menu-example.c
7201 Add cast to fix warning
7203 * src/hildon-app-menu.c
7204 (hildon_app_menu_class_init):
7205 New inner-border style property.
7206 Set all default spacings to 16
7207 (hildon_app_menu_init):
7208 Use vertical-spacing to set the space between filter buttons and
7209 regular menu buttons.
7210 Set the default container border using the inner-border value.
7212 * examples/hildon-app-menu-example.c
7214 Don't set the menu border explicitly, now we have the inner-border
7215 style property for that.
7217 2008-06-11 Alberto Garcia <agarcia@igalia.com>
7219 * src/hildon-app-menu.c (hildon_app_menu_init):
7220 Make the window modal
7222 * src/hildon-note.c (hildon_note_map)
7223 * src/hildon-app-menu.c (hildon_app_menu_map):
7224 Destroy the grab window if we're unable to grab the pointer
7226 * src/hildon-app-menu-private.h
7227 * src/hildon-app-menu.c
7228 (hildon_app_menu_init, hildon_app_menu_finalize)
7229 (hildon_app_menu_map, hildon_app_menu_unmap)
7230 (hildon_app_menu_button_release)
7231 (grab_transfer_window_get):
7232 Bring back the grab window
7233 (hildon_app_menu_realize):
7234 Decorate the window, set WM hint for Matchbox
7236 * src/hildon-note.c (hildon_note_realize):
7237 * src/hildon-banner.c (hildon_banner_realize):
7238 Add WM hints for Matchbox
7240 2008-06-10 Alberto Garcia <agarcia@igalia.com>
7242 * src/hildon-app-menu-private.h
7243 * src/hildon-app-menu.c
7244 (hildon_app_menu_init, hildon_app_menu_finalize)
7245 (hildon_app_menu_map, hildon_app_menu_unmap)
7246 (hildon_app_menu_button_release):
7247 Remove the grab window, it's not needed anymore
7249 * src/hildon-program.c
7250 Fixed typo in documentation
7252 * src/hildon-app-menu.h
7253 * src/hildon-app-menu.c
7254 * examples/hildon-app-menu-example.c
7255 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
7257 2008-06-09 Alberto Garcia <agarcia@igalia.com>
7260 Added new transfer_window and close_if_pressed_outside private
7262 (hildon_note_rebuild):
7263 Don't add a cancel button to the information note. It will be
7264 closed when tapping outside
7265 Remove the comment about the OK button in the documentation
7266 (hildon_note_realize):
7267 Set the notification type hint
7268 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
7269 Grab/ungrab pointer and keyboard if the note has to be closed when
7271 (hildon_note_button_release):
7272 Close the note when tapping outside (if applicable)
7274 * src/hildon-app-menu.c
7275 Grab/ungrab pointer and keyboard on map/unmap
7276 (hildon_app_menu_button_release, hildon_app_menu_class_init):
7277 Close the menu on button release, not button press
7279 * src/hildon-banner.c
7280 (hildon_banner_set_property)
7281 (hildon_banner_check_position):
7282 Make the banner use the full width of the screen
7283 (hildon_banner_show_information)
7284 (hildon_banner_show_information_with_markup):
7285 Don't display an icon by default
7287 2008-06-09 Alejandro G. Castro <alex@igalia.com>
7289 Added fading scrollbars and adapted all the overshooting code to
7290 horizontal scrolling. We have also fixed bugs with overshooting
7291 and current fading implementation.
7293 * src/hildon-pannable-area.c
7294 (hildon_pannable_area_scroll_indicator_fade): Time out function
7295 used to change the transparency of the scrollbars.
7297 (hildon_pannable_area_button_press_cb): Added horizontal overshot
7298 control and fixed a problem with fading, we now remove the fade
7299 timeout before adding a new one.
7301 (hildon_pannable_axis_scroll):
7302 (hildon_pannable_area_scroll):
7303 (hildon_pannable_area_timeout): Added this functions so we can use
7304 the scroll code both for vertical and horizontal.
7306 (hildon_pannable_area_motion_notify_cb):
7307 (hildon_pannable_area_button_release_cb): Added the horizontal
7308 scrolling control, fixed a problem with the overshooting timeout.
7310 (rgb_from_gdkcolor): Added this function, it is used in the cairo
7311 painting of the scrolls.
7313 (hildon_pannable_draw_vscroll):
7314 (hildon_pannable_draw_hscroll):
7315 (hildon_pannable_area_expose_event):
7316 Draw both scrollbars and rectangles in the overshooting area.
7318 (hildon_pannable_area_get_property):
7319 (hildon_pannable_area_set_property):
7320 Modified the overshoot property to overshoot_max
7322 (hildon_pannable_area_map):
7323 Replaced the comments symbols.
7325 (hildon_pannable_area_size_allocate):
7326 (hildon_pannable_area_class_init):
7327 (hildon_pannable_area_init): Added horizontal scroll, fading
7328 effect properties, fixed a problem when overshooting in the bottom
7331 * examples/hildon-pannable-area-example.c:
7332 (get_sawtooth_label): Now we use smaller sawtooths, the effect
7333 looks better in the example.
7335 2008-06-03 Alberto Garcia <agarcia@igalia.com>
7337 * src/hildon-window.c
7338 * src/hildon-window.h
7339 (hildon_window_class_init)
7340 (hildon_window_unset_program)
7341 (hildon_window_unset_program_real):
7342 Make unset_program a virtual function
7344 * src/hildon-stackable-window.c
7345 * src/hildon-stackable-window.h
7346 Added hildon_stackable_window_go_home()
7348 * examples/Makefile.am
7349 * examples/hildon-stackable-window-example.c
7350 HildonStackableWindow example
7352 2008-06-03 Alejandro G. Castro <alex@igalia.com>
7354 * hildon-pannable-area.c: Added the overshoot property and removed
7355 the OVERSHOOT define. Fixed an indent style error.
7356 (hildon_pannable_area_motion_notify_cb):
7357 (hildon_pannable_area_get_property):
7358 (hildon_pannable_area_set_property): Add overshoot property.
7360 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
7363 (hildon_pannable_area_class_init): Installed the new property.
7365 * hildon-pannable-area-example.c: Added a sawtooth function, this
7366 way it is easier to check the movement in the pannable.
7367 (get_sawtooth_label): Added this function.
7368 (main): Now we get the labels from the new get_sawtooth_label
7371 2008-05-26 Alberto Garcia <agarcia@igalia.com>
7373 * src/hildon-app-menu.h
7374 * src/hildon-app-menu.c
7375 Renamed API variables for consistency
7377 (hildon_app_menu_popup): Use also the default window size to
7378 decide where to place the menu
7380 (hildon_app_menu_init, hildon_app_menu_class_init): New
7381 external-border style property
7383 2008-05-26 Michael Natterer <mitch@imendio.com>
7385 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
7386 widget_class->tap_and_hold_setup signal slot doesn't exist any
7387 longer, stop overriding it.
7389 (hildon_time_editor_init): g_signal_connect() to the
7390 tap-and-hold-setup signal instead.
7392 (hildon_time_editor_entry_keypress): add cast to fix warning.
7394 2008-05-23 Alberto Garcia <agarcia@igalia.com>
7396 * doc/hildon-docs.sgml
7398 * examples/Makefile.am
7399 * examples/hildon-app-menu-example.c
7401 * src/hildon-app-menu-private.h
7402 * src/hildon-app-menu.c
7403 * src/hildon-app-menu.h
7405 New HildonAppMenu widget
7407 2008-05-21 Alejandro G. Castro <alex@igalia.com>
7409 Rearranged the inheritance of the pannable area, now it inherits
7410 from GtkBin. This will allow us to control the event_window and
7411 the allocation process of the widget, required for some effects.
7413 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
7414 GtkBin structures. * src/hildon-pannable-area.c: Added the
7415 event_window variable.
7416 (hildon_pannable_area_button_press_cb):
7417 (hildon_pannable_area_button_release_cb):
7418 (hildon_pannable_area_motion_notify_cb):
7419 Changed the signature of the method, now we override the event
7420 callback instead of connecting to the signal.
7422 (hildon_pannable_area_realize):
7423 (hildon_pannable_area_unrealize):
7424 (hildon_pannable_area_map):
7425 (hildon_pannable_area_unmap):
7426 (hildon_pannable_area_size_allocate):
7427 Added functions to control the widget construction. We add a
7428 INPUT_ONLY window and we put it over the widgets inside the
7429 container, this event_window handles the events.
7431 (hildon_pannable_area_class_init):
7432 Replaced the signal connections with overrides of the event
7435 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7437 Bouncing effect added when touching the borders, you can change
7438 the elasticity of the border changing the ELASTICITY define.
7440 * src/hildon-pannable-area.c: Added ELASTICITY define.
7441 (hildon_pannable_area_timeout): Added inverse velocity when
7442 touching the border of the child widget, that causes a bounce.
7444 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7446 Improved performance, we now do not go to the X server in order to
7447 get the list of window children. Apparently the effect is the
7448 same, we have to be careful and check if this breaks something in
7451 * src/hildon-pannable-area.c:
7452 (get_ordered_children): Removed this function.
7453 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
7454 the children windows function with gdk_window_get_children.
7456 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7458 * src/hildon-pannable-area.c:
7459 (hildon_pannable_area_dispose): Fixed a crash when closing the
7460 window and kinetics is activated.
7462 2008-05-19 Alberto Garcia <agarcia@igalia.com>
7464 * src/hildon-pannable-area.h
7465 * src/hildon-pannable-area.c
7466 Changed indentation style to meet the one used in Hildon
7468 2008-05-19 Alejandro G. Castro <alex@igalia.com>
7470 Reviewed the interaction of the AUTO mode, now we use the time
7471 attribute of the events and calculate the velocity in the motion,
7472 doing a gimp like calculation. The velocity is calculated in each
7473 motion event using the last velocity and the current one, the
7474 SMOOTH_FACTOR controls the percentage of the new velocity we use.
7476 * src/hildon-pannable-area.c: Replaced the time based algorithm
7478 (hildon_pannable_area_motion_notify_cb): now we do not launch the
7479 timeout for the AUTO mode when we are still moving the cursor. We
7480 added also the velocity calculation in this function.
7481 (hildon_pannable_area_button_release_cb): launch the timeout in
7482 case we are in AUTO mode. There are still some constants here that
7483 come from the old implementation that should be reviewed and
7486 2008-05-15 Alberto Garcia <agarcia@igalia.com>
7488 * doc/hildon-docs.sgml
7491 * src/hildon-stackable-window.c
7492 * src/hildon-stackable-window.h
7494 New HildonStackableWindow widget
7496 * examples/hildon-dialog-example.c
7497 * examples/hildon-pannable-area-example.c
7500 2008-05-14 Alberto Garcia <agarcia@igalia.com>
7502 * src/hildon-dialog.c
7503 (hildon_dialog_new_with_buttons): New constructor.
7505 * examples/hildon-dialog-example.c
7506 (main): Update the example to use the new
7507 hildon_dialog_new_with_buttons().
7509 * examples/hildon-pannable-area-example.c
7510 (main): Update example.
7512 2008-05-13 Alberto Garcia <agarcia@igalia.com>
7514 * doc/hildon-docs.sgml
7516 Added HildonPannableArea to the documentation.
7518 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
7520 * doc/visual_index.xml
7521 Fix reference to HildonLoginDialog in documentation
7523 * doc/hildon-docs.sgml
7525 * examples/Makefile.am
7526 * examples/hildon-dialog-example.c
7528 * src/hildon-dialog.c
7529 * src/hildon-dialog.h
7531 New HildonDialog widget.
7533 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7535 * src/hildon-pannable-area.c
7536 Merge latest changes (r4318, r4342) from libmokoui trunk
7538 2008-05-09 Alberto Garcia <agarcia@igalia.com>
7540 * examples/Makefile.am
7541 * examples/hildon-pannable-area-example.c
7543 * src/hildon-pannable-area.c
7544 * src/hildon-pannable-area.h
7546 New HildonPannableArea widget.
7548 2008-04-15 18:05:19 <timj@imendio.com>
7550 * src/hildon-banner.c: revert the recent change, that introduced
7551 gtk_window_present() calls. this reopens:
7552 Bug 78481 - [freetest] information banners are hidden under browser menu
7553 But resolves another variant of:
7554 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7556 2008-04-15 13:21:13 <timj@imendio.com>
7558 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
7559 recreated its layout, spotted by Kris. this fixes all remaining
7560 artefacts and stability issues with the banner code. in particular:
7561 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7563 2008-04-14 16:52:59 <timj@imendio.com>
7565 * src/hildon-banner.c: guard force_to_wrap_truncated() against
7566 operating on unrealized widgets, fixes:
7567 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
7569 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
7571 2008-04-09 Kristian Rietveld <kris@imendio.com>
7573 Fixes: NB#77775: Media Player, Save Now playing list, too long name
7574 makes banner disappear.
7575 Fixes: NB#79182: info banner flickering with certain message lengts.
7577 * src/hildon-banner.c (hildon_banner_constructor),
7578 (hildon_banner_init), (hildon_banner_set_text),
7579 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
7580 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
7581 FALSE, reset size requests of label and banner,
7582 (force_to_wrap_truncated): when the text is too wide, always enforce
7583 the maximum possible width instead of recalculating it from the
7584 layout; enforce the maximum banner height of 3 lines,
7585 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
7586 nicer wrapping and no truncated chars if space gets tight.
7588 * src/hildon-banner-private.h: add has_been_wrapped and
7589 has_been_truncated fields.
7591 2008-04-07 Sven Herzberg <sven@imendio.com>
7593 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
7594 local values in hildon_date_editor_size_allocate
7596 * src/hildon-date-editor.c: moved the real allocation code into the
7599 2008-04-07 Sven Herzberg <sven@imendio.com>
7601 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7602 local values in hildon_date_editor_size_allocate
7604 * src/hildon-date-editor.c: merged the two if() branches together
7606 2008-04-07 Sven Herzberg <sven@imendio.com>
7608 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7609 local values in hildon_date_editor_size_allocate
7611 * src/hildon-date-editor.c: changed the arguments of the if()
7614 2008-04-07 Sven Herzberg <sven@imendio.com>
7616 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
7617 local values in hildon_date_editor_size_allocate
7619 * src/hildon-date-editor.c: split the calculation of the allocation
7620 from the real allocation
7622 2008-03-27 Michael Natterer <mitch@imendio.com>
7624 Fixes: NB#81696: The passcode is not overwritten even after
7627 * src/hildon-code-dialog.c
7628 (hildon_code_dialog_button_clicked)
7629 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
7630 because that doesn't overwrite selected text. Instead, emit the
7631 "commit" signal on the entry's im_context so the entry's normal
7632 insert logic is triggered. Set the cursor to the end of the entry
7633 after each insert operation so that we *only* insert in the middle
7634 of the text if something was selected.
7636 2008-03-27 Michael Natterer <mitch@imendio.com>
7638 Enable fixing: NB#79916 and NB#79918: The help topic for Color
7639 selector cannot be opened
7641 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
7642 when the popup color selector is created. Please connect to this
7643 signal in order to set the dialog's help ID.
7645 2008-03-25 Sven Herzberg <sven@imendio.com>
7647 Fixes: MB#1212: Hide info banners (infoprints) on click
7649 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
7650 extracted the close event simulation into an extra function
7651 (hildon_banner_button_press_event): simulate a close event and destroy
7652 the widget if the event wasn't handled
7653 (hildon_banner_class_init): added the button_press_event handler
7654 (hildon_banner_init): added button-press events to the widget
7656 2008-03-25 Sven Herzberg <sven@imendio.com>
7658 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
7659 Patch from: Mohammad Anwari <mdamt@maemo.org>
7661 * src/hildon-banner.c: let the HildonBanners pop up on the left side
7662 instead of the right in RTL mode
7663 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
7664 breadcrumb button list in RTL mode
7665 * src/hildon-caption.c: mirror the appearance of the caption widget in
7667 * src/hildon-date-editor.c: mirror appearance of the date editor in
7669 * src/hildon-time-editor.c: mirror appearance of the time editor in
7671 * src/hildon-window.c: fix the position of the popup in RTL mode
7673 2008-03-25 Sven Herzberg <sven@imendio.com>
7675 Amendment to the fix of NB#22072. Fix compilation.
7677 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
7679 2008-03-19 Sven Herzberg <sven@imendio.com>
7681 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
7684 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
7685 timeout id properly when the timeout will disappear this leaves no
7686 artifacts around in the destroy(); there will only be the timeout
7687 created by hildon_banner_ensure_timeout() and adding a new timeout
7688 will also work if the timeout gets removed because the timeout_handler
7691 2008-03-19 Michael Natterer <mitch@imendio.com>
7693 Fixes: NB#79791: Cannot set focus to Master volume using stylus
7695 * src/hildon-volumebar.c
7696 * src/hildon-vvolumebar.c
7697 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
7698 the widget becomes focussable at all.
7700 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
7701 set the focus to wither the mute button or the volumebar.
7703 Remove own "can-focus" property and instead listen to
7704 notify::can-focus in order to update the widget's state.
7706 Implement GtkWidget::focus() and make sure we can also *leave* the
7707 widget, not only enter it, depending on volumebar orientation and
7708 requested focus direction.
7710 Clean up set_mute() to cooperate nicely with all the above.
7712 2008-03-04 Michael Natterer <mitch@imendio.com>
7714 Fixes: NB#78481: information banners are hidden under browser menu
7716 * src/hildon-banner.c: call gtk_window_present() on the banners so
7717 they are risen if they are already visible.
7719 2008-03-03 Sven Herzberg <sven@imendio.com>
7721 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
7723 * examples/hildon-window-menu-example.c: (main): extended the window
7724 menu example to serve as a testcase for automatically added
7725 accelerator groups, too
7726 * src/hildon-window.c: (hildon_window_add_accel_group),
7727 (hildon_window_set_menu): added patch by Tommi Komulainen
7729 2008-03-03 Sven Herzberg <sven@imendio.com>
7731 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
7733 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
7734 knowledge about the border allocators used within GTK+
7736 2008-02-26 Sven Herzberg <sven@imendio.com>
7738 Fixes: MB#2981: Build with asserts broken
7740 * src/hildon-date-editor.c,
7741 * src/hildon-number-editor.c,
7742 * src/hildon-time-editor.c,
7743 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
7744 the proper GType instance check
7746 2008-02-25 Sven Herzberg <sven@imendio.com>
7748 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
7750 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
7751 * examples/hildon-window-menu-example.c: (main): explicitly show
7753 * src/hildon-window.c:
7754 (hildon_window_set_main_menu): moved most of the code from set_menu()
7755 to this place; skipped the call to gtk_widget_show_all(); also didn't
7756 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
7757 (hildon_window_set_menu): removed most of the code, just keep the
7758 questionable gtk_widget_show_all()
7759 * src/hildon-window.h: added the new function and deprecate the old
7762 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7768 * debian/changelog: Updating.
7770 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7773 * pkgconfig/Makefile.am:
7774 * pkgconfig/hildon.pc.in:
7777 Do not use PACKAGE_VERSION_MAJOR as the API revision,
7778 use newly created API_MAJOR_VERSION.
7780 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7786 * debian/changelog: Updating.
7788 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7790 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
7792 Add outer_border style property, we use it but don't define it (!).
7796 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
7798 * examples/hildon-bread-crumb-trail-example.c (main):
7802 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
7804 Fix logic for the bread crumb trail node removal.
7808 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7814 * debian/changelog: Updating.
7816 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7818 Patch by Alejandro to get/set passwords dialogs accesibility.
7820 * hildon-1/src/hildon-get-password-dialog.c:
7821 * hildon-1/src/hildon-set-password-dialog.c:
7822 Set atk_set_name to the passwd entries in order to allow
7823 accessibility by name on this entries.
7825 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7830 * debian/control: Updating gtk dep.
7832 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
7834 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
7835 USE_MAEMO_GTK is enabled.
7837 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
7839 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
7840 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
7842 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7848 * debian/changelog: Updating.
7850 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7852 * examples/Makefile.am:
7853 * examples/hildon-logical-color-example.c:
7854 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
7855 applied + adding a test case. Fixes: NB#71660.
7857 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
7859 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
7860 to be visible, fixes warning on map for windows without toolbars.
7862 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
7864 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
7865 2.11.0, add a check for that besides the MAEMO_GTK check.
7867 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7873 * debian/changelog: Updating.
7875 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7877 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
7878 visibility. Fixes: NB#70842 and MB#615.
7880 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7882 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
7883 set the separator as no-show-all so it doesn't unintentionally appear when
7884 someone does a show_all.
7886 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7888 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
7889 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
7890 toplevel item. Fixes: NB#62031
7892 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
7894 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
7895 fix the name of the function in the docs.
7897 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7903 * debian/changelog: Updating.
7905 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7907 * examples/hildon-banner-long-example.c: Adding a test-case for long
7910 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
7912 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7914 * src/hildon-color-chooser-dialog.c:
7915 * src/hildon-color-chooser.c:
7916 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
7917 memory leaks in font selector and color selector. Fixes: NB#70499 and
7920 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
7922 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
7924 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7926 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
7927 little bit bigger. Fixes: #NB63694.
7929 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7935 * debian/changelog: Updating.
7937 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7940 * doc/hildon-docs.sgml:
7941 * doc/images/bread-crumb-trail.png:
7942 * doc/images/calendar-popup.png:
7943 * doc/images/caption.png:
7944 * doc/images/code-dialog.png:
7945 * doc/images/color-button.png:
7946 * doc/images/color-chooser-dialog.png:
7947 * doc/images/color-chooser.png:
7948 * doc/images/controlbar.png:
7949 * doc/images/date-editor.png:
7950 * doc/images/font-selection-dialog.png:
7951 * doc/images/get-password-dialog.png:
7952 * doc/images/hvolumebar.png:
7953 * doc/images/login-dialog.png:
7954 * doc/images/note.png:
7955 * doc/images/number-editor.png:
7956 * doc/images/range-editor.png:
7957 * doc/images/seekbar.png:
7958 * doc/images/set-password-dialog.png:
7959 * doc/images/sort-dialog.png:
7960 * doc/images/time-editor.png:
7961 * doc/images/time-picker.png:
7962 * doc/images/vvolumebar.png:
7963 * doc/images/weekday-picker.png: Adding the new generated widget shots.
7964 Adding the bread-crumb-trial and helpers to the documentation.
7966 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7968 * examples/hildon-find-toolbar-example.c:
7969 * src/hildon-find-toolbar.c:
7970 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
7971 actually continue firing the other handlers if connected. Adding a new
7973 hildon_find_toolbar_get_last_index that gets the index of the most
7974 recently added (last) item. Fixes: NB#52301.
7976 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7978 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
7979 behaviour. Fixes: NB#68610.
7981 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7983 * src/hildon-banner.c: Actually reverting the previous change. It somehow
7986 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7988 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
7989 when realizing the banner. Should make the infonbanner effect a bit more
7992 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7994 * src/hildon-volumebar.c:
7995 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
7996 hildon_volumebar_set_range_insensitive_message and
7997 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
7999 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8001 * src/hildon-window.c: Fixing the border freeing on destroy.
8003 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8005 * src/hildon-code-dialog-private.h:
8006 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8007 kw keyboard support in HildonCodeDialog.
8009 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8015 * debian/changelog: Updating.
8017 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8019 * src/hildon-date-editor.c:
8020 * src/hildon-number-editor.c:
8021 * src/hildon-private.c:
8022 * src/hildon-private.h:
8023 * src/hildon-time-editor.c:
8024 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8025 handling in subclassed composite widgets. Fixes: NB#66628.
8027 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8029 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8030 from destroy_ callback as it introduces problems in async dbus signal
8031 handlers. Fixes NB#66673.
8033 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8035 * examples/hildon-hvolumebar-example.c:
8036 * src/hildon-volumebar.c: Improving the focus handling in the
8037 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8038 set_property accessor so that "mute" property can be actually set. I'm
8039 scared that nobody noticed it's totally broken.
8041 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8043 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8046 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8048 * src/hildon-calendar.c:
8049 * src/hildon-number-editor.c:
8050 * src/hildon-time-picker.c: Changing the timeout repeat so that it
8051 matches the spec of 6 chars per second. Fixes: NB#60489.
8053 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8055 * src/hildon-helper.c: Really fixing NB#58352. Looks like
8056 gtk_style_lookup_color sometime returns FALSE even though color was
8057 found and values were filled properly. Weird. Removing the warning for the
8060 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8062 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8063 expand vertically. Adding some extra space to the find toolbar buttons to
8064 make them thumbable. Fixes NB#66060.
8066 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8068 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8069 popup with "Ok" and "Cancel". Fixes NB#59299.
8071 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8073 * src/hildon-calendar.c: Process all window updates before executing next
8074 timeout. Fixes: NB#54146.
8076 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8082 * debian/changelog: Updating.
8084 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8086 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8087 the client event and ignore it, since we use the delete event to close
8090 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8092 * src/hildon-helper.c: Remove the bogus warning about color not being
8093 found. Fixes NB#58352.
8095 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8097 * examples/Makefile.am:
8098 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8099 HildonSeekbar widget inside a toolbar.
8101 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8103 * src/hildon-banner.c (hildon_banner_init): mark the banners as
8104 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8105 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8106 don't want to be closed by non-temporary windows on map.
8108 Also use G_DEFINE_TYPE instead of manually typed code.
8110 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8117 * debian/rules: Updating.
8119 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8121 * examples/Makefile.am:
8122 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8123 bug NB#61128. Strangely it works.
8125 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8127 * src/hildon-date-editor.c: When the date editor entry has been changed
8128 but the numbers of characters < max, turn off the skip validation flag.
8129 Prevents a situation when we enter first a valid year and later re-write
8130 it with an invalid one. Fixes NB#60154.
8132 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8134 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
8135 code dialog. Fixes NB#64355.
8137 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8139 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
8140 switching the page. Fixes NB#49374.
8142 * examples/Makefile.am:
8143 * examples/hildon-wizard-dialog-example.c: Adding an example for
8144 HildonWizardDialog that shows how to handle manual sensitivity setting on
8147 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8151 * src/hildon-version.h.in:
8152 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
8154 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8156 * src/hildon-volumebar.c: Updating the docs.
8158 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8164 * debian/changelog: Updating.
8166 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8168 * src/hildon-find-toolbar.c:
8169 * src/hildon-find-toolbar.h: Adding a few new functions to control the
8170 selected item: hildon_find_toolbar_set_active,
8171 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
8172 hildon_find_toolbar_get_active_iter . They correspond to respective
8173 GtkComboBox functions.
8175 * examples/Makefile.am:
8176 * examples/hildon-find-toolbar-example.c: Adding the example to test the
8179 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8181 * examples/Makefile.am:
8182 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
8185 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
8186 when font size > 32 and we pack a focusable widget inside. Actually using
8187 the default response would work too, but since we don't show default
8188 response state in any way (no theming) it would not be visible to the
8189 user. Fixes NB#63430.
8191 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8193 * src/hildon-date-editor.c: Adding the missing variable setter in the
8194 set_property handler. Fixes NB#54182.
8196 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8198 * src/hildon-window.h: Changing the long key press time from 1500ms to
8199 800ms as requested in NB#63700. I have a bad feeling about this, let's
8200 see... Fixes NB#63700.
8202 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
8204 * src/hildon-time-picker.c (hildon_time_picker_class_init,
8205 hildon_time_picker_map, hildon_time_picker_realize,
8206 hildon_time_picker_style_set): Split the contents of map to more
8207 appropriate functions; set window decorations on realize and update
8208 arrows' size requisitions on style-set. Avoids unnecessary resizing.
8210 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
8215 * debian/changelog: Updating.
8217 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
8219 * src/Makefile.am: fixed installation of the header files
8221 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8227 * debian/changelog: Updating.
8229 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8231 * configure.ac: Removing some remaining of --enable-xan.
8233 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
8235 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
8236 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
8238 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
8239 2.10.12-osso6 because the move-focus signal needs to be available in
8242 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8244 * examples/Makefile.am:
8245 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
8246 that makes a HildonVolumebar insensitive before mapping it. Seems to work
8247 fine. Prolly NB#61128 is fixed now.
8249 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8251 * src/hildon-volumebar.c:
8252 * src/hildon-volumebar.h: Adding the
8253 hildon_volumebar_set_range_insensitive_message and
8254 hildon_volumebar_set_range_insensitive_messagef functions to set
8255 insensitive message on the slider of the volumebar. Fixes NB#61129.
8257 * examples/Makefile.am:
8258 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
8259 test the new insensitive messsage functionality on HildonVolumebar.
8261 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
8263 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
8266 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
8268 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
8269 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
8270 button on after clearing the trail.
8272 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8274 * src/hildon-code-dialog.c: Removing the separator from the dialog.
8276 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8278 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
8279 by splitting the installed headers in generated and non-generated groups. Use
8280 only the non-generated headers to create the hildon-enum-types.h file.
8282 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
8284 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8286 * src/hildon-window.c: Hide the window before performing the destroy.
8287 Should make the app closing a little tiny bit more snappy.
8289 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8291 * src/hildon-seekbar.c: add gtkrange.h header
8292 * src/hildon-caption.c: remove unused variable
8294 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
8296 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
8299 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8305 * debian/changelog: Updating.
8307 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
8309 * src/hildon-window.c (hildon_window_window_state_event,
8310 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
8311 escape timeout on focus-out-event rather than notify::is-topmost; the
8312 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
8314 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8316 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
8317 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
8319 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8321 * src/hildon-window: actually, you need to use the macro always, there's
8322 no private pointer in the instance structure. We should have cleaned this up
8323 when we had the chance...
8325 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8327 * src/hildon-window.c: do not get the private date from HildonWindow before
8328 it passes the g_return_if_fail check. Once it's passed the test, there's no
8329 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
8330 if you are only going to access the data once. Whitespace cleanups.
8332 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
8334 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8335 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8337 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8343 * debian/changelog: Updating.
8345 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8347 * src/hildon-window.c: When destroying the window, remove (if exists) the
8348 escape timeout handler. Fixes #NB59276.
8350 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8352 * src/hildon-banner.c: When realizing the widget, set the window
8353 transiency. Setting the transiency in the gobject constructor is not
8354 good, as the widget is not realized at that point. Fixes: #NB56624.
8356 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8358 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
8359 Add padding for future expansions.
8361 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8363 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
8364 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
8365 will fake an activation on the previous to the last item of the trail, so
8366 the effect can be overrided by the developer as usual.
8367 Also change the callback for the back button to do the same thing, so its
8368 effect can be overrided too. Fixes: NB#58982
8370 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8372 * src/hildon-caption.c: Implementing the proper focus grabbing in the
8373 HildonCaption. Fixes NB#52379.
8375 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8377 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
8378 the internal state of the trail after the user has had the chance of executing
8379 his handler for the signal. Specifically, it may happen that the activated button
8380 is removed and the user still lets the default handler run. This would segfault
8383 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8385 * src/hildon-font-selection-dialog.c: When the font is really big, add the
8386 scrollbar to the preview dialog. Fixes NB#54147.
8388 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8390 * src/hildon-date-editor.c: Changing the default max year to 2037. The
8391 max/min year properties can be altered, so the client can modify it
8392 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
8394 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8396 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
8397 hildonlike by default. Fixing a problem with disappearing arrows when
8398 scrolling through months and years. Fixes NB#54127.
8400 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8402 * examples/hildon-date-editor-example.c: Adding error callback to the date
8405 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8411 * configure.ac: Updating.
8413 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8415 * configure.ac: Adding a special '--enable-xan' configure option that
8416 turns off the -Werror compilation setting. Usefull for development.
8418 * src/hildon-calendar.c:
8419 * src/hildon-number-editor.c:
8420 * src/hildon-time-picker.c: Adding the 5* multiplier to
8423 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
8425 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
8426 instead of g_object_ref + gtk_object_sink.
8428 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8434 * debian/changelog: Updating.
8436 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8438 * src/hildon-color-chooser-dialog.c:
8439 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
8440 straight from Tommi labs.
8442 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8444 * examples/hildon-finger-example.c: Correcting the header file path.
8446 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
8447 the changed signal. Fixes a small memory leak.
8449 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8453 * src/hildon-banner.c: Importing several usefull fixes from the
8454 ubuntu-mobile branch.
8456 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8458 * examples/Makefile.am:
8459 * examples/hildon-finger-example.c: Adding a finger-checking code
8462 * src/hildon-font-selection-dialog.c: Do not allocate the color
8463 structure using the g_new. Fixes NB#54061.
8465 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8467 * src/hildon-helper.c: Correcting tabs in file.
8469 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
8471 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
8472 control the visibility of the children.
8474 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
8476 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8482 * debian/changelog: Updating.
8484 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8486 * src/hildon-bread-crumb-trail.c:
8487 (hildon_bread_crumb_trail_size_allocate):
8489 Make the back button always a square.
8491 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
8493 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
8494 from the .c file as it's a private file.
8496 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8498 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
8499 uses slightly bigger height.
8501 * src/hildon-font-selection-dialog.c: Adding some checks before
8502 freeing memory in the font selection dialog.
8504 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8506 * src/hildon-font-selection-dialog.c: Adding a small check when
8509 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
8510 buttons sensitivity on page switching.
8512 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
8514 * src/hildon-bread-crumb-trail.c: make the add method handle all the
8515 internal details of adding a bread crumb to the trail.
8517 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8523 * debian/changelog: Updating.
8525 * src/hildon-bread-crumb-trail.h:
8526 * src/hildon-bread-crumb.h: Changing the API guard to
8527 HILDON_ENABLE_UNSTABLE_API.
8529 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8537 * src/hildon-helper.h: Updating.
8539 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8547 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8551 * src/hildon-helper.h: Small fix to make the package actually compile.
8553 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8555 * src/hildon-bread-crumb-trail.h:
8556 * src/hildon-bread-crumb.h:
8558 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
8559 to define ENABLE_UNSTABLE_API in the code that includes these headers.
8561 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
8563 * examples/hildon-bread-crumb-trail-example.c:
8565 * src/hildon-bread-crumb-trail.c:
8566 * src/hildon-bread-crumb-trail.h:
8567 * src/hildon-bread-crumb.c:
8568 * src/hildon-bread-crumb.h:
8569 * src/hildon-marshalers.list:
8570 * src/hildon-bread-crumb-widget.c:
8571 * src/hildon-bread-crumb-widget.h:
8573 Slight change in the widget design. The bread crumb trail API is
8574 unchanged, but HildonBreadCrumb is now an interface. A *private*
8575 implementation, hildon-bread-crumb-widget, is provided and used
8576 internally by the trail for the push_text/push_icon functions.
8578 The generic push API is still available, so anyone can implement
8579 and use its own bread crumb widget.
8581 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8583 * debian/rules: Fixing the shlibs.
8585 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8587 * src/hildon-banner.c: Fixing a problem with timed banners having
8588 their parrent destroyed before they are.
8590 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
8592 * src/hildon-bread-crumb.c:
8593 * src/hildon-bread-crumb.h:
8595 Make the get_natural_size function a vfunc.
8597 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8599 * src/hildon-bread-crumb.c:
8600 * src/hildon-bread-crumb-trail.c:
8604 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8611 * debian/changelog: Updating for release.
8613 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8615 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
8616 don't leak the pango layout.
8618 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
8621 * examples/hildon-bread-crumb-trail-example.c:
8625 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8627 * debian/changelog: Removing the bug-fixed entries that were actually
8628 resolved as WONTFIX.
8630 * src/hildon-date-editor.c: Removing a redundant check. Fixes
8633 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8635 * src/hildon-bread-crumb-trail.c:
8636 * src/hildon-bread-crumb-trail.h:
8637 * src/hildon-bread-crumb.c:
8638 * src/hildon-bread-crumb.h:
8642 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
8644 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
8645 until it's passed the type check.
8647 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8649 * examples/hildon-bread-crumb-trail-example.c
8653 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
8655 * examples/Makefile.am
8656 * examples/hildon-bread-crumb-trail-example.c
8658 * src/hildon-bread-crumb-trail.c
8659 * src/hildon-bread-crumb-trail.h
8660 * src/hildon-bread-crumb.c
8661 * src/hildon-bread-crumb.h
8663 New HildonBreadCrumbTrail widget.
8665 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
8667 * src/hildon-range-editor.c (hildon_range_editor_init),
8668 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
8669 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
8670 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
8671 hildon_time_editor_class_init, hildon_time_editor_init),
8672 src/hildon-get-password-dialog.c (invalid_input,
8673 hildon_get_password_set_property, hildon_get_password_get_property,
8674 create_contents, hildon_get_password_dialog_set_max_characters),
8675 src/hildon-set-password-dialog.c (create_contents),
8676 src/hildon-date-editor.c (hildon_date_editor_init),
8677 src/hildon-login-dialog.c (hildon_login_dialog_init),
8678 src/hildon-number-editor.c (hildon_number_editor_init),
8679 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
8680 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
8681 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
8682 configure option and adding the respective checks in the code.
8683 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
8684 hildon_calendar_drag_data_received): fixed some build warnings.
8686 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8688 * debian/changelog: A 1.0.0 release notes.